/* ==========================================================================
   OWNAXISS Design System  ──  「八十八」営業資料のトンマナに準拠
   紙: 生成り #f9f7f2 ／ 濃色: オリーブ黒 #353d33 ／ 金: #b08d5b
   見出しは明朝。面・枠・影は使わず、罫線と余白と字号で構成する。
   ========================================================================== */

:root {
  /* Color ── 営業資料から抽出した実測値 */
  --paper: #f9f7f2;
  --paper-2: #f4f0e7;
  --paper-3: #efeadf;
  --ink: #22251e;
  --ink-2: #3b3f36;
  --muted: #62615a;
  --muted-2: #6b6a5e;
  /* 文字用の金（罫・面用の --gold とは分離。紙面上 4.66:1） */
  --gold-ink: #7d5f33;
  --line: #e2ddce;
  --line-strong: #cec7b3;
  --olive: #353d33;
  --olive-deep: #2a3128;
  --olive-2: #4a5348;
  --olive-3: #5d6558;
  --gold: #b08d5b;
  --gold-2: #c9a86e;
  --gold-soft: #ede4d3;
  --cream: #ece8dd;

  /* aliases（既存コンポーネント互換） */
  --bg: var(--paper);
  --bg-soft: var(--paper-2);
  --bg-warm: var(--paper-3);
  --accent: var(--olive);
  --accent-deep: var(--olive-deep);
  --accent-soft: var(--paper-3);
  --brass: var(--gold);
  --brass-soft: var(--gold-soft);
  --danger: #8c3a2f;
  --ok: #4b6b52;

  /* Type */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Songti SC", serif;
  --font-latin: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, monospace;

  /* Metrics */
  --w-narrow: 700px;
  /* メインコンテンツの最大幅。2カラムのサービスカードが窮屈にならない範囲で
     読みやすい行幅を保つ値（2026-11-18 に 1080px → 1200px へ拡張）。 */
  --w-content: 1200px;
  --w-wide: 1280px;
  --gut: clamp(22px, 5vw, 56px);
  --sec-y: clamp(72px, 9vw, 140px);
  /* ヘッダーの高さ。SP では 900px 以下のメディアクエリで上書きする。
     ドロワーの開始位置とノッチ余白をこの1値から導くことで、
     「ヘッダーとドロワーの境界が数px ずれる」事故を防ぐ。 */
  --header-h: 78px;
  --radius: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 日本語組版：行頭禁則を厳格に適用し、語の途中で改行させない
     （「プログラ／ム」「補／完」のような1〜2文字だけの行を防ぐ） */
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, table, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

::selection { background: var(--gold-soft); color: var(--ink); }

.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;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--olive); color: var(--cream); padding: 10px 18px;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--w-content); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: var(--w-wide); }
.wrap-narrow { max-width: var(--w-narrow); }
.section { padding-block: var(--sec-y); position: relative; }
.section--soft { background: var(--paper-2); }
.section--warm { background: var(--paper-3); }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }

/* 濃色帯：営業資料の全面オリーブ */
.section--dark {
  background: var(--olive);
  color: var(--cream);
}
.section--dark .lead,
.section--dark .text-muted { color: #c9cdbf; }
.section--dark .rule { background: rgba(255, 255, 255, 0.16); }

/* 上端のヘアライン（帯の切れ目を罫線で示す） */
.section--ruled { border-top: 1px solid var(--line); }
.section--dark.section--ruled { border-top-color: rgba(255, 255, 255, 0.14); }

.grid { display: grid; gap: clamp(22px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Typography ---------- */
/* ラテンのセクションラベル（R E A L I T Y の字間） */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 500;
  line-height: 1.6;
}
.eyebrow::before { content: none; }
.section--dark .eyebrow { color: var(--gold-2); }
.section--dark .band-head__no, .section--dark .band-head__en,
.statement-band .band-head__no, .statement-band .band-head__en { color: var(--gold-2); }
.section--dark .ledger__v, .statement-band .ledger__v { color: var(--gold-2); }
.section--dark .stair__no, .statement-band .stair__no { color: var(--gold-2); }
.section--dark .ladder__no, .statement-band .ladder__no { color: var(--gold-2); }
.page-head--dark .eyebrow { color: var(--gold-2); }

.h1, .h2, .h3, .h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.045em;
  color: var(--ink);
  line-height: 1.62;
}
.section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .h4,
.page-head--dark .h1 { color: var(--cream); }

.h1 { font-size: clamp(27px, 4.1vw, 46px); line-height: 1.55; }
.h2 { font-size: clamp(23px, 3.1vw, 36px); line-height: 1.62; }
.h3 { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.7; }
.h4 { font-size: 16px; line-height: 1.75; }

.lead {
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: 0.045em;
}
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; line-height: 1.95; }
.text-xs { font-size: 12px; line-height: 1.85; letter-spacing: 0.05em; }
.serif { font-family: var(--font-serif); }
.num { font-family: var(--font-serif); font-weight: 400; }

/* 見出しブロック */
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 68px); }
.section-head .h2 { margin-top: 22px; }
.section-head p { margin-top: 22px; }
.section-head .eyebrow + .h2 { margin-top: 22px; }

.rule { height: 1px; background: var(--line); border: 0; }

/* 章番号（01 / 02 …） */
.chap-no {
  font-family: var(--font-serif);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold-ink);
}

/* ラテン大見出し（MQ = (P − V) × Q のような数式） */
.formula {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: var(--cream);
}
.formula em { font-style: normal; color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 15px 30px;
  border: 1px solid var(--olive);
  background: var(--olive); color: var(--cream);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.14em;
  border-radius: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--olive); border-color: var(--olive); }

.btn--accent { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.btn--accent:hover { background: var(--olive-deep); border-color: var(--olive-deep); }

.btn--light { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--olive-deep); }

.btn--on-dark { color: var(--cream); border-color: rgba(255, 255, 255, 0.34); }
.btn--on-dark:hover { color: #fff; border-color: var(--gold-2); background: transparent; }

.btn--sm { padding: 10px 20px; font-size: 12.5px; letter-spacing: 0.12em; }
.btn--lg { padding: 18px 38px; font-size: 14px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 6px;
  transition: border-color .2s ease, color .2s ease;
}
.textlink:hover { color: var(--gold-ink); border-color: var(--gold); }
.textlink .arrow { transition: transform .2s ease; }
.textlink:hover .arrow { transform: translateX(3px); }
.section--dark .textlink { color: var(--cream); border-color: rgba(255, 255, 255, 0.3); }
.section--dark .textlink:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 247, 242, 0.95);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  /*
   * iPhone のノッチ／Dynamic Island を避ける。
   * env() は viewport-fit=cover を指定した端末でのみ非0になり、
   * PC では常に 0 なので既存レイアウトは変わらない。
   */
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  display: block; height: 28px; width: auto;
  /* ロゴ内の金が紙面色に沈まないよう、輪郭をわずかに締める */
  filter: saturate(1.02) contrast(1.03);
}
.brand__sub {
  font-size: 11px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase;
}
.brand__jp {
  display: block; font-size: 11px; letter-spacing: 0.18em;
  color: var(--muted-2); padding-left: 13px;
  border-left: 1px solid var(--line-strong);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; font-size: 13px; font-weight: 400; letter-spacing: 0.09em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .18s ease;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .chev {
  width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); opacity: .5;
}

.nav__panel {
  position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 340px; background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a { display: block; padding: 13px 16px; }
.nav__panel a:hover { background: var(--paper-2); }
.nav__panel .pn { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.nav__panel .pd { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; letter-spacing: 0.04em; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
}
.nav-toggle span { position: relative; width: 18px; height: 1px; background: var(--ink); display: block; transition: background .1s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/*
 * 開いている間は「閉じる」ボタンとして明確に示す。
 * 深緑の面にアイボリーの×を置き、閉じた状態の細い3本線（ハンバーガー）と
 * ひと目で区別できるようにする。
 */
.nav-toggle[aria-expanded="true"] {
  background: var(--olive);
  border-color: var(--olive);
}
.nav-toggle[aria-expanded="true"]:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
}
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before,
.nav-toggle[aria-expanded="true"] span::after {
  top: 0; height: 1.5px; background: var(--cream);
}
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/*
 * スマートフォン用の全画面ドロワー。
 *  - ヘッダーの直下から画面下端までを覆い、背後は不透明なアイボリーで隠す
 *    （半透明だと背後の本文が透けて「重なって見える」ため、必ず不透明にする）
 *  - 項目が収まらない場合はドロワー内だけが縦スクロールする
 *  - 上端・下端は iPhone の Safe Area（ノッチ／ホームインジケータ）を避ける
 */
.drawer {
  display: none; position: fixed; z-index: 99;
  /*
   * 開始位置 = ヘッダーの content 高さ(--header-h) + ヘッダー下辺の罫線1px
   * + ノッチ余白。罫線はヘッダー側が持っているのでドロワー側では引かない
   * （二重線にならず、境界も 1px ずれない）。
   */
  top: calc(var(--header-h) + 1px + env(safe-area-inset-top, 0px));
  right: 0; bottom: 0; left: 0;
  background: var(--paper);
  overflow-y: auto;
  /* 端まで到達したときに背後のページへスクロールが連鎖しないようにする */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /*
   * 左右の余白は内側の .wrap が持つ（.wrap も padding-inline: var(--gut) を
   * 持つため、ここで同じ値を足すと二重になり 320px では本文幅が 232px まで
   * 狭まって CTA の文言が折り返していた。2026-11-18 実測）。
   */
  padding: 20px 0 calc(36px + env(safe-area-inset-bottom, 0px));
}
.drawer.is-open { display: block; }

/* 横向き（ノッチが左右に来る向き）でも文字がノッチに掛からないようにする */
.drawer > .wrap {
  padding-left: max(var(--gut), calc(16px + env(safe-area-inset-left, 0px)));
  padding-right: max(var(--gut), calc(16px + env(safe-area-inset-right, 0px)));
}

/*
 * 画面幅を広げたときにドロワーが残らないようにする（PC の見た目は不変）。
 * 開いたまま回転・リサイズされた場合の保険。
 */
@media (min-width: 901px) {
  .drawer, .drawer.is-open { display: none; }
}

/*
 * メニュー表示中は背後のページをスクロールさせない。
 * body の overflow:hidden は viewport に伝播するため PC／Android では
 * これだけで止まる。iOS Safari はこれだけでは本文が動くので、
 * ドロワー外から始まった touchmove を app.js 側で打ち消している。
 */
body.is-drawer-open { overflow: hidden; }
.drawer h2,
.drawer__label {
  font-size: 11px; letter-spacing: 0.3em; color: var(--gold-ink); text-transform: uppercase;
  margin: 28px 0 10px; font-family: var(--font-sans); font-weight: 500;
  line-height: 1.4;
}
/*
 * ドロワー内の素のリンク。
 * .btn を除外しているのは、.drawer a（詳細度 0,1,1）が .btn（0,1,0）に
 * 勝ってしまい display:block / padding:14px 0 を上書きし、CTA ボタンの
 * 「→」が2行目に落ちていたため（2026-11-18 実測）。
 */
.drawer a:not(.btn) {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 400; letter-spacing: 0.05em;
  font-family: var(--font-serif);
}
.drawer .sub a { font-size: 13px; padding-left: 16px; color: var(--ink-2); }
.drawer .btn { margin-top: 30px; width: 100%; }

/* ---------- Hero（表紙の構成：宣言＋写真＋罫線メタ） ---------- */
.hero {
  position: relative;
  background: var(--paper);
  padding-block: clamp(48px, 6.5vw, 96px) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: end;
}
.hero__lockup { margin-bottom: clamp(20px, 3vw, 34px); }
.hero__badge {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.9vw, 62px);
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--ink); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 1px;
  background: var(--gold);
}
.hero__sub {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 30em;
  font-size: clamp(13.5px, 1.15vw, 15px);
  line-height: 2.15;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}
