/* =============================================================
   Design Philosophy v2 — overlay primitives (追加分)
   base.css の既存トークン・ユーティリティに被らない新 primitive
   ============================================================= */

/* プロトタイプナビ: 右上ハンバーガー → 右側ドロワー */
.proto-nav-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink-blue);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26,26,26,0.08);
  padding: 0;
}
.proto-nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--ink-blue);
}
.proto-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.35);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.proto-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--paper);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -4px 0 24px rgba(26,26,26,0.12);
  overflow-y: auto;
  font-family: var(--font-jp);
}
.proto-nav.open .proto-nav-drawer { transform: translateX(0); }
.proto-nav.open .proto-nav-overlay { opacity: 1; pointer-events: auto; }

.proto-nav-drawer .drawer-head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proto-nav-drawer .drawer-title {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.proto-nav-drawer .drawer-sub {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.proto-nav-drawer .drawer-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
}
.proto-nav-drawer .drawer-body {
  padding: 8px 0 40px;
}
.proto-nav-drawer details {
  border-bottom: 1px dotted var(--rule);
}
.proto-nav-drawer summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}
.proto-nav-drawer summary::-webkit-details-marker { display: none; }
.proto-nav-drawer summary .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--ink-blue);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}
.proto-nav-drawer summary .chapter-name {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
}
.proto-nav-drawer summary .count {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.proto-nav-drawer details[open] summary {
  background: var(--paper-2);
}
.proto-nav-drawer .entry-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 12px;
}
.proto-nav-drawer .entry-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 22px 6px 58px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.proto-nav-drawer .entry-item.is-active {
  background: var(--ink-blue-50);
  color: var(--ink-blue-700);
  font-weight: 700;
}
.proto-nav-drawer .entry-item.is-available:hover {
  background: var(--paper-2);
}
.proto-nav-drawer .entry-item.is-pending {
  color: var(--ink-3);
  cursor: default;
}
.proto-nav-drawer .entry-item .code {
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  min-width: 40px;
  flex-shrink: 0;
}
.proto-nav-drawer .entry-item.is-pending .code { color: var(--ink-4); }
.proto-nav-drawer .entry-item .pending-mark {
  margin-left: auto;
  font-size: 9px;
  font-family: var(--font-en);
  color: var(--ink-4);
  letter-spacing: 0.06em;
}


/* ページ寸法（見開き 2 ページを画面で見られるサイズ） */
.spread {
  display: flex;
  gap: 2px;
  background: #E5EAF0;
  padding: 0;
  margin: 0 auto;
  width: fit-content;
  box-shadow: var(--shadow-paper);
}
.vbcd.page {
  width: 750px;
  min-height: 1061px;  /* 750 × √2 ≈ 1060.66、ISO A/B系 準拠 */
  padding: 0;
  position: relative;
  box-shadow: none;
}
/* ノド（綴じ側）の非対称 margin */
.spread .vbcd.page:first-child .page-body { padding: 40px 58px 100px 44px; }
.spread .vbcd.page:last-child  .page-body { padding: 40px 44px 100px 58px; }
.spread .vbcd.page:first-child .page-chrome-top { padding: 20px 58px 12px 40px; }
.spread .vbcd.page:last-child  .page-chrome-top { padding: 20px 40px 12px 58px; }
.spread .vbcd.page:first-child .page-chrome-bottom { left: 44px; right: 58px; }
.spread .vbcd.page:last-child  .page-chrome-bottom { left: 58px; right: 44px; }

