/* ============================================================
   AIを味方にする デザインワークフロー実践ガイド — LP
   Claude Design (Book-Landing-Page.dc.html) をスタンドアロン化した実装。
   デザインシステムのトークンをそのまま採用（紙面の編集デザイン）。
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&family=Noto+Serif+JP:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* --- Color --- */
  --accent: #FF3319;
  --accent-dark: #DB2712;
  --accent-light: #FFECE8;
  --ink: #00274D;
  --text-secondary: #465569;
  --text-tertiary: #7B8794;
  --border: #CCCCCC;
  /* 罫線の種類（濃度違い）— 極薄グリッド線 / 標準ボーダー / インク罫 */
  --rule-faint: #E5E8EB;
  --rule-soft: #CCCCCC;
  --rule-ink: rgba(0, 39, 77, .55);
  --warm-gray: #E8EAED;
  --soft-peach: #E7EDF3;
  --code-bg: #EEF1F5;
  --paper: #FFFFFF;
  --page-bg: #F3F5F7;

  /* --- Type --- */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, var(--font-sans);
  --feat-heading: "palt" 1, "kern" 1;

  /* --- Effects --- */
  --radius-sm: 4px;
  --radius-pill: 999px;
  --bw-hairline: 1px;
  --bw-rule: 1.5px;
  --bw-strong: 2px;

  /* --- Motion --- */
  --ease-reveal: cubic-bezier(.22, .61, .36, 1);
  --ease-hero: cubic-bezier(.16, .8, .24, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: var(--feat-heading);
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* 紙の質感：全面に極薄のノイズを重ねる（固定UIより背面、テキストは可読のまま）。
   multiplyで「紙の繊維」的に沈ませる。クリーム・ダーク・オレンジすべてに効く。 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  mix-blend-mode: multiply; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; scroll-behavior: auto; }
}

/* Lenis（ページ全体の慣性スクロール）— タッチとreduced-motionはネイティブのまま */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ------------------------------------------------------------
   Spark marks (SVG は currentColor で着色)
   ------------------------------------------------------------ */
.spark { display: inline-block; vertical-align: middle; flex: none; line-height: 0; }
.spark svg { display: block; }

/* リロードで表示された瞬間、ヒーローのスパークが一度だけくるっと回る演出。
   2回転＋軽いスケールのオーバーシュートで減速して止まる（パーティクル的）。 */
@keyframes sparkSpin {
  0%   { transform: rotate(0) scale(.4); }
  70%  { transform: rotate(680deg) scale(1.18); }
  100% { transform: rotate(720deg) scale(1); }
}
.nav__brand .spark,
.hero__eyebrow .spark,
.hero__tagline .spark {
  animation: sparkSpin 1s var(--ease-hero) both;
  transform-origin: center;
}
.nav__brand .spark { animation-delay: .2s; }
.hero__eyebrow .spark { animation-delay: .35s; }
.hero__tagline .spark { animation-delay: .8s; }

/* ヒーロー以外のスパークは、スクロールで画面に入ったとき一度だけ回す
   （JSが表示検知で .is-spun を付与）。 */
.spark.is-spun { animation: sparkSpin 1s var(--ease-hero) both; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  .nav__brand .spark,
  .hero__eyebrow .spark,
  .hero__tagline .spark,
  .spark.is-spun { animation: none; }
}

/* ------------------------------------------------------------
   Button
   ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s ease, transform .25s var(--ease-bounce), box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 20px rgba(0, 39, 77, .18); }
.btn:active { transform: translateY(0) scale(.96); box-shadow: none; transition-duration: .2s, .1s, .1s; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.btn--md { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #0A3A66; }
/* CTAの星は、ゆっくり一定速度で回り続ける（chillな常時回転で目を引く） */
@keyframes sparkSpinLoop { to { transform: rotate(360deg); } }
.btn__spark { margin-left: 5px; animation: sparkSpinLoop 7s linear infinite; transform-origin: center; }

/* ホバーで星が「きゅっ」と一度だけパルスする。
   回転はspan側なので、スケールはsvg側に掛けて競合させない */
