:root {
  /* 色：紙と地図（生成りの紙・墨・深い緑） */
  --paper: #F4F0E6;
  --paper-deep: #EAE4D6;
  --ink: #22201C;
  --ink-soft: #5B564D;
  --line: #D6CEBD;
  --line-strong: #928C80;   /* 線を一段濃くするとき（--line に墨を38%混ぜた色。切符の切り取り線を、予約ボタンに触れたときに濃くする） */
  --green: #2F5D4A;
  --green-dark: #234838;
  --white: #FFFDF8;
  /* 地図のイラストの水彩 */
  --wash-1: #C9D8CF; --wash-3: #D9E2D6; --map-park: #B9CFBC; --map-water: #C3D5D6; --map-block: #CFC7B6;
  --on-photo: #FFFDF8;
  /* 緑の帯の上の小さな注意書き（生成りを少し透かす。地の緑との差は 4.5:1 以上。2回目の見本 c2） */
  --on-green-soft: rgba(255, 253, 248, .88);
  /* 緑の帯の上の細い区切り線（index.html のフッターの上の線） */
  --on-green-line: rgba(255, 253, 248, .22);
  /* モデルルートの絵を手帳に貼った写真のように見せる（見本 t4）：写真の白い縁、紙に置いた影、
     地図の水彩（--wash-1・--map-block）を半透明にしたマスキングテープと、その上のかすかな光沢 */
  --photo-edge: #FFFFFF;
  --shadow-page: 0 1px 0 rgba(34, 32, 28, .04), 0 10px 28px rgba(34, 32, 28, .07);
  --shadow-photo: 0 1px 1px rgba(34, 32, 28, .08), 0 3px 6px -2px rgba(34, 32, 28, .14), 0 14px 22px -14px rgba(34, 32, 28, .38);
  --tape-green: rgba(201, 216, 207, .78);
  --tape-sand: rgba(207, 199, 182, .82);
  --tape-sheen: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .14) 70%, rgba(255, 255, 255, 0));
  /* 言語化レポートの見本（見本 c1）：机に置いた紙の影 */
  --shadow-sheet: 0 1px 2px rgba(34, 32, 28, .06), 0 14px 36px rgba(34, 32, 28, .10);
  /* 写真の上と緑の帯の上のボタンをキーボードで選んだとき、白い枠のまわりに置く墨の縁（見本 b4）。明るい所でも暗い所でも枠が見える */
  --focus-halo: rgba(22, 20, 16, .62);
  /* 文字 */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* 明朝の見出し用：かなと約物だけ palt の入った切り出し（下の @font-face）を使い、漢字は Shippori Mincho のまま */
  --mincho-palt: "Shippori Kana", var(--mincho);
  --gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --measure: 36em;
  /* 文字の大きさ（6段。2回目の見本 t1）：注・本文・中・大・見出しの5つの名前と、役目ごとに大きさを決める「表示」。
     注＝出典・時刻・注意書き・補足・肩書き・フッター、本文＝本文・ボタン、中＝h3・h4・明朝の一覧・問いの例・ヘッダーの名前、
     大＝名前・サブタイトル・小さめの見出し、見出し＝節の h2。
     表示（TOPの名前・数字、金額、3つの動詞、プロフィールの数字、こんなときにの吹き出し、最後の予約欄の見出し、フッターの名前）と、数字に添える単位・判子の字は、それぞれの役目の大きさのまま */
  --fs-note: 14px;
  --fs-body: 16px;
  --fs-sub: 19px;
  --fs-large: 26px;
  --fs-h2: clamp(26px, 6vw, 36px);
  /* 余白（4pxの刻み） */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-14: 56px;
  --space-16: 64px; --space-18: 72px; --space-20: 80px; --space-26: 104px;
  /* 角丸（大きさで決める）：札 6・ボタン 8・カードと箱 12 */
  --radius-sm: 4px; --radius-tag: 6px; --radius-md: 8px; --radius-card: 12px;
  --header-h: 56px;
}

/* Google Fonts の Shippori Mincho には横書きの字詰め（palt）が入っていないので、
   元のフォントからかな・約物・全角の記号だけを切り出して置く（tools/make_kana_font.py。ライセンスは assets/fonts/OFL.txt） */
@font-face {
  font-family: "Shippori Kana";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/shippori-kana.woff2") format("woff2");
  unicode-range: U+2015, U+2025-2026, U+3000-3003, U+3005-3015, U+301C-301D, U+301F, U+3033-3035, U+303B, U+303D, U+3041-3096, U+3099-309E, U+30A1-30FE, U+FF01, U+FF03-FF06, U+FF08-FF0F, U+FF1A-FF1B, U+FF1D, U+FF1F, U+FF3B-FF3D, U+FF5B, U+FF5D-FF5E;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  /* 紙の質感：細かいざらつきと、ゆるいむらの2層 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .30  0 0 0 0 .22  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .48  0 0 0 0 .36  0 0 0 .10 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  background-size: 220px 220px, 600px 600px;
  color: var(--ink);
  font-family: var(--gothic);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: 0.02em;
  line-break: strict;
  overflow-wrap: anywhere;
  /* 文節の切れ目（<wbr>）でだけ改行する。<wbr> は tools/phrase.py が BudouX で入れる */
  word-break: keep-all;
}
@supports (text-autospace: normal) { body { text-autospace: normal; } }
h1, h2, h3, summary { text-wrap: balance; }
.hero h1 { text-wrap: wrap; }
p, li, dd, td { text-wrap: pretty; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 var(--space-4); }
@media (min-width: 640px) { .wrap { padding: 0 var(--space-8); } }

.narrow { max-width: var(--measure); }

/* 横に並べる組み方：PCでは本文の横に関係のある要素を置き、右側を空けない */
.split { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-14); } }
.split > * { min-width: 0; }

/* ヘッダー：どの画面幅でも上に固定し、後ろを少し透かす */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(244, 240, 230, 0.88);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
  }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-name { font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); color: var(--ink); text-decoration: none; letter-spacing: 0.04em; white-space: nowrap; }
/* 指で押せる範囲を高さ44px以上にする。見た目は文字のリンクのまま（見本 b4 の案A）。予約するは左右にも余白を足し、右の端は負の余白で文字の位置を保つ */
.site-name { display: inline-flex; align-items: center; min-height: 44px; }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); margin-right: calc(-1 * var(--space-3)); font-size: var(--fs-note); font-weight: 500; white-space: nowrap; }

/* ボタン：どの幅でも文字を2行に割らない */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-6);
  background: var(--green); color: var(--white);
  border: none; border-radius: var(--radius-md);
  font-family: var(--gothic); font-size: var(--fs-body); font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease;
}
.btn:hover { background: var(--green-dark); color: var(--white); }
.btn svg { flex: none; }
/* Chrome は white-space: nowrap でも <wbr> で改行するので、ボタンと札の中の <wbr>（tools/phrase.py が入れる）は効かなくする */
.btn wbr, .header-cta wbr, .report-more-btn wbr, .hero-guide-who wbr { display: none; }

/* ファーストビュー：写真を全面に敷き、左の空いた地面の上に名前を重ねる */
.hero-photo { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--paper-deep); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 20, 16, .42) 0%, rgba(22, 20, 16, .18) 55%, rgba(22, 20, 16, 0) 75%); }
.hero-over { position: relative; z-index: 1; width: 100%; padding-block: var(--space-12); color: var(--on-photo); }
.hero-over .btn { margin-top: var(--space-6); background: var(--white); color: var(--green-dark); box-shadow: 0 2px 10px rgba(22, 20, 16, .25); }
.hero-over .btn:hover { background: var(--paper); color: var(--green-dark); }
.hero-over .btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 2px 10px rgba(22, 20, 16, .25), 0 0 0 7px var(--focus-halo); }
@media (max-width: 640px) {
  .hero-photo { min-height: 72vh; }
  .hero-photo img { object-position: 70% 60%; }
  .hero-photo::after { background: linear-gradient(0deg, rgba(22, 20, 16, .55) 0%, rgba(22, 20, 16, .1) 60%, rgba(22, 20, 16, 0) 100%); }
}
.hero-rest { padding-block: var(--space-10) var(--space-16); }
@media (min-width: 768px) { .hero-rest { padding-block: var(--space-12) var(--space-20); } }
.hero h1 {
  margin: 0; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(44px, 11vw, 88px); line-height: 1.1; letter-spacing: 0.01em;
}
/* 名前の3語は1つずつ動かせるよう inline-block にしておく（止まっているときの見た目は同じ。見本 m3）。
   h1 にはサブタイトル（.hero-sub）も入っているので、名前の動きと形は .hero-name の中の3語だけにかける（2026-11-15 散歩対話の見本 k14） */
