/* ============================================================
   TRILLION GARDEN — Opus 5.5 の磨き込み（2026-10-09・2周目）
   A案（assets/a/site.css）の上に重ねる。テーマ＝「息でくもる、白い温室」。

   2周目の決まり（社長の指摘から）：
   - 物はコードの図形で作らない。実物の写真（押し花・シダ・和紙テープ）・デザイナーさんの素材（縦の柱）・
     自社の3D（庭の映像）・立ち絵そのもの（影と映り込み）で作る。コードが受け持つのは配置・光・動きだけ。
   - 動きは上品に。昼夜は「照明が変わる」（暗転して夜が浮かぶ／光があふれて朝になる）。円で塗り替えない。
   - トップの顔はロゴと3Dの庭だけ。多く語らない。
   動きはすべて prefers-reduced-motion で止まる。
   ============================================================ */

:root {
  --iron: #fdfcf9;                         /* 白く塗った鉄（JOIN の窓） */
  --iron-edge: rgba(255, 255, 255, 0.95);
  --iron-shade: rgba(118, 104, 156, 0.30);
  --gw-sky-1: #f1f5fb; --gw-sky-2: #f8f4fb; --gw-sky-3: #fdf8f1;
  --gw-glow-1: rgba(255, 249, 232, 0.95); --gw-glow-2: rgba(255, 249, 232, 0);
  --lattice-ink: #574b86;
  --sun-op: 0.06; --moon-op: 0;
  --lamp-rgb: 255, 214, 160;
  --hair-strong: rgba(155, 139, 196, 0.55);
  --sheet: #fdfbf6;                        /* 薄紙 */
  --sheet-ink: var(--t-body);
  --ease-glass: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-light: cubic-bezier(0.45, 0, 0.2, 1);
}
body[data-scene="night"] {
  --iron: #cfc6e4;
  --iron-edge: rgba(226, 216, 248, 0.55);
  --iron-shade: rgba(6, 4, 22, 0.55);
  --gw-sky-1: #151436; --gw-sky-2: #1e1b48; --gw-sky-3: #2b2453;
  --gw-glow-1: rgba(178, 192, 255, 0.34); --gw-glow-2: rgba(178, 192, 255, 0);
  --sun-op: 0; --moon-op: 0.042;
  --hair-strong: rgba(200, 184, 240, 0.48);
  --sheet: #2b2650;
}

/* ---------- 天窓の光：温室の屋根の桟の影が床と壁に落ち、雲が流れると濃淡が変わる ---------- */
.bg .bg-sun, .bg .bg-moon {
  position: absolute; inset: -8vh -6vw -36vh -6vw; overflow: hidden;
  transform: translate3d(0, var(--lat-y, 0px), 0);
  -webkit-mask: url('lattice.webp') 30% 0 / max(1800px, 118vw) auto no-repeat;
          mask: url('lattice.webp') 30% 0 / max(1800px, 118vw) auto no-repeat;
  transition: opacity 1.8s var(--ease-scene);
}
.bg .bg-sun { opacity: var(--sun-op); }
.bg .bg-moon { opacity: var(--moon-op);
  -webkit-mask: linear-gradient(#000 0 0), url('lattice.webp') 30% 0 / max(1800px, 118vw) auto no-repeat;
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0), url('lattice.webp') 30% 0 / max(1800px, 118vw) auto no-repeat;
          mask-composite: exclude; }
.bg .bg-tone {
  position: absolute; left: -1200px; top: -1200px; right: -120px; bottom: -120px;
  -webkit-mask: url('clouds.webp') 0 0 / 1100px 1100px repeat; mask: url('clouds.webp') 0 0 / 1100px 1100px repeat;
  animation: tg-cloud 160s linear infinite;
}
.bg .bg-sun .bg-tone { background: var(--lattice-ink); }
.bg .bg-moon .bg-tone { background: #d6defc; }
@keyframes tg-cloud { to { transform: translate3d(1100px, 1100px, 0); } }
.bg .bg-powder { opacity: calc(0.16 * var(--day)); }
.bg .bg-fluid { opacity: calc(0.09 * var(--day)); }

/* ---------- ランプ（夜に一つずつ灯る。点く時にわずかに揺らぐ） ---------- */
.lamp {
  position: absolute; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(closest-side, rgba(var(--lamp-rgb), 0.40), rgba(var(--lamp-rgb), 0.13) 52%, rgba(var(--lamp-rgb), 0) 100%);
  mix-blend-mode: screen; transition: opacity .7s var(--ease-scene);
}
body[data-scene="night"] .lamp { opacity: 1; animation: tg-lamp-on 1.6s var(--ld, .3s) both; }
@keyframes tg-lamp-on { 0% { opacity: 0; } 16% { opacity: .78; } 24% { opacity: .22; } 38% { opacity: .92; } 50% { opacity: .58; } 100% { opacity: 1; } }

/* ============================================================
   ヘッダー：細い進み具合の線・指すと中央から引かれる下線・昼夜は文字だけ
   ============================================================ */
body { font-size: 16px; }
.site-header { transition: height .5s var(--ease-soft), background .9s var(--ease-scene), border-color .9s var(--ease-scene), box-shadow .6s, -webkit-backdrop-filter .6s, backdrop-filter .6s;
  view-transition-name: site-header; padding-top: env(safe-area-inset-top, 0px); height: calc(var(--hdr) + env(safe-area-inset-top, 0px)); }
.site-header.is-compact { height: calc(64px + env(safe-area-inset-top, 0px)); box-shadow: 0 10px 30px rgba(80, 64, 140, 0.10); }
.site-header .brand { transition: opacity .7s var(--ease-soft); }
.site-header .brand img { transition: height .5s var(--ease-soft); }
.site-header.is-compact .brand img { height: 46px; }
/* トップの映像の上では、ヘッダーは透明（ロゴは真ん中の大きなロゴだけ） */
body.over-hero .site-header { background: transparent; border-bottom-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.over-hero .site-header .brand { opacity: 0; pointer-events: none; }
body.over-hero .hdr-progress { opacity: 0; }
.hdr-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, rgba(155, 139, 196, 0), var(--acc-lav) 30%, var(--em)); pointer-events: none; transition: opacity .6s; }
body.is-member .hdr-progress { background: linear-gradient(90deg, transparent, var(--tg) 40%, var(--tg-ink)); }
.site-nav a { position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--em); transition: left .45s var(--ease-soft), right .45s var(--ease-soft); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: 6px; right: 6px; }
.site-nav a[aria-current="page"] { box-shadow: none; }
.site-nav a[aria-current="page"]::after { left: 6px; right: 6px; }

/* 昼夜：Day ── Night の文字だけ。選ばれている方が濃く、細い下線がもう一方へ滑る */
.scene-toggle { width: auto; height: 44px; padding: 0 6px; gap: 10px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--t-heading-ink); position: relative; }
.scene-toggle:hover { transform: none; }
.st-word { position: relative; padding: 6px 0 7px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; line-height: 1; letter-spacing: .05em;
  transition: opacity .9s var(--ease-scene); }
.st-day { opacity: 1; } .st-night { opacity: .36; }
body[data-scene="night"] .st-day { opacity: .36; } body[data-scene="night"] .st-night { opacity: 1; }
.scene-toggle:hover .st-word, .scene-toggle:focus-visible .st-word { opacity: .9; }
.st-word::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .9s var(--ease-scene); }
.st-day::after { transform-origin: 100% 50%; }
.st-night::after { transform-origin: 0 50%; }
body:not([data-scene="night"]) .st-day::after, body[data-scene="night"] .st-night::after { transform: scaleX(1); }
.st-rule { width: 22px; height: 1px; background: currentColor; opacity: .4; }
.st-mark { display: none; }

/* ---------- 昼夜の移り変わり：照明が変わる（円で塗り替えない） ----------
   夜へ＝部屋の明かりがゆっくり落ちて、暗がりから夜の庭が浮かび、ランプが一つずつ灯る。
   朝へ＝光があふれて白く飛び、そこから昼の庭が現れる。 */
