/* column-section */

.column-section {
  position: relative;
  background: url("../img/column_bg.png") center/cover no-repeat;
  padding: 10rem 0;
}

.column-section__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 5rem;
  flex-wrap: wrap;
}

.column-section__header {
  flex: 1 1 18.75rem;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.column-section__title {
  margin: 0;
  color: #fff;
}

.column-section__title-en {
  display: block;
  font-family: "Poiret One", sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 80%);
  white-space: nowrap;
  margin-bottom: 0.5rem;
}

.column-section__title-jp {
  display: block;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  color: #74d6c5;
  letter-spacing: 0.1em;
  white-space: nowrap;
  position: relative;
  left: 1.25rem;
}

.column-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, #67c0f6 0%, #54ace1 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  padding: 1rem 5rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
  margin-top: 1.25rem;
}

.column-section__button-icon {
  width: 0.625rem;
  height: auto;
  display: inline-block;
}

.column-section__button:hover {
  background: linear-gradient(135deg, #54ace1 0%, #4398cb 100%);
}

.column-section__list {
  flex: 2 1 40rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  @media (width >= 768px) {
    gap: 2rem;
  }
}

.column-section__item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.column-section__card {
  width: 100%;
  aspect-ratio: 45/25;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 10%);
}

.column-section__card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.column-section__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.column-section__item-time {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  color: #3153ad;
  white-space: nowrap;
}

.column-section__item-text {
  margin: 0;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}

@media (width <= 1030px) {
  .column-section {
    padding: 5rem 0 10rem;
  }

  .column-section__title-jp {
    left: 0;
  }

  .column-section__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "list"
      "button";
    gap: 3rem;
    justify-items: center;
    text-align: center;
  }

  .column-section__header {
    display: contents;
  }

  .column-section__title {
    grid-area: title;
  }

  .column-section__list {
    grid-area: list;
  }

  .column-section__button {
    grid-area: button;
  }
}

@media (width <= 930px) {
  .column-section__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 600px) {
  .column-section {
    padding: 5rem 1rem;
  }

  .column-section__title {
    justify-self: start;
    text-align: left;
  }

  .column-section__title-en {
    font-size: 3rem;
  }

  .column-section__title-jp {
    left: 0.25rem;
  }

  .column-section__inner {
    gap: 1rem;
    padding: 0;
  }

  .column-section__card {
    width: 100%;
    margin-inline: auto;
  }

  .column-section__item-time {
    font-size: 16px;
  }

  .column-section__item-text {
    font-size: 16px;
    font-weight: 900;
  }

  .column-section__button {
    font-size: 0.9rem;
    padding: 1rem 4rem;
  }
}

@media (width <= 430px) {
  .column-section__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
  }
}

@media (width <= 430px) {
  .column-section {
    padding: 2rem 1rem 5rem;
  }
}

/* consulting-section */

.consulting-section {
  background: url("../img/consulting_bg.png") top center/100% auto no-repeat;
  position: relative;
  padding: 20rem 5rem 10rem;
  margin-top: -5.5vw;
}