.hero-name > span { display: inline-block; }
.hero-sub { display: block; margin: var(--space-4) 0 0; font-family: var(--mincho); font-size: clamp(20px, 4.8vw, var(--fs-large)); line-height: 1.6; font-weight: 500; text-wrap: pretty; }
.hero-lead { margin: 0; max-width: 30em; font-size: var(--fs-body); }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; align-self: center; }
.hero-facts > div { padding: 0 var(--space-6); border-left: 1px solid var(--line); white-space: nowrap; }
.hero-facts > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts .big { font-family: var(--mincho); font-weight: 500; font-size: clamp(44px, 5.4vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-facts .unit { font-family: var(--mincho); font-weight: 500; font-size: 20px; margin-left: var(--space-1); }
.hero-facts .mid { margin: 0 var(--space-2); }
.hero-facts .fig { display: block; }
/* 数字と単位を1つの箱（.fig）で包み、箱の字の大きさを数字にそろえてから、上下を書体の寸法で切りそろえる（2回目の見本 t2）。
   対応しないブラウザでは .fig は大きさを持たない箱なので、今と同じ */
@supports (text-box: trim-both cap alphabetic) {
  .hero-facts .fig { font-family: var(--mincho); font-weight: 500; font-size: clamp(44px, 5.4vw, 64px); line-height: 1; text-box: trim-both cap alphabetic; }
  .hero-facts .fig .big { font-size: 1em; }
  @media (max-width: 520px) { .hero-facts .fig { font-size: 44px; } }
  @media (max-width: 359px) { .hero-facts .fig { font-size: 38px; } }
}
.hero-facts .cap { display: block; margin-top: var(--space-3); font-size: var(--fs-note); color: var(--ink-soft); white-space: nowrap; }
/* 説明の文の下に、顔の丸と「一緒に歩くのは、キャリア研究家の黒田悠介です」。全体が「ともに歩くひと」へのリンク（2回目の見本 c1 の「顔あり」）。
   肩書きは「キャリア研究家」だけにしている */
.hero-guide {
  display: flex; align-items: center; gap: var(--space-3); width: fit-content; max-width: 100%;
  margin-top: var(--space-6); color: var(--ink); text-decoration: none; font-size: var(--fs-body); line-height: 1.7;
}
.hero-guide:hover { color: var(--ink); }
.hero-guide-face { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--paper-deep); box-shadow: 0 0 0 1px var(--line); }
.hero-guide-face img { width: 100%; height: 100%; }
/* 「黒田悠介です」は途中で改行しない（狭い画面では、まとめて次の行に送る） */
.hero-guide-who { display: inline-block; white-space: nowrap; }
.hero-guide-name { font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); letter-spacing: .04em; color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
/* 下向きの矢印は「です」のすぐ後ろに置く（文が2行になっても文から離れないように） */
.hero-guide svg { display: inline-block; vertical-align: -2px; margin-left: var(--space-1); color: var(--green); }
.hero-guide:hover .hero-guide-name { color: var(--green); text-decoration-thickness: 2px; }

/* セクション共通。節の間に線は引かず、地の色で区切る（2回目の見本 t1 の案A）：
   生成り（TOP・こんなときに・なぜ歩くのか・3時間の流れ）→ 濃い生成り（ともに歩くひと）→ 生成り（料金と約束）→ 淡い緑（言語化レポートの見本。2回目の見本 s2）
   → 濃い生成り（よくある質問）→ 緑（最後の予約） */
.section { padding: var(--space-18) 0; }
@media (min-width: 768px) { .section { padding: var(--space-26) 0; } }
.section h2 {
  margin: 0 0 var(--space-8); font-family: var(--mincho); font-weight: 500;
  font-size: var(--fs-h2); line-height: 1.5; letter-spacing: 0.04em;
}
.section h3 { font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); line-height: 1.6; margin: 0 0 var(--space-2); }
.section p { margin: 0 0 1.2em; }
.section p:last-child { margin-bottom: 0; }

/* こんなときに：ファーストビューのすぐ下に3つ並べる */
.for-whom { padding-block: var(--space-14); }
.for-whom h2 { font-size: clamp(22px, 5vw, var(--fs-large)); margin-bottom: var(--space-6); }
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.voices li { position: relative; width: fit-content; max-width: 100%; padding: 22px 44px 32px 52px; font-family: var(--mincho); font-size: clamp(18px, 3.4vw, 24px); line-height: 1.6; }
.voices li svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.voices li svg path { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.voices li span { position: relative; }
@media (min-width: 768px) {
  .voices li { white-space: nowrap; }
  .voices li:nth-child(2) { margin-left: 11%; }
  .voices li:nth-child(3) { margin-left: 22%; }
}
.section .voices-after { margin: var(--space-8) 0 0; color: var(--ink-soft); }

 


.section .flow-note { color: var(--ink-soft); font-size: var(--fs-body); margin: calc(-1 * var(--space-4)) 0 var(--space-6); }
/* 3時間の流れ：「歩く」「話す」「選ぶ」の3つの動詞を大きな明朝で置き、横に説明を添える */
/* 左に 0:00 から 3:00 までの細い時間の線を引き、各段の動詞の横に点を置く（見本 m2）。線は1本だけで、枝分かれはしない */
.verbs { --verb-size: clamp(40px, 9vw, 64px); position: relative; list-style: none; margin: 0 0 var(--space-10); padding: 0 0 0 var(--space-8); }
.verbs::before, .verbs::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.verbs::before { left: 6px; width: 1px; background: var(--line); }
.verbs::after { left: 5.5px; width: 2px; background: var(--green); transform-origin: 50% 0; }
.verbs li { display: grid; gap: var(--space-1) var(--space-8); padding: var(--space-6) 0; border-top: 1px solid var(--line); align-items: center; }
.verbs li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .verbs li { grid-template-columns: 260px 1fr; } }
.verbs .verb { position: relative; font-family: var(--mincho); font-weight: 500; font-size: var(--verb-size); line-height: 1.1; white-space: nowrap; }
.verbs .verb::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-8) + 2px); top: calc(var(--verb-size) * .55 - 4.5px);
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--green);
}
/* 動詞の右に、名前の Walk, Talk, Fork. の語を半分ほどの大きさで添えて対応を見せる（見本の案1） */
.verbs .en { display: inline-block; font-size: .5em; color: var(--green); margin-left: var(--space-3); letter-spacing: .02em; }
/* PCでは、大きな動詞と右の説明の上の端をそろえる。動詞を画面に止める（sticky）と説明とずれるのでやめた（2026-11-15 見本の案B） */
@media (min-width: 720px) {
  .verbs li { align-items: start; padding: var(--space-10) 0; }
  .verbs li > div:last-child { padding-top: calc(var(--verb-size) * .12); }
}
.verbs .time { display: block; font-family: var(--gothic); font-size: var(--fs-note); color: var(--ink-soft); letter-spacing: 0.06em; margin-top: var(--space-2); font-variant-numeric: tabular-nums; }
.verbs h3 { margin-bottom: var(--space-1); }
.verbs p { margin: 0; }
/* 動詞と説明の頭を、目分量の値（上の .12）ではなく書体の寸法でそろえる（2回目の見本 t2）。
   text-box で文字の箱の上を英数字の高さ（cap）で切り、漢字がその上に出る分（字の大きさの約1割、.11em）を足すので、
   どの大きさでも漢字の頭が箱の上の端に来る。日本語の字面の上端（ideographic）で切る指定は、まだどのブラウザも対応していない。
   働くのは Chrome 133 以降と Safari・iOS 18.2 以降。ほかのブラウザでは上の目分量の値のまま。
   箱の上の空きが減る分だけ、左の点も上げて、動詞との位置を今と同じにする */
@supports (text-box: trim-start cap alphabetic) {
  @media (min-width: 720px) {
    .verbs .verb, .verbs h3 { text-box: trim-start cap alphabetic; padding-top: .11em; }
    .verbs li > div:last-child { padding-top: 0; }
    .verbs .verb::before { top: calc(var(--verb-size) * .412 - 4.5px); }
  }
}

