/*
 * 公開サイトの見た目。読みやすさを優先した作り直し（2026-10-27 の見本。freee の LP のような、すっきりした組み）。
 * 白の区切りと薄い青緑の帯を交互に置き、見出しは真ん中。字体は Noto Sans JP だけ（ロゴの文字「ワクブック」だけ丸い字体。.site-name）。
 * 公開サイトは資料デザインのガイドライン（DADS）に従わない（利用者の判断。2026-10-17）。
 * 色は :root のトークンだけを使う。文字の色はどれも、置く面の色に対して 4.5:1 以上（下の各トークンの比）
 */
:root {
  /* color */
  --white: #ffffff; /* ページの地・カード */
  --band: #e9f6f4; /* 薄い青緑の帯 */
  --soft: #d5efeb; /* 印の面（カードの印・手順の番号の面） */
  --line: #d8e7e4; /* 枠線・区切りの線（飾りの線だけ） */
  --teal: #2a9d8f; /* 青緑（線と面だけ。白の文字を載せない：白との比 3.3:1） */
  --teal-deep: #137566; /* ボタン・リンク・印（白の上 5.6:1、帯の上 5.0:1、印の面の上 4.6:1、白の文字 5.6:1） */
  --navy: #1f3a4d; /* 見出し・強い文字・下の帯（白の上 11.9:1） */
  --text: #333a3f; /* 本文（白の上 11.4:1、帯の上 10.4:1） */
  --sub: #5b6670; /* 補いの文字（白の上 5.9:1、帯の上 5.3:1） */
  --yellow: #f6d55c; /* 「最初の◯日間は無料」の札・文字を選んだときの面・フォーカスの線だけ */
  --yellow-soft: #fdf3cf; /* 電話の予約の印・「（案）」の面 */
  --yellow-deep: #6b5200; /* 黄色の面の上の文字・「（案）」の線 */
  --leaf: #3d9a62; /* LINE の予約の印（線だけ） */
  --leaf-soft: #dff0e5; /* LINE の予約の印の面 */
  --leaf-deep: #23573a; /* LINE の印の面の上の文字 */
  --footer-text: #dfe7ec; /* 下の帯の文字（紺の上 9.5:1） */

  /* type */
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* space */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;

  /* radius */
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-full: 9999px;

  color-scheme: light;
}

html {
  /* 上の帯は画面の上に残る（sticky）ので、ページの中へ移るとき（本文へ移動など）に帯の下に隠れないようにする */
  scroll-padding-top: 72px;
  background: var(--white);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-wrap: balance;
  /* 日本語の見出しを文節で折り返す（対応しないブラウザは普通に折り返す） */
  word-break: auto-phrase;
}
h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.45;
  margin: 0 0 var(--sp-3);
}
h2 {
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.5;
  margin: var(--sp-5) 0 var(--sp-3);
}
h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: var(--sp-4) 0 var(--sp-1);
}
p {
  margin: 0 0 var(--sp-3);
}
ul,
ol {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-3);
}
li + li {
  margin-top: var(--sp-1);
}
small,
.note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
}
a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
/* フォーカスは黄色の線に紺の縁（黄色だけでは白の上で見えにくいので、紺の縁で 3:1 以上にする） */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--navy);
  border-radius: 2px;
}
/* 文字を選んだときの色：黄色の面に紺の文字（青緑のボタン・紺の下の帯の上でも読める） */
::selection {
  background: var(--yellow);
  color: var(--navy);
}

/* 読み上げだけに渡す文字 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 枠（左右の余白は 16px 以上。iPhone の横向きの切り欠きも避ける） */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: calc(-1 * var(--sp-5));
  z-index: 10;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--r-s);
  padding: var(--sp-1) var(--sp-2);
}
.skip-link:focus {
  top: var(--sp-1);
}