.consulting-section::before {
  content: "CONSULTING";
  position: absolute;
  top: 300px;
  left: 30px;
  transform: translate(0, -50%);
  font-family: "Poiret One", sans-serif;
  font-size: 135px;
  font-weight: 400;
  color: rgb(255 255 255 / 70%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.consulting-section__inner {
  position: relative;
  z-index: 2;
  max-width: 82.5rem;
  margin: 0 auto;
  margin-top: 5rem;
}

.consulting-section__header {
  text-align: center;
  margin-bottom: 5rem;
  color: #1f2a4e;
  /* font-family: "M PLUS 1p", sans-serif; */
}

.consulting-section__title {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.consulting-section__title--highlight {
  color: #2f4aba;
  font-weight: 700;
}

.consulting-section__title--black {
  color: #000;
  font-weight: 400;
}

.consulting-section__desc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  max-width: 60rem;
  margin: 0 auto;
}

.consulting-section__desc strong {
  color: #000;
  font-weight: 700;
}

.consulting-section__service1-label {
  position: relative;
  width: 17.5rem;
  left: -5rem;
  margin: 0 0 1rem;
}

.consulting-section__service1-label img {
  width: 100%;
  height: auto;
  display: block;
}

.consulting-section__service1-label-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 3.4rem;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.consulting-section__service1-label-text strong {
  padding-left: 0.625rem;
  color: #d5ff13;
  font-weight: 100;
}

.consulting-section__service1-title {
  text-align: left;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #1f2a4e;
  white-space: nowrap;
}

.consulting-section__service1-title--highlight {
  color: #2f4aba;
  font-weight: 500;
}

.consulting-section__service1-content {
  display: flex;
  align-items: flex-start;
  gap: 3.75rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.consulting-section__service1-chart {
  flex: 1 1 25rem;
  max-width: 37.5rem;
}

.consulting-section__service1-chart img {
  width: 100%;
  height: auto;
  display: block;
}

.consulting-section__service1-info {
  flex: 1 1 25rem;
  max-width: 37.5rem;
  /* font-family: "M PLUS 1p", sans-serif; */

  color: #333;
}

.consulting-section__service1-text {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  margin-top: -4.375rem;
}

/* .consulting-section__service1-text strong {
  background: linear-gradient(transparent 60%, #a6f8e2 60%);
} */

.consulting-section__desc-button {
  display: block;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, #67c0f6 0%, #54ace1 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 4rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
  width: 250px;
  margin: 0 auto;
  text-align: center;
}

.consulting-section__button-icon {
  width: 0.625rem;
  height: auto;
  display: inline-block;
}

.consulting-section__desc-button:hover {
  background: linear-gradient(135deg, #54ace1 0%, #4398cb 100%);
}

.consulting-section__funnel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5rem;
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 3.75rem 1.25rem;
  flex-wrap: wrap;
  background-color: rgb(116 176 212 / 25.1%);
  border-radius: 0.625rem;
}

.consulting-section__funnel-graphic {
  flex: 1 1 18.75rem;
  max-width: 37.5rem;
}

.consulting-section__funnel-graphic img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding-right: 20px;
}

.consulting-section__funnel-text {
  flex: 1 1 18.75rem;
  max-width: 37.5rem;
  /* font-family: "M PLUS 1p", sans-serif; */

  color: #1f2a4e;
  line-height: 1.75;
  padding-left: 20px;
}

.consulting-section__funnel-title {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.3125rem;
  font-weight: 500;
  margin: 0 0 1rem;
  color: #2e57bf;
}

.consulting-section__funnel-desc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  margin: 0;
  color: #5a627d;
}

.consulting-section__funnel-desc strong {
  color: #000;
}

.consulting-section__funnel-sp {
  display: none;
}

.consulting-section__funnel-pc {
  display: flex;
}

@media (width <= 1030px) {
  .consulting-section {
    padding: 10rem 2rem 5rem;
    margin-top: -3rem;
  }

  .consulting-section::before {
    top: 7%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-size: 5rem;
  }

  .consulting-section__inner {
    margin-top: 3rem;
  }

  .consulting-section__service1-label-text {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-family: "Poiret One", sans-serif;
    font-weight: 100;
    font-size: 3rem;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .consulting-section__service1-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .consulting-section__funnel {
    padding-bottom: 0;
  }
  .consulting-section__funnel-pc {
    flex-direction: column;
    align-items: center;
  }

  .consulting-section__service1-chart,
  .consulting-section__service1-info {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .consulting-section__service1-text {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

@media (width <= 520px) {
  .consulting-section {
    padding: 10rem 1rem 2rem;
    margin-top: -4rem;
    background-size: 160% auto;
  }

  .consulting-section::before {
    top: 6%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
  }

  .consulting-section__inner {
    margin-top: -3rem;
  }

  .consulting-section__title {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    text-align: left;
  }

  .consulting-section__desc {
    font-size: 1rem;
    text-align: left;
  }

  .consulting-section__service1-label {
    margin: -50px 0 0rem;
  }

  .consulting-section__service1-label-text {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    font-family: "Poiret One", sans-serif;
    font-weight: 100;
    font-size: 2.8rem;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .consulting-section__service1-text {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 1rem;
  }

  .consulting-section__service1-title {
    font-size: 1.2rem;
  }

  .consulting-section__desc-button {
    padding: 1rem 3rem;
  }
  .consulting-section__service1-content {
    margin-bottom: 1rem;
    gap: 1rem;
  }

  .consulting-section__funnel {
    padding: 1rem 1.25rem;
  }

  .consulting-section__funnel-sp {
    display: block;
    text-align: left;
    width: 100%;
  }

  .consulting-section__funnel-title {
    font-size: 1.125rem;
    white-space: wrap;
  }

  .consulting-section__funnel-pc {
    display: none;
  }

  .consulting-section__funnel-desc {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
  }

  .consulting-section__funnel-desc strong {
    color: #5a627d;
  }
}

.service1__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}

/* contact-section */

.contact-section {
  position: relative;
  overflow: hidden;
  background: url("../img/contact_bg.png") no-repeat;
  background-size: 100% 100%;
  padding: 3rem;
  margin-top: -4.5rem;
  z-index: 2;
  a:hover {
    text-decoration: none;
  }
}

.contact-section::after {
  content: "CONTACT";
  position: absolute;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 151px;
  color: rgb(255 255 255 / 50%);
  pointer-events: none;
  z-index: -1;
}

.contact-section__text {
  text-align: center;
  color: #444c66;
  /* font-family: "M PLUS 1p", sans-serif; */
  font-size: 19px;
  position: absolute;
  top: calc(50% - 50px);
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-section__inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  padding-top: 50px;
}

.contact-section__title {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 29px;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.contact-section__subtitle {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 300;
  margin: 0.25rem 0 0;
  opacity: 0.8;
}

.contact-section__image img {
  height: 270px;
  display: block;
}

.contact-section__tel {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.contact-section__tel-sp {
  display: none;
}

.contact-section__tel-icon {
  width: 1.4375rem;
}

.contact-section__tel-number {
  font-size: 42px;
  font-weight: bold;
  color: #3153ad;
  text-decoration: none;
}

.contact-section__tel-hours {
  font-size: 13px;
  color: #3153ad;
  margin-left: 0.25rem;
}

.contact-section__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 0 0 auto;
}

.contact-section__email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #d7ff31;

  padding: 1rem 3.75rem;
  border-radius: 1.875rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.contact-section__email-sp {
  display: none;
}

.contact-section__email-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: auto;
}

.contact-section__email-text {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2a4e;
  white-space: nowrap;
}

.contact-section__more-icon {
  flex-shrink: 0;
  width: 0.5rem;
  height: auto;
}

.contact-section__email:hover {
  background-color: #c1e629;
}

.contact-section *,
.contact-section *::before,
.contact-section *::after {
  box-sizing: unset !important;
}

@media (width <= 1300px) {
  .contact-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .contact-section__image {
    display: none;
  }

  .contact-section__text {
    position: relative;
  }

  .contact-section__inner {
    justify-content: center;
    gap: 1rem 2rem;
    padding-top: 0%;
  }
}

@media (width <= 1030px) {
  .contact-section {
    padding-top: 10rem;
    margin-top: -4rem;
    background-size: auto;
    background: url("../img/contact_section_bg.png") no-repeat right top;
    background-size: auto 108%;
  }

  .contact-section::after {
    top: 25%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-size: 5rem;
  }

  .contact-section__title {
    font-size: 18px;
    white-space: nowrap;
    @media (width <= 430px) {
      white-space: wrap;
    }
  }

  .contact-section__subtitle {
    font-size: 0.9rem;
  }

  .contact-section__image img {
    width: 11rem;
  }

  .contact-section__text {
    margin-bottom: 0.5rem;
    flex: 1 1 18rem;
    top: 33%;
  }

  .contact-section__cta {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }

  /*
  .contact-section__email,
  .contact-section__tel {
    width: 18rem;
  }

  .contact-section__tel {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 0.5rem;
    background: #d7ff31;
    padding: 1rem 2.5rem;
    border-radius: 1.875rem;
    transition: background-color 0.2s;
  }

  .contact-section__tel:hover {
    background: #c1e629;
  }
  */

  .contact-section__tel-icon {
    grid-row: 1 / span 2;
    width: 1rem;
  }

  .contact-section__tel-number {
    grid-row: 1;
    font-size: 30px;
  }

  .contact-section__tel-hours {
    grid-row: 2;
    margin-left: 0;
  }

  .contact-section__email {
    padding-left: 3rem;
  }

  .contact-section__email-text {
    font-size: 0.9rem;
  }

  .contact-section__more-icon {
    display: none;
  }
}
@media (width <= 900px) {
  .contact-section__cta {
    flex-direction: column;
  }
}
@media (width <= 500px) {
  .contact-section::after {
    top: 15%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-size: 4rem;
  }

  .contact-section__inner {
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    right: 5px;
    box-sizing: unset;
  }

  .contact-section__image {
    margin-top: 0.5rem;
    width: 9rem;
    flex: 0 0 9rem;
    position: relative;
    top: 3vh;
    left: 10%;
    display: block;
  }

  .contact-section__image img {
    width: 100%;
    height: auto;
  }

  .contact-section__cta {
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .contact-section__email {
    display: none;
  }

  .contact-section__tel {
    width: 14rem;
  }

  .contact-section__email-sp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: background-color 0.2s;
  }

  .contact-section__email-text-sp {
    display: flex;
    flex-direction: column; /* 子を縦方向に積む */
  }

  .contact-section__email-text-1 {
    font-weight: 500;
  }

  .contact-section__tel {
    display: none;
  }

  .contact-section__tel-sp {
    display: flex;
    flex-direction: row; /* ← 子要素を横に積む */
    align-items: center; /* 中央寄せ（左寄せなら left） */
    gap: 0;
    z-index: 10;
  }

  .contact-section__tel-text-info {
    display: flex;
    flex-direction: column; /* ← テキストは縦積み */
    align-items: center; /* ← 左寄せ */
  }

  .contact-section__tel-number {
    font-size: 22px;
    margin-bottom: -5px;
  }

  .contact-section__tel-icon {
    width: 1.1rem;
    margin-top: 8px;
  }

  .contact-section__tel-icon,
  .contact-section__tel-note,
  .contact-section__tel-number,
  .contact-section__tel-hours {
    grid-column: 2; /* ← 全部1カラム目に収める */
  }

  .contact-section__tel-note {
    font-size: 1.125rem;
    margin-bottom: -8px;
  }

  .contact-section__email-sp,
  .contact-section__tel-sp {
    width: 12rem; /* 横幅をそろえる */
    height: 4rem;
    justify-content: center;
    background: #d7ff31; /* 背景色 */
    padding: 0.3rem 0.8rem; /* 内側余白 */
    border-radius: 5rem; /* 角丸 */
  }

  .contact-section__email {
    padding-left: 1rem;
  }

  .contact-section__email-text {
    margin-bottom: -5px;
    margin-left: 35%;
  }

  .contact-section__email-text-1 {
    font-size: 20px;
    color: #1f2a4e;
  }

  .contact-section__email-icon {
    width: 2rem;
    margin-right: 10px;
    margin-bottom: 8px;
    vertical-align: middle;
  }
}

@media (width <= 370px) {
  .contact-section {
    padding-bottom: 10rem;
  }

  .contact-section::after {
    top: 18%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-size: 4rem;
  }

  .contact-section__title {
    font-size: 1.2rem;
  }

  .contact-section__inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .contact-section__image {
    margin-top: 0;
  }

  .contact-section__text {
    margin-bottom: 0;
  }

  .contact-section__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .contact-section__email,
  .contact-section__tel {
    width: 100%;
    max-width: 20rem;
  }

  .contact-section__tel-number {
    font-size: 1.125rem;
  }

  .contact-section__tel-hours {
    font-size: 0.6rem;
  }
}

/* footer */

.footer {
  background-color: #fff;
  color: #1f2a4e;

  p,
  pre {
    margin: 0px;
  }
}

.footer *,
.footer *::before,
.footer *::after {
  box-sizing: unset !important;
}

.footer__inner {
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
  margin-top: -10rem;
}

.footer__left {
  flex: 1 1 15.625rem;
  min-width: 16.25rem;
  text-align: left;
  padding: 10rem 5rem 0;
}

.footer__logo img {
  width: 22rem;
  height: auto;
  display: block;
  margin-top: 3.125rem;
  margin-bottom: 30px;
}

.footer__nav {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer__nav-group {
  flex: 1 1 8.75rem;
  margin-bottom: 2.5rem;
}

.footer__nav-title {
  font-family: "Poiret One", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #67c0f6;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list-item {
  margin-bottom: 1rem;
}

.footer__nav-list-item::before {
  content: "•";
  color: #67c0f6;
}

.footer__nav-list-item:last-child {
  margin-bottom: 0;
}

.footer__nav-link {
  font-size: 1rem;
  color: #1f2a4e;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: #767e97;
}

.footer__right {
  flex: 1 1 25rem;
  min-width: 18.75rem;
  display: flex;
  flex-direction: column;
  background-color: #ddebf0;
  padding: 15rem 1rem 0;
}

.footer__company-info {
  padding: 5rem 5rem 0 5rem;
  border-radius: 0.5rem;
}

.footer__info-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__info-row:last-child {
  margin-bottom: 0;
}

.footer__info-label {
  flex: 0 0 5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #85bed5;
  white-space: nowrap;
}

.footer__info-value {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #1f2a4e;
  line-height: 1.6;
}

.footer__mascot-box {
  background-color: #67c0f666;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1rem;
  margin: 3rem 5rem;
  text-align: center;
}

.footer__mascot-image {
  width: 4rem;
  height: auto;
  display: block;
}

.footer__mascot-text {
  font-size: 1rem;
  color: #1f2a4e;
  line-height: 1.5;
  margin: revert !important;
}

.footer__copyright-text {
  margin: 0;
  font-size: 0.9rem;
  color: #7aaec8;
}

.sp-only {
  display: none;
}

@media (width <= 860px) {
  .footer__inner {
    flex-direction: column;
    align-items: normal;
    background-color: #ddebf0;
    gap: 0;
  }

  .footer__left {
    flex: 0;
    order: 2;
    padding: 0;
    text-align: center;
  }

  .footer__logo,
  .footer__nav {
    display: none;
  }

  .footer__copyright {
    display: block;
    padding: 2rem 0;
  }

  .footer__right {
    padding: 5rem 1rem 0;
  }

  .footer__mascot-box {
    margin: 3rem 1rem 0;
  }

  .footer__mascot-text {
    font-size: 0.9rem;
  }
}

@media (width <= 500px) {
  .footer {
    padding-bottom: 4rem;
  }

  .footer__company-info {
    padding: 5rem 0 0;
  }

  .footer__info-label {
    flex: 0 0 1.5rem;
  }

  .footer__info-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .footer__mascot-box {
    margin: 2rem 0 0;
    padding: 0.2rem;
  }

  .footer__mascot-image {
    width: 3rem;
  }

  .footer__mascot-text {
    font-size: 0.8rem;
  }

  .sp-only {
    display: block;
  }
}

/* for-medical */

.for-medical {
  position: relative;
  z-index: 0;
  background:
    url("../img/bg_overlay1.png") right top / 56.25rem auto no-repeat,
    url("../img/bg_overlay2.png") left top / 12.5rem auto no-repeat,
    url("../img/bg_base.png") center / cover no-repeat;
  min-height: 130vh;
  padding: 5rem 5vw 0;
  color: #fff;
  overflow-x: hidden;
  overflow-y: hidden; /* 縦スクロール禁止 */
}

@media (max-width: 430px) {
  .for-medical {
    padding: 0 3vw;
    /* レイヤー順はそのまま（overlay1 → overlay2 → base） */
    background-position:
      right -20%,
      left top 50rem,
      center top;
    background-size:
      175% auto,
      45% auto,
      100% auto; /* overlayをvwで小さく、baseは少し広め */
    background-repeat: repeat, no-repeat, repeat;
    padding-top: 2rem; /* 余白を戻して被りを和らげる */
    background-origin: padding-box; /* 余白内から描画 */
    background-clip: padding-box;
  }
}

.for-medical__title {
  position: absolute;
  top: 3%;
  left: 3%;
  transform: translateY(-10%);
  margin: 0;
  font-family: "Poiret One", sans-serif;
  font-size: 135px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #53abe04d;
  line-height: 1;
  white-space: nowrap;
}

.for-medical__subtitle {
  text-align: center;
  margin: 0;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 39px;
  font-weight: 400;
  color: #297fc1;
  white-space: nowrap;
  margin-top: 150px;
  margin-bottom: 50px;
}

.for-medical__subtitle-highlight {
  color: #53abe0;
}

.for-medical__subtitle-normal {
  color: #000;
}

.for-medical__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 3rem;
}

.for-medical__point-card {
  flex: 1 1 10rem;
  max-width: 18.75rem;
  background-color: #67c0f6b3;
  border-radius: 2rem;
  text-align: center;
  padding: 0.8rem;
  box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 5%);
  position: relative;
}

.for-medical__point-card--2,
.for-medical__point-card--4 {
  background-color: #a6f8e2b3;
}

.for-medical__point-title {
  margin: 0;
  font-family: "Poiret One", sans-serif;
  font-size: 60px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.05em;
}

.for-medical__point-title-num1,
.for-medical__point-title-num3 {
  color: #d5ff13;
}

.for-medical__point-title-num2,
.for-medical__point-title-num4 {
  color: #67c0f6;
}

.d-none {
  display: none !important;
}

.for-medical__desc-text p {
  margin: 0 0 1.5rem;
}

@media (width <= 1050px) {
  .for-medical__desc-text p {
    margin-bottom: 0;
  }

  .d-sp-none {
    display: none !important;
  }

  .d-sp-block {
    display: block !important;
  }
}

@media (width <= 767px) {
  .for-medical__point-title-num1,
  .for-medical__point-title-num4 {
    color: #d5ff13;
  }

  .for-medical__point-title-num2,
  .for-medical__point-title-num3 {
    color: #67c0f6;
  }
}

.for-medical__point-img {
  margin: 0.5rem auto 0.25rem;
  height: 150px;
  width: auto;
}

.for-medical__point-desc {
  margin: 0.5rem 0 0;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.for-medical__point-desc--black {
  color: #000;
}

.for-medical__point-desc--blue {
  color: #2e57bf;
}

.for-medical__point-desc--small-black {
  font-size: 0.625rem;
  color: #000;
}

.for-medical__point-desc--small-blue {
  font-size: 0.625rem;
  color: #2e57bf;
}

.fmp {
  font-size: 0.9rem;
}

.for-medical__desc {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 2rem auto 0;
  width: 100%;
  max-width: 82.5rem;
  padding: 0 0.625rem;
}

.for-medical__desc-text {
  flex: 1;
  color: #333;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  line-height: 1.75;
}

.for-medical__desc-text strong {
  color: #000;
  font-weight: 700;
}

.for-medical__desc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, #67c0f6 0%, #54ace1 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: 600;
  font-size: 19px;
  padding: 1.125rem 4.375rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
}

.for-medical__desc-button-icon {
  width: 0.625rem;
  height: auto;
  display: inline-block;
}

.for-medical__desc-button:hover {
  background: linear-gradient(135deg, #54ace1 0%, #4398cb 100%);
}

.for-medical__desc-image {
  flex: 1;
  overflow: hidden;
  max-width: 37.5rem;
  position: relative;
  left: calc((98.5vw - 100%) / 2);
}

.for-medical__desc-image img {
  width: 100%;
  height: auto;
  display: block;
}

.for-medical__center-image {
  text-align: center;
  margin: 80px auto;
}

.for-medical__center-image img {
  max-width: 90%;
  height: auto;
  display: inline-block;
}

.for-medical__visit {
  width: 100vw;
  height: 450px;
  align-items: center;
  padding-top: 0.6rem;
  position: relative;
  z-index: 2;
  overflow: visible;
  margin-left: -5vw;
}

.for-medical__visit::before {
  position: absolute;
  background: url("../img/visit_illustration.jpg") no-repeat center center;
  background-size: cover;
  content: "";
  width: 44vw;
  height: 100%;
  left: 0;
  top: 0;
  display: block;
}

.for-medical__visit-image {
  flex: 1 1 48%;
  max-width: 48%;
  position: relative;
  left: calc((100% - 100vw) / 2);
}

.for-medical__visit-image img {
  width: 100%;
  height: auto;
  display: block;
}

.for-medical__visit-text {
  position: relative;
  width: 100%;
  color: #333;
  /* font-family: "M PLUS 1p", sans-serif; */

  line-height: 1.6;
  margin-bottom: 80px;
  height: 100%;
}

.for-medical__visit-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-left: 50vw;
  padding-right: 5vw;
  padding-bottom: 110px;
  width: 45vw;
}

.for-medical__visit-title {
  margin: 0 0 1rem;
  font-size: 29px;
  font-weight: 500;
  color: #53abe0;
  white-space: nowrap;
  @media (width < 1024px) {
    white-space: wrap;
  }
}

.for-medical__visit-desc {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
}

.for-medical__visit-desc strong {
  color: #000;
}

.for-medical__visit-section {
  display: none;
}

.for-medical__visit-section img {
  display: none;
}

@media (width > 430px) and (width <= 1020px) {
  .for-medical__desc {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text1"
      "image"
      "text2"
      "button";
    gap: 1rem;
  }

  .for-medical__desc-text {
    display: contents;
  }

  .for-medical__desc-text1 {
    grid-area: text1;
  }

  .for-medical__desc-image {
    grid-area: image;
    justify-self: center;
    max-width: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    left: 1rem;
  }

  .for-medical__desc-image img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .for-medical__desc-text2 {
    grid-area: text2;
  }

  .for-medical__desc-button {
    grid-area: button;
    justify-self: center;
    padding: 1.125rem 2rem;
  }

  .for-medical__center-image img {
    max-width: 99%;
    height: auto;
    display: inline-block;
  }

  .for-medical__visit {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "desc"
      "image";
    gap: 1rem;
  }

  .for-medical__visit-text {
    display: contents;
  }

  /* .for-medical__visit-title {
    grid-area: title;
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #53abe0;
    white-space: wrap;
  } */
  .for-medical__visit-content {
    position: absolute;
    top: 50%;
    left: 74%;
    padding-left: 0vw !important;
    transform: translate(-50%, -50%);
    padding-right: 5vw;
    padding-bottom: 110px;
    width: 50vw;
  }
  .for-medical__visit-desc {
    grid-area: desc;
    margin: 0;
    white-space: wrap;
  }

  .for-medical__visit-image {
    grid-area: image;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 100%;
    position: static;
    left: 0;
    transform: none;
  }

  .for-medical__visit-image img {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

@media (width >430px) and (width <= 930px) {
  .for-medical__title {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: clamp(3rem, 12vw, 6rem);
    white-space: wrap;
  }

  .for-medical__subtitle {
    margin-top: clamp(4rem, 13vw, 7rem);
  }

  .for-medical__point-title {
    font-size: 2rem;
  }

  .for-medical__point-img {
    height: 4rem;
  }

  .for-medical__point-desc {
    font-size: 0.8rem;
  }
}

@media (width > 430px) and (width <= 720px) {
  .for-medical__subtitle {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    text-align: center;
    margin: 0.5rem 0 0;
    font-size: clamp(0.9rem, 4vw, 1.5rem);
    white-space: wrap;
  }

  .for-medical__points {
    margin-top: 3rem;
  }
}

/* For client data section */
.container {
  background: #54ace166;
  border-radius: 40px;
  padding: 10px;
  max-width: 82.5rem;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 50px;
}

.content-wrapper {
  border-radius: 35px;
  padding: 50px 60px 10px;
  position: relative;
  min-height: 450px;
}

.header {
  margin-bottom: 60px;
}

.main-title {
  font-size: 87px;
  color: white;
  font-weight: 200;
  letter-spacing: 0.15em;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sub-title {
  font-size: 29px;
  color: white;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

.main-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.charts-wrapper {
  display: flex;
  gap: 50px;
}

.chart-container {
  text-align: center;
  position: relative;
}

.chart-box {
  width: 250px;
  height: 250px;
  position: relative;
}

.chart-legend {
  position: absolute;
  font-size: 18px;
  font-weight: 500;
  color: #07297f;
  white-space: nowrap;
}

/* 医科・歯科の凡例位置 */
.medical-legend {
  top: 60px;
  left: 30px;
}

.dental-legend {
  bottom: 60px;
  right: 25px;
}

/* エリアの凡例位置 */
.outside-legend {
  top: 45px;
  left: 15px;
}

.inside-legend {
  bottom: 45px;
  right: 5px;
}

.chart-label {
  font-size: 20px;
  color: #3153ad;
  font-weight: 500;
  margin-top: 15px;
}

.percentage-section {
  flex: 1;
  text-align: center;
  padding-left: 40px;
  padding-right: 190px;
}

.percentage-wrapper {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 15px;
}

.percentage-number {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 117px;
  color: white;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.percentage-symbol {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 50px;
  color: white;
  font-weight: 200;
  margin-left: 5px;
  align-self: flex-start;
  margin-top: 25px;
}

.percentage-label {
  font-size: 20px;
  color: #3153ad;
  font-weight: 500;
  line-height: 1.4;
}

.note {
  position: absolute;
  bottom: 5px;
  left: 60px;
  font-size: 9px;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.illustration {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 240px;
  height: 300px;
  background: url("../img/client_data_human.png") no-repeat center;
  background-size: contain;
}

@media (width > 1200px) and (width <= 1400px) {
  .illustration {
    bottom: -50px;
  }
  .percentage-section {
    padding-bottom: 100px;
  }
}

@media (width > 1200px) and (width <= 1300px) {
  .illustration {
    width: 160px;
    height: 200px;
  }
}

@media (max-width: 1200px) {
  .main-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .for-client__header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 950px) {
  .illustration {
    width: 160px;
    height: 200px;
  }
}

canvas {
  max-width: 100%;
  height: auto !important;
}

.for-client__title {
  margin: 0;
  font-family: "Poiret One", sans-serif;
  font-size: 90px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #ffffffcc;
  line-height: 1;
  white-space: nowrap;
}

.for-client__header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.for-client__title {
  font-family: "Poiret One", sans-serif;
  font-size: 90px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin: 0;
  text-align: left;
  opacity: 0.8;
}

.for-client__subtitle {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 29px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  margin: 0 0 0 1rem;
  text-align: left;
}

@media (width <= 700px) {
  .for-medical__title {
    top: 1%;
    font-size: 50px;
    align-self: center;
  }

  .for-medical__subtitle {
    top: 1.8%;
    font-size: 21px;
    left: 40%;
    margin-top: clamp(4rem, 13vw, 7rem);
    text-align: left;
    margin-bottom: 25px;
  }

  .for-medical__points {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 0.8rem; /* 余白 */
    justify-items: center; /* 各セル内のカードを中央寄せ */
    margin: 0;
    padding-bottom: 0rem;
    @media (width <= 430px) {
      gap: 0.8rem 0.4rem;
    }
  }

  /* カード内のレイアウトを中央寄せ（縦横）に */
  .for-medical__point-card--1,
  .for-medical__point-card--2,
  .for-medical__point-card--3,
  .for-medical__point-card--4 {
    display: flex; /* 中身をFlexで中央寄せ */
    flex-direction: column; /* タイトル→画像→説明の縦並びを想定 */
    align-items: center; /* 横中央 */
    justify-content: center; /* 縦中央 */
    gap: 0rem; /* 要素間の隙間 */
    overflow: hidden; /* はみ出し抑止 */
    max-width: 90%; /* カードの最大幅を100%に */
    width: 90%; /* カードの幅を100%に */
    aspect-ratio: 1 / 1.45;
    padding-top: 1rem;
    @media (width <= 430px) {
      justify-content: space-between;
    }
  }

  /* 画像をカード中心に収める（はみ出さず、できるだけ大きく） */
  .for-medical__point-img {
    max-width: 80%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain; /* 比率を保って内側にフィット */
    margin: 0 auto; /* 念のため中央寄せ */
  }

  .for-medical__point-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
    padding: 0 0.5rem; /* 横に少し余白を追加 */
  }

  .for-medical__point-desc {
    font-size: 11.5px;
    text-align: center;
    margin: 0;
    padding: 0 0.5rem; /* 横に少し余白を追加 */
  }

  /* 縦並びの基本：コンテナを縦方向に積む */
  .for-medical__desc {
    display: flex;
    flex-direction: column; /* 縦積み */
    align-items: center; /* ← 子要素を水平方向に中央寄せ */
    gap: 1.5rem; /* ブロック間の余白 */
    margin-right: 2rem;
    width: 100%;
    max-width: 82.5rem;
    padding: 0 0;
  }

  /* ラッパーを“透過”して中の要素を直接の子として扱う */
  .for-medical__desc-text {
    display: contents; /* ← これで text1 / text2 / ボタンを直下扱いに */
    text-align: left;
  }

  .for-medical__desc-text p {
    margin: 0;
  }

  /* 並び順：text1 → image → text2 → button */
  .for-medical__desc-text1 {
    order: 1;
  }
  .for-medical__desc-image {
    order: 2;
  }
  .for-medical__desc-text2 {
    order: 3;
  }

  .for-medical__desc-image {
    display: flex;
    justify-content: center;
    left: 0;
  }

  .for-medical__desc-button {
    order: 4;
    white-space: nowrap;
    align-self: center;
    padding: 1.125rem 10%;
  }

  .container {
    padding: 0px;
    border-radius: 20px;
    margin-bottom: 0;
  }
  .content-wrapper {
    padding: 30px 20px 140px;
    min-height: 300px;
  }

  .for-client__header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .for-client__title {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 50px;
  }

  .for-client__subtitle {
    font-size: 18px;
    margin: 0;
  }

  .chart-container {
    text-align: center;
    position: relative;
    width: 40%;
    left: 2%;
  }

  .chart-box {
    width: 150px;
    height: 150px;
    position: relative;
  }

  .medical-legend {
    top: 28%;
    left: 8%;
    font-size: 13px;
  }

  .dental-legend {
    bottom: 11%;
    right: 18%;
    font-size: 13px;
  }

  .inside-legend {
    bottom: 4%;
    right: 26%;
    font-size: 13px;
    text-align: right;
  }

  .outside-legend {
    top: 19%;
    left: 8%;
    font-size: 13px;
    text-align: left;
  }

  .percentage-section {
    padding-left: 20%;
  }

  .percentage-number {
    font-size: 70px;
    margin-left: -13%;
  }

  .percentage-wrapper {
    margin-bottom: 2px;
    transform: translateY(40px);
  }

  .percentage-symbol {
    font-size: 40px;
    margin-top: 10px;
  }

  .percentage-label {
    font-size: 16px;
    line-height: 1.4;
    margin-left: -28%;
    white-space: nowrap;
    transform: translateY(40px);
  }

  .illustration {
    position: absolute;
    bottom: 0;
    top: 60%;
    right: 3%;
    height: 40%;
    opacity: 1;
  }

  .note {
    font-size: 15px;
    left: 7%;
    bottom: 3%;
  }

  .for-medical__point-card--1,
  .for-medical__point-card--4 {
    background-color: #67c0f6b3;
  }

  .for-medical__point-card--2,
  .for-medical__point-card--3 {
    background-color: #a6f8e2b3;
  }

  .for-medical__visit {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "desc"
      "image";
    gap: 1rem;
  }

  .for-medical__visit-content {
    position: static;
    transform: none;
    padding: 0;
    width: 100%;
    text-align: left;
  }

  .for-medical__visit-title {
    grid-area: title;
    font-size: 20px;
  }
  .for-medical__visit-desc {
    grid-area: desc;
    margin-bottom: 2rem;
  }
  .for-medical__visit-image {
    grid-area: image;
  }

  .for-medical__visit-illustration {
    width: 620px;
    height: 100%;
    z-index: 0; /* behind text */
  }

  .for-medical__visit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .for-medical__visit {
    display: none;
  }

  .for-medical__visit-section {
    display: flex;
    flex-direction: column; /* 縦に積む */
    align-items: center; /* 中央寄せ */
    gap: 1.5rem;
    width: 100%;
    max-width: 82.5rem;
    margin: 2rem auto 15%;
  }

  .for-medical__visit-section img {
    width: 100vw;
    max-width: none;
    height: auto;
    display: block;
    margin-left: -3vw; /* 親paddingぶんを打ち消す */
    align-items: flex-start;
  }

  .for-medical__desc-text {
    font-size: 16px;
  }

  .for-medical__visit-desc {
    font-size: 16px;
  }
}

@media (width <= 430px) {
  .fmt {
    font-size: 0.9rem;
  }
  .for-medical__point-card {
    padding: 0.8rem 0.4rem;
  }
  .fmp {
    font-size: 0.8;
  }
}

/* header */

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("/wp-content/themes/xeory_extension_child/img/hero.png");
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 80%) 0%,
    rgb(255 255 255 / 0%) 10%
  );
}

.hero__logo-pack {
  position: absolute;
  top: 43vh;
  left: 2%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2.2vw;
  pointer-events: none;
  z-index: 5;
}

.hero__logo {
  width: clamp(10rem, 50vw, 30rem);
  height: auto;
}

.hero__balloon {
  position: relative;
  width: clamp(4rem, 15vw, 8.75rem);
  aspect-ratio: 1 / 1;
  transform: translateY(-25%);
  background: url("../img/hukidasi.png") center/contain no-repeat;
}

.hero__balloon-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-47%, -53%) rotate(-10deg);
  margin: 0;
  text-align: center;
  line-height: 1.1;
  color: #003876;
  pointer-events: none;
  font-family: "Noto Sans JP", sans-serif;
}

.hero__balloon-text--big {
  font-weight: 800;
  font-size: 35px;
  white-space: nowrap; /* 途中で折り返させない */
}

.hero__balloon-text--small {
  font-weight: 500;
  font-size: clamp(0.5rem, 2vw, 1rem);
  white-space: nowrap;
  display: inline-block;
  margin-top: 5px;
}

.hero__heading {
  position: absolute;
  left: 2%;
  top: calc(43vh + 140px);
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  pointer-events: none;
  z-index: 5;
}

.hero__main {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.05;
  font-size: clamp(2rem, 10vw, 5rem);
  white-space: nowrap;
}

.hero__sub {
  margin-top: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: clamp(0.8rem, 3vw, 1.8rem);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hero__balloon-text--big {
    font-weight: 600;
    font-size: 25px;
    white-space: nowrap; /* 途中で折り返させない */
  }

  .hero__balloon-text--small {
    font-size: 14px;
    white-space: nowrap;
  }

  .hero__balloon-text {
    line-height: 1;
  }
}

/* スマホ用にサイズを縮小 */
@media (max-width: 430px) {
  .header__label-pc {
    display: none;
  }

  .hero {
    height: calc(100svh - 64px);
    background-image: url("../img/sp_bg.jpg");
  }

  .hero__logo-pack {
    top: calc(100% - 120px);
    height: auto;
  }

  .hero__logo-pack img {
    margin-top: 30px;
    width: 200px;
    height: auto;
  }

  .hero__balloon {
    left: 10%;
    width: clamp(3rem, 20vw, 6rem);
    aspect-ratio: 1 / 1;
    transform: translateY(-10%);
  }

  .hero__balloon-text--big {
    font-weight: 600;
    font-size: 20px;
    white-space: nowrap; /* 途中で折り返させない */
  }

  .hero__balloon-text--small {
    font-size: 10px;
    white-space: nowrap;
  }

  .hero__balloon-text {
    line-height: 1;
  }

  .hero__heading {
    top: calc(100% - 50px);
    height: auto;
  }
}

.header__contact-bar {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  z-index: 10;
  padding-right: 6rem;
}

.header__tel-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-decoration: none;
  color: #003876;
  font-weight: 700;
  line-height: 1.1;
  margin-right: -8.125rem;
  @media (width >= 800px) {
    pointer-events: none;
  }
}

.header__label-pc {
  background: #d7ff31;
  border-radius: 624.9375rem;
  padding: 0.625rem 1.25rem;
  font-size: 1.125rem;
  color: #003876;
  position: relative;
  right: 0.625rem;
  top: 0.125rem;
}

.header__label-sp {
  display: none;
}

.header__tel {
  display: flex;
  align-items: center;
  font-size: 1.725rem;
  color: #07297f;
}

.header__tel .header__icon {
  height: 1.2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.header__hours {
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  color: #07297f;
  text-align: center;
}

.header__icon-box--mail {
  margin-left: auto;
  position: relative;
  z-index: 20010;
}

.header__icon-box {
  width: 4.5rem;
  height: 4.5rem;
  background: #65b7ff;
  border: none;
  border-radius: 0.25rem;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.header__icon-box img {
  height: 1.375rem;
  margin-bottom: 0.25rem;
  filter: brightness(0) invert(1);
}

.header__icon-box--mail {
  position: relative;
  z-index: 20010;
}

.header__icon-box--menu {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 20010;
}

.header__hamburger-icon {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background-color: #fff;
  position: relative;
  margin-top: 0.8125rem;
  margin-bottom: 0.9375rem;
}

.header__hamburger-icon::before,
.header__hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.5rem;
  height: 0.125rem;
  background-color: #fff;
}

.header__hamburger-icon::before {
  top: -0.5rem;
}

.header__hamburger-icon::after {
  top: 0.5rem;
}

.header__icon-box--menu.is-open .header__hamburger-icon {
  background-color: transparent;
}
.header__icon-box--menu.is-open .header__hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.header__icon-box--menu.is-open .header__hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.header__menu-list {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 6rem);
  height: auto;
  background: rgba(81, 192, 243, 0.95);
  z-index: 10000;
  margin: 0;
  padding: 2rem 3rem 2.5rem;
  list-style: none;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.2rem;
  transition:
    transform 0.3s cubic-bezier(0.4, 2, 0.6, 1),
    opacity 0.2s;
  transform: translateY(-100%);
  opacity: 0;
}

/* Lock background scroll when menu is open */
body.menu-open {
  overflow: hidden;
  height: 100dvh;
}

/* Make the overlay menu scrollable within the viewport */
.header__menu-list {
  inset: 0;
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.header__menu-list {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 6rem);
  height: auto;
  background: rgb(81 192 243 / 95%);
  z-index: 10000;
  margin: 0;
  padding: 2rem 3rem 2.5rem;
  list-style: none;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.2rem;
  transition:
    transform 0.3s cubic-bezier(0.4, 2, 0.6, 1),
    opacity 0.2s;
  transform: translateY(-100%);
  opacity: 0;
}

.header__menu-list.open {
  overflow-y: auto;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  box-sizing: unset;
}

.header__menu-list.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  padding-bottom: 80px;
}

.header__close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  margin: 0;
  padding: 0.2rem 0.5rem;
  z-index: 1;
  background: rgb(144 211 246);
}

.header__close-label {
  color: #fff;
  font-size: 0.5rem;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 600;
  user-select: none;
  margin-top: -0.2rem;
}

.header__close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.header__close-menu:hover,
.header__close-menu:focus {
  background: #f0f4ff;
  outline: none;
}

.header__logo {
  text-align: left;
  margin-left: 0;
}

.header__logo img {
  width: 22rem;
  height: auto;
  margin-left: 0;
  margin-right: auto;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  /* gap: 2rem;
  column-gap: 8rem; */
  align-items: flex-start;
  justify-content: space-around;
}

.header__nav-group {
  margin: 0;
  @media (width >= 800px) {
    width: 50%;
    .h-in {
      width: fit-content;
      margin-inline: auto;
    }
  }
}

.header__nav-cols {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  gap: 0 2rem;
}

.header__cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.header-cta-text-block {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: normal;
  /* font-family: "M PLUS 1p", sans-serif; */
}
.header-cta-texts-block {
  display: block;
  text-align: center;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: normal;
}

.header__cta {
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.02em;
  color: #07297f;
  background: #d7ff31;
  box-shadow: 0 2px 6px rgb(0 0 0 / 6%);
}

.header__cta--tel {
  background: #d7ff31;
  color: #07297f;
  @media (width >= 800px) {
    pointer-events: none;
  }
}

.header__cta--mail {
  background: linear-gradient(135deg, #0060c7 0%, #0b56b7 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  text-align: center;
  line-height: 60px;
  font-weight: bold;
}

.header__cta-phone {
  font-size: 1.2em;
}

.header__cta-hours {
  font-size: 12px;
  margin-left: 0.25rem;
  opacity: 0.9;
}

.header__cta-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}

.header__cta--tel .header__cta-icon {
  background-image: url("../img/phone.png");
  filter: none;
}

.header__cta--mail .header__cta-icon {
  background-image: url("../img/mail.png");
  filter: brightness(0) invert(1);
  transform: translateY(5px);
}

.header__nav-title {
  font-family: "Poiret One", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4rem;
  @media (width <= 800px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.header__nav-list li {
  margin-bottom: 1rem;
}

.header__nav-list li:last-child {
  margin-bottom: 0;
}

.header__nav-list a {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.header__nav-list a:hover {
  color: #e0e0e0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 90px;
}

@media (max-width: 1024px) {
  .header__nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 970px) {
  .header__label-pc {
    opacity: 0;
    display: none;
  }
}

@media (max-width: 800px) {
  header {
    height: 70px;
  }

  .header__contact-bar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    background: rgb(255 255 255 / 85%);
    backdrop-filter: blur(0.25rem);
    z-index: 20000;
    align-items: normal;
    box-sizing: border-box;
    max-width: 100vw;
    height: 67px;
  }

  .header__tel-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #d7ff31;
    padding: 0.5rem;
    width: 50%;
  }

  .header__label {
    padding: 0;
    position: static;
  }

  .header__tel {
    font-size: 1.2rem;
  }

  .header__logo img {
    width: 15rem;
    height: auto;
  }

  .header__icon-box {
    width: 3.5rem;
    height: 3.5rem;
  }

  .header__icon-box--mail {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: auto;
    padding: 0.5rem;
    background: linear-gradient(135deg, #0060c7 0%, #0b56b7 100%);
    border-radius: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.5rem;
  }

  .header__icon-box--mail img {
    height: 1rem;
    margin: 0;
    filter: brightness(0) invert(1);
  }

  .header__icon-box--mail span {
    white-space: nowrap;
    display: none;
  }

  .header__icon-box--mail::after {
    content: "メールでのお問合せ";
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .header__icon-box--menu {
    position: fixed;
    display: flex;
    align-items: center; /* 中央配置 */
    justify-content: center; /* 中央配置 */
    top: calc(env(safe-area-inset-top, 0) + 0.5rem); /* ノッチ回避 */
    right: calc(env(safe-area-inset-right, 0) + 0.5rem);
    left: auto; /* 明示して左側を無効化 */
    z-index: 30000;
    width: 3.5rem; /* タップ領域を固定 */
    height: 3.5rem;
    box-sizing: border-box;
  }

  /* 横スクロール抑止（サブピクセルや固定要素によるはみ出し対策） */
  html,
  body {
    overflow-x: hidden;
  }

  .header__menu-list {
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .header__menu-list {
    padding: 1rem 3rem;
    gap: 1rem;
    background-color: rgba(81, 192, 243, 0.95);
  }

  .header__menu-list.open {
    width: 100%;
    overflow-y: auto;
    padding: 1rem 1rem;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }

  .header__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    padding-left: 0;
    padding: 0 0.5rem;
  }
  .header__nav-cols {
    grid-template-columns: 1fr;
  }

  .header__cta-row {
    display: none;
  }

  .header__nav-group {
    margin-bottom: 2rem;
  }

  .header__nav-title {
    margin-bottom: 0.5rem;
    margin-top: 0;
  }

  .header__nav-list a {
    font-size: 1rem;
    white-space: normal;
    word-wrap: break-word;
  }

  .header__nav-list li {
    margin-bottom: 0.3rem;
  }

  .header__nav-list {
    margin-bottom: 0.3rem;
  }
}

@media (min-width: 431px) {
  header.bg-white {
    background: rgb(255 255 255 / 25%);
    backdrop-filter: blur(0.375rem);
  }
}

@media (max-width: 430px) {
  header {
    height: auto;
  }

  header::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(0.375rem);
  }

  header.bg-white::after {
    opacity: 1;
  }

  .header__label-sp {
    display: block;
    background: #d7ff31;
    border-radius: 624.9375rem;
    padding: 0 1.25rem 2px;
    font-size: 0.8rem;
    color: #003876;
    position: relative;
    right: 0;
    top: 0;
    white-space: nowrap;
    text-align: center;
  }

  .header__icon-box--mail {
    flex-direction: row;
    gap: 0.3rem;
  }

  .header__icon-box--mail::after {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* ヘッダーロゴのスタイル */
.header__logo-wrapper {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.header__logo-link {
  display: block;
  text-decoration: none;
}

@media (max-width: 430px) {
  .header__logo-wrapper {
    top: 35px;
  }

  .header__logo-wrapper:not(.header__logo-wrapper--visible) .header__logo-link {
    display: none;
  }
}

.header__logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.header__logo-wrapper--visible {
  opacity: 1 !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 768px) {
  .header__logo-wrapper {
    left: 10px;
  }

  .header__logo-img {
    height: 40px;
  }
}

@media (max-width: 345px) {
  .header__logo-img {
    height: 35px;
  }
}

/* 全セクション共通 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.delay1 {
  transition-delay: 0.1s;
}

.delay2 {
  transition-delay: 0.2s;
}

.delay3 {
  transition-delay: 0.3s;
}

/* hero__slideshow */

.hero__slideshow {
  display: block;
  position: relative;
  width: 100vw;
  height: 120vh;
  transform: rotate(-10deg);
}

.hero__slideshow--sp {
  display: block;
  position: relative;
  width: 100vw;
  height: 0;
  transform: rotate(-24deg);
}

.hero__slideshow1 {
  position: absolute;
  left: 50vw;
  top: 50%;
  transform: translateY(-50%);
  width: 20vw;
  height: 120vh;
  overflow: hidden;
  z-index: 3;
  opacity: 1;
}

.hero__slideshow2 {
  position: absolute;
  left: 71vw;
  top: 50%;
  transform: translateY(-50%);
  width: 20vw;
  height: 120vh;
  overflow: hidden;
  z-index: 3;
  opacity: 1;
}

.hero__slideshow3 {
  position: absolute;
  left: 92vw;
  top: 50%;
  transform: translateY(-50%);
  width: 20vw;
  height: 120vh;
  overflow: hidden;
  z-index: 3;
  opacity: 1;
}

.hero__slideshow-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideVertical 25s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation-delay: 0.5s;
}

.hero__slideshow-track-reverse {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideReverse 25s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation-delay: 0.5s;
}

.hero__slideshow-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
  transition: transform 0.3s ease;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero__slideshow-image:hover {
  transform: scale(1.05);
}

@keyframes slideVertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes slideReverse {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

/* PC表示（幅 768px 以上のとき） */
@media (min-width: 768px) {
  .hero__slideshow {
    display: block;
  }
  .hero__slideshow--sp {
    display: none;
  }
}

/* スマホ表示（幅 767px 以下のとき） */
@media (max-width: 767px) {
  .hero__slideshow {
    display: none;
  }
  .hero__slideshow--sp {
    display: block;
    transform: rotate(-24deg);
  }

  .hero__slideshow-image {
    width: 100%; /* 画像は枠にフィット */
    height: auto;
    box-shadow: none;
    border-radius: 0.25rem; /* モバイルでは軽めに角丸 */
    aspect-ratio: unset;
  }

  .hero__slideshow1,
  .hero__slideshow2,
  .hero__slideshow3 {
    width: 25vw; /* 少し大きめにして見やすく */
    height: 200vh;
    opacity: 1;
  }

  .hero__slideshow1 {
    left: 15vw; /* 左端から配置 */
  }
  .hero__slideshow2 {
    left: 41vw; /* 適度な間隔で次を配置 */
  }
  .hero__slideshow3 {
    left: 68vw; /* 3つ目も均等配置 */
  }

  .hero__slideshow-track {
    gap: 0.2rem;
    animation: slideVertical 45s linear infinite;
  }

  .hero__slideshow-track-reverse {
    gap: 0.2rem;
    animation: slideReverse 45s linear infinite;
  }
}

/* newly-open-plan */

.newly-open-plan {
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, #3556ac, #5f78c6, #3556ac);
  color: #f0f7fb;
  padding: 5rem 2rem 10rem;
}

.newly-open-plan::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 8vw;
  background: linear-gradient(to right, #3556ac, #5f78c6, #3556ac);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  transform: translateY(-100%);
}

.newly-open-plan::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40vw;
  height: 40vw;
  background: url("../img/wave.png") no-repeat;
  background-size: contain;
  opacity: 0.8;
  z-index: -1;
}

.newly-open-plan__title-en {
  margin: 0 auto;
  text-align: center;
  font-family: "Poiret One", sans-serif;
  font-size: 135px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.newly-open-plan__title-jp {
  margin-top: 2.5rem;
  text-align: center;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 29px;
  font-weight: 500;
  line-height: 1.2;
}

.newly-open-plan__desc {
  margin-top: 2.5rem;
  text-align: center;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
}

.newly-open-plan__desc strong {
  font-weight: 700;
}

.newly-open-plan__pre-open-section {
  padding: 3rem 0;
  color: #fff;
}

.newly-open-plan__pre-open-inner {
  position: relative;
  display: flex;
  margin: 0 auto;
  padding: 0 5rem;
}

.newly-open-plan__pre-open-image {
  align-self: center;
}

.newly-open-plan__pre-open-image img {
  max-width: 35rem;
  display: block;
}

.newly-open-plan__pre-open-bubble {
  position: absolute;
  left: 33.75rem;
  top: 11%;
  transform: translateY(-50%);
  width: 18.75rem;
  aspect-ratio: 1.5 / 1;
  background: url("../img/bubble_shape.png") center / contain no-repeat;
  z-index: 1;
}

.newly-open-plan__bubble-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a2560;
  /* font-family: "M PLUS 1p", sans-serif; */

  line-height: 1.2;
}

.newly-open-plan__bubble-headline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2e57bf;
  margin-right: -3.75rem;
  margin-left: -1.875rem;
}

.newly-open-plan__bubble-price {
  margin: 0.5rem 0 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0a2560;
  margin-right: -3.75rem;
  margin-left: -1.875rem;
}

.newly-open-plan__bubble-price .tax {
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.newly-open-plan__pre-open-desc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
  padding-top: 7rem;
}

.newly-open-plan__pre-open-desc strong {
  font-weight: 700;
}

br.sp-only {
  display: none;
}

@media (width > 430px) and (width <= 1000px) {
  .newly-open-plan__pre-open-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .newly-open-plan__pre-open-bubble {
    order: 0;
    position: absolute;
    left: 0;
    top: -80px;
    transform: none;
    margin: 0 auto;
    background: url("../img/bubble_shape_reverse.png") center / contain
      no-repeat;
  }

  .newly-open-plan__bubble-headline {
    margin: 0;
    color: #2e57bf;
    margin-right: -3.75rem;
    margin-left: -1.875rem;
  }

  .newly-open-plan__bubble-price {
    margin: 0.5rem 0 0;
    color: #0a2560;
    margin-right: -3.75rem;
    margin-left: -1.875rem;
  }

  .newly-open-plan__bubble-price .tax {
    font-size: 0.7rem;
    font-weight: 400;
    margin-left: 0.25rem;
  }

  .newly-open-plan__pre-open-image {
    order: 1;
  }

  .newly-open-plan__pre-open-image img {
    max-width: 100%;
    height: auto;
  }

  .newly-open-plan__pre-open-desc {
    order: 2;
    padding-top: 0;
    text-align: left;
    margin: 0 -1.5rem;
  }

  .newly-open-plan__title-en,
  .newly-open-plan__title-jp,
  .newly-open-plan__desc {
    text-align: left;
  }

  br.sp-only {
    display: none;
  }
}

@media (max-width: 430px) {
  .newly-open-plan {
    padding: 5% 1rem 5%;
    margin-top: -8.8rem;
  }

  .newly-open-plan::before {
    height: 10vw;
  }
  .newly-open-plan::after {
    width: 60vw;
    height: 60vw;
    bottom: 50%;
    opacity: 0.6;
  }

  br.sp-only {
    display: inline;
  }

  .newly-open-plan__title-en {
    font-size: 55px;
    text-align: left;
  }

  .newly-open-plan__title-jp {
    font-size: 20px;
    margin-top: 1.5rem;
    text-align: left;
  }

  .newly-open-plan__pre-open-section {
    padding: 0%;
  }
  .newly-open-plan__desc {
    font-size: 16px;
    margin-top: 0.5rem;
    text-align: left;
  }

  .newly-open-plan__pre-open-inner {
    position: relative;
    display: flex;
    flex-direction: column; /* ← 縦並びに切り替える */
    padding: 3rem 0 3rem;
  }

  .newly-open-plan__pre-open-image {
    order: 1;
    align-self: center;
  }

  .newly-open-plan__pre-open-image img {
    max-width: 85vw;
  }

  .newly-open-plan__pre-open-desc {
    order: 2;
    padding-top: 1.5rem;
    font-size: 16px;
  }

  .newly-open-plan__pre-open-bubble {
    left: 3vw;
    top: 7%;
    width: 180px;
    background: url("../img/bubble_shape_reverse.png") center / contain
      no-repeat;
  }

  .newly-open-plan__bubble-headline {
    font-size: 0.7rem;
    margin-right: -2.5rem;
    margin-left: -2.75rem;
  }

  .newly-open-plan__bubble-price {
    font-size: 1.2rem;
    margin-right: -2.5rem;
    margin-left: -2.75rem;
  }

  .newly-open-plan__bubble-price .tax {
    font-size: 0.6rem;
  }
}

/* news */

.news {
  position: relative;
  margin: 0;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/rectangle.png") left / cover no-repeat;
  background-size: 40% 100%;
  z-index: -1;
}

.news__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8rem, 18vw, 15rem);
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 3.75rem 1.25rem;
}

.news__title {
  flex-shrink: 0;
  color: #fff;
  text-align: left;
  line-height: 1.1;
  position: relative;
  top: 0;
  left: 0;
}

.news__title-en {
  font-family: "Poiret One", sans-serif;
  font-size: 50px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.news__title-jp {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.news__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 7rem;
}

.news__item {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.25rem;
  flex-wrap: wrap;
  font-size: 1.125rem !important;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  a {
    color: #333 !important;
  }
}

.news__item:nth-child(1) {
  margin-left: 0;
}

.news__item:nth-child(2) {
  margin-left: 2rem;
}

.news__item:nth-child(3) {
  margin-left: 4rem;
}

.news__date {
  color: #53abe0;
  font-weight: 700;
  white-space: nowrap;
}

.news__text {
  word-break: break-word;
  overflow-wrap: normal;
  min-width: 0;
  a {
    font-size: 1.125rem;
    @media (width <= 430px) {
      font-size: 1rem;
    }
  }
}

@media (width <= 1030px) {
  .news__item {
    flex-wrap: wrap;
  }

  .news__date {
    margin-bottom: 0.25rem;
    flex-basis: 100%;
  }

  .news__text {
    flex-basis: 100%;
  }
}

@media (width <= 800px) {
  .news {
    min-height: 0;
    display: flex;
    align-items: center;
  }

  .news::before {
    background-size: 7rem 100%;
    transform: rotate(0deg);
  }

  .news__inner {
    gap: 1.25rem;
    padding: 2rem 1rem;
    align-items: center;
    margin: 0;
  }

  .news__title {
    left: 0;
    top: 7rem;
  }

  .news__title-en {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 3rem;
    letter-spacing: 0.05em;
    line-height: 1.1;
    position: relative;
  }

  .news__title-jp {
    font-size: 1.125rem;
    position: relative;
    left: 0.3rem;
  }

  .news__list {
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 3rem;
    padding-left: 0;
  }

  .news__item {
    font-size: 1rem !important;
    width: 100%;
    box-sizing: border-box;
  }

  .news__item:nth-child(2) {
    margin-left: 1rem;
  }

  .news__item:nth-child(3) {
    margin-left: 2rem;
  }
}

@media (width <= 430px) {
  .news {
    padding-top: 0;
    padding-bottom: 0;
  }
  .news__title {
    top: 5rem;
  }
}

/* service2 */

.service2 {
  background-color: #86cdf8cc;
  position: relative;
  padding: 5rem;
}

.service2__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
}

.service2__text {
  flex: 1 1 25rem;
  max-width: calc(100% - 31.25rem);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  text-align: center;
}

.service2__label {
  position: relative;
  width: 17.5rem;
  margin-bottom: 1.75rem;
  left: -5rem;
}

.service2__label img {
  width: 100%;
  height: auto;
  display: block;
}

.service2__label-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 3.4rem;
  color: #67c0f6;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.service2__label-text strong {
  color: #3153ad;
  font-weight: 100;
}

.service2__title {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.8rem;
  font-weight: 400;
  color: #434b65;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service2__title strong {
  color: #fff;
}

.service2__label,
.service2__title,
.service2__desc {
  text-align: left;
}

.service2__desc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  color: #5a627d;
  line-height: 1.8;
  margin-bottom: 1.875rem;
}