/* モデルルート：晴天と雨天を左右に並べる */
.routes h3 { margin-bottom: 0; }
.routes > p { color: var(--ink-soft); font-size: var(--fs-body); }
.route-pair { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 720px) { .route-pair { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
/* 白いカードを手帳のページにし、絵は白い縁の写真として少し傾けて貼る。文字は傾けない（見本 t4） */
.route { padding: var(--space-6); background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-page); min-width: 0; }
.route-photo {
  position: relative; margin: var(--space-1) var(--space-1) var(--space-6);
  padding: 6px;   /* 写真の白い縁の太さ */
  background: var(--photo-edge); box-shadow: var(--shadow-photo);
  transform: rotate(-1.1deg);
}
.route + .route .route-photo { transform: rotate(.8deg); }
.route-pic { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* マスキングテープ：写真の上の辺に1枚。両端は手でちぎった形にする */
.route-tape {
  position: absolute; z-index: 1; top: -11px; left: 12%;
  width: 30%; max-width: 112px; height: 24px; pointer-events: none;
  background-color: var(--tape-green); background-image: var(--tape-sheen);
  mix-blend-mode: multiply;
  clip-path: polygon(2% 0, 98% 0, 100% 16%, 97% 34%, 100% 52%, 96% 70%, 99% 86%, 97% 100%, 3% 100%, 0 86%, 4% 68%, 1% 50%, 4% 32%, 0 14%);
  transform: rotate(-4deg);
}
.route + .route .route-tape { top: -10px; left: auto; right: 9%; background-color: var(--tape-sand); transform: rotate(5deg); }
.route h4 { margin: 0 0 var(--space-3); font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); }
.route ol { margin: 0; padding-left: 1.4em; }
.route li { padding: var(--space-1) 0; }
/* 読みにくい店の名前（神田伯剌西爾・古瀬戸）に小さなルビを振る（2回目の見本 t2）。モデルルートと言語化レポートの見本で共通 */
ruby { ruby-position: over; }
rt { font-family: var(--gothic); font-weight: 400; font-size: max(10px, .6em); line-height: 1; letter-spacing: .06em; color: var(--ink-soft); }

/* 申し込みの前の注意：※で始まる行を横幅いっぱいに */
.aside { margin: var(--space-8) 0 0; padding: 0; list-style: none; font-size: var(--fs-note); color: var(--ink-soft); }
.aside li { padding-left: 1em; text-indent: -1em; }
.aside li::before { content: "※"; }

/* 黒田悠介 */
.profile { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 768px) { .profile { grid-template-columns: 280px 1fr; gap: var(--space-14); } }
.profile img { width: 100%; max-width: 320px; border-radius: var(--radius-card); background: var(--paper-deep); }
.profile .name { margin: 0; font-family: var(--mincho); font-size: var(--fs-large); font-weight: 500; letter-spacing: 0.08em; }
.profile .titles { margin: var(--space-1) 0 var(--space-6); font-size: var(--fs-note); color: var(--ink-soft); }
/* ともに歩くひと：地を一段濃い生成りにして、前後の生成りのセクションと分ける（見本の案1）。よくある質問も同じ濃い生成りにする（2回目の見本 t1 の案A） */
.about-band, .faq-band { background: var(--paper-deep); }
.profile-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26em; margin: var(--space-8) 0; }
.profile-facts > div { padding: 0 var(--space-5); border-left: 1px solid var(--line); }
.profile-facts > div:first-child { padding-left: 0; border-left: 0; }
.profile-facts .num { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; white-space: nowrap; }
.profile-facts .num small { font-size: .45em; margin-left: 2px; }
.profile-facts .cap { display: block; margin-top: var(--space-2); font-size: var(--fs-note); line-height: 1.6; color: var(--ink-soft); }
.books { margin: var(--space-8) 0 0; }
.books ul { margin: 0; padding: 0; list-style: none; }
.books li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.books li:last-child { border-bottom: 1px solid var(--line); }
.books li a { font-family: var(--mincho); font-weight: 500; text-decoration: none; }
.books li a:hover { text-decoration: underline; }
.books li span { color: var(--ink-soft); font-size: var(--fs-note); white-space: nowrap; }
@media (max-width: 479px) { .books li { flex-direction: column; gap: 0; } }
/* 写真の下の著書の表紙（2回目の見本 c6 の案A「横に4冊」）。index.html では、表紙を載せてよいと確かめられるまでコメントにして出していない。
   写真の大きさは変えず、画面に止める（sticky）こともしない。表紙は本ごとに縦横の比が違うので、切り落とさずに下の端でそろえる。
   影はモデルルートの絵と同じ紙の影（--shadow-photo） */
.profile-side { min-width: 0; }
.book-covers { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); align-items: end; max-width: 320px; }
.book-covers a { display: block; border-radius: 2px; }
.profile .book-covers img { max-width: none; border-radius: 2px; background: var(--white); box-shadow: var(--shadow-photo); }
@media (prefers-reduced-motion: no-preference) {
  .book-covers img { transition: transform 200ms cubic-bezier(.2, .7, .2, 1); }
  .book-covers a:hover img { transform: translateY(-3px); }
}

/* 料金と約束：料金を1枚の切符のようなカードにする。左に金額と予約ボタン、点線の切り取り線をはさんで右に条件（見本の案A） */
/* 切符の紙は、半券（.stub::before）と本券（.detail::after）の2枚に分けて描き、それぞれの切り取り線側の両端を半径14pxの半円に mask でくり抜く（2回目の見本 s3 の「くぼみだけ」）。
   2枚に分けるので、くぼみの位置は半券の高さに自動で合う（金額や文の長さが変わってもずれない）。広い画面（横並び）でも狭い画面（縦積み）でも切り取り線の両端にくぼみが付く。
   影は外の箱（.ticket-wrap）に drop-shadow で付けるので、影もくぼみの丸に沿って落ちる。
   半券は本券より上に重ね（z-index: 1）、切り取り線をまたぐ判子が本券の上に出るようにする */