/* 上の帯：左にロゴ、右に使い方・ログイン・小さな申し込みのボタン */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1) 12px;
  padding-block: 10px;
}
/* ロゴ：予約帳の印（assets/brand/logo-mark.svg。issue #139）とサービス名。ロゴの文字だけは丸い字体（ブランドの文字） */
.site-name {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: "Zen Maru Gothic", var(--font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.site-name img {
  display: block;
  width: 32px;
  height: 32px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-1) var(--sp-2);
  font-size: 14px;
  line-height: 1.5;
}
.site-nav a:not(.header-cta) {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:not(.header-cta):hover {
  text-decoration: underline;
}
/* 申し込みの小さなボタン。リンクの色の指定（.site-nav a）より強く、文字を白にする */
.site-nav .header-cta {
  display: inline-block;
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-s);
  padding: 8px 14px;
}
.site-nav .header-cta:hover {
  background: var(--navy);
}

/* 下の帯（紺） */
.site-footer {
  background: var(--navy);
  color: var(--footer-text);
  font-size: 14px;
  padding: var(--sp-4) 0;
}
.site-footer a {
  color: var(--white);
}
.site-footer :focus-visible {
  box-shadow: none;
}
.site-footer .note {
  color: var(--footer-text);
  margin: 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
}

/* 区切り（白）と帯（薄い青緑）。見出しは真ん中 */
.sec {
  padding: var(--sp-5) 0;
}
.band {
  background: var(--band);
  /* 帯の上の白いカードは枠線なし（白の区切りの上だけ線を引く） */
  --card-border: transparent;
}
/* 白の区切りが続くとき（使い方の目次）は、間に細い線を引く */
.sec:not(.band) + .sec:not(.band) {
  border-top: 1px solid var(--line);
}
.sec-heading {
  margin: 0;
  text-align: center;
}
/* 区切りの最初の見出しは、上の余白を区切りの余白だけにする（使い方の目次のグループの見出し） */
.sec .container > h2:first-child {
  margin-top: 0;
}
.sec-lead {
  text-align: center;
  color: var(--sub);
  margin: 14px auto 0;
  max-width: 40em;
}

/* ボタン（強い色はこの1つ。白の文字） */
.button {
  display: inline-block;
  max-width: 100%;
  min-width: min(100%, 320px);
  background: var(--teal-deep);
  color: var(--white);
  border-radius: var(--r-s);
  padding: 16px 28px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button:hover {
  background: var(--navy);
}
.cta {
  display: grid;
  gap: var(--sp-1);
  justify-items: start;
}
.cta .note {
  margin: 0;
  font-size: 13px;
}

/* チェックの印の付いた箇条書き */
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-1);
}
.checks li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--teal-deep);
  border-bottom: 3px solid var(--teal-deep);
  transform: rotate(-45deg);
}

/* 最初の画面：左に結論・チェック・ボタン、右に LINE の画面の絵 */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--sp-4);
  align-items: center;
}
.hero-text {
  display: grid;
  gap: 20px;
}
.hero h1,
.page-hero h1 {
  margin: 0;
}
.lead {
  color: var(--sub);
  margin: 0;
}

/* LINE の画面の絵（飾り。HTML と CSS で描く） */
.phones {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  padding-bottom: var(--sp-3);
}
.phone {
  width: 220px;
  max-width: 46%;
  border: 7px solid #1f2328;
  border-radius: 26px;
  background: #f6f8f7;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text);
  box-shadow: 0 10px 30px rgb(31 58 77 / 0.15);
}
.phone-low {
  transform: translateY(24px);
}
.phone-bar {
  background: var(--white);
  text-align: center;
  padding: 4px;
  color: var(--sub);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.phone-head {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 8px 10px;
  border-bottom: 3px solid var(--teal);
  font-weight: 700;
  color: var(--navy);
}
/* 白の文字を載せる面は深い青緑（白の文字 4.5:1 以上） */
.phone-logo {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--teal-deep);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.phone-body {
  padding: 10px;
  display: grid;
  gap: var(--sp-1);
}
.phone-button {
  background: var(--teal-deep);
  color: var(--white);
  text-align: center;
  border-radius: var(--r-full);
  padding: 7px;
  font-weight: 700;
}
.phone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}
.phone-card b {
  display: block;
  color: var(--navy);
}

/* 手順のカード（STEP 1〜3） */
.step-cards {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step-cards li {
  background: var(--white);
  border: 1px solid var(--card-border, var(--line));
  border-radius: var(--r-m);
  padding: 22px 20px;
  display: grid;
  gap: var(--sp-1);
  align-content: start;
}
.step-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
}
.step-cards h3 {
  margin: 0;
}
.step-cards p {
  margin: 0;
  color: var(--sub);
}

