/* ============================================================
   TRILLION GARDEN — A案（v3 の磨き上げ）共通スタイル
   2026-09-26 作成／2026-09-27 直し（独立査読の指摘と4案共通の新しい決まり）
   v3 の色・書体・ガラスの質感・白い温室を引き継ぎ、8ページで同じ部品を使う。
   立ち絵はすべて「そろえた立ち絵（全身 1920×2400・頭270px）」を、
   頭の高さ（--head）と目の位置（--fx / --fy）で置く＝どの場所でも縮尺と目の高さがそろう。

   🔴 4案共通の決まり：立ち絵を切るのは「鎖骨より上」か「膝より下」だけ。胸から太ももの間では切らない。
      手前の物（札・枠・くもり）で隠す時も、隠れる上端は鎖骨の高さにする。
      6人の目印（_build/landmarks.json）から、目の線からの距離（頭の何倍か）で線を引く：
        --hide-from 0.50 ＝ 隠す物の上端（全員の鎖骨より上）
        --cut-from  5.0  ＝ 切り口（全員の膝頭の下より下。2026-09-27 再査読で 4.85→5.0）
   飾り（浮遊する図形・キラキラ・花びら・蝶・マウスの光）は置かない。
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --acc-lav: #9b8bc4;
  --acc-pink: #e8a5c0;
  --acc-blue: #a5c5e8;
  --gold-line: #cdb98a;
  --serif: 'Cormorant Garamond', 'Shippori Mincho B1', serif;
  --mincho: 'Shippori Mincho B1', 'Zen Maru Gothic', serif;
  --jost: 'Jost', 'Zen Maru Gothic', sans-serif;
  --script: 'Dancing Script', 'Cormorant Garamond', cursive;
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-step: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease-breath: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-scene: cubic-bezier(0.65, 0, 0.35, 1);
  --tg-nukumo: #6fa8c6; --tg-kunka: #e0a368; --tg-hisame: #d77e91;
  --tg-mimosa: #7fae6e; --tg-horobi: #b7806e; --tg-mystery: #6e74b7;

  /* 決まりの線（目の線から頭何倍か） */
  --hide-from: 0.50;
  --cut-from: 5.0;

  /* 立ち絵の大きさ（頭の高さ・目の位置） */
  --hdr: 80px;
  --hero-head: clamp(96px, 13.34vh, 148px);                 /* 1440×900 で 120px・1920×1080 で 144px */
  /* 目の線：ヘッダーの下 1.80頭。ただし胸の中心（最大で目の線から頭1.20倍）が画面の上から40%より上に来る高さを超えない */
  --hero-eye: min(calc(var(--hdr) + 1.80 * var(--hero-head)), calc(39.5vh - 1.20 * var(--hero-head)));
  --win-head: 76px;                                         /* トップの温室の窓 */
  --win-eye: 150px;
  --card-head: 80px;                                        /* 一覧の小部屋 */
  --card-eye: 150px;
}

/* ---------- 昼（既定）／夜 ---------- */
:root, body[data-scene="day"] {
  --scene-bg: #ffffff;
  --scene-bg-2: #fbf7fd;
  --t-body: #5a4a7a;
  --t-heading: #7a6ba8;
  --t-heading-ink: #6b5c99;
  --t-sub-ink: #5f5182;
  --em: #a8487a;
  --hair: rgba(155, 139, 196, 0.30);
  --paper: #fcfaf4;
  --paper-2: #fffdf8;
  --glass-fill: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.54));
  --glass-edge: rgba(255,255,255,.92);
  --header-bg: rgba(255,255,255,0.92);
  --shadow-card: 0 18px 38px rgba(78,90,110,.14);
  --panel-bg: linear-gradient(180deg, rgba(247,244,252,0.86), rgba(243,239,250,0.90));
  --frost: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.55));  /* 隠すくもり（下ほど濃い） */
  --breath: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.16)); /* 息のくもり（顔が最初から分かる強さ） */
  --day: 1; --night: 0;
}
body[data-scene="night"] {
  --scene-bg: #1c1936;
  --scene-bg-2: #252045;
  --t-body: #ece6f7;
  --t-heading: #dcd0f5;
  --t-heading-ink: #dcd0f5;
  --t-sub-ink: #cbbfe6;
  --em: #f2b6d2;
  --hair: rgba(200,184,240,0.26);
  --paper: #2a2450;
  --paper-2: #2d2752;
  --glass-fill: linear-gradient(180deg, rgba(58,50,104,.90), rgba(46,40,88,.88));
  --glass-edge: rgba(200,184,240,.34);
  --header-bg: rgba(24,21,48,0.92);
  --shadow-card: 0 18px 40px rgba(6,4,20,.45);
  --panel-bg: linear-gradient(180deg, rgba(44,38,82,0.92), rgba(36,31,70,0.94));
  --frost: linear-gradient(180deg, rgba(48,41,90,.60), rgba(40,34,76,.70));
  --breath: linear-gradient(180deg, rgba(60,52,104,.24), rgba(60,52,104,.18));
  --day: 0; --night: 1;
}

