/* ============================================================
   デザイントークン：「光のさす紙」
   生成り色の紙の上を、琥珀・空色・薄紅の光が漂う。
   色は必ずここの変数から使う。
   ============================================================ */
:root {
  --paper:     #f4f0e7;   /* 背景：生成りの紙 */
  --card:      rgba(255, 255, 255, 0.62);  /* カード：すりガラス */
  --line:      #ddd5c3;   /* 罫線 */
  --ink:       #26292f;   /* 本文の黒（真っ黒にしない） */
  --dim:       #7c7668;   /* 補足テキスト */
  --beam:      #b06a1e;   /* 琥珀：アクセント（明るい背景用に濃いめ） */
  --beam-soft: rgba(176, 106, 30, 0.1);

  --font-display: "Shippori Mincho B1", serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;

  --w-content: 1060px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--beam);
  outline-offset: 3px;
}

/* ============================================================
   全画面の光の背景
   canvasはページ全体の後ろに固定。中身より手前に来ないよう z-index:-1
   ============================================================ */
.bg-lights {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 紙の質感：SVGノイズをごく薄く重ねる */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 背景の動きを止めるボタン（画面酔いする人への配慮） */
.motion-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color 0.25s, border-color 0.25s;
}
.motion-toggle:hover { color: var(--beam); border-color: var(--beam); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px clamp(20px, 4vw, 48px);
}

.nav__name {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 14px;
  white-space: nowrap;   /* 屋号が長くなっても折り返さない（GEN STYLE化で追加） */
}

.nav a { white-space: nowrap; }

/* nav の屋号の前に付く一番星（ロゴ Concept 3 と同じ星形。色は文字色に追従） */
.nav__name { display: inline-flex; align-items: center; gap: 0.5em; }
.nav__mark { width: 1.1em; height: 1.1em; flex: none; margin-top: -0.08em; }

.nav__cta {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 22px;
  background: var(--card);
  transition: border-color 0.3s, color 0.3s;
}
.nav__cta:hover { border-color: var(--beam); color: var(--beam); }

/* ファーストビュー：PCは「左に言葉・右に顔」の2カラム */
.hero__screen {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  align-content: center;
  max-width: var(--w-content);
  width: 100%;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 48px);
}

/* 顔写真カード：写真の下に役職＋名前のキャプション */
.hero__portrait {
  justify-self: end;
  width: min(100%, 340px);
  margin: 0;
}
.hero__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(120, 96, 52, 0.16);
}
.hero__portrait figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}
.hero__portrait-role {
  color: var(--beam);
  font-size: 12px;
  letter-spacing: 0.24em;
}
.hero__portrait-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero__eyebrow {
  color: var(--beam);
  font-size: 13px;
  letter-spacing: 0.34em;
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 47px); /* 2カラムでも「届くホームページを。」が1行に収まるサイズ */
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero__lead {
  color: var(--dim);
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: 42px;
}

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

.hero__info {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px 180px; /* 左右を空けて、右下の固定ボタンと被らないように */
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 34px;
  cursor: pointer;
  transition: transform 0.25s, background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--beam);
  color: #fdf9f1;
  border: 1px solid var(--beam);
  font-weight: 700;
  font-family: var(--font-body);
}
.btn--primary:hover { background: #c67c28; }

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--card);
}
.btn--ghost:hover { border-color: var(--beam); color: var(--beam); }

/* ============================================================
   セクション共通
   ============================================================ */
.section {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 48px);
}

/* 場面転換：半透明の白い帯（背景の光が透ける） */
.section--alt {
  max-width: none;
  background: rgba(255, 255, 255, 0.38);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--alt > * {
  max-width: var(--w-content);
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  color: var(--beam);
  font-size: 13px;
  letter-spacing: 0.34em;
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ============================================================
   できること
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.card:hover {
  border-color: var(--beam);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(120, 96, 52, 0.12);
}

.card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.card__pitch {
  color: var(--beam);
  font-size: 14px;
  margin-bottom: 14px;
}

.card__body {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 18px;
}

.card__list {
  list-style: none;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--dim);
}
.card__list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--beam);
}

.card__cta {
  margin-top: auto;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--beam);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.card__cta:hover { text-decoration: underline; }

.roadmap {
  margin-top: 34px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.flow {
  margin-top: clamp(48px, 7vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 26px);
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 20px 28px;
  background: var(--card);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.7vw, 16px);
  letter-spacing: 0.12em;
}
.flow__arrow { color: var(--beam); }

/* ============================================================
   つくったもの
   ============================================================ */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work { display: flex; flex-direction: column; }

.work__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