/* お客さまに届く4つの知らせ */
.notices {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-2);
}
.notices li {
  background: var(--white);
  border-radius: var(--r-m);
  padding: 18px 14px;
  text-align: center;
  font-weight: 500;
  color: var(--navy);
}
.notices span {
  display: block;
  font-size: 12px;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

/* 予約の受け方のカード（印・見出し・文） */
.cards {
  list-style: none;
  padding: 0;
  margin: var(--sp-4) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cards li {
  background: var(--white);
  border: 1px solid var(--card-border, var(--line));
  border-radius: var(--r-m);
  padding: var(--sp-3) 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-m);
  background: var(--soft);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
}
.card-icon svg {
  display: block;
}
.cards h3 {
  margin: 0;
}
.cards p {
  margin: 0;
  color: var(--sub);
}

/* 店舗管理画面：左にチェック、右に予約表の絵 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  margin-top: var(--sp-4);
}
.admin {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgb(31 58 77 / 0.1);
}
.admin-head {
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  font-weight: 700;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin th,
.admin td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  font-weight: 400;
}
.admin th {
  color: var(--sub);
  width: 52px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tag {
  display: inline-block;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
}
.tag-line {
  background: var(--leaf-soft);
  color: var(--leaf-deep);
}
.tag-tel {
  background: var(--yellow-soft);
  color: var(--yellow-deep);
}

/* 画面の写真の枠（本番では出さない） */
.shot {
  border: 2px dashed var(--line);
  border-radius: var(--r-m);
  background: var(--white);
  color: var(--sub);
  padding: var(--sp-4) var(--sp-2);
  text-align: center;
  margin: var(--sp-4) 0 0;
}

/* 料金のカード */
.price {
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: var(--r-l);
  max-width: 640px;
  margin: 36px auto 0;
  padding: 32px 28px;
  display: grid;
  gap: 18px;
  text-align: center;
}
.price p {
  margin: 0;
}
.price-free {
  justify-self: center;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 4px 14px;
}
.price-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.price-amount small {
  font-size: 16px;
  font-weight: 500;
  color: var(--sub);
}
.price-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-2);
  text-align: left;
}
.price-cols h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.price-cols ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--sub);
  font-size: 15px;
}
.price-trial {
  text-align: left;
  color: var(--sub);
  font-size: 15px;
}
.price .cta {
  justify-items: center;
}

/* よくある質問（details。スクリプトなしで開け閉めする） */
.faq {
  max-width: 760px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: var(--sp-2) 0;
  list-style: none;
  display: flex;
  gap: 10px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "Q";
  flex: none;
  color: var(--teal-deep);
}
/* 開いているかどうかの印（右の ＋ と −） */
.faq summary::after {
  content: "＋";
  flex: none;
  margin-left: auto;
  color: var(--teal-deep);
}
.faq details[open] summary::after {
  content: "−";
}
.faq-answer {
  margin: 0 0 var(--sp-2);
  color: var(--sub);
}

/* 最後の導線 */
#apply-heading + .cta {
  justify-items: center;
  margin-top: var(--sp-3);
}