.ticket-wrap { filter: drop-shadow(0 1px 0 rgba(34, 32, 28, .04)) drop-shadow(0 12px 32px rgba(34, 32, 28, .08)); }
.ticket { position: relative; display: grid; isolation: isolate; }
.ticket .stub { z-index: 1; padding: var(--space-10); display: flex; flex-direction: column; justify-content: center; }
.ticket .stub::before, .ticket .detail::after { content: ""; position: absolute; z-index: -1; background: var(--white); }
.ticket .yen { margin: 0; font-family: var(--mincho); font-weight: 500; font-size: clamp(52px, 9vw, 76px); line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.ticket .yen small { font-size: .38em; margin-left: var(--space-1); }
/* 金額の上下を、書体の寸法（数字の高さと並びの線）でぴったり切りそろえる（2回目の見本 t2。対応しないブラウザでは今のまま） */
@supports (text-box: trim-both cap alphabetic) { .ticket .yen { text-box: trim-both cap alphabetic; } }
.ticket .yen-cap { margin: var(--space-4) 0 0; color: var(--ink-soft); }
.ticket .stub .btn { margin-top: var(--space-8); align-self: flex-start; }
/* 予約ボタンの下：返金の約束と押したあとの流れを小さな字で2文、その下に「予約の前に質問する」（2回目の見本 c2）。最後の予約欄にも同じものを置く（下の .closing） */
.section .cta-note { margin: var(--space-5) 0 0; max-width: 22em; font-size: var(--fs-note); line-height: 1.75; color: var(--ink-soft); }
.section .cta-ask { margin: var(--space-3) 0 0; font-size: var(--fs-body); }
.cta-ask a { font-weight: 500; white-space: nowrap; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.cta-ask a:hover { text-decoration-thickness: 2px; }
.ticket .detail { position: relative; margin: 0; padding: var(--space-10); display: grid; grid-template-columns: 5em 1fr; align-content: center; }
.ticket .detail::before { content: ""; position: absolute; left: 0; top: var(--space-6); bottom: var(--space-6); border-left: 2px dashed var(--line); }
.ticket dt { font-size: var(--fs-note); color: var(--ink-soft); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.ticket dd { margin: 0; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.ticket dt:last-of-type, .ticket dd:last-of-type { border-bottom: 0; }
/* 5万円に含まれるもの（2回目の見本 c3 の「切符だけ」）：緑のチェックの短い一覧。見出しの列は「含まれるもの」が1行に入るよう5文字分から6文字分に広げる */
@media (min-width: 480px) { .ticket .detail { grid-template-columns: 6em 1fr; } }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { position: relative; padding: 2px 0 2px 1.6em; }
.incl-list li::before {
  content: ""; position: absolute; left: .3em; top: calc(2px + .95em); width: .36em; height: .68em;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-62%) rotate(45deg);
}
.incl-list a { text-decoration-thickness: 1px; text-underline-offset: .25em; }
@media (min-width: 860px) {
  .ticket { grid-template-columns: 0.9fr 1.1fr; }
  /* 横に並ぶとき：半券の右の上下と、本券の左の上下をくり抜く（本券は1pxだけ左に重ねて、つなぎ目の細い線を防ぐ） */
  .ticket .stub::before {
    inset: 0; border-radius: 16px 0 0 16px;
    -webkit-mask: radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle at 100% 0, #0000 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) bottom / 100% 51% no-repeat;
  }
  .ticket .detail::after {
    inset: 0 0 0 -1px; border-radius: 0 16px 16px 0;
    -webkit-mask: radial-gradient(circle at 1px 0, #0000 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 1px 100%, #0000 14px, #000 14.5px) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle at 1px 0, #0000 14px, #000 14.5px) top / 100% 51% no-repeat, radial-gradient(circle at 1px 100%, #0000 14px, #000 14.5px) bottom / 100% 51% no-repeat;
  }
}
@media (max-width: 859px) {
  .ticket .detail::before { left: var(--space-6); right: var(--space-6); top: 0; bottom: auto; border-left: 0; border-top: 2px dashed var(--line); }
  .ticket .stub, .ticket .detail { padding: var(--space-8) var(--space-6); }
  /* 縦に積むとき：半券の下の両端と、本券の上の両端をくり抜く（本券は1pxだけ上に重ねる） */
  .ticket .stub::before {
    inset: 0; border-radius: 16px 16px 0 0;
    -webkit-mask: radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 100%, #0000 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, #0000 14px, #000 14.5px) right / 51% 100% no-repeat;
  }
  .ticket .detail::after {
    inset: -1px 0 0; border-radius: 0 0 16px 16px;
    -webkit-mask: radial-gradient(circle at 0 1px, #0000 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 1px, #0000 14px, #000 14.5px) right / 51% 100% no-repeat;
    mask: radial-gradient(circle at 0 1px, #0000 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 1px, #0000 14px, #000 14.5px) right / 51% 100% no-repeat;
  }
}
/* 予約ボタンにマウスを乗せたときと、キーボードで選んだときに、切り取り線を一段濃くする（:has() が使えるブラウザだけ。指で押したときは変えない）。
   動きを減らす設定の人には、色だけを一瞬で変える */
@media (hover: hover) { .ticket:has(.btn:hover) .detail::before { border-color: var(--line-strong); } }
.ticket:has(.btn:focus-visible) .detail::before { border-color: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) { .ticket .detail::before { transition: border-color .2s ease; } }
@media (max-width: 479px) {
  .ticket .detail { grid-template-columns: 1fr; }
  .ticket dt { border-bottom: 0; padding-bottom: 0; }
  .ticket dd { padding-top: var(--space-1); }
}
.price-lower { display: grid; gap: var(--space-12); margin-top: var(--space-16); }
@media (min-width: 860px) { .price-lower { grid-template-columns: 1fr 1fr; gap: var(--space-14); } }
.promise { display: grid; gap: var(--space-4); align-content: start; }
.promise > div { border-radius: var(--radius-card); padding: var(--space-8) var(--space-8) var(--space-6); }
.promise .yes { background: var(--wash-3); }
.promise .yes h3 { color: var(--green-dark); }
.promise .no { background: var(--paper-deep); }
.promise ul { margin: 0; padding-left: 1.2em; }
.promise li { padding: var(--space-1) 0; }
@media (max-width: 479px) { .promise > div { padding: var(--space-6) var(--space-5) var(--space-5); } }
.area-list { margin: 0; padding-left: 1.2em; }
.area-list li { padding: var(--space-1) 0; }
.stations { font-size: var(--fs-note); color: var(--ink-soft); margin-top: var(--space-2); }

/* 予約までの流れ：番号の丸を縦の線でつなぎ、広い画面ではどの項目も同じ高さにして丸を等間隔に並べる */
@media (min-width: 860px) { .steps { grid-auto-rows: 1fr; } }
.steps { display: grid; margin: var(--space-6) 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; min-height: 56px; padding: 2px 0 var(--space-6) var(--space-12); line-height: 1.7; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; z-index: 1;
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--green); background: var(--paper);
  color: var(--green); font-size: var(--fs-note); line-height: 26px; text-align: center; font-weight: 500;
}
.steps li::after { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 0; width: 1px; background: var(--green); opacity: .5; }
.steps li:last-child::after { display: none; }
.steps span { display: block; margin-top: var(--space-1); font-size: var(--fs-note); color: var(--ink-soft); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-10) var(--space-4) 0; position: relative;
  font-weight: 500; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: var(--space-2); top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: translateY(-70%) rotate(45deg); transition: transform 150ms ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 var(--space-5); }
.faq .a p { margin: 0 0 0.8em; }

/* 最後の予約（2026-11-16 黒田さんの判断：見本の案A「地図の終点」＋案E「名前で終わる」。等高線はやめた）：
   深い緑の帯に生成りの文字。見出しの下に帯の幅いっぱいの道を1本引き、目的地（二重の丸）をボタンの真上に置く。ボタンは白い地に深い緑の文字で浮かせる。
   下の端はフッター（.site-footer.is-band）につながる */
.section.closing { position: relative; overflow: clip; text-align: center; background: var(--green); color: var(--white); padding-bottom: var(--space-16); }
/* 見出しは「表示」の大きさ（この欄だけ）。2行目は1行目の0.62倍 */
.closing h2 { margin: 0; font-size: clamp(28px, 6.2vw, 50px); line-height: 1.45; letter-spacing: .08em; color: var(--white); }
.closing-sub { display: block; margin-top: var(--space-2); font-size: .62em; letter-spacing: .1em; }
/* 道の帯：高さで縮める（絵は横に長いので、どの幅でも上下は切れず、左右だけが画面の幅で切れる）。目的地はいつも真ん中 */
.closing-map { height: clamp(120px, 17vw, 176px); margin: var(--space-6) 0 var(--space-2); }
.closing-map svg { display: block; width: 100%; height: 100%; }
.closing-streets { fill: none; stroke: var(--white); stroke-opacity: .075; stroke-width: 18; }
.closing-plan { fill: none; stroke: var(--white); stroke-opacity: .6; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 11; }
/* 歩いた所（実線）。動かないときは全部引かれている */
.closing-trail { fill: none; stroke: var(--white); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.closing-start { fill: var(--green); stroke: var(--white); stroke-width: 3; }
.closing-goal .o { fill: var(--green); stroke: var(--white); stroke-width: 4; }
.closing-goal .i { fill: var(--white); }
.closing-ring { fill: none; stroke: var(--white); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.closing-walker { opacity: 0; }
.closing-walker .h { fill: var(--white); fill-opacity: .2; }
.closing-walker .d { fill: var(--white); }
.closing .btn { background: #FFFFFF; color: var(--green-dark); min-height: 56px; padding: 0 var(--space-8); font-size: var(--fs-body); box-shadow: 0 6px 18px rgba(16, 32, 24, .28); }
.closing .btn:hover { background: var(--paper); color: var(--green-dark); }
.closing .btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; box-shadow: 0 6px 18px rgba(16, 32, 24, .28), 0 0 0 7px var(--focus-halo); }
/* 注意書き：2つの文の間で改行し、「キャンセルのご連絡を」と「いただければ全額返金します。」はそれぞれ割らない（狭い画面ではこの2つの間で折り返す） */
.section.closing .cta-note { margin: var(--space-6) auto 0; max-width: 36em; font-size: var(--fs-note); line-height: 1.8; color: var(--on-green-soft); text-wrap: balance; }
.closing .nw { display: inline-block; white-space: nowrap; }
.closing .nw wbr { display: none; }
/* 白い点が道を歩く（assets/site.js が .closing-map に is-walking・is-arrived・is-fading を付ける）。
   帯に .play が付く前は、歩いた所の実線を隠しておく（.js-play は site.js が付ける。JS が動かないときは実線が全部見えている） */
@media (prefers-reduced-motion: no-preference) {
  .js-play .closing:not(.play) .closing-trail { opacity: 0; }
  .closing-trail, .closing-walker { transition: opacity .9s ease; }
  .closing-map.is-walking .closing-walker { opacity: 1; }
  .closing-map.is-walking.is-fading .closing-walker,
  .closing-map.is-walking.is-fading .closing-trail { opacity: 0; transition-duration: 1.3s; }
  .closing-map.is-arrived .closing-ring { animation: closing-ring 2.8s cubic-bezier(.2, .6, .3, 1) both; }
}
@keyframes closing-ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }

/* フッター（規約のページと 404.html） */
.site-footer { padding: var(--space-10) 0 120px; font-size: var(--fs-note); color: var(--ink-soft); }
@media (min-width: 768px) { .site-footer { padding-bottom: var(--space-12); } }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: 0; padding: 0; list-style: none; }
.site-footer p { margin: 0; white-space: nowrap; }
.site-footer li { white-space: nowrap; }
.site-footer a { color: var(--ink-soft); }

/* index.html のフッター（案E「名前で終わる」）：最後の予約欄の緑の帯に続け、細い線の下に規約とお問い合わせを置き、
   下の端に「Walk, Talk, Fork.」を幅いっぱいに立たせる。字の下を切るとコンマとピリオドが消えるので、コンマの先まで見せる
   （Shippori Mincho は行の高さ1だと字の足もとから下に0.065em しか残らず、コンマは0.113em 下がるので、下に0.06em 足す）。
   スマホの固定ボタンはフッターが見えている間は隠れるので、下の余白は取らない */
.site-footer.is-band { container-type: inline-size; overflow: clip; padding: 0; background: var(--green); color: var(--on-green-soft); }
.site-footer.is-band .wrap { position: relative; padding-top: var(--space-5); }
.site-footer.is-band .wrap::before { content: ""; position: absolute; top: 0; left: var(--space-4); right: var(--space-4); border-top: 1px solid var(--on-green-line); }
@media (min-width: 640px) { .site-footer.is-band .wrap::before { left: var(--space-8); right: var(--space-8); } }
.site-footer.is-band a { color: var(--on-green-soft); }
.site-footer.is-band a:hover { color: var(--white); }
.site-footer.is-band a:focus-visible { outline-color: var(--white); }
.footer-mark {
  display: flex; justify-content: center; margin: var(--space-8) 0 0; padding: 0 1.5vw .06em;
  font-family: var(--mincho); font-weight: 500; font-size: 11.6vw; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
  color: var(--wash-1); user-select: none; -webkit-user-select: none;
}
@supports (width: 1cqi) { .footer-mark { padding-inline: 1.5cqi; font-size: 12cqi; } }
.mark-ch { display: inline-block; }
.mark-sp { display: inline-block; width: .3em; }
/* マウスを近づけた所の字が起き上がる（assets/site.js が字ごとに --lift を 0〜1 で付ける。マウスのある端末だけ）。
   帯が画面に入るにつれて名前が下からせり上がる（スクロールに合わせて動くブラウザだけ） */
@media (prefers-reduced-motion: no-preference) {
  .mark-ch { transform: translate3d(0, calc(var(--lift, 0) * -.34em), 0); }
  @supports (animation-timeline: view()) {
    .footer-mark { animation: mark-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes mark-rise { from { transform: translateY(.42em); } to { transform: none; } }

/* スマホの固定ボタン */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(244, 240, 230, 0.96); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: var(--space-3);
  transform: translateY(110%); transition: transform 200ms ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .price { font-size: var(--fs-note); line-height: 1.4; color: var(--ink-soft); white-space: nowrap; }
.sticky-cta .price strong { display: block; font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); color: var(--ink); }
.sticky-cta .btn { flex: 1; min-height: 48px; padding: 0 var(--space-4); }
@media (max-width: 340px) { .sticky-cta .price { display: none; } }
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* 法務ページ */
.legal { padding: var(--space-12) 0 var(--space-20); }
.legal h1 { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 6vw, 32px); line-height: 1.5; margin: 0 0 var(--space-8); }
.legal h2 { font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); margin: var(--space-10) 0 var(--space-3); }
.legal p, .legal li { font-size: var(--fs-body); }
.legal ul { padding-left: 1.2em; }
.legal li { padding: var(--space-1) 0; }
.legal dl { margin: 0; }
.legal dl > div { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.legal dl > div:first-child { border-top: 1px solid var(--line); }
.legal dt { font-weight: 500; font-size: var(--fs-note); color: var(--ink-soft); }
.legal dd { margin: var(--space-1) 0 0; font-size: var(--fs-body); }
@media (min-width: 640px) {
  .legal dl > div { display: grid; grid-template-columns: 13em 1fr; gap: var(--space-4); }
  .legal dd { margin: 0; }
}
.legal .updated { margin-top: var(--space-10); font-size: var(--fs-note); color: var(--ink-soft); }
.back { display: inline-block; margin-bottom: var(--space-6); font-size: var(--fs-note); }

/* 404.html（見本 b1 の「地図あり」）：法務ページと同じ組み方で、上に「なぜ歩くのか」と同じ神保町の地図のルートのまわりを置く。
   ルートは出発点から半分まで実線（.lost-walked）、その先はたどれなかった道として点線（.lost-way）。止まった姿がこの形。
   地図の中身は tools/make_osmmap.py が書く（水彩の地は assets/map-ground.webp）。出典は地図の右下に必ず出す */
.lost-map { margin: 0 0 var(--space-8); }
.lost-map svg { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: var(--radius-card); }
.lost-map figcaption { margin-top: var(--space-1); text-align: right; font-size: var(--fs-note); color: var(--ink-soft); }
.lost-map figcaption a { color: inherit; }
.lost .lost-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); }
.lost-acts a:not(.btn) { white-space: nowrap; }
.lost-walked { stroke-dasharray: 1 1; stroke-dashoffset: .5; }
.lost-way { stroke-dasharray: .006 .022; opacity: .6; }
/* 動き：地図が画面に入ると（assets/site.js が .play を付ける）一度だけ、実線が出発点から半分まで伸びて止まり、続いて点線が現れる（約2秒）。
   JS が動くときだけ、.play が付く前の線を隠しておく（止まった姿が一度見えてから描き直されるのを防ぐ）。動きを減らす設定の人と JS が動かないときは、最初から止まった姿 */
@media (prefers-reduced-motion: no-preference) {
  .js-play .lost-map:not(.play) .lost-walked { stroke-dashoffset: 1; }
  .js-play .lost-map:not(.play) .lost-way { opacity: 0; }
  .lost-map.play .lost-walked { animation: lost-draw 1.4s cubic-bezier(.3, .6, .3, 1) .3s both; }
  .lost-map.play .lost-way { animation: lost-way .8s ease 1.6s both; }
}
@keyframes lost-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: .5; } }
@keyframes lost-way { from { opacity: 0; } to { opacity: .6; } }


.section .cancel-note { margin: var(--space-6) 0 0; font-size: var(--fs-body); }
details.stations { margin-top: var(--space-2); font-size: var(--fs-note); color: var(--ink-soft); }
details.stations summary { cursor: pointer; color: var(--green); width: fit-content; }
details.stations p { margin: var(--space-1) 0 0; }

/* ヘッダーの目次：PCだけ */
.header-nav { display: none; }
@media (min-width: 960px) {
  /* 右の余白は、予約するの左の余白（12px）と合わせて24pxに見えるようにする */
  .header-nav { position: relative; display: flex; gap: var(--space-5); margin-left: auto; margin-right: var(--space-3); padding: var(--space-2) 0; }
  .header-nav a { font-size: var(--fs-note); color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
  .header-nav a:hover { color: var(--green); text-decoration: underline; }
  /* 今読んでいるセクションの名前を墨の色にし、下に2pxの緑の線を置く。線は assets/site.js が作って動かす（見本 u3） */
  .header-nav a[aria-current] { color: var(--ink); }
  .header-nav a[aria-current]:hover { color: var(--green); }
  .nav-mark { position: absolute; left: 0; bottom: var(--space-1); width: 1px; height: 2px; background: var(--green); transform-origin: 0 0; opacity: 0; pointer-events: none; }
}
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .header-nav a { transition: color 200ms ease; }
  .nav-mark { transition: transform 320ms cubic-bezier(.3, .7, .2, 1), opacity 200ms ease; }
  .nav-mark.is-jump { transition: none; }
}

/* 狭い画面では、ファーストビューの要点の数字を少し小さくし、区切りを詰める */
@media (max-width: 520px) {
  .hero-facts > div { padding: 0 var(--space-4); }
  .hero-facts .big { font-size: 44px; }
  .hero-facts .unit { font-size: 16px; }
  /* 説明の小さな文字は文節（<wbr>）の切れ目でだけ改行する。「カフェ代等込み」の「み」だけが次の行に落ちないように（2026-11-15 見本 f1） */
  /* 文字の大きさの段（注 14px）の例外：この幅では 14px だと3つの数字が横に収まらないので 12px のままにする */
  .hero-facts .cap { white-space: normal; font-size: 12px; overflow-wrap: normal; }
}
/* 359px 以下（初代 iPhone SE など）では、上の指定のままだと横にはみ出すので、数字と区切りの余白をもう一段詰める */
@media (max-width: 359px) {
  .hero-facts > div { padding: 0 var(--space-3); }
  .hero-facts .big { font-size: 38px; }
}

.section .profile-link { margin: var(--space-6) 0 0; font-size: var(--fs-body); }

.promise .mincho { font-family: var(--mincho); font-weight: 500; }

/* スマホでは、写真の上の名前を Walk, / Talk, / Fork. の3行に分けて大きく置く */
@media (max-width: 639px) {
  .hero-name > span { display: block; width: fit-content; }
  .hero h1 { font-size: clamp(64px, 21vw, 96px); line-height: 1.02; }
  .hero-photo { min-height: 82vh; }
  /* この幅では index.html の <picture> が縦長に切り出した写真（assets/walk-portrait.jpg）を出すので、真ん中を基準に敷く（2回目の見本 t3 の案1） */
  .hero-photo img { object-position: 50% 50%; }
}

/* なぜ歩くのか：OpenStreetMap の神保町の道から描いた水彩の地図を横幅いっぱいに敷き、文章のカードを重ねる。ルートはカードの右に来る */
/* はみ出しは overflow: clip で隠す（hidden にするとスクロールする箱とみなされ、下のルートを描く動き（view-timeline）が働かない） */
.why-map { position: relative; overflow: clip; padding-block: var(--space-26); }
.why-map .bgmap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.why-map .wrap { position: relative; }
.why-card { max-width: 30em; padding: var(--space-10); background: rgba(244, 240, 230, .88); border-radius: var(--radius-card); }
.why-card h2 { margin-bottom: var(--space-6); }
.why-card p { margin: 0; }
.map-credit { position: absolute; right: var(--space-3); bottom: var(--space-1); margin: 0; font-size: var(--fs-note); color: var(--ink-soft); }
.map-credit a { color: inherit; }
@media (max-width: 959px) {
  /* 狭い画面では、カードの下にルートのまわりを切り出して見せる。
     900〜959px で地図を後ろに敷くと出発点の丸がカードの陰に隠れるので、境目は 960px にする（index.html の切り出しのスクリプトも同じ） */
  .why-map { display: flex; flex-direction: column; padding-block: var(--space-18) 0; }
  .why-map .wrap { order: 1; }
  .why-map .bgmap { order: 2; position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; margin-top: var(--space-6); }
  .why-map .bgmap { -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
  .why-card { padding: 0; background: none; max-width: none; }
  .why-map .map-credit { order: 3; position: static; text-align: right; padding: 0 var(--space-4) var(--space-2); }
}

/* 明朝の見出しの字詰め：かなと「、」のまわりの空きを palt で詰め、詰めすぎないよう字間を少し広げる（見本 t1） */
.hero-sub, .section h2, .voices li, .legal h1, .legal h2 { font-family: var(--mincho-palt); font-feature-settings: "palt"; }
.hero-sub, .legal h1, .legal h2 { letter-spacing: .06em; }
.section h2 { letter-spacing: .08em; }
.voices li { letter-spacing: .05em; }
/* 本文では、行の頭にくる「や（の前の空きをなくす（Chrome 123 以降。ほかのブラウザでは今と同じ） */
@supports (text-spacing-trim: trim-start) { body { text-spacing-trim: trim-start; } }

/* ページの移動：同じサイトの中でページを移るとき、前のページが薄れて次のページが重なって現れる（見本 u2。4つのページ共通） */
/* 上のヘッダーには名前を付けて止めたままにし、その下の本文だけを、前のページが薄れたあと少し上がりながら現れるようにする（2026-11-15 見本 b5 の案1）。
   フッターには名前を付けない（ページごとに長さが違い、付けると前の位置から次の位置へ滑って見えるため）。
   PCのトップのヘッダーには目次があり規約ページにはないので、ヘッダーの中の目次だけは標準の動きで薄れて入れ替わる。
   対応しないブラウザと動きを減らす設定の人には、今までどおり動きなしでページが切り替わる */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-old(root) { animation: page-fade-out 180ms ease both; }
  ::view-transition-new(root) { animation: page-rise 320ms cubic-bezier(.2, .7, .2, 1) 60ms both; }
}
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-rise { from { opacity: 0; transform: translateY(14px); } }

/* ファーストビュー：開いたときに1回だけ、少し大きく映っていた写真がゆっくり元に戻り、
   名前の3語が Walk, Talk, Fork. の順に1語ずつ現れ、サブタイトルと予約ボタンが続く。2秒ほどですべてそろう（見本 m3）。
   動きを減らす設定の人と、アニメーションに対応しないブラウザでは、最初からすべて見えている */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: hero-settle 2.4s cubic-bezier(.22, .61, .36, 1) both; }
  .hero-name > span, .hero-sub, .hero-over .btn { animation: hero-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-name > span:nth-child(1) { animation-delay: .25s; }
  .hero-name > span:nth-child(2) { animation-delay: .55s; }
  .hero-name > span:nth-child(3) { animation-delay: .85s; }
  .hero-sub { animation-delay: 1.2s; }
  .hero-over .btn { animation-delay: 1.5s; }
}
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 見出しと本文：セクションの見出しが画面に入るときに下から12pxだけ上がりながら現れ、続く要素が少し遅れて同じように現れる（見本 m6）。
   スクロールに合わせて動く（Chrome 115+、Safari・iOS 26+、Firefox 159+）。ほかのブラウザと動きを減らす設定の人には、最初からすべて見えている。
   ほかの動きと重ねないよう、なぜ歩くのか（地図）・3時間の流れの動詞から下・料金の切符・最後の予約欄には当てない */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .section:not(.why-map, .closing) > .wrap > h2 {
      animation: reveal-rise linear both; animation-timeline: view();
      animation-range: cover 16px cover 136px;   /* 見出しの上端が、画面の下の端から16px〜136pxの間にある間に現れる */
    }
    .section:not(.why-map, .closing, #flow) > .wrap > h2 ~ :not(.ticket-wrap),
    #flow > .wrap > h2 + .flow-note {
      animation: reveal-rise linear both; animation-timeline: view();
      animation-range: cover 56px cover 176px;   /* 見出しより40px分あとから */
    }
  }
}
@keyframes reveal-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* よくある質問：答えの欄の高さを0から本来の高さまで動かし、少し遅れて文字を濃くする（見本 u1）。
   interpolate-size と ::details-content が使えるブラウザ（Chrome 131+）だけ。ほかと動きを減らす設定の人は、今と同じく一瞬で開閉する */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      block-size: 0; opacity: 0; overflow-y: clip;
      transition:
        block-size 320ms cubic-bezier(.2, .7, .2, 1),
        opacity 260ms ease,
        content-visibility 320ms allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; opacity: 1; }
    .faq summary::after { transition-duration: 320ms; transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
  }
}