.hero .btn-row { margin-top: clamp(28px, 3.6vw, 44px); }
.hero__meta {
  margin-top: clamp(34px, 4.4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.05em;
}
.hero__meta b {
  display: inline-block; color: var(--gold-ink);
  font-weight: 500; letter-spacing: 0.16em; margin-right: 10px;
  font-size: 11px; text-transform: uppercase;
}

/* アーチ型の写真（営業資料の木口写真のマスク形状） */
.hero__figure { position: relative; }
.photo-arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  aspect-ratio: 3 / 4;
  background: var(--olive);
}
.photo-arch img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}
.photo-arch--wide { border-radius: 0; aspect-ratio: 16 / 10; }
.photo-plain { overflow: hidden; background: var(--olive); }
.photo-plain img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.photo-caption {
  margin-top: 12px; font-size: 11px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase;
}

/* 全幅写真（帯として敷く） */
.photo-band {
  position: relative;
  min-height: clamp(240px, 34vw, 420px);
  background: var(--olive);
  overflow: hidden;
}
.photo-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.8) brightness(0.62);
}
.photo-band__body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  min-height: inherit;
  padding-block: clamp(48px, 7vw, 90px);
  color: var(--cream);
}
.photo-band__body .h2 { color: var(--cream); }

/* ---------- 大きな宣言（明朝2行） ---------- */
.decl {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.72;
  letter-spacing: 0.055em;
  color: var(--ink);
}
.decl--lg { font-size: clamp(27px, 4.3vw, 50px); line-height: 1.66; }
.decl--sm { font-size: clamp(19px, 2.3vw, 26px); line-height: 1.8; }
.decl-sub {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 2.05;
  color: var(--muted);
  letter-spacing: 0.06em;
  /* 版面を 1200px に広げたぶん、長文が1行70文字を超えて読みにくくならないよう
     日本語で 40〜46文字相当（≈44em）で折り返す（2026-11-18）。 */
  max-width: 44em;
}
.section--dark .decl { color: var(--cream); }
.section--dark .decl-sub { color: #c6cbbb; }
.section--dark .decl .hl { color: var(--gold-2); }

/* 章見出し（番号＋ラテン＋宣言） */
.band-head { margin-bottom: clamp(36px, 5vw, 68px); }
.band-head__top {
  display: flex; align-items: baseline; gap: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: clamp(26px, 3.4vw, 40px);
}
.section--dark .band-head__top { border-bottom-color: rgba(255, 255, 255, 0.16); }
.band-head__no {
  font-family: var(--font-serif);
  font-size: 12.5px; letter-spacing: 0.2em; color: var(--gold-ink);
  flex: 0 0 auto;
}
.band-head__en {
  font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-ink); flex: 1 1 auto;
}
.band-head__jp {
  font-size: 12px; letter-spacing: 0.12em; color: var(--muted);
  flex: 0 0 auto; text-align: right;
}
.section--dark .band-head__jp { color: #bcc1b1; }

/* ---------- Page head（下層） ---------- */
.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(30px, 4vw, 52px) clamp(46px, 6vw, 86px);
}
.page-head .h1 { font-size: clamp(25px, 3.6vw, 40px); margin-top: 26px; max-width: 22em; }
.page-head__lead { margin-top: 26px; max-width: 40em; }
.page-head__en {
  display: block; margin-top: 22px;
  font-size: 11.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-ink);
}
.page-head--dark { background: var(--olive); color: var(--cream); border-bottom: 0; }
.page-head--dark .h1 { color: var(--cream); }
.page-head--dark .lead { color: #c3c8b9; }

/* breadcrumb */
.breadcrumb { font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.1em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "—"; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--gold-ink); }
.page-head--dark .breadcrumb { color: #bcc1b1; }
.page-head--dark .breadcrumb a:hover { color: var(--gold-2); }
.page-head--dark .breadcrumb li + li::before { color: rgba(255,255,255,.24); }

/* ---------- Cards（面ではなく罫線で囲む） ---------- */
.card {
  background: transparent;
  border-top: 1px solid var(--line-strong);
  padding: clamp(24px, 3vw, 34px) 0 0;
  display: flex; flex-direction: column;
}
.card:hover { border-top-color: var(--gold); }
.card--flat { background: transparent; }
.card--soft {
  background: var(--paper-2); border: 0; padding: clamp(24px, 3vw, 34px);
}
.card--frame { border: 1px solid var(--line); padding: clamp(24px, 3vw, 34px); }
.card__no {
  font-family: var(--font-serif); font-size: 12px; color: var(--gold-ink);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.card__title {
  margin-top: 14px; font-family: var(--font-serif); font-weight: 400;
  font-size: 18px; line-height: 1.7; letter-spacing: 0.04em;
}
.card__body { margin-top: 12px; font-size: 13px; line-height: 2; color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 24px; }

/* ---------- 課題リスト（罫線＋番号） ---------- */
.pain-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.4vw, 48px);
  border-top: 1px solid var(--line);
}
.pain {
  padding-block: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
  counter-increment: pain;
}
.pain__no {
  display: block; margin-bottom: 12px;
  font-family: var(--font-serif); font-size: 11.5px;
  letter-spacing: 0.24em; color: var(--gold-ink);
}
.pain__q {
  font-family: var(--font-serif); font-size: 15.5px; line-height: 1.75;
  letter-spacing: 0.04em; position: relative; padding-left: 26px;
}
.pain__q::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--gold-ink); font-family: var(--font-sans);
}
.pain__d { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.95; padding-left: 26px; }

/* 番号付き罫線リスト（01 02 03 …） */
.list-num { border-top: 1px solid var(--line-strong); counter-reset: ln; }
.list-num__item {
  display: grid; grid-template-columns: 58px 1fr; gap: clamp(12px, 2.4vw, 28px);
  padding-block: clamp(18px, 2.2vw, 24px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.list-num__no {
  font-family: var(--font-serif); font-size: 12.5px; letter-spacing: 0.16em;
  color: var(--gold-ink); padding-top: 3px;
}
.list-num__t {
  font-family: var(--font-serif); font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75; letter-spacing: 0.04em;
}
.list-num__d { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.95; }
.section--dark .list-num,
.section--dark .list-num__item { border-color: rgba(255,255,255,.16); }
.section--dark .list-num__t { color: var(--cream); }
.section--dark .list-num__d { color: #c3c8b8; }

/* 「向いていない方」用の淡い面（営業資料 P3 右側） */
.panel-muted {
  background: var(--paper-3);
  padding: clamp(24px, 3vw, 36px);
}
.panel-muted__note { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: 0.05em; }
.panel-muted ul { margin-top: 18px; }
.panel-muted li {
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
  padding-block: 11px; border-bottom: 1px solid var(--line-strong);
}
.panel-muted li:last-child { border-bottom: 0; }

/* ---------- 2つの現実（REALITY）---------- */
.reality {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.reality__col {
  padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3vw, 40px) clamp(24px, 3vw, 34px) 0;
}
.reality__col + .reality__col {
  border-left: 1px solid rgba(255,255,255,.16);
  padding-left: clamp(22px, 3vw, 40px);
  padding-right: 0;
}
.reality__kicker {
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold-2); margin-bottom: 14px;
}
.reality__t {
  font-family: var(--font-serif); font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8; color: var(--cream); letter-spacing: 0.04em;
}
.reality__list { margin-top: 22px; }
.reality__list li {
  font-size: 13px; line-height: 1.85; color: #c6cbbb;
  padding-block: 8px; position: relative; padding-left: 22px;
}
.reality__list li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold-ink); opacity: .8;
}

/* 概念図：売上と管理体制の乖離（罫線グラフ） */
.chart-mini { margin-top: 24px; position: relative; height: 104px; }
.chart-mini svg { width: 100%; height: 100%; overflow: visible; }
.chart-mini__label {
  font-size: 11px; letter-spacing: 0.14em; color: #c3c8b8; fill: #c3c8b8;
}
.chart-mini__label--gold { fill: var(--gold-2); color: var(--gold-2); }
.fig-note {
  margin-top: 14px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2);
}
.section--dark .fig-note { color: #b4b9a9; }

/* ---------- BEFORE / AFTER 対比 ---------- */
/* 左右の対比は .split-panel で組み、.ba は縦一列の罫線リストとして使う */
.ba { border-top: 1px solid var(--line-strong); }
.ba__head {
  padding: 16px 0 14px;
  font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-ink);
  border-bottom: 1px solid var(--line);
}
.ba__row {
  display: grid; grid-template-columns: 1fr 150px;
  gap: 20px; align-items: center;
  padding-block: clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}
