/*
Theme Name: 優尊
Theme URI: https://yuson.info/
Description: 株式会社優尊（ゆうそん）のサイト用テーマ。章ごとに地（色・画像）が変わり、境目を霞で区切り、本文は白生地の箱に入れる構成。
Version: 0.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: yuson
*/

/* ─────────────────────────────────────────────
   正本のデザイン: design/chapters.html（デザイン案 v2「絵巻の構成」）
   仕組みの要点:
     画像の章 … clip-path: inset(0) の中で画像を position: fixed。画面に留まり、境目で次の章の画像に入れ替わる
                🔴 祖先に transform を付けると fixed の基準が変わって壊れる
     霞       … 絵巻で場面を区切る横長の雲。章の地の色で前の章へはみ出す。左右は overflow-x: clip で切る
     箱       … 白生地の一反（assets/img/kiji.jpg の織り目＋両端に耳）
   ───────────────────────────────────────────── */
:root {
  --geppaku: #EEF1EF;      /* 月白: 色の章 */
  --usunezumi: #DCE2DC;    /* 薄鼠: 色の章（連絡先） */
  --shironeri: #F8F9F7;    /* 白練: 暗い地の上の文字 */
  --kiji: #F6F7F4;         /* 白生地: 本文の箱 */
  --aizumi: #1D2830;       /* 藍墨: 文字・フッター */
  --ai: #28476A;           /* 藍: 差し色・ボタン */
  --ai-deep: #1B324C;      /* 濃藍: 色の章 */
  --rikyu: #6F786C;        /* 利休鼠: 補足 */
  --rikyu-line: #C9CFC8;   /* 利休鼠の薄: 罫 */
  --kariyasu: #B3953A;     /* 刈安: 章の数字 */
  --kariyasu-lt: #E6D9A8;  /* 刈安の淡: 暗い地の上の数字 */
  --shu: #C8452C;          /* 朱: 公開前の「仮」の印 */

  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;

  --fs-cap: 0.8125rem;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.625rem, 1.15rem + 1.8vw, 2.375rem);
  --fs-catch: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);

  --wide: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --head-h: 4.25rem;
  --adminbar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--geppaku);
  color: var(--aizumi);
  font-family: var(--gothic);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--kariyasu); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ログイン中は管理バーの分だけ下げる */
body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }

/* ── 公開前の「仮」の印（functions.php の YUSON_PROOF で出し分け）── */
.dummy { text-decoration: underline dashed var(--shu); text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.dummy::after {
  content: "仮"; display: inline-block;
  font-family: var(--gothic); font-size: 0.625rem; font-weight: 700; line-height: 1; letter-spacing: 0;
  color: #fff; background: var(--shu); padding: 0.15em 0.3em; margin-inline-start: 0.3em;
  vertical-align: 0.35em; border-radius: 2px;
}

/* ── ヘッダー: 画像の上では透明、流れたら月白 ── */
.site-head {
  position: fixed; top: var(--adminbar); left: 0; right: 0; z-index: 20;
  padding-inline: var(--gutter);
  color: var(--shironeri);
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.site-head::before {
  content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(10, 18, 26, 0.5), rgba(10, 18, 26, 0));
  transition: opacity 0.35s ease;
}
.site-head.is-solid { background: rgba(238, 241, 239, 0.95); color: var(--aizumi); box-shadow: 0 1px 0 var(--rikyu-line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-head.is-solid { background: rgba(238, 241, 239, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.site-head.is-solid::before { opacity: 0; }
.site-head__in {
  max-width: var(--wide); margin-inline: auto; min-height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { color: inherit; text-decoration: none; display: flex; align-items: baseline; gap: 0.625rem; }
.logo__mark { font-family: var(--mincho); font-weight: 700; font-size: 1.625rem; letter-spacing: 0.12em; line-height: 1; }
.logo__sub { font-size: var(--fs-cap); letter-spacing: 0.08em; opacity: 0.85; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; }
.nav a { color: inherit; text-decoration: none; padding-block: 0.25rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { border-bottom-color: var(--kariyasu); }
.nav .tel-btn {
  background: var(--ai); color: var(--shironeri); border: 0; border-radius: 3px;
  padding: 0.45rem 0.9rem; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
}
@media (max-width: 40rem) {
  :root { --head-h: 5rem; }
  .site-head__in { flex-wrap: wrap; align-content: center; row-gap: 0.1rem; }
  .logo__sub { display: none; }
  .nav { flex: 1 1 100%; gap: 1.25rem; font-size: 0.875rem; }
  .nav .tel-btn { margin-inline-start: auto; padding: 0.3rem 0.75rem; }
  .nav .tel-btn span { display: none; }
}

/* ── 画像の章: 画像を画面に留め、この枠の中だけに見せる ── */
.hero, .chapter { position: relative; clip-path: inset(0); color: var(--shironeri); }
.bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh;
  background-color: var(--ai-deep);
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.scrim { position: absolute; inset: 0; pointer-events: none; }
.chapter .scrim { position: fixed; background: rgba(10, 18, 26, 0.3); }

/* ダミー画像の札（本番の写真が入ったら出さない） */
.ph-note {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 2.75rem;
  max-width: calc(100% - 2 * var(--gutter));
  font-size: 0.6875rem; line-height: 1.5; letter-spacing: 0.02em;
  color: var(--aizumi); background: rgba(248, 249, 247, 0.9);
  padding: 0.25rem 0.55rem; border-left: 3px solid var(--shu);
}
.hero > .ph-note { bottom: auto; top: calc(var(--adminbar) + var(--head-h) + 0.75rem); }

/* ── 冒頭 ── */
.hero { min-height: min(92svh, 58rem); display: flex; }
.hero .scrim {
  background:
    linear-gradient(0deg, rgba(10, 18, 26, 0.62) 0%, rgba(10, 18, 26, 0) 50%),
    linear-gradient(270deg, rgba(10, 18, 26, 0.45) 0%, rgba(10, 18, 26, 0) 40%);
}
.hero__in {
  position: relative; z-index: 1; width: 100%; max-width: var(--wide); margin-inline: auto;
  padding-inline: var(--gutter); padding-block: calc(var(--head-h) + 3rem) clamp(3.5rem, 7vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem;
}
.catch {
  grid-column: 2; grid-row: 1 / span 2; align-self: start;
  writing-mode: vertical-rl;
  font-family: var(--mincho); font-weight: 600; font-size: var(--fs-catch);
  line-height: 1.55; letter-spacing: 0.2em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.catch em { font-style: normal; color: var(--kariyasu-lt); }
.hero__foot { grid-column: 1; grid-row: 2; align-self: end; display: flex; flex-direction: column; gap: 1.25rem; max-width: 30rem; }
.hero__lead { font-size: var(--fs-lead); line-height: 2; text-wrap: pretty; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
@media (max-width: 40rem) {
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-block-start: calc(var(--head-h) + 3.25rem); gap: 1.75rem; }
  .catch { grid-column: 1; grid-row: 1; justify-self: end; font-size: 2.125rem; }
  .hero__foot { grid-row: 2; }
}

/* 下げ札 */
.tags { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.tag {
  position: relative; min-width: 9.5rem;
  background: var(--shironeri); color: var(--aizumi);
  padding: 0.8rem 1.1rem 0.7rem 1.9rem;
  clip-path: polygon(0.9rem 0, 100% 0, 100% 100%, 0.9rem 100%, 0 50%);
}
.tag::before {
  content: ""; position: absolute; left: 0.85rem; top: 50%; width: 0.45rem; height: 0.45rem; margin-top: -0.225rem;
  border-radius: 50%; background: var(--ai-deep); box-shadow: 0 0 0 1.5px var(--kariyasu);
}
.tag__label { display: block; font-size: 0.75rem; color: var(--rikyu); letter-spacing: 0.06em; }
.tag__num { font-family: var(--mincho); font-weight: 700; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tag__num small { font-size: 0.9375rem; margin-inline-start: 0.15rem; }

/* ── 色の章 ── */
.field { position: relative; background: var(--fbg); color: var(--ftext); }
.field--geppaku { --fbg: var(--geppaku); --ftext: var(--aizumi); }
.field--ai { --fbg: var(--ai-deep); --ftext: var(--shironeri); }
.field--nezumi { --fbg: var(--usunezumi); --ftext: var(--aizumi); }
.field__in {
  position: relative; max-width: var(--wide); margin-inline: auto;
  padding-inline: var(--gutter); padding-block: clamp(4.5rem, 10vw, 7.5rem);
}
.field__in--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

/* 霞: 下段の帯は章の縁に接し、上段の帯は必ず下段の帯の上に載せる（浮いた帯の下に前の章が細く覗かないように） */
.kasumi { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 3; pointer-events: none; overflow-x: clip; --k: clamp(1rem, 0.6rem + 1.3vw, 1.9rem); }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.kasumi i { position: absolute; display: block; height: var(--k); border-radius: 999px; background: var(--fbg); }
.kasumi i:nth-child(1) { left: -6%; width: 38%; top: calc(var(--k) * -0.9); }
.kasumi i:nth-child(2) { left: 8%; width: 20%; top: calc(var(--k) * -1.7); }
.kasumi i:nth-child(3) { left: 52%; width: 30%; top: calc(var(--k) * -0.9); }
.kasumi i:nth-child(4) { left: 60%; width: 14%; top: calc(var(--k) * -1.7); }
.kasumi i:nth-child(5) { left: 88%; width: 20%; top: calc(var(--k) * -0.9); }
.kasumi--alt i:nth-child(1) { left: -8%; width: 24%; top: calc(var(--k) * -0.9); }
.kasumi--alt i:nth-child(2) { left: 30%; width: 36%; top: calc(var(--k) * -0.9); }
.kasumi--alt i:nth-child(3) { left: 38%; width: 18%; top: calc(var(--k) * -1.7); }
.kasumi--alt i:nth-child(4) { left: 76%; width: 34%; top: calc(var(--k) * -0.9); }
.kasumi--alt i:nth-child(5) { left: 84%; width: 16%; top: calc(var(--k) * -1.7); }

/* ── 章の見出し ── */
.sect-head { display: grid; justify-items: center; text-align: center; gap: 0.6rem; margin-block-end: clamp(2rem, 5vw, 3rem); }
.sect-head--start { justify-items: start; text-align: start; }
.eyebrow { display: inline-flex; align-items: baseline; gap: 0.6rem; font-size: var(--fs-cap); font-weight: 500; letter-spacing: 0.24em; color: var(--rikyu); }
.eyebrow b { font-family: var(--mincho); font-weight: 500; font-size: 1.625rem; line-height: 1; letter-spacing: 0; color: var(--kariyasu); }
.field--ai .eyebrow, .chapter .eyebrow { color: #B9C3C9; }
.field--ai .eyebrow b, .chapter .eyebrow b { color: var(--kariyasu-lt); }
.textbox .eyebrow { color: var(--rikyu); }
.textbox .eyebrow b { color: var(--kariyasu); }
.h2 { font-family: var(--mincho); font-weight: 600; font-size: var(--fs-h2); line-height: 1.6; letter-spacing: 0.08em; text-wrap: balance; }
.chapter__in > .sect-head .h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4); }

/* ── 画像の章の中身 ── */
.chapter__in {
  position: relative; z-index: 1; max-width: var(--wide); margin-inline: auto;
  padding-inline: var(--gutter); padding-block: clamp(6.5rem, 20svh, 12rem) clamp(7rem, 22svh, 13rem);
  display: grid;
}
.chapter__in > .textbox { width: 100%; max-width: 40rem; }
.chapter--wide .chapter__in > .textbox { max-width: 60rem; justify-self: center; }
@media (min-width: 60rem) { .chapter--start .chapter__in { justify-items: start; } }

/* ── 写真と文の左右組 ── */
.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 52rem) {
  .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .duo--flip .duo__media { order: 2; }
}

/* ── 本文の箱: 白生地の一反。両端に耳 ── */
.textbox {
  container-type: inline-size;
  position: relative;
  background: var(--kiji) url("assets/img/kiji.jpg") repeat;
  background-size: 360px 360px;
  color: var(--aizumi);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4.5vw, 3.25rem);
  box-shadow: 0 18px 50px rgba(8, 14, 20, 0.22);
}
.textbox::before, .textbox::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 4px; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(40, 71, 106, 0.42) 0 3px, transparent 3px 7px);
}
.textbox::before { left: 7px; }
.textbox::after { right: 7px; }
.field--ai .textbox { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.field__in--narrow > .textbox { max-width: 48rem; margin-inline: auto; }

.prose { display: flex; flex-direction: column; gap: 1.1rem; max-width: 36em; text-wrap: pretty; }
.sign { font-family: var(--mincho); font-size: 1.0625rem; letter-spacing: 0.1em; text-align: end; margin-block-start: 0.5rem; }

/* 写真の枠（写真が届くまでの縞） */
.ph {
  position: relative; max-width: 100%; border-radius: 2px; overflow: hidden;
  background-color: #D9DED8;
  background-image:
    repeating-linear-gradient(90deg, rgba(40, 71, 106, 0.1) 0 2px, transparent 2px 9px, rgba(40, 71, 106, 0.06) 9px 10px, transparent 10px 22px),
    repeating-linear-gradient(0deg, rgba(29, 40, 48, 0.04) 0 1px, transparent 1px 4px);
}
.ph--portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 26rem; justify-self: center; }
@media (max-width: 52rem) { .ph--portrait { max-width: 16rem; } }
.ph--offset { box-shadow: 1.1rem 1.1rem 0 -0.35rem rgba(40, 71, 106, 0.16); }
.ph .ph-note { left: 0.6rem; bottom: 0.6rem; max-width: calc(100% - 1.2rem); }

/* 売場でのご提案 */
.points { margin-block-start: 1.75rem; border-top: 1px solid var(--rikyu-line); }
.points li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rikyu-line); }
.points b { font-family: var(--mincho); font-weight: 600; color: var(--ai); letter-spacing: 0.06em; white-space: nowrap; }
@container (min-width: 26rem) { .points li { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; } }

/* 催事の進め方（本当に順番がある内容）: 狭い箱では縦一列 */
.flow li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.1rem; position: relative; padding-block: 1.1rem; padding-inline-start: 1.5rem; }
.flow li::before { content: ""; position: absolute; left: 0.3rem; top: 0; bottom: 0; width: 1px; background: var(--rikyu-line); }
.flow li::after {
  content: ""; position: absolute; left: 0.3rem; top: 1.45rem; width: 0.55rem; height: 0.55rem;
  transform: translateX(calc(-50% + 0.5px)); background: var(--kiji); border: 2px solid var(--ai); border-radius: 50%;
}
.flow__when { font-size: 0.875rem; color: var(--rikyu); line-height: 1.6; padding-block-start: 0.3rem; font-variant-numeric: tabular-nums; }
.flow__what h3 { font-family: var(--mincho); font-weight: 600; font-size: var(--fs-h3); line-height: 1.5; letter-spacing: 0.05em; margin-block-end: 0.25rem; }
.flow-note { margin-block-start: 1.75rem; font-family: var(--mincho); font-size: var(--fs-lead); letter-spacing: 0.06em; text-align: center; }
@container (min-width: 26rem) {
  .flow li { grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; padding-inline-start: 0; }
  .flow li::before { left: 7rem; transform: translateX(0.625rem); }
  .flow li::after { left: 7rem; top: 1.65rem; transform: translateX(calc(0.625rem - 50% + 0.5px)); }
  .flow__what { padding-inline-start: 0.75rem; }
}

/* お取り扱い */
.goods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block-start: 2rem; }
@container (min-width: 40rem) { .goods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.goods li { display: flex; flex-direction: column; gap: 0.5rem; }
.swatch { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 2px; overflow: hidden; background-size: cover; background-position: center; }
.swatch .ph-note { left: 0.4rem; bottom: 0.4rem; font-size: 0.625rem; padding: 0.15rem 0.4rem; }
.goods__name { font-family: var(--mincho); font-weight: 600; letter-spacing: 0.06em; line-height: 1.6; }

/* 社名 */
.name-mark { font-family: var(--mincho); font-weight: 700; font-size: clamp(4rem, 2.8rem + 5vw, 7rem); line-height: 1; letter-spacing: 0.1em; color: var(--ai); justify-self: center; }
.name-mark rt { font-family: var(--gothic); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.3em; color: var(--rikyu); }
@media (min-width: 52rem) { .name-mark { writing-mode: vertical-rl; } }
.verse { font-family: var(--mincho); font-size: var(--fs-lead); line-height: 2.2; letter-spacing: 0.06em; display: flex; flex-direction: column; gap: 0.75rem; }

/* 連絡先 */
.contact { display: grid; gap: 1.25rem; }
.contact__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.contact__label { font-size: var(--fs-cap); color: var(--rikyu); letter-spacing: 0.12em; min-width: 4rem; }
.contact__tel { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); letter-spacing: 0.06em; text-decoration: none; color: var(--ai); font-variant-numeric: tabular-nums; }
.contact__mail { font-size: var(--fs-lead); text-underline-offset: 0.25em; overflow-wrap: anywhere; }
.contact__note { font-size: 0.875rem; color: var(--rikyu); line-height: 1.8; border-top: 1px dashed var(--rikyu-line); padding-block-start: 1rem; }
.btn-call {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ai); color: var(--shironeri); text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: 3px; font-weight: 500; letter-spacing: 0.08em;
}
@media (min-width: 48rem) { .btn-call { display: none; } }

/* 会社概要 */
.profile { border-top: 1px solid var(--aizumi); }
.profile__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem; padding-block: 1.05rem; border-bottom: 1px solid var(--rikyu-line); }
.profile dt { font-weight: 500; color: var(--rikyu); font-size: 0.9375rem; letter-spacing: 0.06em; }
.profile dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@container (min-width: 30rem) { .profile__row { grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; } }

