/*
  映作堂｜企業の動画編集 — 共通スタイル（デザインシステム v3・2026-10-05 作り直し）
  根拠: marketing/research/2026-10-05-design-references.md（5章 設計指示書）
  原則: 引く設計。和の記号はロゴの朱の角印1つだけ。朱は「申込みボタン・必須の印・お試しの価格」だけ。
  値は下の :root のトークン以外を使わない（色・文字の大きさ・字間・余白）。

  目次
   1. トークン
   2. 土台
   3. ヘッダー
   4. ボタン・リンク
   5. セクションと見出し
   6. ヒーロー（最初の画面）と数の帯
   7. 下層ページの見出し
   8. カード・リスト・手順
   9. 届くもの・お知らせ
  10. 料金・お試し
  11. 開閉（details）・FAQ
  12. 表
  13. フォーム
  14. フッター・画面下の固定ボタン
  15. 準備中の枠（非表示）
  16. 画面幅ごとの調整
  17. 動き
  18. 印刷
  19. 図解（インラインSVGのアイコン＋HTMLの文字）
  20. 理念（運営者情報）
  21. 見本の書類
  22. 要約文・目次の見本と説明動画（2026-10-06）
*/

/* ---------- 1. トークン ---------- */
:root {
  /* 色（勝色×朱×白）。面積の目安: 白・生成り85%／勝色10%／朱3%以下 */
  --c-brand: #1F2B47;          /* 勝色: ロゴの文字・見出し・リンク・フッターの地・おすすめの枠。白の上 14.05:1 */
  --c-action: #B83A1E;         /* 朱: 申込みボタン・必須の印・お試しの価格だけ。白文字 5.73:1 */
  --c-action-hover: #9A2F17;   /* 朱の濃: ボタンのホバー・押した時。白文字 7.52:1 */
  --c-action-on-dark: #F08A6B; /* 朱の淡: フッター（勝色の地）の上のホバーだけ。勝色の上 5.72:1 */
  --c-text: #1B1D22;           /* 墨: 本文。白の上 16.86:1 */
  --c-text-sub: #5B606A;       /* 鈍色: 補足・注記。白 6.31:1／生成り 5.79:1 */
  --c-bg: #FFFFFF;             /* 白: 基本の地 */
  --c-bg-alt: #F7F5F0;         /* 生成り: 交互のセクション・表の見出しの行 */
  --c-line: #E4E0D8;           /* 灰白: 区切りの罫（飾り） */
  --c-line-input: #8C8579;     /* 入力欄の枠。白の上 3.65:1（部品は3:1以上） */
  --c-fig-line: rgb(31 43 71 / 0.3);  /* 図の線（勝色の薄い色）。図の中だけで使う */
  --c-fig-fill: rgb(31 43 71 / 0.08); /* 図の塗り（勝色のごく薄い色）。図の中だけで使う */

  /* 書体: 本文は端末の標準ゴシック、見出しだけ明朝（Shippori Mincho B1 600） */
  --f-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "AdjustedYuGothic", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --f-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;

  /* タイプスケール（8段階）。スマホの値。640px以上で下の @media で切り替える */
  --fs-display: 32px;   /* トップ・A・Bのh1 */
  --fs-h1: 28px;        /* 下層ページのh1 */
  --fs-h2: 24px;        /* セクションの見出し */
  --fs-h3: 18px;        /* カード・料金・FAQの見出し（ゴシック700） */
  --fs-lead: 16px;      /* ヒーローのサブコピー・導入文 */
  --fs-body: 16px;      /* 本文 */
  --fs-small: 14px;     /* 注記・表・ボタンの下の一言 */
  --fs-caption: 12px;   /* パンくず・法的な注記 */
  --fs-display-sub: 20px; /* h1の2行目（明朝・墨色）。h3と同じ段 */

  /* 字間は3種類だけ */
  --ls-tight: 0;        /* 大見出し・価格の数字 */
  --ls-text: 0.02em;    /* 見出し・本文 */
  --ls-ui: 0.04em;      /* キャプション・ボタン */

  /* 余白（4pxの倍数・10段階） */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* レイアウト */
  --wrap: 1120px;       /* 中身の最大幅（12列・列の間24px） */
  --measure: 680px;     /* 文章の幅の上限（約40字） */
  --gutter: 20px;       /* 画面の左右（640px以上で32px） */
  --section-y: 80px;    /* セクションの上下（パソコン128px） */
  --header-h: 64px;     /* ヘッダーの高さ（パソコン72px） */
  --radius-btn: 6px;
  --radius-card: 8px;

  --t-fast: 0.15s ease;
}

/* Windows の游ゴシックは標準の太さだと細くかすれるため、400に Medium を割り当てる */
@font-face { font-family: "AdjustedYuGothic"; font-weight: 400; src: local("Yu Gothic Medium"), local("YuGothic-Medium"); }
@font-face { font-family: "AdjustedYuGothic"; font-weight: 700; src: local("Yu Gothic Bold"), local("YuGothic-Bold"); }

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: var(--ls-text);
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
/* 画面下の固定ボタンがある画面は、最後の文字が隠れないよう余白を取る */
body.has-fixed-cta { padding-bottom: calc(var(--sp-10) - var(--sp-6) + env(safe-area-inset-bottom)); }

img, svg, video { max-width: 100%; height: auto; }
::selection { background: var(--c-brand); color: var(--c-bg); }

a {
  color: var(--c-brand);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: rgb(31 43 71 / 0.4);
  transition: color var(--t-fast), text-decoration-color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; border-radius: 2px; }

p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.5em; }
li { margin-bottom: var(--sp-2); }
strong { font-weight: 700; }