@keyframes sparkPulse {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.btn:hover .btn__spark svg { animation: sparkPulse .45s ease-in-out; transform-origin: center; }

/* ホバー時、ボタンの右肩から小さな星が時間差でピコッと2つ飛び出す。
   本体の星と同じ4ポイント星をclip-pathで再現し、currentColorに追従させる */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  transform: scale(0) rotate(-90deg);
  transition: transform .3s var(--ease-bounce), opacity .15s ease;
  pointer-events: none;
}
.btn::before { width: 9px; height: 9px; top: -5px; right: 8px; }
.btn::after  { width: 6px; height: 6px; top: 6px; right: -4px; }
.btn:hover::before { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: .05s, .05s; }
.btn:hover::after  { opacity: 1; transform: scale(1) rotate(20deg); transition-delay: .14s, .14s; }

@media (prefers-reduced-motion: reduce) {
  .btn__spark,
  .btn:hover .btn__spark svg { animation: none; }
  .btn::before, .btn::after { transition: opacity .15s ease; transform: none; }
}

/* ------------------------------------------------------------
   Badge
   ------------------------------------------------------------ */
.badge { display: inline-flex; align-items: center; font-family: var(--font-sans); }
.badge--bracket {
  font-family: var(--font-latin);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--ink); text-transform: uppercase;
}
.badge--bracket::before { content: "["; color: var(--accent); margin-right: 4px; }
.badge--bracket::after  { content: "]"; color: var(--accent); margin-left: 4px; }

/* ------------------------------------------------------------
   Pill heading
   ------------------------------------------------------------ */
.pill-heading {
  display: inline-flex; align-items: center; gap: 10px;
  border: var(--bw-rule) solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-sans); font-weight: 700; font-size: 16px;
  letter-spacing: .02em; color: var(--ink);
}
.pill-heading b { color: var(--accent); font-weight: 800; }

/* ------------------------------------------------------------
   Book cover fallback (画像未配置のとき)
   ------------------------------------------------------------ */
.cover-fallback {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; aspect-ratio: 1144/1533;
  border: var(--bw-hairline) solid var(--border);
  background: var(--warm-gray); color: var(--text-tertiary);
  font-family: var(--font-sans); font-size: 12px; line-height: 1.8; font-weight: 500;
}

/* ------------------------------------------------------------
   Nav (sticky)
   ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 245, 247, .92);
  -webkit-backdrop-filter: saturate(1.1) blur(6px);
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  padding: clamp(10px, 2vw, 14px) clamp(20px, 6vw, 56px);
  display: flex; align-items: center; gap: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.nav__title {
  font-weight: 700; font-size: clamp(11px, 3vw, 14px); letter-spacing: .02em;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav__cta { margin-left: auto; flex: none; }

/* ------------------------------------------------------------
   Hero — 可視化した12カラムのスイス・グリッド
   ------------------------------------------------------------ */
.hero { position: relative; }
.hero__inner {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 5vw, 56px) clamp(48px, 7vw, 92px);
}

/* Body */
.hero__body {
  position: relative;
  margin-top: clamp(28px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 36px);
}

/* 12カラムのガイド線（ワイド時のみ可視） */
.hero__gridlines { display: none; }

.hero__eyebrow {
  margin: 0 0 clamp(14px, 2vw, 20px); display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: clamp(12px, 1.6vw, 14px); letter-spacing: .08em; color: var(--accent);
}
.hero__eyebrow .spark { line-height: 0; }
.hero__eyebrow .spark svg { display: block; }
.hero__title {
  margin: 0; font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(32px, 8vw, 84px); line-height: 1.12; letter-spacing: -0.05em; color: var(--ink);
  text-wrap: balance;
}
.hero__title .nowrap { white-space: nowrap; }
.hero__title .accent { color: var(--accent); }