/* なぜ歩くのか：スクロールに合わせて、地図の緑のルートを出発点から描く（見本 m1）。
   出発点の丸が現れ、線がゴールまで伸び（地図が画面の真ん中に来たときに描き終わる）、着いたところでゴールの輪が現れる。
   クラス名と pathLength="1" は tools/make_osmmap.py が付ける。動くのは線と2つの丸だけで、文章のカードは動かない。
   スクロールに合わせて動く（Chrome 115+、Safari・iOS 26+、Firefox 159+）。ほかのブラウザと動きを減らす設定の人には、最初からルートが全部見えている */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .why-map .bgmap { view-timeline: --why-map block; }
    .map-start {
      transform-box: fill-box; transform-origin: center;
      animation: map-start linear both; animation-timeline: --why-map;
      animation-range: entry 25% entry 40%;
    }
    .map-route {
      stroke-dasharray: 1; stroke-dashoffset: 0;
      animation: map-draw linear both; animation-timeline: --why-map;
      animation-range: entry 40% cover 50%;
    }
    .map-goal {
      transform-box: fill-box; transform-origin: center;
      animation: map-goal linear both; animation-timeline: --why-map;
      animation-range: cover 50% cover 56%;
    }
  }
}
@keyframes map-start { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes map-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes map-goal { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.18); } 100% { opacity: 1; transform: none; } }

