@charset "utf-8";
/**
 * youji
 */
/* ========================================
 * Variables - 設定値
 * ======================================== */
@property --zoom-factor {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}
:root {
  --min-viewport-width: 0px; /* viewportの最小値を下回ったら縮小をやめる */
  --max-viewport-width: 750px; /* viewportの最大値を上回ったら拡大をやめる */
  --zoom-value: clamp(
    tan(atan2(var(--min-viewport-width), var(--max-viewport-width))),
    tan(atan2(var(--zoom-factor), var(--max-viewport-width))),
    1
  );
  --zoom-factor: clamp(
    var(--min-viewport-width),
    100dvi,
    var(--max-viewport-width)
  );

  --header-height-pc: 90px;

  --color-green: #11aa32;
  --color-green-light: #edfaf0;
  --color-cta-green: #99CC24;
  --color-cta-dark-green: #35B751;
  --color-blue-green: #00a896;
  --color-blue-green-light: #e4faf8;
  --color-blue-green-light-500: #CDF2EE;
  --color-green-white-500: #EEF9EE;
  --color-blue-green-white: #f2fbfa;
  --color-brown: #513530;
  --color-yellow-green: #99cc24;
  --color-yellow-green-light: #f7ffe3;
  --color-yellow-white: #fffcf5;
  --color-orange: #F06E00;
  --color-dark-orange: #BD5600;
  --color-pink: #f05096;
  --color-blue: #1C8DCC;
  --color-dark-blue: #166C9D;
  --color-white: #fff;
  --color-text: #333;

  --font-family-maru-regular: 'MFW-PMaruAntipProN-Regular', 'Zen Maru Gothic', sans-serif;
  --font-family-maru-medium: 'MFW-PMaruAntipProN-Medium', 'Zen Maru Gothic', sans-serif;
  --font-family-maru-debold: 'MFW-PMaruAntipProN-DeBold', 'Zen Maru Gothic', sans-serif;
  --font-family-maru-bold: 'MFW-PMaruAntipProN-Bold', 'Zen Maru Gothic', sans-serif;
  --font-family-roboto: 'Roboto', sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-debold: 700;
  --font-weight-bold: 700;
}

@keyframes zoomIn {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.1;
  }
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-16px);
  }
}

@keyframes jang {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.05;
  }
}

/* ========================================
 * Site - サイトの大枠
 * ======================================== */
html {
  scroll-behavior: smooth;
}

body.ab-pattern-b {
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-family-maru-regular);
  font-weight: var(--font-weight-regular);
  line-height: 1.3;
  letter-spacing: 0.06em;
}

:where(body.ab-pattern-b) {

  em {
    font-style: normal;
    font-weight: var(--font-weight-bold);
  }
  
  a {
    transition: opacity 300ms linear;
  }
  
  a:hover,
  a:active,
  a:focus {
    opacity: 0.7;
  }
  
  .s-main {
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }

}

/* ========================================
 * Components - コンポーネント
 * ======================================== */

.c-zoom-wrapper {
  zoom: var(--zoom-value); /* ビューポートのサイズに合わせて拡大縮小 */
  -webkit-text-size-adjust: initial; /* iOS Safariのバグを修正 */
}

.c-wrapper {
  width: 100%;
  max-width: var(--max-viewport-width);
  margin-inline: auto;

  @media (min-width: 768px) {
    &.\-only-sp {
      max-width: none;
      zoom: calc( 1 / var(--max-viewport-width));
    }
  }
}

.c-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;

  & > p {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--font-family-maru-medium);
    font-weight: var(--font-weight-medium);
  }

  & > :is(h1,h2,h3,h4,h5,h6) {
    font-size: 52px;
    line-height: 1.5;
    margin-top: 20px;
    font-family: var(--font-family-maru-debold);
    font-weight: var(--font-weight-debold);
  }
}