html.is-switching *, html.is-switching *::before, html.is-switching *::after { transition: none !important; }
html.vt-light .site-header { view-transition-name: none; }
html.vt-light::view-transition-old(root), html.vt-light::view-transition-new(root) { mix-blend-mode: normal; animation-fill-mode: both; }
html.vt-light.to-night::view-transition { background: #07061a; }
html.vt-light.to-day::view-transition { background: #fffaf1; }
html.vt-light.to-night::view-transition-old(root) { animation: tg-dusk-out 1.15s var(--ease-light) both; }
html.vt-light.to-night::view-transition-new(root) { animation: tg-dusk-in 1.5s cubic-bezier(.3, 0, .15, 1) .5s both; }
html.vt-light.to-day::view-transition-old(root) { animation: tg-dawn-out 1.05s var(--ease-light) both; }
html.vt-light.to-day::view-transition-new(root) { animation: tg-dawn-in 1.45s cubic-bezier(.3, 0, .15, 1) .42s both; }
@keyframes tg-dusk-out { 0% { opacity: 1; filter: none; } 40% { filter: brightness(.62) saturate(.8) sepia(.18) hue-rotate(195deg); } 65% { opacity: .62; filter: brightness(.34) saturate(.7) sepia(.3) hue-rotate(200deg); } 100% { opacity: 0; filter: brightness(.12) saturate(.6) sepia(.3) hue-rotate(200deg); } }
@keyframes tg-dusk-in { 0% { opacity: 0; filter: brightness(.42) saturate(.8); } 100% { opacity: 1; filter: none; } }
@keyframes tg-dawn-out { 0% { opacity: 1; filter: none; } 65% { opacity: .64; filter: brightness(1.5) saturate(.72) contrast(.88); } 100% { opacity: 0; filter: brightness(1.9) saturate(.55) contrast(.8); } }
@keyframes tg-dawn-in { 0% { opacity: 0; filter: brightness(1.4) saturate(.78) blur(3px); } 100% { opacity: 1; filter: none; } }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }

/* ============================================================
   見出し＝温室のアーチ窓の線（出てくる時に線が引かれる）
   ============================================================ */
.ah { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 54px; }
.ah-frame { position: relative; width: 300px; height: 176px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 16px; }
.ah-frame::before { content: ''; position: absolute; left: 16px; right: 16px; top: 16px; bottom: 0; border-radius: 134px 134px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 88%); opacity: calc(.9 * var(--day) + .08); }
.ah-arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ah-arch path { fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-soft); }
.ah-o { stroke: var(--hair-strong); stroke-width: 1.2px; }
.ah-i { stroke: var(--hair); stroke-width: 1px; transition-delay: .18s !important; }
.ah-k { stroke: var(--gold-line); stroke-width: 1.2px; transition-delay: .9s !important; }
.ah.show .ah-arch path, .no-js .ah-arch path { stroke-dashoffset: 0; }
.ah-no { position: absolute; top: 38px; left: 0; right: 0; font: 500 11.5px/1 var(--jost); letter-spacing: .34em; padding-left: .34em; color: var(--t-sub-ink); }
.ah-en { position: relative; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(50px, 5.4vw, 66px); line-height: 1; letter-spacing: .01em; color: var(--t-heading); }
.ah-jp { margin-top: 16px; font-size: 13px; letter-spacing: .5em; padding-left: .5em; color: var(--t-sub-ink); }
.ah-kicker { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; font-family: var(--jost); font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--t-sub-ink); }
.ah-kicker::before, .ah-kicker::after { content: ''; width: 28px; height: 1px; background: var(--gold-line); }
/* 文字は下の線から立ち上がる（辞典 text-mask-rise） */
.ah .ah-en { clip-path: inset(-20% -10% -6% -10%); }
.ah .ah-no, .ah .ah-jp, .ah .ah-kicker { opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.ah .ah-en { opacity: 0; transform: translateY(70%); transition: opacity .9s var(--ease-soft), transform 1.3s var(--ease-soft); }
.ah.show .ah-no { transition-delay: .5s; } .ah.show .ah-en { transition-delay: .25s; } .ah.show .ah-jp { transition-delay: .6s; } .ah.show .ah-kicker { transition-delay: .75s; }
.ah.show .ah-no, .ah.show .ah-en, .ah.show .ah-jp, .ah.show .ah-kicker, .no-js .ah * { opacity: 1; transform: none; }
.ah.reveal { opacity: 1; transform: none; }

/* ---------- 温室のアーチ窓（JOIN の部品・社長が良いと言った形はそのまま） ---------- */
.gw { position: absolute; pointer-events: none; }
.gw-depth { width: 100%; height: 100%; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotateY(var(--pr, 0deg)); transition: transform .9s var(--ease-soft); transform-style: preserve-3d; }
.gw-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gw-s1 { stop-color: var(--gw-sky-1); } .gw-s2 { stop-color: var(--gw-sky-2); } .gw-s3 { stop-color: var(--gw-sky-3); }
.gw-g1 { stop-color: var(--gw-glow-1); } .gw-g2 { stop-color: var(--gw-glow-2); }
.gw-sky stop, .gw-glow stop { transition: stop-color 1.4s var(--ease-scene); }
.gw-bar, .gw-bar-s, .gw-frame, .gw-frame-s { fill: none; stroke-linejoin: round; }
.gw-bar { stroke: var(--iron); stroke-width: 13px; transition: stroke 1.4s var(--ease-scene); }
.gw-bar-s { stroke: var(--iron-shade); stroke-width: 15px; transform: translate(5px, 7px); }
.gw-frame { stroke: var(--iron); stroke-width: 30px; transition: stroke 1.4s var(--ease-scene); }
.gw-frame-s { stroke: var(--iron-shade); stroke-width: 32px; transform: translate(7px, 10px); }
.gw-sheen { transform-box: view-box; animation: tg-sheen 14s var(--ease-glass) infinite; opacity: calc(.75 * var(--day) + .22); }
@keyframes tg-sheen { 0%, 62% { transform: translateX(0); } 100% { transform: translateX(2000px); } }

/* ============================================================
   トップ：ヒーロー＝ロゴと3Dの庭（並木道を噴水まで歩く。下へスクロールすると進み、霧の白でコンセプトへ）
   ============================================================ */
/* 3D の庭からコンセプトへ：歩く道のり（前の 240vh の 140vh 分）の 9割の所で映像が霧に溶け始め、その間にコンセプトが下から上がってきて重なる。
   前は 3D が消えきってから約半画面、何もない白い画面が続いていた（社長「3D が終わった瞬間にコンセプトが表示されていていい・3D がだんだん消えていく中に現れるように」2026-10-10）。
   道のりの割合は garden.js が読む：--hf-film＝歩き終わるまで・--hf-fade-at／--hf-fade-len＝溶け始めと長さ・--hf-over＝見出しの帯を透明にしておく所（溶ける途中まで） */
.hero.hero-film { height: 301vh; height: 301svh; padding: 0; display: block; overflow: visible;
  --hf-film: .6965; --hf-fade-at: .6269; --hf-fade-len: .3731; --hf-over: .8134; }   /* 道のり 201vh＝歩く 140（溶け始め 126）＋溶ける 75 */
.is-top .hero-film + .section.concept { position: relative; z-index: 2; margin-top: -75vh; margin-top: -75svh; }   /* 溶ける 75vh の間、映像の上に重なって上がってくる */
.no-js .is-top .hero-film + .section.concept, .is-top .hero-film.is-static + .section.concept { margin-top: 0; }   /* 映像が動かない時は重ねない（スマホの指定より強く） */
.hf-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hf-media { position: absolute; inset: 0; opacity: var(--hf-fade, 1); will-change: opacity; }   /* スクロールの寄りは garden.js が canvas の中で描く（CSS で引き伸ばすと4人が甘くなる） */
.hf-poster, .hf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.hf-poster { object-position: 50% 45%; }   /* garden.js の anchorAt と同じ（開いた最初の画） */
/* 縦長の画面：映像の幅の62%を見せて下に寄せる（garden.js の SHOW_W と同じ）。上の空いた所は映像の上端の色（昼は霞の白・夜は藍） */
@media (max-aspect-ratio: 1/1) {
  .hf-media { background: #fdfdfd; }
  body[data-scene="night"] .hf-media { background: #575e77; }
  .hf-poster { top: auto; right: auto; bottom: 0; left: 50%; width: calc(100vw / 0.62); height: auto; transform: translateX(-50%); object-fit: fill; }
}
.hf-night { opacity: 0; }
body[data-scene="night"] .hf-night { opacity: 1; }
body[data-scene="night"] .hf-day { opacity: 0; }
.hf-canvas { opacity: 0; transition: opacity .6s linear; }
.hero-film.is-live .hf-canvas { opacity: 1; }
.hero-film.is-live .hf-poster { visibility: hidden; }
/* 開いた瞬間は霧の白から（映画のフェードイン） */
.hf-media::after { content: ''; position: absolute; inset: 0; background: var(--scene-bg); opacity: 1; transition: opacity 1.5s var(--ease-soft) .05s; pointer-events: none; }
.hero-film.is-in .hf-media::after, .no-js .hf-media::after { opacity: 0; }
/* ロゴの後ろの霧を少しだけ濃く（文字が読めるように。図形ではなく光の濃淡） */
.hf-haze { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(54% 40% at 50% 49%, rgba(255, 255, 255, .42), rgba(255, 255, 255, .12) 55%, rgba(255, 255, 255, 0) 78%); }
body[data-scene="night"] .hf-haze { background: radial-gradient(56% 42% at 50% 48%, rgba(14, 12, 40, .42), rgba(14, 12, 40, .14) 58%, rgba(14, 12, 40, 0) 80%); }
.lamp-hero { left: 22%; top: -18%; width: 56%; height: 78%; z-index: 1; }
.hf-title { position: absolute; z-index: 3; left: 0; right: 0; top: 26%; padding: 0 20px;   /* 3Dの撮り直し3回目→4回目（10/10）：4人が大きくなり画面の真ん中まで来たので、ロゴは上へ（真ん中だと顔に重なった） */ display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.6vh, 28px); text-align: center; pointer-events: none;
  transform: translate3d(0, calc(-50% + var(--hf-ty, 0px)), 0) scale(var(--hf-ts, 1)); opacity: var(--hf-to, 1); will-change: transform, opacity; }
.hf-logo { margin: 0; filter: drop-shadow(0 4px 30px rgba(255, 255, 255, .75)); }
body[data-scene="night"] .hf-logo { filter: drop-shadow(0 4px 34px rgba(10, 8, 34, .7)); }
.hf-logo img { width: min(66vw, 880px, 72vh); height: auto; }   /* 高さの低い横長の画面でも、ロゴの下端が4人の頭より上に収まる大きさ */
.hf-label { margin: 0; font: 500 12.5px/1 var(--jost); letter-spacing: .52em; padding-left: .52em; text-transform: uppercase; color: var(--t-sub-ink); }
.hf-label span { display: inline-block; }
.js .hf-logo img { transition: opacity 1.6s var(--ease-soft) .3s, filter 2.1s var(--ease-soft) .3s, transform 2.6s var(--ease-soft) .3s; }
.js .hero-film:not(.is-in) .hf-logo img { opacity: 0; filter: blur(18px); transform: scale(1.05); }
.js .hf-label span { transition: opacity 1.6s var(--ease-soft) 1.1s, letter-spacing 2.2s var(--ease-soft) .9s; }
.js .hero-film:not(.is-in) .hf-label span { opacity: 0; letter-spacing: 1.1em; }
/* 保険：動きの部品（garden.js）が読めなかった時も、3秒で霧が晴れてロゴが出る */
@keyframes tg-cover-fallback { to { opacity: 0; } }
@keyframes tg-reveal-fallback { to { opacity: 1; filter: none; transform: none; letter-spacing: .52em; } }
.js .hero-film:not(.is-in) .hf-media::after { animation: tg-cover-fallback 1.2s ease 3.2s forwards; }
.js .hero-film:not(.is-in) .hf-logo img, .js .hero-film:not(.is-in) .hf-label span { animation: tg-reveal-fallback 1.4s ease 3.3s forwards; }
.hf-scroll { position: absolute; z-index: 3; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); padding: 10px 14px;
  font: 500 11px/1 var(--jost); letter-spacing: .44em; text-transform: uppercase; color: var(--t-sub-ink); text-decoration: none; opacity: var(--hf-cue, 1); }
.hf-scroll span { display: inline-block; padding-left: .44em; animation: tg-scroll-hint 3.6s var(--ease-breath) infinite; }
@keyframes tg-scroll-hint { 0%, 100% { opacity: .38; transform: translateY(0); } 50% { opacity: .95; transform: translateY(4px); } }
.is-top .section.concept { padding-top: 40px; }
/* 動きを減らす設定：映像は1枚の絵として、歩かない（スクロールの道のりも作らない） */
.hero.hero-film.is-static { height: 100vh; height: 100svh; }
.hero-film.is-static .hf-stage { position: relative; }

/* ============================================================
   トップ：CONCEPT（窓辺に和紙テープで貼った薄紙。下は紙として風にしなる）
   ============================================================ */
.vellum { position: relative; width: fit-content; max-width: 100%; margin: 70px auto 0; }
.vellum.reveal, .vellum.reveal.show { transform: none; }
.vl-hang { position: relative; perspective: 1500px; perspective-origin: 50% -10%; }
.vellum-sheet { position: relative; padding: 70px 78px 58px; isolation: isolate; overflow: hidden; color: var(--t-body);
  background: var(--sheet); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 30px 50px -36px rgba(70, 56, 110, .42), 0 10px 18px -14px rgba(70, 56, 110, .16); }
body[data-scene="night"] .vellum-sheet { box-shadow: 0 30px 50px -30px rgba(4, 3, 16, .6), 0 10px 18px -14px rgba(4, 3, 16, .4); }
.vellum-sheet::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('paper-grain.webp') center / 900px auto; mix-blend-mode: soft-light; opacity: .5; }
body[data-scene="night"] .vellum-sheet::before { opacity: .3; }
.vellum-sheet::after { /* 薄紙の上を流れる桟の影（天窓の光が紙にも落ちる） */
  content: ''; position: absolute; inset: -20%; z-index: 2; pointer-events: none; background: var(--lattice-ink); opacity: calc(.06 * var(--day));
  -webkit-mask: url('lattice.webp') 40% 10% / 1500px auto no-repeat; mask: url('lattice.webp') 40% 10% / 1500px auto no-repeat;
  transform: translate3d(0, var(--lat-y2, 0px), 0); }