/* ページ上チロム: book icon + セクション名 + ページ番号 + hairline */
.page-chrome-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 12px;
  border-bottom: 1px solid var(--rule);
}
.page-chrome-top .chrome-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-blue);
}
.page-chrome-top .chrome-left svg { width: 22px; height: 22px; }
.page-chrome-top .chrome-label {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.page-chrome-top .chrome-page {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* 参考 URL セクション（右ページ下段、フロー図とフッターの間） */
.references-row {
  margin-top: 20px;
  padding: 10px 12px;
  background: var(--paper-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.references-row .ref-icon {
  width: 14px;
  height: 14px;
  color: var(--ink-blue);
  flex-shrink: 0;
}
.references-row .ref-label {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-blue-700);
  letter-spacing: 0.06em;
}
.references-row .ref-url {
  font-family: var(--font-en);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  border-bottom: 1px dotted var(--ink-3);
}
.references-row .ref-sep {
  color: var(--ink-4);
  margin: 0 2px;
}
.references-row .ref-date {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--ink-3);
  margin-left: auto;
  letter-spacing: 0.04em;
}

/* ページ下チロム: 左（章情報） / 右（book icon + 本タイトル） の両端寄せ */
.page-chrome-bottom {
  position: absolute;
  bottom: 18px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  color: var(--ink-blue);
}
.page-chrome-bottom .chrome-left-foot {
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.page-chrome-bottom .chrome-left-foot .sep {
  margin: 0 6px;
  color: var(--ink-4);
}
.page-chrome-bottom .chrome-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.page-chrome-bottom .chrome-inline svg { width: 13px; height: 13px; }
.page-chrome-bottom .entry-code {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  font-weight: 700;
}
.page-chrome-bottom .entry-code .sep {
  margin: 0 4px;
  color: var(--ink-4);
}
.page-chrome-bottom .book-title {
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--ink-blue);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.page-chrome-bottom .chrome-right-foot {
  font-family: var(--font-jp);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  font-style: italic;
  font-weight: 400;
}
.page-chrome-bottom .slot-placeholder {
  opacity: 0.7;
}

/* 本文ボディ領域 */
.page-body {
  padding: 40px 44px 100px;
}

/* 主タイトル（TypeScript 等） */
/* specificity: base.css の .vbcd h1 (0,1,1) に勝つため h1.title-hero (0,2,1) にする */
.vbcd h1.title-hero {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 96px;
  color: var(--ink-blue-900);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 22px;
}
.vbcd h1.title-hero--right { font-size: 50px; letter-spacing: -0.01em; line-height: 1.1; }

/* タイトル直下の読み・日本語展開スロット（任意、2026-04-28 追加） */
/* YAML title_reading が空のときは空文字 → 視覚上は非表示（margin-bottom も打ち消す） */
.vbcd .title-reading {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin: -16px 0 18px;  /* タイトル直下に詰める */
}
.vbcd .title-reading:empty { display: none; }

/* タグライン帯 — 淡青塗り幅広ピル */
.tagline-bar {
  display: inline-block;
  padding: 16px 24px;
  background: var(--ink-blue-100);
  color: var(--ink);
  border-radius: var(--radius-lg);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

/* タグ行（体験区分・推奨読者レベル） */
.tag-row {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
}
.tag-chip svg { width: 22px; height: 22px; color: var(--ink-blue); flex-shrink: 0; }

/* 本文セクション — 左に丸アイコン、右に見出し＋本文 */
.body-section {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dotted var(--rule-strong);
  align-items: flex-start;
}
.body-section:last-child { border-bottom: none; }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink-blue);
  border-radius: 50%;
  color: var(--ink-blue);
  flex-shrink: 0;
  background: var(--paper);
}
.icon-circle svg { width: 22px; height: 22px; }
.body-section .body-content { flex: 1; }
.body-section .body-heading {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-blue-700);
  margin: 0 0 7px;
  letter-spacing: 0.02em;
}
.body-section .body-text {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

/* セクション見出し — 左青バー＋ラベル（画像の背骨） */
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 44px 0 14px;
}
.section-heading::before {
  content: "";
  width: 5px;
  height: 22px;
  background: var(--ink-blue);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-heading .label {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Before/After — 親カード＋内部子カード 2 層のネスト */
.figure-ba {
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--paper);
}
.figure-ba .ba-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-blue-700);
  margin: 0 0 12px;
}
.figure-ba .ba-cols {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.figure-ba .ba-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.figure-ba .ba-box {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--paper-3);
  flex: 1;
}
.figure-ba .ba-box .ba-label {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-blue-700);
  margin: 0 0 6px;
}
.figure-ba .ba-box pre {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
  background: none;
  white-space: pre;
}
.figure-ba .ba-box pre .kw { color: var(--ink-blue-700); font-weight: 700; }
.figure-ba .ba-box pre .str { color: #C0392B; }
.figure-ba .ba-box pre .cm { color: #C0392B; }
.figure-ba .ba-arrow {
  display: flex;
  align-items: center;
  color: var(--ink-blue);
  font-size: 24px;
  align-self: center;
}
.figure-ba .ba-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 8px;
  padding-left: 2px;
}
.figure-ba .ba-caption svg { width: 14px; height: 14px; flex-shrink: 0; }
.figure-ba .ba-caption.ok { color: var(--ink-blue-700); }
.figure-ba .ba-caption.warn { color: #B24E3F; }

/* 擬人化ポンチ絵スロット（左ページ／後日差し込み枠）
 *
 * 2026-04-28: iter 22 の「メインビジュアル化」（min-height 340 / アイコン 200 等）を取り下げ、
 * 旧サイズ（min-height 150 / アイコン 96）に戻す。理由: ポンチ絵拡大により左ページの
 * 実描画高さが 1061 → 1424 px に膨らみ、書籍判型 A 系 √2（1:1.41）に収まらなくなったため。
 * 詳細は v2_rules_summary §5 リネーム履歴の 2026-04-28 行を参照。 */
.ponchi-slot {
  margin-top: 20px;
  border: 1.5px dashed var(--ink-blue);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 150px;
}
.ponchi-slot .ponchi-icon {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px dashed var(--ink-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-blue);
}
.ponchi-slot .ponchi-icon svg { width: 48px; height: 48px; }
.ponchi-slot .ponchi-caption {
  flex: 1;
}
.ponchi-slot .ponchi-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-blue-700);
  margin: 0 0 5px;
}
.ponchi-slot .ponchi-hint {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}
.ponchi-slot .ponchi-todo {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border: 1px dashed var(--ink-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* 関連用語ピル */
.related-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.related-pill {
  padding: 8px 16px;
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius);
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
}

/* ──────────────────────────────────────────
 * figure_type 別 primitive（iter 22 / 2026-04-25 で 5 種類に拡張）
 *   - .figure-ba          before_after
 *   - .figure-structure   structure
 *   - .figure-comparison  comparison
 *   - .figure-workflow    workflow
 *   - .figure-timeline    timeline
 * 共通コンテナクラスは `.figure`。具体のスタイルは各 `.figure--{type}`。
 * overlay.css ではスケッチ段階。実装担当（Astro 移行時）が仕上げる。
 * ──────────────────────────────────────────*/

.figure {
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  background: var(--paper);
  margin-top: 6px;
}

/* figure: structure ── 中心ハブ + 周辺ノード（1〜4 個 + 下支え） */
.figure-structure .st-hub {
  text-align: center;
  margin-bottom: 14px;
}
.figure-structure .st-hub-label {
  display: inline-block;
  padding: 6px 18px;
  background: var(--ink-blue-100);
  color: var(--ink-blue-900);
  font-weight: 900;
  font-size: 18px;
  border-radius: 999px;
}
.figure-structure .st-cols {
  display: grid;
  grid-template-columns: repeat(var(--st-cols-count, 3), 1fr);
  gap: 10px;
}
.figure-structure .st-card {
  border: 1px solid var(--ink-blue);
  border-radius: 8px;
  background: var(--paper-2);
  padding: 10px 10px 12px;
  text-align: center;
}
.figure-structure .st-card-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-blue-700);
  margin: 0 0 4px;
}
.figure-structure .st-card-body {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.figure-structure .st-base {
  margin-top: 10px;
  text-align: center;
  padding: 6px 12px;
  background: var(--paper-2);
  border: 1px dashed var(--ink-blue);
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-blue-700);
  font-weight: 700;
}