.service2__desc strong {
  color: #000;
  font-weight: bold;
}

/* .service2__desc-highlight {
  background: linear-gradient(transparent 60%, #d6ff14 60%);
} */

.service2__button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #d7ff31;
  padding: 1rem 7rem;
  border-radius: 1.875rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.service2__button-text {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2a4e;
  white-space: nowrap;
}

.service2__button-icon {
  flex-shrink: 0;
  width: 0.5rem;
  height: auto;
}

.service2__button:hover {
  background-color: #c1e629;
}

.service2__image {
  flex: 1 1 25rem;
  max-width: 31.25rem;
  display: flex;
  justify-content: center;
}

.service2__image img {
  width: 100%;
  height: auto;
  display: block;
}

.service2__example {
  background-color: rgb(255 255 255 / 50%);
  border-radius: 1rem;
  max-width: 82.5rem;
  margin: 5rem auto;
  padding: 2.5rem 3.125rem;
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 10%);
}

.service2__example-heading {
  display: flex;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.5rem;
  font-weight: 700;
  color: #07297f;
  line-height: 1.3;
  margin-left: -3rem;
  margin-top: 0px;
  margin-bottom: 0px;
}

.service2__example-bubble-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 2rem;
  top: -3.75rem;
  left: 1rem;
}