body[data-scene="night"] .vellum-sheet::after { background: #d6defc; opacity: .05; }
.vellum-text { writing-mode: vertical-rl; text-orientation: mixed; height: 31em; margin: 0 auto; font-size: 16.5px; line-height: 2.35; letter-spacing: .16em; color: inherit; font-feature-settings: "palt" 0; }
.vellum-text .wp { margin: 0; }
.vellum-text .wp + .wp { margin-block-start: 1.5em; }
.vellum-text .wl { display: block; }
.vellum-text .em { color: var(--em); font-weight: 600; }
.js .vellum-text .wl { opacity: .08; filter: blur(6px); letter-spacing: .34em; transition: opacity 1.4s var(--ease-soft), filter 1.6s var(--ease-soft), letter-spacing 1.8s var(--ease-soft); transition-delay: calc(var(--wi, 0) * 190ms + .2s); }
.js .vellum.is-read .vellum-text .wl { opacity: 1; filter: none; letter-spacing: .16em; }
.vellum-sign { position: absolute; left: 34px; bottom: 24px; font-family: var(--script); font-size: 22px; color: var(--t-sub-ink); opacity: .8; }
/* シダの一枝（実物の写真）を、テープの下に茎を挟んで紙の上の端に添える。押し葉らしく少し色を落とす */
.vl-fern { position: absolute; z-index: 5; left: calc(50% - 184px); top: -106px; width: 168px; height: auto; pointer-events: none; transform: rotate(-24deg); transform-origin: 85% 85%;
  filter: saturate(.72) sepia(.1) brightness(1.02) drop-shadow(0 1px 1px rgba(40, 52, 30, .2)); }
body[data-scene="night"] .vl-fern { filter: saturate(.6) brightness(.6) drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
/* 和紙テープ（実物の写真）。紙の上の端と窓辺をつなぐ */
.vl-tape { position: absolute; z-index: 6; left: 50%; top: -30px; width: 176px; height: auto; pointer-events: none; transform: translateX(-50%) rotate(-2.5deg); opacity: .9;
  filter: drop-shadow(0 1px 1.2px rgba(70, 56, 110, .16)); }
body[data-scene="night"] .vl-tape { filter: brightness(.62) saturate(.7) drop-shadow(0 1px 1.5px rgba(0, 0, 0, .4)); opacity: .86; }
/* 紙のしなり：garden.js が紙を細い帯に分け、帯どうしを上から順に少しずつ曲げる（板ではなく紙として揺れる） */
.vl-strips { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; transform-style: preserve-3d; display: none; }
.vellum.has-strips .vl-strips { display: block; }
.vellum.has-strips .vellum-sheet { opacity: 0; }
.vl-strip { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 50% 0; transform-style: preserve-3d; }
.vl-face { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; backface-visibility: visible; }
.vl-face > .vellum-sheet { position: absolute; left: 0; opacity: 1 !important; margin: 0; box-shadow: none; }
.vl-face::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(48, 36, 86, var(--da, 0)), rgba(48, 36, 86, var(--db, 0))); }
.vl-face::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(rgba(255, 255, 255, var(--la, 0)), rgba(255, 255, 255, var(--lb, 0))); }
body[data-scene="night"] .vl-face::before { background: linear-gradient(rgba(200, 190, 255, calc(var(--la, 0) * .5)), rgba(200, 190, 255, calc(var(--lb, 0) * .5))); }
/* 紙の影：壁から離れるほど薄く・大きくぼける */
.vl-shadow { position: absolute; left: 3%; right: 3%; top: 2%; bottom: 0; pointer-events: none; z-index: -1; border-radius: 2px;
  box-shadow: 0 calc(18px + var(--vs, 0) * 40px) calc(34px + var(--vs, 0) * 50px) calc(-16px - var(--vs, 0) * 6px) rgba(70, 56, 110, calc(.36 - var(--vs, 0) * .14)); }
body[data-scene="night"] .vl-shadow { box-shadow: 0 calc(18px + var(--vs, 0) * 40px) calc(34px + var(--vs, 0) * 50px) -16px rgba(2, 1, 12, .6); }

/* ============================================================
   トップ：TALENT（一期生4人。一人ずつデザイナーさんの柱の窓に、頭から膝の下まで）
   社長「顔の一部しか見えず見づらい・せめて胸から上は見えるように」。立ち絵の決まり（切るのは膝より下）を守るため、
   一人ずつ「すねの中ほど」で切る（--lu-k＝その線が窓の下に来る頭の大きさの倍率・build_pages.py の LU_CUT）。
   目の線は4人そろえる。窓は一人ずつ分かれている（全身を横一列に並べない）。くもりで隠さない
   ============================================================ */
/* 立ち絵の窓は左右に少しはみ出して柔らかく消える。スマホ・タブレットで画面の幅を広げない（横に揺れない）よう、欄ごと横だけ切る（頭の飾りの上は切らない） */
#talent { overflow-x: clip; }
.lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 30px); max-width: 1180px; margin: 34px auto 0;
  --lu-head: clamp(58px, 6.3vw, 86px); }
.lu { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; text-decoration: none; color: inherit; }
.lu-pane { position: relative; display: block; width: 100%; height: calc(var(--lu-head) * 6.25); }
.lu-bar { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%);
  transition: filter .8s var(--ease-soft); }
.lu-bar.bar-d { display: block; }
body[data-scene="night"] .lu-bar.bar-d { display: none; }
/* 立ち絵：頭の飾り（耳・角）は窓の上にはみ出してよい。左右は窓の幅で柔らかく消え、下は膝の下で切る */
.lu-fig { position: absolute; left: -14%; right: -14%; top: calc(var(--lu-head) * -1); bottom: 0; --head: calc(var(--lu-head) * var(--lu-k, 1)); --fy: calc(var(--lu-head) * 2.25); --fx: 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent), linear-gradient(180deg, #000 calc(100% - var(--lu-head) * .2), transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent), linear-gradient(180deg, #000 calc(100% - var(--lu-head) * .2), transparent);
          mask-composite: intersect;
  overflow: clip; transition: transform 1s var(--ease-soft); }
.lu-fig .fig { filter: none; }
.lu:hover .lu-fig, .lu:focus-visible .lu-fig { transform: translateY(-6px); }
.lu:hover .lu-bar, .lu:focus-visible .lu-bar { filter: brightness(1.05) saturate(1.08); }
.lu:focus-visible { outline: none; }
.lu:focus-visible .lu-plate b { text-decoration: underline; text-underline-offset: 5px; }
.lu-plate { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 14px; text-align: center; }
.lu-plate b { font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: var(--t-body); word-break: keep-all; }
.lu-plate i { font: italic 500 15px/1.35 var(--serif); letter-spacing: .1em; color: var(--tg-ink); }
body[data-scene="night"] .lu-plate i { color: var(--tg-ink-n); }
.lu-plate em { margin-top: 7px; font-style: normal; font-size: 12.5px; letter-spacing: .06em; padding: 2px 12px; border-radius: 100px; color: var(--tg-ink);
  border: 1px solid color-mix(in srgb, var(--tg) 45%, transparent); background: color-mix(in srgb, var(--tg) 8%, rgba(255, 255, 255, .6)); }
body[data-scene="night"] .lu-plate em { color: var(--tg-ink-n); background: rgba(255, 255, 255, .06); }
.lineup + .gh-handle-row { margin-top: 34px; }
.is-top .section { padding-top: 96px; padding-bottom: 96px; }
.is-top #talent { padding-top: 72px; }
.is-top .letters { padding-top: 40px; }

/* ============================================================
   トップ：JOIN（あなたの花を待つ、空のガラスの台）※社長が良いと言った構図はそのまま
   ============================================================ */
.join-view { min-height: 460px; background: linear-gradient(180deg, #f6f2fb, #efe8f6); }
body[data-scene="night"] .join-view { background: linear-gradient(180deg, #221d47, #1b1738); }
.join-view .jv-room { opacity: .65; }
.jv-window { left: 50%; top: 6%; width: 38%; aspect-ratio: 1000 / 1620; transform: translateX(-50%); z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.jv-floorlight { position: absolute; z-index: 1; left: 50%; bottom: 2%; width: 92%; aspect-ratio: 1800 / 760; transform: translateX(-50%);
  background: #fff0d6; mix-blend-mode: multiply; opacity: calc(.7 * var(--day));
  -webkit-mask: url('window-light.webp') center / 100% 100% no-repeat; mask: url('window-light.webp') center / 100% 100% no-repeat; }
body[data-scene="night"] .jv-floorlight { background: #a9b6ff; mix-blend-mode: screen; opacity: .22; }
.join-stage { z-index: 2; }
.join-stage::after { bottom: 16%; animation: tg-float 7s var(--ease-breath) infinite alternate; }
@keyframes tg-float { from { transform: translateX(-50%) scaleY(0.28) translateY(0); } to { transform: translateX(-50%) scaleY(0.28) translateY(-14px); } }
.lamp-join { left: 10%; top: -20%; width: 80%; height: 90%; }
.jv-seat { position: absolute; z-index: 1; left: 50%; bottom: 20%; width: 46%; height: 70%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 251, 240, 0), rgba(255, 251, 240, .5) 70%, rgba(255, 251, 240, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); opacity: calc(.55 * var(--day)); }
.join-text .kicker { color: var(--t-sub-ink); }
.join .btn-solid { position: relative; overflow: hidden; }
.join .btn-solid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-soft); }
.join .btn-solid:hover::after { transform: translateX(120%); }

/* ---------- スマホのメニュー：項目が上から順に現れ、下に六人の顔（各部屋へ） ---------- */
.nav-faces { display: none; }
@media (max-width: 860px) {
  .site-nav .nav-faces { display: block; padding: 4px 20px 20px; }
  .nav-faces p { font: 500 11px/1 var(--jost); letter-spacing: .3em; color: var(--t-sub-ink); margin: 6px 0 12px; }
  .nf-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .site-nav .nf-row a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 2px 0; border-bottom: 0; text-decoration: none; }
  .site-nav .nf-row a::after { display: none; }
  .nf-face { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--nc), 0 6px 14px rgba(80, 64, 140, .18); background: #fff; }
  .nf-face img { width: 100%; height: 100%; object-fit: cover; }
  .nf-row b { font: 500 11px/1.2 var(--jost); letter-spacing: .02em; color: var(--t-sub-ink); }
  .site-nav li, .site-nav .nav-faces { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease-soft); }
  .site-nav.open li, .site-nav.open .nav-faces { opacity: 1; transform: none; }
  .site-nav.open li:nth-child(1) { transition-delay: .04s; } .site-nav.open li:nth-child(2) { transition-delay: .08s; }
  .site-nav.open li:nth-child(3) { transition-delay: .12s; } .site-nav.open li:nth-child(4) { transition-delay: .16s; }
  .site-nav.open .nav-faces { transition-delay: .22s; }
}

/* ---------- 上へ戻る（アーチの小窓）。2画面ほど下りたら出る ---------- */
.to-top { position: fixed; z-index: 70; right: 22px; bottom: 22px; width: 50px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 26px 26px 10px 10px; border: 1px solid var(--glass-edge); background: var(--glass-fill); color: var(--t-heading-ink); text-decoration: none; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s var(--ease-soft), transform .45s var(--ease-soft); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }
.to-top span { font: 500 11px/1 var(--jost); letter-spacing: .14em; padding-left: .14em; }
@media (max-width: 860px) { .to-top { right: 14px; bottom: 14px; width: 44px; height: 54px; } }
/* ボタンの矢印は指すと少し進む。ボタンは指に少しだけ寄ってくる（辞典 touch-magnetic・garden.js） */
.btn > span[aria-hidden="true"]:not(.yt) { display: inline-block; transition: transform .45s var(--ease-step); }
.btn:hover > span[aria-hidden="true"]:not(.yt) { transform: translate(3px, 0); }
.btn.is-magnet { transition: transform .6s var(--ease-soft), box-shadow .6s, background .6s; transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.btn.is-magnet:hover { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px), 0); }

