@charset "UTF-8";

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

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

  [data-font-color='lightblue'] {
    color: var(--lightblue);
  }

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

  [data-bg-color='red'] {
    background: #c71e1e;
  }

  [data-bg-color='orange'] {
    background: #f3902c;
  }

  [data-bg-color='green'] {
    background: #58b88b;
  }

  [data-bg-color='blue'] {
    background: #3a64bf;
  }

  [data-bg-color='purple'] {
    background: #aa5ed5;
  }

  /* =====================
    u-scroll-table
  ===================== */
  :where(.u-scroll-table) {
    position: relative;

    @media (width <=768px) {
      max-inline-size: calc(infinity * 1px);
      padding-block-end: calc((100 / 390) * 18 * 1vw);
      overflow-x: auto;

      &::before {
        position: absolute;
        inset-block-start: calc(50% - 20vw);
        inset-inline-start: calc(50% - 20vw);
        z-index: 4;
        display: block grid;
        align-items: flex-end;
        inline-size: calc((100 / 390) * 120 * 1vw);
        block-size: calc((100 / 390) * 111 * 1vw);
        padding-block-end: 2.8vw;
        font-size: calc((100 / 390) * 10 * 1vw);
        color: white;
        text-align: center;
        pointer-events: none;
        content: 'スクロールできます';
        background: rgb(0 0 0 / 50%);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        border-radius: calc((100 / 390) * 16 * 1vw);
      }

      &::after {
        position: absolute;
        inset-block-start: calc(50% - 13vw);
        inset-inline-start: calc(50% - 9vw);
        z-index: 4;
        inline-size: calc((100 / 390) * 37 * 1vw);
        aspect-ratio: 25 / 30;
        content: '';
        background-image: url('../img/_common/icon/scrollable.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        rotate: 0 0 1 -25deg;
        animation: scrollable 1200ms ease 0ms infinite normal none running;
      }

      &.touched {
        &::before {
          display: none;
        }

        &::after {
          display: none;
        }
      }

      tr.checked {
        td {
          background: color-mix(in srgb, var(--lightblue) 8%, transparent);
        }
      }
    }

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

    thead th {
      @media (width <=768px) {
        white-space: nowrap;
      }
    }

    tbody th {
      @media (width <=768px) {
        white-space: nowrap;
      }
    }

    tbody td {
      @media (width <=768px) {
        white-space: nowrap;
      }
    }
  }

  /* =====================
    u-border
  ===================== */
  :where(.u-border) {
    border-block-start: 1px solid var(--gray_border, #bfbfbf);
  }

  /* =====================
    u-radius
  ===================== */
  :where(.u-radius) {
    border-radius: 16px;

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

  /* =====================
    u-bg
  ===================== */
  :where(.u-bg) {
    background-color: #f1f1f1;
    background-image: url('../img/_common/bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 16px;

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

  /* =====================
    u-product
  ===================== */
  :where(.u-product) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15.5px 16px;
    anchor-name: --product-anchor;
    counter-reset: number;

    --active-anchor: --sheath;
    --_oversize: 0;

    &::before {
      position: absolute;
      inset-block-start: anchor(start);
      inset-inline-start: anchor(start);
      z-index: 1;
      inline-size: anchor-size(width);
      block-size: anchor-size(height);
      position-anchor: var(--active-anchor);
      pointer-events: none;
      content: '';
      background: color-mix(in srgb, var(--lightblue) 4%, transparent);
      border-radius: 16px;
      opacity: 0;
      transition: all 300ms var(--slideInBezier) 0s;
    }

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

    /* ==== li ==== */
    li {
      position: relative;
      z-index: 2;
      display: block grid;
      gap: 20px;
      align-content: flex-start;
      padding-block: 31px 40px;
      padding-inline: 23px;
      border: 1px solid var(--gray_border);
      border-radius: 16px;
      transition: all 250ms ease 0s;

      @media (width <=768px) {
        gap: calc((100 / 390) * 15.2 * 1vw);
        padding-block: calc((100 / 390) * 23 * 1vw) 8.1vw;
        padding-inline: calc((100 / 390) * 23 * 1vw);
        border-radius: calc((100 / 390) * 16 * 1vw);
      }

      @media (any-hover: hover) {
        &:hover {
          border-color: var(--lightblue);

          .thumb {
            scale: 1.02;
          }

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

    /* ==== thumb ==== */
    .thumb {
      block-size: 232px;
      object-fit: cover;
      object-position: center;
      border-radius: 8px;
      transition: inherit;

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

    /* ==== title ==== */
    .title {
      position: relative;
      display: block grid;
      grid-template-columns: auto 1fr auto;
      gap: 8px;
      align-items: baseline;
      font-size: 18px;
      font-weight: 500;
      color: var(--lightblue);

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

      &::before {
        font-family: var(--title);
        font-size: 22px;
        content: '0' counter(number);
        counter-increment: number;

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

      /* ==== → ==== */
      &::after {
        inline-size: 30px;
        aspect-ratio: 1 / 1;
        content: '';
        background:
          url('../img/_common/icon/arrow-white.svg') no-repeat center / 12px 10px,
          var(--lightblue);
        border-radius: calc(infinity * 1px);
        translate: -1px 9px;
        transition: all 250ms ease 0s;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 30 * 1vw);
          background:
            url('../img/_common/icon/arrow-white.svg') no-repeat center / calc((100 / 390) * 11.42 * 1vw) calc((100 / 390) * 9 * 1vw),
            var(--lightblue);
          translate: 0.2vw 2.3vw;
        }
      }
    }

    /* ==== p ==== */
    p {
      margin-block-start: -4px;

      @media (width <=768px) {
        margin-block-start: 0.1vw;
      }
    }

    /* ==== a ==== */
    a {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

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

          &::before {
            opacity: 1;
          }
        }

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

          &::before {
            opacity: 1;
          }
        }

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

          &::before {
            opacity: 1;
          }
        }

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

          &::before {
            opacity: 1;
          }
        }

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

          &::before {
            opacity: 1;
          }
        }

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

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

  /* =====================
    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-start: 49%;
      inset-inline-end: 26px;
      z-index: 3;
      display: block flex;
      flex-direction: column;
      gap: 14px;
      align-items: center;
      justify-content: center;
      inline-size: fit-content;
      translate: 0 -50%;

      &[hidden] {
        display: none;
      }

      @media (width <=768px) {
        inset: unset;
        inset-block-end: 5.5vw;
        inset-inline: 0;
        flex-direction: row;
        gap: calc((100 / 390) * 14 * 1vw);
        justify-content: flex-start;
        margin-inline: auto;
      }

      span {
        inline-size: 6px;
        aspect-ratio: 1 / 1;
        background: rgb(255 255 255 / 60%);
        border-radius: calc(infinity * 1px);
        opacity: 1;

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

        &.swiper-pagination-bullet-active {
          background: white;
        }
      }
    }

    /* ==== (< >) ==== */
    .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: 10px;
    align-items: flex-start;
    align-self: flex-start;
    inline-size: fit-content;

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

    [lang='en'] {
      inline-size: fit-content;
      font-family: var(--title);
      font-size: 40px;
      font-weight: 400;
      line-height: 1.4;
      color: var(--lightblue);

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

    .title {
      display: block flex;
      gap: 8px;
      align-items: center;
      margin-block: calc((1em - 1lh) / 2);
      font-weight: 400;

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

      &::before {
        display: block flow;
        inline-size: 6px;
        aspect-ratio: 1 / 1;
        content: '';
        background: var(--gray200);
        border-radius: calc(infinity * 1px);

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 6 * 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;
    gap: 28px;
    align-items: center;
    align-self: flex-start;
    justify-content: space-between;
    inline-size: fit-content;
    min-inline-size: 224px;
    padding-block: 13px;
    padding-inline: 25px;
    font-weight: 500;
    line-height: 1.8;
    color: white;
    background: var(--lightblue);
    border: 1px solid var(--lightblue);
    border-radius: calc(infinity * 1px);
    transition:
      color var(--_transition),
      background var(--_transition);
    will-change: color, background;

    @media (width <=768px) {
      gap: 5vw;
      min-inline-size: calc((100 / 390) * 207 * 1vw);
      padding-block: 2.9vw;
      padding-inline: 5.8vw;
      font-size: calc((100 / 390) * 15 * 1vw);
    }

    @media (any-hover: hover) {
      &:hover {
        color: var(--lightblue);
        background: white;

        &::after {
          background:
            url('../img/_common/icon/arrow-white.svg') no-repeat center / 12px 10px,
            var(--lightblue);
          transform: translateX(25%);
        }
      }
    }

    /* ==== → ==== */
    &::after {
      inline-size: 32px;
      aspect-ratio: 1 / 1;
      color: red;
      content: '';
      background:
        url('../img/_common/icon/arrow-blue.svg') no-repeat center / 12px 10px,
        white;
      border-radius: calc(infinity * 1px);
      transition: all 250ms ease 0s;

      @media (width <=768px) {
        inline-size: calc((100 / 390) * 30 * 1vw);
        background:
          url('../img/_common/icon/arrow-blue.svg') no-repeat center / calc((100 / 390) * 11.42 * 1vw) calc((100 / 390) * 9 * 1vw),
          white;
      }
    }

    /* ==== color ==== */
    &[data-color='white'] {
      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;
    display: block grid;
    padding-block-start: 16px;
    padding-inline: 16px;

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

    /* ==== wrap ==== */
    .wrap {
      position: relative;
      display: block grid;
      align-content: flex-start;
      block-size: 440px;
      padding-block-start: 151px;
      padding-inline: 48px;

      @media (width <=768px) {
        block-size: calc((100 / 390) * 270 * 1vw);
        padding-block-start: 35vw;
        padding-inline: var(--nudge-2);
      }

      /* ==== hgroup ==== */
      hgroup {
        display: block grid;
        gap: 23px;
        inline-size: fit-content;

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

        /* ==== en ==== */
        [lang='en'] {
          inline-size: fit-content;
          padding-block: 6px 4px;
          padding-inline: 16px;
          margin-block: calc((1em - 1lh) / 2);
          font-family: var(--title);
          font-size: 22px;
          line-height: 1;
          color: var(--lightblue);
          background: #000;
          background: rgb(255 255 255 / 80%);
          border-radius: calc(infinity * 1px);

          @media (width <=768px) {
            padding-block: 1.2vw;
            padding-inline: 3.1vw;
            font-size: var(--nudge-2);
          }
        }

        /* ==== title ==== */
        .title {
          margin-block: calc((1em - 1lh) / 2);
          font-size: 40px;
          font-weight: 500;
          color: white;
          letter-spacing: 1.2px;
          text-shadow: 0 4px 4px rgb(0 0 0 / 25%);

          @media (width <=768px) {
            padding-block: 0;
            padding-inline: 0;
            font-size: var(--nudge-4);
            line-height: 1.2;
            letter-spacing: calc((100 / 390) * 1.2 * 1vw);
          }
        }
      }

      /* ==== picture ==== */
      .picture {
        position: absolute;
        inset-block-start: 50%;
        inset-inline-start: 50%;
        z-index: -1;
        inline-size: 100%;
        block-size: 100%;
        pointer-events: none;
        object-fit: cover;
        border-radius: 16px;
        translate: -50% -50%;

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

    /* ==== .u-breadcrumb ==== */
    .u-breadcrumb {
      position: absolute;
      inset-block-end: 38px;
      inset-inline-start: 64px;
      z-index: 2;

      @media (width <=768px) {
        position: unset;
        inset: unset;
      }
    }
  }

  /* =====================
    u-breadcrumb
  ===================== */
  :where(.u-breadcrumb) {
    position: relative;
    display: block flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    inline-size: fit-content;
    font-size: 15px;
    color: white;

    @media (width <=768px) {
      gap: 1.6vw;
      padding-block: 3.1vw;
      font-size: calc((100 / 390) * 15 * 1vw);
      color: var(--color-text-primary);
    }

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

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

    & li:not(:last-child)::after {
      content: '－';
    }

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

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

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

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

  /* =====================
    u-nav
  ===================== */
  :where(.u-nav) {
    position: sticky;
    inset-block-start: 103px;
    z-index: 23;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding-inline: 34px;
    margin-inline: 32px;
    background: rgb(255 255 255 / 70%);
    border-radius: 6px;

    @media (width <=768px) {
      position: unset;
      inset: unset;
      grid-template-columns: repeat(2, 1fr);
      gap: 0 2.5vw;
      padding-inline: calc((100 / 390) * 8 * 1vw);
      margin-inline: 0;
    }

    --active-anchor: --home;
    --_oversize: 3px;

    &::before {
      position: absolute;
      inset-block-start: calc(anchor(start) - var(--_oversize));
      inset-inline-start: calc(anchor(start) + var(--_oversize));
      z-index: 1;
      inline-size: calc(anchor-size(width) - calc(var(--_oversize) * 2));
      block-size: calc(anchor-size(height) + calc(var(--_oversize) * 2));
      position-anchor: var(--active-anchor);
      pointer-events: none;
      content: '';
      background: var(--lightblue);
      background: color-mix(in srgb, var(--lightblue) 20%, transparent);
      border-radius: 4px;
      opacity: 0;
      transition: all 300ms var(--slideInBezier) 0s;
    }

    /* ==== button ==== */
    button {
      position: relative;
      z-index: 2;
      display: block grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      padding-inline: 19px;
      transition: all 250ms ease 0s;

      @media (width > 768px) {
        border-inline-start: 1px solid var(--gray_border);
        border-inline-end: 1px solid transparent;

        &:last-child {
          border-inline-end-color: var(--gray_border);
        }
      }

      @media (width <=768px) {
        padding-block: 2.3vw;
        padding-inline: calc((100 / 390) * 8 * 1vw);
        font-size: calc((100 / 390) * 14 * 1vw);
        border-block-start: 1px solid var(--gray_border);
        border-block-end: 1px solid transparent;

        &:nth-child(5),
        &:nth-child(6) {
          border-block-end-color: var(--gray_border);
        }
      }

      &::before {
        position: absolute;
        inset-block: 0;
        inset-block-start: 50%;
        z-index: 2;
        inline-size: 100%;
        block-size: 220%;
        content: '';
        translate: 0 -50%;

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

      &::after {
        inline-size: 15px;
        aspect-ratio: 13.41 / 12;
        content: '';
        background-color: var(--lightblue);
        mask-image: var(--icon-arrow);
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        rotate: 0 0 1 90deg;
        translate: 3px 0;

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

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

          &::before {
            opacity: 1;
          }
        }

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

          &::before {
            opacity: 1;
          }
        }

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

          &::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;
          }
        }
      }

      body[data-current='about'] .u-nav [data-id='about'] {
        color: white;
        background: var(--lightblue);
      }

      body[data-current='greeting'] .u-nav [data-id='greeting'] {
        color: white;
        background: var(--lightblue);
      }

      body[data-current='iso'] .u-nav [data-id='iso'] {
        color: white;
        background: var(--lightblue);
      }

      body[data-current='outline'] .u-nav [data-id='outline'] {
        color: white;
        background: var(--lightblue);
      }

      body[data-current='history'] .u-nav [data-id='history'] {
        color: white;
        background: var(--lightblue);
      }

      body[data-current='access'] .u-nav [data-id='access'] {
        color: white;
        background: var(--lightblue);
      }
    }
  }

  /* =====================
    u-inner
  ===================== */
  :where(.u-inner) {
    margin-inline: auto;
  }

  /* =====================
    u-hover
  ===================== */
  :where(.u-hover) {
    &:not([data-hover]) {
      transition: opacity 0.3s ease-in-out;
      will-change: opacity;

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

    &[data-hover='black'] {
      transition: color 0.3s ease-in-out;
      will-change: color;

      &:has(img) {
        transition: filter 0.3s ease-in-out;
        will-change: filter;
      }

      @media (any-hover: hover) {
        &:hover {
          color: var(--color-text-primary);
        }
      }
    }
  }

  /* =====================
    u-table
  ===================== */
  :where(.u-table) {
    --_border-color: #000;

    display: block grid;
    grid-template-columns: 248px 1fr;
    gap: 16px 0;
    inline-size: calc(100% - 64px * 2);
    margin-inline: auto;

    @media (width <=768px) {
      grid-template-columns: 26vw 1fr;
      gap: var(--nudge-1) 0;
      inline-size: 100%;
      font-size: calc((100 / 390) * 13 * 1vw);
    }

    /* ==== tr ==== */
    .tr {
      position: relative;
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;
      align-items: self-start;
      overflow: clip;

      &::before,
      &::after {
        position: absolute;
        inset-inline-start: 6px;
        display: block flow;
        inline-size: calc(100% - 6px * 2);
        block-size: 1px;
        content: '';
        background-color: var(--gray_border);
      }

      &::before {
        inset-block-start: 0;
      }

      &::after {
        inset-block-end: 0;
      }

      & :where(dt, dd) {
        block-size: 100%;
        padding-block: 15.3px;
        padding-inline: 24px;

        @media (width <=768px) {
          padding-block: var(--nudge-1);
          padding-inline: var(--nudge-1);
          word-break: break-all;
        }

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

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

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

    /* ==== dt ==== */
    & dt {
      position: relative;
      z-index: 2;
      place-content: start;
      font-weight: 500;
      color: white;
      text-align: left;
      background: var(--lightblue);
      border: 1px solid var(--lightblue);
      border-radius: 6px;

      @media (width <=768px) {
        padding-inline: var(--nudge-1);
        font-size: calc((100 / 390) * 14 * 1vw) !important;
        text-align: left;
        border-radius: calc((100 / 390) * 6 * 1vw);
      }
    }

    /* ==== dd ==== */
    & dd {
      padding-inline: 48px;
      border-block-start: 1px solid var(--gray_border, #bfbfbf);
      border-block-end: 1px solid var(--gray_border, #bfbfbf);
      border-inline-end: 1px solid var(--gray_border, #bfbfbf);
      border-radius: 0 6px 6px 0;

      @media (width <=768px) {
        padding-inline: var(--nudge-2) !important;
        font-size: calc((100 / 390) * 14 * 1vw) !important;
      }

      .address {
        display: block flex;
        gap: 16px;
        align-items: center;

        @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: 23px;
      border-block-end: 1px solid var(--_border-color, '#000');

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

    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;
        font-weight: 400;
      }
    }

    /* ==== 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(--lightblue);
      border-radius: calc(infinity * 1px);

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

    /* ↓ */
    &::before {
      position: absolute;
      inset-block-start: 11.4px;
      inset-inline-end: 4.8px;
      z-index: 3;
      inline-size: 14px;
      aspect-ratio: 14 / 9;
      content: '';
      background-color: white;
      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-interview
  ===================== */
  :where(.u-interview) {
    position: relative;
    display: block grid;
    grid-template-columns: auto 1fr;
    gap: 21px 15px;
    align-content: flex-start;
    align-items: baseline;
    padding-block: 32px 33px;
    padding-inline: 24px;
    border: 1px solid var(--gray_border);
    border-radius: 16px;
    transition: all 250ms ease 0s;

    @media (width <=768px) {
      gap: var(--nudge-2);
      padding-block: var(--nudge-3);
      padding-inline: var(--nudge-2);
      border-radius: calc((100 / 390) * 16 * 1vw);
    }

    @media (any-hover: hover) {
      &:hover {
        background: color-mix(in srgb, var(--lightblue) 4%, transparent);
        border-color: var(--lightblue);

        .year::before {
          translate: 25% 0;
        }
      }
    }

    /* ==== img ==== */
    .thumb {
      grid-row: 1 / 2;
      grid-column: 1 / 3;
      overflow: clip;
      background: #f1f1f1;
      border-radius: 8px;

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

      img {
        display: block flow;
        block-size: 198px;
        margin-inline: auto;
        object-fit: cover;

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

    /* ==== comment ==== */
    .comment {
      grid-row: 2 / 3;
      grid-column: 1 / 3;
      padding-block: 3px 15px;
      font-size: 18px;
      font-weight: 500;
      border-bottom: 1px solid var(--gray_border);

      @media (width <=768px) {
        padding-block: 0 var(--nudge-2);
        font-size: calc((100 / 390) * 18 * 1vw);

        br {
          display: none;
        }
      }
    }

    /* ==== division ==== */
    .division {
      grid-row: 3 / 4;
      grid-column: 1 / 3;
      align-items: flex-start;
      inline-size: fit-content;
      padding-block: 4px;
      padding-inline: 17.3px;
      margin-block-start: 3px;
      line-height: 1 !important;
      color: white;
      border-radius: calc(infinity * 1px);

      @media (width <=768px) {
        padding-block: calc((100 / 390) * 5 * 1vw);
        padding-inline: var(--nudge-2);
        margin-block-start: 1vw;
      }
    }

    /* ==== title ==== */
    .title {
      grid-row: 4 / 5;
      grid-column: 1 / 2;
      margin-block: -21px;
      font-family: var(--title);
      font-size: 40px;
      font-weight: 400;

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

    /* ==== year ==== */
    .year {
      position: relative;
      grid-row: 4 / 5;
      grid-column: 2 / 3;
      color: var(--gray300);

      &::before {
        position: absolute;
        inset-block-end: 4px;
        inset-inline-end: 0;
        inline-size: 30px;
        aspect-ratio: 1 / 1;
        color: red;
        content: '';
        background:
          url('../img/_common/icon/arrow-white.svg') no-repeat center / 12px 10px,
          var(--lightblue);
        border-radius: calc(infinity * 1px);
        transition: all 250ms ease 0s;

        @media (width <=768px) {
          inline-size: calc((100 / 390) * 30 * 1vw);
          background:
            url('../img/_common/icon/arrow-white.svg') no-repeat center / calc((100 / 390) * 11.42 * 1vw) calc((100 / 390) * 9 * 1vw),
            var(--lightblue);
        }
      }
    }

    /* ==== a ==== */
    a {
      position: absolute;
      inset: 0;
    }
  }
}
