/* きよえさん 特別動画のガイドブック — 土台は ../massage/style.css・../foodmap/style.css（使わない部品は外した）。値は DESIGN.md から */
:root {
  --bg: #FBF7F3;
  --paper: #FFFFFF;
  --blush: #F7E6E9;
  --leaf: #E6EFE8;
  --text: #18273A;
  --muted: #5B6476;
  --line: #E8DFD7;
  --em: #C8136F;
  --ok: #3F7457;
  --ng: #5B6476;
  --ng-bg: #F1F1F2;
  --accent: #06C755;

  --f: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-en: "Poppins", "Zen Maru Gothic", sans-serif; /* 数字・英字（LP・サロンのホームページと同じ） */
  --fs1: 48px; --fs2: 26px; --fs3: 19px; --fs4: 16px; --fs5: 13px;
  --gap-in: 12px; --gap-between: 32px; --gap-section: 80px; --gutter: 20px;
  --r-s: 12px; --r-m: 20px;
  --koma: 2.5px solid var(--text); /* 漫画の線（コマ枠・枠のないコマの地面） */

  --ease: cubic-bezier(.39, .575, .565, 1); --dur-in: .7s; --dur-tap: .2s; --rise: 8px;
}
@media (min-width: 900px) {
  :root { --fs1: 72px; --fs2: 32px; --fs3: 21px; --fs4: 17px; --fs5: 13.5px;
          --gap-in: 14px; --gap-between: 40px; --gap-section: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* 探す本なので、目次からはすぐ飛ぶ（なめらかに動かさない） */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-weight: 500;
  font-size: var(--fs4);
  line-height: 1.9;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ol, ul, li, figure, dl, dt, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.nb { display: inline-block; }
p { text-wrap: pretty; }

/* 文字組（DESIGN.md 4節。印は jp-typeset.js が付ける） */
.jt-pt { font-size: .78em; }                      /* 助詞は小さく（見出し・キャッチだけ） */
.jt-br { font-weight: 300; }                      /* かっこは細く */
.jt-u { font-size: .62em; }                       /* 数字の後ろの単位は小さく */
.jt-en { font-family: var(--f-en); font-size: 1.03em; line-height: 1; } /* 数字・英字は欧文で、少し大きく */
.jt-mid { position: relative; top: -.08em; }      /* 数字にはさまれたコロン・ハイフンを上げる */
.jt-cho { display: inline-block; transform: scaleX(.85); margin: 0 -.075em; } /* 音引きは 85% */
.jt-ka { letter-spacing: -.05em; }                /* 本文のカタカナの続きを少し詰める（丸ゴシックはカナの字面が小さく開いて見える） */
.toc__title .jt-br { font-weight: 500; }         /* 目次の大きさでは 300 のかっこが点に見えた */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 本の1列 */
.book { max-width: 600px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-top: var(--gap-section); }
.ch, .matome { padding-top: calc(var(--gap-section) * 1.5); } /* 章の境目は、章の中の組の間よりはっきり広く */
.h2 { font-size: var(--fs2); font-weight: 700; line-height: 1.45; margin-bottom: var(--gap-between); }
.h3 { font-size: var(--fs3); font-weight: 700; line-height: 1.5; margin: calc(var(--gap-between) * 1.5) 0 var(--gap-in); }
.body p + p { margin-top: 1.2em; }
.note { margin-top: var(--gap-in); font-size: var(--fs5); color: var(--muted); }
.after { margin-top: var(--gap-in); }
.lead { margin: var(--gap-between) 0 var(--gap-in); font-weight: 700; }
.aside { margin-top: var(--gap-between); }
.after b { font-weight: 700; }

/* ===== 表紙（本の表紙: 言葉 → 題 → 著者 → 料理の写真。写真は角なし・影なし・スマホは端まで） ===== */
.cover { padding: 72px 0 8px; }
.cover__head, .cover__foot { padding: 0 12px; }  /* 表紙だけ左右を 32px に（2026-11-19「FVが余白なくてやだ、左によりすぎ」） */
.cover__h1 { display: block; font-weight: 900; }
.cover__catch { display: block; font-size: var(--fs1); line-height: 1.22; }
.cover__catch .nb { display: block; white-space: nowrap; }
/* 表紙の言葉: 名詞と動詞を大きく、つなぎの「は、」「から」を半分に（2026-11-19 依頼者「頭皮（大きく）は、（小さく）背中（大きく）から（小さく）ほぐす（大きく）」）。
   2行目「背中からほぐす」は 大5字＋小2字＝6字分。390px で使える幅 326px ÷ 6 ≒ 54px */
.cover__catch { font-size: 44px; line-height: 1.45; font-weight: 700; letter-spacing: .03em; }
.cover__catch .nb { margin-right: -.03em; }  /* 字間は行末にも付くので打ち消す */
.cover__catch .cv-s { font-size: .5em; letter-spacing: .02em; margin: 0 .08em 0 .04em; }  /* 小さい字の前後に少しだけ息つぎ */
.cover__catch .cv-kana { letter-spacing: -.03em; }
.cover__catch .cv-ho { margin-right: -.1em; }  /* 「ほ」は右の白が大きく、「ぐ」は字面が細い */  /* 丸ゴシックのかなは字面が小さく、漢字と同じ字間だとばらける */
.cover__title { font-weight: 700; }
/* 2026-11-19「FVのカーニングきつくないか？圧迫感がある」→ 実在LP 41本の FV を見比べた。やわらかく見せる美容・ジム・クリニックの FV は
   700前後・画面幅の7〜8割・行間1.4前後・字間少し空け。900・幅いっぱい・詰めはチラシ型の組み方。太さ 900→700、52→44px、行間 1.3→1.45、字間 +.04em、字詰めの道具は外す */
.cover__title { display: block; margin-top: var(--gap-in); font-size: var(--fs2); line-height: 1.4; }
.cover__by { display: flex; flex-direction: column; margin-top: var(--gap-in); line-height: 1.5; }
.cover__role { font-size: var(--fs5); font-weight: 700; color: var(--muted); }
.cover__name { font-size: var(--fs4); font-weight: 700; }
.cover__visual { position: relative; margin: var(--gap-between) calc(var(--gutter) * -1) 0; overflow: hidden; }
.cover__food { width: 100%; }
.cover__yb { position: absolute; left: 24px; right: 24px; bottom: 0; display: flex; align-items: flex-end; gap: 4px; }
.cover__ybimg { width: 118px; }
.mb--cover { width: 184px; margin-bottom: 40px; padding: 30px 30px 30px 34px; align-self: auto; }
.mb--cover .mb__text { margin: 0; font-size: var(--fs4); line-height: 1.45; }
.cover__foot { margin-top: var(--gap-between); }
.btn-read {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; border-radius: var(--r-s);
  border: 1.5px solid var(--text); color: var(--text); background: var(--paper);
  font-weight: 700; font-size: var(--fs4); text-decoration: none;
  transition: transform var(--dur-tap) var(--ease);
}
.btn-read:active, .cta:active, .pick__opt:active { transform: translateY(1px); }
.pdf { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: var(--fs5); font-weight: 700; color: var(--muted); }

/* ===== はじめに・目次 ===== */
.intro__sign { width: 150px; margin-top: var(--gap-between); }
.toc__list { display: flex; flex-direction: column; }
.toc__link { display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 10px 0; min-height: 48px; color: var(--text); text-decoration: none; font-weight: 700; }
.toc__no { font-family: var(--f-en); font-size: var(--fs3); font-weight: 700; }
.toc__title { line-height: 1.5; }

/* ===== 章の扉（番号は小さく、題で立てる） ===== */
.door__title { font-size: var(--fs2); font-weight: 700; line-height: 1.4; }
.door__n { font-family: var(--f-en); font-weight: 800; margin-right: .5em; }

/* ===== 漫画（Signature）: コマの大きさと置き方を章ごとに変える ===== */
.koma { position: relative; display: grid; align-items: end; margin-top: var(--gap-between); border: var(--koma); overflow: hidden; }
.koma--ng { background-color: var(--ng-bg); background-image: radial-gradient(rgba(24, 39, 58, .14) 1.1px, transparent 1.5px); background-size: 7px 7px; }
.koma--ok { background: var(--paper); }
.koma__who, .say__who { object-fit: contain; object-position: center bottom; }
.koma--ng .mb { margin-left: -12px; z-index: 1; }
.koma--ok .mb { margin-right: -12px; z-index: 1; }
/* 大: 1章（ヤバ子がいちばん大きい） */
.koma--xl { grid-template-columns: minmax(0, 1fr); min-height: 340px; padding: 10px 8px 0; }
.koma--xl > * { grid-area: 1 / 1; }
.koma--xl .koma__who { justify-self: start; align-self: end; width: 62%; height: 250px; }
.koma--xl .mb { justify-self: end; align-self: start; width: 80%; margin: 0; padding: 36px 34px 38px 42px; }
/* 中 */
.koma--m { grid-template-columns: 112px minmax(0, 1fr); min-height: 176px; padding: 14px 8px 0; }
.koma--ok.koma--m, .koma--ng.koma--flip { grid-template-columns: minmax(0, 1fr) 112px; }
.koma--ng.koma--flip .mb { margin: 0 -12px 14px 0; }
.koma--m .koma__who { width: 112px; height: 150px; }
/* 小: 2章（幅も狭くして、余白に置く） */
.koma--s { width: 88%; grid-template-columns: 92px minmax(0, 1fr); min-height: 140px; padding: 12px 6px 0; }
.koma--s .koma__who { width: 92px; height: 124px; }
@media (max-width: 400px) { .koma--s { width: 100%; } }
/* 2コマを1枚の枠に（3章: だめな例と正しい例） */
.pair { margin-top: var(--gap-between); border: var(--koma); }
.pair__cell { margin: 0; border: 0; }
.pair__cell + .pair__cell { border-top: var(--koma); }
/* 枠のないコマ（きよえの答え）。下の線に立つ */
.say { display: grid; align-items: end; margin-top: var(--gap-between); border-bottom: var(--koma); }
.say--right { grid-template-columns: minmax(0, 1fr) 104px; }
.say--right .mb { margin-right: -16px; z-index: 1; }
.say--m .say__who { width: 104px; height: 160px; }
.say--left { grid-template-columns: 104px minmax(0, 1fr); }
.say--left .mb { margin-left: -16px; z-index: 1; }

/* 漫画の吹き出し（フキダシデザイン）。形は SVG、字は上に重ねる */
.mb { position: relative; align-self: center; margin-bottom: 14px; --mb-face: #fff; --mb-line: var(--text); }
.mb__bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mb__in { position: relative; }
.mb--spiky { padding: 42px 42px 42px 48px; }
.mb--cloud { padding: 40px 36px 44px; }
.mb--round { padding: 34px 32px 54px 40px; }
.koma--ok .mb--round .mb__bg, .say--right .mb--round .mb__bg, .stand .mb--round .mb__bg { transform: scaleX(-1); } /* しっぽをきよえの方へ（4章の表の上のきよえも。2026-11-18 依頼者「吹き出しがおかしくない？」） */
/* 吹き出しの中は、まとまり1つを1行に決めて、行を真ん中にそろえる
   （2026-11-18 依頼者「吹き出しの中の文章、バランス悪すぎ」: 左にそろえていて右が空き、iPhone ではまとまりが勝手に1行につながっていた） */
.mb .nb { display: block; white-space: nowrap; }
.mb__text { font-size: var(--fs4); font-weight: 700; line-height: 1.5; text-align: center; }
/* 吹き出しの中の大きな数字（漫画の大きな台詞） */
.mb__big { display: flex; justify-content: center; align-items: baseline; flex-wrap: nowrap; gap: 2px; margin: 2px 0 4px; font-size: var(--fs3); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.mb__big b { font-family: var(--f-en); font-size: var(--fs1); font-weight: 800; color: var(--em); line-height: 1; }
.mb__big i { position: relative; top: -.08em; margin: 0 2px; font-style: normal; font-family: var(--f-en); font-size: var(--fs2); font-weight: 800; color: var(--muted); }
.mb__big small { font-size: var(--fs3); font-weight: 700; }
.mb__em { display: block; margin-top: 6px; font-size: var(--fs3); font-weight: 900; line-height: 1.4; }

/* 読んだ分だけ伸びる線（画面の上） */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--em); transform-origin: left center; transform: scaleX(0); }

/* ===== 食べものの一覧（全部の章で同じ形） ===== */
.fl { display: flex; flex-direction: column; gap: calc(var(--gap-in) * 1.75); }
.fl dt { font-size: var(--fs4); font-weight: 700; line-height: 1.5; }
.fl dd { margin-top: 2px; line-height: 1.75; }
/* ===== 章の終わり: 今日からこれ1つ（箱にしない） ===== */
.end { margin-top: calc(var(--gap-between) * 2); }
.end__lead { font-size: var(--fs4); font-weight: 700; line-height: 1.4; }
.end__text { margin-top: 4px; font-size: var(--fs2); font-weight: 700; line-height: 1.45; }

/* ===== まとめ: チェックはここだけ ===== */
.chks { display: flex; flex-direction: column; gap: 12px; margin-top: var(--gap-between); padding: 18px; border-radius: var(--r-m); background: var(--blush); }
.chk { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk__box { position: relative; display: block; width: 32px; height: 32px; border-radius: 10px; background: var(--paper); border: 2px solid var(--text); }
.chk input:checked + .chk__box { background: var(--em); border-color: var(--em); }
.chk input:checked + .chk__box::after { content: ""; position: absolute; left: 9px; top: 3px; width: 8px; height: 15px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); }
.chk input:focus-visible + .chk__box { outline: 3px solid var(--text); outline-offset: 2px; }
.chk__text { font-size: var(--fs3); font-weight: 700; line-height: 1.45; }

/* 決めぜりふと出口は1つの組 */
.finale { margin-top: var(--gap-section); }
/* ヤバ子の吹き出しは頭の横（しっぽは顔へ）、決めぜりふは地面の線の上。間は空けたまま
   （2026-11-18 依頼者「ここもバランスおかしい」「なんだよこの吹き出し」: 吹き出しが決めぜりふの横に浮き、しっぽが足もとを指していた） */
.finale__row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: stretch; border-bottom: var(--koma); }
.finale__ybimg { width: 104px; align-self: end; }
.finale__say { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: var(--gap-in); }
.mb--finale { align-self: flex-start; margin: 0 0 0 -16px; padding: 20px 22px 34px 26px; }
.mb--finale .mb__text { font-weight: 900; white-space: nowrap; }
.finale__word { font-size: var(--fs2); font-weight: 900; line-height: 1.4; }
.finale__text { margin-top: var(--gap-in); line-height: 1.75; }
.finale__sign { width: 180px; margin-top: var(--gap-in); }
@media (max-width: 380px) { .finale__word { font-size: 23px; } } /* 「！」だけ落ちた（WebKit・360px） */
.exit { margin-top: var(--gap-between); }
.exit__text { margin-bottom: var(--gap-in); font-weight: 700; }
.exit__note { margin-top: 10px; font-size: var(--fs5); color: var(--muted); }
.cta:focus-visible, .btn-read:focus-visible, .toc__link:focus-visible, .toc-fab:focus-visible, .pdf:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* 奥付（本の最後） */
.colophon { margin-top: var(--gap-section); padding-bottom: 120px; font-size: var(--fs5); color: var(--muted); line-height: 1.8; }
.colophon p + p { margin-top: 6px; }
.colophon__title { font-weight: 700; color: var(--text); font-size: var(--fs4); }
.colophon__note { margin-top: var(--gap-in) !important; }

/* 目次へ戻る（小さく、影なし、内容を隠さない） */
.toc-fab {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-s);
  background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--text); font-size: var(--fs5); font-weight: 700; text-decoration: none;
  transition: opacity var(--dur-in) var(--ease), transform var(--dur-in) var(--ease);
}
.toc-fab.is-hide { opacity: 0; transform: translateY(var(--rise)); pointer-events: none; }