h1, h2, h3, h4 { margin: 0 0 var(--sp-4); color: var(--c-brand); }
h1, h2 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-feature-settings: "palt" 1;
  /* 日本語の見出しを文節の切れ目で折り返す（対応ブラウザのみ） */
  word-break: auto-phrase;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.35; letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); line-height: 1.4; letter-spacing: var(--ls-text); }
h3 {
  font-family: var(--f-sans); font-weight: 700;
  font-size: var(--fs-h3); line-height: 1.5; letter-spacing: var(--ls-text);
  text-wrap: balance;
}
h4 { font-family: var(--f-sans); font-weight: 700; font-size: var(--fs-body); line-height: 1.5; color: var(--c-text); }

small, .small { font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--c-brand); color: var(--c-bg); padding: var(--sp-3) var(--sp-4); text-decoration: none;
}
.skip-link:focus { left: var(--sp-3); top: var(--sp-3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
/* 文章だけのセクション: 中身の幅（1120px）の中で、左寄せ・最大680px */
.wrap-narrow > * { max-width: var(--measure); }
.wrap-narrow > .table, .wrap-narrow > .form { max-width: var(--measure); }

.mb-0 { margin-bottom: 0 !important; }
.mt-s { margin-top: var(--sp-4); }
.mt-m { margin-top: var(--sp-6); }
.center { text-align: center; }

/* ---------- 3. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--sp-4);
}
.logo {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  white-space: nowrap; text-decoration: none; color: var(--c-brand); line-height: 1.2;
}
/* ロゴは画像（assets/img/logo.svg・logo-compact.svg。2026-10-06 正式版）。和の記号はこの朱の角印1つだけ */
.logo-img { display: block; height: 28px; width: auto; }

.nav-desktop { display: none; }

/* スマホのメニュー（details） */
.nav-mobile > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; padding: 0 var(--sp-3);
  border: 1px solid var(--c-line); border-radius: var(--radius-btn);
  font-size: var(--fs-small); font-weight: 700; letter-spacing: var(--ls-ui); color: var(--c-brand); white-space: nowrap;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::after {
  content: ""; width: 16px; height: 8px;
  border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
}
.nav-mobile[open] > summary::after { height: 2px; border-bottom-width: 0; }
.nav-mobile ul {
  position: absolute; left: 0; right: 0; top: 100%;
  list-style: none; margin: 0; padding: var(--sp-2) var(--gutter) var(--sp-5);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-mobile li { margin: 0; }
.nav-mobile a:not(.btn) {
  display: block; padding: var(--sp-4) 0;
  text-decoration: none; color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
}
.nav-mobile a[aria-current="page"] { color: var(--c-brand); font-weight: 700; }
.nav-mobile a.btn { display: flex; margin-top: var(--sp-5); }

/* ---------- 4. ボタン・リンク ---------- */
/* 主ボタン: 朱・高さ56px（スマホ52px）・角丸6px・右に矢印。ホバーは色が変わるだけ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 52px; padding: var(--sp-3) var(--sp-6);
  background: var(--c-action); color: var(--c-bg);
  border: 1px solid var(--c-action); border-radius: var(--radius-btn);
  font-family: var(--f-sans); font-size: var(--fs-body); font-weight: 700;
  letter-spacing: var(--ls-ui); line-height: 1.4; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn::after {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover, .btn:active { background: var(--c-action-hover); border-color: var(--c-action-hover); color: var(--c-bg); }
.btn:focus-visible { outline-offset: 3px; }
/* 副ボタン: 地なし・勝色の1px枠 */
.btn-outline { background: transparent; color: var(--c-brand); border-color: var(--c-brand); }
.btn-outline:hover, .btn-outline:active { background: var(--c-bg-alt); border-color: var(--c-brand); color: var(--c-brand); }
.btn-block { display: flex; width: 100%; }
.btn-small { min-height: 40px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-small); }
.btn-small::after { display: none; }

.cta-box { margin: var(--sp-6) 0 0; }
.cta-row { display: flex; flex-direction: column; gap: var(--sp-3); }
.cta-note { display: block; margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }

.link-arrow, .link-down { font-weight: 700; }
.link-arrow::after { content: " →"; }
.link-down::after { content: " ↓"; }

.sublinks { list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.sublinks li { margin-bottom: var(--sp-3); }

/* ---------- 5. セクションと見出し ---------- */
main { display: block; }
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-title { margin-bottom: var(--sp-4); }
/* 見出し→導入文 16px、導入文→中身 32px（パソコン48px） */
/* 導入文（lead・鈍色）は、カードや料金の前に置く1文だけ。文章のセクションの本文は墨色のまま */
.wrap:not(.wrap-narrow) > .section-title + p, .section-lead { color: var(--c-text-sub); font-size: var(--fs-lead); line-height: 1.8; margin-bottom: var(--sp-6); }
.section-title + .cards, .section-title + .steps, .section-title + .table,
.section-title + .list-check, .section-title + .list-num, .section-title + .acc,
.section-title + .deliverables, .section-title + .price-cards { margin-top: var(--sp-6); }
.subhead { margin-top: var(--sp-7); }

/* 最後の申込み: 中央寄せ（中央寄せはここだけ） */
.section-close { background: var(--c-bg); border-top: 1px solid var(--c-line); }
.section-close .wrap-narrow > * { margin-left: auto; margin-right: auto; }
.section-close .cta-row { align-items: center; }
.section-close .sublinks li { text-align: center; }

/* ---------- 6. ヒーロー（最初の画面）と数の帯 ---------- */
.hero { padding: var(--sp-7) 0 var(--sp-7); background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hero-grid { display: grid; gap: var(--sp-7); }
.eyebrow { font-size: var(--fs-small); color: var(--c-text-sub); margin-bottom: var(--sp-4); }
.hero h1 { font-size: var(--fs-display); line-height: 1.3; margin-bottom: var(--sp-5); }
.hero h1 .line { display: block; }
.hero h1 .line + .line {
  margin-top: var(--sp-3);
  font-size: var(--fs-display-sub); line-height: 1.6; color: var(--c-text);
}
.hero-sub { font-size: var(--fs-lead); line-height: 1.8; max-width: var(--measure); margin-bottom: 0; }
.hero .cta-box { margin-top: var(--sp-6); }

/* ヒーロー右側: 届くものを整理した文字のカード（見本の実物がそろうまで） */
.hero-card {
  align-self: center;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.hero-card-title {
  font-family: var(--f-serif); font-weight: 600; font-feature-settings: "palt" 1;
  font-size: var(--fs-display-sub); line-height: 1.4; color: var(--c-brand);
  margin-bottom: var(--sp-4);
}
.hero-card-list { margin: 0; }
.hero-card-list > div {
  display: grid; gap: var(--sp-1);
  padding: var(--sp-3) 0; border-top: 1px solid var(--c-line);
}
.hero-card-list dt { font-weight: 700; color: var(--c-text); line-height: 1.5; }
.hero-card-list dd { margin: 0; font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }
.hero-facts {
  list-style: none; padding: var(--sp-4) 0 0; margin: 0;
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-small); color: var(--c-text); font-weight: 700;
}
.hero-facts li { margin: 0; }

/* 数で書いた約束の帯 */
.hero-band {
  list-style: none; margin: var(--sp-7) 0 0; padding: var(--sp-5) 0 0;
  border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5) var(--sp-4);
}
.hero-band li { margin: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.hb-num {
  font-family: var(--f-serif); font-weight: 600; font-feature-settings: "palt" 1;
  font-size: var(--fs-h2); line-height: 1.3; letter-spacing: var(--ls-tight);
  color: var(--c-brand); font-variant-numeric: tabular-nums;
}
.hb-unit { font-size: var(--fs-small); margin-left: var(--sp-1); letter-spacing: var(--ls-text); }
.hb-label { font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.6; }
.hero-note { font-size: var(--fs-caption); color: var(--c-text-sub); letter-spacing: var(--ls-ui); line-height: 1.6; margin: var(--sp-4) 0 0; }

/* ---------- 7. 下層ページの見出し ---------- */
.page-head { background: var(--c-bg-alt); padding: var(--sp-7) 0; border-bottom: 1px solid var(--c-line); }
.page-head h1 { margin-bottom: var(--sp-4); }
.page-head p { color: var(--c-text-sub); font-size: var(--fs-lead); max-width: var(--measure); margin-bottom: 0; }
.breadcrumb { font-size: var(--fs-caption); letter-spacing: var(--ls-ui); color: var(--c-text-sub); margin-bottom: var(--sp-5); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 var(--sp-2); color: var(--c-line-input); }
.breadcrumb a { color: var(--c-text-sub); }

/* ---------- 8. カード・リスト・手順 ---------- */
/* カード: 角丸8px・薄い枠・影なし・間隔24px（スマホ16px） */
.cards { display: grid; gap: var(--sp-4); }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.section-alt .card { background: var(--c-bg); }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { margin-bottom: var(--sp-4); }
.card .link-arrow { margin-top: auto; }
.card-price { font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); }
.card-foot { margin-top: auto; }
.operator dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); margin: 0 0 var(--sp-4); font-size: var(--fs-small); line-height: 1.7; }
.operator dt { color: var(--c-text-sub); }
.operator dd { margin: 0; }

/* 点のリスト・番号リスト（飾りの記号は使わず、勝色の小さな点と数字） */
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: var(--sp-5); }
.list-check li::before {
  content: ""; position: absolute; left: var(--sp-1); top: 0.8em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand);
}
.list-num { list-style: none; padding: 0; counter-reset: ln; }
.list-num li { counter-increment: ln; position: relative; padding-left: var(--sp-6); }
.list-num li::before {
  content: counter(ln) "."; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--c-brand); font-variant-numeric: tabular-nums;
}