.service2__example-bubble {
  display: block;
  width: 4.0625rem;
  height: auto;
}

.service2__example-bubble-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2a4e;
  white-space: nowrap;
}

.service2__example-graphs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.75rem;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.service2__graph-before,
.service2__graph-after {
  flex: 1 1 18.75rem;
  max-width: 31.25rem;
}

.service2__graph-before img,
.service2__graph-after img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 10%);
}

.service2__graph-arrow {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service2__arrow-wrapper {
  position: relative;
  width: 7.5rem;
  display: inline-block;
}

.service2__arrow-img-pc {
  width: 100%;
  height: auto;
  display: block;
}

.service2__arrow-img-sp {
  display: none;
}

.service2__arrow-text {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 100;
  color: #fff;
  white-space: nowrap;
}

.service2__example-text {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  color: #5a627d;
}

.service2__example-text strong {
  font-weight: 700;
  color: #000;
}

.service2__inner-pc {
  display: flex;
}

.service2__inner-sp {
  display: none;
}

@media (width <= 1030px) {
  .service2__example {
    padding: 1rem 0;
  }

  .service2__example-heading {
    font-size: 1.3rem;
    padding-top: 1rem;
    padding-right: 2rem;
  }

  .service2__example-bubble {
    width: 3.5rem;
    position: relative;
    left: 3rem;
  }

  .service2__example-bubble-text {
    top: 47%;
    left: 135%;
    font-size: 1.125rem;
  }

  .service2__example-graphs {
    flex-direction: column;
    gap: 1.5rem;
  }

  .service2__graph-before,
  .service2__graph-after,
  .service2__graph-arrow {
    max-width: 90%;
    flex: auto;
  }

  .service2__arrow-wrapper {
    width: 4.5rem;
  }

  .service2__example-text {
    padding: 0 1rem;
  }

  .service2__example {
    margin-bottom: 0;
  }
}

@media (width <= 1010px) {
  .service2 {
    padding: 5rem 1rem;
  }

  .service2__label-text {
    left: 60%;
    font-size: 2.8rem;
  }

  .service2__title {
    grid-area: title;
  }

  .service2__image {
    grid-area: image;
    width: 90%;
    max-width: none;
  }

  .service2__desc {
    grid-area: desc;
  }

  .service2__button {
    grid-area: button;
    padding: 1rem 4rem;
  }

  .service2__image img {
    width: 90%;
    max-width: 100%;
    height: auto;
  }

  .service2__button-text {
    font-size: 0.9rem;
  }

  .service2__inner-pc {
    display: none;
  }

  .service2__inner-sp {
    display: flex;
    flex-direction: column;
  }

  .service2__text {
    max-width: 100%;
  }

  .service2__image {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (width <= 620px) {
  .service2__title {
    justify-self: start;
    text-align: left;
    font-size: 1.5rem;
  }

  .service2__example-heading {
    margin-left: -4.3rem;
    font-size: 1.125rem;
    line-height: 1.35;
    padding-right: 0.5rem;
  }

  .service2__example-text {
    font-size: 1rem;
  }
}

@media (width <= 480px) {
  .service2 {
    padding: 2rem 1rem;
  }

  .service2__example-bubble-wrapper {
    left: 2rem;
    top: -4.15rem;
  }

  .service2__label {
    margin-bottom: 0rem;
  }

  .service2__inner {
    flex-direction: column;
  }

  .service2__text {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .service2__desc {
    margin-bottom: 15px;
    font-size: 1rem;
  }

  .service2__desc strong {
    color: #5a627d;
  }

  .service2__button {
    padding: 1rem 6rem;
  }

  .service2__example {
    margin: 3rem auto 0;
    padding: 0.2rem 0;
  }

  .service2__example-text strong {
    color: #5a627d;
  }

  .service2__arrow-img-pc {
    display: none;
  }

  /*スマホ版の矢印　編集項目*/
  .service2__arrow-img-sp {
    width: 100%;
    height: auto;
    display: block;
  }

  .service2__example-graphs {
    margin-bottom: 0;
  }

  .service2__graph-before img,
  .service2__graph-after img {
    border-radius: 0;
  }
}

/* service3-section */

.service3-section {
  background-color: #fff;
  padding: 5rem;
}

.service3-section__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
}

.service3-section__text {
  flex: 1 1 25rem;
  max-width: calc(100% - 31.25rem);
  color: #1f2a4e;
  /* font-family: "M PLUS 1p", sans-serif; */

  line-height: 1.6;
  text-align: center;
}

.service3-section__label {
  width: 17.5rem;
  margin-bottom: 1.75rem;
  position: relative;
  left: -5rem;
}

.service3-section__label img {
  width: 100%;
  height: auto;
  display: block;
}

.service3-section__label-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 3.4rem;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.service3-section__label-text strong {
  color: #d5ff13;
  font-weight: 100;
}

.service3-section__title-pc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service3-section__title-sp {
  display: none;
}

.service3-section__title-pc strong {
  color: #3153ad;
}

.service3-section__title small {
  font-size: 1.125rem;
}

.service3-section__desc {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  margin-bottom: 1.875rem;
  color: #5a627d;
}

.service3-section__desc strong {
  color: #000;
  font-weight: bold;
}

/* .service3-section__desc span {
  background: linear-gradient(transparent 60%, #a6f8cd 60%);
} */

.service3-section__label,
.service3-section__title,
.service3-section__desc {
  text-align: left;
}

.service3-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, #67c0f6 0%, #54ace1 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: 500;
  font-size: 1.125rem;
  padding: 1rem 5rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
}

.service3-section__button-icon {
  width: 0.625rem;
  height: auto;
  display: inline-block;
}

.service3-section__button:hover {
  background: linear-gradient(135deg, #54ace1 0%, #4398cb 100%);
}

.service3-section__image {
  flex: 1 1 25rem;
  max-width: 31.25rem;
  position: relative;
  display: flex;
  justify-content: center;
}

.service3-section__tablet-img {
  width: 100%;
  height: auto;
  display: block;
}

.service3-section__reference {
  background-color: #74b0d44d;
  border-radius: 1rem;
  max-width: 82.5rem;
  margin: 3rem auto 0;
  padding: 2.5rem 1.875rem;
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 5%);
}

.service3-section__reference-heading-pc {
  display: flex;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.5rem;
  font-weight: 700;
  color: #07297f;
  line-height: 1.1;
  margin-left: -2rem;
  margin-bottom: 0px;
  height: 70px;
  margin-bottom: -20px;
  margin-top: 0px;
}

.service3-section__reference-table tbody td:nth-child(5) {
  color: red; /* 文字色を赤に */
}

.service3-section__reference-heading-sp {
  display: none;
}

.service3-section__reference-bubble-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 2rem;
  top: -3.75rem;
  left: 1.25rem;
}

.service3-section__reference-bubble {
  display: block;
  width: 4.0625rem;
  height: auto;
}

.service3-section__reference-bubble-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2a4e;
  white-space: nowrap;
}

