@charset "UTF-8";
@layer utility {
  /* =====================
    u-inner
  ===================== */
  :where(.u-inner) {
    max-inline-size: 1120px;
    margin-inline: auto;

    @media (width <= 768px) {
      padding-inline: calc((100 / 390) * 16 * 1vw);
    }
  }

  /* =====================
    u-hover
  ===================== */
  :where(.u-hover) {
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }
  }

  /* =====================
    u-text-gradation
  ===================== */
  :where(.u-text-gradation) {
    inline-size: fit-content;
    background: var(--gradation);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* =====================
    u-wave
  ===================== */
  :where(.u-wave) {
    position: relative;

    &::before {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: 100% 515px;
      background-position: center;
      background-image: url('../img/_common/mv_bg.svg');
      inline-size: 100%;
      min-block-size: 515px;
      position: absolute;
      top: -200px;
      left: 0;
    }

    @media only screen and (width <= 768px) {
      &::before {
        background-size: 100% calc((100 / 390) * 257.5 * 1vw);
        min-block-size: calc((100 / 390) * 257.5 * 1vw);
        top: calc((100 / 390) * -136 * 1vw);
      }
    }
  }
  /* =====================
    u-section-wave
  ===================== */
  :where(.u-section-wave) {
    position: relative;

    &::before {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: 100% 200px;
      background-position: center;
      background-image: url('../img/_common/section_wave.svg');
      inline-size: 100%;
      min-block-size: 200px;
      position: absolute;
      top: -200px;
      left: 0;
      pointer-events: none;
    }

    @media only screen and (width <= 768px) {
      &::before {
        background-size: 100% calc((100 / 390) * 54 * 1vw);
        background-position: center;
        background-image: url('../img/_common/section_wave_2x.svg');
        inline-size: 100%;
        min-block-size: calc((100 / 390) * 54 * 1vw);
        position: absolute;
        top: calc((100 / 390) * -54 * 1vw);
      }
    }
  }

  /* =====================
    u-hgroup
  ===================== */
  :where(.u-hgroup) {
    inline-size: fit-content;
    display: block grid;
    grid-template-rows: repeat(2, max-content);
    row-gap: 5px;
    align-items: end;

    @media only screen and (width <= 768px) {
      gap: calc((100 / 390) * 5 * 1vw);
    }

    & span[lang='en'] {
      position: relative;
      display: block flex;
      align-items: baseline;
      gap: 14px;
      font-family: var(--pop);
      font-size: 60px;
      font-weight: 500;
      line-height: 1.1;

      @media (width <= 768px) {
        font-size: calc((100 / 390) * 45 * 1vw);
        gap: calc((100 / 390) * 10 * 1vw);
      }

      &::before {
        content: '';
        display: inline-block;
        inline-size: 24px;
        aspect-ratio: 1/1;
        border-radius: 50rem;
        background-color: var(--secondary);
        flex-shrink: 0;
      }

      @media only screen and (width <= 768px) {
        &::before {
          inline-size: calc((100 / 390) * 16 * 1vw);
        }
      }
    }

    & h2.title {
      position: relative;
      font-family: var(--serif);
      font-weight: 600;
      letter-spacing: 1.6px;
      inline-size: 100%;
      display: block flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;

      @media only screen and (width <= 768px) {
        font-size: calc((100 / 390) * 12 * 1vw);
        letter-spacing: calc((100 / 390) * 1.2 * 1vw);
        gap: calc((100 / 390) * 8 * 1vw);
      }

      &::before {
        content: '';
        display: block flow;
        inline-size: 100%;
        block-size: 1px;
        background-color: var(--secondary);
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
      justify-items: center;

      & span[lang='en'] {
        justify-content: center;
        text-align: center;

        &::after {
          content: '';
          display: inline-block;
          inline-size: 24px;
          aspect-ratio: 1/1;
          border-radius: 50rem;
          background-color: var(--secondary);
          flex-shrink: 0;
        }

        @media only screen and (width <= 768px) {
          &::after {
            inline-size: calc((100 / 390) * 16 * 1vw);
          }
        }
      }

      & h2.title {
        justify-content: center;
        margin-block-end: unset;

        &::after {
          content: '';
          display: block flow;
          inline-size: 100%;
          block-size: 1px;
          background-color: var(--secondary);
        }
      }
    }
    &[data-color='white'] {
      & span[lang='en'] {
        color: #fff;
        &::before,
        &::after {
          background-color: #fff;
        }
      }
      & h2.title {
        color: #fff;
        &::before,
        &::after {
          background-color: #fff;
        }
      }
    }
  }

  /* =====================
    u-anchor
  ===================== */
  :where(.u-anchor) {
    position: relative;
    display: block flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    inline-size: fit-content;
    min-inline-size: 260px;
    padding-inline: 30px 14px;
    padding-block: 15px;
    font-family: var(--serif);
    font-weight: bold;
    color: #2c3209;
    background-color: var(--secondary);
    border-radius: 50rem;

    @media only screen and (width <= 768px) {
      padding-inline: calc((100 / 390) * 22.5 * 1vw) calc((100 / 390) * 10.5 * 1vw);
      padding-block: calc((100 / 390) * 15 * 1vw);
      gap: calc((100 / 390) * 75 * 1vw);
      min-inline-size: calc((100 / 390) * 195 * 1vw);
      font-size: calc((100 / 390) * 13 * 1vw);
    }

    &::before {
      content: '';
      inline-size: 12px;
      aspect-ratio: 12 / 10;
      mask-repeat: no-repeat;
      mask-size: contain;
      mask-position: center;
      mask-image: var(--icon-arrow);
      background-color: var(--primary);
      position: absolute;
      top: 50%;
      right: 27px;
      transform: translateY(-50%);
      z-index: 2;
    }

    @media only screen and (width <= 768px) {
      &::before {
        inline-size: calc((100 / 390) * 9 * 1vw);
        right: calc((100 / 390) * 21 * 1vw);
      }
    }

    &::after {
      content: '';
      inline-size: 40px;
      aspect-ratio: 1/1;
      background-color: #fff;
      border-radius: 50rem;
      flex-shrink: 0;
    }

    @media only screen and (width <= 768px) {
      &::after {
        inline-size: calc((100 / 390) * 30 * 1vw);
      }
    }

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }

    &[target='_blank'] {
      &::before {
        inline-size: 13px;
        aspect-ratio: 1 / 1;
        mask-image: var(--icon-blank);
      }

      @media only screen and (width <= 768px) {
        &::before {
          inline-size: calc((100 / 390) * 13 * 1vw);
        }
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
    }

    /* PDF */
    &.pdf-btn {
      font-family: var(--sanserif);
      font-size: 12px;
      font-weight: 400;
      color: #000;
      padding-block: 14px;
      padding-inline: 26px;
      gap: 10px;
      background-color: #fff;
      border: 1px solid var(--secondary);

      @media only screen and (width <= 768px) {
        font-size: calc((100 / 390) * 13 * 1vw);
        font-weight: 500;
        padding-block: calc((100 / 390) * 8 * 1vw);
        padding-inline: calc((100 / 390) * 26 * 1vw);
        gap: calc((100 / 390) * 10 * 1vw);
      }

      &::before {
        display: none;
      }
      &::after {
        content: '';
        inline-size: 12px;
        aspect-ratio: 12 / 14;
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;
        mask-image: var(--icon-download);
        background-color: var(--primary);
      }

      @media only screen and (width <= 768px) {
        &::after {
          inline-size: calc((100 / 390) * 12 * 1vw);
        }
      }
    }
  }

  /* =====================
    u-mv
  ===================== */
  :where(.u-mv) {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-block-size: 580px;
    z-index: 1;

    @media (width <= 768px) {
      min-block-size: calc((100 / 390) * 320 * 1vw);
    }

    &::after {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: 100% 100px;
      background-position: center;
      background-image: url('../img/_common/wave.svg');
      inline-size: 100%;
      min-block-size: 100px;
      position: absolute;
      bottom: 0;
      left: 0;
      pointer-events: none;
    }
    @media only screen and (width <= 768px) {
      &::after {
        background-size: 100% calc((100 / 390) * 54 * 1vw);
        background-image: url('../img/_common/wave_2x.svg');
        min-block-size: calc((100 / 390) * 54 * 1vw);
      }
    }

    .inner {
      position: relative;
      inline-size: 1440px;
      margin-inline: auto;
      padding-inline: 120px 0;
      padding-block-start: 315px;

      @media only screen and (width <= 768px) {
        inline-size: 100%;
        padding-inline: calc((100 / 390) * 16 * 1vw);
        padding-block-start: calc((100 / 390) * 162 * 1vw);
      }

      & > hgroup {
        position: relative;
        inline-size: fit-content;
        display: block grid;
        justify-items: end;
        row-gap: 8px;
        z-index: 5;

        @media only screen and (width <= 768px) {
          grid-template-columns: 1fr;
          column-gap: 0;
          row-gap: calc((100 / 390) * 4 * 1vw);
        }

        &::before {
          content: '';
          display: block flow;
          inline-size: 300px;
          aspect-ratio: 1 / 1;
          border-radius: 50rem;
          background-color: var(--secondary);
          position: absolute;
          pointer-events: none;
          top: -35px;
          left: -227px;
          z-index: -1;
        }

        @media only screen and (width <= 768px) {
          &::before {
            inline-size: calc((100 / 390) * 180 * 1vw);
            top: calc((100 / 390) * -22 * 1vw);
            left: calc((100 / 390) * -123 * 1vw);
          }
        }

        & span[lang='en'] {
          position: relative;
          display: block flow;
          font-family: var(--title);
          font-size: 100px;
          font-weight: 500;
          line-height: 0.9;
          letter-spacing: -3px;
          color: #fff;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 60 * 1vw);
            letter-spacing: calc((100 / 390) * -1.8 * 1vw);
          }
        }
        .title {
          position: relative;
          font-family: var(--serif);
          font-size: 20px;
          font-weight: 600;
          line-height: 2.2;
          letter-spacing: 2px;
          text-align: right;
          color: #fff;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 18 * 1vw);
            letter-spacing: calc((100 / 390) * 1.8 * 1vw);
          }
        }
      }
    }
    .breadcrumb {
      position: absolute;
      bottom: -22px;
      right: 0;

      @media only screen and (width <= 768px) {
        bottom: calc((100 / 390) * -22 * 1vw);
      }
    }
  }

  /* =====================
    bread
  ===================== */
  :where(.breadcrumb) {
    position: relative;
    display: block flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    column-gap: 16px;
    font-size: 12px;
    font-weight: 500;
    z-index: 30;
    padding-inline: 40px;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 12 * 1vw);
      column-gap: calc((100 / 390) * 10 * 1vw);
      padding-inline: calc((100 / 390) * 16 * 1vw);
    }

    & > li {
      display: block flex;
      gap: 16px;

      @media (width <= 768px) {
        gap: calc((100 / 390) * 10 * 1vw);
      }

      .u-hover[href='/'] {
        display: block flex;
        align-items: center;
        gap: 5px;

        &::before {
          content: '';
          display: inline-block;
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;
          background-image: url('../img/_common/icon_home.svg');
          inline-size: 13px;
          aspect-ratio: 13/12;
        }

        @media only screen and (width <= 768px) {
          &::before {
            inline-size: calc((100 / 390) * 13 * 1vw);
          }
        }
      }
    }

    & li + li {
      &::before {
        content: '／';
        display: inline-block;
        flex-shrink: 0;
      }
    }
  }

  /* =====================
    u-sub-mv
  ===================== */
  :where(.u-sub-mv) {
    position: relative;
    inline-size: 100%;
    padding-block-start: 322px;
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    @media only screen and (width <= 768px) {
      padding-block-start: calc((100 / 390) * 120 * 1vw);
    }

    .breadcrumb {
      margin: 0;
    }
  }

  /* =====================
    .u-catch
  ===================== */
  :where(.u-catch) {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;

    @media only screen and (width <= 768px) {
      font-size: calc((100 / 390) * 25 * 1vw);
    }
  }

  /* =====================
    .u-bg
  ===================== */
  :where(.u-bg) {
    background-color: #f1f8fe;
  }

  /* =====================
    流れるテキスト
  ===================== */
  :where(.u-marquee) {
    font-family: var(--pop);
    font-size: 200px;
    font-weight: 600;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: 189px;
    left: 0;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    pointer-events: none;

    &::before {
      content: attr(data-text);
      display: block;
      animation: marquee 100s linear infinite;
    }

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 80 * 1vw);
      bottom: calc((100 / 390) * 41 * 1vw);

      &::before {
        animation: marquee 50s linear infinite;
      }
    }
  }

  /* =====================
    u-table
  ===================== */
  .u-table {
    --_border-color: #d2d2d2;

    display: block grid;
    grid-template-columns: 250px 1fr;
    max-inline-size: 1040px;
    margin-inline: auto;

    @media (width <= 768px) {
      grid-template-columns: calc((100 / 390) * 80 * 1vw) 1fr;
    }

    /* ==== tr ==== */
    .tr {
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;

      & :where(dt, dd) {
        block-size: 100%;
        padding-block: 22.1px;

        @media (width <= 768px) {
          font-size: calc((100 / 390) * 13 * 1vw);
          padding-block: calc((100 / 390) * 18 * 1vw);
          padding-inline: 0;
        }
      }

      &:last-child {
        & dt {
          border-block-end-color: var(--primary);
        }

        & dd {
          border-block-end-color: var(--_border-color);
        }
      }
      /* ==== dt ==== */
      & dt {
        place-content: center start;
        border-block-start: 2px solid var(--primary);
        border-block-end: 2px solid transparent;
        word-break: auto-phrase;
      }

      /* ==== dd ==== */
      & dd {
        border-block-start: 1px solid var(--_border-color);
        border-block-end: 1px solid transparent;

        @media (width <= 768px) {
          place-content: center start;
          padding-inline-start: calc((100 / 390) * 10 * 1vw);
        }
      }
    }
  }
}