/* 手順: 番号は勝色の丸（直径32px）に白の数字。つなぐ線は灰白1px */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: st; display: grid; gap: var(--sp-5); }
.steps li { counter-increment: st; position: relative; padding-left: var(--sp-7); margin: 0; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-brand); color: var(--c-bg);
  font-size: var(--fs-small); font-weight: 700; line-height: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 16px; top: var(--sp-6); bottom: calc(var(--sp-5) * -1);
  width: 1px; background: var(--c-line);
}
.steps strong { display: block; word-break: auto-phrase; text-wrap: pretty; font-size: var(--fs-h3); line-height: 1.5; color: var(--c-brand); padding-top: var(--sp-1); margin-bottom: var(--sp-1); }
.steps p { margin: 0; color: var(--c-text-sub); font-size: var(--fs-small); line-height: 1.7; }

/* ---------- 9. 届くもの・お知らせ ---------- */
.deliverables { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.deliverable {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.section:not(.section-alt) .deliverable { background: var(--c-bg-alt); }
.deliverable h3 { margin-bottom: var(--sp-2); }
.deliverable p { margin: 0; font-size: var(--fs-small); line-height: 1.7; }

.ba { display: grid; gap: var(--sp-5); }
.ba-pair { display: grid; gap: var(--sp-4); }
.ba-label { display: block; font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--sp-2); }

.notice {
  margin: var(--sp-6) 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  padding: var(--sp-4) 0;
  max-width: var(--measure);
}
.notice p { margin: 0; }
.note-sample { margin-top: var(--sp-3); }
.signature { margin-top: var(--sp-5); text-align: right; font-family: var(--f-serif); font-weight: 600; color: var(--c-brand); }

/* ---------- 10. 料金・お試し ---------- */
.price-cards { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-6); align-items: start; }
.price-card {
  position: relative;
  background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.price-card h3 { margin-bottom: var(--sp-3); }
/* おすすめ: 勝色の2px枠＋上に勝色の帯。前に出す処理・影はしない */
.price-card.is-recommended { border: 2px solid var(--c-brand); padding-top: var(--sp-8); }
.badge {
  position: absolute; left: 0; right: 0; top: 0;
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-brand); color: var(--c-bg);
  font-size: var(--fs-small); font-weight: 700; letter-spacing: var(--ls-ui); line-height: 1.7;
  border-radius: calc(var(--radius-card) - 2px) calc(var(--radius-card) - 2px) 0 0;
}
.price { margin: 0 0 var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-1); }
.price-main {
  font-family: var(--f-serif); font-weight: 600;
  font-size: var(--fs-display); line-height: 1.2; letter-spacing: var(--ls-tight);
  color: var(--c-brand); font-variant-numeric: tabular-nums;
}
.price-main .unit { font-size: var(--fs-display-sub); margin-left: var(--sp-1); letter-spacing: var(--ls-text); }
.price-tax { font-size: var(--fs-small); color: var(--c-text-sub); }
.price-meta { list-style: none; padding: 0; margin: 0 0 var(--sp-4); font-size: var(--fs-small); border-top: 1px solid var(--c-line); }
.price-meta li { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--sp-3); margin: 0; padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-line); line-height: 1.7; }
.price-meta li > span:first-child { color: var(--c-text-sub); }
.includes-title { font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--sp-1); }
.includes { font-size: var(--fs-small); line-height: 1.7; }
.recommend-reason { font-size: var(--fs-small); line-height: 1.7; margin: 0; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }

