/* 採用サイト v2：3案共通の土台。案ごとの違いは末尾の [data-plan] で切り替える */

/* ---------- デザイントークン ---------- */
:root {
  --ink: #17181C; --ink-2: #4A4D57; --ink-3: #6B6F7A;
  --paper: #FFFFFF; --tint: #F3F5FC; --line: rgba(23, 24, 28, .14);
  --primary: #2F54EB; --primary-ink: #1D3BC4; --on-primary: #FFFFFF;
  --accent: #FFE45C;
  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-head: "Zen Old Mincho", "Yu Mincho", serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;
  --w-head: 700;
  --gut: clamp(20px, 5.2vw, 88px);
  --max: 1320px;
  --header-h: 76px;
  --fs-catch: clamp(48px, 6.4vw, 116px);
  --fs-line: clamp(28px, 4.2vw, 68px);
  --fs-h2: clamp(30px, 3.4vw, 54px);
  --fs-h2xl: clamp(40px, 6vw, 100px);
  --fs-h3: clamp(30px, 3vw, 46px);
  --fs-body: clamp(15px, 1.06vw, 17px);
  --lh-body: 2.05;
  --ls-body: .04em;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .01, .3, .97);
  --ease-soft: cubic-bezier(.26, .06, 0, 1);
  --radius: 4px;
}
@media (max-width: 767px) {
  :root { --header-h: 60px; --lh-body: 1.95; }
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-jp); font-size: var(--fs-body);
  line-height: var(--lh-body); letter-spacing: var(--ls-body); font-feature-settings: "palt" 0; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.ln { display: block; white-space: nowrap; }
.photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 部品 ---------- */
/* 見出しの組：大きな英字（飾り）＋小さな日本語ラベル＋日本語の見出し。英字は読み上げで重複しないよう装飾扱い */
.eyebrow { display: grid; justify-items: start; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .16em; color: var(--ink-2); margin-bottom: clamp(20px, 2.6vw, 36px); }
.eyebrow .en { font-family: var(--f-en); font-weight: 400; font-size: clamp(48px, 7.2vw, 128px); line-height: .92; letter-spacing: -.01em; color: var(--primary-ink); }
.eyebrow::after { content: ""; order: -1; display: none; }
.work-head .eyebrow .en, .next-head .eyebrow .en { font-size: clamp(30px, 3vw, 46px); }
.h2 { font-family: var(--f-head); font-weight: var(--w-head); font-size: var(--fs-h2); line-height: 1.38; letter-spacing: .04em; }
.h2-xl { font-size: var(--fs-h2xl); line-height: 1.24; letter-spacing: .02em; }
.h3 { font-family: var(--f-head); font-weight: var(--w-head); font-size: var(--fs-h3); line-height: 1.3; letter-spacing: .06em; margin: 10px 0 18px; }
.prose { color: var(--ink-2); }
.prose-wide { max-width: 46em; }
.tag { display: inline-block; font-family: var(--f-en); font-size: 15px; letter-spacing: .2em; color: var(--primary-ink); border-top: 1px solid currentColor; padding-top: 8px; margin-bottom: 14px; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; text-decoration: none; font-weight: 700; letter-spacing: .08em; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-soft), transform .5s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { color: #fff; }
.btn-xl { min-height: 72px; padding: 0 44px; font-size: clamp(16px, 1.3vw, 20px); }
.arw { position: relative; display: inline-block; width: 22px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); }
.arw::after { content: ""; position: absolute; right: 0; top: 0.5px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.arw-l { transform: scaleX(-1); }
.btn:hover .arw, .tlink:hover .arw { transform: translateX(5px); }
.tlink { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 500; color: var(--primary-ink); }

/* ---------- 読み込み画面 ---------- */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; align-content: center; gap: 22px; background: var(--paper);
  transition: transform 1s var(--ease-io) .1s, visibility 0s 1.2s; }
.loader-logo { width: 170px; opacity: 0; animation: fadeIn .6s .1s forwards; }
.loader-line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-line::after { content: ""; position: absolute; inset: 0; background: var(--primary); transform-origin: left; animation: load 1s var(--ease-out) forwards; }
html:not(.js) .loader, .is-ready .loader { transform: translateY(-100%); visibility: hidden; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background .5s var(--ease-soft), box-shadow .5s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand img { width: clamp(118px, 11vw, 150px); height: auto; }
.brand-sub { font-family: var(--f-en); font-size: 15px; letter-spacing: .24em; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 12px; }
.gnav ul { display: flex; gap: clamp(16px, 2vw, 34px); }
.gnav a { position: relative; display: inline-block; padding: 12px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-entry { min-height: 44px; padding: 0 24px; background: var(--ink); color: #fff; font-family: var(--f-en); font-size: 16px; letter-spacing: .2em; }
.btn-entry::before { background: var(--primary); }
.menu-btn { position: relative; width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.7); }
.menu-bar { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out); }
.menu-open .menu-bar:first-child { transform: translateY(4.25px) rotate(30deg); }
.menu-open .menu-bar:nth-child(2) { transform: translateY(-4.25px) rotate(-30deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); display: grid; align-content: center; padding: var(--header-h) var(--gut) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu ol { display: grid; gap: 6px; counter-reset: m; }
.menu a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(24px, 3vw, 40px); text-decoration: none;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .7s var(--ease-out), color .3s; }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open li:nth-child(n) a { transition-delay: calc(.08s * var(--n, 1) + .2s); }
.menu li:nth-child(1) { --n: 1; } .menu li:nth-child(2) { --n: 2; } .menu li:nth-child(3) { --n: 3; } .menu li:nth-child(4) { --n: 4; }
.menu li:nth-child(5) { --n: 5; } .menu li:nth-child(6) { --n: 6; } .menu li:nth-child(7) { --n: 7; }
.menu a:hover { color: var(--primary-ink); }
.menu .en { font-family: var(--f-en); font-style: italic; font-weight: 400; font-size: 16px; color: var(--ink-3); min-width: 9em; }
.menu-sign { margin-top: 40px; font-family: var(--f-head); color: var(--ink-3); }

/* ---------- ファーストビュー（共通の骨組み） ---------- */
.fv { position: relative; height: 420svh; }
.fv-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fv { --e: 0; }
.fv-film { position: absolute; inset: 0; overflow: hidden; background: #d9dce4; will-change: clip-path; }
.fv-film .film { width: 100%; height: 100%; object-fit: cover; }
.film-veil { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-soft); pointer-events: none; }
.fv[data-step="1"] .film-veil, .fv[data-step="2"] .film-veil, .fv[data-step="3"] .film-veil { opacity: 1; }
.fv-panel { position: absolute; z-index: 3; }
.fv-label { display: flex; gap: 10px; font-family: var(--f-en); font-size: 14px; letter-spacing: .26em; margin-bottom: clamp(16px, 2.6vh, 28px); }
.fv-label .sep { opacity: .45; }
.fv-catch { font-family: var(--f-head); font-weight: var(--w-head); font-size: var(--fs-catch); line-height: 1.16; letter-spacing: .02em; }
.fv-catch .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); filter: blur(6px);
  transition: opacity .9s var(--ease-soft), transform 1.2s var(--ease-out), filter .9s var(--ease-soft); transition-delay: calc(var(--i) * .06s + .5s); }