.hero__spine { display: none; }
.hero__spine-text {
  writing-mode: vertical-rl; font-family: var(--font-sans); font-weight: 500;
  font-size: 12px; letter-spacing: .2em; color: var(--ink); line-height: 1.9;
}
/* 背表紙のあしらい：上下のスパーク＋縦ダッシュで柱を挟む */
.spine__mark { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.spine__spark { color: var(--accent); line-height: 0; }
.spine__spark svg { display: block; }
.spine__dash { width: 1px; height: clamp(24px, 4vw, 40px); background: var(--rule-ink); }

.hero__cover-mod { width: min(300px, 74vw); justify-self: center; }
.hero__cover { width: 100%; aspect-ratio: 1144/1533; will-change: transform; }
.hero__cover img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 38px rgba(0, 39, 77, .22)); }
/* 書影下：発売日（数字を大きく、単位を小さく） */
.hero__release {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
  color: var(--ink); letter-spacing: .01em; display: flex; align-items: baseline; gap: 1px;
}
.hero__release-num { font-family: var(--font-latin); font-weight: 700; font-size: clamp(13px, 1.8vw, 15px); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__release-unit { font-weight: 600; font-size: .72em; color: var(--text-secondary); }
.hero__release-suffix { margin-left: 8px; font-weight: 700; font-size: .72em; color: var(--text-secondary); }

.hero__lede {
  margin: 0; max-width: 40ch;
  font-size: clamp(15px, 2.2vw, 17px); line-height: 1.9; letter-spacing: .03em; color: var(--text-secondary);
}
/* 書影下のCTA（縦積み・幅いっぱい） */
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; }
.hero__actions .btn { width: 100%; justify-content: center; }
.hero__actions-note {
  font-family: var(--font-latin); font-weight: 600; font-size: 12px;
  letter-spacing: .08em; color: var(--text-tertiary); text-align: center;
}

/* ------------------------------------------------------------
   Sections (共通)
   ------------------------------------------------------------ */
.section { position: relative; }
.section__wrap { position: relative; margin: 0 auto; }
.wrap--760 { max-width: 760px; }
.wrap--960 { max-width: 960px; }
.wrap--1160 { max-width: 1160px; }
.section__wrap {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 56px);
}
.section--empathy .section__wrap { padding-bottom: clamp(56px, 8vw, 88px); }

.sec-head {
  position: relative; display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 16px; border-bottom: var(--bw-strong) solid var(--ink);
}
.section--dark .sec-head { border-bottom-color: var(--accent); }
.sec-head__label {
  font-weight: 700; font-size: clamp(24px, 4.4vw, 40px); color: var(--ink); letter-spacing: .02em;
}
.section--dark .sec-head__label { color: var(--paper); }

.big-quote {
  position: absolute; left: clamp(-30px, -4vw, -14px); top: -34px;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(90px, 14vw, 150px); line-height: 1;
  color: rgba(255, 51, 25, .18); pointer-events: none; user-select: none;
}
.section--dark .big-quote { color: rgba(255, 51, 25, .3); top: -30px; }

.quote-block { position: relative; margin-top: clamp(28px, 4vw, 36px); }

/* Empathy */
.section--empathy .section__wrap { max-width: 760px; }
.nobr { white-space: nowrap; }
/* 文節単位で折り返す（切れ目は文節境界のみ。狭い時は内部で折り返してあふれない） */
.phr { display: inline-block; }
.q-serif {
  position: relative; margin: 0; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(24px, 4.4vw, 36px); line-height: 1.55; letter-spacing: .02em; color: var(--ink);
}
.lead-strong { margin: 24px 0 0; font-weight: 700; font-size: clamp(16px, 2.4vw, 18px); line-height: 1.9; letter-spacing: .02em; color: var(--ink); }
.para { margin: 28px 0 0; font-size: clamp(15px, 2.2vw, 16px); line-height: 1.95; letter-spacing: .03em; color: var(--text-secondary); }

/* Turn (dark) */
.section--dark { background: var(--ink); color: var(--paper); }
.section--turn .section__wrap { max-width: 760px; }
.q-turn { position: relative; margin: 0; font-weight: 800; font-size: clamp(26px, 4.6vw, 40px); line-height: 1.5; letter-spacing: .01em; }
.q-turn .accent { color: var(--accent); }
.para--ondark { color: rgba(255, 255, 255, .78); }
.turn-mid { margin: 36px 0 0; font-weight: 700; font-size: clamp(18px, 3vw, 24px); line-height: 1.7; letter-spacing: .01em; }
.turn-punch { margin: 20px 0 0; font-weight: 800; font-size: clamp(20px, 3.4vw, 28px); line-height: 1.6; letter-spacing: .01em; color: var(--accent); }