.service3-section__reference-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
  flex-direction: column;
}

.service3-section__reference-table-wrapper {
  min-width: 18.75rem;
  max-width: 43.75rem;
  /* overflow-x: auto; */
  max-width: 100%;
  .table-grad::after {
    background-image: unset;
  }
  @media (width >= 430px) {
    width: 100%;
    max-width: none;
  }
  @media (width <= 430px) {
    overflow-x: none;
    .table-wrap {
      margin-bottom: 0px;
    }
  }
  td,
  th {
    white-space: break-spaces;
  }
}

.service3-section__reference-table {
  width: 100%;
  border-collapse: collapse;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: 300;
  font-size: 1.125rem;
  text-align: center;
  br {
    display: none;
  }
  @media (width <= 430px) {
    table-layout: fixed;
    br {
      display: inline;
    }
  }
}

@media (width <= 430px) {
  .service3-section__reference-table th:nth-child(5),
  .service3-section__reference-table td:nth-child(5) {
    box-sizing: border-box;
    white-space: nowrap !important;
    width: 85px;
  }
  .service3-section__reference-table th:nth-child(1),
  .service3-section__reference-table td:nth-child(1) {
    box-sizing: border-box;
    white-space: nowrap !important;
    width: 85px;
  }
}

.service3-section__reference-table thead th {
  background-color: #85bfd6e6;
  color: #fff;
  font-weight: 500;
  padding: 0.75rem;
  border: 0.0625rem solid rgb(217, 231, 241);
}