/* スクショ：ホバーでゆっくり寄る＝「クリックできる」の合図 */
.work__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.work__thumb:hover img { transform: scale(1.045); }

/* 画像読み込み前の下地：各サイトの世界観の色 */
.work__thumb--gloss    { background: linear-gradient(140deg, #2b3038 0%, #12161d 55%, #1c2733 100%); }
.work__thumb--nova     { background: linear-gradient(150deg, #10151f 0%, #1a2333 60%, #2a3a52 100%); }
.work__thumb--kotonoha { background: linear-gradient(140deg, #f5efe2 0%, #e6dabf 60%, #d3c09a 100%); }
.work__thumb--akari    { background: linear-gradient(140deg, #241d15 0%, #1a1714 55%, #3a2a18 100%); }

.work__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.work__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.work__body {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 14px;
}

.work__link {
  margin-top: auto;
  color: var(--beam);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.work__link:hover { text-decoration: underline; }
.work__link--muted { color: var(--dim); }

/* ============================================================
   人となり
   ============================================================ */
/* 写真はファーストビューへ移動したので、ここは読みやすい幅の文章だけ */
.about {
  max-width: 720px;
}

.about__text p { margin-bottom: 20px; color: var(--ink); font-size: 15px; }

/* 名刺のような「役職＋名前」ブロック
   （.about__text p より詳細度を上げて余白を上書きする） */
.about__text .about__role {
  color: var(--beam);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
}
.about__text .about__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 24px;
}
.about__kana {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0.24em;
  margin-top: 6px;
}

.about__sns { display: flex; gap: 22px; flex-wrap: wrap; }
.about__sns a {
  color: var(--beam);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.about__sns a:hover { text-decoration: underline; }

/* ============================================================
   相談（コピー→DM方式）
   ============================================================ */
.contact__lead {
  color: var(--dim);
  font-size: 15px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.composer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 44px);
  max-width: 720px;
  backdrop-filter: blur(8px);
}

.composer__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--dim);
  margin-bottom: 12px;
}

.composer__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.chip {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.chip:hover { border-color: var(--beam); }
.chip.is-active {
  background: var(--beam-soft);
  border-color: var(--beam);
  color: var(--beam);
}

.composer textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 26px;
  resize: vertical;
}
.composer textarea:focus { outline: 2px solid var(--beam); outline-offset: 0; }

.composer__copy { border: none; width: 100%; }

.composer__note {
  color: var(--dim);
  font-size: 12.5px;
  margin: 14px 0 26px;
  text-align: center;
}

.composer__sns { display: flex; gap: 12px; flex-wrap: wrap; }
.composer__sns .btn { font-size: 13.5px; padding: 11px 20px; }

/* ============================================================
   フッター
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 20px 96px; /* 右下の固定ボタンぶん下を空ける */
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.footer__name {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: 0.28em;
  font-size: 14px;
}

/* ============================================================
   スクロールで現れる演出（JSが .is-visible を付ける）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 動きを減らす設定の人にはアニメを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .cards, .works { grid-template-columns: 1fr; }
  .hero__screen { grid-template-columns: 1fr; align-content: center; gap: 34px; }
  .hero__portrait { justify-self: start; width: min(62vw, 250px); }
  .hero__portrait figcaption { justify-content: flex-start; }
  .hero__info { padding: 22px 20px 70px; } /* スマホでは下に逃がす */
}


/* ============================================================
   plan.html専用：料金ページ（LP型・行動は「相談する」1種類）
   ============================================================ */

/* スクリーンリーダーにだけ読ませるテキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav a.nav__name { text-decoration: none; }

/* --- 1. ファーストビュー --- */
.plan-hero__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

.plan-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 4.3vw, 44px);
  line-height: 1.55;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.plan-hero__price {
  font-style: normal;
  color: var(--beam);
}

.plan-hero__lead {
  color: var(--dim);
  font-size: clamp(14px, 1.7vw, 15.5px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

/* 数字の3枚看板 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin-bottom: 20px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px 12px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.stat__label {
  color: var(--dim);
  font-size: clamp(10.5px, 1.3vw, 12.5px);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 3vw, 30px);
  letter-spacing: 0.02em;
  color: var(--beam);
  line-height: 1.3;
}
.stat__value span { font-size: 0.55em; margin-left: 1px; }

/* 冒頭宣言：資産保証をFVの中で言い切る */
.declare {
  max-width: 720px;
  border-left: 3px solid var(--beam);
  background: var(--card);
  border-radius: 0 12px 12px 0;
  padding: 12px 18px;
  font-size: clamp(13px, 1.6vw, 14.5px);
  color: var(--dim);
  backdrop-filter: blur(6px);
  margin-bottom: clamp(24px, 3.5vw, 32px);
}
.declare strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row .btn--primary { padding: 15px 44px; font-size: 16px; }

.cta-note {
  margin-top: 12px;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

/* --- 共通：plan.html のセクションは詰めて縦のテンポを上げる --- */
.plan-section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.plan-section .section__title { margin-bottom: clamp(30px, 5vw, 48px); }

/* --- 2. 選ばれる理由（3点セット） --- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.reason {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  backdrop-filter: blur(8px);
}
.reason__num {
  font-family: var(--font-display);
  color: var(--beam);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.reason__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.reason__body { color: var(--dim); font-size: 13.5px; }

/* --- 3. 料金の全体像 --- */
.moneymap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.moneymap__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(6px);
}
.moneymap__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.moneymap__when {
  color: var(--beam);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.moneymap__what { color: var(--dim); font-size: 13px; }

/* --- 4. 比較表（制作費・保守で共通の型） ---
   マークアップは「1行=1プラン・data-label=項目名」のtable 1つ。
   PC: グリッドのcolumn流し込みで「プラン=列」の比較表として描画。
   768px以下: 各プランをカードとして縦積み（td内は「項目名｜値」） */
.pricing {
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.pricing--seisaku {
  grid-template-rows: repeat(11, auto);
  grid-template-columns: 1.06fr repeat(4, 1fr);
}
.pricing thead, .pricing tbody, .pricing tr { display: contents; }

.pricing th, .pricing td {
  display: block;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

/* しま模様：同じ行番号（=セルのnth-child）が同じグリッド行になる */
.pricing th:nth-child(odd), .pricing td:nth-child(odd) {
  background: rgba(255, 255, 255, 0.4);
}

/* 項目名の列（thead） */
.pricing thead th {
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* 各プランの列は左に罫線 */
.pricing tbody th, .pricing tbody td { border-left: 1px solid var(--line); }

/* 列の1行目＝プラン名 */
.pricing tbody th[scope="row"] {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  padding-top: 18px;
  padding-bottom: 12px;
}
.pricing thead th:first-child { padding-top: 18px; padding-bottom: 12px; }

/* 最終行は下罫線なし（角丸をきれいに見せる） */
.pricing thead th:last-child, .pricing tbody td:last-child { border-bottom: none; }

/* 価格：一番目立たせる */
.pricing .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--beam);
  line-height: 1.5;
}
.pricing .price__unit { font-size: 13px; }
.pricing .price--ask { font-size: 17px; }
.pricing .price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0;
}

/* ✓と−と強調 */
.mk { color: var(--beam); font-weight: 700; margin-right: 2px; }
.pricing .none { color: var(--dim); }
.pricing strong { font-weight: 700; }

/* 推奨プランの列：琥珀の下地＋上端バー＋バッジ */
.pricing .is-recommended th, .pricing .is-recommended td { background: var(--beam-soft); }
.pricing .is-recommended th[scope="row"] { border-top: 3px solid var(--beam); color: var(--beam); }
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #fdf9f1;
  background: var(--beam);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* 表の下の注記 */
.table-note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* --- CTAブロック（反復用） --- */
.cta-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 48px);
  text-align: center;
  backdrop-filter: blur(8px);
}
.cta-block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.cta-block__body {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 26px;
}
.cta-block__btn { padding: 16px 64px; font-size: 16px; }
.cta-block .cta-note { margin-top: 14px; }

/* --- 768px以下：スマホ --- */
@media (max-width: 768px) {
  .stats { gap: 8px; }
  .stat { padding: 12px 4px 10px; }
  .stat__value { font-size: 17.5px; white-space: nowrap; }
  .stat__label { font-size: 10px; }

  .reasons { grid-template-columns: 1fr; }
  .moneymap { grid-template-columns: 1fr; }

  .cta-row .btn { flex: 1 1 auto; text-align: center; }

  /* 比較表 → 各プランのカード縦積み */
  .pricing {
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    backdrop-filter: none;
  }
  .pricing thead { display: none; }
  .pricing tbody { display: block; }

  .pricing th:nth-child(odd), .pricing td:nth-child(odd) { background: transparent; }

  .pricing tbody tr {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
  }
  .pricing tbody tr + tr { margin-top: 14px; }
  .pricing tbody tr.is-recommended { border: 2px solid var(--beam); }

  .pricing tbody th[scope="row"] {
    display: block;
    border-left: none;
    padding: 16px 18px 12px;
    font-size: 17px;
  }
  .pricing .is-recommended th[scope="row"] { border-top: none; }

  /* 「項目名｜値」を1行に並べる（項目名を左に、値は✓ごと右に寄せる） */
  .pricing tbody td {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    border-left: none;
    padding: 10px 18px;
    font-size: 13px;
    text-align: right;
  }
  .pricing tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    margin-right: auto;
    padding-right: 14px;
    color: var(--dim);
    font-size: 12.5px;
    text-align: left;
  }
  .pricing tbody td:last-child { border-bottom: none; }
  .pricing .price { font-size: 19px; }
  .pricing .price small { flex: 0 0 100%; font-size: 11px; }
}

/* --- 保守プランの比較表（12行×4列） --- */
.pricing--hoshu {
  grid-template-rows: repeat(12, auto);
  grid-template-columns: 1.55fr repeat(3, 1fr);
}

/* --- CTAブロックを挟むセクションは余白を詰める --- */
.plan-section--cta { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(20px, 3vw, 36px); }

/* --- オプション表（2列のシンプルな表） --- */
.opt-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  /* border-radiusをtableに効かせる */
  border-spacing: 0;
  display: block;
}
.opt-table tbody { display: block; }
.opt-table tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 13px 20px;
}
.opt-table tr:last-child { border-bottom: none; }
.opt-table th {
  font-weight: 400;
  font-size: 13.5px;
  text-align: left;
  line-height: 1.7;
}
.opt-table td {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--beam);
  text-align: right;
  white-space: nowrap;
  line-height: 1.7;
}
.opt-table td small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--dim);
  white-space: normal;
}
.opt-table td small strong { color: var(--beam); font-weight: 700; }