.ba__cell { font-size: 13.5px; line-height: 1.9; color: var(--muted); letter-spacing: 0.04em; }
.ba__key {
  font-family: var(--font-serif); font-size: clamp(19px, 2.2vw, 26px);
  letter-spacing: 0.06em; color: var(--ink); text-align: right;
}
.ba--dark { border-top-color: rgba(255,255,255,.2); }
.ba--dark .ba__head { color: var(--gold-2); border-bottom-color: rgba(255,255,255,.16); }
.ba--dark .ba__row { border-bottom-color: rgba(255,255,255,.14); }
.ba--dark .ba__cell { color: #d9dccf; }
.ba--dark .ba__key { color: var(--cream); }
/* AFTER 側は見出し語を列に持たないため1カラム */
.ba--after .ba__row { grid-template-columns: minmax(0, 1fr); }

/* 左右分割パネル（左=紙 / 右=濃色） */
.split-panel {
  display: grid; grid-template-columns: 1fr 1fr;
}
.split-panel__l { padding: clamp(30px, 4.4vw, 60px) clamp(24px, 4vw, 56px) clamp(30px, 4.4vw, 60px) 0; }
.split-panel__r {
  background: var(--olive); color: var(--cream);
  padding: clamp(30px, 4.4vw, 60px) clamp(24px, 4vw, 56px);
}
/* 版面の外へ抜ける帯は .wrap 直下に置いたときだけ。
   2カラム（.split--aside など）の中に収める場合は、
   はみ出させず列幅に収める。 */
.wrap > .split-panel > .split-panel__r {
  margin-right: calc(-1 * (var(--gut) + max(0px, (100vw - var(--w-content)) / 2)));
  padding-right: max(clamp(24px, 4vw, 56px), calc((100vw - var(--w-content)) / 2 + var(--gut)));
}

/* ---------- Steps / 階段図 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.step { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.step:nth-child(2) { border-top-color: var(--olive-3); }
.step:nth-child(3) { border-top-color: var(--gold); }
.step__no {
  font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.22em;
  color: var(--gold-ink);
}
.step__key {
  display: block; margin-top: 12px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(24px, 2.9vw, 34px); letter-spacing: 0.08em; line-height: 1.4;
}
.step__t { margin-top: 16px; font-size: 13.5px; font-weight: 500; line-height: 1.8; letter-spacing: 0.04em; }
.step__d { margin-top: 10px; font-size: 13px; line-height: 2; color: var(--muted); }
.steps-note {
  margin-top: clamp(30px, 4vw, 48px);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 20px 0 0; border-top: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.05em;
}
.steps-note b { font-weight: 500; }

/* 階段図（営業資料 P6 のビルドアップ図） */
.stair {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 0;
  margin-top: clamp(32px, 4vw, 52px);
}
.stair__col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.stair__box {
  padding: clamp(16px, 2vw, 26px);
  min-height: var(--h, 130px);
  background: var(--paper-3);
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.stair__col:nth-child(2) .stair__box { background: #ece5d6; }
.stair__col:nth-child(3) .stair__box { background: var(--olive-3); border-top-color: var(--olive-3); }
.stair__col:nth-child(4) .stair__box { background: var(--olive); border-top-color: var(--olive); }
.stair__col:nth-child(3) .stair__no,
.stair__col:nth-child(3) .stair__t,
.stair__col:nth-child(4) .stair__no,
.stair__col:nth-child(4) .stair__t { color: var(--cream); }
.stair__col:nth-child(3) .stair__d { color: #e2e5dc; }
.stair__col:nth-child(4) .stair__d { color: #c9cdbf; }
.stair__no { font-size: 11px; letter-spacing: 0.28em; color: var(--gold-ink); text-transform: uppercase; }
.stair__t {
  margin-top: 10px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; letter-spacing: 0.04em;
}
.stair__d { margin-top: 8px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.stair__ghost {
  position: absolute; right: 10px; bottom: -6px;
  font-family: var(--font-serif); font-size: clamp(44px, 7vw, 84px); line-height: 1;
  color: rgba(34, 37, 30, 0.07); pointer-events: none;
}
.stair__col:nth-child(3) .stair__ghost,
.stair__col:nth-child(4) .stair__ghost { color: rgba(255, 255, 255, 0.1); }

/* ---------- 円ノードのプロセス（OUR APPROACH） ---------- */
.node-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
  margin-top: clamp(34px, 4.4vw, 56px);
}
.node {
  text-align: center; position: relative;
}
.node__circle {
  width: clamp(94px, 11vw, 132px); aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--olive-2);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: clamp(13px, 1.35vw, 16px);
  letter-spacing: 0.08em; line-height: 1.55;
  padding: 12px;
}
.node:last-child .node__circle { background: var(--gold); color: #2a2416; }
/* 円をつなぐ罫線 */
.node::after {
  content: ""; position: absolute; top: calc(clamp(94px, 11vw, 132px) / 2);
  left: calc(50% + clamp(50px, 5.8vw, 70px)); right: calc(-50% + clamp(50px, 5.8vw, 70px));
  height: 1px; background: rgba(255, 255, 255, 0.24);
}
.node:last-child::after { display: none; }
.node__t {
  margin-top: 22px; font-family: var(--font-serif); font-size: 14.5px;
  letter-spacing: 0.05em; line-height: 1.7;
}
.node__d { margin-top: 8px; font-size: 12.5px; line-height: 1.95; color: #c3c8b8; }

/* プロセス（横一列・点線矢印） */
.flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 26px;
}
.flow__item {
  font-size: 12px; letter-spacing: 0.12em;
  padding: 9px 16px; border: 1px solid var(--line-strong);
  color: var(--ink);
}
.flow__item--on { background: var(--gold); border-color: var(--gold); color: #2a2416; }
.flow__arrow { color: var(--gold-ink); font-size: 12px; }
/* 濃色面に置く場合のみ反転（既定は明るい面） */
.section--dark .flow__item,
.statement-band .flow__item { border-color: rgba(255,255,255,.32); color: var(--cream); }
.section--dark .flow__item--on,
.statement-band .flow__item--on { background: var(--gold); border-color: var(--gold); color: #2a2416; }
.section--dark .flow__arrow,
.statement-band .flow__arrow { color: var(--gold-2); }

/* 3段階の順序（チップ列＋注記）。
   注記はチップと同じ行に押し込まず、罫線の下に独立した一行として置く。 */
.flow-block {
  margin-top: clamp(26px, 3.4vw, 38px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid var(--line-strong);
}
.flow-block .flow { margin-top: 0; }
.flow__note {
  margin-top: 14px;
  padding-left: 20px; position: relative;
  font-size: 12.5px; line-height: 1.9; letter-spacing: 0.04em;
  color: var(--muted);
}
.flow__note::before {
  content: ""; position: absolute; left: 0; top: 0.95em;
  width: 10px; height: 1px; background: var(--gold-ink);
}
.section--dark .flow__note,
.statement-band .flow__note { color: #c6cbbb; }
.section--dark .flow__note::before,
.statement-band .flow__note::before { background: var(--gold-2); }

/* ---------- Service cards（主力2商品） ---------- */
.svc-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.svc {
  position: relative; display: flex; flex-direction: column;
  min-width: 0;
  background: transparent;
  padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3.2vw, 44px) clamp(28px, 3.4vw, 40px) 0;
}
.svc + .svc {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3.2vw, 44px);
}
/*
 * 濃色のサービスカード（財務の右腕＋）。
 * 以前は margin-right に負の値を入れて画面右端まで張り出させていたが、
 * その結果このカードだけ 640〜960px に膨らみ、内部に巨大な右余白が
 * できて2カラムが不均等になっていた（2026-11-18 実測）。
 * → 張り出しを廃止し、グリッドの1列に収めたうえで左右の内部余白を
 *    等しく与える。幅・間隔は「八十八」側と完全に同一になる。
 */
.svc.svc--primary {
  background: var(--olive); color: var(--cream);
  border-left-color: rgba(255,255,255,.14);
  padding-left: clamp(24px, 3.2vw, 44px);
  padding-right: clamp(24px, 3.2vw, 44px);
}
.svc--primary .svc__cat { color: var(--gold-2); border-color: rgba(255,255,255,.24); }
.svc--primary .svc__name { color: var(--cream); }
.svc--primary .svc__lead { color: #cdd2c3; }
.svc--primary .svc__desc { color: #c3c8b8; }
.svc--primary .svc__point { border-color: rgba(255,255,255,.14); color: #c8cdbe; }
.svc--primary .svc__label { color: #bcc1b1; }
.svc--primary .svc__price { color: var(--cream); }
.svc--primary .svc__price small { color: #bcc1b1; }
.svc__cat {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-ink); border: 1px solid var(--line-strong);
  padding: 5px 12px;
}
.svc__name {
  margin-top: 24px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(20px, 2.3vw, 27px); line-height: 1.62; letter-spacing: 0.045em;
}
.svc__en {
  display: block; font-size: 11px; letter-spacing: 0.28em;
  color: var(--muted-2); margin-top: 12px; text-transform: uppercase;
}
.svc--primary .svc__en { color: #bcc1b1; }
.svc__lead { margin-top: 20px; font-size: 13px; line-height: 2; color: var(--ink-2); letter-spacing: 0.04em; }
.svc__desc { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 2; }
.svc__points { margin-top: 24px; display: grid; gap: 0; }
.svc__point {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; line-height: 1.9; padding: 11px 0;
  border-top: 1px solid var(--line); color: var(--ink-2);
}
.svc__point::before {
  content: "—"; flex: 0 0 auto; color: var(--gold-ink); font-size: 12px; line-height: 1.9;
}
.svc__label { margin-top: 26px; font-size: 11px; letter-spacing: 0.28em; color: var(--muted-2); text-transform: uppercase; }
.svc__price {
  margin-top: 10px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(17px, 1.9vw, 21px); letter-spacing: 0.03em;
}
.svc__price small {
  display: block; font-family: var(--font-sans); font-weight: 400;
  font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.8; letter-spacing: 0.04em;
}
.svc__foot { margin-top: auto; padding-top: 30px; }

/* ---------- Reason list ---------- */
.reasons { border-top: 1px solid var(--line-strong); }
.reason {
  display: grid; grid-template-columns: 64px 1fr; gap: clamp(14px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.reason__no {
  font-family: var(--font-serif); font-size: 12.5px; color: var(--gold-ink);
  letter-spacing: 0.18em; padding-top: 5px;
}
.reason__t {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px); line-height: 1.75; letter-spacing: 0.04em;
}
.reason__d { margin-top: 10px; font-size: 13px; line-height: 2; color: var(--muted); max-width: 46em; }
.section--dark .reason { border-bottom-color: rgba(255,255,255,.16); }
.section--dark .reason__t { color: var(--cream); }
.section--dark .reason__d { color: #c3c8b8; }

/* ---------- Compare table ---------- */
/*
 * 3列（比較軸｜八十八｜財務の右腕＋）の比較表。
 *
 * table-layout: auto のままだと列幅がセル内容の min-content で決まるため、
 * サービス2列が 504px / 388px（1440px 実測）、233px / 157px（320px 実測）と
 * 不揃いになり、同じ表なのに左右で読み心地が変わっていた。
 * → fixed にして列幅を明示し、2つのサービス列を常に均等にする。
 */
.compare {
  width: 100%;
  table-layout: fixed;
  border-top: 1px solid var(--line-strong);
}
.compare th, .compare td {
  padding: 17px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.9;
  /*
   * 日本語の折り返し規則を明示する（body から継承しているが、比較表は
   * セル幅が狭いため、ここで意図を固定しておく）。
   *   auto-phrase … 文節単位で折る（「経営|の」のような1文字改行を避ける）
   *   strict      … 行頭禁則（小書き文字・長音・閉じ括弧）を厳守
   *   pretty      … 最終行に1〜2文字だけ残る「ぶら下がり」を抑える
   */
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.compare thead th {
  font-size: 12px; letter-spacing: 0.1em; color: var(--muted); font-weight: 500;
  background: transparent; border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-serif);
}
/*
 * 列幅：比較軸 20% / サービス 40% + 40%。
 * 要件の「比較項目 18〜20%・サービス各 40〜41%」の範囲内で、
 * 2列を完全に均等にする。fixed レイアウトでは先頭行（thead）の指定が
 * 全行の列幅を決めるため、ここで一度だけ指定すれば足りる。
 */
.compare thead th:first-child,
.compare tbody th { width: 20%; }
.compare thead th:nth-child(2),
.compare thead th:nth-child(3) { width: 40%; }
.compare tbody th { font-weight: 400; color: var(--gold-ink); font-size: 12px; letter-spacing: 0.14em; }
.compare td { color: var(--ink-2); }
/*
 * 横スクロールしたときも比較軸を左端に残し、どの行を見ているか失わない。
 * 背景を不透明にしないとスクロールした本文が透けるため、紙色を敷く
 * （この表を使う3ページはいずれも .section = 紙色の上にある）。
 */
.compare thead th:first-child,
.compare tbody th {
  position: sticky; left: 0; z-index: 2; background: var(--paper);
}

/*
 * 「主な成果物」「こんな会社に」のような列挙項目は、区切りの「、」「／」を
 * 箇条書きに置き換えて縦に読ませる。語句そのものは変更していない。
 */
.compare__list { margin: 0; padding: 0; list-style: none; }
.compare__item {
  position: relative; padding-left: 1.1em;
  word-break: auto-phrase; line-break: strict;
}
.compare__item + .compare__item { margin-top: 3px; }
.compare__item::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--gold-ink); font-size: 0.92em; line-height: inherit;
}

/* 表が入りきらないときだけ、表の内部だけを横スクロールさせる */
.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
/*
 * スクロールできることを示す右端の陰。JS が .is-scrollable を付けたときだけ
 * 描画し、右端まで到達したら消す（＝これ以上右に何も無いことが分かる）。
 */
.compare-scroll.is-scrollable:not(.is-scrolled-end) {
  background-image: linear-gradient(to left, rgba(34, 37, 30, 0.14), rgba(34, 37, 30, 0));
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 18px 100%;
}
.compare-scroll.is-scrollable { scrollbar-width: thin; }

/* 横スクロールのヒント（実際にスクロールが必要なときだけ JS が表示する） */
.compare-hint { display: none; }
.compare-hint.is-on {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted-2); line-height: 1.7;
}
.compare-hint__arrow { color: var(--gold-ink); letter-spacing: 0.08em; }

/*
 * 狭い画面でも3列を維持する。
 *
 * 文字サイズを縮めて3列に押し込むのではなく、余白を詰めて1行に残る文字数を
 * 確保する。サービス2列は base と同じ規則（font-size / line-height /
 * word-break / padding）を共有するため、左右で読み心地が変わらない。
 */
@media (max-width: 900px) {
  .compare th, .compare td { padding: 13px 11px; }
  .compare thead th { font-size: 11px; letter-spacing: 0.06em; line-height: 1.6; }
  .compare tbody th { font-size: 11.5px; letter-spacing: 0.06em; line-height: 1.6; }
  .compare td { font-size: 13px; line-height: 1.85; }
  .compare__item + .compare__item { margin-top: 2px; }
}

/*
 * スマートフォン（〜430px）は比率と余白を少しだけ振り直す。
 *
 * 20% / 40% / 40% のままだと 375px でサービス列の本文域が 110px しか残らず、
 * 「指標モニタリング」（8文字＝約105px）が入りきらず「指標モニタリン／グ」と
 * 1文字だけ次行に落ちていた（2026-11-18 実測）。
 * → 比較軸を 18%（要件の下限）、サービス2列を 41% ずつに広げ、
 *   左右パディングを 10px、字間を 0.01em に詰めて本文域を約107px確保する。
 *   文字サイズ（13px）は PC と同じまま。縮めて収めるのではなく余白で解決する。
 */
@media (max-width: 430px) {
  .compare thead th:first-child,
  .compare tbody th { width: 18%; }
  .compare thead th:nth-child(2),
  .compare thead th:nth-child(3) { width: 41%; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare td { letter-spacing: 0.01em; }
  .compare__item { padding-left: 0.7em; }
  /*
   * これ以上狭いと（320px など）1行に8文字すら入らず、語の途中で切れてしまう。
   * 比率を保ったまま表に最小幅を与え、表の内部だけを横スクロールさせる
   * （ページ全体は横スクロールしない）。328px = 比較軸 59px ＋ サービス各 134.5px。
   */
  .compare { min-width: 328px; }
}

/* ---------- Cases ---------- */
.case-card {
  border-top: 1px solid var(--line-strong); background: transparent;
  padding: clamp(22px, 2.6vw, 32px) 0 0; display: flex; flex-direction: column;
}
.case-card__phase {
  align-self: flex-start; font-size: 11px; letter-spacing: 0.22em;
  color: var(--gold-ink); text-transform: uppercase;
}
.case-card__t {
  margin-top: 16px; font-family: var(--font-serif); font-weight: 400;
  font-size: 16px; line-height: 1.75; letter-spacing: 0.04em;
}
.case-card__b { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 2; }
.case-card__flow { margin-top: 20px; display: grid; gap: 8px; font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em; }
.case-card__flow span { display: flex; align-items: center; gap: 10px; }
.case-card__flow span::before { content: ""; width: 16px; height: 1px; background: var(--line-strong); }

/* ---------- Insights ---------- */
.post-list { border-top: 1px solid var(--line-strong); }
.post-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: clamp(14px, 3vw, 32px);
  padding-block: 24px; border-bottom: 1px solid var(--line);
  align-items: center;
}
.post-row__meta { font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.1em; line-height: 1.9; }
.post-row__cat {
  display: inline-block; font-size: 11px; color: var(--gold-ink);
  letter-spacing: 0.12em; margin-bottom: 6px;
}
.post-row__t {
  font-family: var(--font-serif); font-weight: 400; font-size: 15.5px;
  line-height: 1.75; letter-spacing: 0.04em;
}
.post-row__t:hover { color: var(--gold-ink); }
.post-row__d { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.95; }
.post-row__arrow { color: var(--muted-2); font-size: 12.5px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.post-card {
  border-top: 1px solid var(--line-strong); background: transparent;
  padding: 24px 0 0; display: flex; flex-direction: column;
}
.post-card:hover { border-top-color: var(--gold); }
.post-card__meta { font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; }
.post-card__t { margin-top: 12px; font-family: var(--font-serif); font-weight: 400; font-size: 15px; line-height: 1.75; }
.post-card__e { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.95; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 30px 1fr 24px; gap: 16px;
  padding: 24px 0; align-items: start;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 15px; line-height: 1.8; letter-spacing: 0.04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-serif); color: var(--gold-ink); font-size: 13px; padding-top: 2px; }
.faq summary .icon { position: relative; width: 14px; height: 14px; margin-top: 6px; justify-self: end; }
.faq summary .icon::before, .faq summary .icon::after {
  content: ""; position: absolute; background: var(--ink); transition: transform .2s ease;
}
.faq summary .icon::before { left: 0; top: 6px; width: 14px; height: 1px; }
.faq summary .icon::after { left: 6px; top: 0; width: 1px; height: 14px; }
.faq details[open] summary .icon::after { transform: scaleY(0); }
.faq__a {
  padding: 0 0 28px 46px; font-size: 13px; line-height: 2.05;
  color: var(--ink-2); max-width: 48em;
}
.faq__cat {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.24em;
  color: var(--gold-ink); display: block; margin-bottom: 6px; text-transform: uppercase;
}

/* ---------- Company table ---------- */
.info-table { border-top: 1px solid var(--line-strong); }
.info-table th, .info-table td {
  padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; text-align: left; vertical-align: top; line-height: 1.95;
}
.info-table th {
  width: 30%; font-weight: 400; color: var(--gold-ink);
  font-size: 12px; letter-spacing: 0.14em; font-family: var(--font-serif);
}
.info-table td { color: var(--ink-2); padding-left: 0; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 0; }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.profile__figure {
  aspect-ratio: 3 / 4; background: var(--paper-3);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 28px; color: var(--muted-2); font-size: 12px; line-height: 2;
  letter-spacing: 0.14em; border-radius: 999px 999px 0 0;
}
/* 写真を入れる場合は余白とアーチを外し、枠いっぱいにトリミングして収める
   （アーチ状のマスクは写真の頭部を欠いてしまうため、写真では矩形にする） */
.profile__figure--photo {
  padding: 0; overflow: hidden; border-radius: 0; background: var(--paper-2);
}
.profile__figure--photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}
.profile__name { font-family: var(--font-serif); font-size: 25px; letter-spacing: 0.08em; }
.profile__role { font-size: 11px; letter-spacing: 0.26em; color: var(--gold-ink); margin-top: 10px; text-transform: uppercase; }
.profile__body { margin-top: 24px; font-size: 13.5px; line-height: 2.15; color: var(--ink-2); }

/* ---------- Quote / brand statement ---------- */
.statement { padding-block: clamp(40px, 6vw, 80px); }
.statement blockquote {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(19px, 2.7vw, 32px); line-height: 1.9; letter-spacing: 0.06em;
  max-width: 46em; color: var(--ink);
}
.statement blockquote .hl { color: var(--gold-ink); }
.statement cite {
  display: block; margin-top: 30px; font-family: var(--font-sans); font-style: normal;
  font-size: 12px; letter-spacing: 0.28em; color: var(--muted); text-transform: uppercase;
}
/* 濃色面に置く場合のみ反転（既定は明るい面） */
.section--dark .statement blockquote,
.statement-band .statement blockquote { color: var(--cream); }
.section--dark .statement blockquote .hl,
.statement-band .statement blockquote .hl { color: var(--gold-2); }
.section--dark .statement cite,
.statement-band .statement cite { color: #c6cbbb; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--olive); color: var(--cream);
  padding-block: clamp(64px, 8vw, 118px);
  position: relative; overflow: hidden;
}
.cta-band .eyebrow { color: var(--gold-2); }
.cta-band .h2 { color: var(--cream); font-size: clamp(22px, 3vw, 34px); max-width: 24em; }
.cta-band p { margin-top: 24px; color: #c6cbbb; font-size: 13px; line-height: 2.05; max-width: 42em; }
.cta-band .btn-row { margin-top: 38px; }
.cta-band__rule {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  font-size: 11.5px; letter-spacing: 0.16em; color: #bcc1b1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-deep); color: #c3c8b8;
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.footer-top { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: clamp(32px, 5vw, 72px); }
.footer-brand__mark { color: var(--cream); }
.footer-brand__logo { display: block; height: 30px; width: auto; }
.footer-brand__tag { margin-top: 20px; font-size: 12.5px; line-height: 2.05; color: #bcc1b1; max-width: 30em; }
.footer-brand__addr { margin-top: 24px; font-size: 11.5px; line-height: 2; color: #b4b9a9; letter-spacing: 0.06em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-nav h3 {
  font-size: 11px; letter-spacing: 0.28em; color: var(--gold-2);
  text-transform: uppercase; margin-bottom: 16px; font-weight: 500;
}
.footer-nav a { display: block; padding: 7px 0; font-size: 12px; color: #b3b8aa; letter-spacing: 0.04em; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 64px); padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 11.5px; color: #b4b9a9; letter-spacing: 0.08em;
}

/* ---------- Form ---------- */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field > label, .field__label {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
}
.req {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em; color: var(--cream);
  background: var(--olive-2); padding: 2px 7px; margin-left: 10px; vertical-align: 2px;
}
.opt {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2);
  border: 1px solid var(--line-strong); padding: 1px 7px; margin-left: 10px; vertical-align: 2px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; padding: 15px 2px; font-size: 14.5px; font-family: inherit;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--ink); transition: border-color .2s ease;
  appearance: none; border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f6d62' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 32px;
}
.field textarea { min-height: 170px; line-height: 1.95; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold);
}
.field__help { font-size: 12px; color: var(--muted); line-height: 1.9; letter-spacing: 0.04em; }
.field__error { font-size: 12px; color: var(--danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--danger); }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; line-height: 1.95; }
.check input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--olive); flex: 0 0 auto; }
.form-note {
  border-top: 1px solid var(--line); padding-top: 20px;
  font-size: 12px; line-height: 1.95; color: var(--muted); letter-spacing: 0.04em;
}
.form-alert {
  border-left: 1px solid var(--danger); background: transparent;
  padding: 4px 0 4px 20px; font-size: 13px; line-height: 1.9; color: var(--danger);
}
.form-alert ul { list-style: none; padding-left: 0; margin-top: 10px; }
.form-alert li { padding-left: 16px; position: relative; }
.form-alert li::before { content: "—"; position: absolute; left: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Misc ---------- */
.article-body { font-size: 14.5px; line-height: 2.15; color: var(--ink-2); letter-spacing: 0.045em; }
.article-body h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.75; letter-spacing: 0.04em;
  margin: 60px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.article-body h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 17px;
  letter-spacing: 0.04em; margin: 38px 0 14px;
}
.article-body p { margin-bottom: 24px; }
.article-body ul, .article-body ol { margin: 0 0 26px; padding-left: 0; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; padding-left: 24px; position: relative; }
.article-body ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold-ink);
}
.article-body ol { counter-reset: ab; }
.article-body ol li { counter-increment: ab; }
.article-body ol li::before {
  content: counter(ab, decimal-leading-zero); position: absolute; left: 0;
  font-family: var(--font-serif); font-size: 12px; color: var(--gold-ink); top: .35em;
}
.article-body strong { font-weight: 500; color: var(--ink); }
.article-body a { color: var(--olive); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--gold); }
.article-body a:hover { color: var(--gold-ink); }
.article-body blockquote {
  border-left: 1px solid var(--gold); padding: 4px 0 4px 26px; margin: 32px 0;
  color: var(--ink); font-family: var(--font-serif); font-size: 16px; line-height: 2;
  letter-spacing: 0.04em;
}
.article-body table { margin: 26px 0; border-top: 1px solid var(--line-strong); }
.article-body th, .article-body td {
  padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.article-body th { font-weight: 400; color: var(--gold-ink); font-size: 12px; letter-spacing: 0.12em; text-align: left; }
.article-body .callout {
  background: var(--paper-3); padding: 26px 28px; margin: 32px 0;
  font-size: 13px; line-height: 2; letter-spacing: 0.04em;
}
.article-body .callout b {
  display: block; margin-bottom: 8px; font-family: var(--font-serif);
  font-weight: 400; font-size: 14.5px;
}

.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 11.5px;
  color: var(--muted-2); align-items: center; letter-spacing: 0.1em;
}
.tag {
  display: inline-block; font-size: 11px; color: var(--gold-ink);
  letter-spacing: 0.12em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px; padding: 9px 18px; border: 1px solid var(--line-strong);
  color: var(--ink-2); background: transparent; letter-spacing: 0.08em;
  transition: all .18s ease;
}
.chip:hover, .chip.is-active { background: var(--olive); border-color: var(--olive); color: var(--cream); }

.related { border-top: 1px solid var(--line-strong); padding-top: 24px; margin-top: 52px; }
.related h2 {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 16px; font-family: var(--font-sans); font-weight: 500;
}
.related a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 13.5px; letter-spacing: 0.04em;
}
.related a:hover { color: var(--gold-ink); }

.toc { background: var(--paper-2); padding: 26px 28px; margin: 36px 0; }
.toc h2 {
  font-size: 11px; letter-spacing: 0.3em; color: var(--gold-ink); text-transform: uppercase;
  margin-bottom: 14px; font-family: var(--font-sans); font-weight: 500;
}
.toc ol { counter-reset: toc; }
.toc li { font-size: 13px; padding: 7px 0; padding-left: 26px; position: relative; }
.toc li::before {
  counter-increment: toc; content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; font-family: var(--font-serif); font-size: 11.5px; color: var(--muted-2);
}
.toc a:hover { color: var(--gold-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.split--aside { grid-template-columns: 1fr 320px; }
.aside-card { border-top: 1px solid var(--line-strong); padding: 24px 0 0; background: transparent; }
.aside-card h2 {
  font-size: 11px; letter-spacing: 0.26em; margin-bottom: 16px;
  color: var(--gold-ink); text-transform: uppercase; font-family: var(--font-sans); font-weight: 500;
}
.aside-card ul { display: grid; gap: 0; }
.aside-card li { font-size: 12.5px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.aside-card a:hover { color: var(--gold-ink); }

.plan-list { border-top: 1px solid var(--line-strong); counter-reset: plan; }
.plan-item {
  display: grid; grid-template-columns: 58px 1fr; gap: 22px;
  padding-block: 26px; border-bottom: 1px solid var(--line);
}
.plan-item__no {
  font-family: var(--font-serif); font-size: 12.5px; letter-spacing: 0.16em;
  color: var(--gold-ink); padding-top: 5px;
}
.plan-item__t {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 16px; letter-spacing: 0.04em; line-height: 1.75;
}
.plan-item__d { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 2; }

.two-col-text { columns: 2; column-gap: 56px; }
@media (max-width: 900px) { .two-col-text { columns: 1; } }

.badge-soft {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px;
  color: var(--gold-ink); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--line-strong);
}
.note-box {
  border-left: 1px solid var(--gold); padding: 4px 0 4px 22px;
  font-size: 12.5px; color: var(--muted); line-height: 2; letter-spacing: 0.04em;
}

/* CMS admin */
.admin-bar { background: var(--olive-deep); color: var(--cream); font-size: 12px; letter-spacing: 0.06em; }
.admin-bar .wrap { display: flex; align-items: center; gap: 20px; height: 46px; }
.admin-bar a { color: #c3c8b8; }
.admin-bar a:hover { color: var(--cream); }
.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { border-right: 1px solid var(--line); padding: 26px 20px; background: var(--paper-2); }
.admin-side h1 { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.admin-side nav { margin-top: 22px; display: grid; gap: 2px; }
.admin-side nav a { padding: 10px 12px; font-size: 13px; letter-spacing: 0.04em; }
.admin-side nav a:hover, .admin-side nav a.is-active { background: var(--paper-3); color: var(--olive); }
.admin-main { padding: 36px clamp(20px, 4vw, 48px) 80px; max-width: 1080px; }
.admin-main h2 { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.04em; margin-bottom: 8px; }
.admin-main .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.admin-form { display: grid; gap: 22px; max-width: 820px; }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); font: inherit;
  font-size: 13.5px; background: transparent; border-radius: 0;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--olive); }
.admin-form textarea { min-height: 340px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; }
.admin-form label { font-size: 12px; letter-spacing: 0.08em; display: block; margin-bottom: 7px; }
.admin-table { width: 100%; background: transparent; border-top: 1px solid var(--line-strong); }
.admin-table th, .admin-table td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-align: left; vertical-align: top; }
.admin-table th { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-table tr:hover td { background: var(--paper-2); }
.status-pill { font-size: 11px; padding: 3px 9px; letter-spacing: 0.12em; display: inline-block; white-space: nowrap; }
.status-published { background: #e3e8dc; color: #4b6b52; }
.status-draft { background: var(--paper-3); color: var(--muted); }

/* 公開状態の4分類（フェーズ1）
   公開=緑 / 公開待ち（監修未）=金 / 下書き=灰 / 公開停止=臙脂 */
.state-live { background: #e3e8dc; color: #3f6146; border: 1px solid #c9d6bf; }
.status-pending { background: #fbf1dc; color: #7a5c22; border: 1px solid #e6d3a8; }
.status-stopped { background: #f7e6e4; color: #8d2f28; border: 1px solid #e2c4c0; }

/* 記事先頭の状態サマリー */
.state-summary { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.state-summary .status-pill { font-size: 11.5px; padding: 4px 11px; }

/* 状態の説明ブロック（ダッシュボード） */
.state-note {
  border-left: 2px solid var(--gold);
  background: var(--paper-2);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-soft, #4a4a44);
}
.state-note p { margin: 0; }
.state-note p + p { margin-top: 6px; }
.state-note code { font-family: var(--font-mono); font-size: 11.5px; background: #fff; padding: 1px 5px; border: 1px solid var(--line); }

/* 保存前の警告（フォーム上部） */
.save-warning {
  border: 1px solid #e3c9c9;
  background: #fdf4f3;
  color: #8d2f28;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 12.5px;
  line-height: 1.85;
}
.save-warning strong { display: block; margin-bottom: 4px; }
.save-warning ul { margin: 6px 0 0; padding-left: 1.2em; }

/* 公開前プレビューのバナー（フェーズ2）
   本番ページと同じ見た目で表示しつつ、上部に「プレビューである」ことを明示する */
.preview-banner {
  position: sticky; top: 0; z-index: 100;
  background: #353d33; color: #f4f1e8;
  border-bottom: 1px solid #b08d5b;
  font-size: 12px; letter-spacing: 0.04em;
}
.preview-banner .wrap {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-block: 9px;
}
.preview-banner strong {
  font-weight: 500; letter-spacing: 0.14em;
  background: #b08d5b; color: #23281f;
  padding: 2px 9px; font-size: 11px;
}
.preview-banner__note { color: #cdd3c8; }
.preview-banner__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.preview-banner__changes {
  color: #cdd3c8; font-size: 11px;
  border-left: 1px solid #5a6355; padding-left: 12px;
}
.preview-banner a { color: #f4f1e8; text-decoration: underline; text-underline-offset: 3px; }
.preview-banner a:hover { color: #e0c9a1; }
@media (max-width: 720px) {
  .preview-banner .wrap { gap: 8px; }
  .preview-banner__actions { margin-left: 0; width: 100%; }
}

/* バックアップ画面（フェーズ4） */
.backup-panel {
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  padding: 24px 26px;
  margin-bottom: 24px;
  max-width: 820px;
}
.backup-panel h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 16px;
  letter-spacing: 0.06em; margin: 0 0 14px;
}
.backup-panel .admin-form { max-width: none; }
.backup-panel .admin-form input { background: #fff; }
.backup-panel code {
  font-family: var(--font-mono); font-size: 11.5px;
  background: #fff; padding: 1px 5px; border: 1px solid var(--line);
}
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-bottom: 36px; }
.stat { border-top: 1px solid var(--line-strong); background: transparent; padding: 18px 0 0; }
.stat b { display: block; font-size: 27px; font-family: var(--font-serif); font-weight: 400; letter-spacing: 0.02em; }
.stat span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.1em; }

/* 404 */
.notfound { padding-block: clamp(70px, 11vw, 150px); text-align: center; }
.notfound__code {
  font-family: var(--font-serif); font-size: clamp(64px, 12vw, 120px);
  line-height: 1; color: var(--line-strong); font-weight: 400;
}

/* ---------- 八十八 専用（営業資料の章立て） ---------- */
.pg-no {
  font-family: var(--font-serif); font-size: 11px; letter-spacing: 0.26em;
  color: var(--muted-2); text-align: right;
}
.pg-no--dark { color: #7f8578; }

/* 「八十八」の縦組みロゴ */
.logo-88 {
  font-family: var(--font-serif);
  font-size: clamp(58px, 9vw, 108px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--ink);
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.logo-88--gold { color: var(--gold-2); }
.logo-88-en {
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-ink); margin-top: 16px;
}

/* 3つの道具（カードを重ねる表現） */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.tool {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex; flex-direction: column;
}
.tool--accent { background: var(--olive); color: var(--cream); }
.tool__no { font-size: 11px; letter-spacing: 0.26em; color: var(--gold-ink); text-transform: uppercase; }
.tool--accent .tool__no { color: var(--gold-2); }
.tool__t {
  margin-top: 14px; font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px); letter-spacing: 0.04em; line-height: 1.7;
}
.tool__spec {
  margin-top: 12px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2);
}
.tool--accent .tool__spec { color: #c3c8b8; }
.tool__list { margin-top: 16px; }
.tool__list li { font-size: 12px; line-height: 1.85; color: var(--muted); padding-block: 5px; }
.tool--accent .tool__list li { color: #c2c7b8; }

/* 6か月の月別グリッド */
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.month { padding: clamp(16px, 2vw, 24px) clamp(10px, 1.4vw, 18px) clamp(20px, 2.4vw, 28px) 0; border-right: 1px solid var(--line); }
.month:last-child { border-right: 0; padding-right: 0; }
.month__no { font-family: var(--font-serif); font-size: 12.5px; letter-spacing: 0.18em; color: var(--gold-ink); }
.month__t { margin-top: 12px; font-family: var(--font-serif); font-size: 13.5px; line-height: 1.75; letter-spacing: 0.03em; }
.month__list { margin-top: 14px; }
.month__list li { font-size: 12px; line-height: 1.9; color: var(--muted); padding-block: 3px; }
.month__band {
  margin-top: 14px; padding: 7px 10px; font-size: 11px; letter-spacing: 0.16em;
  color: var(--muted-2); background: var(--paper-2);
}
.month--practice .month__band { background: var(--olive); color: var(--cream); }

/* 試算例の行（数値の右揃え） */
.calc { border-top: 1px solid var(--line); }
.calc__row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 18px;
  padding-block: clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.calc__no { font-size: 11.5px; letter-spacing: 0.16em; color: var(--gold-ink); }
.calc__t { font-size: 13px; line-height: 1.85; letter-spacing: 0.04em; }
.calc__d { margin-top: 5px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.calc__v {
  font-family: var(--font-serif); font-size: clamp(15px, 1.7vw, 19px);
  letter-spacing: 0.03em; white-space: nowrap;
}
.calc--dark { border-top-color: rgba(255,255,255,.2); }
.calc--dark .calc__row { border-bottom-color: rgba(255,255,255,.14); }
.calc--dark .calc__t { color: var(--cream); }
.calc--dark .calc__d { color: #c3c8b8; }
.calc--dark .calc__v { color: var(--cream); }
.calc--dark .calc__no { color: var(--gold-2); }

/* 価格パネル（OFFERING） */
.price-panel {
  background: var(--olive); color: var(--cream);
  padding: clamp(26px, 3.2vw, 40px);
}
.price-panel__label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); }
.price-panel__main {
  margin-top: 18px; font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: 0.03em; line-height: 1.6;
}
.price-panel__main em { font-style: normal; color: var(--gold-2); font-size: 1.22em; }
.price-panel__sub {
  margin-top: 10px; font-family: var(--font-serif); font-size: clamp(16px, 1.9vw, 20px); letter-spacing: 0.04em;
}
.price-panel__note { margin-top: 20px; font-size: 11.5px; line-height: 1.9; color: #c3c8b8; letter-spacing: 0.04em; }

/* 継続オプション3択（点線矢印つき） */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 34px); }
.option { display: block; border-top: 1px solid var(--line-strong); padding-top: 18px; }
.option:hover { border-top-color: var(--gold); }
.option__t { font-family: var(--font-serif); font-size: 15.5px; letter-spacing: 0.04em; line-height: 1.7; }
.option__d { margin-top: 10px; font-size: 12px; line-height: 1.95; color: var(--muted); }

/* アーチ写真のキャプション重ね */
.arch-figure { position: relative; }
.arch-figure figcaption {
  position: absolute; left: 0; bottom: -1px; right: 0;
  padding: 18px 22px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); background: linear-gradient(0deg, rgba(42,49,40,.78), rgba(42,49,40,0));
}

/* ---------- トップ：表紙の写真とメタ ---------- */
.hero__photo {
  margin-top: clamp(34px, 4.6vw, 60px);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--olive);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.02); }
.hero__photo > figcaption {
  margin-top: 0;
}
@media (max-width: 900px) { .hero__photo { aspect-ratio: 3 / 2; } }

/* 概念図のラベル（線の終端に置く） */
.chart-mini__tags { position: absolute; inset: 0; pointer-events: none; }
.chart-mini__tags span {
  position: absolute; right: 0;
  font-size: 11px; letter-spacing: 0.14em; color: #c8cdbe;
}
.chart-mini__tags span.is-gold { color: var(--gold-2); }

/* 価値観の3列（PHILOSOPHY） */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.values__item { padding: clamp(22px, 2.8vw, 32px) clamp(16px, 2.4vw, 30px) 0 0; }
.values__item + .values__item { border-left: 1px solid rgba(255,255,255,.16); padding-left: clamp(16px, 2.4vw, 30px); }
.values__t { font-family: var(--font-serif); font-size: clamp(15px, 1.7vw, 19px); letter-spacing: 0.05em; color: var(--cream); }
.values__d { margin-top: 8px; font-size: 12.5px; line-height: 1.9; color: #c3c8b8; }
@media (max-width: 900px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .values__item + .values__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; padding-top: 22px; }
}

/* 関連サービス（A/Bの下に控えめに置く） */
.related-strip {
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 34px;
  padding-top: 22px;
}
.related-strip__label {
  font-size: 11px; letter-spacing: 0.26em; color: var(--muted-2); text-transform: uppercase;
}
.related-strip a {
  font-size: 13px; letter-spacing: 0.05em; color: var(--ink-2);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.related-strip a span { font-size: 11.5px; color: var(--muted-2); }
.related-strip a:hover { color: var(--gold-ink); }

/* ---------- 88ページ：デッキ章立て用の補助 ---------- */
/* 紙面（明るい面）で使う数式 */
.formula--paper { color: var(--ink); }
.formula--paper em { color: var(--gold-ink); }

/* 表紙：縦組みの「八十八」 */
.cover-88 { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cover-88__mark { border-right: 1px solid var(--line); padding-right: clamp(20px, 3vw, 36px); }
.cover-88__body { padding-top: 8px; }
@media (max-width: 900px) {
  .cover-88 { grid-template-columns: minmax(0, 1fr); }
  .cover-88__mark { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
}

/* 5つの箱（資金の流れ） */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.chain__item { padding: 20px 16px 20px 0; border-right: 1px solid var(--line); }
.chain__item:last-child { border-right: 0; }
.chain__t { font-family: var(--font-serif); font-size: 13.5px; letter-spacing: 0.04em; line-height: 1.7; }
.chain__d { margin-top: 6px; font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.chain--dark { border-top-color: rgba(255,255,255,.2); }
.chain--dark .chain__item { border-right-color: rgba(255,255,255,.14); }
.chain--dark .chain__t { color: var(--cream); }
.chain--dark .chain__d { color: #c3c8b8; }
@media (max-width: 900px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain__item:nth-child(2n) { border-right: 0; }
}

/* 数式の連鎖（MQ利益計画 → 月次PL予算 → …） */
.flow-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.flow-chain__item {
  font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.04em;
  padding: 10px 16px; border: 1px solid var(--line-strong); color: var(--ink-2);
}
.flow-chain__item--on { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.flow-chain__arrow { color: var(--gold-ink); font-size: 12px; }

/* Q1〜Q4 の実践マトリクス */
.matrix { border-top: 1px solid var(--line-strong); }
.matrix__row { display: grid; grid-template-columns: 148px repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.matrix__th {
  padding: 14px 14px 14px 0; font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--gold-ink); text-transform: uppercase;
}
.matrix__hd {
  padding: 14px 8px 14px 14px; font-family: var(--font-serif);
  font-size: 13px; letter-spacing: 0.06em; border-left: 1px solid var(--line);
}
.matrix__cell {
  padding: 14px 8px 14px 14px; border-left: 1px solid var(--line);
  font-size: 12px; color: var(--muted-2);
}
.matrix__cell::before { content: ""; display: block; width: 26px; height: 1px; background: var(--line-strong); }
@media (max-width: 900px) {
  .matrix__row { grid-template-columns: 120px repeat(4, minmax(0, 1fr)); }
  .matrix__cell, .matrix__hd { padding-left: 8px; font-size: 11px; }
}

/* 6か月の2つの局面（理解と設計 / 実践と検証） */
.months__bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-bottom: 1px solid var(--line-strong); }
.months__band { padding: 12px 16px; font-size: 11.5px; letter-spacing: 0.16em; }
.months__band--design { background: var(--paper-3); color: var(--ink-2); }
.months__band--practice { background: var(--olive); color: var(--cream); }
@media (max-width: 900px) { .months__bands { grid-template-columns: minmax(0, 1fr); } }

/* 設計領域（10項目）の2段組みリスト */
.domain-list {
  counter-reset: dl;
  columns: 2; column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line-strong);
}
.domain-list li {
  break-inside: avoid;
  counter-increment: dl;
  position: relative; padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; line-height: 1.85; letter-spacing: 0.03em;
}
.domain-list li::before {
  content: counter(dl, decimal-leading-zero);
  position: absolute; left: 0; top: 15px;
  font-family: var(--font-serif); font-size: 11.5px;
  letter-spacing: 0.1em; color: var(--gold-ink);
}
@media (max-width: 900px) { .domain-list { columns: 1; } }

/* 試算のバー（値の比例） */
.calc__bar { display: block; height: 1px; background: var(--line-strong); margin-top: 8px; }
.calc__bar span { display: block; height: 1px; background: var(--gold); }
.calc--dark .calc__bar { background: rgba(255,255,255,.16); }
.calc--dark .calc__bar span { background: var(--gold-2); }

/* ==========================================================================
   デザイン層 ── 営業資料の造形文法（罫線・余白・幽霊数字・点線）
   ========================================================================== */

/* 囲み（四隅のヘアライン） */
.plate { position: relative; border: 1px solid var(--line); background: transparent; }
.plate::before, .plate::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
}
.plate::before { left: -1px; top: -1px; border-left: 1px solid var(--gold); border-top: 1px solid var(--gold); }
.plate::after { right: -1px; bottom: -1px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.plate--pad { padding: clamp(20px, 2.6vw, 32px); }
/*
 * 枠内の注記（12px）は、版面を 1200px に広げたことで 1440px 時に
 * 1行 70文字まで伸びていた（2026-11-18 実測）。
 * 注記は 45文字前後で折り返すほうが読みやすいため行幅を制限する。
 */
.plate > .text-xs { max-width: 55em; }
.plate--dark { border-color: rgba(255,255,255,.2); }
.plate--dark::before, .plate--dark::after { border-color: var(--gold-2); }

/* 点線リーダーの台帳（項目 …… 値） */
.ledger { border-top: 1px solid var(--line-strong); }
.ledger__row {
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 15px; border-bottom: 1px solid var(--line);
}
.ledger__k { font-family: var(--font-serif); font-size: 13.5px; letter-spacing: 0.04em; flex: 0 0 auto; }
.ledger__dots { flex: 1 1 auto; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); min-width: 20px; }
/*
 * 値は余地のあるときだけ「最大化して右寄せ」、余地が無いときは折り返す。
 * flex: 0 0 auto（=縮小禁止）だと長い日本語が行からはみ出し、
 * 320〜430px で最大 241px 右に欠けていた（2026-11-18 実測）。
 */
.ledger__v { font-family: var(--font-serif); font-size: 13.5px; letter-spacing: 0.03em; color: var(--gold-ink); flex: 0 1 auto; min-width: 0; text-align: right; }
.section--dark .ledger, .section--dark .ledger__row { border-color: rgba(255,255,255,.16); }
.section--dark .ledger__k { color: var(--cream); }
.section--dark .ledger__dots { border-bottom-color: rgba(255,255,255,.26); }
.section--dark .ledger__v { color: var(--gold-2); }

/* 目盛り罫線 */
.ruler {
  height: 7px; border-bottom: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 28px);
  background-repeat: repeat-x; background-size: 28px 7px; background-position: left bottom;
}
.section--dark .ruler { border-bottom-color: rgba(255,255,255,.24); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.24) 0 1px, transparent 1px 28px); }

/* 写真の上に声明を置く帯（資料 P17 の型） */
.statement-band { position: relative; overflow: hidden; background: var(--olive-deep); }
.statement-band > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4; filter: saturate(0.72) brightness(0.52);
}
.statement-band__body { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 128px); color: var(--cream); }
.statement-band__body .decl { color: var(--cream); }
.statement-band__body .decl-sub { color: #c6cbbb; }
.statement-band__body .band-head__jp { color: #bcc1b1; }
.statement-band__body .band-head__top { border-bottom-color: rgba(255,255,255,.2); }
.statement-band__body .textlink { color: var(--cream); border-color: rgba(255,255,255,.34); }
.statement-band__body .textlink:hover { color: var(--gold-2); border-color: var(--gold-2); }
.statement-band__body .eyebrow { color: var(--gold-2); }
.statement-band__body .ledger__k { color: var(--cream); }
.statement-band__body .ledger, .statement-band__body .ledger__row { border-color: rgba(255,255,255,.18); }
.statement-band__body .ledger__dots { border-bottom-color: rgba(255,255,255,.28); }

/* 「積み上げ」の梯子（番号＋伸びる金罫） */
.ladder { border-top: 1px solid var(--line-strong); }
.ladder__row {
  display: grid; grid-template-columns: 62px 1fr; gap: clamp(12px, 2.4vw, 26px);
  padding-block: clamp(15px, 2vw, 20px); border-bottom: 1px solid var(--line);
  align-items: start;
}
.ladder__no {
  font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.18em;
  color: var(--gold-ink); padding-top: 4px;
}
.ladder__t {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(14.5px, 1.55vw, 17.5px); line-height: 1.75; letter-spacing: 0.04em;
}
.ladder__bar { display: block; margin-top: 10px; height: 1px; background: var(--line); position: relative; }
.ladder__bar::before {
  content: ""; position: absolute; left: 0; top: 0; height: 1px;
  width: calc((var(--i, 0) + 1) * 10%); background: var(--gold); opacity: 0.75;
}

/* 3つの段階（階段の濃淡＋幽霊数字） */
.stair--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/*
 * 3枚のカードを同じ大きさ・同じ高さにする。
 *
 * 以前は各カードに inline の `--h`（150 / 206 / 262px）が渡され、それが
 * `.stair__box { min-height: var(--h) }` として効いていた。さらに .stair の
 * `align-items: end`（下端揃え）と組み合わさって、下端だけが揃い上端が階段状に
 * ずれる状態だった（2026-11-20 実測：1024px で 203 / 206 / 262px）。
 *
 * → 段差をやめ、グリッドのストレッチで行の高さいっぱいに各列を伸ばし、
 *   カード本体も `flex: 1` で列の高さを埋める。高さは「文字量がいちばん多い
 *   カード」で決まるため、文章量が増えてもはみ出さずに外枠だけが揃う。
 *   （固定 height ではなく stretch ＋ min-height なので、文字が切れない）
 */
.stair--three { align-items: stretch; }
.stair--three .stair__col { justify-content: flex-start; }
.stair--three .stair__box {
  flex: 1 1 auto;
  min-height: 0; /* 旧 --h / 既定 130px のフォールバックを打ち消す */
  display: flex;
  flex-direction: column;
}

/*
 * 見出しの開始位置を3枚で揃える。
 *
 * 見出しは 2行 / 1行 とカードごとに長さが違うため、そのままだと本文の
 * 開始位置がずれる（2026-11-20 実測：1024px で card2 が 87.6px、
 * card1・card3 が 113.7px）。見出しに常に2行分の高さを確保して揃える。
 * min-height なので、3行になる幅ではそのまま伸びて文字は切れない。
 *
 * 適用は PC の3列（901px 以上）のみ。768〜900px の2列では3枚とも見出しが
 * 1行に収まり（実測 768px：カード幅 345.6px / 15px）、余白だけが空くため。
 */
@media (min-width: 901px) {
  .stair--three .stair__t { min-height: 3.4em; } /* line-height 1.7 × 2行 */
}

/*
 * 装飾数字（1・2・3）をカードの内側に収める。
 *
 * 以前は right:10px / bottom:-6px で、数字の下端がカードの外へ 6px はみ出していた
 * （下余白 -6px）。下端で切れず、右端・下端ともに 20〜30px の余白を確保する。
 *
 * 数字は実インク（字形そのもの）で 幅 26〜47px / 高さ 54〜64px あり、
 * 行送りの箱（メトリクス箱）は 104〜121px とさらに大きい。bottom を上げるだけでは
 * 箱が本文の最終行に食い込み、1024〜1150px で実際に字形が重なっていた
 * （2026-11-20 実測：最大 -8.5px）。そのため「少し内側へ ＋ サイズを微減」で解消する。
 * font-size は 7vw → 6.6vw（上限 84px は据え置き）で、1440px では従来どおり 84px。
 *
 * 768px 未満は従来どおり非表示（@media (max-width:767px) の display:none）。
 */
@media (min-width: 768px) {
  .stair--three .stair__ghost {
    right: 24px;
    bottom: 18px;
    font-size: clamp(44px, 6.6vw, 84px);
  }
}

/*
 * カードを縦にゆとりを持たせる。
 *
 * カードの高さは中身（文字量）で決まる構造なので、固定 height ではなく
 * 下余白を増やして伸ばす。こうすると文章が増えても切れずに外枠だけが伸びる。
 * 基準の padding は各幅の .stair__box と同じ値。
 *
 * 実測（PC 3列 / 901px 以上）：1024px 202.5→262.5 / 1280px 221.8→281.8 /
 * 1440px 222.6→282.6（いずれも +60px）。3枚とも同じ高さを維持。
 * 768〜900px の2列も、数字を内側へ寄せたぶん下余白を足して重なりを防ぐ。
 *
 * 注意：セレクタを .stair--three .stair__col .stair__box（詳細度 0,3,0）にしている。
 * 後方の @media (max-width:900px) が `.stair--three .stair__box { padding: … }`
 * という padding ショートハンド（詳細度 0,2,0）を持つため、同じ 0,2,0 で書くと
 * 記述順で負けて padding-bottom が消え、タブレット幅で数字が本文に重なる。
 */
@media (min-width: 768px) and (max-width: 900px) {
  .stair--three .stair__col .stair__box {
    padding-bottom: calc(clamp(18px, 2.6vw, 24px) + 52px);
  }
}
@media (min-width: 901px) {
  .stair--three .stair__col .stair__box {
    padding-bottom: calc(clamp(16px, 2vw, 26px) + 60px);
  }
}

.stair--three .stair__col:nth-child(1) .stair__box { background: var(--paper-3); }
.stair--three .stair__col:nth-child(2) .stair__box { background: var(--olive-3); border-top-color: var(--olive-3); }
.stair--three .stair__col:nth-child(3) .stair__box { background: var(--olive); border-top-color: var(--olive); }
.stair--three .stair__col:nth-child(2) .stair__no,
.stair--three .stair__col:nth-child(2) .stair__t,
.stair--three .stair__col:nth-child(3) .stair__no,
.stair--three .stair__col:nth-child(3) .stair__t { color: var(--cream); }
.stair--three .stair__col:nth-child(2) .stair__d,
.stair--three .stair__col:nth-child(3) .stair__d { color: #e2e5dc; }
.stair--three .stair__col:nth-child(2) .stair__ghost,
.stair--three .stair__col:nth-child(3) .stair__ghost { color: rgba(255, 255, 255, 0.1); }
/*
 * 3段階カード（01 見える / 02 決められる / 03 動かせる）の列数。
 *   〜767px     : 1列（縦積み）
 *   768〜900px  : 2列
 *   901px〜     : 3列（PC 既定 = line 1848）
 *
 * 以前はここで「max-width:900px なら1列」と書いていたが、後方にある
 * @media (max-width:900px) の `.stair { repeat(2, …) }` が同じ詳細度 (0,1,0) で
 * 後から適用されるため上書きされ、320〜430px でも2列のままだった。
 * （2026-11-18 実測：カード幅 138px / 本文 12px / 1行あたり6文字、
 *   カード高 402px で極端に縦長。）列数は下の2つのメディアクエリで決める。
 */
@media (max-width: 900px) {
  /* .stair.stair--three（詳細度 0,2,0）で指定する。
     .stair 単体（0,1,0）は後方の 900px ブロックにも書かれており、
     詳細度が同じだと記述順で負けて2列に戻ってしまうため。 */
  .stair.stair--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /*
   * 768〜900px（タブレット幅）の本文も 12px では小さすぎるため 15px に上げる。
   * 2列のままでも 1行19〜21文字が確保でき、行間も 1.8 を保てる。
   */
  .stair--three .stair__d { font-size: 15px; line-height: 1.8; }
  .stair--three .stair__box { padding: clamp(18px, 2.6vw, 24px); }
}

@media (max-width: 767px) {
  /* 1列縦積み。カード幅はコンテナ（.wrap）に追従させ、横スクロールは出さない。 */
  .stair.stair--three { grid-template-columns: minmax(0, 1fr); }
  .stair--three .stair__col { min-width: 0; }

  /*
   * スマートフォンの本文は16px・行間1.85（従来は12px/1.9）。
   * 12px では1行6〜10文字で折り返しが頻発し、カードが極端に縦長になっていた。
   * 文字・配色・書体（--font-serif / --font-sans）は変更していない。
   */
  .stair--three .stair__d { font-size: 16px; line-height: 1.85; letter-spacing: 0.03em; }
  .stair--three .stair__t { font-size: 17px; line-height: 1.65; }
  .stair--three .stair__no { font-size: 12px; letter-spacing: 0.22em; }

  /*
   * 余白は画面幅に追従（320px でも左右18pxを下限に確保）。
   * 縦積みでは「段差」の考え方が成立せず、カードだけが無駄に高くなるため
   * 高さ指定（--h）を打ち消して中身に合わせる。
   */
  .stair--three .stair__box { min-height: 0; padding: clamp(18px, 4.6vw, 26px); }
  /* 背景の大きな幽霊数字は、狭幅では本文に重なるため非表示（620px 以下の既存扱いに合わせる）。 */
  .stair--three .stair__ghost { display: none; }

  /*
   * フロー図（見える → 決められる → 動かせる）。
   * 320px では3つのラベルと矢印が1行に収まらず、途中で折り返して
   * 読み順が分断されていた（実測 276px に対し必要幅 312px）。
   * 狭幅では縦に積み、矢印だけ90度回して順序を保つ。
   * 文字サイズは12px → 15px に上げ、潰れを解消する。
   */
  .flow-block .flow { flex-direction: column; align-items: stretch; gap: 0; }
  .flow-block .flow__item {
    font-size: 15px; padding: 11px 14px; letter-spacing: 0.08em;
    text-align: center; white-space: nowrap;
  }
  .flow-block .flow__arrow {
    align-self: center; transform: rotate(90deg);
    font-size: 13px; line-height: 1; margin: 7px 0;
  }
  .flow-block .flow__note { font-size: 16px; line-height: 1.85; }
}

/* 写真プレート（キャプション付き） */
.figure-plate { position: relative; }
.figure-plate__img { overflow: hidden; background: var(--olive); }
.figure-plate__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.02); }
.figure-plate__cap {
  margin-top: 12px; display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}

/* 章番号つきの細い見出し */
.minihead {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.minihead__no { font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.2em; color: var(--gold-ink); }
.minihead__t { font-family: var(--font-serif); font-size: clamp(15px, 1.6vw, 18px); letter-spacing: 0.05em; }
.section--dark .minihead { border-bottom-color: rgba(255,255,255,.16); }
.section--dark .minihead__t { color: var(--cream); }

/* ==========================================================================
   支援モデル図（上流の設計 → 下流の実行）
   文字の説明だけでは伝わらない「役割の違い」と「時間軸」を図で示す。
   ========================================================================== */
.model-map {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  gap: 10px;
}
.model-map__row {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
}
.model-map__k {
  font-family: var(--font-serif); font-size: 13.5px; letter-spacing: 0.06em;
  color: var(--ink); display: flex; flex-direction: column; gap: 2px;
}
.model-map__k em {
  font-style: normal; font-family: var(--font-sans);
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted);
}
.model-map__track {
  position: relative; min-width: 0;
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(12px, 1.8vw, 20px);
}
.model-map__bar {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 16px;
  font-family: var(--font-serif); font-size: 14px; letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--paper-2);
}
.model-map__bar small {
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--muted);
}
/* 上流は濃色（設計）、下流は金（実行・継続）で役割を塗り分ける */
.model-map__bar--a { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.model-map__bar--a small { color: #c9cdbf; }
.model-map__bar--b { background: var(--gold-soft); border-color: var(--gold); color: #2a2416; }
.model-map__bar--b small { color: #5f4c2c; }
.model-map__note {
  margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 2; color: var(--ink-2);
}
.model-map__note span { display: block; color: var(--muted); }
/* 狭い画面では「役割 → 帯」の縦積みに切り替え、語中で折り返さない */
@media (max-width: 760px) {
  .model-map__row { grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
  .model-map__k { flex-direction: row; align-items: baseline; gap: 10px; }
  .model-map__track { padding-left: 14px; }
  .model-map__bar { flex-wrap: wrap; gap: 4px 10px; }
}

/* ==========================================================================
   TOP 表紙・写真の入り方
   紙面の組版と同じ考え方で、写真を「枠に収める」のではなく
   版面からはみ出させたり、差し込みを重ねたりして rhythm をつくる。
   ========================================================================== */

/* 表紙：宣言（左）＋アーチ写真（右）＋差し込み小写真＋縦ラベル */
.hero-cover {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(26px, 3.6vw, 62px);
  align-items: end;
}
.hero-cover__body { min-width: 0; padding-bottom: clamp(0px, 1.2vw, 20px); }
/* 12文字が1行に収まる上限に抑える（折り返しで語が割れないように） */
.hero-cover h1 {
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.48;
  letter-spacing: 0.04em;
  word-break: auto-phrase;
}
.hero-cover__figure {
  position: relative; min-width: 0;
  padding-left: clamp(14px, 2.2vw, 34px);
}
.hero-cover__figure .photo-arch {
  aspect-ratio: 4 / 5; position: relative; z-index: 2;
}
/* アーチの外側にずらす刷り出しの罫（紙面のレイヤー感） */
.hero-cover__frame {
  position: absolute; z-index: 1; pointer-events: none;
  left: clamp(2px, 0.4vw, 8px);
  top: clamp(-26px, -2vw, -12px);
  right: 0;
  bottom: clamp(46px, 5vw, 62px);
  border-left: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
}
/* アーチに重ねる差し込み（紙の貼り込みのように、細い縁で切る） */
.hero-cover__detail {
  position: absolute; z-index: 3;
  left: clamp(-10px, -0.8vw, -2px); bottom: clamp(34px, 4.4vw, 62px);
  width: clamp(96px, 13vw, 176px);
  background: var(--paper);
  box-shadow: 0 0 0 8px var(--paper);
  outline: 1px solid var(--line-strong);
}
.hero-cover__detail img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; filter: saturate(0.86) contrast(1.02);
}

/* 版面の外へ抜ける写真（右端まで。左右の余白を非対称にして単調さを崩す） */
/* 版面外へ抜ける写真は、直下の罫（目盛り）と接しないよう下に余白を残す */
.fig-bleed-r { min-width: 0; margin-bottom: clamp(22px, 2.8vw, 34px); }
.fig-bleed-r .figure-plate__img {
  margin-right: calc(-1 * (var(--gut) + max(0px, (100vw - var(--w-content)) / 2)));
}
.fig-bleed-r .figure-plate__cap {
  margin-right: calc(-1 * max(0px, (100vw - var(--w-content)) / 2));
  padding-right: var(--gut);
}
/* 中間幅：ナビを1行に保つ（語中折り返しの防止） */
@media (max-width: 1240px) and (min-width: 901px) {
  .header-inner { gap: 16px; }
  .nav { gap: 0; }
  .nav__link { padding: 10px 9px; font-size: 12.5px; letter-spacing: 0.05em; }
  .nav__link::after { left: 9px; right: 9px; }
  .header-cta .btn { padding-inline: 14px; font-size: 12.5px; }
  .brand__logo { height: 25px; }
  .brand__jp { font-size: 10px; letter-spacing: 0.12em; padding-left: 10px; }
}

@media (max-width: 1080px) {
  .fig-bleed-r .figure-plate__img { margin-right: 0; }
  .fig-bleed-r .figure-plate__cap { margin-right: 0; padding-right: 0; }
}

/* 濃色帯の下に敷く写真（面の平板さを崩す） */
.section--photo { overflow: hidden; }
.section--photo > .section__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.16; pointer-events: none;
}
.section--photo > .wrap { position: relative; z-index: 1; }

/* 見開きの写真帯（左右いっぱいに抜く） */
.case-band { position: relative; margin-block: clamp(26px, 3.4vw, 40px) clamp(30px, 4vw, 46px); }
.case-band__img {
  aspect-ratio: 21 / 9; overflow: hidden; background: var(--olive);
  margin-inline: calc(50% - 50vw);
}
.case-band__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-cover { grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 44px); align-items: start; }
  .hero-cover__figure { order: 2; max-width: 480px; padding-left: 26px; }
  .hero-cover__figure .photo-arch { aspect-ratio: 4 / 5; }
  .fig-bleed-r .figure-plate__img { margin-right: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .hero__figure { order: 2; max-width: 460px; }
  .split--aside { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .split-panel { grid-template-columns: minmax(0, 1fr); }
  .split-panel__r { margin-right: 0; padding-right: clamp(24px, 4vw, 56px); }
  .months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .month { border-bottom: 1px solid var(--line); }
  .node-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .node::after { display: none; }
}

@media (max-width: 900px) {
  /*
   * SP のヘッダー高さを 1箇所で決める。
   * 以前はここで .drawer { inset: 66px 0 0 0 } と4辺を一括指定していたが、
   * inset は base 側の top/right/bottom/left（env() 込み）を上書きしてしまい、
   * ノッチ余白が消える。開始位置は base 側の
   * top: calc(var(--header-h) + env(safe-area-inset-top, 0px)) に任せる。
   */
  :root { --header-h: 66px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .drawer { display: none; }
  .drawer.is-open { display: block; }
  html { scroll-padding-top: calc(var(--header-h) + 8px); }
  .grid--3, .grid--4, .pain-grid, .steps, .post-grid, .tools, .options, .stair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-duo, .grid--2, .profile, .reality, .ba, .split, .split--aside { grid-template-columns: minmax(0, 1fr); }
  /*
   * SP は1列縦並び。ここで「.svc + .svc { padding-left: 0 }」と書くと、
   * 同じ詳細度 (0,2,0) で後方にあるこのルールが .svc.svc--primary の
   * 左パディングを上書きし、濃色カードの本文が左端に密着していた
   * （2026-11-18 実測：本文の左実効余白 0px / 右 24px）。
   * → 罫線の付け替えだけを行い、左右の内部余白は各カードに任せる。
   *    罫線のない「八十八」側は版面（見出し・リード）と左端を揃えるため 0、
   *    濃色カードは左右とも 24px 以上を確保する。
   */
  .svc + .svc { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .svc:not(.svc--primary) { padding-inline: 0; }
  .svc.svc--primary { padding-inline: clamp(24px, 4vw, 32px); }
  .reality__col + .reality__col { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; padding-top: 28px; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .post-row__arrow { display: none; }
  .reason { grid-template-columns: 40px 1fr; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--line); min-width: 0; }
  /*
   * SP で横スクロールが発生していた原因（2026-11-17 実測）:
   * nav が grid-auto-flow:column で横並びになると min-content 幅が 453px になり、
   * グリッド列が 492.5px まで押し広げられて 390px の画面からはみ出していた。
   * → グリッド項目に min-width:0 を与え、nav 自身をスクロール領域に閉じ込める。
   */
  .admin-side nav { grid-auto-flow: column; overflow-x: auto; min-width: 0; max-width: 100%; }
  .admin-main { min-width: 0; }
  .admin-form { min-width: 0; }
  .admin-form input, .admin-form select, .admin-form textarea { max-width: 100%; }
  /*
   * 以前はここで `.compare tbody th { width: 88px }` と px 固定にしていた。
   * 本文と詳細度が同じ (0,1,1) で後方にあるため、base 側の列幅指定を
   * 狭幅でだけ上書きしてしまい、比較軸の列だけ比率が崩れていた。
   * → 列幅は .compare 側の 20% / 40% / 40% に一本化し、ここでは指定しない。
   */
  .ba__row { grid-template-columns: 1fr 110px; }

  /*
   * 管理画面のヘッダー帯は、320px では CMS 名・リンク3つ・ログアウトが
   * 1行に収まらず 43px はみ出していた（2026-11-18 実測）。
   * 折返しを許可し、高さは内容に合わせる。
   */
  .admin-bar .wrap { height: auto; min-height: 46px; flex-wrap: wrap; gap: 6px 14px; padding-block: 9px; }
  .admin-bar .wrap > form { margin-left: 0; }

  /*
   * 記事一覧・問い合わせ一覧の表は列が多いため、狭幅では
   * 表そのものを横スクロール領域に閉じ込める（ページ全体を広げない）。
   */
  .admin-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table-wrap > .admin-table { min-width: 640px; }
}

@media (max-width: 620px) {
  body { font-size: 15px; line-height: 1.95; }
  /* 社名テキストがハンバーガーに届く幅では、ロゴのみにする */
  .brand { gap: 0; }
  .brand__jp { display: none; }
  .brand__logo { height: 24px; }
  .grid--3, .grid--4, .pain-grid, .steps, .post-grid, .tools, .options, .months, .node-row { grid-template-columns: minmax(0, 1fr); }
  .hero__meta { gap: 6px 20px; font-size: 12px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .svc__foot .btn { width: 100%; }
  .footer-nav { grid-template-columns: minmax(0, 1fr); }
  .faq summary { grid-template-columns: 24px minmax(0, 1fr) 18px; font-size: 14px; }
  .faq__a { padding-left: 40px; }
  .info-table th { width: 36%; padding: 14px 12px 14px 0; font-size: 11px; }
  .info-table td { padding: 14px 0; font-size: 13px; }
  .steps-note { flex-direction: column; align-items: flex-start; }
  .stair { gap: 0; }
  .stair__box { min-height: 0; }
  .stair__ghost { display: none; }
  .calc__row { grid-template-columns: 28px minmax(0, 1fr); }
  .calc__v { grid-column: 2; justify-self: start; margin-top: 4px; }
  .logo-88 { font-size: 54px; }
  .month { border-right: 0; }

  /*
   * 台帳（項目 …… 値）は狭幅では2行に積む。
   * 1行に収めようとすると分数点線が潰れ、値が読みにくくなるため。
   */
  .ledger__row { flex-wrap: wrap; gap: 2px 12px; }
  .ledger__k { flex: 0 0 auto; }
  .ledger__dots { display: none; }
  .ledger__v { flex: 1 0 100%; text-align: left; line-height: 1.75; }

  /*
   * iOS Safari は 16px 未満の入力欄にフォーカスすると自動で拡大する。
   * スマートフォンでの入力性を保つため 16px を下限にする。
   */
  .field input[type="text"], .field input[type="email"], .field input[type="tel"],
  .field select, .field textarea { font-size: 16px; max-width: 100%; }
  .admin-form input, .admin-form select, .admin-form textarea { font-size: 16px; }
  .admin-form textarea { font-size: 15px; }
  .check { font-size: 14px; }
  .field > label, .field__label { font-size: 14px; }
  .field__help, .field__error { font-size: 13px; }
}

/* 印刷 */
@media print {
  .site-header, .site-footer, .cta-band, .drawer, .hero .btn-row { display: none; }
  body { color: #000; background: #fff; }
  .section--dark, .section--soft { background: #fff; color: #000; }
}

/* ============================================================
   リッチテキストエディター（フェーズ3）
   ============================================================ */
/*
 * Quill 2.0 (theme:'snow') が実際に生成する DOM（2026-11-17 実測）:
 *
 *   div.ql-toolbar.ql-snow                       ← #body-editor の【前の兄弟】。子ではない
 *   div#body-editor.editor-mount.ql-container.ql-snow   ← mount 自身が .ql-container
 *     div.ql-editor
 *
 * そのため旧セレクタ `.editor-mount .ql-toolbar` / `.editor-mount .ql-container` は
 * どちらも一致せず、Quill 標準の `.ql-container{height:100%}` がそのまま効いていた。
 * 結果として高さが親グリッド項目に引きずられ 1334px（SP 2092px）まで肥大し、
 * 後続の「SEOディスクリプション」等が本文欄に重なっていた。
 * → セレクタを実 DOM に合わせ、高さを明示的に確定させる。
 */
.editor-bar{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.editor-mount{background:#fff;border:1px solid var(--line-strong)}
/* toolbar は mount の前の兄弟なので .admin-form スコープで当てる */
.admin-form .ql-toolbar.ql-snow{border:1px solid var(--line-strong);border-bottom:0;background:var(--paper-2);font-family:var(--font-sans);padding:6px 8px}
/* toolbar が直前に存在する場合のみ上枠を落とし、1本の枠に見せる */
.admin-form .ql-toolbar.ql-snow + .editor-mount{border-top:0}
/* mount 自身が .ql-container。Quill 標準の height:100% を打ち消す */
/* margin-bottom は補足説明の margin-top(4px) と相殺されるため 12px とる */
.editor-mount.ql-container{height:auto;font-family:var(--font-serif);font-size:15px;line-height:1.9;margin-bottom:12px}
/* 高さは .ql-editor 側で確定させる（内部スクロール） */
.editor-mount .ql-editor{height:clamp(300px,48vh,460px);min-height:0;overflow-y:auto;padding:20px 22px}
.editor-mount .ql-editor h2{font-size:20px;margin:24px 0 10px}
.editor-mount .ql-editor h3{font-size:17px;margin:20px 0 8px}
.editor-mount .ql-editor p{margin:0 0 14px}
.editor-mount .ql-editor .callout{border-left:2px solid var(--gold);background:var(--paper-2);padding:14px 18px;margin:18px 0;font-size:14px;line-height:1.85}
.editor-mount .ql-editor blockquote{border-left:2px solid var(--line-strong);padding:6px 16px;color:var(--ink-2)}
.editor-mount .ql-editor img{max-width:100%;height:auto}
.editor-mount .ql-editor pre.ql-syntax{background:#2f352f;color:#f4f1e8;padding:14px;overflow:auto;font-family:var(--font-mono);font-size:13px}
.admin-form #body[style*="display: none"]{display:none}