html { background: var(--scene-bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
html:has(body[data-scene="night"]) { background: #1c1936; }
body {
  color: var(--t-body); font-family: var(--mincho); line-height: 1.9; letter-spacing: 0.04em;
  background: transparent; overflow-x: hidden;
  transition: color .9s var(--ease-scene);
  word-break: auto-phrase;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.u-nb { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px;
  background: #fff; color: #3c2f5a; font-family: var(--jost); font-size: 14px; text-decoration: none; }
.skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; }

/* ロゴ：昼＝確定ロゴ、夜＝確定ロゴの写しから明るさだけを上げた版（札は使わない） */
.logo-night { display: none; }
body[data-scene="night"] .logo-day { display: none; }
body[data-scene="night"] .logo-night { display: block; }

/* ---------- 背景（昼＝白い紙と水彩の粉／夜＝灯りの落ちた白い温室：壁・床・灯りの奥行き） ---------- */
.bg { position: fixed; inset: 0; z-index: -10; pointer-events: none; background: var(--scene-bg); transition: background .9s var(--ease-scene); }
.bg i { position: absolute; inset: 0; transition: opacity .9s var(--ease-scene); }
.bg .bg-powder { background: url('../sc-hero-bg-day.webp') center / cover no-repeat; mix-blend-mode: multiply; opacity: calc(0.22 * var(--day)); }
.bg .bg-fluid { background: url('../fluid-art.webp') center / cover no-repeat; mix-blend-mode: soft-light; opacity: calc(0.14 * var(--day)); }
.bg .bg-paper { background: url('../paper-fiber.webp') center / 900px auto repeat; mix-blend-mode: multiply; opacity: calc(0.30 * var(--day)); }
.bg .bg-night {
  opacity: var(--night);
  background:
    radial-gradient(60% 38% at 50% -8%, rgba(255, 232, 204, 0.12), transparent 72%),        /* 天井の灯り */
    radial-gradient(70% 26% at 50% 104%, rgba(255, 228, 200, 0.06), transparent 70%),       /* 床の照り返し */
    linear-gradient(180deg, rgba(26,22,52,0.80) 0%, rgba(28,24,56,0.84) 60%, rgba(24,20,48,0.88) 100%),
    url('../gh-room-white.webp') center 34% / cover no-repeat;                              /* 白い部屋（壁・床の線） */
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 4px 18px rgba(80,64,140,0.07);
  transition: background .9s var(--ease-scene), border-color .9s var(--ease-scene);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.site-header .brand img { height: 58px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); list-style: none; }
.site-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px;
  text-decoration: none; color: var(--t-heading-ink); transition: color .3s;
}
.site-nav .en { font-family: var(--serif); font-size: 15px; letter-spacing: 0.22em; line-height: 1.2; }
.site-nav .jp { font-family: var(--mincho); font-size: 12px; letter-spacing: 0.2em; color: var(--t-sub-ink); line-height: 1.4; }
.site-nav a:hover .en, .site-nav a[aria-current="page"] .en { color: var(--em); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--em); }
.header-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.scene-toggle, .menu-toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-edge);
  background: var(--glass-fill); color: var(--t-heading-ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(80,64,140,0.14), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform .4s var(--ease-step), background .6s var(--ease-scene), color .6s var(--ease-scene);
}
.scene-toggle:hover { transform: translateY(-2px) rotate(-8deg); }
.scene-toggle svg { width: 20px; height: 20px; }
.scene-toggle .ic-sun { display: none; }
body[data-scene="night"] .scene-toggle .ic-sun { display: block; }
body[data-scene="night"] .scene-toggle .ic-moon { display: none; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-soft), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 見出し（v3 の型） ---------- */
.section { position: relative; padding: 112px clamp(20px, 5vw, 64px); }
.section-inner { max-width: 1180px; margin: 0 auto; position: relative; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .h-en {
  display: inline-block; position: relative;
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.2vw, 60px); letter-spacing: 0.34em; padding-left: 0.34em;
  color: var(--t-heading); line-height: 1.15;
}
.sec-head .h-en::before, .sec-head .h-en::after { content: ''; position: absolute; top: 50%; width: 70px; height: 1px; background: var(--hair); }
.sec-head .h-en::before { right: calc(100% + 22px); }
.sec-head .h-en::after { left: calc(100% + 22px); }
.sec-head .diamond { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 8px; color: var(--acc-lav); }
.sec-head .diamond i { width: 84px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc-lav)); }
.sec-head .diamond i:last-child { background: linear-gradient(90deg, var(--acc-lav), transparent); }
.sec-head .diamond b { width: 8px; height: 8px; transform: rotate(45deg); background: var(--acc-lav); }
.sec-head .h-jp { display: block; font-family: var(--mincho); font-size: 13px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--t-sub-ink); }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 22px;
  font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--t-sub-ink);
}
.sec-head .kicker::before, .sec-head .kicker::after { content: ''; width: 28px; height: 1px; background: var(--gold-line); }
.sec-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 36px; }
.sec-label .en { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 4vw, 44px); color: var(--t-heading); letter-spacing: 0.08em; }
.sec-label .jp { font-family: var(--mincho); font-size: 12.5px; letter-spacing: 0.4em; color: var(--t-sub-ink); }
.sec-label .fill { flex: 1; height: 1px; background: var(--hair); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 13px 28px; border-radius: 100px; text-decoration: none; cursor: pointer;
  font-family: var(--mincho); font-weight: 600; font-size: 14px; letter-spacing: 0.14em;
  transition: transform .35s var(--ease-step), box-shadow .35s, background .35s, color .35s;
}
.btn:hover { transform: translateY(-3px); }
.btn-solid { background: var(--btn, #5a4a7a); color: #fff; box-shadow: 0 12px 28px color-mix(in srgb, var(--btn, #5a4a7a) 35%, transparent); }
.btn-glass { background: var(--glass-fill); color: var(--t-heading-ink); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); }
.btn .yt { width: 20px; height: 14px; border-radius: 4px; background: #fff; position: relative; flex: none; }
.btn .yt::after { content: ''; position: absolute; left: 7px; top: 3px; border-left: 7px solid var(--btn, #5a4a7a); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* ---------- 板（v3 の展示面・紙の繊維） ---------- */
.panel {
  position: relative; border-radius: 22px; padding: clamp(24px, 3.4vw, 46px);
  background: var(--panel-bg); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: background .9s var(--ease-scene), border-color .9s var(--ease-scene);
}
.panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: url('../paper-fiber.webp') center / 900px auto repeat; mix-blend-mode: multiply; opacity: calc(0.26 * var(--day));
}
.panel > * { position: relative; z-index: 1; }

/* ============================================================
   立ち絵の部品
   ============================================================ */
.fig {
  position: absolute; display: block; max-width: none; pointer-events: none; user-select: none;
  --u: calc(var(--head) / 270);
  width: calc(1920 * var(--u)); height: calc(2400 * var(--u));
  left: calc(var(--fx, 50%) - 960 * var(--u));
  top: calc(var(--fy) - var(--eye) * var(--u));
}
.fig-stack { position: absolute; inset: 0; transform: translate3d(0, var(--par, 0px), 0) rotateY(var(--ry, 0deg)); will-change: transform; }
.fig-night { opacity: 0; }
@media (min-width: 861px) {
}
body[data-scene="night"] .fig-stack.has-night .fig-day { opacity: 0; }
body[data-scene="night"] .fig-stack.has-night .fig-night { opacity: 1; }
.fig-day, .fig-night { transition: opacity .8s var(--ease-scene); }
/* 顔アイコン（下端＝目の線から頭0.50倍＝鎖骨より上で切った正方形） */
.icon { display: block; width: 100%; height: 100%; object-fit: cover; }
.face { position: relative; }
.face img, .pane img { width: 100%; height: 100%; object-fit: cover; }
.icon-n { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease-scene); }
body[data-scene="night"] .icon-n { opacity: 1; }

/* ============================================================
   トップ：ヒーロー（デスクトップ）
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  --head: var(--hero-head); --fy: var(--hero-eye);
  height: max(calc(100vh + 60px), calc(var(--hero-eye) + var(--cut-from) * var(--hero-head) + 120px));
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: url('../gh-silk-white.webp') center / cover no-repeat; opacity: calc(0.55 * var(--day)); transition: opacity .9s var(--ease-scene);
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, #000 85%, transparent 100%); }
.hero-bg::after { /* 夜＝藍に沈めた白い部屋と台座（掛け合わせで藍に寄せる）に灯りが落ちる。左の文字の列へは広く溶かす（継ぎ目を作らない） */
  content: ''; position: absolute; inset: 0; opacity: calc(0.92 * var(--night)); transition: opacity .9s var(--ease-scene);
  background:
    radial-gradient(26% 38% at 71% 36%, rgba(255, 234, 210, 0.20), transparent 72%),
    linear-gradient(rgb(84, 74, 104), rgb(84, 74, 104)),
    url('../room-pedestal.webp') 80% 100% / cover no-repeat;
  background-blend-mode: normal, multiply, normal;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, rgba(0,0,0,.55) 56%, #000 82%), linear-gradient(180deg, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 30%, rgba(0,0,0,.55) 56%, #000 82%), linear-gradient(180deg, #000 85%, transparent 100%);
  mask-composite: intersect;
}
.hero-slides {
  position: absolute; inset: 0; z-index: 1; --fx: 71%;
  /* 切り口＝全員の膝より下（目の線から頭5.0倍）から110pxで溶かす */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--hero-eye) + var(--cut-from) * var(--hero-head)), transparent calc(var(--hero-eye) + var(--cut-from) * var(--hero-head) + 110px));
          mask-image: linear-gradient(180deg, #000 calc(var(--hero-eye) + var(--cut-from) * var(--hero-head)), transparent calc(var(--hero-eye) + var(--cut-from) * var(--hero-head) + 110px));
}
/* 切り替え＝前の絵が0.6秒で消え、0.45秒後から次の絵が0.9秒で現れる（大きさの違う顔が同時にはっきり見えない） */
.hs { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .6s; }
.hs.is-active { opacity: 1; visibility: visible; transition: opacity .9s cubic-bezier(0, 0, .2, 1) .45s, visibility 0s; }
.hs[data-only="night"] { display: none; }
body[data-scene="night"] .hs[data-only="night"] { display: block; }
.hs .fig { filter: drop-shadow(0 26px 32px rgba(78,90,110,0.22)); }
body[data-scene="night"] .hs .fig { filter: drop-shadow(0 26px 34px rgba(6,4,20,0.5)); }
/* 一枚絵＝顔寄りのアーチ（CEO 決定 2026-09-27）。4案共通の決まり「顔寄りの札の切り口はあごの下0.2頭」に合わせ、
   絵はあごの下0.2頭で切り、顔の中心から左右に頭0.735個分だけを見せる。頭の大きさをそろえる決まりの例外（キービジュアル） */