/* 3時間の流れ：読み進めると、話す・選ぶの動詞が薄い色から1つずつ墨の色になり、Walk, Talk, Fork. の語と点が続く。
   左の線は 0:00 から 3:00 まで伸びる（見本 m2）。最初の「歩く」は、はじめから墨の色。
   位置はどれも画面の真ん中（50vh）から決める。一覧の上端が真ん中に来たとき 0:00、下端が真ん中に来たとき 3:00。
   スクロールに合わせて動く（Chrome 115+、Safari・iOS 26+、Firefox 159+）。ほかのブラウザと動きを減らす設定の人には、3つとも墨の色で、線も 3:00 まで伸びている */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .verbs { view-timeline: --flow-list block; }
    .verbs::after {
      animation: flow-fill linear both; animation-timeline: --flow-list;
      animation-range: cover 50vh cover calc(100% - 50vh);
    }
    /* 各段：上端が「真ん中より120px下」から「真ん中より20px上」へ進む間に墨になる */
    .verbs li { view-timeline: --flow-step block; }
    .verbs li:not(:first-child) .verb .jp { animation: flow-ink linear both; animation-timeline: --flow-step; animation-range: cover calc(50vh - 120px) cover calc(50vh + 20px); }
    .verbs li:not(:first-child) .verb .en { animation: flow-en linear both; animation-timeline: --flow-step; animation-range: cover calc(50vh - 60px) cover calc(50vh + 40px); }
    .verbs li:not(:first-child) .verb::before { animation: flow-dot linear both; animation-timeline: --flow-step; animation-range: cover calc(50vh - 30px) cover calc(50vh + 20px); }
  }
}
@keyframes flow-fill { from { transform: scaleY(0); } to { transform: none; } }
@keyframes flow-ink { from { opacity: .25; } to { opacity: 1; } }
@keyframes flow-en { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes flow-dot { from { background-color: var(--paper); } to { background-color: var(--green); } }

/* 料金と約束：切符が画面に入ると、半券と本券の境の切り取り線をまたいで、緑のインクの丸い判子が押される（見本 m4）。
   駅の記念スタンプのように、真ん中に「歩」、縁に Walk, Talk, Fork. と三時間。金額・ボタン・文字には重ならない。
   広い画面（横並び）：縦の切り取り線の上で、ボタンと同じ高さ。印の中心は線より12px半券側で、本券側には30pxだけかかる（「場所」などの見出しは線から40px）。
   狭い画面（縦積み）：横の切り取り線の右寄り（右のくぼみから離して右から32px）。下は「3時間」の行の右の空き。
   金額やボタンの文字の大きさを変えたときは、印の位置を見直す */
.ticket .stub { position: relative; }
.stub-act { position: relative; margin-top: var(--space-8); }
.ticket .stub .stub-act .btn { margin-top: 0; }
.seal {
  position: absolute; z-index: 1; right: -70px; top: 50%; margin-top: -42px; width: 84px; height: 84px;
  color: var(--green); opacity: .9; mix-blend-mode: multiply; transform: rotate(-8deg); pointer-events: none; overflow: visible;
}
.seal text { font-family: var(--mincho); font-weight: 500; fill: currentColor; }
.seal .ring-en { font-size: 14.5px; letter-spacing: 0; }
.seal .ring-ja { font-size: 14px; letter-spacing: 3px; }
.seal .center { font-size: 44px; }
@media (max-width: 859px) {
  .stub-act { position: static; }
  /* 右のくぼみ（半径14px）と重ならないよう、右から32pxに置く（2回目の見本 s3） */
  .seal { top: auto; bottom: -54px; right: var(--space-8); margin: 0; width: 74px; height: 74px; }
}
/* 動き：印が画面に入ると（assets/site.js が .play を付ける）、少し遅れて、大きく傾いた状態から縮みながら止まり、インクが濃くなる。
   押した瞬間に切符がわずかに沈む（:has() が使えるブラウザだけ）。動きを減らす設定の人と JS が動かないときは、最初から押された状態 */
@media (prefers-reduced-motion: no-preference) {
  /* JS が動くときだけ（site.js が html に .js-play を付ける）、押す前の印を隠しておく。押された印が一度見えてから消えて押し直されるのを防ぐ */
  .js-play .seal:not(.play) { opacity: 0; }
  .seal.play { animation: seal-stamp .44s .45s both; }
  .seal.play .ink { animation: seal-inking .7s .72s ease-out both; }
  .ticket:has(.seal.play) { animation: ticket-press .32s .7s ease-out both; }
}
@keyframes seal-stamp {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.35); animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  60% { opacity: .9; transform: rotate(-8deg) scale(.97); animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  100% { opacity: .9; transform: rotate(-8deg) scale(1); }
}
@keyframes seal-inking { from { opacity: .55; } to { opacity: 1; } }
@keyframes ticket-press { 0% { transform: none; } 35% { transform: translateY(1.5px); } 100% { transform: none; } }

.promise a.mincho { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }

/* 言語化レポートの見本（2回目の見本 s2。紙面は 2026-11-15 読みやすさの見本 r2 の案B「番号と見出しの列」、並べ方は 2026-11-16 の見本の案B「左に説明、右に紙」）：
   「料金と約束」のすぐ後ろの、淡い緑（--wash-3）の地の帯。
   前後の帯（料金と約束の生成り・よくある質問の濃い生成り）と地の色が違うので、料金の話と見本の話の区切りが分かる。
   紙の右の書き込みは 2026-11-16 になくした。紙はどの幅でも1枚の白い箱（.report-sheet）。
   PC（900px以上）：見出しの下を2列にし、左の列（15文字分、.report-side）に説明・6つの項目の一覧・架空の断り書き、右の列に紙。
     左の列は紙を読むあいだヘッダーの下に止まる（画面の高さが720px以上のときだけ。左の列は約600pxの高さがあり、ヘッダーの下80pxから止めると下の端が約680pxに来る。それより低い画面では断り書きが隠れたままになるので止めない）。
     止めるために、帯から左の列までの箱には overflow: hidden を付けない。
   900px未満：左の列の箱をなくし（display: contents）、説明 → 項目の一覧 → 紙 → 断り書きの順に縦に並べる。一覧はスマホで2列、640px以上で3列。
   スマホ（767px以下）：assets/site.js が .is-folded を付けると「進みたい方向」までと5の頭（薄くして切る）を見せ、紙の中の「続きを読む」でその場に広げる。
     JS が動かないときは最初から全文。.is-folded はどの幅でも付くが、畳む指定は767px以下の画面（@media screen）だけなので、PCと印刷ではいつも全文 */
.report-band { background: var(--wash-3); }
.report-band h2 { margin-bottom: var(--space-4); }
.report-body { display: flex; flex-direction: column; }
.report-side { display: contents; }
.section .report-lead { order: 1; max-width: 34em; margin: 0 0 var(--space-6); }
.report-toc { order: 2; margin-bottom: var(--space-10); }
.report-main { order: 3; min-width: 0; }
.section .report-caption { order: 4; margin: var(--space-6) 0 0; font-size: var(--fs-note); color: var(--ink-soft); }

/* 項目の一覧：番号と項目名。押すと紙のその項目へ移る（たたんだ紙の5・6なら、assets/site.js が先に広げる） */
.section .report-toc p { margin: 0 0 var(--space-2); font-size: var(--fs-note); line-height: 1.75; color: var(--ink-soft); }
.report-toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: var(--space-4); }
.report-toc li { border-top: 1px solid var(--line); }
.report-toc a { display: flex; align-items: baseline; gap: var(--space-2); min-height: 44px; padding: var(--space-2) 0; color: var(--ink); text-decoration: none; font-family: var(--mincho-palt); font-feature-settings: "palt"; font-weight: 500; font-size: var(--fs-body); line-height: 1.6; letter-spacing: .04em; white-space: nowrap; }
.report-toc a:hover span:last-child { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.report-toc .toc-num { flex: none; min-width: .8em; font-family: var(--mincho); font-size: var(--fs-sub); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; font-feature-settings: "palt" 0; }
@media (min-width: 640px) {
  .report-toc ol { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); grid-auto-flow: row; column-gap: var(--space-6); }
}
@media (min-width: 900px) {
  .report-body { display: grid; grid-template-columns: 15em minmax(0, 1fr); column-gap: var(--space-10); align-items: start; }
  .report-side { display: block; }
  .section .report-lead { margin-bottom: var(--space-8); }
  .report-toc { margin-bottom: 0; }
  .report-toc ol { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .report-toc li:last-child { border-bottom: 1px solid var(--line); }
  .report-toc a { min-height: 0; padding: var(--space-3) 0; }
  .report-sheet { --head-col: 8em; --head-gap: var(--space-5); }
}
@media (min-width: 900px) and (min-height: 720px) {
  .report-side { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
}

/* 紙：1枚の白い紙。--sheet-px は紙の左右の余白、--part-gap は項目のあいだの線の上と下の空き。
   紙の文字の幅が480px以上のときは、項目ごとに紙の中を2列にし、左の列（9文字分。PCの左の列があるときは8文字分）に緑の番号と見出し、右の列に中身を置く。
   それより狭いとき（画面の幅が552px未満と900〜903px）は、番号と見出しを1行に並べ、中身はその下。552〜899pxと904px以上は2列。紙の幅は入れ物の問い合わせ（container）で見る */
.report-sheet { --sheet-px: var(--space-5); container: paper / inline-size; position: relative; padding: 0 var(--sheet-px) var(--space-8); background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sheet); }
@media (min-width: 640px) { .report-sheet { --sheet-px: var(--space-10); padding-bottom: var(--space-10); } }
.report-sheet > * { --part-gap: var(--space-6); }
.report-head { padding-top: var(--space-8); }
.report-head-in { padding-bottom: var(--space-4); border-bottom: 1px solid var(--ink); }
.report-part { position: relative; padding-top: calc(var(--part-gap) * 2); scroll-margin-top: var(--space-4); }
.report-part::before { content: ""; position: absolute; top: var(--part-gap); left: 0; right: 0; border-top: 1px solid var(--line); }
.report-head + .report-part { padding-top: var(--space-8); }
.report-head + .report-part::before { display: none; }
.report-part:focus { outline: none; }
@container paper (min-width: 480px) {
  .report-sheet > * { --part-gap: var(--space-8); }
  .report-head { padding-top: var(--space-10); }
  .report-part { display: grid; grid-template-columns: var(--head-col, 9em) minmax(0, 1fr); column-gap: var(--head-gap, var(--space-6)); align-content: start; }
  .report-part > * { grid-column: 2; }
  .report-sheet .report-part > h3 { grid-column: 1; grid-row: 1 / span 4; display: block; margin: 0; padding-top: 3px; font-size: 17px; line-height: 1.6; letter-spacing: .04em; }
  .report-sheet .report-part > h3 .doc-num { display: block; margin-bottom: var(--space-2); font-size: 30px; }
}
/* 紙より下に見えているもの（「続きを読む」と、900px未満で紙の下に並べた断り書き。断り書きは HTML では紙より前にある）は、
   画面の位置を保つ目印（スクロールの固定）に使わせない。使うと、広げたときに続きが入ったぶんページが下へ飛ぶ */
.report-unfold { display: none; padding-top: var(--space-2); text-align: center; overflow-anchor: none; }
.report-band .report-caption { overflow-anchor: none; }
@media screen and (max-width: 767px) {
  .report-sheet.is-folded .report-rest:not(.report-peek) { display: none; }
  .report-sheet.is-folded .report-peek { max-height: 150px; overflow: hidden; pointer-events: none; user-select: none;
    -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); }
  .report-sheet.is-folded .report-unfold { display: block; }
}
.report-more-btn {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-md);
  border: 1px solid var(--green); background: var(--white); color: var(--green-dark);
  font-family: var(--gothic); font-size: var(--fs-body); font-weight: 500; letter-spacing: .04em; white-space: nowrap; cursor: pointer;
}
.report-more-btn:hover { background: var(--wash-1); }
.report-more-btn svg { flex: none; }

