/* ============================================================
   あきら プロフィールLP（ポップ・グラフィック）
   テーマ: 「白 × 黄色(#FFD800) × 水色(#7CF1E8)」
   斜めストライプ＋消えかけドットのポップなデザイナーズLP。
   トップ数セクションはグラフィック濃いめ、以降はシンプルに。
   章ごとに --acc（黄⇔水色）が交互に切り替わり全体を同期する。
   ============================================================ */

:root {
  --paper: #ffffff;
  --gray: #f4f7f7;
  --ink: #12181d;
  --ink-2: #47535a;
  --ink-3: #8b979d;
  --yel: #ffd800;
  --yel-deep: #c99e00;
  --aqua: #7cf1e8;
  --aqua-deep: #0fa99b;
  --aqua-soft: rgba(124, 241, 232, 0.35);
  --yel-soft: rgba(255, 216, 0, 0.3);
  --line: rgba(18, 24, 29, 0.14);
  --line-soft: rgba(18, 24, 29, 0.07);
  --w: 1360px;
  --gut: clamp(20px, 4vw, 56px);
  --acc: var(--yel);
  --acc-text: var(--yel-deep);
  --acc-soft: var(--yel-soft);
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: "Roboto Mono", "Consolas", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 2.05;
  font-size: 15px;
  letter-spacing: 0.02em;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
::selection { background: var(--yel); color: var(--ink); }
.klee { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3); }
.script {
  font-family: var(--mono); font-style: normal; font-size: 12px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--ink-2); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.script::before { content: ""; width: 12px; height: 12px; background: var(--acc); }
strong { font-weight: 700; background: linear-gradient(transparent 55%, var(--acc-soft) 55%); padding: 0 2px; }
.pc { display: inline; } .sp { display: none; }

/* 章ごとの交互アクセント（奇数=黄 / 偶数=水色） */
[data-no="01"], [data-no="03"], [data-no="05"], [data-no="07"], [data-no="09"], [data-no="11"] {
  --acc: var(--yel); --acc-text: var(--yel-deep); --acc-soft: var(--yel-soft);
}
[data-no="02"], [data-no="04"], [data-no="06"], [data-no="08"], [data-no="10"], [data-no="12"] {
  --acc: var(--aqua); --acc-text: var(--aqua-deep); --acc-soft: var(--aqua-soft);
}

/* ---------- カーソル / プログレスバー ---------- */
.prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--yel), var(--aqua)); z-index: 300; }
.cur { position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua-deep); pointer-events: none; z-index: 299; transform: translate(-50%, -50%); transition: width 0.25s, height 0.25s, opacity 0.25s; opacity: 0; mix-blend-mode: multiply; }
.cur.on { opacity: 1; }
.cur.big { width: 46px; height: 46px; opacity: 0.3; }
@media (hover: none) { .cur { display: none; } }

/* ---------- 章レール（左端固定） ---------- */
.rail {
  position: fixed; left: 18px; bottom: 26px; z-index: 90;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.3em;
  writing-mode: vertical-rl; color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
}
.rail::before { content: ""; width: 3px; height: 56px; background: var(--yel); writing-mode: horizontal-tb; }
.rail .r-txt { transition: opacity 0.4s; }