.is-ready .fv-catch .ch { opacity: 1; transform: none; filter: none; }
.fv-sub { margin-top: clamp(14px, 2.4vh, 26px); font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(18px, 1.7vw, 26px); letter-spacing: .1em;
  opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-soft) 1.4s, transform 1.2s var(--ease-out) 1.4s; }
.fv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(20px, 3.6vh, 40px); }
.fv-req { opacity: 0; transition: opacity 1s var(--ease-soft) 1.9s; }
.is-ready .fv-req { opacity: 1; }
.fv-cta { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-soft) 1.7s, transform 1.2s var(--ease-out) 1.7s, color .5s; }
.is-ready .fv-sub, .is-ready .fv-cta { opacity: 1; transform: none; }
.fv-panel > * { will-change: opacity; }
.fv-panel { opacity: calc(1 - var(--e) * 1.8); transform: translateY(calc(var(--e) * -6vh)); }
.fv[data-step="1"] .fv-panel, .fv[data-step="2"] .fv-panel, .fv[data-step="3"] .fv-panel { visibility: hidden; }

.fv-lines { position: absolute; inset: 0; z-index: 4; display: grid; align-content: center; justify-items: center; gap: clamp(14px, 3vh, 34px); padding: 0 var(--gut); pointer-events: none; }
.fv-line { font-family: var(--f-head); font-weight: var(--w-head); font-size: var(--fs-line); line-height: 1.35; letter-spacing: .06em; text-align: center;
  opacity: 0; transform: translateY(36px) scale(.94); transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out), filter 1s; }
.fv[data-step="1"] [data-line="1"], .fv[data-step="2"] [data-line="2"], .fv[data-step="3"] [data-line="3"] { opacity: 1; transform: none; }
.fv[data-step="2"] [data-line="1"], .fv[data-step="3"] [data-line="1"], .fv[data-step="3"] [data-line="2"] { opacity: .3; transform: scale(.82); }

.fv-cta2 { position: absolute; z-index: 6; left: var(--gut); bottom: 96px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s, transform .8s var(--ease-out), visibility 0s .6s, color .5s; }
.fv[data-step="1"] .fv-cta2, .fv[data-step="2"] .fv-cta2, .fv[data-step="3"] .fv-cta2 { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform .8s var(--ease-out), color .5s; }
.fv-scroll { position: absolute; z-index: 5; right: var(--gut); bottom: 30px; display: flex; align-items: center; gap: 14px; font-family: var(--f-en); font-size: 13px; letter-spacing: .24em; text-decoration: none; min-height: 44px;
  opacity: calc(1 - var(--e) * 3); }
.fv-scroll i { position: relative; width: 1px; height: 54px; background: var(--line); overflow: hidden; }
.fv-scroll i::after { content: ""; position: absolute; inset: 0; background: currentColor; animation: scrollLine 2.4s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.film-ctrl { position: absolute; z-index: 6; left: var(--gut); bottom: 26px; display: flex; align-items: center; gap: 14px; }
.film-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.88); color: var(--ink); border: 1px solid var(--line); }
.film-toggle i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.film-paused .film-toggle i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.film-note { font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: 3px; background: rgba(255,255,255,.88); color: var(--ink-2); }
.rings { display: none; }

/* ---------- 樹の物語の現在地（右端の縦の目次） ---------- */
.story { position: fixed; z-index: 30; right: 14px; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.story-on .story { opacity: 1; visibility: visible; transition: opacity .6s; }
.story ol { position: relative; display: grid; gap: 4px; }
.story ol::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.story a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 16px; text-decoration: none; border-radius: 999px; }
.st-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--paper); transition: background .5s, border-color .5s, transform .5s var(--ease-out); flex: none; }
.st-ja { font-family: var(--f-head); font-weight: var(--w-head); font-size: 14px; letter-spacing: .1em; color: var(--ink-3); transition: color .4s; }
.st-en { font-size: 11px; color: var(--ink-2); max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .5s var(--ease-out), opacity .4s; }
.story a:hover .st-en, .story a:focus-visible .st-en, .story a[aria-current] .st-en { max-width: 8em; opacity: 1; }
.story a.is-past .st-dot { background: var(--primary); border-color: var(--primary); }
.story a[aria-current] .st-dot { background: var(--primary); border-color: var(--primary); transform: scale(1.35); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--primary); }
.story a[aria-current] .st-ja { color: var(--ink); }
.story a[aria-current], .story a:hover { background: rgba(255,255,255,.86); }
.spine { display: none; }
.entry-rings { display: none; }
@media (max-width: 1080px) { .story { display: none; } }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: clamp(96px, 14vw, 200px) var(--gut); max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; }
.sec-head { margin-bottom: clamp(36px, 5vw, 72px); }
.rootline { display: none; }

