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

    :root {
      --font-display:   'Times New Roman', 'Times', serif;
      --font-body:      'Noto Serif JP', 'Hiragino Mincho Pro', serif;
      --font-structure: 'SimSun-ExtG', 'SimSun', serif;

      --color-bg:      #FBFFFC;
      --color-works:   #E8F5EC;
      --color-sidebar: #C2E0CA;
      --color-border:  #84B890;
      --color-accent:  #2D6E3E;
      --color-btn:     #2D6E3E;
    }

    html, body {
      height: 100%;
      font-family: var(--font-body);
      background: transparent;
      color: #2a3a2e;
    }

    canvas {
      position: fixed;
      top: 0;
      left: 0;
    }

    #bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: -1;
      pointer-events: none;
      object-fit: cover;
    }
    #bg-overlay {
      position: fixed;
      inset: 0;
      background: rgba(255,255,255,0.30);
      z-index: -1;
      pointer-events: none;
    }

    body {
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* === カスタムカーソル（丸） === */
    *, *::before, *::after { cursor: none !important; }

    #custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 18px;
      height: 18px;
      border: 1.5px solid var(--color-accent);
      border-radius: 50%;
      background: var(--color-accent);
      pointer-events: none;
      z-index: 99999;
      transform: translate(-50%, -50%);
      transition: width 0.18s ease, height 0.18s ease,
                  background 0.18s ease, border-color 0.6s ease;
    }
    #custom-cursor.is-large {
      width: 30px;
      height: 30px;
      background: transparent;
    }

    /* === ページ全体レイアウト === */
    .page-wrapper {
      display: flex;
      flex: 1;
      min-height: 0;
    }

    /* === メインカラム（左：作品グリッド） === */
    .main-column {
      flex: 7;
      min-width: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      position: relative;
      perspective: 400px;
      padding-right: 0;
      padding-bottom: 0;
      padding-top: 50px;
    }

    /* === ヘッダー === */
    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 48px 14px 40px;
      flex-shrink: 0;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .main-title {
      font-family: var(--font-display);
      font-size: 60px;
      font-family: 'Times New Roman', Times, serif;
      font-weight: 700;
      color: var(--color-accent);
      letter-spacing: 0.04em;
      margin-top: 10px;
      line-height: 1;
      font-style: Bold;
      transition: color 0.6s ease;
    }

    .lang-switch {
      display: flex;
      gap: 6px;
      align-items: center;
    }

    .lang-btn {
      background: none;
      border: none;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      color: rgba(42,58,46,0.45);
      cursor: pointer;
      letter-spacing: 0.05em;
      padding: 10px 0;
      margin-top: 25px;
      margin-left: 5px;
      transition: all 0.2s;
    }
    .lang-btn.is-active {
      background: var(--color-btn);
      color: #fff;
      border-radius: 20px;
      padding: 4px 14px;
      transition: background 0.6s ease;
    }

    /* === 季節切り替えボタン === */
    .season-switch {
      display: flex;
      gap: 2px;
      align-items: center;
      margin-top: 25px;
    }
    .season-btn {
      background: none;
      border: 1.5px solid transparent;
      font-size: 15px;
      padding: 3px 7px;
      border-radius: 20px;
      cursor: pointer;
      transition: border-color 0.25s, background 0.25s, opacity 0.25s;
      line-height: 1;
      opacity: 0.45;
    }
    .season-btn:hover { opacity: 0.8; border-color: var(--color-border); }
    .season-btn.is-active {
      opacity: 1;
      border-color: var(--color-accent);
      background: var(--color-sidebar);
    }

    .header-nav {
      display: flex;
      align-items: center;
      gap: 18px;
      margin-top: 18px;
    }

    .home-link {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 300;
      letter-spacing: 0.1em;
      color: var(--color-accent);
      text-decoration: none;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 5px 16px;
      transition: background 0.2s, color 0.2s, border-color 0.6s ease;
    }
    .home-link:hover { background: var(--color-accent); color: #fff; }

    .header-icon-svg {
      width: 28px;
      height: 28px;
      display: block;
      color: var(--color-accent);
      opacity: 0.7;
      transition: opacity 0.2s, color 0.6s ease;
    }
    .header-icon-svg:hover { opacity: 1; }

    /* === 作品エリア === */
    .works-main {
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    /* === 作品グリッド === */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    .left-bg {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      background-color: var(--color-bg);
      border-radius: 0 28px 0 0;
      overflow: hidden;
      border-top: 4px solid var(--color-accent);
      box-shadow: inset -6px 0 10px var(--color-border);
      transition: background-color 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
    }

    /* 二重線より内側でスクロール → ::before/::after が固定になる */
    .left-bg-scroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 24px 20px 60px 40px;
      margin-right: 50px;
      scrollbar-width: thin;
      scrollbar-color: var(--color-border) transparent;
    }
    .left-bg-scroll::-webkit-scrollbar { width: 4px; }
    .left-bg-scroll::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

    /* 二重ボーダー装飾（左辺なし） */
    .left-bg::before,
    .left-bg::after {
      content: '';
      position: absolute;
      left: 0;
      border-top: 1px solid var(--color-border);
      border-right: 1px solid var(--color-border);
      border-bottom: none;
      border-left: none;
      pointer-events: none;
      opacity: 0.5;
      transition: border-color 0.6s ease;
    }
    .left-bg::before {
      top: 10px;
      right: 10px;
      bottom: 0;
      border-radius: 0 20px 0 0;
    }
    .left-bg::after {
      top: 18px;
      right: 18px;
      bottom: 0;
      border-radius: 0 12px 0 0;
      opacity: 0.3;
    }



    /* === フィルターバー === */
    .filter-bar {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .filter-btn {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.07em;
      color: var(--color-accent);
      background: transparent;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 5px 14px;
      cursor: none;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }
    .filter-btn:hover  { background: var(--color-works); }
    .filter-btn.is-active {
      background: var(--color-accent);
      color: #fff;
      border-color: var(--color-accent);
    }

    /* === フィーチャードカード === */
    .work-card[data-featured] {
      grid-column: span 2;
      display: flex;
      flex-direction: row;
      align-items: stretch;
    }
    .work-card[data-featured] .work-thumb {
      flex: 0 0 42%;
      aspect-ratio: unset;
      min-height: 155px;
    }
    .work-card[data-featured] .work-thumb img { height: 100%; }
    .work-card[data-featured] .work-meta {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 20px 24px;
    }
    .work-featured-desc {
      font-family: var(--font-body);
      font-size: 12px;
      color: rgba(42,58,46,0.65);
      line-height: 1.8;
      margin-top: 10px;
    }

    /* === 作品カード === */
    .work-card {
      display: block;
      background: var(--color-works);
      border-radius: 12px;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.6s ease;
      border: 1px solid var(--color-border);
      margin-bottom: 20px;
      box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    }
    .work-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    }

    .work-thumb {
      position: relative;
      overflow: hidden;
      background: var(--color-sidebar);
      aspect-ratio: 16 / 9;
      transition: background 0.6s ease;
    }
    .work-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
    .work-card:hover .work-thumb img { transform: scale(1.04); }

    /* ホバーオーバーレイ（円形に広がる） */
    .work-hover-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 160%;
      aspect-ratio: 1;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }
    .work-card:hover .work-hover-overlay {
      transform: translate(-50%, -50%) scale(1);
    }

    /* In Progress バッジ */
    .work-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      background: rgba(255,255,255,0.92);
      color: var(--color-accent);
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.1em;
      padding: 3px 10px;
      border-radius: 20px;
      z-index: 2;
    }

    .work-meta {
      padding: 14px 14px 14px;
    }
    .work-title {
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 400;
      line-height: 1.5;
      margin-top: 8px;
      margin-bottom: 8px;
      color: var(--color-btn);
    }
    .work-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
    }
    .work-tag {
      font-size: 12px;
      font-family: var(--font-body);
      font-weight: 300;
      color: var(--color-accent);
      border: none;
      background: var(--color-sidebar);
      border-radius: 20px;
      padding: 5px 10px;
      white-space: nowrap;
      margin: 5px 3px 0 0;
      transition: border-color 0.6s ease, color 0.6s ease;
    }

    /* === サイドバー：デフォルト↔詳細パネル === */
    .sidebar-default,
    .sidebar-detail {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .sidebar-default {
      transition: opacity 0.35s ease;
    }

    .sidebar-default {
      padding: 60px 35% 160px 32px;
      opacity: 1;
      z-index: 2;
      justify-content: center;
    }
    .sidebar-default.is-hidden { opacity: 0; pointer-events: none; }

    .sidebar-detail {
      padding: 60px 28px 24px;
      opacity: 0;
      transform-origin: left center;
      transform: rotateY(-90deg);
      pointer-events: none;
      z-index: 3;
      background: var(--color-bg);
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                  opacity 0.15s ease;
    }
    .sidebar-detail.is-visible {
      opacity: 1;
      transform: rotateY(0deg);
      pointer-events: auto;
    }
    .sidebar-detail.is-switching {
      opacity: 0 !important;
      transform: rotateY(90deg) !important;
      transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45),
                  opacity 0.15s ease !important;
    }
    .sidebar-detail.is-visible::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.3);
      pointer-events: none;
    }

    .detail-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 400;
      font-style: Bold;
      text-align: center;
      color: var(--color-accent);
      letter-spacing: 0.03em;
      line-height: 1.5;
      margin-bottom: 5px;
      transition: color 0.6s ease;
    }
    .detail-scope {
      text-align: center;
      font-family: var(--font-body);
      font-size: 13px;
      color: var(--color-border);
      letter-spacing: 0.06em;
      line-height: 1.8;
      margin-bottom: 12px;
    }
    .detail-divider {
      width: 50%;
      height: 1px;
      background: var(--color-border);
      opacity: 0.45;
      margin: 0 auto 20px;
      transition: background 0.6s ease;
    }
    .detail-role-label {
      font-family: var(--font-body);
      font-size: 13px;
      text-align: center;
      font-weight: 500;
      letter-spacing: 0.1em;
      color: var(--color-accent);
      margin-bottom: 5px;
      transition: color 0.6s ease;
    }
    .detail-role {
      font-family: var(--font-body);
      font-size: 13px;
      text-align: center;
      color: rgba(42,58,46,0.65);
      line-height: 1.75;
      margin-bottom: 20px;
    }
    .detail-img-wrap { width: 100%; margin-bottom: 50px; }
    .detail-img {
      width: 100%;
      border-radius: 8px;
      object-fit: cover;
      aspect-ratio: 16 / 9;
    }
    .detail-desc {
      font-family: var(--font-body);
      font-size: 13px;
      text-align: center;
      color: rgba(42,58,46,0.72);
      line-height: 1.9;
      flex: 1;
      margin-bottom: 18px;
    }
    .detail-footer {
      margin-top: auto;
      display: flex;
      justify-content: center;
      gap: 20px;
      padding-top: 8px;
    }
    .detail-footer a { display: block; opacity: 0.6; transition: opacity 0.2s; }
    .detail-footer a:hover { opacity: 1; }
    .detail-footer svg { width: 24px; height: 24px; display: block; }

    /* === サイドバー（右） === */
    .sidebar {
      flex: 4;
      min-width: 0;
      background: transparent;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      perspective: 800px;
      transition: background 0.6s ease, border-color 0.6s ease;
    }
    .brand-title {
      font-family: var(--font-display);
      font-size: 60px;
      font-weight: 500;
      font-style: bold;
      text-align: center;
      color: color-mix(in srgb, var(--color-accent) 50%, transparent);
      letter-spacing: 0.04em;
      line-height: 1.2;
      margin-top: 50px;
      margin-bottom: 40px;
      margin-right: -100px;
      transition: color 0.6s ease;
    }

    .brand-role {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 300;
      color: color-mix(in srgb, var(--color-border) 80%, transparent);
      letter-spacing: 0.08em;
      line-height: 1.8;
      margin-bottom: 36px;
      margin-right: -90px;
      text-align: center;
    }

    .brand-catch {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 300;
      font-style: blod;
      color: var(--color-accent);
      letter-spacing: 0.03em;
      line-height: 1.9;
      opacity: 0.85;
      text-align: center;
      margin-right: -90px;
      transition: color 0.6s ease;
    }

    .sidebar-divider {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 55px 40%;
      color: var(--color-border);
      font-size: 40px;
      transition: color 0.6s ease;
    }
    .sidebar-divider::before,
    .sidebar-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      width: 55px;
      flex: none;
      background: var(--color-border);
      transition: background 0.6s ease;
    }

    @keyframes hint-pulse {
      0%, 100% { opacity: 0.1; }
      50%       { opacity: 0.5; }
    }
    .sidebar-hint {
      font-size: 12px;
      font-family: var(--font-body);
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-top: -20px;
      margin-right: -90px;
      text-align: center;
      animation: hint-pulse 3s ease-in-out infinite;
    }

    /* === サイドバー固定フッター === */
    .sidebar-footer {
      position: absolute;
      bottom: 28px;
      left: 32px;
      right: 32px;
      z-index: 10;
      pointer-events: auto;
    }

    .contact-label {
      display: block;
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 500;
      color: var(--color-border);
      letter-spacing: 0.06em;
      text-align: right;
      margin-bottom: 12px;
      text-decoration: none;
      transition: opacity 0.7s ease, color 0.2s ease;
    }
    .contact-label:hover { color: var(--color-accent); }
    .contact-label.is-hidden {
      opacity: 0;
      transition: opacity 0.35s ease;
    }

    .contact-icons {
      display: flex;
      justify-content: right;
      align-items: center;
      gap: 20px;
    }
    .contact-icons a { display: block; opacity: 0.65; transition: opacity 0.2s; }
    .contact-icons a:hover { opacity: 1; }
    .contact-icons svg { width: 28px; height: 28px; display: block; }
    .contact-icons a:first-child svg { width: 20px; height: 20px; }

    .sidebar-copy {
      margin-top: 20px;
      padding-top: 0;
      font-family: var(--font-body);
      font-size: 9px;
      font-weight: 300;
      color: var(--color-border);
      text-align: right;
      letter-spacing: 0.06em;
    }

    /* STRUCTURE 縦書き装飾 */
    .structure-deco {
      position: absolute;
      right: -23px;
      top: -5px;
      bottom: 0;
      writing-mode: vertical-rl;
      font-family: var(--font-structure);
      font-size: 130px;
      font-weight: 400;
      font-style: normal;
      letter-spacing: 0.05em;
      color: color-mix(in srgb, var(--color-border) 40%, transparent);
      user-select: none;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      pointer-events: none;
      transition: color 0.6s ease;
      z-index: 1;
    }

    /* === モーダル === */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(42,58,46,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 500;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .modal-overlay.is-open { opacity: 1; pointer-events: auto; }

    .modal-box {
      background: var(--color-bg);
      border-radius: 16px;
      padding: 40px 36px 36px;
      max-width: 620px;
      width: 90%;
      max-height: 84vh;
      overflow-y: auto;
      position: relative;
      scrollbar-width: thin;
      scrollbar-color: var(--color-border) transparent;
      transition: background 0.6s ease;
    }
    .modal-box::-webkit-scrollbar { width: 4px; }
    .modal-box::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      background: none;
      border: 1px solid var(--color-border);
      border-radius: 50%;
      font-size: 16px;
      color: var(--color-accent);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
    }
    .modal-close:hover { background: var(--color-accent); color: #fff; }

    .modal-title {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 300;
      font-style: italic;
      color: var(--color-accent);
      letter-spacing: 0.04em;
      line-height: 1.4;
      margin-bottom: 6px;
      padding-right: 36px;
      transition: color 0.6s ease;
    }

    .modal-scope {
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 300;
      color: rgba(42,58,46,0.55);
      letter-spacing: 0.08em;
      margin-bottom: 14px;
    }

    .modal-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 18px;
    }
    .modal-tag {
      font-size: 10px;
      font-family: var(--font-body);
      font-weight: 300;
      color: var(--color-accent);
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 2px 12px;
    }

    .modal-img {
      width: 100%;
      border-radius: 10px;
      display: block;
      margin-bottom: 20px;
      border: 1px solid var(--color-border);
    }

    .modal-divider {
      height: 1px;
      background: var(--color-border);
      margin: 16px 0;
      opacity: 0.5;
    }

    .modal-role-label {
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.12em;
      color: var(--color-accent);
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .modal-role {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 300;
      color: rgba(42,58,46,0.7);
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .modal-desc {
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 300;
      color: #2a3a2e;
      line-height: 1.9;
      margin-bottom: 20px;
    }
    .modal-desc .desc-lead {
      margin-bottom: 20px;
      line-height: 1.9;
    }
    .modal-desc .desc-section { margin-bottom: 18px; }
    .modal-desc .desc-section h3 {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.08em;
      color: var(--color-accent);
      margin-bottom: 8px;
      padding-bottom: 4px;
      border-bottom: 1px solid var(--color-border);
    }
    .modal-desc .desc-section ul,
    .modal-desc .desc-section ol {
      padding-left: 18px;
      margin-bottom: 10px;
    }
    .modal-desc .desc-section li { margin-bottom: 5px; }
    .modal-desc .desc-note {
      margin-top: 10px;
      padding: 10px 12px;
      background: rgba(0,0,0,0.03);
      border-left: 2px solid var(--color-border);
      font-size: 11.5px;
    }
    .modal-desc .desc-note dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
    .modal-desc .desc-note dt { font-weight: 500; color: rgba(42,58,46,0.7); white-space: nowrap; }
    .modal-desc .desc-note dd { color: #2a3a2e; }
    .modal-desc .desc-related {
      margin-top: 10px;
      font-size: 11.5px;
      color: rgba(42,58,46,0.65);
      font-style: italic;
    }

    .modal-subtitle {
      font-family: var(--font-body);
      font-size: 11px;
      color: rgba(42,58,46,0.5);
      letter-spacing: 0.08em;
      margin-bottom: 16px;
    }

    /* === mwork コンテンツ === */
    .mwork__lead {
      font-family: var(--font-body);
      font-size: 13px;
      color: rgba(42,58,46,0.78);
      line-height: 1.95;
      margin-bottom: 20px;
    }

    /* === ギャラリー（design works） === */
    .mwork__media { margin-bottom: 6px; }
    .modal__figure {
      position: relative;
      margin: 0;
      line-height: 0;
    }
    .mwork__img {
      width: 100%;
      border-radius: 8px;
      display: block;
      border: 1px solid var(--color-border);
      transition: opacity 0.25s ease;
      max-height: 380px;
      object-fit: contain;
      background: var(--color-works);
    }
    .mwork__img.is-switching { opacity: 0; }
    .mgallery-ghost {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 8px;
      object-fit: contain;
      transition: opacity 0.4s ease, filter 0.4s ease;
      pointer-events: none;
    }
    .mgallery-ghost.is-done { opacity: 0; filter: blur(4px); }
    .mgallery-ui {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 8px;
    }
    .mgallery-ui__btn {
      background: none;
      border: 1px solid var(--color-border);
      border-radius: 50%;
      width: 28px;
      height: 28px;
      font-size: 12px;
      color: var(--color-accent);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, color 0.2s;
    }
    .mgallery-ui__btn:hover { background: var(--color-accent); color: #fff; }
    .mgallery-ui__btn:disabled { opacity: 0.3; pointer-events: none; }
    .mgallery-ui__label {
      font-family: var(--font-body);
      font-size: 11px;
      color: var(--color-border);
      letter-spacing: 0.06em;
      min-width: 80px;
      text-align: center;
    }

    /* === mwork langbar (JP/EN) === */
    .mwork__langbar {
      display: flex;
      gap: 6px;
      margin: 14px 0 10px;
    }
    .mwork__langbtn {
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.08em;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 3px 12px;
      background: transparent;
      color: var(--color-accent);
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .mwork__langbtn.is-active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

    /* === mwork sections === */
    .mwork__divider {
      border-top: 1px solid var(--color-border);
      padding-top: 14px;
      margin-top: 14px;
      opacity: 0.6;
    }
    .mwork__divider.mwork__points { opacity: 1; }
    .mwork__points h3, .mwork__process h3 {
      font-family: var(--font-body);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.12em;
      color: var(--color-accent);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .mwork__points ul, .mwork__process ol {
      font-family: var(--font-body);
      font-size: 12px;
      color: rgba(42,58,46,0.72);
      line-height: 1.75;
      padding-left: 18px;
      margin-bottom: 10px;
    }
    .mwork__points li, .mwork__process li { margin-bottom: 4px; }
    .mwork__process { margin-top: 12px; }
    .mwork__note {
      margin-top: 10px;
      padding: 10px 12px;
      background: rgba(0,0,0,0.03);
      border-left: 2px solid var(--color-border);
      font-size: 11px;
    }
    .mwork__note dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
    .mwork__note dt { font-weight: 500; color: rgba(42,58,46,0.7); white-space: nowrap; }
    .mwork__note dd { color: #2a3a2e; }
    .mwork__related {
      margin-top: 10px;
      font-size: 11.5px;
      color: rgba(42,58,46,0.6);
      font-style: italic;
      font-family: var(--font-body);
    }
    .mwork__en {
      font-family: var(--font-body);
      font-size: 12px;
      color: rgba(42,58,46,0.72);
      line-height: 1.75;
    }

    /* === onsen タブ式バリエーション === */
    .mtabs {
      display: flex;
      gap: 6px;
      margin-bottom: 12px;
    }
    .mtab {
      font-family: var(--font-body);
      font-size: 11px;
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 4px 14px;
      background: transparent;
      color: var(--color-accent);
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .mtab.is-active { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
    .mpanel { display: none; }
    .mpanel.is-active { display: block; }
    .modal__figure figcaption, .modal__caption {
      font-family: var(--font-body);
      font-size: 11px;
      color: rgba(42,58,46,0.6);
      line-height: 1.65;
      margin-top: 8px;
      padding: 0 2px;
    }
    .modal__figure img {
      width: 100%;
      border-radius: 8px;
      display: block;
      border: 1px solid var(--color-border);
    }

    /* === スパイラルリング === */
    #ring-spine-img {
      position: fixed;
      top: 50%;
      left: calc(63.6% - 30px); /* JSが動的に上書き */
      transform: translateY(-50%);
      width: 60px;
      height: auto;
      z-index: 200;
      pointer-events: none;
      filter: var(--ring-filter);
    }

    /* === Page Top（縦書き角丸ボタン） === */
    .page-top {
      position: fixed;
      bottom: 20px;
      right: -30px;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      padding: 16px 0;
      background: var(--color-accent);
      border-radius: 0 10px 10px 0;
      text-decoration: none;
      opacity: 0;
      transform-origin: left center;
      transform: rotateY(-90deg);
      pointer-events: none;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                  opacity 0.15s ease,
                  background 0.6s ease;
    }
    .page-top.is-visible { opacity: 1; transform: rotateY(0deg); pointer-events: auto; }
    .page-top:hover { opacity: 0.7; }

    .page-top__text {
      writing-mode: vertical-rl;
      text-orientation: upright;
      font-family: var(--font-display);
      font-size: 9px;
      font-weight: 400;
      letter-spacing: 0.1em;
      white-space: nowrap;
      color: #fff;
    }

    /* === ローダー === */
    #loader {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: var(--color-loader-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.9s ease;
    }
    #loader.is-out  { opacity: 0; pointer-events: none; }
    #loader.is-gone { display: none; }
    .loader-logo {
      width: clamp(200px, 32vw, 340px);
      opacity: 0;
      transform: translateY(12px);
      animation: loader-logo-in 0.8s ease 0.3s forwards;
      transition: filter 0s;
    }
    @keyframes loader-logo-in {
      to { opacity: 1; transform: translateY(0); }
    }


    /* === モバイルイントロカード（デフォルト非表示） === */
    #mobile-intro {
      display: none;
    }
    #mobile-intro .mobile-intro__title {
      font-family: var(--font-display);
      font-size: 42px;
      font-weight: 700;
      color: var(--color-accent);
      letter-spacing: 0.04em;
      transition: color 0.6s ease;
    }
    #mobile-intro .mobile-intro__role {
      font-family: var(--font-body);
      font-size: 13px;
      color: color-mix(in srgb, var(--color-border) 80%, transparent);
      letter-spacing: 0.08em;
    }
    #mobile-intro .mobile-intro__catch {
      font-family: var(--font-display);
      font-size: 13px;
      color: var(--color-accent);
      letter-spacing: 0.04em;
      line-height: 1.9;
      text-align: center;
      opacity: 0.85;
    }
    #mobile-intro .mobile-intro__divider {
      width: 40px;
      height: 1px;
      background: var(--color-border);
      opacity: 0.5;
      margin: 4px 0;
    }
    #mobile-intro .mobile-intro__links {
      display: flex;
      gap: 24px;
      margin-top: 4px;
    }
    #mobile-intro .mobile-intro__links a {
      display: block;
      opacity: 0.6;
    }
    #mobile-intro .mobile-intro__links svg {
      width: 22px;
      height: 22px;
      display: block;
    }

    /* === モバイルコンタクトボタン（デフォルト非表示） === */
    #mobile-contact {
      display: none;
    }

    /* === モバイルフッター（デフォルト非表示） === */
    .mobile-footer {
      display: none;
    }

    /* === レスポンシブ対応（768px以下） === */
    @media (max-width: 768px) {
      /* カーソル無効化 */
      *, *::before, *::after { cursor: auto !important; }
      #custom-cursor { display: none; }

      /* リング非表示 */
      #ring-spine-img { display: none; }

      /* body: スクロール許可 */
      body {
        overflow-x: hidden;
        overflow-y: auto;
      }

      /* ページラッパー縦積み */
      .page-wrapper {
        flex-direction: column;
      }

      /* メインカラム全幅 */
      .main-column {
        flex: none;
        width: 100%;
        padding-top: 0;
        perspective: none;
      }

      /* サイドバー非表示 */
      .sidebar { display: none; }

      /* left-bg: 角丸・影を削除しシンプルに */
      .left-bg {
        border-radius: 0;
        border-top: none;
        box-shadow: none;
        min-height: 100svh;
        height: auto;
      }

      /* works-main: スクロール解放 */
      .works-main {
        overflow: visible;
        height: auto;
      }

      /* left-bg-scroll: ウィンドウスクロールに委ねる */
      .left-bg-scroll {
        overflow-y: visible;
        height: auto;
        margin-right: 0;
        padding: 16px 16px 40px;
      }

      /* ヘッダー調整 */
      .site-header {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 6px;
      }
      .main-title { font-size: 36px; }
      .header-nav { margin-top: 0; }
      .lang-btn, .season-btn { margin-top: 0; }

      /* Works グリッド: 1カラム */
      .works-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .work-card[data-featured] {
        grid-column: span 1;
        flex-direction: column;
      }
      .work-card[data-featured] .work-thumb {
        flex: none;
        aspect-ratio: 16 / 9;
        min-height: unset;
      }

      /* page-top: 右端固定 */
      .page-top {
        right: 0;
        left: auto;
        bottom: 16px;
        border-radius: 10px 0 0 10px;
        transform-origin: right center;
        transform: rotateY(90deg);
      }
      .page-top.is-visible { transform: rotateY(0deg); }

      /* モバイルイントロカード */
      #mobile-intro {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: var(--color-bg, #FBFFFC);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.7s ease;
      }
      #mobile-intro.is-visible {
        opacity: 1;
      }

      /* モバイルコンタクトボタン（右上固定） */
      #mobile-contact {
        display: flex;
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 500;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--color-accent);
        align-items: center;
        justify-content: center;
        opacity: 0.88;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        transition: background 0.6s ease, opacity 0.2s;
      }
      #mobile-contact:hover { opacity: 1; }
      #mobile-contact svg { width: 18px; height: 18px; display: block; color: #fff; }

      /* モバイルフッター */
      .mobile-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 40px 20px 60px;
        margin-top: 40px;
        border-top: 1px solid var(--color-border);
        opacity: 0.75;
      }
      .mobile-footer__title {
        font-family: var(--font-display);
        font-size: 26px;
        font-weight: 700;
        color: var(--color-accent);
        letter-spacing: 0.05em;
        transition: color 0.6s ease;
      }
      .mobile-footer__role {
        font-family: var(--font-body);
        font-size: 11px;
        color: var(--color-border);
        letter-spacing: 0.08em;
      }
      .mobile-footer__links {
        display: flex;
        gap: 20px;
        margin-top: 6px;
      }
      .mobile-footer__links a { display: block; opacity: 0.65; }
      .mobile-footer__links a:hover { opacity: 1; }
      .mobile-footer__links svg { width: 24px; height: 24px; display: block; }
      .mobile-footer__copy {
        font-family: var(--font-body);
        font-size: 9px;
        color: var(--color-border);
        letter-spacing: 0.06em;
        margin-top: 6px;
      }
    }