.sum-box {
  background: var(--c-bg-alt); border-radius: var(--radius-card);
  padding: var(--sp-5); margin: var(--sp-6) 0;
  max-width: var(--measure);
}
.sum-box h3 { margin-bottom: var(--sp-3); }
.sum-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.sum-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); margin: 0; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); }
.sum-list .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-list .amt small { font-weight: 400; }

/* お試しの箱: 生成りの地に白いカード・上端に朱の線（3px）だけ */
.trial {
  background: var(--c-bg);
  border: 1px solid var(--c-line); border-top: 3px solid var(--c-action);
  border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.trial .eyebrow { margin-bottom: var(--sp-2); }
.trial .price { margin-bottom: var(--sp-5); }
.trial .price-main { color: var(--c-action); } /* お試しの価格は朱（朱の3つの用途の1つ） */
.guarantee { margin: var(--sp-5) 0; padding: var(--sp-4); background: var(--c-bg-alt); border-radius: var(--radius-card); }
.section-alt .guarantee { background: var(--c-bg); border: 1px solid var(--c-line); }
.trial .guarantee { background: var(--c-bg-alt); border: 0; }
.doc-chip { font-size: var(--fs-small); color: var(--c-text-sub); }

/* ---------- 11. 開閉（details）・FAQ ---------- */
.acc { border-bottom: 1px solid var(--c-line); max-width: var(--measure); }
.acc:first-of-type, .section-title + .acc, .sum-box + .acc, p + .acc { border-top: 1px solid var(--c-line); }
.acc + .acc { border-top: 0; }
.acc > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-weight: 700; color: var(--c-text); line-height: 1.6;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: var(--sp-1);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--c-brand);
  transition: transform var(--t-fast);
}
.acc[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat; transform: rotate(180deg); }
.acc > summary:hover { color: var(--c-brand); }
.acc-body { padding: 0 0 var(--sp-5); }
.acc-body > :last-child { margin-bottom: 0; }
.acc-body ul { padding-left: 1.25em; }

/* ---------- 12. 表（横罫だけ） ---------- */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.7; margin: 0 0 var(--sp-5); }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--sp-4) var(--sp-3); border-bottom: 1px solid var(--c-line); }
.table tr:first-child > * { border-top: 1px solid var(--c-line); }
.table thead th { background: var(--c-bg-alt); font-weight: 700; }
.table-def th { width: 34%; font-weight: 700; background: var(--c-bg-alt); }
.section-alt .table-def th { background: var(--c-bg); }

/* ---------- 13. フォーム ---------- */
.form { margin-top: var(--sp-6); }
.field { margin-bottom: var(--sp-5); }
.field > label, .field > .label {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-small); font-weight: 700; margin-bottom: var(--sp-2);
}
.req, .opt { font-size: var(--fs-caption); letter-spacing: var(--ls-ui); line-height: 1.6; font-weight: 700; }
.req { background: var(--c-action); color: var(--c-bg); padding: 0 var(--sp-2); border-radius: 4px; }
.opt { color: var(--c-text-sub); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  display: block; width: 100%; min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font: inherit; font-size: var(--fs-body); color: var(--c-text); letter-spacing: var(--ls-text);
  background: var(--c-bg);
  border: 1px solid var(--c-line-input); border-radius: var(--radius-btn);
}
.field textarea { min-height: 160px; line-height: 1.7; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: var(--sp-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231F2B47' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--sp-4) center; background-size: 16px 16px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 0; border-color: var(--c-brand); }
.field ::placeholder { color: var(--c-text-sub); opacity: 1; }
.hint { font-size: var(--fs-small); color: var(--c-text-sub); margin: var(--sp-2) 0 0; line-height: 1.7; }
.check { display: flex; align-items: flex-start; gap: var(--sp-3); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: var(--sp-1) 0 0; flex-shrink: 0; accent-color: var(--c-brand); }

/* ---------- 14. フッター・画面下の固定ボタン ---------- */
/* 勝色の濃い地はフッターだけ */
.site-footer { background: var(--c-brand); color: var(--c-bg); padding: var(--sp-8) 0 var(--sp-6); }
.site-footer a { color: var(--c-bg); text-decoration-color: rgb(255 255 255 / 0.4); }
.site-footer a:hover { color: var(--c-action-on-dark); text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--c-bg); }
.footer-grid { display: grid; gap: var(--sp-7); }
.footer-brand { margin-bottom: var(--sp-4); }
.footer-brand img { display: block; height: 32px; width: auto; max-width: 100%; }
.footer-tagline { font-size: var(--fs-small); margin-bottom: var(--sp-5); }
.footer-op { font-size: var(--fs-small); line-height: 1.8; margin: 0; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5); font-size: var(--fs-small); }
.footer-nav li { margin: 0; }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgb(255 255 255 / 0.2); }
.copyright { font-size: var(--fs-caption); letter-spacing: var(--ls-ui); margin: 0; }