/* ---------- ヘッダー ---------- */
.gnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 0 var(--gut);
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.gnav.scrolled { border-bottom-color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.b-mark { font-size: 15px; color: var(--aqua-deep); }
.b-txt { font-weight: 900; font-size: 15px; letter-spacing: 0.12em; color: var(--ink); display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.b-txt small { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.28em; color: var(--ink-3); }
.menu { margin-left: auto; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.menu a {
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  text-decoration: none; padding: 6px 11px; white-space: nowrap;
  position: relative; transition: color 0.25s;
}
.menu a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 5px; background: var(--yel); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.menu a:nth-child(even)::after { background: var(--aqua); }
.menu a:hover, .menu a.active { color: var(--ink); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 14.5px; letter-spacing: 0.08em; text-decoration: none;
  padding: 17px 38px; border-radius: 999px; overflow: hidden;
  transition: color 0.3s, transform 0.2s, box-shadow 0.2s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--yel); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(.65,0,.35,1); z-index: 0; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn span, .btn::after { position: relative; z-index: 1; }
.btn::after { content: "→"; font-family: var(--mono); transition: transform 0.3s; }
.btn:hover::after { transform: translateX(5px); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--aqua); }
.btn.primary:hover { color: var(--ink); }
.btn.ghost { border: 2px solid var(--ink); color: var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--yel-soft); }
.btn.ghost::before { background: var(--aqua); }
.btn.white { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 rgba(18,24,29,.2); }
.btn:hover { transform: translate(-2px, -2px); }

/* ---------- ヒーロー（全画面・グラフィック濃いめ） ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gut) 120px;
  overflow: clip; background: var(--paper);
}
/* 斜めストライプ（黄） 左上 */
.hero .stripes-a {
  position: absolute; top: -60px; left: -80px; width: 56vw; height: 46vh; z-index: 0;
  background: repeating-linear-gradient(-45deg, var(--yel) 0 18px, transparent 18px 44px);
  clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
  opacity: 0.9;
}
/* 斜めストライプ（水色） 右下の帯 */
.hero .stripes-b {
  position: absolute; right: -60px; bottom: 8vh; width: 46vw; height: 34vh; z-index: 0;
  background: repeating-linear-gradient(-45deg, var(--aqua) 0 18px, transparent 18px 44px);
  clip-path: polygon(20% 0, 100% 28%, 100% 100%, 0 100%);
  opacity: 0.85;
}
/* 消えかけドット */
.hero .dots-a {
  position: absolute; left: 4vw; bottom: 6vh; width: 380px; height: 300px; z-index: 0;
  background-image: radial-gradient(var(--ink) 1.7px, transparent 1.9px);
  background-size: 15px 15px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 20% 20%, #000 20%, transparent 72%);
}
/* 白い円弧 */
.hero .ring {
  position: absolute; right: 8vw; top: 6vh; width: 300px; height: 300px; z-index: 0;
  border: 2px solid var(--ink); border-radius: 50%; opacity: 0.12;
  -webkit-mask-image: linear-gradient(135deg, #000 40%, transparent 62%);
  mask-image: linear-gradient(135deg, #000 40%, transparent 62%);
}
.h-label { position: absolute; top: 78px; left: var(--gut); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--ink-2); z-index: 2; }
.hero-inner {
  position: relative; z-index: 1;
  width: min(1320px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: clamp(220px, 22vw, 300px) minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 68px);
  align-items: center;
}
.hero h1 {
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.62; letter-spacing: 0.12em;
  max-height: 640px;
}
.hero h1 em {
  font-style: normal; background: var(--aqua); padding: 6px 2px; margin-top: 12px;
  box-shadow: 6px 6px 0 var(--yel);
}
.hero-photo { position: relative; width: 100%; justify-self: start; }
.hero-photo .photo { aspect-ratio: 4 / 5; border: 3px solid var(--ink); background: #fff; box-shadow: 14px 14px 0 var(--aqua); }
.hero-photo::after {
  content: ""; position: absolute; right: -46px; top: -40px; width: 190px; height: 160px; z-index: -1;
  background-image: radial-gradient(var(--ink) 1.7px, transparent 1.9px);
  background-size: 14px 14px; opacity: 0.45;
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 78%);
  mask-image: linear-gradient(200deg, #000 30%, transparent 78%);
}
.rotor { position: absolute; width: 124px; height: 124px; left: -62px; bottom: 30px; animation: spin 26s linear infinite; z-index: 2; }
.rotor text { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; fill: var(--ink); }
.rotor circle { fill: var(--yel); r: 14; }
@keyframes spin { to { transform: rotate(360deg); } }

/* NAME を大きく（縦書き見出しと両立） */
.hero-name { position: relative; min-width: 0; }
.hn-en {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 58px); line-height: 1; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(18, 24, 29, 0.22);
  margin-bottom: 2px; white-space: nowrap;
}
.hn-name { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.hn-label {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.3em;
  background: var(--ink); color: #fff; padding: 4px 12px; flex: 0 0 auto;
  transform: translateY(-10px);
}
.hn-txt {
  font-weight: 900; font-size: clamp(54px, 6.2vw, 100px); line-height: 1.25; letter-spacing: 0.05em;
  background: linear-gradient(transparent 66%, var(--yel) 66%);
  padding: 0 6px; white-space: nowrap;
}
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-spec { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; list-style: none; }
.hero-spec li {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-2);
  padding: 3px 0 3px 14px; border-left: 4px solid var(--yel); white-space: nowrap;
}
.hero-spec li:nth-child(even) { border-left-color: var(--aqua); }

.ghost-txt {
  position: absolute; right: -0.04em; bottom: 108px; z-index: 0;
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(80px, 14vw, 210px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(18, 24, 29, 0.07);
  pointer-events: none; user-select: none;
}
.scroll-cue {
  position: absolute; left: var(--gut); bottom: 90px;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.4em; color: var(--ink-3);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; z-index: 2;
}
.scroll-cue::after { content: ""; width: 3px; height: 44px; background: var(--yel); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 50% { transform: scaleY(0.4); transform-origin: top; } }

.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--yel); color: var(--ink);
  overflow: hidden; padding: 13px 0;
  border-top: 3px solid var(--ink);
}
.mq-inner { display: flex; width: max-content; animation: mq 36s linear infinite; }
.mq-inner span { font-weight: 900; font-size: 14.5px; white-space: nowrap; letter-spacing: 0.16em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- 数字（カウントアップ・水色バンド） ---------- */
.stats {
  background: var(--aqua);
  border-bottom: 3px solid var(--ink);
  display: grid; grid-template-columns: repeat(6, 1fr);
  padding: 0 var(--gut);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 340px; height: 240px;
  background-image: radial-gradient(#fff 2px, transparent 2.2px);
  background-size: 16px 16px; opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 25%, transparent 75%);
}
.stat-card { position: relative; padding: clamp(34px, 3.6vw, 54px) 16px; border-left: 2px solid rgba(18, 24, 29, 0.18); }
.stat-card:first-child { border-left: none; }
.stat-card em {
  display: block; font-style: normal; font-weight: 900;
  font-size: clamp(15px, 1.4vw, 20px); line-height: 1.5; color: var(--ink); white-space: nowrap;
}
.stat-card em b {
  display: inline-block; font-size: clamp(34px, 3.3vw, 58px); line-height: 1.15;
  background: var(--yel); padding: 0 10px; margin: 4px 2px;
  box-shadow: 4px 4px 0 rgba(18, 24, 29, 0.85);
}
.stat-card:nth-child(even) em b { background: #fff; }
.stat-card span { display: block; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-2); margin-top: 10px; line-height: 1.8; }
.stats-note { background: var(--aqua); font-family: var(--mono); font-size: 10px; color: var(--ink-2); text-align: right; margin: 0; padding: 0 var(--gut) 20px; border-bottom: 3px solid var(--ink); }
.stats, .stats-note { border-bottom: none; }
.stats-note { border-bottom: 3px solid var(--ink); }

/* ---------- バナー ---------- */
.billboard { width: min(var(--w), calc(100% - 2 * var(--gut))); margin: clamp(60px, 8vw, 100px) auto 0; position: relative; }
.billboard img { width: 100%; display: block; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--yel-soft); }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: clamp(90px, 10vw, 150px) 0; overflow: clip; }
.sec > * { width: min(var(--w), calc(100% - 2 * var(--gut))); margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.sec > .feat, .sec > .full-scroll { width: 100%; }
.sec.tinted { background: var(--gray); }
.sec::before {
  content: attr(data-no);
  position: absolute; top: 20px; right: -0.02em; z-index: 0;
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(110px, 19vw, 280px); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 2px rgba(18, 24, 29, 0.07);
  pointer-events: none; user-select: none;
}
/* トップ2章はドット装飾でリッチに（以降はシンプル） */
[data-no="01"]::after, [data-no="02"]::after {
  content: ""; position: absolute; left: -60px; top: 120px; width: 360px; height: 280px; z-index: 0;
  background-image: radial-gradient(var(--acc) 3px, transparent 3.3px);
  background-size: 18px 18px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 15% 15%, #000 18%, transparent 70%);
  mask-image: radial-gradient(ellipse at 15% 15%, #000 18%, transparent 70%);
}

.sec-head { margin-bottom: clamp(46px, 6vw, 78px); }
.sec-head h2 {
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.55; letter-spacing: 0.05em;
  margin-top: 14px;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
}
.sec-head h2::after { content: ""; flex: 1; height: 8px; min-width: 40px; background: repeating-linear-gradient(-45deg, var(--acc) 0 8px, transparent 8px 16px); }
.sec-head .sub { margin-top: 16px; color: var(--ink-2); font-size: 14.5px; max-width: 740px; line-height: 2.2; }

.narrow { max-width: 800px !important; }
.lead { font-size: clamp(15px, 1.8vw, 16.5px); line-height: 2.35; }
.lead + .lead { margin-top: 1.5em; }
.center { text-align: center; margin-top: 44px; }
.note { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 18px; }
.sub-title {
  font-weight: 900; font-size: clamp(19px, 2.3vw, 24px); letter-spacing: 0.06em;
  margin-top: clamp(64px, 8vw, 104px); margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.sub-title::before { content: ""; width: 14px; height: 14px; background: var(--acc); flex: 0 0 auto; }
.sub-title .hint { font-family: var(--mono); font-weight: 700; font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.16em; }
.wave { display: none; }

/* ---------- 写真（未加工スロットは「準備中」） ---------- */
.photo { position: relative; overflow: hidden; background: var(--gray); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.22,1,.36,1); }
.photo:hover img { transform: scale(1.04); }
.photo.fit img { object-fit: contain; background: linear-gradient(160deg, #eefcfb, #d9f6f3); }
.photo.fit:hover img { transform: scale(1.02); }
.photo.pending { border: 2px dashed var(--acc-text); background: #fff; }
.photo.pending img { display: none; }
.photo.pending::before {
  content: "PHOTO — " attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--acc-text);
}
.photo.pending::after {
  content: attr(data-file);
  position: absolute; left: 14px; bottom: 10px;
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-3);
}

/* ---------- 特集行（写真 × テキスト・見切れないようコンテンツ幅内） ---------- */
.feat {
  position: relative; display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 3.6vw, 68px);
  align-items: center;
  margin-block: clamp(64px, 8vw, 116px);
}
.sec > .feat { width: min(var(--w), calc(100% - 2 * var(--gut))); }
.feat.rev { grid-template-columns: 0.92fr 1.08fr; }
.feat .f-media { position: relative; min-width: 0; }
.feat .photo.bleed-l, .feat .photo.bleed-r { aspect-ratio: 16 / 10; border: 3px solid var(--ink); }
.feat .photo.bleed-l { box-shadow: 12px 12px 0 var(--acc-soft); }
.feat .photo.bleed-r { box-shadow: -12px 12px 0 var(--acc-soft); }
.feat .f-text {
  position: relative; min-width: 0;
  border-top: 6px solid var(--acc);
  padding-top: clamp(20px, 2.4vw, 30px);
  max-width: 600px; justify-self: start;
}
.feat.rev .f-media { order: 2; }
.feat.rev .f-text { order: 1; justify-self: end; }
.f-cap {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  margin: 0; padding: 12px 18px;
  background: rgba(18, 24, 29, 0.72);
  color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  max-width: 100%;
}
.feat.rev .f-cap { left: auto; right: 0; }
.tag {
  display: inline-block; font-weight: 900; font-size: 12px;
  letter-spacing: 0.14em; color: var(--ink);
  background: var(--acc); padding: 6px 16px; margin-bottom: 16px;
  box-shadow: 4px 4px 0 rgba(18, 24, 29, 0.12);
}
.tag.rose { background: var(--aqua); }
.feat h3 { font-size: clamp(21px, 2.5vw, 28px); font-weight: 900; line-height: 1.65; margin-bottom: 16px; }
.feat p { font-size: 14px; color: var(--ink-2); line-height: 2.15; }
.feat p + p { margin-top: 0.9em; }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; color: var(--ink); background: #fff; }
.chips span b { color: var(--acc-text); }
.chips span:nth-child(even) b { color: var(--aqua-deep); }

/* サブ写真（硬質サムネイル） */
.pols { display: flex; gap: 3px; margin-top: 3px; position: relative; z-index: 1; }
.pol { background: none; padding: 0; width: 50%; position: relative; }
.pol .photo { aspect-ratio: 16 / 10; }
.pol figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 8px 12px;
  background: rgba(18, 24, 29, 0.65);
  color: #fff; font-size: 10.5px; letter-spacing: 0.08em; text-align: left;
}
.pol::before { display: none; }

/* ---------- 3本柱 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 5vw, 70px); }
.pillar {
  position: relative; background: #fff; border: 3px solid var(--ink);
  padding: clamp(30px, 3.2vw, 46px) clamp(22px, 2.4vw, 36px);
  box-shadow: 8px 8px 0 var(--yel);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:nth-child(2) { box-shadow: 8px 8px 0 var(--aqua); }
.pillar:nth-child(3) { box-shadow: 8px 8px 0 var(--yel); }
.pillar:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--aqua); }
.pillar .p-ico { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.26em; color: var(--ink-3); display: block; margin-bottom: 16px; }
.pillar h3 { font-size: clamp(20px, 2.2vw, 25px); font-weight: 900; margin-bottom: 12px; }
.pillar p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- ステートメント（引用カード） ---------- */
.letter {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--acc-soft);
  padding: clamp(40px, 5vw, 70px) clamp(26px, 5.5vw, 80px);
  margin-top: clamp(52px, 6vw, 88px);
}
.letter::before {
  content: "“";
  position: absolute; top: -14px; left: clamp(18px, 3vw, 44px);
  font-size: 120px; line-height: 1; font-weight: 900; color: var(--acc);
}
.letter p { font-size: 14.5px; line-height: 2.35; color: var(--ink-2); }
.letter p + p { margin-top: 1.4em; }
.letter .letter-title {
  font-weight: 900;
  font-size: clamp(21px, 2.8vw, 30px); color: var(--ink); line-height: 1.75;
  margin-bottom: 1em;
}
.letter .sign { text-align: right; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--acc-text); margin-top: 1.6em; }
.letter strong { color: var(--ink); }
.letter.with-img { display: grid; grid-template-columns: 1fr clamp(220px, 24vw, 320px); gap: clamp(26px, 3.4vw, 56px); align-items: center; }
.letter .l-img { margin: 0; }
.letter .l-img .photo { aspect-ratio: 4 / 3; border: 3px solid var(--ink); }