.c-button {
  background-color: var(--_bg-color, var(--color-pink));
  padding: 40px;
  font-size: 32px;
  color: var(--_text-color, var(--color-white));
  font-family: var(--font-family-maru-medium);
  font-weight: var(--font-weight-medium);
  border-radius: 9999px;
  transition: opacity 300ms linear;
  text-align: center;
  position: relative;

  &:hover {
    opacity: 0.7;
  }

  &.\-medium {
    width: 550px;
    padding-right: 60px;
  }

  &.\-large {
    width: 650px;
  }

  &.\-pink {
    --_bg-color: var(--color-pink);
    --_text-color: var(--color-white);
  }

  &.\-orange {
    --_bg-color: var(--color-orange);
    --_shadow-color: var(--color-dark-orange);
    --_text-color: var(--color-white);
  }

  &.\-green {
    --_bg-color: var(--color-cta-green);
    --_shadow-color: var(--color-cta-dark-green);
    --_text-color: var(--color-white);
  }

  &.\-blue {
    --_bg-color: var(--color-blue);
    --_shadow-color: var(--color-dark-blue);
    --_text-color: var(--color-white);
  }

  &.\-drop {
    box-shadow: 0 10px 0 var(--_shadow-color, var(--color-dark-orange));
  }

  & > span {
    color: var(--_text-color, var(--color-white));
    font-family: var(--font-family-regular);
    line-height: 1.35;
    flex: 1 1 auto;
    text-align: center;
  }

  &.\-arrow::after {
    position: absolute;
    top: 50%;
    right: 60px;
    translate: -50% -50%;
    display: block;
    flex: 0 0 17px;
    width: 17px;
    height: 28px;
    background-color: var(--_text-color, var(--color-white));
    mask: url('data:image/svg+xml;charset=utf-8,%3Csvg width="17" height="28" viewBox="0 0 17 28" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M2.06348 2.125L13.9358 13.9973L2.06348 25.8697" stroke="black" stroke-width="2.96809" stroke-linecap="round"/%3E%3C/svg%3E') no-repeat center;
    mask-size: contain;
    content: '';
  }

  &.\-medium::after {
    right: 40px;
  }
}

.c-fukidashi {
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  background-color: var(--_bg-color, var(--color-white));

  &.\-medium {
    width: 495px;
  }

  &.\-blue-green-light {
    --_bg-color: var(--color-blue-green-light);
  }

  &.\-top {
    &::after {
      border-width: 0 24px 40px;
      border-color: transparent transparent var(--_bg-color);
      top: -32px;
      bottom: auto;
      translate: -50% 0;
    }
  }

  &::after {
    content: "";
    border-width: 21px 12px 0;
    border-color: var(--_bg-color) transparent transparent;
    position: absolute;
    bottom: -20px;
    left: 50%;
    translate: -50% 0;
  }
}


.c-btn-detail {
  & > summary {
    display: inline-block;
    background-color: #d9d9d9;
    border-radius: 10px;
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    line-height: 1;
    padding: 10px 15px;
    color: var(--color-text);
    list-style: none;
    -webkit-details-marker: none;
    cursor: pointer;

    & > span {
      display: inline-flex;
      width: 10px;
      aspect-ratio: 1 / 1;
      justify-content: center;
      align-items: center;
      margin-left: 8px;
    }
  }

  & > div {
    font-size: 20px;
    margin-top: 10px;
  }

  &:not([open]) > summary span:nth-child(2) {
    display: none;
  }

  &[open] > summary span:nth-child(1) {
    display: none;
  }
}


.c-dialog {
  --_transition-duration: 250ms;
  background-color: transparent;
  opacity: 0;
  transform: scale(0.95);
  transition-delay: 0ms;
  transition:
    display var(--_transition-duration) linear allow-discrete,
    overlay var(--_transition-duration) ease allow-discrete,
    opacity var(--_transition-duration) linear,
    transform var(--_transition-duration) ease;

  &[open] {
    opacity: 1;
    transform: scale(1);

    @starting-style {
      opacity: 0;
      transform: scale(0.95);
    }
  }

  &::backdrop {
    background-color: rgba(0, 0, 0, 0);
    transition: background-color var(--_transition-duration) linear;
  }

  &[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.35);
  }

  &.\-small {
    width: 100%;
  }

  .c-dialog__content {
    padding: 40px 0;
    border-radius: 20px;
    overflow: auto;
    background-color: var(--color-white);
    position: relative;
  }

  &.\-small {
    .c-dialog__content {
      display: grid;
      place-items: center;
      padding-inline: 40px;
      min-height: 200px;
    }
  }

  .c-dialog__close {
    position: fixed;
    top: 60px;
    right: 50%;
    translate: 320px 0;
    z-index: 1;
  }

  &.\-small {
    .c-dialog__close {
      position: absolute;
      right: 20px;
      top: 20px;
      translate: 0 0;
    }
  }
}

/* zoomすると計算に不具合が生じるので逆数で解除する */
.js-infinity-slider {
  zoom: calc(1 / var(--zoom-value));
}