/* ---------- フッター：昼と夜で一言が変わる ---------- */
.f-tag .f-night { display: none; }
body[data-scene="night"] .f-tag .f-day { display: none; }
body[data-scene="night"] .f-tag .f-night { display: inline; }

/* ============================================================
   一覧（talent.html）：ガラスの陳列棚。顔の後ろにデザイナーさんの縦の柱（担当色・上はアーチ）
   ============================================================ */
@property --fr { syntax: '<length>'; inherits: false; initial-value: 0px; }
.niche-room { opacity: .55; }
.niche-bar { position: absolute; z-index: 1; left: 50%; top: 10px; width: calc(2.05 * var(--head)); max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; opacity: .95;
  transition: transform 1.1s var(--ease-soft), opacity .8s; }
.niche-bar.bar-d { display: block; }
body[data-scene="night"] .niche-bar.bar-d { display: none; }
body[data-scene="night"] .niche-bar { opacity: .88; }
.niche:hover .niche-bar { transform: translateX(-50%) translateY(-4px); }
.niche-spot { z-index: 1; mix-blend-mode: screen; opacity: .5; }
.niche-fog { position: absolute; inset: 0; z-index: 4; pointer-events: none; --mx: 50%; --my: 80%; --fr: 0px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .34) 100%);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), transparent calc(var(--fr) - 40px), #000 var(--fr)); mask-image: radial-gradient(circle at var(--mx) var(--my), transparent calc(var(--fr) - 40px), #000 var(--fr));
  transition: --fr .9s var(--ease-soft); }
.niche-fog::after { content: ''; position: absolute; inset: 0; background: url('fog.webp') center / 420px auto; mix-blend-mode: overlay; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 58%, #000 100%); mask-image: linear-gradient(180deg, transparent 58%, #000 100%); }
body[data-scene="night"] .niche-fog { background: linear-gradient(180deg, rgba(48, 41, 90, 0) 62%, rgba(48, 41, 90, .40) 100%); }
.niche:hover .niche-fog, .niche:focus-visible .niche-fog { --fr: 420px; }
.niche .fig-stack .fig { transition: transform .9s var(--ease-soft); transform-origin: 50% 30%; }
.niche:hover .fig-stack .fig { transform: scale(1.035); }
.niche-glint { position: absolute; inset: -20% -60%; z-index: 5; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, .08) 52%, transparent 60%); transform: translateX(-70%); }
.niche:hover .niche-glint { transform: translateX(70%); transition: transform 1.2s var(--ease-glass); }
.niche-no { display: block; margin-bottom: 2px; font: 500 11px/1.4 var(--jost); letter-spacing: .3em; color: var(--tg-ink); }
body[data-scene="night"] .niche-no { color: var(--tg-ink-n); }
.niche-plate { padding-top: 14px; }
.niche .go span { display: inline-block; transition: transform .45s var(--ease-step); }
.niche:hover .go span { transform: translateX(5px); }
.shelf-grid { padding-bottom: 8px; }

/* ============================================================
   個別：デザイナーさんの縦の柱（担当色・アーチ）の前に立つ。白い床に柱と足元が映り、靴底の形の影が落ちる
   ============================================================ */
/* 柱は昼＝淡い柱、夜＝深く光る柱 */
.bar-n { display: none; }
body[data-scene="night"] .bar-d { display: none; }
body[data-scene="night"] .bar-n { display: block; }
.m-hero { --floor: calc(var(--fy) + var(--feet) * var(--head)); overflow-x: clip; }
@media (min-width: 861px) { .m-hero { height: max(100vh, calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 240px)); } }
.m-room { opacity: calc(.18 + .16 * var(--day)); }
.m-wash { background: radial-gradient(48% 46% at var(--pane-x, 71%) 44%, color-mix(in srgb, var(--tg) 16%, transparent), transparent 72%); }
.m-pane { position: absolute; z-index: 0; pointer-events: none; left: var(--pane-x, 71%); top: calc(var(--hdr) + 2vh); height: calc(var(--floor) - var(--hdr) - 2vh); aspect-ratio: 486 / 1350;
  transform: translateX(-50%) translate3d(0, var(--pane-par, 0px), 0); }
.m-bar { width: 100%; height: 100%; max-width: none; object-fit: fill;
  -webkit-box-reflect: below 0px linear-gradient(transparent 64%, rgba(0, 0, 0, .05) 80%, rgba(0, 0, 0, .34)); }
.m-bar.bar-d { display: block; }
body[data-scene="night"] .m-bar.bar-d { display: none; }
body[data-scene="night"] .m-bar { -webkit-box-reflect: below 0px linear-gradient(transparent 64%, rgba(0, 0, 0, .06) 80%, rgba(0, 0, 0, .42)); }
/* 床の映り込み：磨いたタイルのように長く（社長「テール長めに反射」2026-10-10）。4人はすねの下から、柱と枠は下の36%を、床に近いほど濃く。
   長くなった分、最初の画面の床の下の余白を 240px に（前は靴底から頭0.5個ぶんだけ・余白 150px） */
.m-figure .fig { filter: none; -webkit-box-reflect: below calc(-120 * var(--u)) linear-gradient(transparent 72%, rgba(0, 0, 0, .05) 85%, rgba(0, 0, 0, .27) 97.4%, transparent 97.6%); }
body[data-scene="night"] .m-figure .fig { -webkit-box-reflect: below calc(-120 * var(--u)) linear-gradient(transparent 72%, rgba(0, 0, 0, .06) 85%, rgba(0, 0, 0, .34) 97.4%, transparent 97.6%); }
.fig-shadow { position: absolute; z-index: 0; pointer-events: none; max-width: none; --u: calc(var(--head) / 270);
  width: calc(1920 * var(--u)); height: calc(200 * var(--u)); left: calc(var(--fx, 50%) - 960 * var(--u)); top: calc(var(--fy) + var(--feet) * var(--head) - 100 * var(--u)); opacity: .58; }
body[data-scene="night"] .fig-shadow { opacity: .8; }
.m-hero .pedestal, .m-hero .pedestal-shadow, .m-window, .m-floorlight { display: none; }
/* ピントが合う（辞典 image-focus-pull）：開くと立ち絵にピントが来て、少し遅れて奥の柱がはっきりする */
.js .m-hero .m-pane { transition: filter 2s var(--ease-soft) .55s, opacity 1.6s var(--ease-soft) .3s; }
.js .m-hero:not(.is-in) .m-pane { filter: blur(16px); opacity: 0; }
.js .m-hero .m-figure { transition: filter 1.5s var(--ease-soft), opacity 1.2s var(--ease-soft); }
.js .m-hero:not(.is-in) .m-figure { filter: blur(10px); opacity: 0; }
@keyframes tg-show-fallback { to { opacity: 1; filter: none; } }
.js .m-hero:not(.is-in) .m-pane, .js .m-hero:not(.is-in) .m-figure { animation: tg-show-fallback 1.2s ease 3s forwards; }
.lamp-member { left: calc(var(--pane-x, 71%) - 30vw); top: -10vh; width: 60vw; height: 70vh; }
.m-lantern { position: absolute; z-index: 2; pointer-events: none; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  transform: translate3d(var(--lx, 70vw), var(--ly, 40vh), 0); opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 218, 168, .30), rgba(255, 218, 168, .10) 50%, transparent); mix-blend-mode: screen; transition: opacity .8s;
  /* 部屋（.m-hero）は下の端で切れる → 光は下の端の 220px 手前から消していき、端でちょうど 0（--lfade は garden.js が毎回入れる） */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(var(--lfade, 4000px) - 220px), transparent var(--lfade, 4000px));
          mask-image: linear-gradient(180deg, #000 calc(var(--lfade, 4000px) - 220px), transparent var(--lfade, 4000px)); }
body[data-scene="night"] .m-hero.has-lantern .m-lantern { opacity: 1; }
.m-lantern { display: none; } .m-hero.has-lantern .m-lantern { display: block; }
.m-letter { display: none; }
.m-kicker .jp { margin-left: 2px; }
.m-figure { z-index: 1; }
/* 声のとびら：指すと、声の輪が広がる */
.vd-play { position: relative; }
.vd-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.vd-rings i { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tg) 70%, transparent); opacity: 0; }
.voice-door:hover .vd-rings i, .voice-door:focus-visible .vd-rings i { animation: tg-ring 2.4s cubic-bezier(.2, .6, .35, 1) infinite; }
.voice-door .vd-rings i:nth-child(2) { animation-delay: .8s !important; } .voice-door .vd-rings i:nth-child(3) { animation-delay: 1.6s !important; }
@keyframes tg-ring { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(3.4); opacity: 0; } }
/* 記録の札：右下に担当の押し花（実物の写真） */
.record-card { overflow: visible; }
.rc-flower { position: absolute; right: -30px; bottom: -34px; width: 104px; height: auto; z-index: 2; pointer-events: none; transform: rotate(-14deg);
  filter: drop-shadow(0 1px 1px rgba(60, 40, 40, .2)); }
body[data-scene="night"] .rc-flower { filter: brightness(.86) drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.p-portrait .p-fog { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url('fog.webp') center / 420px auto; mix-blend-mode: overlay; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent 72%, #000 100%); mask-image: linear-gradient(180deg, transparent 72%, #000 100%); }
/* 前後の部屋のカード：指すと扉が少し開くように */
.relay { perspective: 900px; }
.rr-card { transform-origin: 0 50%; transition: transform .55s var(--ease-soft), box-shadow .55s; }
.rr-card:hover { transform: rotateY(-8deg) translateY(-2px); box-shadow: 18px 18px 34px rgba(78, 90, 110, .16); }
.rr-card:last-child { transform-origin: 100% 50%; }
.rr-card:last-child:hover { transform: rotateY(8deg) translateY(-2px); box-shadow: -18px 18px 34px rgba(78, 90, 110, .16); }

/* ---------- ページの移り変わり（同じサイトの中だけ。くもりが晴れるように） ---------- */
@view-transition { navigation: auto; }
@keyframes tg-vt-out { to { opacity: 0; filter: blur(8px); } }
@keyframes tg-vt-in { from { opacity: 0; filter: blur(10px); } }
html:not(.vt-light)::view-transition-old(root) { animation: tg-vt-out .42s var(--ease-glass) both; }
html:not(.vt-light)::view-transition-new(root) { animation: tg-vt-in .7s var(--ease-glass) .08s both; }

/* ============================================================
   スマホ・タブレット
   ============================================================ */
@media (max-width: 860px) {
  .scene-toggle { height: 44px; padding: 0 2px; gap: 7px; }
  .st-word { font-size: 16px; }
  .st-rule { width: 12px; }
  .site-header.is-compact { height: calc(64px + env(safe-area-inset-top, 0px)); }
  .site-nav { top: calc(var(--hdr) + env(safe-area-inset-top, 0px)); }
  .site-header.is-compact .brand img { height: 44px; }
  body.over-hero .site-header .menu-toggle { background: transparent; box-shadow: none; border-color: transparent; }
  .ah { margin-bottom: 38px; }
  .ah-frame { width: 240px; height: 148px; padding-bottom: 12px; }
  .ah-no { top: 30px; }
  .ah-en { font-size: 46px; }
  .hero.hero-film { height: 250vh; height: 250svh; --hf-film: .6667; --hf-fade-at: .6; --hf-fade-len: .4; --hf-over: .8; }   /* 道のり 150vh＝歩く 100（溶け始め 90）＋溶ける 60 */
  /* 個別ページ：足元の下を 64px → 130px にして、長い床の映り込みを切らずに下へ薄れさせる（前は箱の下端でまっすぐ切れた） */
  .m-figure { height: calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 130px);
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); }
  .m-room { height: calc(var(--hero-eye) + var(--feet) * var(--hero-head) + 130px); }
  .is-top .hero-film + .section.concept { margin-top: -60vh; margin-top: -60svh; }
  .hf-logo img { width: min(86vw, 520px); }
  .hf-label { font-size: 11px; letter-spacing: .4em; padding-left: .4em; }
  .lamp-hero { left: 0; width: 100%; top: -10%; height: 60%; }
  .concept { padding-top: 64px; }
  .vellum { width: 100%; margin-top: 54px; }
  .vellum-sheet { padding: 44px 24px 56px; }
  .vellum-text { writing-mode: horizontal-tb; height: auto; text-align: center; font-size: 15px; line-height: 2.2; letter-spacing: .06em; }
  .js .vellum-text .wl { letter-spacing: .14em; }
  .js .vellum.is-read .vellum-text .wl { letter-spacing: .06em; }
  .vellum-text .wp + .wp { margin-block-start: 1.1em; }
  .vellum-sign { left: auto; right: 22px; bottom: 16px; font-size: 19px; }
  .vl-tape { width: 132px; top: -24px; }
  .vl-fern { width: 124px; top: -68px; left: calc(50% - 128px); }
  .join-view { min-height: 300px; }
  .jv-window { width: 34%; top: 5%; }
  .m-pane { left: 50%; top: calc(var(--hdr) + 1.5vh); height: calc(var(--floor) - var(--hdr) - 1.5vh); }
  .m-wash { background: radial-gradient(60% 40% at 50% 40%, color-mix(in srgb, var(--tg) 16%, transparent), transparent 72%); }
  .lamp-member { left: 0; width: 100vw; }
  .ah-kicker { display: block; max-width: 86%; letter-spacing: .2em; line-height: 1.8; text-wrap: balance; }
  .ah-kicker::before, .ah-kicker::after { display: none; }
  .rc-flower { right: -10px; bottom: -26px; width: 84px; }
  .shelf-grid { padding-bottom: 0; }
  .niche-bar { top: 6px; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; --lu-head: clamp(42px, 12.4vw, 62px); }
  .lu-plate b { font-size: 15px; }
  .lu-plate i { font-size: 13.5px; }
  .lu-plate em { font-size: 12px; padding: 1px 10px; }
}