/* --- スポット表（3列。スマホは縦積み） --- */
.spot-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.spot-table th, .spot-table td {
  padding: 13px 18px;
  font-size: 13.5px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.spot-table thead th {
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.4);
}
.spot-table tbody th { font-weight: 400; }
.spot-table tbody tr:last-child th, .spot-table tbody tr:last-child td { border-bottom: none; }
.spot-table td { color: var(--ink); }
.spot-table td strong { color: var(--beam); font-weight: 700; }
.spot-table td small { display: block; font-size: 11.5px; color: var(--dim); }
.spot-table .none { color: var(--dim); }

/* --- 料金の考え方 --- */
.policy { max-width: 720px; }
.policy p { font-size: 14.5px; margin-bottom: 18px; }
.policy strong { font-weight: 700; }

.terms {
  max-width: 720px;
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--beam);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  backdrop-filter: blur(6px);
}
.terms__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.terms__list { list-style: none; }
.terms__list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 13.5px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.terms__list li:last-child { border-bottom: none; }
.terms__list li span {
  flex: 0 0 9em;
  color: var(--beam);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* --- よくある質問（開閉なしのQ&A並記） --- */
.faq { max-width: 760px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(6px);
}
.faq__item + .faq__item { margin-top: 14px; }
.faq__item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding-left: 26px;
  position: relative;
}
.faq__item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--beam);
  font-size: 14px;
}
.faq__item dd { color: var(--dim); font-size: 13.5px; padding-left: 26px; }