/* 動き（写真・ステッカー・章の題だけ、1回だけ） */
.rv { transition: opacity var(--dur-in) var(--ease), transform var(--dur-in) var(--ease); }
.rv.is-wait { opacity: 0; transform: translateY(var(--rise)); }
@media (prefers-reduced-motion: reduce) { .rv, .rv.is-wait { opacity: 1; transform: none; transition: none; } }

@media (min-width: 900px) {
  .cover {
    width: min(900px, calc(100vw - 80px)); margin-left: 50%; transform: translateX(-50%);
    padding-top: 96px;
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 64px;
    grid-template-areas: "head visual" "foot visual";
  }
  .cover__head { grid-area: head; align-self: end; }
  .cover__catch { font-size: 56px; }  /* 列の幅 418px の8割ほど */
  .cover__visual { grid-area: visual; margin: 0; align-self: center; }
  .cover__head, .cover__foot { padding: 0; }
  .cover__food { height: auto; }
  .cover__foot { grid-area: foot; align-self: start; }
  .cover__ybimg { width: 150px; }
  .mb--cover { width: 210px; padding: 34px 40px 34px 46px; }
  .koma .mb, .say .mb { width: 100%; max-width: 380px; justify-self: center; }
  .koma--xl { grid-template-columns: 260px minmax(0, 1fr); min-height: 340px; padding: 20px 16px 0; }
  .koma--xl > .koma__who { grid-area: 1 / 1; width: 260px; height: 330px; }
  .koma--xl > .mb { grid-area: 1 / 2; justify-self: center; align-self: center; width: 100%; margin: 0 0 14px -12px; padding: 44px 44px 44px 52px; }
  .koma--m { grid-template-columns: 176px minmax(0, 1fr); min-height: 220px; padding: 18px 16px 0; }
  .koma--ok.koma--m, .koma--ng.koma--flip { grid-template-columns: minmax(0, 1fr) 176px; }
  .koma--flip { min-height: 200px; }
  .koma--flip .koma__who { height: 200px; }
  .koma--m .koma__who { width: 176px; height: 220px; }
  .koma--s { width: 78%; grid-template-columns: 140px minmax(0, 1fr); min-height: 180px; }
  .koma--s .koma__who { width: 140px; height: 176px; }
  .say--right { grid-template-columns: minmax(0, 1fr) 180px; }
  .say--left { grid-template-columns: 180px minmax(0, 1fr); }
  .say--m .say__who { width: 180px; height: 240px; }
  .stand { grid-template-columns: minmax(0, 1fr) 200px; }
  .stand__who { width: 200px; height: 260px; }
  .mb--stand { max-width: 280px; padding: 30px 34px 48px 40px; }
  .five { grid-template-columns: minmax(0, 1fr) 240px; }
  .five__who { height: 320px; }
  .finale__row { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
  .finale__ybimg { width: 140px; }
  .finale__say .finale__word { margin-top: var(--gap-between); }
  .mb--spiky { padding: 46px 56px 46px 64px; }
  .mb--cloud { padding: 44px 48px 48px; }
  .mb--round { padding: 48px 52px 66px 68px; }
  .mb--finale { padding: 22px 24px 36px 28px; }
  .pick__opts { gap: 16px; }
  .chart { margin: var(--gap-between) 0 0; }
  .chart__cap { padding: 0; }
  .fl__row--pic { grid-template-columns: 112px minmax(0, 1fr); }
  .fl__picimg { width: 56px; height: 56px; }
  .fl__pic--1 .fl__picimg { width: 88px; height: 88px; }
  .swap__ic { width: 44px; height: 44px; }
}

/* PDF（print.html を Chrome で印刷） */
@media print {
  @page { size: A5; margin: 10mm; }
  body { background: #fff; }
  * { box-shadow: none !important; }
  .toc-fab, .btn-read, .pdf, .progress { display: none; }
  .rv.is-wait { opacity: 1; transform: none; }
  .reveal { display: block !important; }
  .quiz__hint { display: none !important; }
  .cover__visual { margin-left: 0; margin-right: 0; }
  .ch, .matome, .toc { break-before: page; }
  .koma, .say, .pair, .pick, .fl__row, .swap, .gi, .finale, .exit, .end, .chks, .stand, .five, .chart { break-inside: avoid; }
  .cover__visual, .chart { margin-left: 0; margin-right: 0; }
  .colophon { padding-bottom: 0; }
}

/* v14.16 依頼者「ラインのボタンは、LINEを想像する緑のボタンがいいみたい、あのむらPとかのやつ」:
   むらPの前のLP（clients/murap/murap-lp/LP の 02_buttom.png）の作り。きよえさんLP（../lp）と同じ型。
   黄色の札／黄色の1行目＋月桂樹（koboyo「A laurel sprig」）／白い大きな2行目／下の濃い緑の厚み／脈動 0.96⇔1・1.4秒／光 5.5秒。字はこの本の丸ゴシック */
.btn {
  --btn-dk: #197C38;      /* 下の厚み（むらPのボタン画像を実測） */
  --btn-tab: #FDDF47;     /* 札 */
  --btn-tab-text: #0F6B2E;
  --btn-yellow: #F8F15E;  /* 1行目と月桂樹 */
  position: relative; display: block; width: 100%; max-width: 520px; margin: 14px auto 0;
  text-decoration: none; color: #fff; text-align: center;
  font-family: var(--f); font-weight: 900;
  animation: btnPulse 1.4s ease-in-out infinite; transform-origin: center;
  -webkit-tap-highlight-color: transparent;
}
@keyframes btnPulse { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1); } }
.btn__face {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; row-gap: 2px;
  padding: 18px 14px 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 6px 0 var(--btn-dk);
  transition: transform var(--dur-tap) var(--ease), box-shadow var(--dur-tap) var(--ease);
}
.btn__face::after {   /* 光が横切る */
  content: ""; position: absolute; top: -35%; left: -140%; width: 55%; height: 170%; pointer-events: none;
  background: linear-gradient(120deg, transparent 0, rgba(255,255,255,.15) 42%, rgba(255,255,255,.6) 50%, rgba(255,255,255,.15) 58%, transparent 100%);
  transform: skewX(-20deg); animation: btnShine 5.5s ease-in-out infinite;
}
@keyframes btnShine { 0% { left: -140%; } 100% { left: 160%; } }
.btn__tab {
  position: absolute; z-index: 1; left: 50%; top: 0; transform: translate(-50%, -48%);
  padding: 2px 22px;
  border-radius: 999px; background: var(--btn-tab); color: var(--btn-tab-text);
  font-size: var(--fs5); line-height: 1.5; letter-spacing: .08em; white-space: nowrap;
}
.btn__l1 { display: flex; align-items: center; gap: 6px; color: var(--btn-yellow); font-size: 14px; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; }
.btn__l1 .sprig { flex: none; width: 30px; height: 30px; margin: -6px 0; color: var(--btn-yellow); transform: rotate(-24deg); }
.btn__l1 .sprig--r { transform: scaleX(-1) rotate(-24deg); }
.btn__l2 { font-size: 20px; line-height: 1.3; letter-spacing: .04em; white-space: nowrap; }
.btn__ex { margin-left: -.2em; } /* 全角の「！」は字の箱の真ん中にあり、前が空いて見える */
.btn:active .btn__face { transform: translateY(4px); box-shadow: 0 2px 0 var(--btn-dk); }
.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 6px; border-radius: 999px; }
@media (min-width: 900px) {
  .btn__face { padding: 24px 20px 16px; row-gap: 4px; box-shadow: 0 8px 0 var(--btn-dk); }
  .btn__l1 { font-size: 17px; }
  .btn__l1 .sprig { width: 32px; height: 32px; }
  .btn__l2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn__face::after { animation: none; } .btn__face { transition: none; } }