/* ---------- 動きを減らす設定・透明を減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg .bg-tone, .gw-sheen, .join-stage::after, .hf-scroll span { animation: none !important; }
  .js .vellum-text .wl { opacity: 1 !important; filter: none !important; transform: none !important; }
  .js .hero-film:not(.is-in) .hf-logo img, .js .hero-film:not(.is-in) .hf-label span { opacity: 1; filter: none; transform: none; letter-spacing: .52em; }
  .hf-media::after { opacity: 0 !important; }
  .ah-arch path { stroke-dashoffset: 0 !important; }
  .ah .ah-no, .ah .ah-en, .ah .ah-jp, .ah .ah-kicker { opacity: 1 !important; transform: none !important; }
  .js .m-hero:not(.is-in) .m-pane, .js .m-hero:not(.is-in) .m-figure { filter: none; opacity: 1; }
  body[data-scene="night"] .lamp { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .niche-fog, .gh-pane .pane-fog { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============================================================
   末岡さんの枠とボタン（2026-07-24 納品・2026-10-10 組み込み）
   部品＝assets/o/parts/（_build/build_frame_parts.py が原本から写した物。<名前>-g＝金茶の線のまま・-w＝白い線・-fill＝形の型）
   社長：「線を白くしたり、光らせたり、効果を使ってパーツとして使う。今の柱・バーの素材はそのまま残し、そこに足す」（10/09）
         「左の枠→下段のボタン→手鏡の順で」「下のパーツは全部使える・一旦文字無しで」（07/17）
   線は昼は金茶のまま、色の上と夜は白くして光らせる。文字はサイトの文字（絵の文字は使わない）
   ============================================================ */
/* ---------- アーチの枠（frame1）：上のアーチと下の角の飾りは形のまま、左右の線だけ縦に伸ばす（border-image） ----------
   切り分け＝parts.json（890×1200 の絵で 上442・右24・下135・左23）。幅は親の箱の幅（cqw）から決めるので、アーチがゆがまない */
.pt-frame { position: absolute; pointer-events: none; border-style: solid; border-width: 0; box-sizing: border-box;
  --fw: 100cqw;
  border-image-source: url("parts/frame-g.webp"); border-image-slice: 442 24 135 23; border-image-repeat: stretch;
  border-image-width: calc(var(--fw) * .4966) calc(var(--fw) * .0270) calc(var(--fw) * .1517) calc(var(--fw) * .0258);
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .95)); transition: filter .6s var(--ease-soft); }
body[data-scene="night"] .pt-frame { border-image-source: url("parts/frame-w.webp");
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .85)) drop-shadow(0 0 12px rgba(196, 182, 255, .55)); }
/* トップのタレント欄：一人ずつ、柱（そのまま）の外側にアーチの枠。名前の札まで枠の中に入れ、名前の下に飾り線（frame1_sen） */
.lu { container-type: inline-size; }
.lu > .pt-frame { --fw: 86cqw; left: 7cqw; width: 86cqw; top: calc(var(--lu-head) * -.55); bottom: -12px; z-index: 0; }
.lu-pane, .lu-plate { position: relative; z-index: 1; }
.lu-plate { padding-bottom: 26px; }
.lu-sen { display: block; width: 62cqw; height: calc(62cqw * 18 / 565); margin: 7px auto 2px; background: url("parts/sen-g.webp") center / 100% 100% no-repeat; opacity: .9; }
body[data-scene="night"] .lu-sen { background-image: url("parts/sen-w.webp"); opacity: .8; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .7)); }
.lu:hover > .pt-frame, .lu:focus-visible > .pt-frame { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px rgba(226, 200, 140, .75)); }
body[data-scene="night"] .lu:hover > .pt-frame, body[data-scene="night"] .lu:focus-visible > .pt-frame { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 18px rgba(214, 200, 255, .9)); }
/* 個別ページ：後ろの柱（そのまま）の外側にアーチの枠。床まで下ろして、柱の入口のように。
   昼は金茶の線（白い線は明るい壁に溶けて見えなかった）に白と担当色の光、夜は白い線を担当色で光らせる */
.m-pane { container-type: inline-size; }
.m-pane > .pt-frame { --fw: 132cqw; left: -16cqw; width: 132cqw; top: -9cqw; bottom: 0;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .95)) drop-shadow(0 0 12px color-mix(in srgb, var(--tg) 40%, transparent));
  /* 柱と4人と同じく床に映す（社長「体と後ろの柱は下に反射しているのに、枠が反射していない」2026-10-10） */
  -webkit-box-reflect: below 0px linear-gradient(transparent 64%, rgba(0, 0, 0, .05) 80%, rgba(0, 0, 0, .34)); }