/* 表示の動き */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease-soft), transform 1.3s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .photo-mask[data-reveal] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.js .photo-mask[data-reveal].is-in { clip-path: inset(0 0 0 0); }
.js .photo-mask .photo { transform: scale(1.18) translateY(var(--py, 0)); transition: transform 1.8s var(--ease-out); }
.js .photo-mask.is-in .photo { transform: scale(1.08) translateY(var(--py, 0)); }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > :nth-child(2) { transition-delay: .18s; }
.js [data-reveal="stagger"] > :nth-child(3) { transition-delay: .36s; }
.js [data-reveal="stagger"] { opacity: 1; transform: none; }
.js [data-split]:not(.fv-catch) .ch { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .8s var(--ease-soft), transform 1s var(--ease-out); transition-delay: calc(var(--i) * .035s + .15s); }
.js .is-in [data-split] .ch { opacity: 1; transform: none; }

/* ---------- 会社紹介 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 32px); }
.about-photo .photo { object-position: 50% 40%; }
.mission { margin-bottom: clamp(32px, 4vw, 56px); }
.mission .tag { display: table; }
.mission-text { display: block; font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(30px, 3.5vw, 58px); line-height: 1.42; letter-spacing: .04em; }
.vision { margin-top: clamp(40px, 5vw, 72px); padding: clamp(24px, 3vw, 40px); background: var(--tint); border-radius: var(--radius); }
.vision p { font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.6; letter-spacing: .04em; }

/* ---------- 仕事紹介（根・幹・枝葉） ---------- */
.work { position: relative; background: var(--tint); }
.work-pin { position: relative; height: 380vh; --p: 0; }
.work-stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 clamp(32px, 5vw, 88px);
  padding: calc(var(--header-h) + 4vh) var(--gut) 6vh; align-content: center; overflow: hidden; }
.work-head .h2 { font-size: clamp(34px, 3.8vw, 64px); line-height: 1.32; }
.work-index { margin-top: clamp(28px, 5vh, 56px); display: grid; gap: 6px; }
.work-index li { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-en); font-size: clamp(30px, 3.4vw, 56px); line-height: 1.1; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px var(--ink-3); transition: color .7s var(--ease-soft), -webkit-text-stroke-color .7s; }
.work-index .wi-ja { font-family: var(--f-head); font-size: 15px; -webkit-text-stroke: 0; color: var(--ink-3); letter-spacing: .2em; }
.work-pin[data-active="0"] .work-index li:nth-child(1), .work-pin[data-active="1"] .work-index li:nth-child(2), .work-pin[data-active="2"] .work-index li:nth-child(3) { color: var(--primary); -webkit-text-stroke-color: var(--primary); }
.work-chapters { position: relative; grid-row: 1 / span 2; grid-column: 2; height: min(76svh, 760px); align-self: center; }
.chapter { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(18px, 3vh, 32px); pointer-events: none; }
.chapter-photo { overflow: hidden; border-radius: var(--radius); clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-io); }
.chapter-photo .photo { transform: scale(1.12); transition: transform 2.2s var(--ease-out); }
.chapter-text { max-width: 36em; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-soft), transform 1s var(--ease-out); }
.chapter-text p:last-child { color: var(--ink-2); }
.chapter-no { display: flex; gap: 14px; align-items: baseline; font-family: var(--f-en); font-size: 15px; letter-spacing: .22em; color: var(--primary-ink); }
.chapter-no span { font-size: 26px; letter-spacing: 0; }
.chapter.is-cur { pointer-events: auto; }
.chapter.is-cur .chapter-photo, .chapter.is-past .chapter-photo { clip-path: inset(0 0 0 0); }
.chapter.is-cur .chapter-photo .photo { transform: scale(1.02); }
.chapter.is-cur .chapter-text { opacity: 1; transform: none; transition-delay: .35s; }
.chapter[data-step="0"] { z-index: 1; } .chapter[data-step="1"] { z-index: 2; } .chapter[data-step="2"] { z-index: 3; }
.chapter.is-past .chapter-text { opacity: 0; }
.work-progress { position: absolute; left: var(--gut); right: var(--gut); bottom: 3.2vh; height: 2px; background: var(--line); }
.wp-fill { position: absolute; inset: 0; background: var(--primary); transform-origin: left; transform: scaleX(var(--p)); }
.work-close { position: relative; padding: clamp(80px, 12vw, 160px) var(--gut); text-align: center; font-family: var(--f-head); font-weight: var(--w-head);
  font-size: clamp(22px, 2.6vw, 42px); line-height: 1.7; letter-spacing: .05em; background: var(--tint); }

/* ---------- 成長・キャリア ---------- */
.growth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; --p: 0; }
.growth-visual { position: relative; aspect-ratio: 1; }
.growth-rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--primary); stroke-width: 1; overflow: visible; }
.growth-rings circle { stroke-dasharray: 1900; stroke-dashoffset: calc(1900 - 1900 * min(1, var(--p) * 2.2)); opacity: .55; transform-origin: 300px 300px; }
.growth-rings circle:nth-child(2) { stroke-dashoffset: calc(1900 - 1900 * min(1, max(0, var(--p) * 2.2 - .15))); }
.growth-rings circle:nth-child(3) { stroke-dashoffset: calc(1900 - 1900 * min(1, max(0, var(--p) * 2.2 - .3))); opacity: .4; }
.growth-rings circle:nth-child(4) { stroke-dashoffset: calc(1900 - 1900 * min(1, max(0, var(--p) * 2.2 - .45))); opacity: .3; }
.growth-rings circle:nth-child(5) { stroke-dashoffset: calc(1900 - 1900 * min(1, max(0, var(--p) * 2.2 - .6))); opacity: .2; }
.growth-photo { position: absolute; inset: 21%; border-radius: 50%; overflow: hidden; transform: scale(calc(.86 + var(--p) * .2)); }
.growth-photo .photo { object-position: 58% 30%; }
.growth .prose p { font-family: var(--f-head); font-weight: 500; font-size: clamp(16px, 1.3vw, 20px); line-height: 2.2; color: var(--ink); }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] p { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease-soft) .1s, transform 1.4s var(--ease-out) .1s; }
.js [data-reveal="lines"].is-in p { opacity: 1; transform: none; }