.cite { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.05em; color: var(--ink-3); text-align: right; margin-top: 8px; line-height: 1.7; }
.shelf-cite { text-align: left; margin-top: 14px; }

/* ---------- 年表（左右ジグザグ） ---------- */
.tline { position: relative; padding-block: 20px; }
.tline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: repeating-linear-gradient(var(--ink) 0 10px, transparent 10px 20px); opacity: 0.25; }
.tl-item {
  position: relative; width: calc(50% - 52px);
  background: #fff; border: 2px solid var(--ink);
  padding: 28px 32px; margin-bottom: 40px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.tl-item:hover { transform: translate(-2px, -4px); box-shadow: 8px 8px 0 var(--aqua-soft); }
.tl-item:nth-child(odd) { margin-right: auto; }
.tl-item:nth-child(even) { margin-left: auto; }
.tl-item::after {
  content: ""; position: absolute; top: 32px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--yel); border: 3px solid var(--ink);
}
.tl-item:nth-child(even)::after { background: var(--aqua); }
.tl-item:nth-child(odd)::after { right: -61px; }
.tl-item:nth-child(even)::after { left: -61px; }
.tl-item.turn { border-width: 3px; box-shadow: 8px 8px 0 var(--yel-soft); }
.tl-item:nth-child(even).turn { box-shadow: 8px 8px 0 var(--aqua-soft); }
.tl-item .era { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; background: var(--yel); color: var(--ink); padding: 3px 12px; margin-bottom: 10px; }
.tl-item:nth-child(even) .era { background: var(--aqua); }
.tl-item h3 { font-size: 18px; font-weight: 900; line-height: 1.7; margin-bottom: 8px; }
.tl-item p { font-size: 13px; color: var(--ink-2); line-height: 2.05; }