.service3-section__reference-table tbody td {
  background-color: #fff;
  color: #000000;
  padding: 0.625rem;
  border: 0.0625rem solid rgb(217, 231, 241);
}

.service3-section__reference-text {
  /* flex: 1 1 18.75rem; */
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #5a627d;
}

.service3-section__reference-text strong {
  color: #000;
  font-weight: 700;
}

@media (width <= 1010px) {
  .service3-section {
    padding: 5rem 2rem;
  }

  .service3-section__label-text {
    left: 58%;
    font-size: 3rem;
  }

  .service3-section__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "desc"
      "button";
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }

  .service3-section__text {
    display: contents;
  }

  .service3-section__title {
    grid-area: title;
    justify-self: start;
    text-align: left;
  }

  .service3-section__image {
    grid-area: image;
    width: 90%;
    max-width: none;
  }

  .service3-section__desc {
    grid-area: desc;
  }

  .service3-section__button {
    grid-area: button;
  }

  .service3-section__image img {
    width: 100%;
    height: auto;
  }
}

@media (width <= 720px) {
  .service3-section__reference-heading {
    font-size: 1.3rem;
  }

  .service3-section__reference-table {
    font-size: 0.9rem;
  }

  .service3-section__reference-table thead th {
    padding: 0.5rem;
  }
}