/* 画面下の固定ボタン（1080px未満）。朱は1つだけ */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
  padding: var(--sp-3) var(--gutter) calc(var(--sp-3) + env(safe-area-inset-bottom));
}
.fixed-cta .btn { display: flex; width: 100%; max-width: 480px; margin: 0 auto; }

/* ---------- 15. 準備中の枠（非表示） ---------- */
/* 見本動画・画像・PDFなど、まだ実物がない枠。HTMLには残し（差し替えのコメント付き）、画面には出さない。
   素材を差し替えたら、その要素の is-pending を外す */
.is-pending { display: none !important; }
/* 差し替えた後の器（16:9） */
.placeholder { aspect-ratio: 16 / 9; width: 100%; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--radius-card); }

/* ---------- 16. 画面幅ごとの調整 ---------- */
@media (max-width: 639px) {
  /* 表: スマホでは行ごとに縦に組み替える（横スクロールなし） */
  .table-stack thead { position: absolute; left: -9999px; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td, .table-stack th { display: block; width: 100%; }
  .table-stack tr { border-top: 1px solid var(--c-line); padding: var(--sp-2) 0 var(--sp-3); }
  .table-stack td, .table-stack tbody th { border: 0; padding: var(--sp-1) 0; }
  .table-stack tr:first-child > * { border-top: 0; }
  .table-stack td[data-label]::before {
    content: attr(data-label); display: block;
    font-size: var(--fs-caption); letter-spacing: var(--ls-ui); color: var(--c-text-sub);
  }
  .table-def th, .table-def td { display: block; width: 100%; }
  .table-def th { border-bottom: 0; padding-bottom: var(--sp-1); }
  .table-def td { padding-top: var(--sp-1); }
  .table-def tr:first-child > td { border-top: 0; }
}

/* 480px未満は logo-compact.svg（角印＋屋号）に切り替える（HTMLの <picture>） */

@media (min-width: 480px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
    --fs-display: 40px;
    --fs-h1: 40px;
    --fs-h2: 32px;
    --fs-h3: 20px;
    --fs-lead: 18px;
    --fs-display-sub: 24px;
  }
  .btn { min-height: 56px; }
  .btn-small { min-height: 40px; }
  .cards { gap: var(--sp-5); }
  .cards-2, .cards-3 { grid-template-columns: 1fr 1fr; }
  .card, .deliverable, .price-card, .trial, .sum-box { padding: var(--sp-6); }
  .price-card.is-recommended { padding-top: var(--sp-8); }
  .deliverables { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .ba-pair { grid-template-columns: 1fr 1fr; }
  .hero-band { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .hero-band li { padding: 0 var(--sp-5); border-left: 1px solid var(--c-line); }
  .hero-band li:first-child { padding-left: 0; border-left: 0; }
  .hb-num { font-size: var(--fs-h2); }
  .hb-unit { font-size: var(--fs-lead); }
  .hero-card { padding: var(--sp-6); max-width: var(--measure); }
  .price-cards-2 { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-head { padding: var(--sp-8) 0; }
}

@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .price-cards-3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .price-cards-2 { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .deliverables { grid-template-columns: repeat(3, 1fr); }
  .ba { grid-template-columns: repeat(3, 1fr); }
  .ba-pair { grid-template-columns: 1fr; }
  /* 手順: 横に4つ */
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
  .steps-4 li { padding-left: 0; padding-top: var(--sp-7); }
  .steps-4 li:not(:last-child)::after { left: var(--sp-7); right: calc(var(--sp-5) * -1); top: 16px; bottom: auto; width: auto; height: 1px; }
}

@media (min-width: 1024px) {
  :root {
    --fs-display: 48px;
    --section-y: 128px;
    --header-h: 72px;
  }
  .section-title + .cards, .section-title + .steps, .section-title + .deliverables { margin-top: var(--sp-7); }
  .wrap:not(.wrap-narrow) > .section-title + p, .section-lead { margin-bottom: var(--sp-7); }
  /* ヒーロー: 12列のうち左6列＝文字、右5列＝カード（1列あける） */
  .hero {
    min-height: min(calc(100svh - var(--header-h)), 760px);
    display: flex; flex-direction: column; justify-content: center;
    padding: var(--sp-7) 0 var(--sp-6);
  }
  .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-5); align-items: center; }
  .hero-copy { grid-column: 1 / span 6; }
  .hero-card { grid-column: 8 / span 5; padding: var(--sp-5) var(--sp-6); max-width: none; }
  .hero-card-list > div { grid-template-columns: 9em 1fr; column-gap: var(--sp-4); align-items: baseline; padding: var(--sp-2) 0; }
  .hero-band { margin-top: var(--sp-7); }
  .hb-num { font-size: var(--fs-h2); }
  .page-head { padding: var(--sp-9) 0 var(--sp-8); }
  .footer-grid { grid-template-columns: 5fr 7fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) {
  body.has-fixed-cta { padding-bottom: 0; }
  .fixed-cta { display: none; }
  .nav-mobile { display: none; }
  .nav-desktop { display: block; }
  .nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--sp-5); }
  .nav-desktop li { margin: 0; }
  .nav-desktop a:not(.btn) { color: var(--c-text); text-decoration: none; font-size: var(--fs-small); font-weight: 700; padding: var(--sp-2) 0; border-bottom: 2px solid transparent; }
  .nav-desktop a:not(.btn):hover { color: var(--c-brand); border-bottom-color: var(--c-line); }
  .nav-desktop a[aria-current="page"] { color: var(--c-brand); border-bottom-color: var(--c-brand); }
  .nav-desktop .btn-small { margin-left: var(--sp-2); }
}