/* ---------- 頭の中 ---------- */
.mbti {
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(30px, 4vw, 60px); align-items: center;
  border: 3px solid var(--ink); background: #fff;
  box-shadow: 12px 12px 0 var(--yel-soft);
  padding: clamp(30px, 3.6vw, 50px); margin-bottom: 48px;
}
/* 16Personalities INTPキャラ（引用画像） */
.mbti-fig { margin: 0; min-width: 0; }
.mbti-fig img { width: 100%; height: auto; display: block; }
.mbti-fig .cite { margin-top: 6px; }
.mbti-badge { aspect-ratio: 1; border-radius: 50%; background: var(--aqua); border: 3px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 8px 8px 0 var(--yel); }
.mbti-badge .t { font-weight: 900; font-size: 52px; letter-spacing: 0.04em; color: var(--ink); }
.mbti-badge .l { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.3em; color: var(--ink-2); }
.mbti p { font-size: 14px; color: var(--ink-2); }
.mbti p + p { margin-top: 1em; }

.traits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trait { background: #fff; border: 2px solid var(--ink); padding: clamp(24px, 2.8vw, 36px); transition: transform 0.25s, box-shadow 0.25s; }
.trait:hover { transform: translate(-2px, -3px); box-shadow: 7px 7px 0 var(--aqua-soft); }
.trait h4 { font-size: 15.5px; font-weight: 900; margin-bottom: 8px; padding-left: 16px; position: relative; }
.trait h4::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--yel); }
.trait:nth-child(even) h4::before { background: var(--aqua); }
.trait p { font-size: 13px; color: var(--ink-2); }