/* 「続きを読む」で広げるとき（2回目の見本 s1「持ち上がる動きだけ」）：紙がそのまま下へ伸びて、続きが現れる。
   同じページの中の view transition（assets/site.js が紙に名前 report-sheet を付けて広げる）。紙の箱の高さをブラウザが前後の姿のあいだで埋め、
   伸びる紙の外にはみ出した続きは切り落として見せない。前後の姿を長く重ねると文字が二重に見えるので、入れ替わりは真ん中の短い間だけにする。
   紙の外（ページのほかの所）は、ページの移動の薄れる動き（下の「ページの移動」）を使わず、その場で切り替える。
   対応しないブラウザと動きを減らす設定の人には、一瞬で広がる */
@media (prefers-reduced-motion: no-preference) {
  html.is-unfolding::view-transition-old(root), html.is-unfolding::view-transition-new(root) { animation: none; }
  ::view-transition-group(report-sheet) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  ::view-transition-image-pair(report-sheet) { overflow: clip; }
  ::view-transition-old(report-sheet) { animation: sheet-out 420ms linear both; }
  ::view-transition-new(report-sheet) { animation: sheet-in 420ms linear both; }
}
@keyframes sheet-out { 0%, 32% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes sheet-in { 0%, 30% { opacity: 0; } 55%, 100% { opacity: 1; } }

/* レポートの紙面（紙の余白と、見出しの下の墨の線・項目のあいだの線は、上の .report-sheet・.report-part で決める）。
   見出しは墨の明朝で、緑の番号を添える。引用・進みたい方向・問いの文は17pxの明朝にして見出しと大きさを分ける。
   箇条書きは、項目と項目のあいだを、1つの項目の中の行のあいだの約2倍にする。黒丸と番号は深い緑 */
.report-doc { font-size: var(--fs-body); line-height: 1.9; }
.report-doc p { margin: 0; }
.report-doc .doc-title { font-family: var(--mincho); font-weight: 500; font-size: var(--fs-large); line-height: 1.4; letter-spacing: .08em; }
.report-doc .doc-meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: var(--space-2) 0 0; font-size: var(--fs-note); color: var(--ink-soft); letter-spacing: .04em; }
.report-doc .doc-meta span { white-space: nowrap; }
.report-doc .doc-to { margin: var(--space-3) 0 0; font-family: var(--mincho); font-weight: 500; font-size: var(--fs-body); }
.report-doc h3 { display: flex; align-items: baseline; gap: var(--space-3); margin: 0 0 var(--space-3); font-family: var(--mincho-palt); font-feature-settings: "palt"; font-weight: 500; font-size: var(--fs-sub); line-height: 1.55; letter-spacing: .05em; color: var(--ink); text-wrap: balance; }
/* 番号：見出しの字詰め（palt）は数字には効かせず、幅をそろえる */
.report-doc .doc-num { flex: none; font-family: var(--mincho); font-weight: 500; line-height: 1; color: var(--green); letter-spacing: 0; font-variant-numeric: tabular-nums; font-feature-settings: "palt" 0; }
.report-doc h3 .doc-num { font-size: 24px; }
.report-doc .doc-lead { margin-bottom: var(--space-3); font-size: var(--fs-note); line-height: 1.75; color: var(--ink-soft); }
.report-doc ul, .report-doc ol { margin: 0; padding-left: 1.25em; }
.report-doc li { padding: 0; line-height: 1.8; }
.report-doc li + li { margin-top: var(--space-3); }
.report-doc li::marker { color: var(--green); }
.report-doc .doc-quotes { list-style: none; padding: 0; }
.report-doc .doc-quotes li { padding-left: 1em; text-indent: -1em; font-family: var(--mincho); font-weight: 500; font-size: 17px; line-height: 1.8; }
.report-doc .doc-quotes li + li { margin-top: var(--space-4); }
.report-doc .doc-dir, .report-doc .doc-q { font-family: var(--mincho); font-weight: 500; font-size: 17px; line-height: 1.85; }
.report-doc .doc-exp { padding-left: 1.5em; }
.report-doc .doc-exp li + li { margin-top: var(--space-4); }
.report-doc .doc-exp li::marker { font-variant-numeric: tabular-nums; }
.report-doc .doc-due { display: block; margin-bottom: 2px; font-size: var(--fs-note); line-height: 1.6; color: var(--green-dark); font-weight: 500; letter-spacing: .04em; }
/* ルビ：読みを字の真上に詰めて置き（字の幅いっぱいに散らさない）、行の間を広げない。読みは上の行とのあいだの空きに収める。
   ruby を inline-block にして rt を外に出すやり方は、ルビを CSS の display: ruby で組むブラウザ（Chrome 121+・Firefox・Safari 18.2+）でだけ使う。
   それより古いブラウザでは、ふつうのルビ（上の ruby・rt の指定）のまま、読みを真ん中に寄せるだけにする */