/* Author */
.section--author .section__wrap { max-width: 960px; }
.author-h { position: relative; margin: 0; font-weight: 700; font-size: clamp(24px, 4.2vw, 34px); line-height: 1.45; letter-spacing: .01em; color: var(--ink); }
.author-cols { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.author-cols .para { margin: 0; flex: 1; min-width: 220px; font-weight: 500; color: var(--text-secondary); }
.author-note { margin: 32px 0 0; max-width: 640px; font-size: 15px; line-height: 1.95; letter-spacing: .03em; color: var(--text-secondary); }
.author-punch { margin: 20px 0 0; font-weight: 800; font-size: clamp(18px, 2.8vw, 22px); line-height: 1.6; letter-spacing: .01em; color: var(--accent); }
.author-card {
  margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; align-items: start; border-top: 1px solid var(--border); padding-top: 40px;
}
.author-photo-wrap { display: flex; justify-content: center; }
.author-photo-img { width: 180px; height: 220px; object-fit: cover; object-position: center top; display: block; border: 1px solid var(--ink); border-radius: var(--radius-sm); }
.author-name { font-weight: 700; font-size: 22px; color: var(--ink); }
.author-name__yomi { margin-left: 8px; font-weight: 400; font-size: 14px; color: var(--text-tertiary); }
.author-name__trigger {
  color: inherit; text-decoration: none; cursor: default;
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.author-role { margin-top: 8px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; letter-spacing: .02em; }
.author-role__link {
  color: var(--text-secondary); text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  transition: color .2s ease, border-color .2s ease;
}
.author-role__link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.author-bio { margin: 18px 0 0; max-width: 520px; font-size: 14px; line-height: 1.9; letter-spacing: .03em; color: var(--text-secondary); }
.author-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--font-latin); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}

/* 名前ホバーで追従する著者写真（ざらつき） */
.portrait-follow {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 220px; height: 280px; will-change: transform;
}
.portrait-follow__inner {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius-sm);
  opacity: 0; transform: scale(.9); transform-origin: center;
  box-shadow: 0 24px 60px rgba(0, 39, 77, .30);
  transition: opacity .3s ease, transform .45s var(--ease-hero);
  will-change: opacity, transform;
}
.portrait-follow.is-visible .portrait-follow__inner { opacity: 1; transform: scale(1); }
.portrait-follow__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: grayscale(.2) contrast(1.06); }
.portrait-follow__grain {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 120px 120px; animation: grainShift .5s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-4px, 3px); }
  66% { transform: translate(3px, -4px); }
  100% { transform: translate(0, 0); }
}