.creeds { margin-top: 64px; border-top: 2px solid var(--ink); }
.creed {
  display: grid; grid-template-columns: 72px 300px 1fr; gap: clamp(16px, 3vw, 44px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 34px) 6px; border-bottom: 2px solid var(--line);
  transition: padding-left 0.3s, background 0.3s;
}
.creed:hover { padding-left: 24px; background: var(--gray); }
.creed .no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yel); border: 2px solid var(--ink);
  font-weight: 900; font-size: 20px;
}
.creed:nth-child(even) .no { background: var(--aqua); }
.creed h4 { font-size: clamp(17px, 2vw, 20px); font-weight: 900; }
.creed p { font-size: 13px; color: var(--ink-2); max-width: 640px; }

/* ---------- 好きなもの図鑑 ---------- */
.spec { border: 3px solid var(--ink); background: #fff; box-shadow: 12px 12px 0 var(--aqua-soft); padding: 0; }
.spec-hito {
  font-weight: 900; font-size: clamp(17px, 2.3vw, 23px);
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 42px);
  border-bottom: 3px solid var(--ink);
}
.spec-hito em { font-style: normal; background: linear-gradient(transparent 55%, var(--yel) 55%); padding: 0 2px; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-item { padding: 16px clamp(18px, 2.2vw, 30px) 18px; border-left: 2px solid var(--line-soft); border-top: 2px solid var(--line-soft); transition: background 0.25s; }
.spec-item:hover { background: var(--aqua-soft); }
.spec-item .sk { display: block; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); }
.spec-item .sv { display: block; font-weight: 900; font-size: 13.5px; margin-top: 4px; }

/* 本棚（フルブリード横スクロール） */
.full-scroll {
  display: flex; overflow-x: auto; cursor: grab;
  scrollbar-width: none;
  padding: 20px max(var(--gut), calc((100vw - var(--w)) / 2)) 20px;
}
.full-scroll::-webkit-scrollbar { display: none; }
.full-scroll.dragging { cursor: grabbing; user-select: none; }
.scroll-track { height: 3px; background: var(--line-soft); position: relative; margin-top: 6px; }
.scroll-track .fill { position: absolute; left: 0; top: 0; height: 3px; width: 10%; background: linear-gradient(90deg, var(--yel), var(--aqua)); transition: width 0.15s linear; }