.js-circle {
  aspect-ratio: 1 / 1;
  position: relative;

  /* &.is-animated {
    animation: jang 50ms ease-in-out alternate;
  } */

  .js-circle__ornament {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    display: flex;
    justify-content: center;
  }

  .js-circle__number-box {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    font-size: 74px;
    z-index: 2;
    position: relative;
    text-align: center;
  }

  .js-circle__text {
    font-size: 40px;
    line-height: 1.3;
    color: var(--color-white);
    font-family: var(--font-family-maru-medium);
    font-weight: var(--font-weight-medium);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: 2;
    text-align: center;
  }

  .js-circle__number {
    font-size: 120px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    font-family: var(--font-family-roboto);
  }

  .js-circle__graph {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 560px;
    aspect-ratio: 1 / 1;
    z-index: 1;
  }
}

/* ========================================
 * Layout - セクション別
 * ======================================== */
.l-sect-fv {
  width: fit-content;
  margin-inline: auto;
  position: relative;
  height: 998px;
  aspect-ratio: 750 / 998;
  clip-path: inset(0 0 0 0);

  @media (min-width: 768px) {
    width: 100%;
    height: auto;
    aspect-ratio: 1440 / 900;
    mask: none;
    max-height: calc(100vh - var(--header-height-pc) - 150px);
  }

  .l-sect-fv__bg {
    position: fixed;
    width: var(--max-viewport-width);
    background-image: url('/assets/youji/images/sect-fv_main.webp');
    transform-origin: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    object-fit: cover;
    aspect-ratio: 750 / 943;
    z-index: -1;
    scale: 1;
    will-change: scale, filter;
    /* animation: zoomIn 10000ms 0ms ease-in-out forwards; */
  
    @media (min-width: 768px) {
      width: 100%;
      height: auto;
      max-height: calc(100vh - var(--header-height-pc) - 160px);
      aspect-ratio: 1586 / 1057;
      background-image: url('/assets/youji/images/sect-fv_main_pc.webp');
      background-size: cover;
      background-position: center bottom;
    }
  }

  .l-sect-fv__cloud {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    position: absolute;
    bottom: 0;
    width: 100%;
    aspect-ratio: 750 / 269;
    background-image: url('/assets/youji/images/sect-fv_cloud.svg');
    background-position: center bottom -3px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    text-align: center;
    font-size: 55px;
    line-height: 1.35;

    @media (min-width: 768px) {
      background-image: url('/assets/youji/images/sect-fv_cloud_pc.svg');
      width: calc(719 /1440 * 100vw);
      aspect-ratio: 719 / 512;
      object-fit: cover;
      margin-bottom: -1px;
      right: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: clamp(24px, calc( (32 / 1440) * 100vw ), 48px);
      font-size: 47px;
      padding-top: clamp(100px, calc( (160 / 1440) * 100vw ), 200px);
      padding-left: clamp(80px, calc( (120 / 1440) * 100vw ), 160px);
      font-size: clamp(32px, calc( (48 / 1440) * 100vw ), 64px);
    }
  }

  .l-sect-fv__cta-btn {
    position: absolute;
    bottom: 188px;
    right: 16px;
    width: 217px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    border-radius: 9999px;
    background-color: var(--color-orange);
    box-shadow: 0 10px 0 var(--color-dark-orange);
    color: var(--color-white);
    font-size: 40px;
    font-family: var(--font-family-maru-bold);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;

    &.\-green {
      background-color: var(--color-cta-green);
      box-shadow: 0 10px 0 var(--color-cta-dark-green);
    }

    @media (min-width: 768px) {
      display: none;
    }
  }

  .l-sect-fv__cta-pc {
    display: none;
    width: fit-content;
    padding: clamp(12px, calc( (18 / 1440) * 100vw ), 24px) clamp(40px, calc( (60 / 1440) * 100vw ), 80px) clamp(12px, calc( (18 / 1440) * 100vw ), 24px) clamp(20px, calc( (32 / 1440) * 100vw ), 40px);
    font-size: clamp(12px, calc( (18 / 1440) * 100vw ), 24px);
    box-shadow: 0 clamp(4px, calc( (6 / 1440) * 100vw ), 8px) 0 var(--_shadow-color);
    font-family: var(--font-family-maru-debold);
    font-weight: var(--font-weight-debold);

    &::after {
      width: clamp(8px, calc( (12 / 1440) * 100vw ), 20px);
      right: clamp(16px, calc( (24 / 1440) * 100vw ), 32px);
    }

    @media (min-width: 768px) {
      display: block;
    }
  }
}

.l-sect-info {

}