.hs-art {
  --head: min(38vh, 340px);
  --u: calc(var(--head) / var(--ahead)); --pad: calc(var(--head) * 0.18);
  --cw: calc(1.47 * var(--ahead));                        /* 見せる幅（元画像の画素） */
  --acut: calc(var(--achin) + 0.2 * var(--ahead));       /* 切り口＝あごの下0.2頭（元画像の画素） */
  --fw: calc(var(--cw) * var(--u) + 2 * var(--pad));      /* 額の幅 */
  --fh: calc(var(--acut) * var(--u) + var(--pad));        /* 額の高さ（絵の上端〜切り口＋上の余白） */
  --ftop: calc(var(--hdr) + 60px);
}
.hs-art .art-frame {
  position: absolute; z-index: 1; transform: scale(.975); transition: transform 1.2s var(--ease-soft);
  left: calc(var(--fx) - var(--fw) / 2); top: var(--ftop); width: var(--fw); height: var(--fh);
  border-radius: 999px 999px 16px 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 55% at 50% 100%, color-mix(in srgb, var(--tg) 28%, transparent), transparent 72%), url('../gh-room-white.webp') center / cover no-repeat, #f4f0fa;
  box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 0 0 6px rgba(255,255,255,0.5), var(--shadow-card);
}
.hs-art.is-active .art-frame { transform: none; }
body[data-scene="night"] .hs-art .art-frame { background: radial-gradient(90% 55% at 50% 100%, color-mix(in srgb, var(--tg) 32%, transparent), transparent 72%), linear-gradient(180deg, #3a3266, #2a2450); }
/* 顔の中心を額の中心に、切り口を額の下端に合わせる */
.hs-art .art-frame img { position: absolute; left: calc(var(--fw) / 2 - var(--acx) * var(--u)); top: calc(var(--fh) - var(--acut) * var(--u)); width: calc(var(--aw) * var(--u)); height: calc(var(--ah) * var(--u)); max-width: none; }
.hs-art::after { /* 額が置かれたガラスの台座 */
  content: ''; position: absolute; z-index: 0; left: var(--fx); width: calc(var(--fw) + 3 * var(--pad)); aspect-ratio: 1;
  top: calc(var(--ftop) + var(--fh) - 0.5 * (var(--fw) + 3 * var(--pad)));
  transform: translateX(-50%) scaleY(0.24);
  background: url('../glass-disc.webp') center / contain no-repeat; opacity: .9; filter: drop-shadow(0 30px 22px rgba(80,64,140,0.26));
}
/* 文字の列：ラベル→ロゴ→キャッチ→リード→ボタン→名札と送り（すべて普通に並べる） */
.hero-text {
  position: absolute; z-index: 4; left: clamp(20px, 7vw, 120px); top: var(--hdr);
  width: min(470px, 36vw); height: calc(100vh - var(--hdr)); display: flex; flex-direction: column; justify-content: safe center; padding: 16px 0 20px;
}
.hero-label { font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.38em; color: var(--t-sub-ink); margin-bottom: 12px; }
.hero-logo { margin: 0 0 14px -6px; }
.hero-logo img { width: 100%; height: auto; }
.hero-catch {
  font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); letter-spacing: 0.26em; line-height: 1.55;
  background: linear-gradient(90deg, #b0527f 0%, #7a5aa8 55%, #4f6fa8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px;
}
body[data-scene="night"] .hero-catch { background: linear-gradient(90deg, #f4bcd5 0%, #d9c6f6 55%, #b9d2f2 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 15px; line-height: 2.15; letter-spacing: 0.14em; color: var(--t-body); margin-bottom: 24px; }
.hero-lead .em { color: var(--em); }
.hero-cta { align-self: flex-start; }
.hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }
.hs-cap { min-height: 64px; }
.hs-cap a {
  display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline;
  padding: 10px 22px 10px 22px; border-radius: 16px; text-decoration: none;
  background: var(--paper-2); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card);
  border-left: 3px solid var(--tg, var(--acc-lav));
}
.hs-cap b { font-family: var(--mincho); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; color: var(--t-body); }
.hs-cap i { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0.12em; color: var(--tg-ink, var(--t-sub-ink)); }
.hs-cap span { grid-column: 1 / -1; font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.12em; color: var(--t-sub-ink); }
body[data-scene="night"] .hs-cap i { color: var(--tg-ink-n, var(--t-sub-ink)); }
.hero-ctrl { display: flex; align-items: center; gap: 16px; }
.hc-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-edge); background: var(--glass-fill);
  color: var(--t-heading-ink); cursor: pointer; box-shadow: var(--shadow-card); display: inline-flex; align-items: center; justify-content: center;
}
.hc-arrow svg { width: 18px; height: 18px; }
.hc-dots { display: flex; gap: 10px; }
.hc-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--hair); transition: transform .3s, background .3s; position: relative; }
.hc-dot::before { content: ''; position: absolute; inset: -12px; }
.hc-dot[aria-current="true"] { background: var(--em); transform: scale(1.3); }
/* 画面の高さが800px未満（1280×720・1366×768 など）：ロゴを小さく・行間を詰めて、ボタンと名札が隠れないように */
@media (min-width: 861px) and (max-height: 799px) {
  :root { --hdr: 64px; }
  .site-header .brand img { height: 48px; }
  body.is-member { --hero-head: clamp(90px, 12.8vh, 148px);
    --hero-eye: min(calc(var(--hdr) + 1.80 * var(--hero-head)), calc(39.5vh - 1.20 * var(--hero-head))); }
  .hero-logo img { width: auto; height: 150px; }
  .hero-catch { font-size: 29px; margin-bottom: 8px; }
  .hero-lead { font-size: 14.5px; line-height: 1.95; margin-bottom: 18px; }
  .hero-foot { margin-top: 18px; gap: 10px; }
  .hs-cap a { padding: 8px 18px; }
}

/* ============================================================
   トップ：CONCEPT
   ============================================================ */
.concept-card {
  max-width: 780px; margin: 0 auto; padding: 60px 56px; text-align: center; border-radius: 28px;
  background: var(--glass-fill); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), 0 30px 44px -28px rgba(90,74,122,0.2), 0 0 0 1px rgba(122,107,168,0.10);
}
.concept-card p { font-size: 15.5px; line-height: 2.4; letter-spacing: 0.12em; margin-bottom: 22px; }
.concept-card p:last-child { margin-bottom: 0; }
.concept-card .em { color: var(--em); font-weight: 600; }

/* ============================================================
   トップ：TALENT（温室の窓）
   上の窓＝顔（息のくもり・触れた人の顔のまわりだけ晴れる）
   下の窓＝鎖骨より下を常に隠す、すりガラス（ぼかし10px・白45→55%）
   ============================================================ */