/* ホバー可能な端末：静止写真を隠し、名前をトリガー化 */
@media (hover: hover) and (pointer: fine) {
  .author-card { grid-template-columns: 1fr; }
  .author-photo-wrap { display: none; }
  .author-bio[data-portrait] { cursor: pointer; }
  .author-hoverzone:has(.author-bio:hover) .author-name__trigger { color: var(--accent); border-bottom-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-follow__grain { animation: none; }
}

/* Content */
.section--content .section__wrap { max-width: 1160px; }
.content-h { position: relative; margin: 0; font-weight: 700; font-size: clamp(24px, 4.2vw, 34px); line-height: 1.5; letter-spacing: .01em; color: var(--ink); }
.content-lede { margin: 24px 0 0; max-width: 640px; font-size: 15px; line-height: 1.95; letter-spacing: .03em; color: var(--text-secondary); }
.caps { margin-top: clamp(56px, 7vw, 80px); }
.caps__eyebrow { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.caps__eyebrow-text { font-family: var(--font-latin); font-weight: 500; font-size: 11px; letter-spacing: .1em; color: var(--text-tertiary); text-transform: uppercase; }
.caps__eyebrow-rule { flex: 1; height: 1px; background: var(--border); }
.caps__h { margin: 0; max-width: 720px; font-weight: 700; font-size: clamp(21px, 2.8vw, 28px); line-height: 1.55; letter-spacing: .01em; color: var(--ink); }
.caps__h .accent { color: var(--accent); }
/* 4つの力：横罫で刻むエディトリアルな索引リスト。番号はハンギング、
   名前はセリフの見出し格。第4の力（AI対話力）だけ番号をアクセント色にして、
   「上の3つをAIで形にする」統合の役割を印づける。 */
.caps__list {
  margin: clamp(32px, 4vw, 44px) 0 0; padding: 0; list-style: none;
  border-top: var(--bw-strong) solid var(--ink);
}
.cap {
  display: grid; grid-template-columns: auto 1fr;
  column-gap: clamp(18px, 4vw, 40px); align-items: baseline;
  padding: clamp(20px, 3vw, 28px) 0; border-bottom: 1px solid var(--border);
}
.cap__num {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 44px); line-height: .9; letter-spacing: .01em;
  color: var(--rule-soft); font-variant-numeric: tabular-nums;
}
.cap__body {
  display: grid; grid-template-columns: 8.5em 1fr;
  column-gap: clamp(20px, 4vw, 48px); row-gap: 6px; align-items: baseline;
}
.cap__name {
  margin: 0; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4;
  letter-spacing: .03em; color: var(--ink);
}
.cap__desc {
  margin: 0; font-size: 14px; line-height: 1.8; letter-spacing: .03em;
  color: var(--text-secondary);
}
.cap--key .cap__num { color: var(--accent); }
.cap--key .cap__tie { color: var(--accent-dark); font-weight: 700; }
/* 索引リストに触感：ホバーで淡いアクセント地＋左端の縦罫 */
@media (hover: hover) and (pointer: fine) {
  .cap { transition: background-color .25s ease, box-shadow .25s ease; }
  .cap:hover { background: var(--accent-light); box-shadow: inset 3px 0 0 var(--accent); }
  .cap:hover .cap__num { color: var(--accent); }
}
@media (max-width: 640px) {
  .cap__body { grid-template-columns: 1fr; }
}
.caps__note {
  margin-top: clamp(48px, 6vw, 68px); max-width: 640px;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(16px, 2vw, 18px);
  line-height: 1.9; letter-spacing: .02em; color: var(--ink);
}
.toc { margin-top: clamp(56px, 8vw, 88px); }
.toc__rows { margin-top: 28px; display: flex; flex-direction: column; }
.toc__row { display: flex; flex-wrap: wrap; gap: 24px; padding: 28px 0; border-top: 1px solid var(--border); }
.toc__row:last-child { border-bottom: 1px solid var(--border); }
.toc__badge { flex: none; }
.toc__body { flex: 1; min-width: 240px; }
.toc__theme {
  font-weight: 700; font-size: 12px; letter-spacing: .12em;
  color: var(--text-tertiary); margin-bottom: 6px;
}
.toc__title { font-weight: 700; font-size: 18px; color: var(--ink); }
.toc__desc { margin-top: 8px; font-size: 14px; line-height: 1.85; letter-spacing: .03em; color: var(--text-secondary); }
.toc__chapters {
  list-style: none; margin: 16px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--rule-faint);
  display: flex; flex-direction: column; gap: 10px;
}
.toc__chapters li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.toc__ch-no {
  flex: none; min-width: 1.8em; font-family: var(--font-latin);
  font-weight: 600; color: var(--accent); letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.toc__chapters--case .toc__ch-no { min-width: 5.4em; font-size: 12px; letter-spacing: .02em; align-self: center; }

/* 誌面サンプル */
.samples { margin-top: clamp(56px, 8vw, 88px); }
.samples__note {
  margin: 20px 0 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; letter-spacing: .03em; color: var(--text-secondary);
}
.samples__tag {
  font-family: var(--font-latin); font-weight: 700; font-size: 11px; letter-spacing: .12em;
  color: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius-pill); padding: 3px 10px;
}
.samples__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.sample {
  display: block; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in;
  font: inherit; color: inherit; -webkit-appearance: none; appearance: none;
}
.sample__frame {
  display: block; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--paper); box-shadow: 0 6px 20px rgba(0, 39, 77, .08);
  transition: transform .4s var(--ease-hero), box-shadow .4s var(--ease-hero), border-color .3s ease;
}
.sample__frame img { display: block; width: 100%; height: auto; }
.sample:hover .sample__frame,
.sample:focus-visible .sample__frame {
  transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 39, 77, .18); border-color: var(--accent);
}
.sample:focus { outline: none; }
.sample:focus-visible .sample__frame { outline: 2px solid var(--accent); outline-offset: 3px; }
.sample__cap { display: block; margin-top: 12px; font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--ink); }