/* ---------- 17. 動き ---------- */
/* 最初の画面が一度だけフェード（0.4秒・ずらし0.08秒）。ボタンの色の変化と開閉以外は動かさない */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  .hero-copy, .hero-card, .hero-band, .page-head .wrap { animation: fade-in 0.4s ease both; }
  .hero-card { animation-delay: 0.08s; }
  .hero-band { animation-delay: 0.16s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 18. 印刷 ---------- */
@media print {
  .site-header, .fixed-cta, .skip-link, .nav-mobile { display: none !important; }
  .section, .hero { padding: var(--sp-6) 0; min-height: 0; }
  .site-footer { background: none; color: var(--c-text); }
  .site-footer a { color: var(--c-text); }
  details.acc > .acc-body { display: block; }
}

/* ---------- 19. 図解（インラインSVGのアイコン＋HTMLの文字） ---------- */
/* 方針: 飾りではなく「読む前に一目で分かる」ための図。文字はすべてHTML（読み上げ・検索・拡大のため）。
   SVGは線画のアイコンだけ（aria-hidden）。線は1.5〜2px、角丸は8px（カードと同じ）。色は勝色と、その薄い色（--c-fig-*）だけ。朱は使わない。
   塗りつぶしの勝色のアイコン（.ic-box.is-you）＝「ご担当者さまの作業」（トップ・/flow/ の凡例と同じ意味）。
   アイコンは各ページの <svg class="svg-sprite"> の <symbol> を <use href="#i-..."> で呼ぶ。一覧は README 6-8 */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  display: block; width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ic-box {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-bg); color: var(--c-brand);
  border: 1.5px solid var(--c-fig-line); border-radius: var(--radius-card);
}
.ic-box.is-you { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-bg); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fig { margin: var(--sp-6) 0 0; }
.fig-caption { font-size: var(--fs-small); font-weight: 700; color: var(--c-text); line-height: 1.7; margin: 0 0 var(--sp-3); }
.fig-legend { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }
.fig-legend li { display: flex; align-items: center; gap: var(--sp-2); margin: 0; }
.fig-legend .lg { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--c-fig-line); background: var(--c-bg); }
.fig-legend .lg.is-you { background: var(--c-brand); border-color: var(--c-brand); }

/* 19-1. 届くものの枝分かれ（A・Bのヒーローのカード）: 見出しの左のアイコン（元の1本）から、各項目へ枝が分かれる */
.tree-root { display: flex; align-items: center; gap: var(--sp-4); position: relative; }
.tree-root::after {
  content: ""; position: absolute; left: 19.25px; top: calc(50% + 20px); bottom: calc(var(--sp-4) * -1);
  width: 1.5px; background: var(--c-fig-line);
}
.hero-card-list.tree { --tree-py: var(--sp-3); }
.hero-card-list.tree > div {
  display: block; position: relative;
  min-height: calc(36px + var(--tree-py) * 2);
  padding: var(--tree-py) 0 var(--tree-py) 80px;
  border-top: 0;
  background: linear-gradient(var(--c-line), var(--c-line)) 80px 0 / calc(100% - 80px) 1px no-repeat;
}
.tree > div::before {
  content: ""; position: absolute; left: 19.25px; top: 0; bottom: 0;
  width: 1.5px; background: var(--c-fig-line);
}
.tree > div:last-child::before { bottom: auto; height: calc(var(--tree-py) + 18px); }
.tree > div::after {
  content: ""; position: absolute; left: 20px; top: calc(var(--tree-py) + 17.25px);
  width: 12px; height: 1.5px; background: var(--c-fig-line);
}
.tree dt .ic-box { position: absolute; left: 32px; top: var(--tree-py); width: 36px; height: 36px; }
.tree dt { padding-top: 6px; }
/* パソコン: 項目名と説明を横に並べて、ヒーローの高さを抑える */
@media (min-width: 1024px) {
  .hero-card-list.tree { --tree-py: var(--sp-2); }
  .hero-card.has-tree { grid-column: 7 / span 6; }  /* 枝分かれの図があるカードは6列（設計指示書 5-6 の「右6列」） */
  .hero-card-list.tree > div { display: grid; grid-template-columns: 9.5em 1fr; column-gap: var(--sp-4); align-items: baseline; }
  .tree dd { padding-top: 6px; }
}