.l-sect-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;

  & > a {
    display: block;
  }
}

.l-sect-learning {
  .l-sect-learning__image {
    aspect-ratio: 750 / 589;
    position: relative;
  }

  .l-sect-learning__image-tablet {
    /* animation: fuwafuwa 2000ms 0ms infinite ease-in-out alternate; */
  }

  .l-sect-learning__image-pen {
    object-fit: contain;
    position: absolute;
    bottom :0;
    right: 40px;
    animation: fuwafuwa 2300ms 400ms infinite ease-in-out alternate;
  }

  .l-sect-learning__contents {
    width: 100%;
    background-color: var(--color-blue-green-white);
    position: relative;
    z-index: 1;
    clip-path: inset(0 0 0 0);
    overflow: hidden;

    &::before {
      content: '';
      display: block;
      width: 5000px;
      height: 5000px;
      border-radius: 9999px;
      background-color: var(--color-white);
      position: absolute;
      left: 50%;
      top: -4815px;
      transform: translateX(-50%);
      margin: auto;
      z-index: -1;
    }
  }

  .l-sect-learning__contents-inner {
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-bottom: 200px;
    margin-inline: auto;
  }

  .l-sect-learning__content-text {
    display: flex;
  }

  .l-sect-learning__content-catch {
   /* flex justify-center text-center */
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .l-sect-learning__content-title {
    font-family: var(--font-family-maru-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-blue-green);
    font-size: 26px;
    line-height: 1;
  }

  .l-sect-learning__content-description {
    font-family: var(--font-family-maru-medium);
    font-weight: var(--font-weight-medium);
    font-size: 36px;
    line-height: 1;
  }
}

.l-sect-learning-pop {
  width: 100%;
  height: 450px;
  background-color: var(--color-blue-green);

  @media (max-width: 768px) {
    overflow: hidden;
  }

  .l-sect-learning-pop__inner {
    position: relative;
    width: 100%;
    z-index: 1;
  }

  .l-sect-learning-pop__image-card {
    border: 4px solid #80d3ca;
    box-shadow: 0 6px 0 #80d3ca;
    border-radius: 16px;
    overflow: hidden;
    width: 387px;
    height: 367px;

    &:nth-child(1) {
      position: absolute;
      top: 60px;
      left: -10px;
      rotate: -5deg;
    }
    &:nth-child(2) {
      position: absolute;
      top: 30px;
      right: -10px;
      rotate: 8deg;
    }

    & > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.l-sect-cta {
  overflow: hidden;
  position: relative;

  .l-sect-cta__price {
    background-image: url('/assets/youji/images/sect-cta_bg-shape.webp');
    background-size: 100% 100%;
    display: grid;
    place-items: center;
    padding-top: 128px;
    padding-bottom: 70px;
    color: var(--color-white);
  }

  .l-sect-cta__price-call {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    &::before {
      content: 
    }
  }

  .l-sect-cta__arrow-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 60px;

    & > p {
      font-size: 28px;
      line-height: 1;
      color: var(--color-blue-green);
      font-weight: var(--font-weight-bold);
    }
  }

  .l-sect-cta__btn-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 30px;
  }
}

.l-sect-news {
  .l-sect-news__bnr-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 46.5px;
    margin-top: 55px;

    & > a {
      width: fit-content;
    }
  }

  .l-sect-news__bottom {
    background-color: var(--color-white);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-top: 160px;
    margin-bottom: -60px;
  }
}