@media (width <= 600px) {
  .service3-section {
    padding: 5rem 1rem;
  }

  .service3-section__label-text {
    left: 60%;
    font-size: 2.8rem;
  }

  .service3-section__title {
    font-size: 1.3rem;
  }

  .service3-section__desc {
    font-size: 1rem;
    line-height: 1.75;
  }

  .service3-section__button {
    font-size: 0.9rem;
    padding: 1rem 3rem;
  }

  .service3-section__reference {
    padding: 2.5rem 0.5rem;
  }

  .service3-section__reference-bubble {
    width: 3.5rem;
    position: relative;
    left: 1rem;
  }

  .service3-section__reference-bubble-text {
    font-size: 1.125rem;
    left: 2.8rem;
  }

  .service3-section__reference-heading {
    font-size: 1.125rem;
    margin-left: -3rem;
  }

  .service3-section__reference-table {
    font-size: 0.6rem;
  }

  .service3-section__reference-table thead th {
    padding: 0.5rem;
  }

  .service3-section__reference-table tbody td {
    padding: 0.5rem;
  }

  .service3-section__reference-text {
    font-size: 1rem;
  }
}

@media (width <= 430px) {
  .service3-section {
    padding: 2rem 1rem 1.3rem;
  }

  .service3-section__title-pc {
    display: none;
  }

  .service3-section__title-sp {
    display: block;
    /* font-family: "M PLUS 1p", sans-serif; */

    font-size: 1.3rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
  }

  .service3-section__title-highlight-text {
    color: #3153ad;
  }

  .service3-section__inner {
    gap: 0.5rem;
  }

  .service3-section__desc {
    color: #000;
    margin-bottom: 0.5rem;
  }

  .service3-section__reference-heading-pc {
    display: none;
  }

  .service3-section__reference-heading-sp {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: -20%;
    margin-bottom: 0.5rem;
  }

  .service3-section__reference-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #07297f;
    margin-left: 3%;
  }

  .service3-section__reference-bubble-wrapper {
    left: -0.75rem;
    top: 0;
  }

  .service3-section__reference {
    padding-bottom: 1.5rem;
  }

  .service3-section__reference-text strong {
    color: #5a627d;
  }

  .service3-section__reference-content {
    gap: 1rem;
  }
}

/* service4 */

.service4 {
  background-color: #86cdf8;
  padding: 3rem;
}

.service4__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: wrap;
}

.service4__text {
  flex: 1 1 25rem;
  max-width: calc(100% - 31.25rem);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  line-height: 1.75;
  text-align: center;
}

.service4__label {
  width: 17.5rem;
  margin-bottom: 1.75rem;
  position: relative;
  left: -3rem;
}

.service4__label img {
  width: 100%;
  height: auto;
  display: block;
}

.service4__label-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 3.4rem;
  color: #67c0f6;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.service4__label-text strong {
  color: #3153ad;
  font-weight: 100;
}

.service4__title {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #444c66;
}

.service4__title strong {
  color: #fff;
  font-weight: 400;
}

.service4__title small {
  font-size: 1.125rem;
}

.service4__desc {
  font-size: 1.125rem;
  margin-bottom: 1.875rem;
  color: #444c66;
}

.service4__desc strong {
  color: #000;
  font-weight: 700;
}

/* .service4__desc span {
  background: linear-gradient(transparent 60%, #d6ff14 60%);
} */

.service4__label,
.service4__title,
.service4__desc {
  text-align: left;
}

.service4__button {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #d7ff31;
  padding: 1rem 7.5rem;
  border-radius: 1.875rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.service4__button-text {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2a4e;
  white-space: nowrap;
}

.service4__more-icon {
  flex-shrink: 0;
  width: 0.5rem;
  height: auto;
}

.service4__button:hover {
  background-color: #c1e629;
}

.service4__image {
  flex: 1 1 25rem;
  max-width: 31.25rem;
  position: relative;
  display: flex;
  justify-content: center;
}

.service4__tablet-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (width <= 1030px) {
  .service4__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "desc"
      "button";
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
  }

  .service4__text {
    display: contents;
  }

  .service4__title {
    grid-area: title;
    justify-self: start;
    text-align: left;
  }

  .service4__image {
    grid-area: image;
    width: 90%;
    max-width: 640px;
  }

  .service4__desc {
    grid-area: desc;
  }

  .service4__button {
    grid-area: button;
  }

  .service4__image img {
    width: 100%;
    height: auto;
  }
}

