@charset "UTF-8";
@layer utility {
  /* =====================
    u-inner
  ===================== */
  :where(.u-inner) {
    max-inline-size: 1280px;
    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-hgroup
  ===================== */
  :where(.u-hgroup) {
    inline-size: fit-content;
    display: block grid;
    align-items: baseline;

    @media (width <= 768px) {
      column-gap: calc((100 / 390) * 16 * 1vw);
    }

    & span[lang='en'] {
      font-family: var(--title);
      font-size: 64px;
      font-weight: 500;
      line-height: 1.5;
      background-image: linear-gradient(102.01deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;

      @media (width <= 768px) {
        font-size: calc((100 / 390) * 48 * 1vw);
      }
    }

    & h2.title {
      position: relative;
      font-weight: 500;
      line-height: 1.9;
      display: block flex;
      align-items: center;
      gap: 8px;

      @media (width <= 768px) {
        gap: calc((100 / 390) * 8 * 1vw);
      }

      &::before {
        content: '';
        inline-size: 23px;
        aspect-ratio: 23 / 18;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url('../img/_common/icon_logo.svg');
        flex-shrink: 0;
      }

      @media (width <= 768px) {
        &::before {
          inline-size: calc((100 / 390) * 21 * 1vw);
        }
      }
    }

    &[data-color='white'] {
      & span[lang='en'] {
        background-image: unset;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
        color: #fff;
      }
      & h2.title {
        color: #fff;

        &::before {
          mix-blend-mode: plus-lighter;
        }
      }
    }

    &[data-align='center'] {
      justify-content: center;
      margin-inline: auto;
      & h2.title {
        justify-content: center;
      }
    }
  }
  /* =====================
    u-anchor
  ===================== */
  :where(.u-anchor) {
    inline-size: fit-content;
    display: block flex;
    align-items: center;
    column-gap: 48px;
    justify-content: space-between;
    border-radius: 50rem;
    background-image: linear-gradient(139deg, #22327e 35%, #5d69a1 54%, #0f1b53 80%);
    padding-inline: 32px;
    padding-block: 20px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;

    @media (width <= 768px) {
      column-gap: calc((100 / 390) * 40 * 1vw);
      padding-inline: calc((100 / 390) * 30 * 1vw);
      padding-block: calc((100 / 390) * 19 * 1vw);
    }

    &::after {
      content: '';
      inline-size: 19px;
      aspect-ratio: 19 / 14;
      mask-repeat: no-repeat;
      mask-size: contain;
      mask-position: center;
      mask-image: var(--icon-arrow);
      background-color: #fff;
      flex-shrink: 0;
    }

    @media (width <= 768px) {
      &::after {
        inline-size: calc((100 / 390) * 16 * 1vw);
      }
    }
    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
    }
  }

  /* =====================
    u-mv
  ===================== */
  :where(.u-mv) {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/_common/mv_bg.png');
    inline-size: 100%;
    min-block-size: 662px;
    padding-block-start: 197px;

    @media (width <= 768px) {
      background-image: url('../img/_common/mv_bg_2x.png');
      min-block-size: calc((100 / 390) * 598 * 1vw);
      padding-block-start: calc((100 / 390) * 122 * 1vw);
    }

    .u-inner {
      position: relative;

      @media (width <= 768px) {
        padding-inline: calc((100 / 390) * 16 * 1vw);
      }

      &::before {
        content: '';
        position: absolute;
        inline-size: 642px;
        block-size: 526px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        top: -141px;
        left: -38px;
        pointer-events: none;
      }

      @media (width <= 768px) {
        &::before {
          inline-size: calc((100 / 390) * 357.5 * 1vw);
          block-size: calc((100 / 390) * 294.5 * 1vw);
          top: calc((100 / 390) * 89 * 1vw);
          left: calc((100 / 390) * 16 * 1vw);
        }
      }

      .u-h1-title {
        position: relative;
        display: block grid;
        row-gap: 20px;
        z-index: 5;
        margin-inline-start: 712px;

        @media (width <= 768px) {
          row-gap: calc((100 / 390) * 14 * 1vw);
          margin-inline-start: 0;
        }

        & span[lang='en'] {
          display: block flow;
          font-family: var(--title);
          font-size: 88px;
          font-weight: 500;
          line-height: 1.1;
          background-image: linear-gradient(102.01deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 56 * 1vw);
          }
        }
        .title {
          position: relative;
          background-image: linear-gradient(102.01deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
          font-family: var(--shippori);
          font-size: 20px;
          line-height: 1.3;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 16 * 1vw);
          }
        }
      }
    }
  }

  /* =====================
    bread
  ===================== */
  :where(.breadcrumb) {
    position: relative;
    inline-size: fit-content;
    display: block flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    padding-inline: 24px;
    padding-block: 8px;
    border-radius: 4px;
    margin-block-start: 47px;
    margin-inline: auto 0;
    background-image: linear-gradient(139deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
    z-index: 3;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 14 * 1vw);
      gap: calc((100 / 390) * 20 * 1vw);
      padding-inline: calc((100 / 390) * 22 * 1vw);
      padding-block: calc((100 / 390) * 6 * 1vw);
      border-radius: calc((100 / 390) * 4 * 1vw);
      margin-block-start: calc((100 / 390) * 262 * 1vw);
    }

    & > li {
      display: block flex;
      gap: 20px;

      @media (width <= 768px) {
        gap: calc((100 / 390) * 20 * 1vw);
      }
    }

    & li + li {
      &::before {
        content: '－';
        display: inline-block;
        flex-shrink: 0;
      }
    }
  }

  /* =====================
    u-table
  ===================== */
  :where(.u-table) {
    --_border-color: #cecece;

    display: block grid;
    grid-template-columns: 152px 1fr;
    inline-size: 1040px;
    margin-inline: auto;

    @media (width <= 768px) {
      grid-template-columns: calc((100 / 390) * 96 * 1vw) 1fr;
      inline-size: 100%;
    }

    /* ==== tr ==== */
    .tr {
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;
      align-items: self-start;
      border-block-end: 1px solid var(--_border-color);

      @media (width <= 768px) {
        padding-block: calc((100 / 390) * 23 * 1vw);
      }

      & :where(dt, dd) {
        line-height: 1.9;
        block-size: 100%;
        padding-block: 31px;

        @media (width <= 768px) {
          padding-block: unset;
          word-break: break-all;
        }

        & a:not([href^='tel:']) {
          text-decoration: underline;

          @media (any-hover: hover) {
            &:hover {
              text-decoration: none;
            }
          }
        }

        @media (width <= 768px) {
          & a {
            text-decoration: underline;
          }
        }
      }
    }

    /* ==== dt ==== */
    & dt {
      font-weight: 500;
      line-height: 1.9;
    }

    /* ==== dd ==== */
    & dd {
      line-height: 1.9;
    }
  }
}