.shelf { gap: 34px; }
.book { flex: 0 0 205px; }
.cover {
  aspect-ratio: 10 / 14.4; border-radius: 3px 10px 10px 3px;
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 18px 16px 18px 26px;
  border: 2px solid var(--ink);
  box-shadow: 8px 10px 0 rgba(18, 24, 29, 0.15);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s;
}
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: rgba(255, 255, 255, 0.25); border-radius: 3px 0 0 3px; }
.book:hover .cover { transform: translateY(-12px); box-shadow: 10px 20px 0 var(--aqua-soft); }
.cover .bt { font-weight: 900; font-size: 20px; line-height: 1.6; color: #fff; }
.cover .ba { margin-top: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.85); }
.cover.c1 { background: var(--yel); }
.cover.c1 .bt { color: var(--ink); } .cover.c1 .ba { color: var(--ink-2); }
.cover.c2 { background: var(--ink); }
.cover.c3 { background: var(--aqua-deep); }
.cover.c4 { background: #f4efdf; }
.cover.c4 .bt { color: var(--ink); } .cover.c4 .ba { color: var(--ink-2); }
.cover.c5 { background: #2fa8cb; }
.cover .bk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.book .why { font-size: 12px; color: var(--ink-2); line-height: 2; margin-top: 16px; }

/* ゲーム（黄×水色のポップパネル） */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.game {
  position: relative; overflow: hidden;
  border: 3px solid var(--ink);
  padding: clamp(30px, 3.4vw, 46px);
  display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(18px, 2.2vw, 34px); align-items: center;
}
.game.splat { background: var(--aqua); box-shadow: 10px 10px 0 var(--yel); }
.game.poke { background: var(--yel); box-shadow: 10px 10px 0 var(--aqua); }
.game h4 { font-size: clamp(19px, 2vw, 24px); font-weight: 900; }
.game p { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.game .g-txt { position: relative; z-index: 1; }
.game .g-art { position: relative; margin: 0; }
.game .g-art .photo { aspect-ratio: 16 / 10; border: 2px solid var(--ink); }
.game .g-art .g-rank {
  position: absolute; right: 10px; top: -30px; z-index: 2;
  font-weight: 900; font-size: clamp(44px, 4vw, 72px); line-height: 1;
  color: #fff; -webkit-text-stroke: 2px var(--ink);
  letter-spacing: -0.02em;
}
.game .cite { color: var(--ink-2); }
.game .photo.pending { background: rgba(255, 255, 255, 0.6); border-color: var(--ink); }
.game .photo.pending::before { color: var(--ink-2); }

/* 師匠 */
.mentors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mentor { background: #fff; border: 2px solid var(--ink); padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.2vw, 28px); transition: transform 0.25s, box-shadow 0.25s; }
.mentor:hover { transform: translate(-2px, -3px); box-shadow: 7px 7px 0 var(--yel-soft); }
.m-av {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--yel); border: 2px solid var(--ink);
  font-weight: 900; font-size: 20px; margin-bottom: 14px;
}
.mentor:nth-child(even) .m-av { background: var(--aqua); }
.mentor h4 { font-size: 14.5px; font-weight: 900; line-height: 1.7; margin-bottom: 6px; }
.mentor p { font-size: 12.5px; color: var(--ink-2); }

/* 料理 */
.cook { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cook.cook3 { grid-template-columns: 1fr 1fr; }
.cook.cook3 .pol:first-child { grid-column: 1 / -1; }
.cook.cook3 .pol:first-child .photo { aspect-ratio: 16 / 9; }
.cook .pol { width: auto; }
.cook .pol .photo { aspect-ratio: 1 / 1; border: 2px solid var(--ink); }

/* ---------- イラストギャラリー ---------- */
.gallery { gap: 28px; align-items: flex-end; }
.art { flex: 0 0 auto; background: none; padding: 0; position: relative; }
.art img {
  height: min(60vh, 470px); width: auto;
  background: var(--gray);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--aqua-soft);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s;
}
.art:nth-child(even) img { box-shadow: 10px 10px 0 var(--yel-soft); }
.art:hover img { transform: translateY(-8px); }
.art figcaption { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2); padding-top: 12px; text-align: left; }
.art figcaption::before { content: "■ "; color: var(--acc); }

/* ---------- お金 ---------- */
.zeros { display: flex; flex-wrap: wrap; gap: 10px; }
.zeros span {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  border: 2px solid var(--ink); border-radius: 999px; color: var(--ink);
  padding: 7px 16px; background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.zeros span::after { content: " ¥0"; color: var(--yel-deep); font-weight: 700; }
.zeros span:nth-child(even)::after { color: var(--aqua-deep); }
.zeros span:hover { transform: translate(-1px, -2px); box-shadow: 4px 4px 0 var(--aqua-soft); }
.zero-extra { margin-top: 24px; font-size: 13.5px; color: var(--ink-2); max-width: 860px; }
.zero-extra b { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 55%, var(--yel-soft) 55%); }
.zero-extra b:nth-of-type(even) { background: linear-gradient(transparent 55%, var(--aqua-soft) 55%); }

.m-table { border: 3px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--aqua-soft); }
.m-table table { width: 100%; border-collapse: collapse; }
.m-table th { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink); background: var(--aqua); text-align: left; padding: 14px 26px; border-bottom: 3px solid var(--ink); }
.m-table th:last-child, .m-table td:last-child { text-align: right; font-weight: 900; white-space: nowrap; }
.m-table td { padding: 14px 26px; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); }
.m-table tr:last-child td { border-bottom: none; }
.m-table tr:hover td { background: var(--gray); }