@media (width <= 590px) {
  .service4 {
    padding: 5rem 1rem;
  }

  .service4__label-text {
    left: 60%;
    font-size: 2.8rem;
  }

  .service4__title {
    font-size: 1.3rem;
  }

  .service4__desc {
    font-size: 1rem;
  }

  .service4__button {
    padding: 1rem 5rem;
  }

  .service4__button-text {
    font-size: 1rem;
  }
}

@media (width <= 430px) {
  .service4 {
    padding: 2rem 1rem;
  }

  .service4__label {
    margin-bottom: 0;
  }

  .service4__inner {
    gap: 0;
  }

  .service4__desc {
    margin-top: -10px;
    margin-bottom: 15px;
  }

  .service4__desc strong {
    color: #444c66;
  }
}

/* service5-section */

.service5-section {
  background-color: #fff;
  padding: 5rem;
}

.service5-section__label {
  width: 17.5rem;
  margin-bottom: 1.75rem;
  position: relative;
  left: -5rem;
}

.service5-section__label-img {
  width: 100%;
  height: auto;
  display: block;
}

.service5-section__label-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Poiret One", sans-serif;
  font-weight: 100;
  font-size: 3.4rem;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.service5-section__label-text--strong {
  color: #d5ff13;
  font-weight: 100;
}

.service5-section__title-pc {
  max-width: 82.5rem;
  margin: 0 auto 2.5rem;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
}

.service5-section__title-sp {
  display: none;
}

.service5-section__title--highlight-pc {
  color: #3153ad;
}

.service5-section__title--highlight-sp-1 {
  display: none;
}
.service5-section__title--highlight-sp-2 {
  display: none;
}

.service5-section__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.875rem;
  flex-wrap: nowrap;
}

.service5-section__image {
  max-width: 600px;
}

.service5-section__recruit-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
}

.service5-section__text {
  flex: 1 1 25rem;
  max-width: calc(100% - 600px);
  color: #1f2a4e;
  /* font-family: "M PLUS 1p", sans-serif; */

  line-height: 1.75;
  text-align: center;
}

@media (width <= 1300px) {
  .service5-section__image {
    max-width: 46.153846vw;
  }

  .service5-section__text {
    max-width: calc(100% - 46.153846vw);
  }
}

.service5-section__desc {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: left;
}

.service5-section__desc--strong {
  color: #000;
  font-weight: 700;
}

/* .service5-section__desc--highlight {
  background: linear-gradient(transparent 60%, #a6f8cd 60%);
} */

/* .service5-section__desc--highlight {
  background: linear-gradient(transparent 60%, #a6f8cd 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: lineExtend 30s ease-in-out forwards;
}

@keyframes lineExtend {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
} */

.service5-section__desc--highlight {
  background: linear-gradient(transparent 60%, #a6f8cd 60%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 2s ease-in-out;
}

.service5-section__desc--highlight.animated {
  background-size: 100% 100%;
}

.service5-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: linear-gradient(135deg, #67c0f6 0%, #54ace1 100%);
  color: #fff;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  padding: 1rem 6rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
}

.service5-section__button-icon {
  width: 0.625rem;
  height: auto;
  display: inline-block;
}

.service5-section__button:hover {
  background: linear-gradient(135deg, #54ace1 0%, #4398cb 100%);
}

@media (width <= 950px) {
  .service5-section {
    padding-bottom: 0;
  }
  .service5-section__inner {
    flex-direction: column;
    gap: 0rem;
    margin-top: 0;
  }

  .service5-section__image {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .service5-section__text {
    max-width: 100%;
  }
}

@media (width <= 800px) {
  .service5-section__inner {
    flex-wrap: wrap;
  }
}

@media (width <= 600px) {
  .service5-section {
    padding: 5rem 1rem;
  }

  .service5-section__label-text {
    left: 60%;
    font-size: 2.8rem;
  }

  .service5-section__title {
    font-size: 1.3rem;
  }

  .service5-section__desc {
    font-size: 1rem;
  }

  .service5-section__button {
    padding: 1rem 4rem;
    font-size: 1rem;
  }
}

@media (width <= 430px) {
  .service5-section {
    padding: 2rem 1rem;
  }

  .service5-section__label {
    margin-bottom: 1rem;
  }

  .service5-section__title-pc {
    display: none;
  }

  .service5-section__title--highlight-pc {
    display: none;
  }

  .service5-section__title-sp {
    display: block;
    max-width: 82.5rem;
    margin: 0 auto 1.2rem;
    /* font-family: "M PLUS 1p", sans-serif; */

    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
  }

  .service5-section__title--highlight-sp-1 {
    display: inline;
    color: #3153ad;
  }
  .service5-section__title--highlight-sp-2 {
    display: inline;
    color: #3153ad;
    white-space: nowrap;
    font-size: 1.125rem;
  }

  .service5-section__inner {
    flex-direction: column;
    gap: 0rem;
    margin-top: 0;
  }

  .service5-section__image {
    flex: 1 1;
  }

  .service5-section__text {
    max-width: 100%;
    flex: auto;
  }

  .service5-section__desc {
    margin-bottom: 1rem;
  }

  .service5-section__button {
    padding: 1rem 3rem;
  }
}

/* works-section */

.works-section {
  position: relative;
  background: linear-gradient(to right, #64a1d4, #95cbf4, #64a1d4);
  z-index: 2;
  padding: 3rem 3rem 6rem;
  margin-top: -3rem;
  a:hover {
    text-decoration: none;
  }
}

.works-section::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 8vw;
  background: linear-gradient(to right, #64a1d4, #95cbf4, #64a1d4);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  transform: translateY(-100%);
}

/*
.works-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 4vw;
  background: linear-gradient(to right, #64a1d4, #95cbf4, #64a1d4);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  transform: translateY(100%);
}
*/

.works-section__inner {
  position: relative;
  z-index: 2;
  padding: 1rem 0rem 6rem;
  padding-bottom: 0px;
}

.works-section__inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30vw;
  height: 72.5vw;
  transform: translateY(-50%);
  background: url("../img/bg3.png") no-repeat 100% 100%;
  background-size: 100% 100%;
}

.works-section__header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-bottom: 5rem;
}

.works-section__title {
  font-family: "Poiret One", sans-serif;
  font-size: 145px;
  font-weight: 300;
  color: rgb(255 255 255 / 70%);
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin: 0;
  text-align: left;
  opacity: 0.8;
}

.works-section__subtitle {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 27px;
  font-weight: 100;
  color: #fff;
  white-space: nowrap;
  margin: 0 0 0 1rem;
  text-align: left;
}

.works-section__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 0 auto;
}

/* ベーススタイル（PC / SP 共通） */
.works-section__card {
  background-color: rgb(255 255 255 / 80%);
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 10%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc((100% - 2 * 3rem) / 3);
  min-width: 16rem;
  position: relative;

  .w_h {
    background-color: #3153ad;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease,
      visibility 0.4s ease;

    span {
      color: white;
      font-size: 20px;
      font-weight: bold;
      letter-spacing: 1px;
    }
    a {
      display: inline-block;
      border: solid 1px white;
      color: white;
      text-align: center;
      width: clamp(100px, 20vw, 200px);
      padding: 12px;
      min-width: 160px;
    }
  }
}

/* PC：ホバーで表示、is-activeは打ち消す */
@media (hover: hover) and (pointer: fine) {
  .works-section__card:hover .w_h {
    visibility: visible;
    opacity: 0.8;
    transform: translateY(0);
    pointer-events: auto;
  }

  .works-section__card.is-active .w_h {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
  }
}

/* タッチデバイス（iOS含む）：is-active が付いたら表示 */
@media (hover: none), (pointer: coarse) {
  .works-section__card.is-active .w_h {
    visibility: visible;
    opacity: 0.8;
    transform: translateY(0);
    pointer-events: auto;
  }
}


.works-section__media {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  /* padding: 1rem 1rem 0; */
  background: #fff;
}

.works-section__media-desktop {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 5.69 / 3.3;
}

.works-section__media-mobile {
  display: block;
  width: 30%;
  height: auto;
  object-fit: cover;
  border: 0.125rem solid #fff;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 10%);
}

.works-section__badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.375rem 0;
  background: url("../img/arrow_label.png") no-repeat left center;
  background-size: contain;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  font-weight: 100;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  width: 113px;
}

.works-section__card-info {
  padding: 1rem 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.works-section__card-title {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.25rem;
  font-weight: 100;
  color: #0a2560;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.works-section__card-url {
  /* font-family: "M PLUS 1p", sans-serif; */

  font-size: 1.125rem;
  color: #5599b5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.works-section__caption-button {
  display: block;
  width: fit-content;
  margin: 4rem auto 0;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-decoration: none;
  background: #d6ff14;
  color: #07297f;
  /* font-family: "M PLUS 1p", sans-serif; */

  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.125rem 4.375rem;
  border-radius: 2.5rem;
  transition: background 0.2s;
  max-width: 100%;
}

.works-section__caption-button .works-section__button-icon {
  width: 0.5rem;
  height: auto;
  display: inline-block;
}

.works-section__caption-button:hover {
  background: #a4cc00;
}

@media (width > 430) and(width <= 950px) {
  .works-section {
    padding: 2rem;
    padding-top: 10rem;
    margin-top: -14.7rem;
  }

  .works-section__grid {
    gap: 2rem;
  }

  .works-section__card {
    flex: 1 1 calc((100% - 1 * 2rem) / 2);
  }

  .works-section__badge {
    font-size: 0.9rem;
  }

  .works-section__card-title {
    font-size: 1.125rem;
  }

  .works-section__caption-button {
    font-size: 0.9rem;
    padding: 1rem 4rem;
  }
}

@media (width <= 950px) {
  .works-section__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (width > 430) and(width <= 600px) {
  .works-section__subtitle {
    white-space: wrap;
    margin: 0.25rem 0 0;
    position: relative;
    left: 0.5rem;
  }

  .works-section {
    padding: 1.5rem;
    padding-top: 12rem;
  }

  .works-section__grid {
    gap: 1.5rem;
  }

  .works-section__card {
    flex: 1 1 100%;
  }

  .works-section__caption-button {
    padding: 1rem 3rem;
  }
}

@media (max-width: 430px) {
  .works-section {
    position: relative;
    background: linear-gradient(to right, #64a1d4, #95cbf4, #64a1d4);
    padding: 2rem 3vw 6rem;
    z-index: 2;
  }

  .works-section__title {
    font-size: 55px;
  }

  .works-section__subtitle {
    font-size: 20px;
  }

  .works-section__header {
    margin-bottom: 1rem;
    flex-direction: column;
  }

  .works-section__grid {
    gap: 1rem;
  }

  .works-section__caption-button {
    white-space: nowrap;
    display: flex;
    padding: 1.125rem 15%;
    margin-top: 1.5rem;
  }
}

.hc-tab {
  display: none;
  @media screen and (min-width: 431px) and (max-width: 800px) {
    display: flex !important;
  }
}

@media screen and (min-width: 431px) and (max-width: 800px) {
  .header__contact-bar {
    display: none;
  }
}