body[data-scene="night"] .m-pane > .pt-frame { border-image-source: url("parts/frame-w.webp");
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)) drop-shadow(0 0 14px color-mix(in srgb, var(--tg) 55%, #fff)); opacity: .95;
  -webkit-box-reflect: below 0px linear-gradient(transparent 64%, rgba(0, 0, 0, .06) 80%, rgba(0, 0, 0, .42)); }
/* プロフィールの肖像：枠の形（角の欠けたアーチ）で切り、枠の線と、下に名前（英字）と飾り線。
   形の型で切れるのは Chrome・Safari（-webkit-mask-box-image）。ほかのブラウザは今までのアーチのまま */
.p-back, .p-nameband { display: none; }
@supports (-webkit-mask-box-image-source: none) {
  .p-portrait { container-type: inline-size; border-radius: 0; box-shadow: none; overflow: visible; background: none !important; height: calc(var(--fy) + var(--hide-from) * var(--head) + 52px); }
  .p-portrait > .p-back { display: block; position: absolute; inset: 0; z-index: -1;
    -webkit-mask-box-image: url("parts/frame-fill.webp") 442 24 135 23 fill / calc(100cqw * .4966) calc(100cqw * .0270) calc(100cqw * .1517) calc(100cqw * .0258) stretch;
    background: radial-gradient(ellipse 80% 40% at 50% 86%, 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)); }
  body[data-scene="night"] .p-portrait > .p-back { background: radial-gradient(ellipse 80% 40% at 50% 86%, color-mix(in srgb, var(--tg) 30%, transparent), transparent 70%), linear-gradient(180deg, #3a3266, #2a2450); }
  /* 立ち絵は名前の帯の上まで（帯の上端＝今までの切る線＝鎖骨より上）。上はアーチの形で切る */
  .p-portrait > .fig-stack { -webkit-mask-box-image: url("parts/frame-fill.webp") 442 24 0 23 fill / calc(100cqw * .4966) calc(100cqw * .0270) 0 calc(100cqw * .0258) stretch;
    clip-path: inset(0 0 52px 0); overflow: hidden; }   /* 型で切っても箱ははみ出すので、立ち絵の箱で切る（肖像の overflow を外したらスマホで横にはみ出した） */
  .p-portrait > .p-nameband { display: flex; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; z-index: 2; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 12px;
    -webkit-mask-box-image: url("parts/frame-fill.webp") 0 24 135 23 fill / 0 calc(100cqw * .0270) calc(100cqw * .1517) calc(100cqw * .0258) stretch;
    background: linear-gradient(180deg, color-mix(in srgb, var(--tg) 7%, #fffdf8), #fffaf2); }
  body[data-scene="night"] .p-portrait > .p-nameband { background: linear-gradient(180deg, #2e2858, #262048); }
  .p-nameband i { font: italic 500 15px/1.2 var(--serif); letter-spacing: .12em; color: var(--tg-ink); white-space: nowrap; }
  body[data-scene="night"] .p-nameband i { color: var(--tg-ink-n); }
  .p-nameband .p-sen { display: block; width: 64cqw; height: calc(64cqw * 18 / 565); margin-top: 7px; background: url("parts/sen-g.webp") center / 100% 100% no-repeat; }
  body[data-scene="night"] .p-nameband .p-sen { background-image: url("parts/sen-w.webp"); }
  .p-portrait > .pt-frame { --fw: 100cqw; inset: 0; z-index: 3; }
  .p-portrait .p-fog { bottom: 52px; -webkit-mask-box-image: url("parts/frame-fill.webp") 442 24 0 23 fill / calc(100cqw * .4966) calc(100cqw * .0270) 0 calc(100cqw * .0258) stretch; }
}
/* ---------- ボタン＝VIEW MORE のプレート（両端の角が欠けた形）。面は形の型で切って色を塗り、線は border-image で描く ----------
   切り分け＝442×120 の絵で 左右34。プレートの高さ --bh に合わせて両端の幅 --cap を決める（形がゆがまない）。
   Chrome・Safari だけ（-webkit-mask-box-image）。ほかのブラウザは今までの丸いボタンのまま */
@supports (-webkit-mask-box-image-source: none) {
  .btn { --bh: 50px; --cap: calc(var(--bh) * .2833); position: relative; isolation: isolate; min-height: var(--bh); padding: 0 calc(var(--cap) + 22px); white-space: nowrap;
    border-radius: 0; border: 0 !important; background: none !important; box-shadow: none !important; transition: transform .35s var(--ease-step), filter .45s, color .35s; }
  .btn::before, .btn::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .btn::before { background: var(--pt-fill); -webkit-mask-box-image: url("parts/vm-fill.webp") 0 34 fill / 0 var(--cap) stretch; }
  .btn::after { border-style: solid; border-width: 0; border-image: url("parts/vm-w.webp") 0 34 fill / 0 var(--cap) stretch; transform: none; opacity: .95; }
  .btn-solid { --pt-fill: var(--btn, #5a4a7a); color: #fff; filter: drop-shadow(0 9px 16px color-mix(in srgb, var(--btn, #5a4a7a) 32%, transparent)); }
  .btn-glass { --pt-fill: rgba(255, 255, 255, .80); filter: drop-shadow(0 8px 18px rgba(78, 90, 110, .13)); }
  .btn-glass::after { border-image-source: url("parts/vm-g.webp"); opacity: 1; }
  .btn-solid:hover { filter: drop-shadow(0 0 7px rgba(255, 255, 255, .95)) drop-shadow(0 10px 20px color-mix(in srgb, var(--btn, #5a4a7a) 40%, transparent)); }
  .btn-glass:hover { filter: drop-shadow(0 0 8px rgba(226, 200, 140, .8)) drop-shadow(0 10px 20px rgba(78, 90, 110, .14)); }
  body[data-scene="night"] .btn-glass { --pt-fill: rgba(50, 42, 96, .90); }
  body[data-scene="night"] .btn-glass::after { border-image-source: url("parts/vm-w.webp"); opacity: .9; }
  body[data-scene="night"] .btn { filter: drop-shadow(0 0 5px rgba(208, 196, 255, .35)); }
  body[data-scene="night"] .btn:hover { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)) drop-shadow(0 0 16px rgba(196, 182, 255, .7)); }
  /* オーディションのボタン：光が横切る（前の ::after の光は面の中に移した） */
  .join .btn-solid { overflow: visible; }
  .join .btn-solid::before { background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%) -160% 0 / 70% 100% no-repeat, var(--pt-fill); transition: background-position .9s var(--ease-soft); }
  .join .btn-solid:hover::before { background-position: 260% 0, 0 0; }
  .t-intro .t-jump .btn { --bh: 44px; padding: 0 calc(var(--cap) + 18px); min-height: var(--bh); }
  /* ---------- 前後の部屋＝NEXT のプレート（片方が丸い形）。次の部屋は丸い方が右、前の部屋は左右を返す。顔は丸い方に ---------- */
  .rr-card { --bh: 78px; --capn: calc(var(--bh) * .2833); --capr: calc(var(--bh) * .5); position: relative; isolation: isolate; min-height: var(--bh);
    border-radius: 0; border: 0 !important; background: none !important; box-shadow: none !important; filter: drop-shadow(0 10px 20px rgba(78, 90, 110, .12)); }
  .rr-card::before, .rr-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .rr-card::before { background: rgba(255, 255, 255, .82); -webkit-mask-box-image: url("parts/next-fill.webp") 0 60 0 34 fill / 0 var(--capr) 0 var(--capn) stretch; }
  .rr-card::after { border-style: solid; border-width: 0; border-image: url("parts/next-g.webp") 0 60 0 34 fill / 0 var(--capr) 0 var(--capn) stretch; }
  .rr-card.is-next { padding: 0 calc(var(--capr) * .36) 0 calc(var(--capn) + 20px); }
  .rr-card.is-prev { padding: 0 calc(var(--capn) + 20px) 0 calc(var(--capr) * .36); }
  .rr-card.is-prev::before, .rr-card.is-prev::after { transform: scaleX(-1); }
  .rr-card:hover, .rr-card:last-child:hover { box-shadow: none !important; filter: drop-shadow(0 0 7px rgba(226, 200, 140, .7)) drop-shadow(0 12px 22px rgba(78, 90, 110, .14)); }
  body[data-scene="night"] .rr-card::before { background: rgba(50, 42, 96, .9); }
  body[data-scene="night"] .rr-card::after { border-image-source: url("parts/next-w.webp"); opacity: .9; }
  body[data-scene="night"] .rr-card { filter: drop-shadow(0 0 5px rgba(208, 196, 255, .3)); }
  body[data-scene="night"] .rr-card:hover { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .75)) drop-shadow(0 0 16px rgba(196, 182, 255, .65)); }
}
/* ---------- フッターの区切り＝飾りの横棒（BAR1）。昼は金茶、夜は白く光らせる ---------- */
.site-footer::before { width: min(380px, 72%); height: auto; aspect-ratio: 911 / 96; background: url("parts/bar-g.webp") center / contain no-repeat; opacity: .85; }
body[data-scene="night"] .site-footer::before { background-image: url("parts/bar-w.webp"); opacity: .8; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .7)) drop-shadow(0 0 12px rgba(196, 182, 255, .5)); }
@media (max-width: 860px) {
  .lu > .pt-frame { --fw: 92cqw; left: 4cqw; width: 92cqw; top: calc(var(--lu-head) * -.45); }
  .lu-sen { width: 70cqw; height: calc(70cqw * 18 / 565); }
  .rr-card { --bh: 64px; flex: 1 1 100%; max-width: 400px; }   /* NEXT の形は両端に幅を取るので、スマホでは2段に（横に2枚だと名前が切れた） */
  .rr-txt { white-space: nowrap; }
  .btn { --bh: 46px; }
}
@media (prefers-reduced-motion: reduce) { .pt-frame, .btn, .rr-card { transition: none; } }

/* ---------- タレント一覧＝手鏡（talent.html・2026-10-10 社長が採用）：末岡さんの手鏡（mirror）に顔を映して並べる。前のガラスの棚は prototype/P8 に残している ----------
   鏡の面＝楕円（mirror_white の型で切る・絵の高さの 0.22%〜95.89%）。切る決まりは顔の窓と同じ（楕円の下端＝目の線から頭0.50倍＝鎖骨より上）。
   動き＝指すと鏡を少し傾け、鏡面に光の帯が横切る。下の星（絵の 48.9%・91.6%）がゆっくり光る */
.mirror-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); max-width: 1120px; margin: 0 auto; padding: 0 20px; justify-items: center; }
.mirror-grid.is-two { grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; }
.mirror-card { display: flex; flex-direction: column; align-items: center; width: 100%; text-decoration: none; color: inherit; min-width: 0; }
.mc-mirror { position: relative; display: block; width: min(100%, 250px); aspect-ratio: 699 / 900; container-type: inline-size; transition: transform .7s var(--ease-soft); transform-origin: 50% 92%; }
.mirror-card:hover .mc-mirror, .mirror-card:focus-visible .mc-mirror { transform: rotate(-2.2deg) translateY(-4px); }
.mirror-card:focus-visible { outline: none; }
.mirror-card:focus-visible .mc-plate b { text-decoration: underline; text-underline-offset: 5px; }
.mc-glass { position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  -webkit-mask: url("parts/mirror-fill.webp") center / 100% 100% no-repeat; mask: url("parts/mirror-fill.webp") center / 100% 100% no-repeat;
  --H: calc(100cqw * 900 / 699 * .9567);
  --head: calc(var(--H) * .7); --fy: calc(100cqw * 900 / 699 * .0022 + var(--H) * .65); --fx: 50%; }   /* 目＝楕円の上から65%・頭＝楕円の高さの0.7倍 → 目の線から頭0.50倍＝楕円の下端（鎖骨より上） */
.mc-room { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 30% at 50% 92%, color-mix(in srgb, var(--tg) 24%, transparent), transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--tg) 10%, #ffffff), color-mix(in srgb, var(--tg) 18%, #fbf7fd)); }
body[data-scene="night"] .mc-room { background: radial-gradient(ellipse 70% 34% at 50% 96%, color-mix(in srgb, var(--tg) 30%, transparent), transparent 72%), radial-gradient(60% 50% at 50% 0%, rgba(255, 240, 222, .18), transparent 70%), linear-gradient(180deg, #342d5e, #262048); }
.mc-glass .fig-stack { z-index: 1; }
.mc-glass .fig { filter: none; }
.mc-glass::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(160deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0) 38%), radial-gradient(60% 40% at 30% 12%, rgba(255, 255, 255, .20), transparent 70%); }
.mc-shine { position: absolute; top: -10%; bottom: -10%; left: 0; width: 46%; z-index: 3; pointer-events: none; opacity: 0; transform: translateX(-130%) skewX(-12deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5) 44%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, .5) 56%, transparent); }
.mirror-card:hover .mc-shine, .mirror-card:focus-visible .mc-shine { animation: mc-shine 1.15s var(--ease-soft) forwards; }
@keyframes mc-shine { 0% { transform: translateX(-130%) skewX(-12deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(260%) skewX(-12deg); opacity: 0; } }
.mc-line { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: url("parts/mirror-g.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .95)) drop-shadow(0 6px 12px rgba(78, 90, 110, .14)); transition: filter .6s var(--ease-soft); }
.mirror-card:hover .mc-line { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px rgba(226, 200, 140, .75)); }
body[data-scene="night"] .mc-line { background-image: url("parts/mirror-w.webp"); filter: drop-shadow(0 0 3px rgba(255, 255, 255, .85)) drop-shadow(0 0 12px rgba(196, 182, 255, .55)); }
body[data-scene="night"] .mirror-card:hover .mc-line { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 18px rgba(214, 200, 255, .9)); }
.mc-twinkle { position: absolute; left: 48.9%; top: 91.6%; width: 24cqw; height: 24cqw; z-index: 5; pointer-events: none; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 246, 214, .9), rgba(255, 226, 160, .32) 45%, transparent 75%);
  transform: translate(-50%, -50%) scale(.7); opacity: .05; animation: mc-twinkle 4.2s ease-in-out infinite; animation-delay: var(--tw, 0s); }
.mirror-card:nth-child(2) { --tw: -1.1s; } .mirror-card:nth-child(3) { --tw: -2.3s; } .mirror-card:nth-child(4) { --tw: -3.2s; }
@keyframes mc-twinkle { 0%, 100% { opacity: .05; transform: translate(-50%, -50%) scale(.7); } 50% { opacity: .85; transform: translate(-50%, -50%) scale(1.05); } }
body[data-scene="night"] .mc-twinkle { background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(210, 200, 255, .45) 45%, transparent 75%); }
.mc-plate { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 10px; }
.mc-no { font: 500 11px/1 var(--jost); letter-spacing: .3em; color: var(--tg-ink); }
.mc-plate b { margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: .06em; color: var(--t-body); line-height: 1.5; word-break: keep-all; }
.mc-plate b.is-long { font-size: 15.5px; letter-spacing: .02em; }
.mc-plate i { font: italic 500 14.5px/1.3 var(--serif); letter-spacing: .1em; color: var(--tg-ink); }
body[data-scene="night"] .mc-plate i, body[data-scene="night"] .mc-no { color: var(--tg-ink-n); }
.mc-sen { display: block; width: min(190px, 76%); aspect-ratio: 565 / 18; margin: 8px auto 4px; background: url("parts/sen-g.webp") center / 100% 100% no-repeat; }
body[data-scene="night"] .mc-sen { background-image: url("parts/sen-w.webp"); filter: drop-shadow(0 0 3px rgba(255, 255, 255, .7)); }
.mc-plate em { margin-top: 4px; font-style: normal; font-size: 12.5px; letter-spacing: .06em; padding: 2px 12px; border-radius: 100px; color: var(--tg-ink);
  background: color-mix(in srgb, var(--tg) 12%, #fff); border: 1px solid color-mix(in srgb, var(--tg) 35%, transparent); }
body[data-scene="night"] .mc-plate em { color: var(--tg-ink-n); background: rgba(255, 255, 255, .06); }
.mirror-shelf .shelf-head { margin-bottom: 26px; }
@media (max-width: 860px) {
  .mirror-grid, .mirror-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; padding: 0 16px; }
  .mc-plate b { font-size: 15.5px; } .mc-plate b.is-long { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .mc-twinkle { animation: none; opacity: .5; } .mirror-card:hover .mc-shine { animation: none; } .mc-mirror, .mc-line { transition: none; } }

/* 手紙の欄の操作の案内（名前の帯を指して…）は、目に見える文字では出さない（UI で分かるように・2026-10-10 社長）。読み上げのためには残す */
[data-letter-stack] #ls-help { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-letter-stack] .ls-bottom { justify-content: flex-end; }

/* ============================================================
   コンセプトの見せ方の3案（concept-patterns.html・見比べ用・2026-10-10）
   社長「今の紙が揺れるので読みづらい。表示パターンを3つぐらい」。文章は3案とも社長の言葉（build_pages.py の CONCEPT）。
   決まったらトップのコンセプトをその案に入れ替え、このページと使わない案の指定は消す
   ============================================================ */
.is-cp #main { padding-top: 84px; }
.cp { position: relative; padding: 64px clamp(16px, 5vw, 64px) 96px; }
.cp + .cp { border-top: 1px solid color-mix(in srgb, var(--gold-line) 55%, transparent); }
.cp-tag { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 30px; font: 500 14px/1 var(--mincho); letter-spacing: .2em; color: var(--t-sub-ink); }
.cp-tag b { font: 600 12px/1 var(--jost); letter-spacing: .3em; padding: 7px 14px 7px 16px; border: 1px solid var(--gold-line); border-radius: 100px; color: var(--t-heading-ink); }
/* ---------- 案A：静かな便箋（紙・押し花・テープのまま揺れない。行が右から順に、墨がにじむように現れて止まる） ---------- */
.cp-vellum { margin-top: 64px; }
/* ---------- 案B：霧から浮かぶ言葉（3D の霧の続きの白い霧から、スクロールに合わせて1行ずつ浮かび、最後に全文がそろう） ---------- */
.cpb-run, .cpc-run { position: relative; margin: 0 calc(-1 * clamp(16px, 5vw, 64px)); }
.cpb-run { height: 360vh; height: 360svh; }
.cpb-stage, .cpc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding-top: 64px; box-sizing: border-box; }
.cpb-fog { position: absolute; inset: -14%; pointer-events: none; z-index: 1; filter: blur(10px);
  background: radial-gradient(42% 30% at 50% 50%, rgba(255, 255, 255, .0), rgba(255, 255, 255, .55) 60%, rgba(253, 251, 255, .92) 82%),
    radial-gradient(26% 18% at 28% 38%, rgba(255, 255, 255, .9), transparent 70%), radial-gradient(30% 20% at 72% 60%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(24% 16% at 56% 30%, rgba(250, 247, 255, .8), transparent 70%), radial-gradient(28% 18% at 40% 70%, rgba(252, 249, 255, .8), transparent 70%);
  opacity: calc(1 - var(--t, 0) * .78); animation: cpb-drift 30s ease-in-out infinite alternate; }
.cpb-fog2 { filter: blur(16px); background: radial-gradient(34% 24% at 64% 34%, rgba(255, 255, 255, .9), transparent 72%), radial-gradient(30% 22% at 34% 64%, rgba(255, 255, 255, .85), transparent 72%);
  opacity: calc(.9 - var(--t, 0) * .85); animation-duration: 44s; animation-direction: alternate-reverse; }
@keyframes cpb-drift { from { transform: translate3d(-3%, 0, 0); } to { transform: translate3d(3%, -1%, 0); } }
body[data-scene="night"] .cpb-fog { background: radial-gradient(42% 30% at 50% 50%, rgba(36, 31, 78, 0), rgba(36, 31, 78, .55) 60%, rgba(28, 24, 62, .94) 82%),
    radial-gradient(26% 18% at 28% 38%, rgba(120, 112, 190, .42), transparent 70%), radial-gradient(30% 20% at 72% 60%, rgba(110, 104, 182, .4), transparent 70%),
    radial-gradient(24% 16% at 56% 30%, rgba(96, 90, 170, .36), transparent 70%), radial-gradient(28% 18% at 40% 70%, rgba(100, 94, 176, .36), transparent 70%); }
body[data-scene="night"] .cpb-fog2 { background: radial-gradient(34% 24% at 64% 34%, rgba(150, 142, 220, .35), transparent 72%), radial-gradient(30% 22% at 34% 64%, rgba(140, 132, 214, .32), transparent 72%); }
.cpb-text { position: relative; z-index: 2; width: min(940px, 92vw); text-align: center; }
.cpb-line { --s: 0; margin: 0; font: 500 clamp(15px, min(1.6vw, 2.5vh), 22px)/1.95 var(--mincho); letter-spacing: .14em; color: var(--t-body); font-feature-settings: "palt" 1;
  opacity: var(--s); filter: blur(calc((1 - var(--s)) * 12px)); transform: translate3d(0, calc((1 - var(--s)) * 16px), 0); will-change: opacity, filter, transform; }
.cpb-line + .cpb-line { margin-top: .38em; }
.cpb-line.is-em { font-size: clamp(19px, min(2.2vw, 3.6vh), 31px); color: var(--em); font-weight: 600; letter-spacing: .1em; }
.cpb-line .em { color: inherit; }
body[data-scene="night"] .cpb-line { text-shadow: 0 0 18px rgba(204, 192, 255, .35); }
.cpb-sign { margin: 1.4em 0 0; font-family: var(--script); font-size: 22px; color: var(--t-sub-ink); opacity: var(--sign, 0); transition: opacity .4s; }
/* ---------- 案C：アーチの窓に一行ずつ（末岡さんのアーチの枠を窓に、1文ずつ入れ替える。進むにつれて4人の押し花が咲く） ---------- */
.cpc-run { height: calc(var(--n, 8) * 55vh + 100vh); height: calc(var(--n, 8) * 55svh + 100svh); }
.cpc-window { position: relative; width: min(540px, 82vw); height: min(76vh, 760px); container-type: inline-size; }
.cpc-glass { position: absolute; inset: 0;
  -webkit-mask-box-image: url("parts/frame-fill.webp") 442 24 135 23 fill / calc(100cqw * .4966) calc(100cqw * .0270) calc(100cqw * .1517) calc(100cqw * .0258) stretch;
  background: radial-gradient(ellipse 72% 36% at 50% 100%, color-mix(in srgb, var(--em) 12%, transparent), transparent 72%), linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 253, 250, .62));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body[data-scene="night"] .cpc-glass { background: radial-gradient(ellipse 72% 36% at 50% 100%, color-mix(in srgb, var(--em) 20%, transparent), transparent 72%), linear-gradient(180deg, rgba(48, 41, 96, .8), rgba(34, 29, 72, .74)); }
.cpc-window > .pt-frame { --fw: 100cqw; inset: 0; z-index: 3; }
.cpc-slides { position: absolute; inset: 24% 10% 20%; z-index: 2; display: grid; place-items: center; }
.cpc-slide { grid-area: 1 / 1; margin: 0; text-align: center; font: 500 clamp(18px, 2.35vw, 29px)/2.05 var(--mincho); letter-spacing: .13em; color: var(--t-body); font-feature-settings: "palt" 1;
  opacity: 0; filter: blur(6px); transform: translate3d(0, 12px, 0); transition: opacity .8s var(--ease-soft), filter .9s var(--ease-soft), transform .9s var(--ease-soft); }
.cpc-slide.is-on { opacity: 1; filter: none; transform: none; }
.cpc-slide.is-em { color: var(--em); font-weight: 600; font-size: clamp(21px, 2.8vw, 34px); letter-spacing: .1em; }
.cpc-slide .em { color: inherit; }
body[data-scene="night"] .cpc-slide { text-shadow: 0 0 16px rgba(204, 192, 255, .3); }
.cpc-flower { position: absolute; z-index: 4; width: clamp(78px, 9vw, 132px); height: auto; pointer-events: none; opacity: 0; transform: scale(.55) rotate(var(--r, 0deg));
  transition: opacity 1s var(--ease-soft), transform 1.3s var(--ease-soft); filter: drop-shadow(0 2px 3px rgba(60, 40, 40, .2)); }
.cpc-flower.is-on { opacity: 1; transform: scale(1) rotate(var(--r, 0deg)); }
body[data-scene="night"] .cpc-flower { filter: brightness(.82) drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.cpc-f1 { --r: -16deg; left: calc(50% - min(540px, 82vw) / 2 - clamp(30px, 5vw, 80px)); top: 30%; }
.cpc-f2 { --r: 14deg; right: calc(50% - min(540px, 82vw) / 2 - clamp(30px, 5vw, 80px)); top: 22%; }
.cpc-f3 { --r: 10deg; left: calc(50% - min(540px, 82vw) / 2 - clamp(20px, 4vw, 60px)); bottom: 16%; }
.cpc-f4 { --r: -12deg; right: calc(50% - min(540px, 82vw) / 2 - clamp(20px, 4vw, 60px)); bottom: 12%; }
.cpc-dots { position: absolute; z-index: 5; left: 50%; bottom: 4.5vh; transform: translateX(-50%); display: flex; gap: 10px; }
.cpc-dots i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--t-sub-ink) 30%, transparent); transition: background .4s, transform .4s; }
.cpc-dots i.is-on { background: var(--em); transform: scale(1.35); }
@media (max-width: 860px) {
  .cpc-window { height: min(68vh, 620px); }
  .cpc-slides { inset: 22% 8% 19%; }
  .cpc-f1, .cpc-f3 { left: 2vw; } .cpc-f2, .cpc-f4 { right: 2vw; }
  .cpc-flower { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .cpb-run, .cpc-run { height: auto; }
  .cpb-stage, .cpc-stage { position: relative; height: auto; padding: 48px 0; }
  .cpb-line { --s: 1 !important; filter: none; transform: none; }
  .cpb-fog { animation: none; }
  .cpc-window { height: auto; padding: 40% 10% 24%; }
  .cpc-slides { position: relative; inset: auto; display: block; }
  .cpc-slide { opacity: 1; filter: none; transform: none; margin-bottom: .6em; }
  .cpc-flower { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
.cp-devlink { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 44px 0 0; }   /* コンセプトの見せ方の3案への一時の入口（案が決まったら消す） */

/* ============================================================
   一期生のキャラクターロゴ（2026-09-24 共有・2026-10-11 社長「公式サイトに使って」）。写し＝assets/o/logos/（_build/build_char_logos.py）
   2026-10-11 夜 社長「ロゴのために場所を取って縦長になり UI 全体が見づらい・ロゴがただ独立していて美しくない・
   縦組みのぬくも。のせいで横組みの3人の上に余白・単調にスペースを取るだけでは劣化」→ 名札の中に場所を取るのをやめ、絵と一体に見せる。
   ・名札の文字は前のまま（読み上げ・ロゴの無い人）。ロゴは別の印（lu-mark／mc-mark）で、見せ方の案（logo-a／logo-b）が出し方を決める。
   ・案A（サイトの既定）：トップのタレント欄＝立ち絵の足元に重ねる（キービジュアルの名前の置き方）・縦組みは絵の横に立てる。
     タレント一覧＝鏡の台に名札のように少し重ねて吊るす（鏡の中は顔でいっぱいなので重ねない）・縦組みは名札の左に題字として立てる。
   ・案B（見比べ用 logo-patterns.html）：どちらも名札に収める（重ねない）・縦組みは名札の左に題字。高さは4人でそろえる
   ============================================================ */
.char-logo { display: block; max-width: 100%; height: auto; }
/* 夜：細い白い縁を二重に（ひさめの赤が暗い紫に沈んだ）＋ほのかな光 */
body[data-scene="night"] .char-logo { filter: drop-shadow(0 0 .8px #fff) drop-shadow(0 0 1px rgba(255, 255, 255, .8)) drop-shadow(0 0 12px rgba(255, 255, 255, .22)); }
.lu-mark, .mc-mark { display: none; pointer-events: none; }
.lu-mark img, .mc-mark img { max-width: none; width: auto; height: auto; }
.lu-foot, .mc-foot { display: contents; }

/* ---------- 案A トップのタレント欄：立ち絵の足元に重ねる ---------- */
.logo-a .lu.has-logo .lu-plate > b, .logo-a .lu.has-logo .lu-plate > i { display: none; }
.logo-a .lu.has-logo .lu-mark { display: flex; position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--lu-head) * 4.3); height: calc(var(--lu-head) * 1.75);
  align-items: flex-end; justify-content: center; transition: transform 1s var(--ease-soft); }
/* 絵の上で読めるように：字の形に沿った白い縁＋柔らかい光のたまり（夜は藍のたまり）。服の色とロゴの色が近い人（ぬくも。の青・ひさめの赤）も沈まない */
.logo-a .lu.has-logo .lu-mark img { width: 88cqw;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 7px rgba(255, 255, 255, .95)) drop-shadow(0 0 18px rgba(255, 255, 255, .9)); }
/* 縦組み（ぬくも。）：絵の左（茶色の髪と白い袖の上）に立てる。下の線はほかの3人のロゴとそろえる */
.logo-a .lu.has-logo .lu-mark.is-v { justify-content: flex-start; padding-left: 6cqw; }
.logo-a .lu.has-logo .lu-mark.is-v img { width: auto; height: calc(var(--lu-head) * 2.2); }
body[data-scene="night"] .logo-a .lu.has-logo .lu-mark img { filter: drop-shadow(0 0 .8px #fff) drop-shadow(0 0 1px rgba(255, 255, 255, .85)) drop-shadow(0 0 8px rgba(16, 12, 46, .9)) drop-shadow(0 0 20px rgba(16, 12, 46, .85)); }
.logo-a .lu.has-logo:hover .lu-mark, .logo-a .lu.has-logo:focus-visible .lu-mark { transform: translateY(-3px); }
.logo-a .lu.has-logo .lu-plate { margin-top: 6px; }

/* ---------- 案A タレント一覧：鏡の台に名札のように吊るす ---------- */
.logo-a .mirror-card.has-logo .mc-plate > b, .logo-a .mirror-card.has-logo .mc-plate > i { display: none; }
.logo-a .mirror-card.has-logo .mc-foot { display: flex; flex-direction: column; align-items: center; width: 100%; flex: 1 1 auto; }
.logo-a .mirror-card.has-logo .mc-mark { display: flex; justify-content: center; align-items: center; position: relative; z-index: 6; width: 100%; height: 58px; margin-top: -8px; }
.logo-a .mirror-card.has-logo .mc-mark img { max-width: 92%; max-height: 100%; }
.logo-a .mirror-card.has-logo .mc-plate { margin-top: 2px; }
/* 縦組み（ぬくも。）：番号と飾り線の左に題字のように立て、ジャンルの札は下の段（ほかの3人の札と横一列）。
   ロゴの上はほかの3人のロゴの上にそろえる（札を右の列に入れると細く折れた） */
.logo-a .mirror-card.has-logo .mc-foot.has-v { display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr auto auto auto; column-gap: 12px;
  justify-content: center; align-items: end; margin-top: -8px; }
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-plate { display: contents; }
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-mark { grid-column: 1; grid-row: 1 / 4; width: auto; height: auto; margin-top: 0; align-self: end; }
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-mark img { max-width: none; max-height: none; height: 112px; margin-top: -28px; }   /* 上は鏡の下の飾りに少し掛ける（ほかの3人の名札と同じく鏡に吊るす） */
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-no { grid-column: 2; grid-row: 2; justify-self: center; }
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-sen { grid-column: 2; grid-row: 3; width: 78px; }
.logo-a .mirror-card.has-logo .mc-foot.has-v .mc-plate > em { grid-column: 1 / -1; grid-row: 4; justify-self: center; }

/* ---------- 案B（見比べ用）：どちらも名札に収める ---------- */
.logo-b .lu.has-logo .lu-plate > b, .logo-b .lu.has-logo .lu-plate > i,
.logo-b .mirror-card.has-logo .mc-plate > b, .logo-b .mirror-card.has-logo .mc-plate > i { display: none; }
.logo-b .lu.has-logo .lu-foot { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 12px; position: relative; z-index: 1; }
.logo-b .lu.has-logo .lu-mark { display: flex; justify-content: center; align-items: center; width: 100%; height: 22cqw; }
.logo-b .lu.has-logo .lu-mark img { max-width: 80cqw; max-height: 100%; }
.logo-b .lu.has-logo .lu-plate { margin-top: 0; }
/* 縦組み（ぬくも。）：飾り線の左に題字として立て、ジャンルの札は下の段（ほかの3人の札と横一列） */
.logo-b .lu.has-logo .lu-foot.has-v { display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr auto auto; column-gap: 10px; justify-content: center; align-items: end; }
.logo-b .lu.has-logo .lu-foot.has-v .lu-plate { display: contents; }
.logo-b .lu.has-logo .lu-foot.has-v .lu-mark { grid-column: 1; grid-row: 1 / 3; width: auto; height: auto; }
.logo-b .lu.has-logo .lu-foot.has-v .lu-mark img { max-width: none; max-height: none; height: calc(22cqw + 18px); }
.logo-b .lu.has-logo .lu-foot.has-v .lu-sen { grid-column: 2; grid-row: 2; width: 70px; }
.logo-b .lu.has-logo .lu-foot.has-v .lu-plate > em { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
.logo-b .mirror-card.has-logo .mc-foot { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 8px; }
.logo-b .mirror-card.has-logo .mc-mark { display: flex; justify-content: center; align-items: center; width: 100%; height: 52px; }
.logo-b .mirror-card.has-logo .mc-mark img { max-width: 88%; max-height: 100%; }
.logo-b .mirror-card.has-logo .mc-foot.has-v { display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr auto auto auto; column-gap: 12px; justify-content: center; align-items: end; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-plate { display: contents; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-mark { grid-column: 1; grid-row: 1 / 4; width: auto; height: auto; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-mark img { max-width: none; max-height: none; height: 86px; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-no { grid-column: 2; grid-row: 2; justify-self: center; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-sen { grid-column: 2; grid-row: 3; width: 78px; }
.logo-b .mirror-card.has-logo .mc-foot.has-v .mc-plate > em { grid-column: 1 / -1; grid-row: 4; justify-self: center; }

/* ---------- 個別ページの名前 ---------- */
.m-name.has-logo { margin: 6px 0 4px; line-height: 0; }
.m-name.has-logo .m-logo { width: min(520px, 38vw); margin-left: -8px; }
/* 縦組み（ぬくも。）：文の左に題字のように立てる（上の小見出しは横いっぱい・題字の右に英字・ジャンル・説明・ボタン） */
.m-text.has-vlogo { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(22px, 2.6vw, 40px); align-content: safe center; }
.m-text.has-vlogo > .m-kicker { grid-column: 1 / -1; }
.m-text.has-vlogo > .m-name { grid-column: 1; grid-row: 2 / span 6; align-self: center; margin: 0; }
.m-text.has-vlogo > .m-en, .m-text.has-vlogo > .m-reading, .m-text.has-vlogo > .m-hair, .m-text.has-vlogo > .m-genre,
.m-text.has-vlogo > .m-lead, .m-text.has-vlogo > .m-actions, .m-text.has-vlogo > .costume { grid-column: 2; }
.m-text.has-vlogo > .m-genre { justify-self: start; }
.m-text.has-vlogo .m-logo.is-v { width: auto; max-width: none; height: clamp(250px, 36vh, 340px); margin: 0; }
.m-text.has-vlogo > .m-en { margin-top: 2px; }

@media (max-width: 860px) {
  .m-name.has-logo { display: flex; justify-content: center; }
  .m-name.has-logo .m-logo { width: min(86vw, 420px); margin-left: 0; }
  /* スマホ：題字（196px）の右に英字・ジャンル・説明、ボタンは下の段に横いっぱい（題字の列は縮めない＝ロゴがつぶれない） */
  .m-text.has-vlogo { grid-template-columns: max-content minmax(0, 1fr); justify-content: center; text-align: left; column-gap: 18px; }
  .m-text.has-vlogo > .m-kicker { justify-self: center; }
  .m-text.has-vlogo > .m-name { grid-row: 2 / span 4; }
  .m-text.has-vlogo .m-logo.is-v { height: 196px; }
  .m-text.has-vlogo > .m-hair { justify-content: flex-start; }
  .m-text.has-vlogo > .m-lead { font-size: 14px; margin-bottom: 0; }
  .m-text.has-vlogo > .m-actions { grid-column: 1 / -1; justify-content: center; margin-top: 22px; }
  /* 案A 一覧（2列）：鏡が小さいので名札とロゴも小さく。縦組みは番号と飾り線の左に立て、ジャンルの札は下の段に（札が細く折れないように） */
  .logo-a .mirror-card.has-logo .mc-mark { height: 42px; margin-top: -6px; }
  .logo-a .mirror-card.has-logo .mc-foot.has-v { column-gap: 8px; margin-top: -6px; }
  .logo-a .mirror-card.has-logo .mc-foot.has-v .mc-mark img { height: 88px; margin-top: -20px; }
  .logo-a .mirror-card.has-logo .mc-foot.has-v .mc-sen { width: 64px; }
  .logo-b .mirror-card.has-logo .mc-mark { height: 40px; }
  .logo-b .mirror-card.has-logo .mc-foot.has-v .mc-mark img { height: 74px; }
  .logo-b .mirror-card.has-logo .mc-foot.has-v .mc-sen, .logo-b .lu.has-logo .lu-foot.has-v .lu-sen { width: 60px; }
}
.lp-mirrors { margin-top: 84px; }   /* ロゴの見せ方の見比べ（logo-patterns.html）：タレント欄の4枚の下に一覧の手鏡 */
.cp.logo-a, .cp.logo-b { overflow-x: clip; }   /* 立ち絵の窓は左右に少しはみ出すので、トップの #talent と同じく欄ごと横だけ切る（スマホで画面の幅を広げない） */

/* タレント一覧の手鏡の縦組みのぬくも。の置き方は assets/o/mirror-nk.css（2026-10-12 夜 社長が決めた形）。
   見比べ用（mirror-patterns.html・鏡の外の左に立てる案 nk-edge・鏡の中に置く案 mc-vin）の指定は消した（prototype/P23 に残す） */

/* 胸から上の絵（-bust・頭600px・目 y=660・顔の中心 x=640 にそろえた 1280×1600）で顔を描く所（一覧の鏡・プロフィールの顔）。
   全身の -md（頭169px）を 2.4〜2.5倍に引き伸ばしていて顔がぼけた（2026-10-12 社長「顔の解像度が荒い」） */
.fig.is-bust { --u: calc(var(--head) / 600); width: calc(1280 * var(--u)); height: calc(1600 * var(--u));
  left: calc(var(--fx, 50%) - 640 * var(--u)); top: calc(var(--fy) - 660 * var(--u)); }