.l-sect-effect {
  .l-sect-effect__bg {
    background-color: var(--color-green);
    padding-top: 150px;
    padding-bottom: 60px;
  }

  .l-sect-effect__photo {
    position: relative;
    margin-top: -55px;
    z-index: 1;
    background-color: var(--color-blue-green-white);
    clip-path: circle(1300px at 50% -745px);

    /* 両端ぼかしエフェクト */
    /* @media (min-width: 750px) {
      img {
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
      }
    } */
  }

  .l-sect-effect__bottom {
    position: relative;
    z-index: 2;
    background-color: var(--color-green);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
}

.l-sect-points {

  .l-sect-points__point {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    cursor: pointer;

    > div {
      width: 83px;
      aspect-ratio: 1 / 1;

      > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }

    > p {
      flex-grow: 1;
      font-size: 36px;
      line-height: 1;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);
    }

    > span {
      width: 25px;
      aspect-ratio: 1 / 1;
    }
  }

  .l-sect-points__sect-inner {
    width: 100%;
    height: 100%;
    padding-top: 40px;
    position: relative;

    &.\-01 {
      background-color: var(--color-green-light);

      &::after {
        position: absolute;
        content: '';
        display: block;
        width: 100%;
        background-color: var(--color-green-light);
        height: 60px;
        clip-path: circle(1300px at 50% -1245px);
        transform: translateY(0);
      }
    }
    &.\-02 {
      background-color: var(--color-blue-green-light);

      &::after {
        position: absolute;
        content: '';
        display: block;
        bottom: -160px;
        width: 100%;
        background-color: var(--color-blue-green-light);
        height: 160px;
        clip-path: circle(900px at 50% -815px);
        transform: translateY(0);
      }
    }
    &.\-03 {
      background-color: var(--color-yellow-green-light);

      &::after {
        position: absolute;
        content: '';
        display: block;
        width: 100%;
        background-color: var(--color-yellow-green-light);
        height: 60px;
        clip-path: circle(1300px at 50% -1245px);
        transform: translateY(0);
      }
    }
  }

  .l-sect-points__sect-header {
    display: grid;
    grid-template: auto auto / 114px 1fr;
    gap: 8px 24px;

    > div {
      grid-row: 1 / 3;

      > img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }

    > p {
      grid-row: 1 / 2;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);
      font-size: 26px;
      display: flex;
      align-items: flex-end;
    }

    > :is(h1,h2,h3,h4,h5,h6) {
      grid-row: 2 / 3;
      font-size: 40px;
      display: flex;
      align-items: flex-start;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);
    }
  }

  .l-sect-points__sect-text {
    font-size: 28px;
    line-height: 1.95;

    &.\-large {
      line-height: 1.5;
      font-size: 36px;
    }
  }

  .l-sect-points__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;

    > p {
      color: var(--color-white);
      font-size: 24px;
      border-radius: 10px;
      padding: 8px 16px;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);

      &.\-01 {
        background-color: var(--color-green);
      }
      &.\-02 {
        background-color: var(--color-blue-green);
      }
      &.\-03 {
        background-color: var(--color-yellow-green);
      }
    }

    > :is(h1,h2,h3,h4,h5,h6) {
      font-size: 36px;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);
    }
  }

  .l-sect-points__bottom {
    background-color: var(--color-white);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
  }

}

.l-sect-smile {

  .l-sect-smile__card {
    background-color: var(--color-white);
    border-radius: 70px;
    overflow: hidden;
    background-color: var(--color-white);

    .l-sect-smile__card-header {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: var(--color-blue-green);
      color: var(--color-white);
      text-align: center;
      gap: 16px;
      width: 100%;
      padding: 16px;
      font-family: var(--font-family-maru-debold);
      font-weight: var(--font-weight-debold);
      font-size: 28px;

      & > span:nth-child(2) {
        font-size: 46px;
        font-weight: var(--font-family-roboto);
        font-weight: var(--font-weight-bold);
      }
    }

    .l-sect-smile__card-body {
      padding: 40px 36px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 40px;

      & > hgroup {
        text-align: center;

        & > p {
          color: var(--color-green);
          font-size: 26px;
          line-height: 2;
          font-family: var(--font-family-maru-medium);
          font-weight: var(--font-weight-medium);
        }
        & > :is(h1,h2,h3,h4,h5,h6) {
          font-size: 34px;
          line-height: 1.5;
          font-family: var(--font-family-maru-medium);
          font-weight: var(--font-weight-medium);
        }
      }

      & > p {
        font-size: 26px;
        line-height: 2;
      }
    }
  }

  .l-sect-smile__clip {
    border-color: #52C3EB;
    border-width: 2px;
    border-radius: 54px;
    overflow: clip
  }

  .l-sect-smile__bottom {
    background-color: var(--color-blue-green-light);
    height: 100px;
    clip-path: circle(1300px at 50% -1240px);
    margin-bottom: -100px;
  }
}

