@charset "UTF-8";

@layer utility {
  [data-letter='uppercase'] {
    text-transform: uppercase;
  }

  [data-font='title'] {
    font-family: var(--title);
  }

  [lang='en'] {
    font-family: var(--title);
  }

  /* =====================
    u-text-gradation
  ===================== */
  :where(.u-text-gradation) {
    inline-size: fit-content;
    background: var(--gradation2);
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* =====================
    u-head
  ===================== */
  :where(.u-head) {
    position: relative;
    display: block flex;
    inline-size: fit-content;
    padding-block-end: 10px;
    padding-inline: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #000;

    @media (width <=768px) {
      padding-block-end: 1.2vw;
      padding-inline: 0;
      font-size: calc((100 / 390) * 18 * 1vw);
    }

    &::before {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 2;
      display: block flow;
      inline-size: 100%;
      block-size: 2px;
      content: '';
      background: var(--gold);
    }

    &::after {
      position: absolute;
      bottom: 0;
      left: 0;
      display: block flow;
      inline-size: 100cqi;
      block-size: 1px;
      content: '';
      background: rgb(196 196 196 / 100%);
    }
  }

  /* =====================
    u-sub-head
  ===================== */
  :where(.u-sub-head) {
    position: relative;
    font-size: 19px;
    font-weight: 600;
    color: #111;

    @media (width <=768px) {
      font-size: calc((100 / 390) * 16 * 1vw);
    }

    &::before,
    &::after {
      position: absolute;
      inset-inline-start: 0;
      display: block flow;
      content: '';
    }

    &::before {
      inset-block-end: -4px;
      inline-size: 100%;
      block-size: 1px;
      background: rgb(196 196 196 / 100%);

      @media (width <=768px) {
        inset-block-end: -1.2vw;
        block-size: calc((100 / 390) * 1 * 1vw);
      }
    }

    &::after {
      inset-block-end: -6px;
      inline-size: 20px;
      block-size: 5px;
      background: var(--gold);

      @media (width <=768px) {
        inset-block-end: -1.7vw;
        inline-size: calc((100 / 390) * 20 * 1vw);
        block-size: calc((100 / 390) * 5 * 1vw);
      }
    }
  }

  /* =====================
    u-list
  ===================== */
  :where(.u-list) {
    display: block flow;
    gap: 10px;

    @media (width <=768px) {
      gap: var(--nudge-2);
    }

    li {
      position: relative;
      padding-inline-start: 22px;
      font-size: 15px;

      @media (width <=768px) {
        padding-inline-start: 4.3vw;
        font-size: calc((100 / 390) * 15 * 1vw);
      }

      &::before {
        position: absolute;
        inset-block-start: 13px;
        inset-inline-start: 9.9px;
        inline-size: 4px;
        aspect-ratio: 1 / 1;
        content: '';
        background: currentcolor;
        border-radius: calc(infinity * 1px);

        @media (width <=768px) {
          inset-block-start: 3.2vw;
          inset-inline-start: 1vw;
          inline-size: calc((100 / 390) * 4 * 1vw);
        }
      }
    }
  }

  /* =====================
    u-nav
  ===================== */
  :where(.u-nav) {
    inline-size: fit-content;
    margin-block: 80px 100px;
    margin-inline: auto;

    @media (width <=768px) {
      inline-size: 100%;
      padding-inline: calc((100 / 390) * 16 * 1vw);
      margin-block: var(--nudge-7) var(--nudge-10);
    }

    .inner {
      position: relative;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;

      @media (width > 768px) {
        inline-size: 1120px;
        background: rgb(38 43 102 / 15%);
        border-radius: calc(infinity * 1px);
        backdrop-filter: blur(10px);
      }

      @media (width <=768px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8vw;
        inline-size: 100%;
      }

      &::before {
        position: absolute;
        inset-block-start: calc(anchor(start) + 5px);
        inset-inline-start: calc(anchor(start) + 5.5px);
        z-index: 1;
        inline-size: calc(anchor-size(width) - 11px);
        block-size: calc(anchor-size(height) - 10px);
        position-anchor: var(--active-anchor);
        pointer-events: none;
        content: '';
        background: white;
        border-radius: calc(infinity * 1px);
        opacity: 1;
        transition: all 300ms var(--slideInBezier) 0s;
      }

      button {
        position: relative;
        z-index: 2;
        display: block grid;
        place-content: center;
        padding-block: 15.61px;
        font-weight: 600;

        @media (width > 768px) {
          inline-size: 214px;
        }

        @media (width <=768px) {
          padding-block: 1.6vw;
          padding-inline: 4vw;
          font-size: calc((100 / 390) * 14 * 1vw);
          text-align: center;
          word-break: auto-phrase;
          background: rgb(38 43 102 / 15%);
          border-radius: calc(infinity * 1px);
        }
      }

      &:has(button[aria-selected='true']#philosophy) {
        --active-anchor: --philosophy;
      }

      &:has(button[aria-selected='true']#message) {
        --active-anchor: --message;
      }

      &:has(button[aria-selected='true']#overview) {
        --active-anchor: --overview;
      }

      &:has(button[aria-selected='true']#outline) {
        --active-anchor: --outline;
      }

      &:has(button[aria-selected='true']#history) {
        --active-anchor: --history;
      }

      &:has(button[aria-selected='true']#access) {
        --active-anchor: --access;
      }

      &:has(button[aria-selected='true']#wanted) {
        --active-anchor: --wanted;
      }

      &:has(button[aria-selected='true']#individual) {
        --active-anchor: --individual;
      }

      &:has(button[aria-selected='true']#operation) {
        --active-anchor: --operation;
      }

      &:has(button[aria-selected='true']#invite) {
        --active-anchor: --invite;
      }

      &:has(button[aria-selected='true']#policy-individual) {
        --active-anchor: --policy-individual;
      }

      &:has(button[aria-selected='true']#antisocial) {
        --active-anchor: --antisocial;
      }

      /* ==== active ==== */
      @media (any-hover: hover) {
        &:hover {
          &:has([data-id='philosophy']:hover) {
            --active-anchor: --philosophy;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='message']:hover) {
            --active-anchor: --message;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='overview']:hover) {
            --active-anchor: --overview;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='outline']:hover) {
            --active-anchor: --outline;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='history']:hover) {
            --active-anchor: --history;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='access']:hover) {
            --active-anchor: --access;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='wanted']:hover) {
            --active-anchor: --wanted;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='individual']:hover) {
            --active-anchor: --individual;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='operation']:hover) {
            --active-anchor: --operation;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='policy']:hover) {
            --active-anchor: --policy;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='policy-individual']:hover) {
            --active-anchor: --policy-individual;

            &::before {
              opacity: 1;
            }
          }

          &:has([data-id='antisocial']:hover) {
            --active-anchor: --antisocial;

            &::before {
              opacity: 1;
            }
          }
        }
      }
    }

    &[data-type='management'] {
      @media (width <=768px) {
        margin-block: var(--nudge-7);
      }

      .inner {
        grid-template-columns: repeat(3, 1fr);

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

        button {
          inline-size: 100%;
        }
      }
    }
  }

  /* =====================
    u-bg
  ===================== */
  :where(.u-bg) {
    position: relative;
    isolation: isolate;

    &::before {
      position: absolute;
      inset-block-start: 608px;
      z-index: -1;
      inline-size: 100%;
      block-size: 903px;
      pointer-events: none;
      content: '';
      background-image: url('../img/_common/bg.webp');
      background-repeat: no-repeat;
      background-position: top center;
      background-size: cover;
    }

    &:not(:has(.u-mv-img)) {
      &::before {
        inset-block-start: 350px;

        @media (width <=768px) {
          inset-block-start: 40vw;
          block-size: calc((100 / 390) * 903 * 1vw);
        }
      }
    }
  }

  /* =====================
    u-hero
  ===================== */
  :where(.u-hero) {
    position: relative;
    z-index: 2;
    overflow: clip;

    /* ==== slider ==== */
    .container {
      position: absolute;
      inset: 0;
      inline-size: 100%;
      block-size: var(--_block-size);
      min-block-size: inherit;
      margin-inline: auto;
      overflow: clip;
      pointer-events: none;
      touch-action: pan-y;

      @media (width <=768px) {
        inline-size: 100%;
      }

      /* ==== picture ==== */
      picture {
        position: relative;
        z-index: 1;
        display: block;
        block-size: 100%;
        min-block-size: 100%;
        pointer-events: none;
        user-select: none;

        & img {
          display: block;
          inline-size: 100%;
          block-size: var(--_block-size);
          object-fit: cover;
          object-position: center;
        }
      }

      .zoom img {
        animation: zoom 15s linear 0ms 1 normal both running;
      }
    }

    /* ==== . . . ==== */
    .bullets {
      position: absolute;
      inset-block-end: 40px;
      inset-inline: 0;
      z-index: 3;
      display: block flex;
      gap: 16px;
      justify-content: center;
      inline-size: 100%;
      margin-inline: auto;

      &[hidden] {
        display: none;
      }

      @media (width <=768px) {
        inset-block-start: 105.5vw;
        inset-block-end: unset;
        inset-inline-start: 4vw;
        gap: calc((100 / 390) * 8 * 1vw);
        justify-content: flex-start;
      }

      span {
        inline-size: 20px;
        block-size: 4px;
        margin: 0;
        background: rgb(255 255 255 / 50%);
        border-radius: 0;
        opacity: 1;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 16 * 1vw);
          block-size: calc((100 / 390) * 2 * 1vw);
          background: rgb(255 255 255 / 80%);
        }

        &.swiper-pagination-bullet-active {
          background: var(--main);

          @media (width <=768px) {
            background: var(--black);
          }
        }
      }
    }

    /* ==== (< >) ==== */
    .pagination {
      position: absolute;
      inset-block-end: 20px;
      inset-inline-end: 20px;
      z-index: 7;
      inline-size: 140px;
      aspect-ratio: 1 / 1;

      @media (width <=768px) {
        display: none;
      }

      /* ==== 円 ==== */
      .circle {
        --radius: 49;
        --circumference: calc(var(--radius) * 2 * pi * 1px);

        display: block;
        inline-size: 140px;
        aspect-ratio: 1 / 1;
        pointer-events: none;
        rotate: 0 0 1 90deg;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 87.97 * 1vw);
        }

        & circle {
          fill: none;
          stroke: white;
          stroke-width: 1px;

          &:not(.dummy) {
            stroke-dasharray: var(--circumference);
            stroke-dashoffset: var(--circumference);
            will-change: stroke-dashoffset;
          }

          &.dummy {
            stroke-opacity: 0.3;
          }
        }

        &.animation circle {
          /* Swiper delay 2000 + speed 2000 なので 4000ms で設定 */
          animation: circle 4000ms ease 0ms infinite normal forwards running;
        }

        &.animation-end circle {
          animation-name: circle-end;
          animation-duration: 1000ms;

          /* slideChange setTimeoutの秒数と一致 */
        }
      }

      /* ==== prev, next ==== */
      :where(.prev, .next) {
        --_top: 50%;

        position: absolute;
        display: grid;
        place-content: center;
        color: white;
        cursor: pointer;
        transform: translateY(-50%);
        transition: opacity 0.2s ease-in;

        @media (width <=768px) {
          inline-size: calc((100 / 750) * 13 * 1vw);
          block-size: calc((100 / 750) * 22 * 1vw);
        }
      }

      .prev {
        inset: var(--_top) auto auto 28%;
      }

      .next {
        inset: var(--_top) 28% auto auto;
        scale: -1 1;
      }
    }

    /* ==== scroll ==== */
    .scroll {
      position: absolute;
      inset-block-end: 35px;
      inset-inline: 0;
      z-index: 2;
      display: block grid;
      gap: 16px;
      align-items: center;
      justify-content: center;
      inline-size: fit-content;
      margin-inline: auto;
      pointer-events: none;
      translate: 5px 0;

      @media (width <=768px) {
        inset-inline-start: calc((100 / 390) * 16 * 1vw);
        inset-inline-end: unset;
        gap: 4.2vw;
      }

      /* before */
      &::before {
        inline-size: 37px;
        block-size: 11px;
        aspect-ratio: 37 / 11;
        content: '';
        background-image: url('../img/top/mv/scroll.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 37 * 1vw);
          block-size: calc((100 / 390) * 11 * 1vw);
        }
      }
    }

    /* □□□ → ■■□ → □■■ → □□■ → □□□ */
    .scroll[data-type='move-color'] span {
      position: relative;
      display: block flow;
      inline-size: 4px;
      block-size: 80px;
      margin-inline: auto;
      background: white;

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 4 * 1vw);
        block-size: calc((100 / 390) * 48 * 1vw);
      }

      &::before {
        position: absolute;
        inset: 0;
        content: '';
        background: var(--main);
        animation: scroll-move-color 2s cubic-bezier(1, 0, 0, 1) infinite;
      }
    }

    /* > →  > */
    .scroll[data-type='move-arrow'] span {
      inline-size: 25px;
      block-size: 10px;
      margin-inline: auto;
      background-image: url('../img/top/mv/scroll-arrow.svg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      animation: scroll-move-arrow 2s cubic-bezier(1, 0, 0, 1) infinite;

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 25 * 1vw);
        block-size: calc((100 / 390) * 10 * 1vw);
      }
    }
  }

  /* =====================
    u-hgroup
  ===================== */
  :where(.u-hgroup) {
    display: block grid;
    grid-template-rows: repeat(auto-fit, minmax(0, min-content));
    gap: 6px;
    align-items: flex-start;
    align-self: flex-start;
    inline-size: fit-content;

    @media (width <=768px) {
      gap: calc((100 / 390) * 8 * 1vw);
    }

    [lang='en'] {
      inline-size: fit-content;
      font-family: var(--title);
      font-size: 40px;
      font-weight: 400;
      line-height: 1.9;
      background: var(--gradation2);
      background-clip: text;
      -webkit-text-fill-color: transparent;

      @media (width <=768px) {
        margin-block: calc((1em - 1lh) / 2);
        font-size: calc((100 / 390) * 32 * 1vw);
      }
    }

    .title {
      font-size: 16px;
      font-weight: 600;
      line-height: 1;

      @media (width <=768px) {
        align-self: flex-start;
        font-size: calc((100 / 390) * 15 * 1vw);
      }
    }

    /* ==== white ==== */
    &[data-color='white'] {
      color: white;

      [lang='en'] {
        color: white;
        background: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
      }
    }

    /* ==== center ==== */
    &[data-align='center'] {
      margin-inline: auto;
      text-align: center;
    }
  }

  /* =====================
    u-anchor
  ===================== */
  :where(.u-anchor) {
    --_transition: 250ms ease 0s;
    position: relative;
    display: block flex;
    align-items: center;
    align-self: flex-start;
    justify-content: flex-start;
    inline-size: fit-content;
    min-inline-size: 252px;
    padding-block: 13.6px;
    padding-inline: 8px 31px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    border-block: 1px solid #b7b7b7;
    transition:
      color var(--_transition),
      background var(--_transition);
    will-change: color, background;

    @media (width <=768px) {
      min-inline-size: calc((100 / 390) * 240 * 1vw);
      padding-block: 2.8vw;
      padding-inline-end: 7vw;
      font-size: calc((100 / 390) * 15 * 1vw);
    }

    @media (any-hover: hover) {
      &:hover {
        background: color-mix(in srgb, currentcolor 20%, transparent);

        &::after {
          transform: translateX(25%);
        }
      }
    }

    /* ==== → ==== */
    &::after {
      position: absolute;
      inset-block-start: 50%;
      inset-inline-end: 8px;
      inline-size: 12px;
      block-size: 8px;
      content: '';
      background-color: var(--gold);
      mask-image: var(--icon-arrow);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;
      translate: 0 -50%;
      transition: all 250ms ease 0s;

      @media (width <=768px) {
        inset-inline-end: 3vw;
        inline-size: calc((100 / 390) * 12 * 1vw);
        block-size: unset;
        aspect-ratio: 12 / 8;
      }
    }

    /* ==== color ==== */
    &[data-color='white'] {
      color: white;

      &::after {
        background-color: white;
      }
    }

    /* ==== type ==== */
    &[data-type='download'] {
      gap: 14px;

      @media (width <=768px) {
        gap: calc((100 / 390) * 14 * 1vw);
      }

      &::after {
        position: relative;
        inset: unset;
        inline-size: 23px;
        block-size: 19px;
        mask-image: var(--icon-download);
        translate: unset;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 22 * 1vw);
          block-size: calc((100 / 390) * 18 * 1vw);
        }
      }
    }

    &[data-type='blank'] {
      gap: 14px;

      @media (width <=768px) {
        gap: calc((100 / 390) * 14 * 1vw);
      }

      &::after {
        inline-size: 16px;
        block-size: 16px;
        mask-image: var(--icon-blank);

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 16 * 1vw);
          block-size: calc((100 / 390) * 16 * 1vw);
        }
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
    }
  }

  /* =====================
    u-mv
  ===================== */
  :where(.u-mv) {
    position: relative;
    inline-size: 100%;
    padding-block: 124px 6px;
    padding-inline: 40px;

    &:not(:has(hgroup)) {
      padding-block-start: 0;

      @media (width > 768px) {
        padding-inline: 29px;
      }

      .u-breadcrumb {
        @media (width > 768px) {
          margin-block-start: 5px;
        }
      }
    }

    @media (width <=768px) {
      padding-block: 12.7vw 4vw;
      padding-inline: calc((100 / 390) * 16 * 1vw);

      &:not(:has(hgroup)) {
        padding-block-start: 0;
      }
    }

    /* ==== hgroup ==== */
    hgroup {
      display: block flex;
      gap: 34px;
      align-items: baseline;
      inline-size: fit-content;
      padding-inline: 40px;

      @media (width <=768px) {
        display: block grid;
        gap: 0;
        padding-inline: 0;
      }

      h1 {
        font-size: 46px;
        font-weight: 600;
        letter-spacing: 2.76px;

        @media (width <=768px) {
          font-size: calc((100 / 390) * 35 * 1vw);
          letter-spacing: calc((100 / 390) * 2.1 * 1vw);
          word-break: auto-phrase;
        }
      }

      [lang='en'] {
        inline-size: fit-content;
        font-family: var(--title);
        font-size: 28px;
        font-weight: 400;
        letter-spacing: 1.68px;
        background: var(--gradation2);
        background-clip: text;
        -webkit-text-fill-color: transparent;

        @media (width <=768px) {
          padding-inline-start: 1.5vw;
          margin-block-start: -1.1vw;
          font-size: calc((100 / 390) * 20 * 1vw);
          letter-spacing: calc((100 / 390) * 1.2 * 1vw);
        }
      }
    }
  }

  /* =====================
    u-mv-img
  ===================== */
  :where(.u-mv-img) {
    display: block flow;
    inline-size: calc(100% - 80px);
    block-size: 600px;
    margin-inline: auto;
    object-fit: cover;
    border-radius: 8px;

    @media (width <=768px) {
      inline-size: calc(100% - calc((100 / 390) * 32 * 1vw));
      block-size: calc((100 / 390) * 158 * 1vw);
      border-radius: calc((100 / 390) * 8 * 1vw);
    }
  }

  /* =====================
    u-breadcrumb
  ===================== */
  :where(.u-breadcrumb) {
    position: relative;
    z-index: 3;
    display: block flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
    inline-size: fit-content;
    padding-block: 24px;
    margin-block-start: 84px;
    margin-inline: auto 0;
    font-size: 12px;
    font-weight: 500;

    @media (width <=768px) {
      gap: 4.5vw 3.9vw;
      padding-block: 3.7vw;
      padding-inline: 0;
      margin-block-start: 3vw;
      font-size: calc((100 / 390) * 12 * 1vw);
    }

    & li {
      display: block flex;
      gap: 16px;
      align-items: center;
      align-self: center;
      margin-block: calc((1em - 1lh) / 2);
      isolation: isolate;

      @media (width <=768px) {
        gap: 3.8vw;
      }
    }

    & li:first-child a {
      transition: opacity 250ms ease 0s;

      @media (any-hover: hover) {
        &:hover {
          opacity: 0.7;
        }
      }
    }

    & li:first-child::before {
      inline-size: 13px;
      aspect-ratio: 13 / 12;
      content: '';
      background-color: #a8aff3;
      mask-image: var(--icon-home);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;
      translate: 10px 0;

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 13 * 1vw);
        translate: 2.1vw -0.1vw;
      }
    }

    & li:not(:last-child)::after {
      display: block;
      inline-size: 12px;
      block-size: 12px;
      content: '';
      background-color: var(--gray_text);
      mask-image: var(--icon-breadcrumb);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;
      translate: 0 0.5px;

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 11.18 * 1vw);
        block-size: calc((100 / 390) * 11.18 * 1vw);
        font-size: 2.7vw;
      }
    }

    .item {
      display: block flex;
      gap: 12px;
      align-items: center;
      margin-block: calc((1em - 1lh) / 2);
      line-height: 1;

      @media (width <=768px) {
        gap: calc((100 / 390) * 6 * 1vw);
        font-size: calc((100 / 390) * 12 * 1vw);
        line-height: 1.8;
        word-break: break-all;
      }

      &[lang='en'] {
        font-family: var(--serif);
      }

      &:is(a) {
        transition: all 250ms ease 0s;

        @media (any-hover: hover) {
          &:hover {
            opacity: 0.5;
          }
        }
      }
    }
  }

  /* =====================
    u-inner
  ===================== */
  :where(.u-inner) {
    max-inline-size: 1280px;
    margin-inline: auto;
    container-type: inline-size;

    @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-table
  ===================== */
  :where(.u-table) {
    --_border-color: rgb(179 179 179 / 100%);
    display: block grid;
    grid-template-columns: 250px 1fr;
    inline-size: 1040px;
    margin-inline: auto;
    color: #000;

    @media (width <=768px) {
      grid-template-columns: 23vw 1fr;
      align-items: flex-start;
      inline-size: 100%;
      font-size: calc((100 / 390) * 14 * 1vw);
    }

    /* ==== tr ==== */
    .tr {
      position: relative;
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;

      @media (width <=768px) {
        align-items: flex-start;
      }

      & :where(dt, dd) {
        place-content: center start;
        block-size: 100%;
        padding-block: 23.3px;

        @media (width <=768px) {
          align-self: flex-start;
          padding-block: calc((100 / 390) * 13 * 1vw) calc((100 / 390) * 14.9 * 1vw);
          word-break: break-all;
        }

        & a:not([href^='tel:']) {
          color: var(--primary);
          text-decoration: underline;

          @media (any-hover: hover) {
            &:hover {
              text-decoration: none;
            }
          }
        }

        @media (width <=768px) {
          & a {
            text-decoration: underline;
          }
        }
      }

      &:last-child {
        & dt {
          border-block-end-color: var(--_border-color);
        }

        & dd {
          word-break: break-all;
          border-block-end-color: var(--_border-color);
        }
      }
    }

    /* ==== dt ==== */
    & dt {
      position: relative;
      font-weight: 700;
      border-block-start: 1px solid var(--_border-color);
      border-block-end: 1px solid transparent;

      @media (width <=768px) {
        position: sticky;
        inset-block-start: 17.6vw;
        place-content: flex-start;
        block-size: fit-content !important;
        padding-inline-start: 0;
        text-align: left;
      }

      &::before {
        position: absolute;
        inset-block-start: -2px;
        inset-inline: 0;
        block-size: 2px;
        content: '';
        background: var(--gold);
      }
    }

    &[data-sticky='false'] {
      & dt {
        @media (width <=768px) {
          position: relative;
          inset-block-start: unset;
          block-size: 100% !important;
        }
      }
    }

    .tr:last-child dt::after {
      position: absolute;
      inset-block-end: 0;
      inset-inline: 0;
      block-size: 2px;
      content: '';
      background: var(--gold);
    }

    /* ==== dd ==== */
    & dd {
      padding-inline: 0;
      font-weight: 500;
      border-block-start: 1px solid var(--_border-color);
      border-block-end: 1px solid transparent;
      translate: -3px 0;

      @media (width <=768px) {
        padding-inline: calc((100 / 390) * 10 * 1vw);
      }

      .address {
        display: block grid;
        gap: 0;

        .location {
          display: block grid;
        }

        .tel-fax {
          display: block flex;
          gap: 3px;

          @media (width <=768px) {
            display: block flex;
            flex-direction: column;

            a[href^='tel:'] {
              color: var(--gold);
            }
          }

          @media (width > 768px) {
            span+span::before {
              margin-inline-end: 1px;
              content: '／';
            }
          }
        }

        @media (width <=768px) {
          display: block flex;
          flex-direction: column;
          gap: 0;
          align-items: flex-start;
        }
      }
    }
  }

  /* =====================
    u-news
  ===================== */
  :where(.u-news) {
    --_clip-path-plus: polygon(45% 0%, 55% 0%, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0% 55%, 0% 45%, 45% 45%);
    --_clip-path-minus: polygon(45% 45%, 55% 45%, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 55%, 55% 100%, 55% 55%, 0% 55%, 0% 45%, 45% 45%);
    display: block grid;
    margin-inline: auto;

    @media (width <=768px) {
      inline-size: 100%;
      padding-block-end: calc((100 / 390) * 41 * 1vw);
    }

    /* ==== details ==== */
    details {
      position: relative;
      display: block grid;
      padding-inline: 40px;
      border-block-end: 1px solid var(--_border-color, '#000');

      @media (width <=768px) {
        padding-inline: calc((100 / 390) * 16 * 1vw);
      }
    }

    details[hidden] {
      display: none;
    }

    details:first-child {
      border-block-start: 1px solid var(--_border-color, '#000');
    }

    /* ==== summary ==== */
    summary {
      position: relative;
      display: block grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      justify-content: flex-start;
      inline-size: 100%;
      cursor: pointer;

      @media (width <=768px) {
        grid-template-rows: auto 1fr;
        grid-template-columns: auto;
      }

      /* (+) */
      &::after {
        position: absolute;
        inset-inline-end: 0;
        min-inline-size: 24px;
        aspect-ratio: 1 / 1;
        content: '';
        background: var(--color-text-primary, '#000');
        clip-path: var(--_clip-path-plus);
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        translate: 0 -50%;
        transition: clip-path 150ms ease 0s;
        will-change: clip-path;

        @media (width <=768px) {
          inset-block-start: 12vw;
          inset-inline-end: 3vw;
          min-inline-size: calc((100 / 390) * 20 * 1vw);
        }
      }
    }

    /* ==== time ==== */
    time {
      align-items: center;
      inline-size: fit-content;
    }

    /* ==== h2 ==== */
    h2 {
      padding-inline-end: 27px;
      word-break: break-all;

      @media (width <=768px) {
        padding-inline-end: 8vw;
      }
    }

    /* ==== body ==== */
    .body {
      display: block grid;
      grid-template-rows: 0fr;
      grid-template-columns: 1fr;
      overflow: clip;
      transition: grid-template-rows 250ms ease 0ms;
      animation: none;
      will-change: grid-template-rows;

      .editor {
        display: block grid;
        grid-template-rows: 0fr;
        grid-auto-flow: row;
        overflow: hidden;
      }
    }

    /* ==== open ==== */
    details[open] {
      .body {
        grid-template-rows: 1fr;
      }

      /* ==== (-) ==== */
      summary::after {
        clip-path: var(--_clip-path-minus);
      }
    }
  }

  /* =====================
    u-more
  ===================== */
  :where(.u-more) {
    position: relative;
    display: block flex;
    gap: 9px;
    align-items: center;
    inline-size: fit-content;
    margin-block-start: 60px;
    margin-inline: auto;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 250ms ease 0s;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }

    @media (width <=768px) {
      gap: 4vw;
      margin-block-start: 8vw;
      font-size: calc((100 / 390) * 15 * 1vw);
    }

    /* ○ */
    &::after {
      position: relative;
      z-index: 2;
      inline-size: 24px;
      aspect-ratio: 1 / 1;
      content: '';
      background: var(--main);
      border-radius: calc(infinity * 1px);

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 24 * 1vw);
      }
    }

    /* ↓ */
    &::before {
      position: absolute;
      inset-block-start: 12px;
      inset-inline-end: 4.3px;
      z-index: 3;
      inline-size: 14px;
      aspect-ratio: 14 / 9;
      content: '';
      background-color: currentcolor;
      mask-image: var(--icon-bracket);
      mask-repeat: no-repeat;
      mask-position: center;
      mask-size: contain;

      @media (width <=768px) {
        inset-block-start: 2.7vw;
        inset-inline-end: 1.2vw;
        inline-size: calc((100 / 390) * 14 * 1vw);
      }
    }

    &.on {
      display: none;
      visibility: hidden;
      pointer-events: none;
      opacity: 0;
    }
  }

  /* =====================
    u-empty
  ===================== */
  :where(.u-empty) {
    padding-block: 40px;
    text-align: center;

    @media (width <=768px) {
      padding-block: calc((100 / 390) * 40 * 1vw);
    }
  }
}