/* ===== ガイドブックの部品（DESIGN.md 2・3節） ===== */
:root { --gutter: 24px; }
.num { font-family: var(--f-en); font-weight: 700; color: var(--em); }

/* 表紙: LP の本の表紙と同じ言葉・題・写真 */
.cover { padding-top: 64px; }
.cover__head, .cover__foot { padding: 0; }
.cover__catch { font-size: clamp(44px, 14vw, 56px); line-height: 1.32; letter-spacing: .01em; }
.cover__catch .nb { margin-right: 0; }
.cover__title { margin-top: 20px; font-weight: 700; }
.cover__photo { width: 100%; }
.cover__visual { margin: var(--gap-between) 0 0; }
.cover__catch .nb:first-child { letter-spacing: -.035em; margin-left: -.05em; }  /* 「い」「つ」「で」の左右の白を詰め、墨の左端を2行目にそろえる */

/* 目次: 写真4枚 */
.tocp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.tocp__a { display: block; color: inherit; text-decoration: none; }
.tocp__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tocp__t { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: baseline; margin-top: 8px; font-weight: 700; line-height: 1.45; }
.tocp__no { font-family: var(--f-en); font-weight: 800; font-size: var(--fs3); line-height: 1; }
.tocp__subs { display: flex; flex-direction: column; align-items: flex-start; }
.tocp__s { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--text); font-size: var(--fs4); font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--muted); white-space: nowrap; }
.tocp__a:focus-visible, .tocp__s:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }

/* 手順: 写真（絵）→ 番号と題 → 回数 → 補足。2列 */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; margin-top: var(--gap-in); }
.ph { width: 100%; }
.st__h { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: baseline; margin-top: 10px; font-size: var(--fs4); font-weight: 700; line-height: 1.5; }
.st__no { font-family: var(--f-en); font-size: var(--fs3); font-weight: 800; line-height: 1; }
.st__count { margin-top: 4px; font-size: var(--fs5); font-weight: 700; line-height: 1.3; }
.st__count .cn { font-family: var(--f-en); font-size: var(--fs3); font-weight: 700; color: var(--em); }
.st__note { margin-top: 4px; line-height: 1.7; }

/* 2章: 左に鮭の皿を持つきよえ、右に言葉 */
.meal { display: grid; grid-template-columns: 50% minmax(0, 1fr); gap: 16px; align-items: center; margin-top: var(--gap-between); }
.meal__t { font-size: var(--fs3); font-weight: 700; line-height: 1.6; }
.meal__t em { display: block; font-style: normal; font-size: var(--fs2); line-height: 1.45; }
.meal__pt { font-size: .72em; }
/* 魚2：肉1（絵の数も2と1） */
.ratio { display: grid; grid-template-columns: 2fr 24px 1fr; align-items: end; margin-top: var(--gap-between); text-align: center; }
.ratio__pics { display: flex; justify-content: center; }
.ratio__pics img { width: 50%; }
.ratio__pics--1 img { width: 100%; }
.ratio__v { display: flex; justify-content: center; align-items: baseline; gap: 8px; font-size: var(--fs3); font-weight: 700; line-height: 1.1; }
.ratio__v b { font-family: var(--f-en); font-size: var(--fs1); font-weight: 800; color: var(--em); line-height: 1; }
.ratio__c { font-family: var(--f-en); font-size: var(--fs2); font-weight: 800; color: var(--muted); line-height: 1; padding-bottom: 10px; }
/* 食べものの行: 左に絵、右に名前と例 */
.foods { display: flex; flex-direction: column; gap: 20px; margin-top: var(--gap-in); }
.foods__row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.foods__t { font-size: var(--fs4); font-weight: 700; line-height: 1.5; }
.foods__d { margin-top: 2px; line-height: 1.75; }