.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.m-card { background: #fff; border: 3px solid var(--ink); padding: clamp(28px, 3.2vw, 42px); }
.m-card:first-child { box-shadow: 10px 10px 0 var(--yel-soft); }
.m-card:last-child { box-shadow: 10px 10px 0 var(--aqua-soft); }
.m-card h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--ink-2); margin-bottom: 12px; }
.m-card .big { font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; }
.m-card p { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.m-card .plus { color: var(--aqua-deep); font-weight: 900; }

/* ---------- 弱さ改め「開き直り」（明るく・ポジティブ） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 56px; }
.split .side { background: #fff; border: 3px solid var(--ink); padding: clamp(30px, 3.6vw, 46px); box-shadow: 10px 10px 0 var(--aqua-soft); }
.split .side.real { box-shadow: 10px 10px 0 var(--yel-soft); }
.split h3 { font-size: 26px; font-weight: 900; }
.split .s-tag { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.26em; color: var(--aqua-deep); margin: 6px 0 20px; }
.split .side.real .s-tag { color: var(--yel-deep); }
.split ul { list-style: none; }
.split li { padding: 11px 0 11px 26px; position: relative; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); line-height: 1.9; }
.split li:last-child { border: none; }
.split li::before { content: "○"; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--aqua-deep); }
.split .side.real li::before { content: "●"; color: var(--yel-deep); }
.vow { text-align: center; margin-top: 72px; }
.vow h3 { font-weight: 900; font-size: clamp(23px, 3.4vw, 34px); line-height: 2; }
.vow p { max-width: 680px; margin: 24px auto 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- 動画（クリックで再生） ---------- */
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.vid { position: relative; cursor: pointer; background: var(--ink); overflow: hidden; border: 3px solid var(--ink); }
.vid.wide { grid-column: 1 / -1; }
.vid > img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.22,1,.36,1); }
.vid.wide > img { aspect-ratio: 21 / 9; }
.vid:hover > img { transform: scale(1.04); }
.vid .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--yel);
  transition: transform 0.25s, background 0.25s;
}
.vid:nth-child(even) .play { background: var(--aqua); }
.vid .play::before {
  content: ""; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%);
  border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.vid:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.vid .vt {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 20px 14px;
  background: linear-gradient(transparent, rgba(18, 24, 29, 0.85));
  color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.8;
}
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 一緒に生きる ---------- */
.letter.honest { margin-top: 0; box-shadow: 12px 12px 0 var(--aqua-soft); }
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 56px; }
.match .col { padding: clamp(30px, 3.6vw, 44px); border: 3px solid var(--ink); }
.match .col.good { background: var(--aqua); }
.match .col.bad { background: var(--gray); }
.match h3 { font-size: 19px; font-weight: 900; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.match h3::before { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
.match .col.good h3::before { content: "YES —"; color: var(--ink); }
.match .col.bad h3::before { content: "NO —"; color: var(--ink-3); }
.match ul { list-style: none; }
.match li { padding: 11px 0 11px 26px; position: relative; font-size: 13.5px; line-height: 1.9; border-bottom: 1px solid rgba(18, 24, 29, 0.12); }
.match li:last-child { border: none; }
.match .col.good li::before { content: "○"; position: absolute; left: 0; font-weight: 900; }
.match .col.bad li::before { content: "×"; position: absolute; left: 0; color: var(--ink-3); font-weight: 900; }
.door {
  position: relative; text-align: center;
  background: var(--yel);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--aqua);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 60px);
  overflow: hidden;
}
.door::before {
  content: ""; position: absolute; left: -40px; top: -40px; width: 46%; height: 130%;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0 14px, transparent 14px 34px);
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%);
  pointer-events: none;
}
.door::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 260px; height: 200px;
  background-image: radial-gradient(var(--ink) 2px, transparent 2.3px);
  background-size: 16px 16px; opacity: 0.25;
  -webkit-mask-image: radial-gradient(ellipse at 80% 80%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 80% 80%, #000 25%, transparent 75%);
  pointer-events: none;
}
.door h3 { position: relative; font-weight: 900; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.95; z-index: 1; }
.door p { position: relative; max-width: 660px; margin: 20px auto 0; font-size: 14px; color: var(--ink-2); z-index: 1; }
.door .cta { position: relative; margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px !important; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--line); background: none; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 900; font-size: 15px; line-height: 1.9;
  padding: 24px 56px 24px 58px; position: relative;
  transition: color 0.3s;
}
.faq summary:hover { color: var(--aqua-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 4px; top: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--yel); border: 2px solid var(--ink);
  font-weight: 900; font-size: 14px;
}
.faq details:nth-of-type(even) summary::before { background: var(--aqua); }
.faq summary::after { content: "＋"; position: absolute; right: 14px; top: 24px; font-size: 18px; font-weight: 900; color: var(--ink); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 30px 28px 58px; font-size: 13.5px; color: var(--ink-2); }
.faq .a p + p { margin-top: 0.8em; }

/* ---------- フッター ---------- */
.footer {
  position: relative; background: var(--aqua); color: var(--ink);
  text-align: center; padding: 86px var(--gut) 44px;
  margin-top: clamp(70px, 9vw, 120px);
  border-top: 3px solid var(--ink);
  overflow: hidden;
}
.footer::before {
  content: "AKIRA";
  position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font-family: var(--mono); font-weight: 700; font-size: clamp(80px, 14vw, 200px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(18, 24, 29, 0.08);
  pointer-events: none; white-space: nowrap;
}
.footer::after {
  content: ""; position: absolute; left: -40px; top: -40px; width: 300px; height: 220px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0 12px, transparent 12px 30px);
  clip-path: polygon(0 0, 100% 0, 30% 100%, 0 100%);
  pointer-events: none;
}
.f-script { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.32em; color: var(--ink-2); text-transform: uppercase; }
.f-brand { font-weight: 900; font-size: 25px; letter-spacing: 0.12em; margin-top: 12px; }
.f-note { font-size: 12.5px; margin-top: 12px; color: var(--ink-2); }
.f-links { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin: 28px 0 36px; z-index: 1; }
.f-links a { color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; border-bottom: 2px solid transparent; transition: 0.25s; }
.f-links a:hover { border-bottom-color: var(--ink); background: var(--yel); }
.f-cp { position: relative; border-top: 2px solid rgba(18, 24, 29, 0.2); padding-top: 22px; font-family: var(--mono); font-size: 10px; color: var(--ink-2); z-index: 1; }