.l-sect-safety {
  .l-sect-safety__inner {
    padding-top: 180px;
    padding-bottom: 180px;
    padding-inline: 45px;
    background-color: var(--color-green-light);
  }
  .l-sect-safety__bottom {
    background-color: var(--color-green-light);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
  .l-sect-safety__grid {
    margin-top: 60px;
    display: grid;
    gap: 40px;
  }
  .l-sect-safety__item {
    background-color: var(--color-white);
    border-radius: 80px;
    padding: 72px 52px;

    & > details {
      & > summary {
        display: flex;
        align-items: center;
        gap: 24px;
        list-style: none;
        cursor: pointer;
        margin-block: -72px;
        padding-block: 72px;
        margin-inline: -52px;
        padding-inline: 52px;

        &::-webkit-details-marker {
          display: none;
        }

        & > :is(h1,h2,h3,h4,h5,h6) {
          font-size: 32px;
          line-height: 1.5;
          flex-grow: 1;
        }

        &::after {
          content: '';
          display: block;
          flex-shrink: 0;
          width: 45px;
          height: 45px;
          align-self: center;
          background: url('/assets/youji/images/icon_collapsed.svg') no-repeat center center / contain;
        }
      }

      & > div {
        display: flex;
        gap: 24px;
        transition:
          max-height 500ms,
          height 500ms,
          opacity 500ms,
          content-visibility 500ms allow-discrete;

        max-height: 0;
        height: 0;
        opacity: 0;
        overflow: clip;
        border-top: 2px solid #eef9f1;
        margin-top: 60px;
        padding-top: 52px;
        line-height: 2;
      }

      &[open] {
        & > summary::after {
          background: url('/assets/youji/images/icon_expanded.svg') no-repeat center center / contain;
        }

        & > div {
          max-height: 0;
          height: auto;
          opacity: 1;
        }
      }

      @supports (interpolate-size: allow-keywords) {
        :root {
          interpolate-size: allow-keywords; /* height:0（数値型） → auto（文字型） のアニメーションを可能にするための指定 */
        }
        &[open] > div {
          max-height: 2000px;
          height: auto;
        }
      }

      /* height:0→autoへのアニメーションが対応していない場合は、固定値にアニメーションさせる */
      @supports not (interpolate-size: allow-keywords) {
        &[open] > div {
          max-height: 2000px;
          overflow-y: auto;
        }
      }
    }
  }
}

.l-sect-grow {
  .l-sect-grow__movie {
    position: relative;

    video {
      aspect-ratio: 750 / 603;
      object-fit: cover;
    }
  }

  .l-sect-grow__list {
    display: flex;
    flex-direction: column;
    background-color: var(--color-blue-green-white);
    padding: 24px;
    width: 100%;

    & > li {
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 24px;
      font-size: 30px;
      padding: 24px;
      line-height: 1.5;

      &:not(:first-child) {
        border-top: 2px solid #E1F4EB;
      }

      &::before {
        flex-shrink: 0;
        content: '';
        display: block;
        background-image: url('/assets/youji/images/icon_check.svg');
        width: 32px;
        height: 32px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
      }
    }

  }
}

.l-sect-age {
  .l-sect-age__inner {
    background-color: var(--color-green-white-500);
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
  }

  .l-sect-age__btn-grid {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    gap: 40px;
    margin-top: 96px;
    padding-inline: 40px;
    position: relative;
  }

  .l-sect-age__btn {
    position: relative;
    background-color: var(--_bg-color);
    box-shadow: 0 10px 0 var(--_shadow-color);
    width: 300px;
    aspect-ratio: 3 / 2;
    border-radius: 50px;
    color: var(--color-white);

    &.\-pre {
      --_bg-color: #F4994C;
      --_shadow-color: #C87830;
    }
    &.\-nensho {
      --_bg-color: #F484B5;
      --_shadow-color: #ED3E89;
    }
    &.\-nenchu {
      --_bg-color: #F8C357;
      --_shadow-color: #D4A130;
    }
    &.\-nencho {
      --_bg-color: #60AFDB;
      --_shadow-color: #3085B1;
    }
  }

  .l-sect-age__btn-text {
    position: absolute;
    inset: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;

    &::before {
      display: block;
      position: absolute;
      inset: auto 24px auto auto;
      margin: auto;
      content: '';
      width: 12px;
      height: 24px;
      background: url('/assets/youji/images/arrow_right_wh.svg') no-repeat center center / contain;
    }

    .l-sect-age__btn-name {
      font-size: 36px;
      line-height: 1.5;
      color: var(--color-white);
      font-family: var(--font-family-maru-debold);
      font-weight: var(--font-weight-debold);

      & > span {
        font-size: 28px;
      }
    }

    .l-sect-age__btn-period {
      font-size: 20px;
      line-height: 1.5;
      color: var(--color-white);
      text-align: center;
      font-family: var(--font-family-maru-medium);
      font-weight: var(--font-weight-medium);
    }
  }
}

.l-sect-trial-01 {
  .l-sect-trial-01__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 72px;
    padding-inline: 48px;
    padding-bottom: 110px;
    align-items: center;
  }
  .l-sect-trial-01__bottom {
    background-color: var(--color-white);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
}

.l-sect-trial-02 {
  font-family: var(--font-family-maru-medium);
  font-weight: var(--font-weight-medium);

  .l-sect-trial-02__inner {
    background-color: var(--color-cta-dark-green);
  }
  
  .l-sect-trial-02__box {
    border-radius: 90px;
    position: relative;
    width: 100%;
    background-color: var(--color-white);
    display: flex;
    flex-flow: column;
    font-size: 32px;
    text-align: center;
    padding-top: 80px;
    font-family: var(--font-family-maru-medium);
    font-weight: var(--font-weight-medium);

    &::after {
      content: '';
      border-width: 32px 20px 0;
      border-color: #E6F6F5 transparent transparent;
      position: absolute;
      bottom: -32px;
      left: 50%;
      transform: translateX(-50%);
    }
  }

  .l-sect-trial-02__box-header {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #F05096;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    padding: 12px 40px;
    width: 370px;
    font-family: var(--font-family-maru-regular);
    font-weight: var(--font-weight-regular);
  }

  .l-sect-trial-02__box-sarani {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 46px;
    line-height: 1;
    gap: 18px;
    color: var(--color-blue-green);
  }

  .l-sect-trial-02__box-text {
    font-size: 46px;
    line-height: 1.8;
    letter-spacing: 0.1em;

    & em {
      font-size: 106px;
      padding-inline: 10px;
      line-height: 1;
      font-family: var(--font-family-roboto);
      font-weight: 400;
    }
  }

  .l-sect-trial-02__box-footer {
    background: #E6F6F5;
    color: #00A896;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius:  0 0 90px 90px;
    margin-top: 20px;
    padding: 22px;
    font-size: 58px;
    letter-spacing: 0.1em;
    font-weight: var(--font-weight-medium);
  }

  .l-sect-trial-02__box-footer-circle {
    font-size: 34px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 2px 0px 2px 4px;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    line-height: 1;
    background-color: var(--color-blue-green);
    color: var(--color-white);
  }

  .l-sect-trial-02__bottom {
    background-color: var(--color-cta-dark-green);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
}

.l-sect-trial-03 {
  .l-sect-trial-03__inner {
    background-color: var(--color-yellow-white);
  }

  .l-sect-trial-03__second {
    position: relative;
    padding-bottom: 80px;
  }

  .l-sect-trial-03__bottom {
    background-color: var(--color-white);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
}

.l-sect-faq {
  .l-sect-faq__inner {
    padding-top: 150px;
    padding-bottom: 100px;
    padding-inline: 45px;
    background-color: var(--color-green-light);
  }
  .l-sect-faq__bottom {
    background-color: var(--color-green-light);
    height: 60px;
    clip-path: circle(1300px at 50% -1245px);
    margin-bottom: -60px;
  }
  .l-sect-faq__grid {
    margin-top: 60px;
    display: grid;
    gap: 40px;
  }
  .l-sect-faq__item {
    background-color: var(--color-white);
    border-radius: 80px;
    padding: 72px 52px;

    & > details {
      & > summary {
        display: flex;
        gap: 24px;
        list-style: none;
        cursor: pointer;
        margin-block: -72px;
        padding-block: 72px;
        margin-inline: -52px;
        padding-inline: 52px;

        &::-webkit-details-marker {
          display: none;
        }

        & > :is(h1,h2,h3,h4,h5,h6) {
          font-size: 32px;
          line-height: 1.5;
          flex-grow: 1;
        }

        &::before {
          content: '';
          display: block;
          flex-shrink: 0;
          width: 37px;
          height: 43px;
          background: url('/assets/youji/images/q.svg') no-repeat center center / contain;
        }

        &::after {
          content: '';
          display: block;
          flex-shrink: 0;
          width: 45px;
          height: 45px;
          align-self: center;
          background: url('/assets/youji/images/icon_collapsed.svg') no-repeat center center / contain;
        }
      }

      & > div {
        display: flex;
        gap: 24px;
        transition:
          max-height 500ms,
          height 500ms,
          opacity 500ms,
          content-visibility 500ms allow-discrete;

        max-height: 0;
        height: 0;
        opacity: 0;
        overflow: clip;
        border-top: 2px solid #eef9f1;
        margin-top: 60px;
        padding-top: 52px;
        line-height: 2;

        &::before {
          content: '';
          display: block;
          flex-shrink: 0;
          width: 37px;
          height: 43px;
          background: url('/assets/youji/images/a.svg') no-repeat center center / contain;
        }
      }

      &[open] {
        & > summary::after {
          background: url('/assets/youji/images/icon_expanded.svg') no-repeat center center / contain;
        }

        & > div {
          max-height: 0;
          height: auto;
          opacity: 1;
        }
      }

      @supports (interpolate-size: allow-keywords) {
        :root {
          interpolate-size: allow-keywords; /* height:0（数値型） → auto（文字型） のアニメーションを可能にするための指定 */
        }
        &[open] > div {
          max-height: 2000px;
          height: auto;
        }
      }

      /* height:0→autoへのアニメーションが対応していない場合は、固定値にアニメーションさせる */
      @supports not (interpolate-size: allow-keywords) {
        &[open] > div {
          max-height: 2000px;
          overflow-y: auto;
        }
      }
    }
  }
}

.l-sect-inquiry {
  .l-sect-inquiry__inner {
    padding-top: 190px;
    padding-bottom: 60px;
    padding-inline: 45px;
    background-color: var(--color-green);
  }

  .l-sect-inquiry__contents {
    background-color: var(--color-white);
    border-radius: 100px;
    margin-top: 60px;
    padding: 70px 0 100px;
    position: relative;
    display: grid;
    justify-content: center;
  }
}

/* ========================================
 * Utilities - ユーティリティクラス
 * ======================================== */
.u-text-white {
  color: #fff;
}

.u-text-brown {
  color: var(--color-brown);
}

.u-text-black {
  color: #333 !important;
}

.u-text-green {
  color: var(--color-green);
}

.u-text-blue-green {
  color: var(--color-blue-green);
}

.u-text-yellow-green {
  color: var(--color-yellow-green);
}

.u-bg-white {
  background-color: var(--color-white);
}

.u-bg-green {
  background-color: var(--color-green);
}

.u-bg-blue-green {
  background-color: var(--color-blue-green);
}

.u-bg-green-light {
  background-color: var(--color-green-light);
}

.u-bg-blue-green-light-500 {
  background-color: var(--color-blue-green-light-500);
}

.u-bg-blue-green-light {
  background-color: var(--color-blue-green-light);
}

.u-bg-blue-green-white {
  background-color: var(--color-blue-green-white);
}

.u-bg-orange-white {
  background-color: var(--color-orange-white);
}

.u-bg-yellow-green-light {
  background-color: var(--color-yellow-green-light);
}

.u-bg-yellow-white {
  background-color: var(--color-yellow-white);
}

.u-font-regular {
  font-weight: var(--font-weight-regular);
}

.u-font-normal {
  font-weight: var(--font-weight-regular);
}

.u-font-bold {
  font-weight: var(--font-weight-bold);
}

.u-font-roboto {
  font-family: var(--font-family-roboto);
}

.u-font-maru-regular {
  font-family: var(--font-family-maru-regular);
  font-weight: var(--font-weight-regular);
}

.u-font-maru-medium {
  font-family: var(--font-family-maru-medium);
  font-weight: var(--font-weight-medium);
}

.u-font-maru-debold {
  font-family: var(--font-family-maru-debold);
  font-weight: var(--font-weight-debold);
}

.u-font-maru-bold {
  font-family: var(--font-family-maru-bold);
  font-weight: var(--font-weight-bold);
}

.u-font-maru-bold {
  font-family: var(--font-family-maru-bold);
  font-weight: var(--font-weight-bold);
}

.u-border-blue {
  border-color: #52C3EB;
}

.u-relative {
  position: relative;
}

.u-rounded-10 {
  border-radius: 10px;
}

.u-rounded-15 {
  border-radius: 15px;
}

.u-rounded-20 {
  border-radius: 20px;
}

.u-rounded-full {
  border-radius: 9999px;
}

.u-text-20 {
  font-size: 20px;
}

.u-text-24 {
  font-size: 20px;
}

.u-text-26 {
  font-size: 26px;
}

.u-text-28 {
  font-size: 28px;
}

.u-text-32 {
  font-size: 32px;
}

.u-text-34 {
  font-size: 34px;
}

.u-text-36 {
  font-size: 36px;
}

.u-text-40 {
  font-size: 40px;
}

.u-text-46 {
  font-size: 46px;
}

.u-text-48 {
  font-size: 48px;
}

.u-text-56 {
  font-size: 56px;
}

.u-text-72 {
  font-size: 72px;
}

.u-text-78 {
  font-size: 78px;
}