/* 3章 */
.wide { margin: var(--gap-between) calc(var(--gutter) * -1) 0; }
.wide img { width: 100%; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--gap-in); }
.three figcaption, .duo figcaption { margin-top: 6px; font-weight: 700; line-height: 1.4; text-align: center; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: var(--gap-between); }
.scalp { margin-top: var(--gap-in); }
.scalp__1 { display: grid; grid-template-columns: 50% minmax(0, 1fr); gap: 16px; align-items: center; }
.scalp__1 .st__h { margin-top: 0; }
.scalp .st__h { font-size: var(--fs4); }
.scalp__2 { margin-top: var(--gap-between); }
.order { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: var(--gap-in); font-size: var(--fs2); font-weight: 700; line-height: 1.4; }
.order i { font-style: normal; font-size: var(--fs3); color: var(--muted); }

/* 4章の質問 */
.qa { margin-top: calc(var(--gap-between) * 1.5); }
.qa + .qa { margin-top: var(--gap-between); }
.qa dt { position: relative; padding-left: 2em; font-size: var(--fs4); font-weight: 700; line-height: 1.6; }
.qa__q { position: absolute; left: 0; font-family: var(--f-en); font-weight: 800; }
.qa dd { margin-top: 8px; padding-left: 2em; }
.qa dd b { font-weight: 700; }
.lay { margin-top: var(--gap-between); }
.fl__n { font-family: var(--f-en); font-weight: 800; margin-right: 8px; }