/* 19-2. ご担当者さまの作業と映作堂の作業（左右に分けた図。スマホは上下） */
.fig-roles { display: grid; gap: var(--sp-4); max-width: var(--measure); }
.role { border: 1.5px solid var(--c-fig-line); border-radius: var(--radius-card); padding: var(--sp-5); background: var(--c-bg-alt); }
.role.is-you { border-color: var(--c-brand); background: var(--c-bg); }
.section-alt .role { background: var(--c-bg); }
.role-name { font-size: var(--fs-small); font-weight: 700; color: var(--c-text-sub); line-height: 1.7; margin: 0 0 var(--sp-3); }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.role-list li { display: flex; align-items: center; gap: var(--sp-3); margin: 0; font-weight: 700; line-height: 1.5; }
@media (min-width: 640px) { .fig-roles { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }

/* 19-3. 納期のタイムライン（棒の長さ＝営業日の比。縦のときは1営業日16px）。狭い所は縦、横幅640px以上の入れ物では横 */
.fig-tl { container-type: inline-size; max-width: var(--measure); }
.tl-row + .tl-row { margin-top: var(--sp-6); }
.tl-title { font-size: var(--fs-small); font-weight: 700; line-height: 1.7; margin: 0 0 var(--sp-3); }
.tl { --tl-u: 16px; list-style: none; margin: 0; padding: 0; }
.tl > li { position: relative; margin: 0; padding-left: 36px; }
.tl-node { display: flex; align-items: center; min-height: 24px; }
.tl-dot {
  position: absolute; left: 6px; top: 6px; z-index: 1;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-bg); border: 2px solid var(--c-brand);
}
.tl-node.is-contact .tl-dot { background: var(--c-brand); }
.tl-node .tl-text {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); line-height: 1.7; white-space: nowrap;
}
.tl-span { display: flex; align-items: center; }
.tl-span::before {
  content: ""; position: absolute; left: 11px; top: -6px; bottom: -6px;
  width: 2px; background: var(--c-brand);
}
.tl-span.is-wait::before { left: 11.25px; width: 1.5px; background: var(--c-fig-line); }
.tl-span .tl-text { font-size: var(--fs-small); line-height: 1.6; color: var(--c-text-sub); padding: var(--sp-2) 0; }
.tl-span .tl-text strong { color: var(--c-text); margin-right: var(--sp-2); }
.tl-span .tl-text small { font-size: var(--fs-caption); }
.tl-w2 { min-height: calc(var(--tl-u) * 2); }
.tl-w3 { min-height: calc(var(--tl-u) * 3); }
.tl-w5 { min-height: calc(var(--tl-u) * 5); }
.tl-w7 { min-height: calc(var(--tl-u) * 7); }
.tl-pad { display: none; }
@container (min-width: 640px) {
  .tl { display: flex; padding: 44px 0 52px; }
  .tl > li { padding-left: 0; }
  .tl-node { display: block; flex: 0 0 0px; width: 0; min-height: 12px; }
  .tl-dot { left: -6px; top: 0; }
  /* 点の上の文字は、点から右へ（最後だけ左へ）。中央に置くと、短い棒で隣の文字とぶつかるため */
  .tl-node .tl-text { position: absolute; bottom: calc(100% + var(--sp-3)); left: -6px; }
  .tl-node.tl-end .tl-text { left: auto; right: -6px; }
  .tl-span { display: block; height: 12px; min-height: 0; }
  .tl-span::before { left: 6px; right: 6px; top: 5px; bottom: auto; width: auto; height: 2px; }
  .tl-span.is-wait::before { left: 6px; top: 5.25px; width: auto; height: 1.5px; }
  .tl-span .tl-text {
    position: absolute; top: calc(100% + var(--sp-2)); left: 50%; transform: translateX(-50%);
    padding: 0; text-align: center; white-space: nowrap;
  }
  .tl-span .tl-text strong, .tl-span .tl-text small { display: block; margin: 0; }
  .tl-w2 { flex: 2 1 0px; }
  .tl-w3 { flex: 3 1 0px; }
  .tl-w5 { flex: 5 1 0px; }
  .tl-w7 { flex: 7 1 0px; }
  .tl-pad { display: block; }
}

/* 19-4. 進め方の流れ（6つ・ご連絡3回）。狭い所は縦、横幅960px以上の入れ物では横に6つ */
.fig-flow { container-type: inline-size; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.flow > li { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 40px; margin: 0; padding-left: 56px; }
.flow .ic-box { position: absolute; left: 0; top: 0; }
.flow-label { font-weight: 700; line-height: 1.5; padding-top: var(--sp-2); }
.flow-contact {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-2); padding: var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-2);
  background: var(--c-fig-fill); border-radius: var(--radius-card);
  font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); line-height: 1.6; white-space: nowrap;
}
.flow > li:not(:last-child)::before {
  content: ""; position: absolute; left: 19.25px; top: 44px; bottom: calc(var(--sp-5) * -1 + 4px);
  width: 1.5px; background: var(--c-fig-line);
}
.flow > li:not(:last-child)::after {
  content: ""; position: absolute; left: 16.5px; bottom: calc(var(--sp-5) * -1 + 4px);
  width: 7px; height: 7px; border-right: 1.5px solid var(--c-fig-line); border-bottom: 1.5px solid var(--c-fig-line);
  transform: rotate(45deg); transform-origin: center;
}
@container (min-width: 960px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: var(--sp-2); }
  .flow > li { align-items: center; text-align: center; padding: 56px 0 0; }
  .flow .ic-box { left: 50%; transform: translateX(-50%); }
  .flow-label { padding-top: 0; }
  .flow > li:not(:last-child)::before { left: calc(50% + 24px); top: 19.25px; bottom: auto; width: calc(100% + var(--sp-2) - 48px); height: 1.5px; }
  .flow > li:not(:last-child)::after { left: calc(150% + var(--sp-2) - 24px - 8px); top: 16.5px; bottom: auto; transform: rotate(-45deg); }
}