.gh-wrap { position: relative; max-width: 1280px; margin: 44px auto 0; }
.gh-names { position: absolute; left: 0; right: 0; top: -40px; height: 34px; pointer-events: none; z-index: 2; }
.gh-names span {
  position: absolute; bottom: 0; left: var(--x); transform: translateX(-50%); white-space: nowrap;
  font-family: var(--script); font-size: 24px; line-height: 1.3; color: var(--t-sub-ink);
  transition: color .4s, transform .4s var(--ease-soft);
}
.gh-names span.is-on { color: var(--em); transform: translateX(-50%) translateY(-3px); }
@media (max-width: 1100px) { .gh-names span { font-size: 20px; } }
.gh-window {
  position: relative; height: 300px;
  border-radius: 170px 170px 22px 22px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--glass-edge); background: var(--scene-bg-2);
  box-shadow: var(--shadow-card), 0 30px 30px -22px rgba(78,90,110,0.20), inset 0 2px 1px -1px rgba(255,255,255,0.92);
}
.gh-room { position: absolute; inset: 0; z-index: 0; background: url('../gh-room-white.webp') center / cover no-repeat; opacity: calc(0.32 + 0.30 * var(--day)); }
body[data-scene="night"] .gh-room { filter: brightness(0.7) saturate(0.9); }
.gh-window .gh-lamp {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--night); transition: opacity .9s var(--ease-scene);
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 240, 222, 0.34), transparent 70%);
}
.gh-figs { position: absolute; inset: 0; z-index: 1; --head: var(--win-head); --fy: var(--win-eye); }
.gh-fig { position: absolute; inset: 0; display: block; text-decoration: none; pointer-events: none; }
.gh-fig .fig { filter: saturate(0.9); transition: filter .5s var(--ease-soft), opacity .8s var(--ease-scene); }
.gh-fig.is-clear .fig { filter: none; }
.gh-hit { position: absolute; top: 0; bottom: 0; pointer-events: auto; z-index: 6; }
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --cx { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --cy { syntax: '<length>'; inherits: true; initial-value: 150px; }
/* 息のくもり（上の窓）：ぼかし2px・白16〜22%（6人の顔が最初から分かる）。触れた人の顔のまわりだけ、くっきり晴れる */
.gh-breath {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none;
  height: calc(var(--win-eye) + var(--hide-from) * var(--win-head));
  background: var(--breath);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  --r: 0px; transition: --r .5s var(--ease-soft), --cx .45s var(--ease-soft), --cy .45s var(--ease-soft);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0, transparent calc(var(--r) - 22px), #000 var(--r));
          mask-image: radial-gradient(circle at var(--cx) var(--cy), transparent 0, transparent calc(var(--r) - 22px), #000 var(--r));
}
.gh-breath.open { --r: 78px; }
.gh-breath.no-tr { transition: none; }
/* 下の窓：すりガラス（常に）。上端＝目の線から頭0.50倍（全員の鎖骨より上） */
.gh-frost {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none;
  top: calc(var(--win-eye) + var(--hide-from) * var(--win-head));
  background: var(--frost);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 2px 0 rgba(120,110,150,0.16);
}
.gh-frost::before { /* すりガラスの面のムラ */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../paper-fiber.webp') center / 700px auto repeat; mix-blend-mode: multiply; opacity: calc(0.20 * var(--day) + 0.06);
}
body[data-scene="night"] .gh-frost { box-shadow: inset 0 1px 0 rgba(210,194,246,0.40), inset 0 2px 0 rgba(6,4,20,0.35); }
.gh-window::after { content: ''; position: absolute; inset: 6px; border-radius: 164px 164px 18px 18px; border: 1px solid var(--glass-edge); pointer-events: none; z-index: 5; }
.gh-hint { text-align: center; margin: 16px auto 0; font-size: 14px; letter-spacing: 0.2em; color: var(--t-sub-ink); }
.no-js .gh-hint { display: none; }
.no-js .gh-breath { display: none; }
.gh-panes { display: none; }

.chips { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); margin-top: 34px; flex-wrap: wrap; }
.chip-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.chip-group > span { font-family: var(--jost); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--t-sub-ink); }
.chip-row { display: flex; gap: 20px; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; min-width: 64px; }
.chip .face { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #fff; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--tg, var(--acc-lav)), 0 10px 22px rgba(155,139,196,0.22); transition: transform .45s var(--ease-step); }
.chip:hover .face { transform: translateY(-4px) scale(1.05); }
.chip b { font-weight: 500; font-size: 14px; letter-spacing: 0.04em; color: var(--t-body); }
.gh-handle-row { max-width: 1280px; margin: 26px auto 0; text-align: center; }
.gh-handle .en { font-family: var(--serif); font-style: italic; letter-spacing: 0.16em; color: var(--em); }

/* ============================================================
   トップ：声の手紙・JOIN
   ============================================================ */
.letters { padding-top: 64px; padding-bottom: 8px; }
.letters .sec-head { margin-bottom: 18px; }
.letters-lead { text-align: center; max-width: 34em; margin: 0 auto; font-size: 15.5px; line-height: 2.1; letter-spacing: 0.1em; }
.letters [data-letter-stack] { padding: 96px 20px 0; }
.letters [data-letter-stack].ls-ready .ls-stage { margin-top: 0; }
#join { padding-top: 72px; padding-bottom: 56px; }
.join-door { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; max-width: 1080px; margin: 0 auto; overflow: hidden; padding: 0; }
.join-text { padding: clamp(32px, 5vw, 64px); }
.join-text .kicker { font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.34em; color: var(--t-sub-ink); }
.join-text h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 48px); letter-spacing: 0.2em; color: var(--t-heading); line-height: 1.2; margin: 10px 0 4px; }
.join-text .jp { font-size: 13px; letter-spacing: 0.5em; color: var(--t-sub-ink); }
.join-text .poem { margin: 22px 0 18px; font-size: 15px; line-height: 2.2; letter-spacing: 0.12em; }
.join-text .note { font-size: 14.5px; line-height: 2; letter-spacing: 0.08em; margin-bottom: 24px; }
.join-view { position: relative; min-height: 420px; overflow: hidden; border-radius: 0 22px 22px 0; }
.join-view .jv-room { position: absolute; inset: 0; background: url('../gh-room-white.webp') center 70% / cover no-repeat; transition: filter .9s var(--ease-scene); }
body[data-scene="night"] .join-view .jv-room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,29,66,0.62), rgba(28,24,56,0.74)); }
.join-view::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(247,244,252,0.9) 0%, transparent 30%); }
body[data-scene="night"] .join-view::before { background: linear-gradient(90deg, rgba(44,38,82,0.95) 0%, transparent 34%); }
.join-stage { position: absolute; inset: 0; z-index: 1; }
.join-stage::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 70%; height: 86%; transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,250,240,0.85), rgba(255,250,240,0.25) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
body[data-scene="night"] .join-stage::before { background: radial-gradient(50% 100% at 50% 0%, rgba(255,238,214,0.55), rgba(255,238,214,0.12) 60%, transparent 100%); }
.join-stage::after {
  content: ''; position: absolute; left: 50%; bottom: 14%; width: 58%; aspect-ratio: 1; transform: translateX(-50%) scaleY(0.28); transform-origin: 50% 100%;
  background: url('../glass-disc.webp') center / contain no-repeat; opacity: .95; filter: drop-shadow(0 30px 24px rgba(80,64,140,0.28));
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer { position: relative; text-align: center; padding: 88px 20px 40px; }
.site-footer::before { content: ''; display: block; width: min(420px, 76%); height: 1px; margin: 0 auto 40px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }
.f-brand { display: inline-block; text-decoration: none; }
.f-brand img { width: min(300px, 70vw); height: auto; }
.f-tag { margin: 14px 0 26px; font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0.2em; color: var(--t-sub-ink); }
.f-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 26px; }
.f-nav a { font-family: var(--mincho); font-size: 14px; letter-spacing: 0.14em; color: var(--t-heading-ink); text-decoration: none; }
.f-nav a:hover { color: var(--em); text-decoration: underline; text-underline-offset: 5px; }
.copy { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0.2em; color: var(--t-sub-ink); }