/* 拡大ライトボックス */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px); background: rgba(0, 39, 77, .9);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1100px, 94vw); max-height: 88vh; width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  transform: scale(.96); transition: transform .35s var(--ease-hero);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 24px); right: clamp(12px, 3vw, 24px);
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

@media (max-width: 720px) {
  .samples__grid { grid-template-columns: 1fr; max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .sample__frame, .lightbox, .lightbox__img { transition: none; }
}

/* 書影の帯と同じ組み：紺のテキストに各行赤の下線、2行目を大きく */
.hero__tagline {
  margin: 0; align-self: start; justify-self: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  color: var(--ink);
}
.hero__tagline-sub,
.hero__tagline-main { display: inline-block; padding-bottom: 4px; border-bottom: 2px solid var(--accent); }
.hero__tagline-sub {
  font-weight: 700; font-size: clamp(13px, 1.9vw, 16px);
  letter-spacing: .06em; line-height: 1.4;
}
.hero__tagline-main {
  font-weight: 800; font-size: clamp(21px, 3.2vw, 30px);
  letter-spacing: .02em; line-height: 1.3;
}
.hero__tagline .spark { color: var(--accent); margin-left: 10px; }

.intro { margin-top: clamp(44px, 6vw, 68px); max-width: 760px; }
.intro__lead { margin-top: 20px; }
.intro__lead p {
  margin: 0 0 1em; font-size: clamp(15px, 2vw, 16px); line-height: 1.95;
  letter-spacing: .03em; color: var(--text-secondary);
}
.intro__lead p:last-child { margin-bottom: 0; }
.intro__points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.intro__points li {
  position: relative; padding-left: 26px; font-weight: 700;
  font-size: clamp(15px, 2vw, 17px); line-height: 1.6; color: var(--ink);
}
.intro__points li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg);
}