/* 規約・ポリシー・特商法の表記・使い方・404：読みやすい幅の文書 */
.page {
  max-width: calc(760px + 32px);
  margin: 0 auto;
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-5);
}
.page h1 {
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: var(--sp-3);
}
.legal h2,
.guide h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: var(--sp-4) 0 var(--sp-2);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
}
.legal p,
.legal li,
.legal dd {
  line-height: 1.85;
}
.draft-notice {
  background: var(--yellow-soft);
  border: 1px solid var(--yellow-deep);
  border-left-width: 6px;
  border-radius: var(--r-s);
  padding: var(--sp-2) var(--sp-3);
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  word-break: auto-phrase;
}
.items {
  list-style: none;
  padding-left: var(--sp-2);
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--sp-3);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.6;
}
.legal th,
.legal td {
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.legal thead th {
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  white-space: nowrap;
}
.legal tbody th {
  font-weight: 700;
  color: var(--navy);
  min-width: 5.5em;
  word-break: auto-phrase;
}
.legal tbody tr:nth-child(even) {
  background: var(--band);
}
caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: var(--sp-1);
}
.details dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--sp-3);
}
.details dd {
  margin: 4px 0 0;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.details dd p {
  margin-bottom: var(--sp-1);
}
.details dd p:last-child {
  margin-bottom: 0;
}
.dates {
  margin-top: var(--sp-5);
}

/* 使い方の目次（店舗向けの使い方の設計書 §5.3）：話題のカード・パンくず・用意するもの・画面名 */
.page-hero {
  text-align: center;
}
.page-hero .lead {
  max-width: 40em;
  margin: var(--sp-2) auto 0;
}
.guide-tiles {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
  margin: var(--sp-3) 0 0;
}
.guide-tiles li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--r-m);
  padding: var(--sp-2) 20px;
}
/* 管理画面の外（LINE 公式アカウント・店頭）の作業は LINE の緑の線 */
.guide-tiles-line li {
  border-top-color: var(--leaf);
}
.guide-tiles a {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
}
.guide-when {
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 15px;
}
/* 「はじめに」の1つを目立たせる */
.guide-tiles-feature {
  grid-template-columns: minmax(0, 1fr);
}
.guide-tiles-feature a {
  font-size: 20px;
}
.crumb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
  margin: 0 0 var(--sp-1);
}
.prepare {
  background: var(--band);
  border-left: 4px solid var(--teal-deep);
  border-radius: var(--r-s);
  padding: var(--sp-2) var(--sp-3);
  margin: 0 0 var(--sp-3);
}
.prepare-title {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}
.prepare > :last-child {
  margin-bottom: 0;
}
/* 使い方の手順：番号を丸い面にする（番号は文字のまま） */
.steps {
  list-style: none;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin-top: -1px;
  border-radius: var(--r-full);
  background: var(--soft);
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
/* うまくいかないとき：細い線で区切る */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--sp-2) 0;
}
.faq-item h3 {
  font-size: 17px;
  margin: 0 0 var(--sp-1);
}
.faq-item > :last-child {
  margin-bottom: 0;
}
/* 画面名・ボタン名（帯の面に太字。白の上でも、用意するものの面の上でも 4.5:1 以上） */
.ui {
  font-weight: 700;
  color: var(--navy);
  background: var(--band);
  border-radius: 4px;
  padding: 0 4px;
  /* 画面名・ボタン名の途中で折り返さない（「コピ／ー」にしない） */
  white-space: nowrap;
}
.prepare .ui {
  background: var(--white);
}
.guide-contact {
  margin-top: var(--sp-4);
}

/* 箇条書きの間の余白の上書き（詳細度の順をそろえるため、ここにまとめる） */
.footer-links li + li,
.checks li + li,
.step-cards li + li,
.notices li + li,
.cards li + li,
.guide-tiles li + li {
  margin-top: 0;
}
.steps li + li {
  margin-top: 12px;
}

/* タブレット・小さい PC：最初の画面を縦に積み、文字を真ん中に */
@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-text {
    text-align: center;
  }
  .hero-checks {
    justify-items: start;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
  .cta {
    justify-items: center;
  }
  .step-cards,
  .cards,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .notices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media (max-width: 600px) {
  .sec {
    padding: 48px 0;
  }
  .price {
    padding: var(--sp-3) 20px;
  }
  .price-cols,
  .guide-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-amount {
    font-size: 34px;
  }
  .page {
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-4);
  }
  .legal h2,
  .guide h2 {
    font-size: 18px;
  }
  .legal th,
  .legal td {
    padding: var(--sp-1);
  }
}

/* 狭いスマートフォン（360〜420px）：上の帯の間と文字をつめ、ロゴと3つの入口を1行に収める（320px などではロゴの下に折り返す） */
@media (max-width: 420px) {
  .site-header .container {
    gap: var(--sp-1);
  }
  .site-name {
    gap: 6px;
    font-size: 16px;
  }
  .site-name img {
    width: 28px;
    height: 28px;
  }
  .site-nav {
    gap: var(--sp-1) 10px;
    font-size: 13px;
  }
  .site-nav .header-cta {
    padding: 6px 8px;
  }
  .phone {
    font-size: 10px;
  }
  /* 狭い幅では長い画面名・ボタン名（「QRコード（SVG）をダウンロード」など）を折り返し、はみ出さない */
  .ui {
    white-space: normal;
  }
}

/* 動きは使わない（transition・animation なし）ので、prefers-reduced-motion の分岐は要らない */

@page {
  size: A4;
  margin: 20mm;
}
@media print {
  .site-header {
    position: static;
  }
  .page {
    padding: 0;
  }
}