/* ============================================================
   一覧（talent.html）
   カード＝顔の窓＋鎖骨の高さから下を覆う、すりガラスの名札（ぼかし10px・白45→55%）
   ============================================================ */
.t-intro { padding: calc(var(--hdr) + 56px) 20px 24px; text-align: center; }
.t-intro .sec-head { margin-bottom: 18px; }
@media (min-width: 861px) and (max-height: 799px) {
  .t-intro { padding: calc(var(--hdr) + 18px) 20px 6px; }
  .t-intro .sec-head { margin-bottom: 6px; }
  .t-intro .sec-head .h-en { font-size: 40px; }
  .t-intro .sec-head .diamond { margin: 4px 0 2px; }
  .t-intro .t-lead { font-size: 14.5px; line-height: 1.9; }
  .t-intro .t-jump { margin-top: 8px; }
  .t-intro .t-jump .btn { min-height: 40px; padding: 8px 22px; }
  .shelf { padding-top: 14px; }
  .shelf-head { margin-bottom: 14px; }
}
.t-lead { font-size: 16px; line-height: 2.2; letter-spacing: 0.14em; }
.t-lead em { font-style: normal; color: var(--em); }
.t-jump { display: flex; justify-content: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.t-jump a { min-height: 44px; }
.shelf { position: relative; padding: 36px 20px 76px; }
.shelf::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 78%, transparent 100%);
  background: linear-gradient(180deg, transparent 0%, rgba(240,234,248,0.55) 40%, rgba(226,218,240,0.80) 100%), url('../gh-marble-floor.webp') center bottom / cover no-repeat;
  opacity: calc(0.25 + 0.75 * var(--day));
}
body[data-scene="night"] .shelf::before { background: radial-gradient(60% 40% at 50% 100%, rgba(255,232,206,0.10), transparent 70%), linear-gradient(180deg, transparent 0%, rgba(20,17,44,0.30) 40%, rgba(14,12,34,0.5) 100%); opacity: 1; }
.shelf-head { text-align: center; margin-bottom: 34px; }
.shelf-label { display: inline-flex; align-items: baseline; gap: 14px; padding: 9px 26px; border-radius: 100px; background: var(--glass-fill); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--glass-edge); }
.shelf-label .en { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0.22em; color: var(--t-heading-ink); }
.shelf-label .jp { font-size: 12.5px; letter-spacing: 0.4em; color: var(--t-sub-ink); }
.shelf-grid { display: grid; grid-template-columns: repeat(4, 270px); justify-content: center; gap: 34px; }
.shelf-zero .shelf-grid { grid-template-columns: repeat(2, 270px); }
.niche {
  position: relative; display: flex; flex-direction: column; width: 270px; min-height: 300px; border-radius: 18px; overflow: hidden; isolation: isolate;
  text-decoration: none; background: var(--paper-2);
  box-shadow: var(--shadow-card), 0 26px 28px -20px rgba(78,90,110,0.24);
  --head: 124px; --fy: calc(0.75 * var(--head)); --fx: 50%;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease-breath);
}
/* 顔の窓：高さ＝頭1.25個分。目は窓の上から60%、下端＝目の線から頭0.50倍（6人ともあごの下0.2頭より上）。
   立ち絵はここで切れ、名札の後ろには続かない */