/* ---------- 営業のスタイル ---------- */
.listen .sec-head { text-align: left; }
.questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-bottom: clamp(40px, 5vw, 72px); }
.questions li { position: relative; padding: clamp(24px, 2.6vw, 40px) clamp(20px, 2vw, 32px) clamp(32px, 3.4vw, 52px); border-top: 2px solid var(--ink);
  font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.6; letter-spacing: .03em; background: var(--paper); }
.q-no { display: block; font-family: var(--f-en); font-style: italic; font-weight: 400; font-size: 18px; color: var(--primary-ink); margin-bottom: 12px; letter-spacing: .1em; }

/* ---------- 行動指針 ---------- */
.next { position: relative; }
.next-pin { position: relative; height: 320vh; --p: 0; }
.next-stage { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: clamp(24px, 5vh, 56px); padding: var(--header-h) var(--gut) 0; overflow: hidden; }
.next-title { font-family: var(--f-en); font-weight: 400; font-size: clamp(40px, 5.4vw, 92px); letter-spacing: .02em; line-height: 1; }
.next-words { display: grid; gap: clamp(2px, 1vh, 10px); }
.next-words li { display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 40px); }
.nw-no { font-family: var(--f-en); font-size: clamp(16px, 1.4vw, 22px); color: var(--ink-3); width: 2.6em; flex: none; }
.nw-word { position: relative; font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(34px, 6.4vw, 104px); line-height: 1.22; letter-spacing: .04em;
  color: rgba(23, 24, 28, .14); transition: color .8s var(--ease-soft); }
.nw-word::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .16em; background: var(--accent); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.next-words li { position: relative; z-index: 0; }
.next-words li.is-cur .nw-word, .next-words li.is-past .nw-word { color: var(--ink); }
.next-words li.is-cur .nw-word::after { transform: scaleX(1); }
.next-words li.is-cur .nw-no { color: var(--primary-ink); }
.next-body { padding: clamp(56px, 8vw, 120px) var(--gut) clamp(40px, 5vw, 72px); margin: 0 auto; max-width: calc(46em + var(--gut) * 2); }
.band { position: relative; display: flex; align-items: center; border-block: 1px solid var(--line); overflow: hidden; }
.band-track { display: flex; flex: none; width: max-content; animation: band 64s linear infinite; }
.band-track span { padding: 18px 28px; font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(16px, 1.4vw, 22px); letter-spacing: .14em; white-space: nowrap; color: var(--ink-2); }
.band.paused .band-track { animation-play-state: paused; }
.band-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 44px; padding: 0 14px; font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- 働く環境・評価 ---------- */
.culture { display: grid; gap: clamp(80px, 11vw, 168px); }
.culture-item { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.culture-item.is-rev .culture-photo { order: 2; }
.culture-photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); }
.culture-text .h2 { margin-bottom: 26px; }