/* 結びと相談 */
.gate { margin-top: var(--gap-between); }
.exit { margin-top: calc(var(--gap-between) * 1.5); }
.exit__row { display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 16px; align-items: center; margin-bottom: calc(var(--gap-between) + 4px); }
.exit__h { font-size: var(--fs2); font-weight: 700; line-height: 1.45; }
.exit__p { margin-top: var(--gap-in); line-height: 1.8; }
.exit__note { margin-top: 18px; font-size: var(--fs5); color: var(--muted); text-align: center; }

@media (min-width: 900px) {
  :root { --gutter: 20px; }
  .cover__catch { font-size: 64px; }
  .cover__visual { margin: 0; }
  .tocp, .grid, .duo { column-gap: 24px; }
  .meal { grid-template-columns: 50% minmax(0, 1fr); gap: 32px; }
  .wide { margin-left: 0; margin-right: 0; }
  .foods__row { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
  .three { gap: 16px; }
}
@media print {
  .st, .three, .duo, .meal, .ratio, .foods__row, .qa, .gate, .exit__row, .scalp { break-inside: avoid; }
  .meal, .wide { margin-left: 0; margin-right: 0; }
  .btn, .btn__face::after { animation: none !important; }
  .gate img { max-height: 110mm; width: auto; }
  .ch, .matome, .toc { padding-top: 0; }
  .cover { display: block; width: auto; margin: 0; padding: 0; transform: none; break-after: page; }
  .cover__catch { font-size: 40px; }
  .cover__visual { margin: 20px 0 0; }
  .cover__photo { width: auto; max-height: 118mm; margin: 0; }
  #intro { padding-top: 0; }
  .h2, .h3, .door, .lead, .end__lead { break-after: avoid; }
  .h3 + p { break-after: avoid; }
  .end { break-before: avoid; margin-top: var(--gap-between); }
  .h3, .qa { margin-top: var(--gap-between); }
  p { orphans: 3; widows: 3; }
}
.after--gap { margin-top: var(--gap-between); }
.mb__big b.mb__t { font-size: calc(var(--fs1) * .84); letter-spacing: -.02em; }
.bk { display: inline-block; }   /* 割れない箱（wrap.py が入れる） */

/* 写真の上の矢印（動かす向き。紺の線＋白いふち） */
.shot { position: relative; display: block; }
.shot__a { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot__a path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.shot__w { stroke: #fff; stroke-width: 6; }
.shot__n { stroke: var(--text); stroke-width: 3; }

/* 1章: 左に温度、右に指さすきよえ（吹き出しにしない） */
.temp { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; align-items: end; margin-top: var(--gap-between); border-bottom: var(--koma); }
.temp__t { align-self: center; font-size: var(--fs3); font-weight: 700; line-height: 1.5; }
.temp__big { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 6px; line-height: 1; white-space: nowrap; }
.temp__big b { font-family: var(--f-en); font-size: var(--fs1); font-weight: 800; letter-spacing: -.02em; color: var(--em); }
.temp__big small { font-size: var(--fs3); }
.temp__who { width: 112px; height: 190px; object-fit: contain; object-position: center bottom; }
.koma--xl { min-height: 390px; }
.koma--xl .koma__who { justify-self: center; }
.koma--xl .mb { width: 70%; padding: 30px 26px 32px 32px; }
/* 4章: 考えごとの丸（雲からヤバ子へ） */
.koma--s .mb::before, .koma--s .mb::after { content: ""; position: absolute; border: 2.5px solid var(--text); border-radius: 50%; background: #fff; }
.koma--s .mb::before { left: -5px; bottom: 76px; width: 12px; height: 12px; z-index: 1; }
.koma--s .mb::after { left: -17px; bottom: 90px; width: 8px; height: 8px; }

.h3 + .grid, .h3 + .scalp, .h3 + .ratio, .h3 + p { margin-top: 0; }
.safe, .st__note b { font-weight: 700; }
.end__note { margin-top: 8px; }
[id] { scroll-margin-top: 20px; }
@media (min-width: 900px) {
  .cover { min-height: 100svh; align-content: center; padding: 48px 0; }
  .temp { grid-template-columns: minmax(0, 1fr) 190px; }
  .temp__who { width: 190px; height: 280px; }
  .koma--xl { min-height: 340px; }
  .koma--xl .mb { width: 100%; padding: 44px 44px 44px 52px; }
}
@media print { .cover { min-height: 0; padding: 0; } .temp, .stop { break-inside: avoid; } .tocp__subs { display: none; } }
@media (max-width: 374px) { .meal__t em { font-size: 23px; } } /* 360px で「食べた栄養で」の「で」だけ落ちた */
.is-print .book { max-width: 484px; padding: 0; } /* A5 の中身の幅。字詰めの計算を、印刷と同じ折れ方でさせる */