.niche-pic { position: relative; flex: none; height: calc(var(--fy) + var(--hide-from) * var(--head)); overflow: hidden; isolation: isolate; z-index: 1; }
.niche-room { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 30% at 50% 96%, color-mix(in srgb, var(--tg) 24%, transparent), transparent 70%),
              linear-gradient(180deg, color-mix(in srgb, var(--tg) 8%, #ffffff), color-mix(in srgb, var(--tg) 14%, #fbf7fd)),
              url('../gh-room-white.webp') center / cover no-repeat;
  background-blend-mode: normal, soft-light, normal; }
body[data-scene="night"] .niche-room { background:
  radial-gradient(ellipse 70% 34% at 50% 100%, color-mix(in srgb, var(--tg) 30%, transparent), transparent 72%),
  radial-gradient(60% 50% at 50% 0%, rgba(255,240,222,0.20), transparent 70%),
  linear-gradient(180deg, #342d5e, #262048); }
.niche-arch { display: none; /* 顔が窓いっぱいになったので、アーチの線は使わない */
  position: absolute; left: 16px; right: 16px; top: 18px; height: 260px; z-index: 1; pointer-events: none;
  border: 1.5px solid color-mix(in srgb, var(--tg) 55%, #b9a8d6); border-bottom: 0; border-radius: 130px 130px 0 0; opacity: .55;
}
.niche-arch::after { content: ''; position: absolute; inset: 7px 7px 0; border: 1px solid color-mix(in srgb, var(--tg) 40%, transparent); border-bottom: 0; border-radius: 124px 124px 0 0; }
.niche-spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 62% 70% at 50% -8%, rgba(255,252,244,0.85), rgba(255,252,244,0.2) 55%, transparent 75%); opacity: .8; transition: opacity 1.1s; }
body[data-scene="night"] .niche-spot { background: radial-gradient(ellipse 62% 70% at 50% -8%, rgba(255,240,222,0.30), transparent 70%); }
.niche .fig-stack { z-index: 2; }
.niche .fig { filter: drop-shadow(0 18px 20px rgba(78,90,110,0.18)); }
.niche-glass { position: absolute; inset: 0; z-index: 5; border-radius: 18px; pointer-events: none; box-shadow: inset 0 0 0 1px var(--glass-edge), inset 0 2px 0 rgba(255,255,255,0.7); }
/* 名札＝顔の窓の下の紙の札（体の上には重ねない） */
.niche-plate {
  position: relative; flex: 1; z-index: 4;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 18px 16px;
  background: var(--paper-2); border-top: 2px solid color-mix(in srgb, var(--tg) 55%, #fff);
}
.niche-plate::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('../paper-fiber.webp') center / 600px auto repeat; mix-blend-mode: multiply; opacity: calc(0.24 * var(--day)); }
body[data-scene="night"] .niche-plate { background: #2c2653; border-top-color: color-mix(in srgb, var(--tg) 60%, #2c2653); }
.niche-plate b { display: block; font-weight: 700; font-size: 18px; letter-spacing: 0.06em; color: var(--t-body); line-height: 1.5; }
.niche-plate b.is-long { font-size: 15.5px; letter-spacing: 0.02em; }
.niche-plate i { display: block; font-family: var(--jost); font-style: normal; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-sub-ink); margin-top: 2px; }
.niche-plate em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 12.5px; letter-spacing: 0.06em; color: var(--tg-ink); padding: 2px 12px; border-radius: 100px; border: 1px solid color-mix(in srgb, var(--tg) 45%, transparent); background: rgba(255,255,255,0.5); }
body[data-scene="night"] .niche-plate em { color: var(--tg-ink-n); background: rgba(30,26,60,0.4); }
.niche-plate small { display: block; margin-top: 12px; font-size: 13px; line-height: 1.85; letter-spacing: 0.04em; color: var(--t-body); }
.niche-plate .go { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0.12em; color: var(--tg-ink); }
body[data-scene="night"] .niche-plate .go { color: var(--tg-ink-n); }
.niche:hover { --rx: 1.5deg; }
.niche:hover .niche-spot { opacity: 1; }
.way-back { text-align: center; padding: 0 20px 24px; }
.way-back a { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.16em; color: var(--t-heading-ink); text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 4px; }

/* ============================================================
   個別（member-*.html）
   ヒーロー＝全身をガラスの台座の上に立たせる（足元まで入る高さ）。背景の下端は次の区画へ溶かす
   ============================================================ */
.m-hero {
  position: relative; overflow: hidden; isolation: isolate;
  --head: var(--hero-head); --fy: var(--hero-eye);
  height: max(100vh, calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 96px));
}
.m-room { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url('../gh-room-white.webp') center bottom / cover no-repeat; opacity: calc(0.30 + 0.25 * var(--day));
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 42%, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, transparent 4%, #000 42%, #000 76%, transparent 100%); }
body[data-scene="night"] .m-room { /* 夜：白い部屋に灯りが落ちる（立ち絵の奥だけ。文字の列の後ろには掛けない） */
  opacity: .9;
  background: radial-gradient(34% 44% at 71% 36%, rgba(255, 236, 214, 0.20), transparent 72%),
              linear-gradient(rgb(76, 68, 98), rgb(76, 68, 98)),
              url('../gh-room-white.webp') 71% bottom / cover no-repeat;
  background-blend-mode: normal, multiply, normal;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 62%), linear-gradient(180deg, transparent 4%, #000 36%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 40%, #000 62%), linear-gradient(180deg, transparent 4%, #000 36%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.m-wash { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 45% at 72% 40%, color-mix(in srgb, var(--tg) 14%, transparent), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
body[data-scene="night"] .m-wash { background: radial-gradient(40% 50% at 71% 46%, rgba(255, 236, 214, 0.20), transparent 70%); }
.m-letter { position: absolute; z-index: 0; left: 71%; top: calc(var(--hdr) + 2vh); transform: translateX(-50%); pointer-events: none; user-select: none;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(220px, 34vh, 380px); line-height: 1; color: var(--tg); opacity: .08; }
.m-figure { position: absolute; inset: 0; z-index: 1; perspective: 1100px; --fx: 71%; }
.m-figure .fig { filter: drop-shadow(0 22px 30px rgba(78,90,110,0.22)); }
/* 足元のガラスの台座と接地の影（v3 の台座の部品） */
.pedestal {
  position: absolute; pointer-events: none; z-index: 0;
  left: var(--fx); top: calc(var(--fy) + var(--feet) * var(--head));
  width: calc(3.4 * var(--head)); aspect-ratio: 1;
  transform: translate(-50%, -50%) scaleY(0.26);
  background: url('../glass-disc.webp') center / contain no-repeat; opacity: .95;
  filter: drop-shadow(0 34px 26px rgba(80,64,140,0.26));
}
.pedestal-shadow {
  position: absolute; pointer-events: none; z-index: 0;
  left: var(--fx); top: calc(var(--fy) + var(--feet) * var(--head) - 0.06 * var(--head));
  width: calc(1.7 * var(--head)); height: calc(0.24 * var(--head)); transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(62,52,96,0.34), transparent 70%); filter: blur(3px);
}
body[data-scene="night"] .pedestal { opacity: .8; filter: drop-shadow(0 34px 26px rgba(4,3,16,0.5)) brightness(0.9); }
.m-figure .fig-stack { z-index: 1; }
.m-figure .fig { z-index: 1; }
.m-text { position: absolute; z-index: 3; left: clamp(20px, 7vw, 120px); top: var(--hdr); height: calc(100vh - var(--hdr)); width: min(520px, 42vw); display: flex; flex-direction: column; justify-content: safe center; }
.m-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--t-sub-ink); }
.m-kicker::before { content: ''; width: 30px; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); }
.m-kicker .jp { font-family: var(--mincho); letter-spacing: 0.2em; color: var(--tg-ink); text-transform: none; }
body[data-scene="night"] .m-kicker .jp { color: color-mix(in srgb, var(--tg-ink-n) 72%, #ffffff); }
.m-name { font-weight: 700; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.15; letter-spacing: 0.03em; color: var(--t-heading-ink); margin-bottom: 8px; word-break: keep-all; overflow-wrap: anywhere; }
.m-name.is-long { font-size: clamp(34px, 3.9vw, 56px); }
.m-en { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(20px, 2.3vw, 28px); letter-spacing: 0.14em; color: var(--tg-ink); }
body[data-scene="night"] .m-en { color: var(--tg-ink-n); }
.m-reading { font-size: 13px; letter-spacing: 0.3em; color: var(--t-sub-ink); margin-top: 2px; }
.m-hair { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
.m-hair i { width: 90px; height: 1px; background: var(--hair); }
.m-hair b { width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid var(--acc-pink); }
.m-genre { align-self: flex-start; font-size: 13px; letter-spacing: 0.1em; color: var(--t-body); padding: 5px 16px; border-radius: 100px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--tg) 12%, var(--paper-2)); border: 1px solid color-mix(in srgb, var(--tg) 34%, transparent); }
.m-lead { font-size: 15.5px; line-height: 2.1; letter-spacing: 0.08em; max-width: 30em; margin-bottom: 28px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.m-actions .btn-glass { color: var(--tg-ink); }
body[data-scene="night"] .m-actions .btn-glass { color: var(--tg-ink-n); }
.costume { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.costume button { font-family: var(--mincho); font-size: 13px; letter-spacing: 0.08em; color: var(--t-sub-ink); background: var(--glass-fill); border: 1px solid var(--glass-edge);
  border-radius: 100px; padding: 8px 16px; min-height: 40px; cursor: pointer; box-shadow: var(--shadow-card); }
.costume button[aria-pressed="true"] { color: var(--tg-ink); border-color: color-mix(in srgb, var(--tg) 55%, #fff); }
body[data-scene="night"] .costume button[aria-pressed="true"] { color: var(--tg-ink-n); }

body.is-member .section { padding-top: 72px; padding-bottom: 72px; }
.profile-wrap { display: grid; grid-template-columns: 280px 1fr 400px; gap: 36px; align-items: center; }
/* プロフィールの肖像＝鎖骨の高さで切ったアーチの窓（頭160px・下端＝目の線から頭0.50倍） */
.p-portrait { position: relative; --head: 160px; --fy: 188px; --fx: 50%; height: calc(var(--fy) + var(--hide-from) * var(--head)); border-radius: 160px 160px 16px 16px; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 40% at 50% 100%, color-mix(in srgb, var(--tg) 26%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--tg) 8%, #fff), color-mix(in srgb, var(--tg) 16%, #fbf7fd));
  box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow-card); }
body[data-scene="night"] .p-portrait { background: radial-gradient(ellipse 80% 40% at 50% 100%, color-mix(in srgb, var(--tg) 30%, transparent), transparent 70%), linear-gradient(180deg, #3a3266, #2a2450); }
.p-story h2 { font-size: 22px; font-weight: 700; letter-spacing: 0.06em; color: var(--t-heading-ink); margin-bottom: 14px; }
.p-story p { font-size: 15.5px; line-height: 2.2; letter-spacing: 0.06em; margin-bottom: 14px; }
.record-card { position: relative; background: var(--paper-2); border: 1px solid var(--hair); border-radius: 14px; padding: 24px 26px; box-shadow: var(--shadow-card); }
.record-card::before { content: ''; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; background: url('../paper-fiber.webp') center / cover; mix-blend-mode: multiply; opacity: calc(0.18 * var(--day)); }
.rc-head { display: flex; justify-content: space-between; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--hair); font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tg-ink); }
body[data-scene="night"] .rc-head { color: var(--tg-ink-n); }
.rc-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--hair); }
.rc-row:last-child { border-bottom: 0; }
.rc-key { font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-sub-ink); }
.rc-val { font-size: 14.5px; line-height: 1.7; color: var(--t-body); }

.voice-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.voice-door {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 320px; padding: 48px 30px 40px;
  border-radius: 170px 170px 16px 16px; text-decoration: none;
  background: radial-gradient(80% 55% at 50% 0%, color-mix(in srgb, var(--tg) 16%, transparent), transparent 70%), var(--glass-fill);
  border: 1px solid var(--glass-edge); outline: 1px solid color-mix(in srgb, var(--tg) 24%, transparent); outline-offset: -7px;
  box-shadow: var(--shadow-card); transition: transform .5s var(--ease-step);
}
.voice-door:hover { transform: translateY(-6px); }
.vd-play { width: 64px; height: 64px; border-radius: 50%; background: var(--btn); position: relative; box-shadow: 0 10px 24px color-mix(in srgb, var(--tg) 45%, transparent); }
.vd-play::after { content: ''; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.vd-face { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--tg); background: #fff; }
.vd-name { font-weight: 600; font-size: 16px; letter-spacing: 0.04em; text-align: center; color: var(--t-body); }
.vd-go { font-family: var(--jost); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tg-ink); }
body[data-scene="night"] .vd-go { color: var(--tg-ink-n); }
.voice-side .vs-kicker { font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.3em; color: var(--t-sub-ink); }
.voice-side .vs-copy { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.7; letter-spacing: 0.12em; color: var(--t-heading-ink); margin: 10px 0 14px; }
.voice-side .vs-handle { font-family: var(--serif); font-size: 20px; letter-spacing: 0.06em; color: var(--tg-ink); }
body[data-scene="night"] .voice-side .vs-handle { color: var(--tg-ink-n); }
.voice-side .vs-note { font-size: 14.5px; letter-spacing: 0.08em; margin: 4px 0 22px; }
.voice-side .btns { display: flex; flex-wrap: wrap; gap: 12px; }

.relay { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 8px 20px 20px; }
.rr-card { display: flex; align-items: center; gap: 14px; padding: 14px 24px; min-width: 260px; border-radius: 16px; text-decoration: none;
  background: var(--paper-2); border: 1px solid var(--hair); border-top: 3px solid color-mix(in srgb, var(--nc) 62%, #fff); box-shadow: 0 12px 30px rgba(78,90,110,0.10); transition: transform .4s var(--ease-step); }
.rr-card:hover { transform: translateY(-4px); }
.rr-card .face { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid color-mix(in srgb, var(--nc) 55%, #fff); background: #fff; flex: none; }
.rr-txt { display: flex; flex-direction: column; line-height: 1.6; }
.rr-txt.is-right { text-align: right; margin-left: auto; }
.rr-dir { font-family: var(--jost); font-size: 12.5px; letter-spacing: 0.14em; color: var(--t-sub-ink); }
.rr-name { font-size: 15px; font-weight: 600; color: var(--t-body); }
.back-to-list { text-align: center; padding: 6px 20px 8px; }
.back-to-list a { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0.14em; color: var(--t-heading-ink); text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 3px; }

.room-nav { position: fixed; right: 18px; top: 50%; z-index: 60; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translate(12px, -50%); pointer-events: none; transition: opacity .45s var(--ease-soft), transform .45s var(--ease-soft); }
.room-nav.is-on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.rn-card { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; text-decoration: none; background: var(--glass-fill); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-card); }
.rn-card .face { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2px solid color-mix(in srgb, var(--nc) 55%, #fff); background: #fff; flex: none; }
.rn-txt { position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); display: flex; flex-direction: column; line-height: 1.4; white-space: nowrap;
  padding: 6px 12px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--hair); box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.rn-card:hover .rn-txt, .rn-card:focus-visible .rn-txt { opacity: 1; transform: translate(0, -50%); }
.rn-dir { font-family: var(--jost); font-size: 12px; letter-spacing: 0.1em; color: var(--t-sub-ink); }
.rn-name { font-size: 13px; font-weight: 600; color: var(--t-body); }

/* ---------- 出現 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.show { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1339px) { .room-nav { display: none; } }
@media (max-width: 1180px) {
  .shelf-grid { grid-template-columns: repeat(2, 270px); }
  .profile-wrap { grid-template-columns: 280px 1fr; }
  .profile-wrap .record-card { grid-column: 1 / -1; }
}
@media (max-width: 1000px) { .site-nav .jp { display: none; } }
@media (max-width: 860px) {
  :root { --hdr: 64px; --hero-head: clamp(96px, 13vh, 136px); --hero-eye: calc(var(--hdr) + 1.08 * var(--hero-head)); --band-h: 56px; --band-gap: 6px; }
  .site-header .brand img { height: 44px; }
  .menu-toggle { display: inline-flex; }
  .scene-toggle, .menu-toggle { width: 44px; height: 44px; }
  .site-nav { position: fixed; left: 0; right: 0; top: var(--hdr); background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hair); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease-soft); }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .site-nav a { flex-direction: row; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--hair); }
  .site-nav .jp { display: inline; }
  .section { padding: 72px 16px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head .h-en::before, .sec-head .h-en::after { width: 26px; }
  .sec-head .h-en::before { right: calc(100% + 10px); } .sec-head .h-en::after { left: calc(100% + 10px); }
  .sec-head .kicker { display: inline-block; max-width: 88%; letter-spacing: 0.2em; line-height: 1.8; text-wrap: balance; }
  .sec-head .kicker::before, .sec-head .kicker::after { display: none; }

  /* トップのヒーロー（スマホ・タブレット）：
     立ち絵は全身を見せ、名前と点だけの細い帯を「膝より下」（目の線から頭4.85倍）に置く。絵の範囲は帯の下で終わる（靴を覗かせない）。
     キャッチとリードは絵の下。1枚目（ミモザの一枚絵）はアーチの額のまま */
  .hero { height: auto; display: flex; flex-direction: column; --band-top: calc(var(--hero-eye) + var(--cut-from) * var(--hero-head)); }
  .hero-bg::after { left: 0; opacity: calc(0.5 * var(--night)); background: radial-gradient(60% 34% at 50% 34%, rgba(255, 236, 214, 0.26), transparent 70%); -webkit-mask-image: none; mask-image: none; }
  .hero-slides { position: relative; inset: auto; --fx: 50%; height: calc(var(--band-top) + var(--band-gap));
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--band-gap)), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - var(--band-gap)), transparent 100%); }
  /* 一枚絵（スマホ・タブレット）：頭＝幅÷1.6（390で約229px・最大380px）、額は幅いっぱいまで。
     額の上に部屋を少し見せて縦に伸ばし、台座の分をあけて名前の帯のすぐ上に置く */
  .hs-art {
    --fw: min(calc(100vw - 24px), 550px);
    --head: calc(var(--fw) / 1.25);
    --fh: min(calc(1.2 * var(--fw)), calc(var(--band-top) - var(--hdr) - 110px));
    --ftop: calc(var(--hdr) + (var(--band-top) - var(--hdr) - var(--fh)) / 2);
  }
  .hs-art::after { width: calc(0.8 * var(--fw)); top: calc(var(--ftop) + var(--fh) - 0.4 * var(--fw)); }
  .hero-text { position: relative; left: auto; top: auto; width: auto; height: auto; display: flex; flex-direction: column; align-items: center; padding: 0 12px 6px; text-align: center; }
  .hero-label, .hero-text .hero-logo { display: none; }
  .hero-catch { font-size: 22px; letter-spacing: 0.12em; line-height: 1.5; margin: 0 0 10px; white-space: nowrap; background: linear-gradient(90deg, #963d69 0%, #6b4b9b 55%, #405e97 100%); -webkit-background-clip: text; background-clip: text; }
  .hero-catch br { display: none; }
  body[data-scene="night"] .hero-catch { background: linear-gradient(90deg, #f4bcd5 0%, #d9c6f6 55%, #b9d2f2 100%); -webkit-background-clip: text; background-clip: text; }
  .hero-lead { font-size: 14.5px; line-height: 2.05; letter-spacing: 0.06em; margin: 0 0 16px; }
  .hero-cta { align-self: center; }
  /* 名前と点だけの細い帯（膝より下） */
  .hero-foot { order: -1; position: relative; z-index: 5; width: 100%; max-width: 520px; height: var(--band-h); margin: 0 0 10px; gap: 7px; align-items: center; justify-content: center;
    padding: 6px 14px; border-radius: 14px;
    background: rgba(250, 248, 253, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.92); box-shadow: 0 12px 28px rgba(78, 90, 110, 0.14); }
  body[data-scene="night"] .hero-foot { background: rgba(30, 26, 60, 0.88); border-color: rgba(200, 184, 240, 0.30); box-shadow: 0 12px 28px rgba(4, 3, 16, 0.45); }
  .hs-cap { min-height: 0; display: flex; justify-content: center; line-height: 1.3; }
  .hs-cap a { padding: 0 0 0 12px; background: none; border: 0; box-shadow: none; border-left: 0; position: relative; column-gap: 10px; line-height: 1.3; }
  .hs-cap a::after { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--tg, var(--acc-lav)); }
  .hs-cap b { font-size: 14.5px; }
  .hs-cap i { font-size: 13.5px; color: var(--t-sub-ink); }
  body[data-scene="night"] .hs-cap i { color: var(--t-sub-ink); }
  .hs-cap span { display: none; }
  .hero-ctrl { gap: 10px; }
  .hc-arrow { display: none; }
  .hc-dots { gap: 9px; }

  .concept-card { padding: 36px 20px; }
  .concept-card p { font-size: 15px; letter-spacing: 0.06em; line-height: 2.2; }

  /* トップの温室：6つの小さな窓（顔・鎖骨の高さで切った正方形）。1回目のタップで晴れ、2回目で部屋へ */
  .gh-wrap, .chips { display: none; }
  .gh-hint { margin: 0 auto 14px; font-size: 13px; letter-spacing: 0.12em; }
  .gh-panes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .gh-pane { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
  .gh-pane .pane { position: relative; width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 58px 58px 12px 12px; overflow: hidden; isolation: isolate;
    background: linear-gradient(180deg, color-mix(in srgb, var(--tg) 10%, #fff), color-mix(in srgb, var(--tg) 20%, #fbf7fd));
    box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow-card); }
  body[data-scene="night"] .gh-pane .pane { background: linear-gradient(180deg, #3a3266, #2a2450); }
  .gh-pane .pane::after { /* 息のくもり（v3 の強さ） */
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: var(--breath); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
    transition: opacity .5s var(--ease-soft);
  }
  .no-js .gh-pane .pane::after, .gh-pane.is-clear .pane::after { opacity: 0; }
  .gh-pane b { font-weight: 500; font-size: 13px; letter-spacing: 0.02em; text-align: center; line-height: 1.5; color: var(--t-body); }
  @media (min-width: 600px) { .gh-panes { gap: 22px 16px; } .gh-pane .pane { max-width: 176px; border-radius: 88px 88px 14px 14px; } .gh-pane b { font-size: 14px; } }

  .join-door { grid-template-columns: 1fr; }
  .join-view { min-height: 260px; order: -1; border-radius: 22px 22px 0 0; }
  .join-view::before { background: linear-gradient(0deg, rgba(247,244,252,0.9) 0%, transparent 40%); }
  body[data-scene="night"] .join-view::before { background: linear-gradient(0deg, rgba(44,38,82,0.95) 0%, transparent 40%); }

  .letters [data-letter-stack] { padding: 84px 12px 0; }
  .letters [data-letter-stack][data-mode="b"] { padding-top: 28px; } /* めくり方 b は重なりが浅いので束の上を詰める（開く時は束が下がる） */

  /* 一覧：2列のカード（顔の窓＋鎖骨から下のすりガラスの名札） */
  .t-intro { padding-top: calc(var(--hdr) + 32px); }
  .t-lead { font-size: 15px; letter-spacing: 0.06em; }
  .shelf { padding: 22px 16px 44px; }
  .shelf-grid, .shelf-zero .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .niche { width: 100%; min-height: 0; container-type: inline-size; --head: min(58cqw, 150px); transform: none; }
  .niche-arch { display: none; }
  .niche-plate { padding: 10px 8px 10px; }
  .niche-plate b { font-size: 13.5px; letter-spacing: 0.02em; line-height: 1.45; }
  .niche-plate b.is-long { font-size: 12.5px; }
  .niche-plate i { font-size: 11.5px; letter-spacing: 0.1em; }
  .niche-plate em, .niche-plate small, .niche-plate .go { display: none; }

  /* 個別：全身を台座の上に。文字はその下 */
  .m-hero { height: auto; min-height: 0; overflow: visible; }
  .m-figure { position: relative; inset: auto; --fx: 50%; overflow: hidden; height: calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 64px); }
  .pedestal { width: calc(2.8 * var(--head)); }
  .m-room { bottom: auto; height: calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 64px); }
  body[data-scene="night"] .m-room { background-position: 50% 50%, 0 0, 50% bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 30%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, transparent 4%, #000 30%, #000 74%, transparent 100%); }
  .m-letter { left: 50%; top: calc(var(--hdr) + 10px); font-size: 240px; }
  .m-text { position: relative; left: auto; top: auto; height: auto; width: auto; padding: 12px 20px 8px; align-items: center; text-align: center; }
  .m-kicker { justify-content: center; }
  .m-genre { align-self: center; }
  .m-hair { justify-content: center; }
  .m-name { font-size: 40px; }
  .m-name.is-long { font-size: 30px; }
  .m-lead { font-size: 15px; letter-spacing: 0.04em; }
  .m-actions, .costume { justify-content: center; }
  .profile-wrap { grid-template-columns: 1fr; gap: 24px; }
  .p-portrait { max-width: 260px; width: 100%; margin: 0 auto; --head: 140px; --fy: 168px; }
  .record-card { padding: 20px 18px; }
  .rc-row { grid-template-columns: 78px 1fr; gap: 10px; }
  .voice-wrap { grid-template-columns: 1fr; }
  .voice-door { min-height: 260px; border-radius: 120px 120px 14px 14px; }
  .voice-side { text-align: center; }
  .voice-side .btns { justify-content: center; }
  .rr-card { min-width: 0; flex: 1 1 44%; padding: 12px 12px; gap: 10px; }
  .rr-card .face { width: 44px; height: 44px; }
  .room-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .fig-stack { transform: none !important; }
}