.report-doc ruby { ruby-align: center; }
@supports (display: ruby) {
  .report-doc ruby { display: inline-block; position: relative; text-indent: 0; }
  .report-doc rt { display: block; position: absolute; left: -1em; right: -1em; bottom: calc(100% - .42em); text-align: center; white-space: nowrap; font-size: 10px; }
}
.report-doc .doc-sign { margin-top: var(--space-3); text-align: right; font-family: var(--mincho); font-weight: 500; }

/* 歩いた人の声（見本 c2）：受けた人の短い言葉を、紙のメモのように少しずらして並べる。
   index.html では、実際の声が2〜3件集まり載せる許可をもらうまで、節ごとコメントにして出していない。
   「こんなときに」の .voices とは別のもの */
.testimonial-list { display: grid; gap: var(--space-6); max-width: 34em; margin: 0; padding: 0; list-style: none; }
.testimonial { margin: 0; padding: var(--space-6) var(--space-6) var(--space-5); background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-page); }
.testimonial-list > li:nth-child(1) .testimonial { transform: rotate(-.5deg); }
.testimonial-list > li:nth-child(2) { margin-left: 6%; }
.testimonial-list > li:nth-child(2) .testimonial { transform: rotate(.6deg); }
.testimonial-list > li:nth-child(3) { margin-left: 2%; }
.testimonial-list > li:nth-child(3) .testimonial { transform: rotate(-.3deg); }
@media (min-width: 720px) {
  .testimonial-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); max-width: none; align-items: start; }
  .testimonial-list > li:nth-child(2) { margin-left: 0; margin-top: var(--space-8); }
  .testimonial-list > li:nth-child(3) { margin-left: 0; margin-top: var(--space-3); }
  .testimonial-list > li:nth-child(1) .testimonial { transform: rotate(-1deg); }
  .testimonial-list > li:nth-child(2) .testimonial { transform: rotate(.8deg); }
  .testimonial-list > li:nth-child(3) .testimonial { transform: rotate(-.4deg); }
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-family: var(--mincho); font-weight: 500; font-size: var(--fs-sub); line-height: 1.85; }
.testimonial figcaption { margin-top: var(--space-4); font-size: var(--fs-note); line-height: 1.7; color: var(--ink-soft); }


/* 印刷：よくある質問の答えまで読める形にする（見本 b4）。閉じている質問は開き（::details-content が使えるブラウザは CSS で、
   ほかは assets/site.js が印刷の前に開いて後で戻す）、言語化レポートの見本は続きまで全部出し（畳む指定を画面だけにしているので、印刷では何もしなくても全文。紙の中の2列も画面と同じ決まり）、最後の予約欄は緑の地をやめて墨の文字にし、予約ページの URL を添える。
   固定の予約ボタン・目次・地図・最後の予約欄の道・フッターの名前・判子などの飾りは印刷しない。動きは止めて、最後の姿で印刷する */
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sticky-cta, .header-nav, .header-cta, .bgmap, .map-credit, .closing-map, .footer-mark, .seal, .report-unfold { display: none !important; }
  body { background: none; }
  .site-header, .report-side { position: static; }
  .closing, .closing h2 { background: none; color: var(--ink); }
  .closing .btn { background: none; box-shadow: none; color: var(--green-dark); white-space: normal; }
  .closing .btn::after { content: "（" attr(href) "）"; }
  .section.closing .cta-note { color: var(--ink); }
  .site-footer.is-band { background: none; color: var(--ink-soft); padding-top: var(--space-6); }
  .site-footer.is-band a { color: var(--ink-soft); }
  .faq details::details-content { content-visibility: visible; block-size: auto; opacity: 1; }
}