/* 固定ページの頭（会社概要・お問い合わせ・その他） */
.chapter--band { min-height: clamp(18rem, 44svh, 26rem); display: grid; align-items: end; }
.chapter--band .chapter__in { width: 100%; padding-block: calc(var(--head-h) + 3rem) clamp(3.5rem, 8vw, 5rem); }
.chapter--band .scrim { background: rgba(10, 18, 26, 0.38); }

/* 汎用ページ（page.php / index.php）の本文 */
.entry { display: flex; flex-direction: column; gap: 1.1rem; overflow-wrap: anywhere; }
.entry h2 { font-family: var(--mincho); font-weight: 600; font-size: 1.5rem; line-height: 1.6; margin-block-start: 1rem; }
.entry h3 { font-family: var(--mincho); font-weight: 600; font-size: var(--fs-h3); line-height: 1.6; }
.entry ul { list-style: disc; padding-inline-start: 1.5em; }
.entry ol { list-style: decimal; padding-inline-start: 1.5em; }
.entry a { color: var(--ai); text-underline-offset: 0.2em; }
.post-list { display: grid; }
.post-list li { border-bottom: 1px solid var(--rikyu-line); padding-block: 1rem; }
.post-list time { display: block; font-size: var(--fs-cap); color: var(--rikyu); font-variant-numeric: tabular-nums; }

/* ── フッター ── */
.site-foot { position: relative; --fbg: var(--aizumi); background: var(--fbg); color: #C9D0D4; padding-inline: var(--gutter); }
.site-foot__in { max-width: var(--wide); margin-inline: auto; padding-block: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-foot__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.site-foot .logo__mark { color: var(--shironeri); font-size: 1.375rem; }
.site-foot address { font-style: normal; font-size: 0.875rem; line-height: 1.9; margin-block-start: 0.75rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.875rem; }
.site-foot nav a { text-decoration: none; }
.site-foot small { display: block; font-size: 0.75rem; color: #8E989E; margin-block-start: 1rem; letter-spacing: 0.04em; }

.h2, .flow__what h3, .flow-note, .hero__lead { word-break: auto-phrase; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* 画像が留まる動きを止め、普通に流す */
  .bg, .chapter .scrim { position: absolute; height: 100%; }
}