/* figure: comparison ── 2〜4 列の縦比較（価格・プランなど） */
.figure-comparison .cp-cols {
  display: grid;
  grid-template-columns: repeat(var(--cp-cols-count, 3), 1fr);
  gap: 10px;
}
.figure-comparison .cp-col {
  border: 1px solid var(--ink-blue);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px 10px;
}
.figure-comparison .cp-col--highlight {
  background: var(--ink-blue-100);
  border-color: var(--ink-blue);
  border-width: 1.5px;
}
.figure-comparison .cp-head {
  font-weight: 900;
  font-size: 14px;
  color: var(--ink-blue-900);
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink-blue-100);
}
.figure-comparison .cp-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--ink);
}

/* figure: workflow ── ステップボックス + 矢印（横スクロール系） */
.figure-workflow .wf-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.figure-workflow .wf-step {
  flex: 1 1 0;
  min-width: 84px;
  border: 1px solid var(--ink-blue);
  border-radius: 8px;
  background: var(--paper-2);
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink);
}
.figure-workflow .wf-step-title {
  font-weight: 700;
  color: var(--ink-blue-700);
  font-size: 12.5px;
  margin-bottom: 2px;
}
.figure-workflow .wf-arrow {
  color: var(--ink-blue);
  font-size: 14px;
  flex-shrink: 0;
}

