*, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --yellow: #faff28;
      --gray-bg: #b2b2b2;
      --black: #111111;
      --white: #ffffff;
      --sidebar-w: 240px;
    }

    html, body {
      height: 100%;
      overflow: hidden;
    }

    body {
      font-family: 'Noto Sans JP', 'Inter', sans-serif;
    }

    /* ─── スクロールコンテナ ─── */
    #scroll-container {
      height: 100vh;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
      position: relative;
    }

    /* ─── SECTION BASE ─── */
    .section {
      display: flex;
      height: 100vh;
      margin-left: var(--sidebar-w);
      scroll-snap-align: start;
      scroll-snap-stop: always;
      overflow: hidden;
    }

    /* ─── SIDEBAR（単一・固定）─── */
    #sidebar {
      width: var(--sidebar-w);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      padding: 40px 40px 28px;
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      z-index: 100;
      background: var(--yellow);
      opacity: 0;
      transition: opacity 0.45s ease;
      pointer-events: none;
    }

    #sidebar.is-visible {
      opacity: 1;
      pointer-events: auto;
    }

    .sidebar-logo {
      width: 160px;
      margin-bottom: 48px;
      display: block;
    }

    .sidebar-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 40px;
      width: 100%;
    }

    .sidebar-nav li {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
    }

    .sidebar-nav a {
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: var(--black);
      letter-spacing: 0.04em;
      transition: opacity 0.2s;
    }

    .sidebar-nav a:hover { opacity: 0.5; }

    .dot {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: var(--black);
      flex-shrink: 0;
      opacity: 0;
      transform: scale(0.5);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .dot.active {
      opacity: 1;
      transform: scale(1);
    }

    .sidebar-copy {
      margin-top: auto;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #b2b2b2;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    /* ──────────────────────────
       HERO
    ────────────────────────── */
    #hero {
      display: block;
      height: 100vh;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      overflow: hidden;
      background-color: var(--yellow);
      position: relative;
    }

    #hero-overlay {
      position: absolute;
      inset: 0;
      z-index: 0;
      clip-path: inset(0 0 100% 0);
      transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
      pointer-events: none;
    }

    #hero-text-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      clip-path: inset(0 0 100% 0);
      transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
      pointer-events: none;
      overflow: hidden;
    }

    .hero-body {
      position: relative;
      z-index: 1;
    }

    .hero-body {
      width: 100%;
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 40px 72px 88px 40px;
    }

    .hero-logo {
      width: 300px;
      display: block;
      margin-bottom: 48px;
      position: relative;
      z-index: 1;
          }

    .hero-nav {
      position: relative;
      z-index: 1;
          }

    .hero-nav ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .hero-nav a {
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: var(--white);
      letter-spacing: 0.04em;
      transition: opacity 0.2s;
    }

    .hero-nav a:hover { opacity: 0.6; }

    .hero-bottom {
      margin-top: auto;
      position: relative;
      z-index: 1;
          }

    .hero-mark {
      position: absolute;
      top: 50%;
      right: -180px;
      transform: translateY(-50%);
      width: 1018px;
      height: 1018px;
      pointer-events: none;
      user-select: none;
      filter: grayscale(1) brightness(0.55);
    }

    .hero-title {
      margin-bottom: 30px;
    }

    .hero-title-img {
      display: block;
      width: 506px;
      max-width: 100%;
      height: auto;
    }


    .hero-sub {
      color: #ffffff;
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 14px;
      font-weight: 400;
      line-height: 28px;
      font-feature-settings: "halt" 1;
    }

    /* ──────────────────────────
       WORKS
    ────────────────────────── */
    #works { background: var(--gray-bg); }

    .works-body {
      flex: 1;
      background: var(--white);
      padding: 52px 80px 48px;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .works-header {
      display: none;
    }

    .works-note {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 12px;
      font-weight: 400;
      line-height: 17px;
      color: #333333;
      display: block;
      margin-top: 20px;
      margin-bottom: 20px;
    }

    .works-imgs {
      flex: 1;
      min-height: 0;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 40px;
      margin-bottom: 24px;
    }

    .works-img-main {
      flex: 2;
      min-width: 0;
      height: 100%;
      width: 100%;
      object-fit: contain;
      object-position: left center;
      display: block;
    }

    .works-img-sub {
      flex: 1;
      min-width: 0;
      height: 100%;
      background: #e0e0e0;
      display: block;
    }

    .works-client {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #333333;
      line-height: 28px;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    .works-ttl {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 28px;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 14px;
      color: #333333;
    }

    .works-contact-link {
      position: absolute;
      bottom: 48px;
      right: 80px;
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: #333333;
      text-decoration: underline;
      text-underline-offset: 3px;
      opacity: 0.7;
      transition: opacity 0.2s;
      z-index: 10;
    }

    .works-contact-link:hover { opacity: 1; }

    /* ─── スライダー ─── */
    .works-slider {
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .works-track {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .works-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: row;
      gap: 56px;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.9s ease;
      background: var(--white);
      z-index: 0;
    }

    .works-slide.active {
      opacity: 1;
      pointer-events: auto;
      z-index: 1;
    }

    .works-imgs {
      flex: 1.4;
      min-width: 0;
      margin-bottom: 0;
    }

    .works-img-main {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: left center;
    }

    .works-side {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding-top: 40px;
      padding-bottom: 48px;
    }

    .works-footer {
      display: flex;
      align-items: flex-end;
      gap: 24px;
      padding-top: 16px;
    }

    .works-bottom {
      flex: 1;
      overflow: hidden;
    }

    .works-arrows-fixed {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
      padding-bottom: 2px;
    }

    .works-desc {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 14px;
      font-weight: 400;
      line-height: 28px;
      color: #333333;
    }

    .works-imgs {
      position: relative;
    }

    /* デスクトップ：works-side下に固定 */
    .works-arrows--mobile { display: none; }
    .works-arrows--desktop {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
      margin-top: auto;
      padding-top: 16px;
    }

.arr-btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 1.5px solid #333333;
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #333333;
      transition: all 0.18s;
      font-family: 'Inter', sans-serif;
    }

    .arr-btn:hover {
      background: #333333;
      color: var(--white);
    }

    /* ──────────────────────────
       ABOUT
    ────────────────────────── */
    #about { background: var(--gray-bg); }

    .about-body {
      flex: 1;
      padding: 0 80px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .about-inner {
      display: flex;
      gap: 0;
      align-items: flex-start;
      width: 100%;
      padding-top: 0;
    }

    .about-left {
      flex: 1;
    }

    .about-catch {
      color: var(--yellow);
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 22px;
      font-weight: 700;
      line-height: 44px;
      margin-bottom: 36px;
      padding-top: 32px;
    }

    .about-text {
      color: var(--yellow);
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 22px;
      font-weight: 700;
      line-height: 44px;
    }

    .about-right {
      flex: 1;
      border-left: 1px solid rgba(255,255,255,0.45);
      padding-left: 80px;
      padding-top: 32px;
    }

    .info-row { margin-bottom: 32px; }

    .info-label {
      font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: #ffffff;
      letter-spacing: 0.05em;
      line-height: 34px;
      margin-bottom: 2px;
    }

    .info-val {
      font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: #ffffff;
      line-height: 34px;
    }

    .info-val--ja {
      font-family: 'Montserrat', 'Zen Kaku Gothic New', sans-serif;
      font-weight: 500;
    }

    /* ──────────────────────────
       CONTACT
    ────────────────────────── */
    #contact { background: var(--black); }

    .contact-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      padding: 80px 64px;
    }

    .contact-card {
      background: var(--black);
      border: 1.5px solid var(--yellow);
      border-radius: 18px;
      padding: 52px 64px;
      width: 840px;
      height: auto;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.22s, border-color 0.22s;
    }

    .contact-head {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 48px;
      font-weight: 700;
      line-height: 81.6px;
      color: var(--yellow);
      margin-bottom: 40px;
      transition: color 0.22s;
    }

    .contact-mail {
      font-family: 'Montserrat', sans-serif;
      font-size: 40px;
      font-weight: 600;
      color: var(--yellow);
      letter-spacing: 0.01em;
      transition: color 0.22s;
    }

    .contact-note {
      font-family: 'Zen Kaku Gothic New', sans-serif;
      font-size: 13px;
      font-weight: 400;
      color: #ffffff;
      line-height: 24px;
      width: 840px;
      text-align: left;
    }

    .contact-note p { margin-bottom: 16px; }

    .contact-note-list {
      display: flex;
      gap: 48px;
    }

    .contact-go {
      position: absolute;
      bottom: 28px;
      right: 28px;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 1.5px solid var(--yellow);
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--yellow);
      font-family: 'Inter', sans-serif;
      transition: all 0.22s;
    }

    .contact-card:hover {
      background: var(--yellow);
      border-color: var(--yellow);
      transition: all 0.22s;
    }

    .contact-card:hover .contact-head,
    .contact-card:hover .contact-mail {
      color: var(--black);
    }

    .contact-card:hover .contact-go {
      background: var(--yellow);
      border-color: var(--black);
      color: var(--black);
    }


    /* ── モバイル/タブレット コピーライト ── */
    #mobile-copy {
      display: none;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: #888;
      padding: 0 0 32px;
      width: 100%;
    }

    @media (max-width: 1199px) {
      #mobile-copy { display: block; }
    }

    /* ── セクションラベル固定（tablet/mobile） ── */
    #section-label {
      display: none;
      position: fixed;
      top: 28px;
      left: 24px;
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.08em;
      z-index: 150;
      opacity: 0;
      transition: opacity 0.3s ease, color 0.3s ease;
      pointer-events: none;
    }

    #section-label.visible { opacity: 1; }

    @media (max-width: 1199px) {
      #section-label { display: block; }
    }

    /* ══════════════════════════════
       モーダル
    ══════════════════════════════ */
    #modal {
      display: flex;
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(0,0,0,0.88);
      align-items: center;
      justify-content: center;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    #modal {
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    #modal.open {
      display: flex;
      opacity: 1;
      pointer-events: auto;
    }

    .modal-inner {
      position: relative;
      width: 90vw;
      max-width: 1100px;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .modal-img-wrap {
      flex: 1;
      display: flex;
      overflow: hidden;
      border-radius: 8px;
    }

    .modal-track {
      position: relative;
      width: 100%;
      height: 75vh;
    }

    .modal-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: transparent;
      border-radius: 8px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .modal-img.active {
      opacity: 1;
    }

    .modal-arr {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,0.5);
      background: transparent;
      color: white;
      font-size: 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: all 0.18s;
    }

    .modal-arr:hover { background: white; color: black; }

    @media (max-width: 767px) {
      .modal-arr { display: none; }
      .modal-inner { width: 92vw; gap: 0; }
      .modal-img { height: auto; max-height: 80vh; width: 100%; }
    }

    .modal-close {
      position: absolute;
      top: -48px;
      right: 0;
      background: transparent;
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      line-height: 1;
      opacity: 0.7;
      transition: opacity 0.18s;
    }

    .modal-close:hover { opacity: 1; }

    .modal-counter {
      position: absolute;
      bottom: -36px;
      left: 50%;
      transform: translateX(-50%);
      font-family: 'Montserrat', sans-serif;
      font-size: 13px;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.1em;
    }

    /* メイン画像クリッカブル */
    .works-img-wrap {
      position: relative;
      display: inline-block;
      line-height: 0;
    }

    .works-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(250, 255, 40, 0);
      transition: background 0.25s ease;
      pointer-events: none;
    }

    .works-img-wrap:hover::after {
      background: rgba(250, 255, 40, 0.28);
    }

    .works-img-main {
      cursor: pointer;
      display: block;
    }


    /* ══════════════════════════════
       ハンバーガーボタン（tablet/mobile）
    ══════════════════════════════ */
    #menu-btn {
      display: none;
      position: fixed;
      top: 24px;
      right: 24px;
      z-index: 300;
      width: 48px;
      height: 48px;
      background: transparent;
      border: none;
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 0;
    }

    #menu-btn span {
      display: block;
      width: 28px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    /* Works/About/Contact上ではボタン色を黒に */
    #menu-btn.on-light span { background: var(--black); }
    #menu-btn.on-yellow span { background: var(--yellow); }

    /* 開いた状態 */
    #menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #menu-btn.open span:nth-child(2) { opacity: 0; }
    #menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    #menu-btn.open span { background: var(--black); }

    /* ── メニューオーバーレイ ── */
    #menu-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--yellow);
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: 80px 48px;
      opacity: 0;
      transition: opacity 0.35s ease;
      pointer-events: none;
    }

    #menu-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .overlay-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 40px;
      margin-bottom: 60px;
    }

    .overlay-nav a {
      text-decoration: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 36px;
      font-weight: 400;
      color: var(--black);
      letter-spacing: 0.04em;
    }

    .overlay-copy {
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      color: #888;
    }

    /* ══════════════════════════════
       TABLET  768px – 1199px
    ══════════════════════════════ */
    @media (max-width: 1199px) {

      #sidebar { display: none; }
      #menu-btn { display: flex; }
      #menu-overlay { display: flex; }

      .section {
        margin-left: 0;
      }

      /* Hero */
      .hero-body { padding: 36px 48px 72px; }
      .hero-logo { width: 220px; margin-bottom: 40px; }
      .hero-mark { width: 600px; height: 600px; top: 50%; right: -80px; transform: translateY(-60%); }
      .hero-title { font-size: 56px; margin-bottom: 36px; }

      /* Works */
      .works-body { padding: 44px 56px 40px; }
      .works-ttl { font-size: 22px; }
      .works-imgs { gap: 28px; }

      /* About */
      .about-body { padding: 0 56px; }
      .about-catch { font-size: 18px; line-height: 38px; }
      .about-text  { font-size: 18px; line-height: 38px; }
      .about-right { padding-left: 56px; }
      .info-label, .info-val { font-size: 14px; line-height: 28px; }

      /* Contact */
      .section#contact { flex-direction: column; }
      .contact-body { flex: 1; }
      .contact-card { width: 680px; height: 500px; padding: 52px; }
      .contact-head { font-size: 36px; line-height: 62px; margin-bottom: 32px; }
      .contact-mail { font-size: 28px; }
    }

    /* ══════════════════════════════
       MOBILE  ≤ 767px
    ══════════════════════════════ */
    @media (max-width: 767px) {

      #scroll-container { scroll-snap-type: none; }
      #hero { scroll-snap-align: none; }

      #sidebar { display: none; }
      #menu-btn { display: flex; top: 20px; right: 20px; }
      #menu-overlay { display: flex; padding: 72px 32px; }
      .overlay-nav a { font-size: 28px; }

      .section {
        margin-left: 0;
        height: auto;
        min-height: 100vh;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
      }

      /* Hero */
      #hero { height: 100vh; overflow: hidden; }
      .hero-body {
        padding: 24px 28px 32px;
        height: 100vh;
        justify-content: space-between;
      }
      .hero-logo { width: 120px; margin-bottom: 0; }
      .hero-mark { width: 380px; height: 380px; top: 50%; right: -60px; transform: translateY(-60%); }
      .hero-bottom { margin-top: 0; }
      .hero-title { margin-bottom: 14px; }
      .hero-sub { font-size: 12px; line-height: 22px; }
      .hero-nav ul { gap: 28px; }

      /* Works */
      .works-img-wrap:hover::after { background: transparent; }
      .section#works { height: 100vh; }
      .works-body { padding: 32px 28px 28px; } /* 左右28px */
      .works-slide { flex-direction: column; gap: 16px; position: relative; inset: auto; display: none; opacity: 1; }
      .works-slide.active { display: flex; }
      .works-imgs { flex: none; width: 100%; margin-bottom: 8px; position: relative; }
      .works-img-main { width: 100%; height: auto; object-fit: contain; }
      .works-side { flex: none; width: 100%; padding-bottom: 0; justify-content: flex-start; }
      .works-client { font-size: 12px; line-height: 22px; margin-bottom: 6px; }
      .works-ttl { font-size: 18px; margin-bottom: 8px; }
      .works-desc { font-size: 12px; line-height: 22px; }
      .works-note { font-size: 11px; }
      .works-footer { gap: 16px; padding-top: 10px; flex-direction: column; align-items: flex-start; padding-bottom: 24px; }
      .works-contact-link { position: static; margin-top: 4px; }
      .arr-btn { width: 44px; height: 44px; font-size: 16px; }
      .works-arrows--desktop { display: none; }
      .works-arrows--mobile {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 8px;
        pointer-events: none;
        z-index: 5;
      }
      .works-arrows--mobile .arr-btn {
        pointer-events: auto;
        background: rgba(255,255,255,0.85);
        border-color: transparent;
      }

      /* About — 縦積み */
      .section#about { height: auto; min-height: 100vh; }
      .about-body { padding: 56px 28px; justify-content: flex-start; } /* 左右28px */
      .about-inner { flex-direction: column; gap: 48px; }
      .about-left { width: 100%; }
      .about-catch { font-size: 16px; line-height: 32px; margin-bottom: 24px; padding-top: 0; }
      .about-text  { font-size: 16px; line-height: 32px; }
      .about-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.45);
        padding-left: 0;
        padding-top: 40px;
      }
      .info-label, .info-val { font-size: 13px; line-height: 26px; }
      .info-row { margin-bottom: 24px; }

      /* Contact */
      .section#contact { flex-direction: column; height: auto; min-height: 0; overflow: visible; padding-bottom: 48px; }
      .contact-body { padding: 40px 28px 32px; flex: none; align-items: stretch; }
      .contact-card {
        width: 100%;
        height: auto;
        min-height: 0;
        flex: none;
        padding: 32px 28px 36px;
        border-radius: 14px;
      }
      .contact-head { font-size: 18px; line-height: 32px; margin-bottom: 16px; }
      .contact-mail { font-size: 15px; word-break: break-all; }
      .contact-go { width: 40px; height: 40px; font-size: 15px; }
      .contact-note { width: 100%; font-size: 12px; }
      .contact-note-list { gap: 24px; }
      #mobile-copy { padding: 12px 0 16px; }
    }