/* ---------- リビール（スクロールで左右交互にふわっと） ---------- */
.js .rv, .js .rv-l, .js .rv-r { opacity: 0; transition: opacity 1s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1); }
.js .rv { transform: translateY(36px); }
.js .rv-l { transform: translateX(-70px); }
.js .rv-r { transform: translateX(70px); }
.js .rv.on, .js .rv-l.on, .js .rv-r.on { opacity: 1; transform: none; }
/* 特集写真は左右からスライドイン（画面外にはみ出さない距離に抑える） */
.js .feat .f-media.rv-l { transform: translateX(-90px); transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
.js .feat .f-media.rv-r { transform: translateX(90px); transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
@media (max-width: 1100px) {
  .js .feat .f-media.rv-l { transform: translateX(-40px); }
  .js .feat .f-media.rv-r { transform: translateX(40px); }
}

/* 見出しの文字送り */
.js .chars span { display: inline-block; opacity: 0; transform: translateY(0.6em); transition: opacity 0.6s, transform 0.7s cubic-bezier(.22,1,.36,1); }
.js .chars.on span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv-l, .js .rv-r, .js .chars span { opacity: 1; transform: none; transition: none; }
  .mq-inner, .rotor, .scroll-cue::after { animation: none; }
  .cur { display: none; }
}

/* flatモード（スクリーンショット確認用） */
.flat .hero { min-height: 0; padding-top: 170px; }
.flat .chars span { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1180px) {
  .rail { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat-card:nth-child(4) { border-left: none; }
  .creed { grid-template-columns: 64px 1fr; }
  .creed p { grid-column: 2; }
}
@media (max-width: 1100px) {
  .feat, .feat.rev { grid-template-columns: 1fr; gap: 26px; }
  .feat .f-text, .feat.rev .f-text { order: 2; margin: 0; max-width: none; justify-self: stretch; }
  .feat .f-media, .feat.rev .f-media { order: 1; }
  .feat .photo.bleed-l { box-shadow: 8px 8px 0 var(--acc-soft); }
  .feat .photo.bleed-r { box-shadow: -8px 8px 0 var(--acc-soft); }
  .game { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pc { display: none; } .sp { display: inline; }
  .hero { padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { writing-mode: horizontal-tb; max-height: none; font-size: clamp(34px, 9vw, 52px); line-height: 1.5; }
  .hero h1 em { display: inline-block; margin-top: 8px; padding: 2px 10px; }
  .hero-photo { justify-self: center; max-width: 360px; }
  .hero .stripes-a { width: 90vw; height: 30vh; }
  .hero .stripes-b { width: 70vw; }
  .scroll-cue { display: none; }
  .ghost-txt { bottom: auto; top: 80px; }
  .pillars { grid-template-columns: 1fr; }
  .tline::before { left: 6px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) { width: calc(100% - 34px); margin-left: 34px; }
  .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: -34px; right: auto; }
  .mbti { grid-template-columns: 1fr; }
  .mbti-badge { max-width: 200px; }
  .mbti-fig { max-width: 420px; }
  .traits { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
  .mentors { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .m-cards, .match, .split { grid-template-columns: 1fr; }
  .vids { grid-template-columns: 1fr; }
  .art img { height: 320px; }
  .letter.with-img { grid-template-columns: 1fr; }
  .letter .l-img { max-width: 380px; }
  .creed { grid-template-columns: 52px 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-card { border-left: none; border-top: 2px solid rgba(18, 24, 29, 0.15); }
  .mentors { grid-template-columns: 1fr; }
  .hero-spec li { border-left-width: 3px; }
}

/* --- 画像出典クレジット --- */
.img-credit {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.img-credit a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.img-credit a:hover {
  color: var(--ink-2);
}

/* --- シャドウなし写真 --- */
.photo.no-shadow {
  box-shadow: none !important;
  background: transparent;
}


/* ============================================================
   一緒に生きる: ふたつのプラン（選べる家族の形）
   ============================================================ */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(28px, 3.6vw, 48px); }
.plan { position: relative; background: #fff; border: 3px solid var(--ink); padding: clamp(26px, 3vw, 44px); }
.plan.pl-a { box-shadow: 12px 12px 0 var(--yel); }
.plan.pl-b { box-shadow: 12px 12px 0 var(--aqua); }
.pl-no {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; color: #fff; background: var(--ink);
  padding: 5px 14px; margin-bottom: 16px;
}
.plan.pl-b .pl-no { color: var(--ink); background: var(--aqua); }
.plan h3 { font-weight: 900; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.7; margin-bottom: 14px; }
.plan p { font-size: 14px; color: var(--ink-2); line-height: 2.1; }
.plan p + p { margin-top: 0.9em; }
.plans-note {
  margin-top: clamp(26px, 3.4vw, 40px); text-align: center;
  font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 2.1;
}
.plans-note .pn-sign { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan.pl-a, .plan.pl-b { box-shadow: 8px 8px 0 var(--yel); }
  .plan.pl-b { box-shadow: 8px 8px 0 var(--aqua); }
}