/* Reserve (accent) */
.section--reserve { background: var(--accent); color: var(--ink); }
.section--reserve .section__wrap { position: relative; max-width: 760px; text-align: center; padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 64px); }
/* インクのヘアライン枠でコンバージョン面を「額装」する */
.section--reserve .section__wrap::before {
  content: ""; position: absolute; inset: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(0, 39, 77, .38); pointer-events: none;
}
/* 隅のブラケット風マーク（PART見出しのモチーフと揃える） */
.section--reserve .section__wrap::after {
  content: ""; position: absolute; inset: clamp(18px, 3vw, 34px);
  pointer-events: none; opacity: .85;
  background:
    linear-gradient(var(--ink), var(--ink)) left 0 top 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left 0 top 0 / 2px 18px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 0 top 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 0 top 0 / 2px 18px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left 0 bottom 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left 0 bottom 0 / 2px 18px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 0 bottom 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 0 bottom 0 / 2px 18px no-repeat;
}
.section--reserve .section__wrap > * { position: relative; z-index: 1; }
.reserve__eyebrow { margin-top: 20px; font-family: var(--font-latin); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: rgba(0, 39, 77, .7); text-transform: uppercase; }
.reserve__eyebrow::before { content: "["; margin-right: 8px; color: rgba(0, 39, 77, .5); }
.reserve__eyebrow::after  { content: "]"; margin-left: 8px; color: rgba(0, 39, 77, .5); }
.reserve__date { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 12px; line-height: 1.1; }
.reserve__date-num { font-family: var(--font-latin); font-weight: 700; font-size: clamp(40px, 8vw, 72px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.reserve__date-suffix { font-weight: 700; font-size: clamp(18px, 3vw, 22px); letter-spacing: .01em; }
.reserve__lead { margin: 12px 0 0; font-weight: 700; font-size: clamp(18px, 3vw, 22px); letter-spacing: .01em; }
.reserve__cta { margin-top: 32px; display: flex; justify-content: center; }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__inner { max-width: 1160px; margin: 0 auto; padding: clamp(28px, 4vw, 40px) clamp(20px, 6vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand span { font-weight: 700; font-size: 13px; color: var(--paper); }
.footer__copy { margin-left: auto; font-family: var(--font-latin); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }

/* ------------------------------------------------------------
   Side rail (wide のみ)
   ------------------------------------------------------------ */
.rail {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 45;
  background: rgba(243, 245, 247, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border); padding: 14px 10px;
  display: none; opacity: 0; transition: opacity .3s ease;
}
.rail a {
  display: block; padding: 8px 0; text-align: center; font-family: var(--font-latin);
  font-weight: 700; font-size: 12px; letter-spacing: .04em; text-decoration: none; color: var(--text-tertiary);
  transition: color .2s ease, font-weight .2s ease;
}
.rail a.active { color: var(--accent); font-weight: 800; }

/* ------------------------------------------------------------
   Sticky CTA (mobile のみ)
   ------------------------------------------------------------ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(243, 245, 247, .97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid var(--border); padding: 10px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 -2px 8px rgba(0, 39, 77, .1);
  transform: translateY(110%); transition: transform .3s var(--ease-reveal);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta__text { flex: 1; min-width: 0; }
.sticky-cta__title { font-weight: 700; font-size: 13px; color: var(--ink); }
.sticky-cta__sub { font-size: 11px; color: var(--text-secondary); }
.sticky-cta__cta { flex: none; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (min-width: 860px) {
  .hero__body {
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(14px, 1.8vw, 28px);
    row-gap: clamp(28px, 3vw, 44px);
    align-items: start;
  }
  /* 背表紙より左の領域だけに3本のガイド線 */
  .hero__gridlines {
    display: grid; z-index: 0; pointer-events: none;
    grid-column: 1 / 8; grid-row: 1 / span 3;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__gridlines i { border-left: 1px solid var(--rule-faint); }

  .hero__headline  { grid-column: 1 / 8;  grid-row: 1;        position: relative; z-index: 1; }
  .hero__spine {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(14px, 2vw, 22px); align-self: stretch;
    grid-column: 8 / 9; grid-row: 1 / span 3;
    border-left: 1px solid var(--rule-ink); border-right: 1px solid var(--rule-ink);
    padding: clamp(20px, 4vw, 40px) 0;
    position: relative; z-index: 1;
  }
  .hero__cover-mod { grid-column: 9 / 13; grid-row: 1 / span 3; width: 100%; max-width: 300px; justify-self: end; position: relative; z-index: 1; }
  .hero__lede      { grid-column: 1 / 7;  grid-row: 2;        position: relative; z-index: 1; }
  .hero__tagline   { grid-column: 1 / 7;  grid-row: 3;        position: relative; z-index: 1; align-self: start; }
}

/* スマホ専用の改行（PC・タブレットでは無効） */
.sp-br { display: none; }

/* スマホ（下部固定CTAが出る幅）専用の調整 */
@media (max-width: 680px) {
  /* 下部固定CTAが出てきたら上部ヘッダーは通常スクロールで流す
     （上下でCTAが二重になる違和感を解消） */
  .nav { position: static; }
  .sp-br { display: inline; }
  /* eyebrowはヘッダーと重なって窮屈なので、スマホでは非表示にする */
  .hero__eyebrow { display: none; }
  /* 著者の肩書きはアジケ／メンバーズで改行し、区切りの「／」は隠す */
  .author-role__slash { display: none; }
}

/* ============================================================
   Motion — JS 有効時のみ初期状態を隠す（無効時は常に表示）
   ============================================================ */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-reveal), transform .8s var(--ease-reveal);
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

.js .line {
  display: inline-block; opacity: 0; filter: blur(10px);
  transition: opacity .7s var(--ease-reveal), filter .7s var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * 130ms);
  will-change: opacity, filter;
}
.js [data-reveal].revealed .line { opacity: 1; filter: blur(0); }

.js .hero-el {
  opacity: 0; filter: blur(14px); transform: translateY(24px) scale(1.05);
  transform-origin: left bottom;
  transition: opacity .9s var(--ease-hero), filter .9s var(--ease-hero), transform .9s var(--ease-hero);
  transition-delay: var(--d, 0ms);
  will-change: opacity, filter, transform;
}
.js .hero.loaded .hero-el { opacity: 1; filter: blur(0); transform: none; }