/* 19-5. データの保管期間（横棒）。縦の勝色の線＝数え始め（ご契約の終了／納品）。棒の長さは月数の比（1年＝線の右70%） */
.fig-ret { max-width: var(--measure); }
.ret { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.ret li { margin: 0; }
.ret-name { font-size: var(--fs-small); font-weight: 700; line-height: 1.6; margin: 0 0 var(--sp-2); }
.ret-track { position: relative; height: 32px; }
.ret-track::before {
  content: ""; position: absolute; left: 30%; top: -4px; bottom: -4px; z-index: 1;
  width: 2px; margin-left: -1px; background: var(--c-brand);
}
.ret-seg {
  position: absolute; top: 0; bottom: 0;
  display: flex; align-items: center; padding: 0 6px;
  font-size: var(--fs-small); line-height: 1; white-space: nowrap;
  border: 1.5px solid var(--c-fig-line);
}
.ret-contract { left: 0; width: calc(30% - 4px); justify-content: center; color: var(--c-text-sub); background: var(--c-bg); border-radius: var(--radius-card); }
.ret-after { left: 30%; padding-left: var(--sp-3); font-weight: 700; color: var(--c-brand); background: var(--c-fig-fill); border-left: 0; border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.ret-12m { width: 70%; }
.ret-6m { width: 35%; }
.ret-14d { width: 2.7%; min-width: 6px; padding: 0; }
.ret-out { position: absolute; top: 0; bottom: 0; left: calc(32.7% + var(--sp-3)); display: flex; align-items: center; font-size: var(--fs-small); font-weight: 700; color: var(--c-brand); line-height: 1.4; }

@media print {
  .tree-root::after, .tree > div::before, .tree > div::after { display: none; }
}
.fig + .list-num, .fig + .table { margin-top: var(--sp-6); }
.steps + .fig { margin-top: var(--sp-8); }

/* 20. 理念（運営者情報） */
.philosophy-mission {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  color: var(--c-brand);
  letter-spacing: 0.02em;
  margin: 0 0 var(--sp-5);
}

/* ---------- 21. 見本の書類（用語集・確認メモ・月の納品記録・確認表）2026-10-05 追加 ----------
   /flow/ に置く「実物の見本」。書類らしく、白い紙＋薄い枠。色・文字・余白はトークンだけ。朱は使わない。
   会社名・日付・URLは「〇〇」で伏せた明らかな見本。中の表は .table（スマホでは .table-stack / .table-def で縦に組み替え） */
.sample-doc {
  margin: var(--sp-6) 0 0;
  background: var(--c-bg);
  border: 1px solid var(--c-line); border-radius: var(--radius-card);
  padding: var(--sp-5);
}
.sample-doc > :last-child { margin-bottom: 0; }
.sample-label {
  display: inline-block; margin: 0 0 var(--sp-3);
  padding: 0 var(--sp-2); border: 1px solid var(--c-brand); border-radius: var(--sp-1);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: var(--ls-ui); line-height: 1.6; color: var(--c-brand);
}
.sample-doc h3 { margin-bottom: var(--sp-2); }
.sample-meta { font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; margin: 0 0 var(--sp-5); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--c-line); }
.sample-doc h4 { margin: var(--sp-5) 0 var(--sp-3); }
.sample-doc .table { margin-bottom: var(--sp-4); }
.sample-doc .table-def th { background: var(--c-bg-alt); }
.sample-doc .list-num li { margin-bottom: var(--sp-4); }
.sample-doc .list-num p { margin: var(--sp-1) 0 0; font-size: var(--fs-small); line-height: 1.7; }
.sample-kind { display: block; font-size: var(--fs-caption); letter-spacing: var(--ls-ui); color: var(--c-text-sub); line-height: 1.6; }
.sample-foot { font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; margin: var(--sp-4) 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
@media (min-width: 640px) {
  .sample-doc { padding: var(--sp-6); }
  /* 用語集の表: 「正しい表記」と「追加」は折り返さない（メモの列が伸び縮みする） */
  .sample-doc .table-stack tbody th, .sample-doc .table-stack td:last-child { white-space: nowrap; }
}
/* 生成りのセクションに置いた合計の箱（/webinar/ の料金・2026-10-05 背景の交互を入れ替えたため）。.guarantee と同じ扱い */
.section-alt .sum-box { background: var(--c-bg); border: 1px solid var(--c-line); }

/* ---------- 22. 要約文・目次の見本と説明動画（2026-10-06 追加） ----------
   /webinar/ の「要約文と目次の見本」（.sample-doc を2つ並べる）と、/webinar/・/youtube/ の説明動画。値はトークンだけ */
.deliverable .link-arrow { display: inline-block; margin-top: var(--sp-3); font-size: var(--fs-small); }
.sample-pair { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.sample-pair .sample-doc { margin: 0; }
.chapter-list { list-style: none; padding: 0; margin: 0; font-size: var(--fs-small); }
.chapter-list li { display: flex; gap: var(--sp-4); margin: 0; padding: var(--sp-2) 0; border-top: 1px solid var(--c-line); line-height: 1.7; }
.chapter-list li:first-child { border-top: 0; padding-top: 0; }
.chapter-time { flex: 0 0 3.5em; white-space: nowrap; font-weight: 700; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.media { margin: var(--sp-6) 0 0; }
.media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--radius-card); }
.media figcaption { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; }
.media .acc { margin-top: var(--sp-3); }
@media (min-width: 640px) {
  .sample-pair { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}

/* 23. フォームの送信（Formspree） */
.visually-hidden-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--c-action); font-size: var(--fs-small); margin: 0 0 var(--sp-3); }