/* figure: timeline ── 横軸 + マイルストーン点列 */
.figure-timeline {
  padding: 22px 16px 18px;
}
.figure-timeline .tl-axis {
  position: relative;
  height: 2px;
  background: var(--ink-blue);
  margin: 14px 12px 26px;
}
.figure-timeline .tl-events {
  display: flex;
  justify-content: space-between;
  margin: 0 12px;
}
.figure-timeline .tl-event {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  padding-top: 20px;
}
.figure-timeline .tl-event::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-blue);
}
.figure-timeline .tl-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-blue-700);
  margin-bottom: 2px;
}
.figure-timeline .tl-label {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.45;
}

/* 開発フロー 5 ステップ圧縮対策 ── iter 22 検証で B-3 が 5 ステップになり
 * 4 ステップ前提の既存 `.flow-step` 幅では窮屈だったため、
 * flex-basis:0 で均等分配し、矢印を flex-shrink させる。 */
.flow-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.flow-row .flow-step {
  flex: 1 1 0;
  min-width: 0;
}
.flow-row .flow-arrow {
  flex-shrink: 0;
}
/* 5 ステップ時のラベル縮小（推奨 4・許容 5） */
.flow-row:has(.flow-step:nth-child(9)) .flow-label,
.flow-row:has(.flow-step:nth-child(8)) .flow-label {
  /* nth-child(9) = step 5（step 間に arrow が入るので step 5 は 9 番目） */
  font-size: 13px;
  line-height: 1.3;
}

/* 右ページ サブタイトル */
.page-subtitle {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: -8px 0 24px;
  font-weight: 500;
}

/* 6 視点グリッド */
.seepoint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.seepoint-cell {
  position: relative;
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius);
  padding: 54px 14px 18px;
  background: var(--paper);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.seepoint-cell .badge-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink-blue);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0;
}
.seepoint-cell .seepoint-icon {
  width: 52px;
  height: 52px;
  color: var(--ink-blue);
  margin: 0 0 10px;
}
.seepoint-cell .seepoint-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 20px;
  color: var(--ink);
  margin: 6px 0 10px;
  letter-spacing: 0.02em;
}
.seepoint-cell .seepoint-body {
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

/* 2-col 下段（つまずき 4 : コメント 6） */
.bottom-row {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 24px;
  margin-top: 24px;
}
.bottom-row .list-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bottom-row .list-block li {
  position: relative;
  padding-left: 18px;
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 9px;
}
.bottom-row .list-block li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-blue);
}
.bottom-row .comment-block ul { list-style: none; padding: 0; margin: 0; }
.bottom-row .comment-block li {
  display: flex;
  gap: 10px;
  font-family: var(--font-jp);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 11px;
  align-items: flex-start;
}
.bottom-row .comment-block .ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--ink-blue);
  flex-shrink: 0;
  margin-top: 1px;
}
.bottom-row .comment-block .ci svg { width: 18px; height: 18px; }
.bottom-row .comment-block .cl {
  font-weight: 700;
  color: var(--ink-blue-700);
  margin-right: 4px;
}

/* フロー図（右ページ下段） */
.flow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1.5px solid var(--ink-blue);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  min-height: 110px;
  justify-content: center;
}
.flow-step svg { width: 28px; height: 28px; color: var(--ink-blue); }
.flow-step .flow-label {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.flow-arrow {
  color: var(--ink-blue);
  font-size: 20px;
  flex-shrink: 0;
}

/* Print check: one physical book page per PDF page.
   The screen preview keeps the two-page spread; headless Chrome PDF uses this
   block so each .vbcd.page is emitted at the book trim size. */
@media print {
  @page {
    size: 199mm 281mm;
    margin: 0;
  }

  html,
  body {
    width: 199mm;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .proto-nav,
  .preview-meta,
  .preview-nav {
    display: none !important;
  }

  .spread {
    display: block;
    width: 199mm;
    margin: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .vbcd.page {
    width: 199mm;
    min-height: 281mm;
    overflow: visible;
    break-after: page;
    page-break-after: always;
  }

  .vbcd.page:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