/* ---------- 社員紹介 ---------- */
.people { padding-right: 0; max-width: none; margin: 0; padding-left: max(var(--gut), calc((100vw - var(--max)) / 2)); }
.people-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 40px; padding-right: var(--gut); margin-bottom: clamp(32px, 4vw, 56px); }
.people-head .sec-head { margin: 0; }
.people-note { grid-column: 1; color: var(--ink-2); font-size: 14px; max-width: 34em; }
.people-ctrl { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.pc-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .4s, color .4s; }
.pc-btn:hover { background: var(--ink); color: #fff; }
.people-list { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 24px 0; scrollbar-width: thin; }
.person { flex: 0 0 clamp(240px, 24vw, 340px); scroll-snap-align: start; }
.person figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.person .photo { transition: transform 1.2s var(--ease-out), filter .8s; filter: saturate(.92); }
.person:hover .photo { transform: scale(1.05); filter: none; }
.person-cap { margin-top: 14px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.person-tag { font-family: var(--f-en); font-size: 15px; letter-spacing: .16em; color: var(--primary-ink); }

/* ---------- 求める人物像 ---------- */
.persona-keys { display: grid; gap: 4px; margin-bottom: clamp(40px, 5vw, 64px); }
.persona-keys li { font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(22px, 2.6vw, 42px); line-height: 1.6; letter-spacing: .04em;
  padding: clamp(10px, 1.4vw, 18px) 0; border-bottom: 1px solid var(--line); }

/* ---------- 募集要項 ---------- */
.req-table { border-top: 2px solid var(--ink); }
.req-table > div { display: grid; grid-template-columns: minmax(0, 18em) minmax(0, 1fr); gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.req-table dt { font-weight: 700; }
.req-table dd { font-size: clamp(16px, 1.3vw, 20px); }
.req-table dd.tbd { color: var(--ink-3); font-size: 15px; }
.req-link { margin-top: 28px; }

/* ---------- エントリー ---------- */
.entry { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 240px) var(--gut); text-align: center; isolation: isolate; }
.entry-bg { position: absolute; inset: 0; z-index: -1; }
.entry-bg .photo { opacity: .16; filter: grayscale(.4); }
.entry-inner { max-width: 880px; margin: 0 auto; display: grid; justify-items: center; }
.entry .eyebrow { justify-items: center; }
.entry-text { margin: 28px 0 44px; color: var(--ink-2); max-width: 34em; }
.entry-note { margin-top: 16px; font-size: 12px; color: var(--ink-3); }
.entry-sign { margin-top: clamp(56px, 7vw, 96px); font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: .2em; }

/* ---------- フッター ---------- */
.footer { padding: clamp(64px, 8vw, 112px) var(--gut) 40px; border-top: 1px solid var(--line); display: grid; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-top .brand img { width: 180px; }
.footer-catch { font-family: var(--f-head); font-weight: var(--w-head); font-size: clamp(22px, 2.4vw, 36px); letter-spacing: .06em; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-nav a { display: inline-block; padding: 10px 0; font-size: 14px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-sign { font-family: var(--f-head); font-size: 16px; letter-spacing: .14em; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-sign span { font-family: var(--f-jp); font-size: 13px; letter-spacing: .06em; color: var(--ink-2); }
.copy { color: var(--ink-3); font-family: var(--f-en); letter-spacing: .14em; }
.sp-entry { display: none; }

/* ---------- 幅による切り替え ---------- */
@media (max-width: 1080px) {
  .gnav { display: none; }
}
@media (max-width: 767px) {
  .brand-sub { display: none; }
  .btn-entry { display: none; }
  .fv { height: 340svh; }
  .fv-label { font-size: 11px; letter-spacing: .18em; }
  .fv-sub { font-size: 17px; }
  .fv-line { font-size: clamp(22px, 6.4vw, 30px); }
  .fv-line { white-space: normal; }
  .fv-scroll { display: none; }
  .fv-req { display: none; }
  .fv-cta2 { left: 20px; right: 20px; bottom: 76px; }
  .film-ctrl { left: 16px; bottom: 16px; flex-wrap: wrap; gap: 6px; }
  .film-note { font-size: 10px; }
  .sec { padding: 96px 20px; }
  .about-grid, .growth, .culture-item { grid-template-columns: minmax(0, 1fr); }
  .about-photo { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .culture-item.is-rev .culture-photo { order: 0; }
  .growth-visual { max-width: 420px; width: 100%; margin: 0 auto; }
  /* 仕事紹介と行動指針は、スマホでは固定表示をやめて縦に並べる（軽さを優先） */
  .work-pin { height: auto; }
  .work-stage { position: relative; height: auto; display: block; padding: 96px 20px 40px; }
  .work-index, .work-progress { display: none; }
  .work-chapters { height: auto; display: grid; gap: 64px; margin-top: 40px; }
  .chapter { position: relative; inset: auto; pointer-events: auto; }
  .chapter-photo { aspect-ratio: 3 / 2; clip-path: none; }
  .chapter-photo .photo { transform: none; }
  .chapter-text { opacity: 1; transform: none; }
  .chapter.is-past .chapter-text { opacity: 1; }
  .work-close { padding: 56px 20px 96px; text-align: left; }
  .work-close .ln { white-space: normal; }
  .questions { grid-template-columns: minmax(0, 1fr); }
  .next-pin { height: auto; }
  .next-stage { position: relative; height: auto; padding: 96px 20px 0; }
  .nw-word { color: var(--ink); font-size: clamp(32px, 10vw, 48px); }
  .next-body { padding: 48px 20px; }
  .people { padding-left: 20px; }
  .people-head { grid-template-columns: minmax(0, 1fr); padding-right: 20px; }
  .people-ctrl { display: none; }
  .person { flex-basis: 72vw; }
  .req-table > div { grid-template-columns: minmax(0, 1fr); }
  .entry { padding: 112px 20px 140px; }
  .btn-xl { min-height: 64px; padding: 0 28px; font-size: 16px; }
  .ln { white-space: normal; }
  .fv-catch .ln, .h2 .ln { white-space: nowrap; }
  /* スマホでは幕のぼかしを外して軽くする */
  .film-veil { backdrop-filter: none !important; }
  [data-plan="a"] .film-veil { background: rgba(29,59,196,.8); }
  [data-plan="a"] .fv-req { display: none; }
  .sp-entry { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; border-radius: 999px;
    background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 700; letter-spacing: .08em; box-shadow: 0 8px 24px rgba(23,24,28,.18);
    transform: translateY(140%); transition: transform .6s var(--ease-out); }
  .sp-entry.is-on { transform: none; }
  .sp-entry.is-on.is-hide { transform: translateY(140%); }
  .footer { padding-bottom: 96px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .loader { display: none; }
  .fv { height: auto; }
  .fv-stage { position: relative; height: auto; min-height: 0; overflow: visible; }
  .fv-stage > .fv-film, .fv-stage > .rings, .fv-stage > .fv-panel { --e: 0 !important; }
  .fv-hero-rm { display: block; }
  .fv-lines { position: relative; inset: auto; padding: 96px var(--gut); color: var(--ink) !important; }
  .fv-line { opacity: 1 !important; transform: none !important; }
  .fv-panel { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .film-veil { display: none; }
  .work-pin, .next-pin { height: auto; }
  .work-stage, .next-stage { position: relative; height: auto; display: block; }
  .work-chapters { height: auto; display: grid; gap: 64px; margin-top: 40px; }
  .chapter { position: relative; inset: auto; }
  .chapter-photo { aspect-ratio: 3 / 2; clip-path: none; }
  .chapter-text, .chapter.is-past .chapter-text { opacity: 1; transform: none; }
  .work-progress { display: none; }
  .nw-word { color: var(--ink); }
  .js [data-reveal], .js [data-reveal] *, .js .photo-mask[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-split] .ch, .fv-catch .ch, .fv-sub, .fv-cta { opacity: 1 !important; transform: none !important; filter: none !important; }
  .growth-rings circle { stroke-dashoffset: 0 !important; }
  .growth-photo { transform: none; }
}

/* =====================================================================
   案A「余白のフィルム」：白い余白の右に映像の額。スクロールで額が全面へ広がり、暗く沈めて3行
   ===================================================================== */
[data-plan="a"] .fv-stage { background: var(--paper); }
[data-plan="a"] .fv-film { clip-path: inset(calc((1 - var(--e)) * (var(--header-h) + 12px)) calc((1 - var(--e)) * var(--gut)) calc((1 - var(--e)) * 92px) calc((1 - var(--e)) * 41vw) round calc((1 - var(--e)) * 6px)); }
[data-plan="a"] .fv-film .film { object-position: 50% 40%; transform: translateX(calc((1 - var(--e)) * 20vw)) scale(calc(1.06 - var(--e) * .06)); }
[data-plan="a"] .fv-panel { left: var(--gut); top: calc(var(--header-h) + 7vh); width: calc(41vw - var(--gut) - 24px); }
[data-plan="a"] .fv-label { color: var(--primary-ink); }
[data-plan="a"] .fv-catch { font-size: clamp(46px, 5.2vw, 100px); line-height: 1.22; }
[data-plan="a"] .fv-catch .ln:nth-child(2) { color: var(--primary); }
/* 導入の3行は顔のかかりにくい左下へ寄せ、左から濃くなる幕の上に置く */
[data-plan="a"] .fv-line { color: #fff; text-align: left; }
[data-plan="a"] .fv-lines { justify-items: start; align-content: end; padding-bottom: 16vh; }
[data-plan="a"] .film-veil { background: linear-gradient(90deg, rgba(29,59,196,.86) 0%, rgba(47,84,235,.62) 52%, rgba(47,84,235,.22) 100%); backdrop-filter: blur(10px); }
[data-plan="a"] .fv-lines { padding-bottom: 24vh; }
[data-plan="a"] .fv-cta2 { background: #fff; color: var(--primary-ink); }
[data-plan="a"] .fv-cta2::before { background: var(--accent); }
[data-plan="a"] .fv-scroll { color: var(--ink); }
[data-plan="a"] .photo-mask[data-reveal] { clip-path: inset(10% 8% 10% 42% round 6px); transition: clip-path 1.5s var(--ease-io); }
[data-plan="a"] .photo-mask[data-reveal].is-in { clip-path: inset(0 0 0 0 round 4px); }
[data-plan="a"] .chapter-photo { clip-path: inset(12% 8% 12% 46% round 6px); transition: clip-path 1.3s var(--ease-io); }
[data-plan="a"] .chapter.is-cur .chapter-photo, [data-plan="a"] .chapter.is-past .chapter-photo { clip-path: inset(0 0 0 0 round 4px); }
[data-plan="a"] .about-photo, [data-plan="a"] .culture-photo { box-shadow: none; }
[data-plan="a"] .about-grid, [data-plan="a"] .culture-item { position: relative; }
[data-plan="a"] .about-photo::after, [data-plan="a"] .culture-photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; pointer-events: none; }
[data-plan="a"] .film-ctrl { left: auto; right: calc(var(--gut) + 12px); bottom: 104px; }
[data-plan="a"] .fv[data-step="1"] .film-ctrl, [data-plan="a"] .fv[data-step="2"] .film-ctrl, [data-plan="a"] .fv[data-step="3"] .film-ctrl { bottom: 26px; }
@media (max-width: 767px) {
  [data-plan="a"] .fv-film { clip-path: inset(calc((1 - var(--e)) * (var(--header-h) + 8px)) calc((1 - var(--e)) * 16px) calc((1 - var(--e)) * 50svh) calc((1 - var(--e)) * 16px) round calc((1 - var(--e)) * 6px)); }
  [data-plan="a"] .fv-panel { left: 20px; right: 20px; width: auto; top: auto; bottom: 88px; }
  /* スマホでは映像を額の大きさに合わせ、広がるにつれて画面いっぱいへ（寄りすぎを防ぐ） */
  [data-plan="a"] .fv-film .film { position: absolute; left: 0; transform: none; object-position: 40% 30%;
    top: calc((1 - var(--e)) * var(--header-h)); height: calc(50svh - var(--header-h) + var(--e) * (50svh + var(--header-h))); }
  [data-plan="a"] .fv-label { display: none; }
  [data-plan="a"] .fv-catch { font-size: clamp(38px, 11.4vw, 52px); }
  [data-plan="a"] .film-ctrl { right: 24px; left: auto; bottom: calc(50svh + 10px); }
  [data-plan="a"] .film-note { display: none; }
}

/* =====================================================================
   案B「一本の根」：全面の映像に白い紙面を重ね、紙面から伸びる1本の線がページを下まで通る
   ===================================================================== */
[data-plan="b"] { --f-head: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif; --f-en: "Instrument Serif", "Times New Roman", serif; --w-head: 700; --tint: #F2F5FF; }
[data-plan="b"] .fv-film { clip-path: inset(0 0 0 0); }
[data-plan="b"] .fv-film .film { object-position: 50% 35%; transform: scale(calc(1 + var(--e) * .06)); }
[data-plan="b"] .film-veil { background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); }
[data-plan="b"] .fv-panel { left: var(--gut); bottom: 0; width: min(46vw, 760px); padding: clamp(28px, 3.4vw, 56px) clamp(28px, 3.4vw, 56px) clamp(84px, 9vh, 110px); background: var(--paper);
  border-radius: 0; }
[data-plan="b"] .fv-panel::after { content: ""; position: absolute; left: clamp(28px, 3.4vw, 56px); bottom: 0; width: 1px; height: clamp(40px, 6vh, 70px); background: var(--primary);
  transform-origin: top; transform: scaleY(0); transition: transform 1.2s var(--ease-out) 2s; }
[data-plan="b"] .is-ready .fv-panel::after, .is-ready [data-plan="b"] .fv-panel::after { transform: scaleY(1); }
[data-plan="b"] .fv-label { color: var(--primary-ink); font-size: 15px; }
[data-plan="b"] .fv-catch { font-size: clamp(44px, 4.6vw, 88px); line-height: 1.2; letter-spacing: .01em; }
[data-plan="b"] .fv-catch .ln { display: inline; }
[data-plan="b"] .fv-catch .ln:nth-child(2)::after { content: "\A"; white-space: pre; }
[data-plan="b"] .fv-line { color: var(--ink); }
[data-plan="b"] .fv[data-step="3"] [data-line="3"] { color: var(--primary-ink); }
[data-plan="b"] .fv-scroll { color: #fff; }
[data-plan="b"] .fv-scroll i { background: rgba(255,255,255,.4); }
[data-plan="b"] .fv[data-step="1"] .fv-scroll, [data-plan="b"] .fv[data-step="2"] .fv-scroll, [data-plan="b"] .fv[data-step="3"] .fv-scroll { color: var(--ink); }
[data-plan="b"] .film-ctrl { left: auto; right: var(--gut); bottom: auto; top: calc(var(--header-h) + 16px); }
[data-plan="b"] .site-header:not(.is-scrolled) { background: linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.8) 55%, rgba(255,255,255,0)); height: calc(var(--header-h) + 28px); padding-bottom: 28px; }
/* 1本の根：会社を知るからエントリーまで、左の余白を1本の線が通る。スクロールに合わせて伸び、先端に黄色の点。
   会社を知る＝根、仕事を知る＝幹、成長と働き方＝枝葉、エントリー＝実 の節で点が灯る */
[data-plan="b"] .story { display: none; }
[data-plan="b"] .spine { display: block; position: absolute; z-index: 20; left: calc(var(--gut) * .5); width: 1px; background: rgba(47,84,235,.16); pointer-events: none; --sp: 0; }
[data-plan="b"] .spine-fill { position: absolute; inset: 0; background: var(--primary); transform-origin: top; transform: scaleY(var(--sp)); }
[data-plan="b"] .spine-tip { position: absolute; left: -6px; top: calc(var(--sp) * 100%); width: 13px; height: 13px; margin-top: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--primary); }
[data-plan="b"] .spine-node { position: absolute; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--primary); transition: background .5s; }
[data-plan="b"] .spine-node b { position: absolute; left: 14px; top: -4px; font-size: 12px; font-weight: 700; color: var(--primary-ink); letter-spacing: .2em; writing-mode: vertical-rl; opacity: .4; transition: opacity .5s; }
[data-plan="b"] .spine-node.is-on { background: var(--primary); }
[data-plan="b"] .spine-node.is-on b { opacity: 1; }
[data-plan="b"] .sec { padding-left: max(var(--gut), 64px); }
[data-plan="b"] .work-progress { left: calc(var(--gut) * .5); right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
[data-plan="b"] .wp-fill { transform-origin: top; transform: scaleY(var(--p)); }
[data-plan="b"] .work-index li { -webkit-text-stroke: 0; color: rgba(23,24,28,.18); font-family: var(--f-en); }
[data-plan="b"] .work-index .wi-ja { color: var(--ink-3); }
[data-plan="b"] .work-index li { position: relative; }
[data-plan="b"] .work-index li::before { content: ""; position: absolute; top: .62em; right: calc(100% + 10px); width: calc(var(--gut) * .5 - 10px); height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
[data-plan="b"] .work-index li::after { content: ""; position: absolute; top: calc(.62em - 4px); right: calc(100% + 6px); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px var(--primary); opacity: 0; transition: opacity .4s .5s; }
[data-plan="b"] .work-pin[data-active="0"] li:nth-child(1)::before, [data-plan="b"] .work-pin[data-active="1"] li:nth-child(-n+2)::before, [data-plan="b"] .work-pin[data-active="2"] li::before { transform: scaleX(1); }
[data-plan="b"] .work-pin[data-active="0"] li:nth-child(1)::after, [data-plan="b"] .work-pin[data-active="1"] li:nth-child(-n+2)::after, [data-plan="b"] .work-pin[data-active="2"] li::after { opacity: 1; }
[data-plan="b"] .work-pin[data-active="1"] .work-index li:nth-child(1), [data-plan="b"] .work-pin[data-active="2"] .work-index li:nth-child(-n+2) { color: rgba(29,59,196,.45); }
[data-plan="b"] .h2-xl { letter-spacing: 0; }
[data-plan="b"] .questions li { border-top-color: var(--primary); }
[data-plan="b"] .nw-word::after { background: var(--accent); }
[data-plan="b"] .entry-bg .photo { opacity: .12; }
@media (max-width: 767px) {
  [data-plan="b"] .fv-panel { left: 0; right: 0; width: auto; padding: 28px 20px 84px; }
  [data-plan="b"] .fv-catch { font-size: clamp(38px, 11vw, 50px); }
  [data-plan="b"] .fv-film .film { position: absolute; top: 0; left: 0; height: calc(56svh + var(--e) * 44svh); object-position: 40% 25%; transform: none; }
  [data-plan="b"] .film-ctrl { right: 16px; top: calc(var(--header-h) + 10px); left: auto; }
  [data-plan="b"] .film-note { display: none; }
  [data-plan="b"] .spine { left: 8px; }
  [data-plan="b"] .spine-node b { display: none; }
  [data-plan="b"] .sec { padding-left: 28px; }
}

/* =====================================================================
   案C「年輪」：生成りの紙に巨大な言葉。映像は年輪の真ん中の円にあり、スクロールで円が画面いっぱいへ
   ===================================================================== */
[data-plan="c"] { --paper: #F7F4EE; --tint: #EFEBE2; --primary: #1B1B1F; --primary-ink: #1B1B1F; --on-primary: #FFFFFF; --accent: #FFE45C;
  --f-head: "Shippori Mincho B1", "Yu Mincho", serif; --w-head: 800; --line: rgba(27, 27, 31, .16); }
[data-plan="c"] :focus-visible { outline-color: #1B1B1F; }
[data-plan="c"] .site-header.is-scrolled { background: rgba(247, 244, 238, .92); }
[data-plan="c"] .menu-btn { background: rgba(247,244,238,.8); }
[data-plan="c"] .fv-stage { background: var(--paper); }
[data-plan="c"] .fv-film { clip-path: circle(calc(min(31vh, 23vw) + var(--e) * 120vmax) at 69% 56%); }
[data-plan="c"] .fv-film .film { transform: translate(calc((1 - var(--e)) * 22vw), calc((1 - var(--e)) * 16vh)) scale(1.12); object-position: 40% 30%; }
[data-plan="c"] .film-veil { background: rgba(247, 244, 238, .9); backdrop-filter: blur(8px); }
[data-plan="c"] .rings { display: block; position: absolute; z-index: 1; left: 69%; top: 56%; width: calc(min(31vh, 23vw) * 2 * 2.6); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%) scale(calc(1 + var(--e) * 3)); opacity: calc(1 - var(--e) * 1.2);
  fill: none; stroke: #1B1B1F; stroke-width: .8; pointer-events: none; }
[data-plan="c"] .rings circle { stroke-dasharray: 2500; stroke-dashoffset: 2500; transition: stroke-dashoffset 2.6s var(--ease-io); opacity: .5; }
[data-plan="c"] .is-ready .rings circle, .is-ready[data-plan="c"] .rings circle { stroke-dashoffset: 0; }
[data-plan="c"] .rings circle:nth-child(2) { transition-delay: .2s; opacity: .38; } [data-plan="c"] .rings circle:nth-child(3) { transition-delay: .4s; opacity: .28; }
[data-plan="c"] .rings circle:nth-child(4) { transition-delay: .6s; opacity: .2; } [data-plan="c"] .rings circle:nth-child(5) { transition-delay: .8s; opacity: .13; }
[data-plan="c"] .fv-panel { left: var(--gut); top: calc(var(--header-h) + 5vh); width: 60vw; }
[data-plan="c"] .fv-label { font-style: italic; }
[data-plan="c"] .fv-catch { font-size: clamp(54px, 8vw, 150px); line-height: 1.08; letter-spacing: -.01em; }
[data-plan="c"] .fv-catch .ln:nth-child(2) { padding-left: .9em; }
[data-plan="c"] .fv-catch .ln:nth-child(3) .ch:last-child { position: relative; }
[data-plan="c"] .fv-sub { display: inline-block; background: var(--accent); padding: 2px 12px; }
[data-plan="c"] .fv-cta { min-height: 60px; padding: 0 34px; font-size: 16px; box-shadow: 0 10px 28px rgba(27,27,31,.18); }
[data-plan="c"] .fv-cta2 { background: var(--ink); }
[data-plan="c"] .fv-line { color: var(--ink); }
[data-plan="c"] .btn-primary::before { background: var(--accent); }
[data-plan="c"] .btn-primary:hover, [data-plan="c"] .btn-primary:focus-visible { color: var(--ink); }
[data-plan="c"] .btn-entry::before { background: var(--accent); }
[data-plan="c"] .btn-entry:hover { color: var(--ink); }
[data-plan="c"] .eyebrow .en { color: var(--ink); font-style: italic; }
[data-plan="c"] .work-index li { -webkit-text-stroke-color: rgba(27,27,31,.35); }
[data-plan="c"] .work-pin[data-active="0"] .work-index li:nth-child(1), [data-plan="c"] .work-pin[data-active="1"] .work-index li:nth-child(2), [data-plan="c"] .work-pin[data-active="2"] .work-index li:nth-child(3) { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
[data-plan="c"] .wp-fill { background: var(--ink); }
[data-plan="c"] .vision { background: var(--accent); }
[data-plan="c"] .growth-rings { stroke: var(--ink); }
[data-plan="c"] .questions li { background: transparent; }
[data-plan="c"] .tlink { color: var(--ink); }
[data-plan="c"] .person-tag { color: var(--ink); }
/* 年輪はファーストビュー・成長・エントリーの3か所に現れ、エントリーでは中心を黄色の「実」にする */
[data-plan="c"] .entry-rings { display: block; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 150vw); transform: translate(-50%, -50%); fill: none; stroke: var(--ink); stroke-width: .8; }
[data-plan="c"] .entry-rings circle { opacity: .16; stroke-dasharray: 2500; stroke-dashoffset: 2500; transition: stroke-dashoffset 2.6s var(--ease-io); }
[data-plan="c"] .entry:has(.is-in) .entry-rings circle { stroke-dashoffset: 0; }
[data-plan="c"] .entry-rings circle:nth-child(1) { fill: var(--accent); opacity: .5; stroke: none; }
[data-plan="c"] .entry-bg { display: none; }
[data-plan="c"] .story a[aria-current] .st-dot, [data-plan="c"] .story a.is-past .st-dot { background: var(--accent); border-color: var(--ink); }
[data-plan="c"] .story a[aria-current] .st-dot { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--ink); }
[data-plan="c"] .story a[aria-current], [data-plan="c"] .story a:hover { background: rgba(247,244,238,.9); }
@media (max-width: 767px) {
  [data-plan="c"] .fv-film { clip-path: circle(calc(36vw + var(--e) * 140vmax) at 60% 72%); }
  [data-plan="c"] .fv-film .film { position: absolute; left: 0; object-position: 40% 25%; transform: translateX(calc((1 - var(--e)) * 12vw));
    top: calc((1 - var(--e)) * (72svh - 40vw)); height: calc(80vw + var(--e) * (100svh - 80vw)); }
  [data-plan="c"] .rings { left: 60%; top: 72%; width: calc(36vw * 2 * 2.4); }
  [data-plan="c"] .fv-panel { left: 20px; right: 20px; width: auto; top: calc(var(--header-h) + 3vh); }
  [data-plan="c"] .fv-catch { font-size: clamp(44px, 13.6vw, 60px); }
  [data-plan="c"] .fv-cta { margin-top: 16px; min-height: 48px; }
  [data-plan="c"] .fv-sub { font-size: 15px; }
  [data-plan="c"] .film-ctrl { bottom: 16px; }
  [data-plan="c"] .film-note { display: none; }
}