/* --- 追加分のスマホ対応 --- */
@media (max-width: 768px) {
  .opt-table tr { flex-wrap: wrap; gap: 4px 18px; }
  .opt-table th { flex: 1 1 100%; }
  .opt-table td { text-align: left; }
  .opt-table td small { white-space: normal; }

  /* スポット表 → 行ごとの縦積み */
  .spot-table { display: block; background: transparent; border: none; backdrop-filter: none; }
  .spot-table thead { display: none; }
  .spot-table tbody { display: block; }
  .spot-table tbody tr {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
  }
  .spot-table tbody tr + tr { margin-top: 12px; }
  .spot-table tbody th {
    display: block;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 18px 8px;
    border-bottom: 1px solid var(--line);
  }
  .spot-table tbody td {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    padding: 9px 18px;
    font-size: 13px;
    text-align: right;
  }
  .spot-table tbody td::before {
    content: attr(data-label);
    margin-right: auto;
    padding-right: 14px;
    color: var(--dim);
    font-size: 12.5px;
    text-align: left;
  }
  .spot-table tbody td:last-child { border-bottom: none; }
  .spot-table td small { display: inline; margin-left: 6px; }

  .terms__list li { flex-direction: column; gap: 1px; }
  .terms__list li span { flex: none; }
}

/* --- index.html: navの「料金」リンクと、できること→料金ページの導線 --- */
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__plan {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.3s;
}
.nav__plan:hover { color: var(--beam); }

.services-pricelink { text-align: center; margin-top: 30px; }
.services-pricelink a {
  color: var(--beam);
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.services-pricelink a:hover { text-decoration: underline; }
