/* ==========================================================
   おうちの予算守るくん LP — styles
   試作 11/3：明るい緑×白×ミント、見出し中央・キーワード強調、太枠カード、CTAは緑帯＋橙
   ========================================================== */
:root {
  --base: #ffffff;
  --surface: #ffffff;
  --paper: #fffdf7;
  --mint: #effaf5;
  --mint-2: #dcf3e9;
  --ink: #222b28;
  --muted: #66716d;
  --brand: #12a57b;
  --brand-deep: #0b7d5c;
  --brand-soft: #dcf3e9;
  --brand-pale: #effaf5;
  --accent: #f76a1f;
  --accent-top: #ff9443;
  --accent-shadow: #c9531a;
  --accent-deep: #e0521f;
  --accent-text: #c94816;
  --marker: #fff27a;
  --border: #d6e7df;
  --line: #06c755;
  --radius: 14px;
  --radius-s: 10px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --shadow: 0 6px 18px rgba(18, 80, 60, 0.10);
  --col: 480px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--mint);
  line-height: 1.8;
  font-size: 16px;
  font-feature-settings: "palt";
  line-break: strict;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.nb { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page {
  max-width: var(--col);
  margin: 0 auto;
  background: var(--base);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}
@media (min-width: 520px) {
  .page { box-shadow: 0 0 40px rgba(18, 80, 60, 0.10); }
}

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 var(--border);
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.logo__mark { width: 32px; height: 32px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo__name { font-weight: 900; font-size: 17px; color: var(--brand-deep); letter-spacing: 0.02em; white-space: nowrap; }
.logo__tag { font-size: 10px; color: var(--muted); font-weight: 700; white-space: nowrap; }

/* ---------- LINE button ---------- */
.btn-line {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 12px 50px 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-top), var(--accent));
  color: #fff;
  font-weight: 900; font-size: 18px; letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--accent-shadow), 0 12px 20px rgba(0, 0, 0, 0.12);
  transition: transform .12s ease, box-shadow .12s ease;
  overflow: hidden;
}
/* キラッ：斜めの光が3秒ごとに横切る */
.btn-line::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 28%; z-index: 1;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: btn-shine 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-line--sticky::before { animation-delay: 1.5s; }
@keyframes btn-shine {
  0% { left: -40%; }
  35%, 100% { left: 130%; }
}
.btn-line:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-shadow); }
.btn-line__arrow {
  z-index: 2;
  position: absolute; right: 12px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: #fff;
}
.btn-line__arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; margin: -4px 0 0 -5px;
  border: solid var(--accent); border-width: 2.5px 2.5px 0 0; transform: rotate(45deg);
}
.btn-line--mini {
  width: auto; min-height: 38px; padding: 6px 13px 6px 7px; font-size: 13px; gap: 6px; flex: none; letter-spacing: 0.02em;
  box-shadow: 0 3px 0 var(--accent-shadow);
}
.line-icon {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--line); color: #fff;
  font-size: 9px; font-weight: 900; letter-spacing: 0.02em;
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.btn-line--mini .line-icon { width: 24px; height: 24px; font-size: 8px; border-radius: 6px; box-shadow: none; }

/* ---------- FV ---------- */
.fv { position: relative; padding: 0; }
.fv__photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.fv__photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 92%);
}
.fv__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.fv__copy { position: relative; margin-top: -54px; padding: 0 16px; text-align: center; }
.fv__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 900; color: var(--brand-deep); letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.fv__label::before, .fv__label::after { content: ""; width: 2px; height: 16px; background: currentColor; border-radius: 2px; }
.fv__label::before { transform: rotate(-30deg); }
.fv__label::after { transform: rotate(30deg); }
.fv__title {
  font-size: 32px; line-height: 1.42; font-weight: 900; letter-spacing: 0.02em;
}
.fv__title em {
  font-style: normal; color: var(--brand); white-space: nowrap;
  background: linear-gradient(transparent 62%, var(--marker) 62%, var(--marker) 92%, transparent 92%);
}

/* 実績の数字 */
.proof {
  margin: 18px 16px 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--mint); border-radius: var(--radius);
  padding: 12px 4px 10px;
}
.proof li { text-align: center; line-height: 1.1; position: relative; }
.proof li + li::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--mint-2); }
.proof b { font-size: 30px; font-weight: 900; color: var(--brand); letter-spacing: -0.01em; }
.proof span { font-size: 12px; font-weight: 900; color: var(--brand-deep); margin-left: 1px; }
.proof small { display: block; margin-top: 5px; font-size: 10.5px; font-weight: 700; color: var(--muted); }

/* 答案用紙カード（シグネチャー） */
.sheet {
  position: relative;
  margin: 26px 16px 0;
  background: var(--paper);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--brand); color: #fff;
  padding: 10px 14px; border-radius: 11px 11px 0 0;
  min-height: 48px;
}
.sheet__caption { font-size: 15px; font-weight: 900; letter-spacing: 0.04em; }
.sheet__stamp {
  position: absolute; right: 10px; top: -20px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  color: var(--accent-deep);
  border: 3px solid var(--accent-deep);
  border-radius: 50%;
  font-weight: 900;
  transform: rotate(-10deg);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.sheet__stamp b { font-size: 25px; line-height: 1; }
.sheet__stamp small, .stamp small { font-size: 10px; line-height: 1; margin-top: 3px; padding-top: 2px; border-top: 2px solid currentColor; min-width: 22px; text-align: center; }
.sheet__list { padding: 2px 16px 0; }
.sheet__list li + li { border-top: 1px dashed var(--border); }
.chk { display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; min-height: 50px; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk__box {
  flex: none; width: 26px; height: 26px;
  border: 2px solid var(--brand); border-radius: 7px;
  background: #fff;
  position: relative;
  transition: background .15s ease;
}
.chk__box::after {
  content: ""; position: absolute; left: 7px; top: 2px;
  width: 7px; height: 13px;
  border: solid #fff; border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0); transition: transform .15s ease;
}
.chk input:checked + .chk__box { background: var(--brand); }
.chk input:checked + .chk__box::after { transform: rotate(45deg) scale(1); }
.chk input:focus-visible + .chk__box { outline: 3px solid var(--marker); outline-offset: 2px; }
.chk__text { font-size: 15px; font-weight: 700; line-height: 1.5; }
.sheet__count { margin: 2px 16px 0; padding: 8px 0 10px; border-top: 2px solid var(--brand-soft); font-size: 13px; font-weight: 700; color: var(--muted); text-align: right; }
.sheet__count b { font-size: 22px; color: var(--brand); font-weight: 900; margin: 0 1px 0 6px; }

.fv__lead { margin-top: 24px; padding: 0 16px; font-size: 18px; font-weight: 900; line-height: 1.7; text-align: center; }
.fv__lead strong { color: var(--accent-text); background: linear-gradient(transparent 62%, var(--marker) 62%); }
.fv__sub { margin-top: 10px; padding: 0 20px; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- CTA（緑の帯） ---------- */
.cta {
  margin: 30px -16px 0;
  padding: 26px 16px 28px;
  background: var(--brand);
  text-align: center; position: relative;
}
.fv .cta { margin: 28px 0 0; }
.sec:has(> .cta:last-child) { padding-bottom: 0; }
.cta__badge {
  position: relative;
  display: inline-block;
  font-size: 13.5px; font-weight: 900; color: var(--brand-deep);
  background: #fff;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 14px;
}
.cta__badge::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px;
  border-style: solid; border-width: 8px 7px 0 7px; border-color: #fff transparent transparent transparent;
}
.cta__note { margin-top: 14px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }

/* ---------- sections (common) ---------- */
.sec { padding: 52px 16px 56px; }
.sec--why { background: var(--surface); }
.sec--koma { background: var(--mint); }
.sec--so { background: var(--surface); }
.sec__title {
  font-size: 24px; line-height: 1.5; font-weight: 900; letter-spacing: 0.04em;
  text-align: center;
}
.sec__title::before {
  content: ""; display: block; width: 40px; height: 6px; margin: 0 auto 12px;
  background: radial-gradient(circle, var(--brand) 2.6px, transparent 3px) 0 0 / 14px 6px repeat-x;
}
.sec__title em { font-style: normal; color: var(--brand); font-size: 1.16em; }
.sec__intro { font-size: 15px; font-weight: 700; line-height: 1.8; margin-bottom: 16px; text-align: center; color: var(--muted); text-wrap: balance; }
.sec__lead { margin-top: 14px; font-size: 15px; line-height: 1.85; text-align: center; text-wrap: balance; }
.sec__note { margin-top: 18px; font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.sec__note--s { font-size: 12px; color: var(--muted); margin-top: 12px; }
.sec__sub {
  margin-top: 36px; font-size: 19px; line-height: 1.5; font-weight: 900; color: var(--ink); text-align: center;
}
.sec__bridge { margin-top: 26px; font-size: 19px; font-weight: 900; line-height: 1.55; text-align: center; color: var(--brand-deep); }

/* 02 三角図 */
.tri { margin: 18px 0 0; }
.tri svg { width: 100%; height: auto; display: block; font-family: var(--font); }

/* 03 分かれ道 */
.fork { margin-top: 22px; }
.fork__start { display: flex; align-items: center; justify-content: center; gap: 26px; }
.fork__fp { flex: none; width: 124px; margin: 0; text-align: center; }
.fork__fp img { display: block; width: 124px; height: 124px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid var(--brand-soft); }
.fork__fp figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.fork__thought {
  position: relative; flex: 0 1 auto;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 18px;
  padding: 12px 14px;
  font-size: 15.5px; font-weight: 900; line-height: 1.5;
}
.fork__thought::before, .fork__thought::after {
  content: ""; position: absolute; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand);
}
.fork__thought::before { width: 12px; height: 12px; left: -19px; top: 50%; margin-top: -2px; }
.fork__thought::after { width: 7px; height: 7px; left: -29px; top: 50%; margin-top: 9px; }
.fork__split { display: block; width: 100%; height: auto; margin: 10px 0 4px; }
.fork__paths { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.path {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
}
.path__label { font-size: 12.5px; font-weight: 900; color: var(--muted); margin-bottom: 10px; }
.path__say {
  position: relative;
  background: var(--mint);
  border-radius: 12px;
  padding: 10px 6px;
  font-size: 14.5px; font-weight: 900; line-height: 1.45;
}
.path__arrow { display: block; width: 0; height: 0; margin: 8px auto; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid var(--brand); }
.path__step { font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.path__end {
  border-radius: 12px;
  padding: 10px 4px 11px;
  font-size: 14px; font-weight: 900; line-height: 1.4;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.path__end svg { width: 26px; height: 26px; }
/* iOS Safariのtext-wrap: prettyで1文字ずつ折り返されるため、<br>位置でだけ改行させる */
.fork__thought, .path__say, .path__step, .path__end { text-wrap: wrap; white-space: nowrap; }
.path__end--bad { background: #eef0ef; color: var(--ink); }
.path__end--good { background: var(--brand); color: #fff; }
.down { width: 0; height: 0; margin: 18px auto 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-top: 18px solid var(--mint-2); }
.band {
  margin-top: 14px;
  background: var(--surface); color: var(--ink);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-size: 17px; font-weight: 900; line-height: 1.65;
}

/* 04 比較表 */
.cmp-wrap { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--brand); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp th, .cmp td { padding: 13px 6px; text-align: center; vertical-align: middle; font-size: 13.5px; line-height: 1.45; border-top: 1px solid var(--border); }
.cmp thead th { border-top: 0; }
.cmp th:first-child { width: 22%; }
.cmp tbody th { font-size: 12px; font-weight: 900; color: var(--brand-deep); background: var(--mint); }
.cmp__blank { background: transparent; }
.cmp__them { font-weight: 900; color: var(--muted); }
.cmp td { font-weight: 500; color: var(--muted); }
.cmp .cmp__us { background: var(--brand); color: #fff; font-weight: 900; border-top-color: rgba(255,255,255,0.25); }
.cmp thead .cmp__us { padding: 12px 6px 10px; }
.cmp thead .cmp__us small { display: block; font-size: 10.5px; font-weight: 700; color: #e3fff3; margin-top: 2px; }
.cmp__brand { font-size: 13.5px; font-weight: 900; line-height: 1.3; }
.cmp tbody tr:last-child .cmp__us { font-size: 14px; color: var(--marker); }

/* 吹き出し（FPの声・写真なし） */
.quotes { margin-top: 16px; display: grid; gap: 10px; justify-items: start; }
.quotes__item {
  position: relative;
  max-width: 94%;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: 18px 18px 18px 4px;
  padding: 10px 15px;
  font-size: 14.5px; font-weight: 900; line-height: 1.5; color: var(--brand-deep);
}
.quotes__item:nth-child(2) { justify-self: end; border-radius: 18px 18px 4px 18px; }

/* ---------- 共通: 採点スタンプ・画像 ---------- */
.stamp {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid var(--accent-deep); color: var(--accent-deep); background: #fff;
  display: grid; place-items: center; align-content: center;
  line-height: 1; font-weight: 900; transform: rotate(-10deg); flex: none;
}
.stamp b { font-size: 23px; }
.stamp--xs { width: 46px; height: 46px; border-width: 2.5px; }
.stamp--xs b { font-size: 17px; }
.stamp--xs small { font-size: 8.5px; }
.sec__img { margin-top: 18px; width: 100%; border-radius: var(--radius); background: #fff; }
.sec__img--plain { margin-top: 0; }

/* 05 担当FP */
.sec--fp { background: var(--mint); }
.fp-card {
  margin-top: 22px; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 2px solid var(--brand); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px;
}
.fp-card__photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--brand-soft); }
.fp-card__name { font-size: 24px; font-weight: 900; line-height: 1.3; letter-spacing: 0.04em; }
.fp-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fp-card__tags li { font-size: 12px; font-weight: 900; color: var(--brand-deep); border: 1.5px solid var(--brand); border-radius: 6px; padding: 2px 8px; background: #fff; }
.fp-quote {
  position: relative; margin: 0;
  background: var(--surface); border: 2px solid var(--brand); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
  padding: 14px 16px 16px; font-size: 15px; font-weight: 700; line-height: 1.8;
}
.fp-quote::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; border-top: 1px dashed var(--border); }
.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; min-height: 54px; border-radius: 999px;
  border: 2px solid var(--brand); background: var(--surface);
  color: var(--brand-deep); font-weight: 900; font-size: 15px; text-decoration: none;
  box-shadow: 0 4px 0 var(--brand-soft);
}

/* 06 流れ */
.sec--flow { background: var(--surface); }
.steps { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
  background: var(--surface); border: 2px solid var(--brand-soft); border-radius: var(--radius); padding: 14px 14px 14px 12px;
  position: relative;
}
.step + .step::before {
  content: ""; position: absolute; left: 50%; top: -15px; margin-left: -9px;
  border-style: solid; border-width: 9px 9px 0 9px; border-color: var(--brand) transparent transparent transparent;
}
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-weight: 900; font-size: 20px; display: grid; place-items: center;
}
.step__title { font-size: 17px; font-weight: 900; line-height: 1.4; margin-top: 8px; }
.step__text { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.step__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: 10px; border: 2px solid var(--brand-soft); border-radius: var(--radius-s); background: #fff; }
.mini {
  margin-top: 10px; background: var(--paper); border: 2px solid var(--brand-soft); border-radius: var(--radius-s);
  padding: 8px 10px 8px 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.mini__rows { font-size: 12px; line-height: 1.6; }
.mini__rows li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed var(--border); }
.mini__rows li:last-child { border-bottom: 0; }
.mini__rows b { color: var(--accent-text); font-weight: 900; }
.mini .stamp { width: 50px; height: 50px; }
.mini .stamp b { font-size: 20px; }
.mini .stamp small { font-size: 9px; }
.safe { margin-top: 20px; background: var(--mint); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; }
.safe__item { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; font-weight: 900; line-height: 1.6; }
.safe__item svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--brand); }

/* 07 こんな方に */
.sec--who { background: var(--mint); }
.checks {
  margin-top: 16px; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius);
  padding: 4px 16px;
}
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 15px; font-weight: 900; line-height: 1.5; }
.checks li:last-child { border-bottom: 0; }
.checks svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: -1px; }
.sec--who .sec__note { text-align: center; font-weight: 700; }

/* 08 FAQ */
.sec--faq { background: var(--surface); }
.faq { margin-top: 18px; display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-s); box-shadow: 0 3px 0 var(--mint-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 12px; align-items: center;
  padding: 15px 14px; font-size: 15px; font-weight: 900; line-height: 1.5;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: none; width: 22px; color: var(--brand); font-size: 22px; font-weight: 900; line-height: 1; text-align: center; }
.faq__t { flex: 1; }
.faq__icon { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 2px; transition: transform .2s ease; }
.faq__icon::before { width: 12px; height: 2.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2.5px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a { margin: 0 14px; padding: 12px 0 16px 34px; border-top: 1px dashed var(--border); font-size: 14.5px; line-height: 1.8; }

/* 09 クロージング */
.sec--close { background: var(--surface); text-align: center; padding-top: 32px; }
.sec--close .sec__img--plain { width: 90%; margin: 0 auto; }
.sec--close .sec__title { margin-top: 10px; }
.sec--close .sec__title::before { display: none; }

/* 10 補足 */
.sec--sup { background: var(--mint); }
.terms { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; font-size: 13.5px; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); overflow: hidden; }
.terms th, .terms td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.terms tr:last-child th, .terms tr:last-child td { border-bottom: 0; }
.terms th { width: 42%; font-weight: 900; color: var(--brand-deep); background: var(--mint); }
/* 採点レポート（見本） */
.report {
  position: relative;
  margin-top: 16px;
  background: #fff;
  border-radius: 6px;
  padding: 18px 16px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 6px 7px 0 -2px #f4f6f5, 6px 7px 0 -1px var(--border), 0 14px 28px rgba(18, 80, 60, 0.12);
  font-size: 13px;
}
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 3px double var(--brand); }
.report__title { font-size: 15px; font-weight: 900; letter-spacing: 0.04em; }
.report__tag { flex: none; font-size: 11px; font-weight: 900; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 1px 7px; }
.report__meta { margin: 10px 0 0; display: grid; gap: 2px; font-size: 12px; }
.report__meta div { display: flex; gap: 10px; }
.report__meta dt { flex: none; width: 4.5em; color: var(--muted); }
.report__meta dd { margin: 0; font-weight: 700; }
.report__score {
  margin-top: 12px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  background: var(--mint); border-radius: 8px; padding: 10px 14px;
}
.report__label { font-size: 12px; font-weight: 900; line-height: 1.4; color: var(--brand-deep); }
.report__num { line-height: 1; white-space: nowrap; }
.report__num b { font-size: 42px; font-weight: 900; color: var(--accent-deep); letter-spacing: -0.02em; }
.report__num span { font-size: 13px; font-weight: 900; color: var(--muted); margin-left: 2px; }
.report__judge { font-size: 13px; font-weight: 900; color: #7a5a0c; background: #fff1c7; border: 1.5px solid #e9c96a; border-radius: 6px; padding: 4px 8px; }
.report__table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12.5px; line-height: 1.45; }
.report__table th, .report__table td { padding: 7px 6px; border-bottom: 1px solid #e8eeeb; text-align: left; vertical-align: middle; }
.report__table thead th { font-size: 11px; font-weight: 700; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.report__table thead th:last-child, .report__table td:last-child { width: 3.2em; text-align: center; }
.report__table tbody th { font-weight: 700; }
.report__table td { color: var(--muted); }
.report__table td.ok { color: var(--brand); font-weight: 900; }
.report__table .is-minus { background: #fff4ef; }
.report__table .is-minus td { color: var(--accent-text); font-weight: 700; }
.report__table .is-minus td:last-child { font-weight: 900; font-size: 14px; }
.report__comment { margin-top: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.7; }
.report__clabel { font-size: 11.5px; font-weight: 900; color: var(--brand-deep); margin-bottom: 2px; }
.report__sign { margin-top: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.hanko {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid #d2381c; color: #d2381c;
  font-size: 10.5px; font-weight: 900; line-height: 1; writing-mode: vertical-rl; letter-spacing: -0.05em;
  transform: rotate(-6deg); opacity: 0.88;
}
.scale { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scale li { text-align: center; padding: 8px 2px; border-radius: 8px; font-size: 11px; font-weight: 900; line-height: 1.35; }
.scale b { display: block; font-size: 14px; font-weight: 900; }
.scale--1 { background: #fde3d6; color: #a83c12; }
.scale--2 { background: #fff1c7; color: #7a5a0c; }
.scale--3 { background: var(--brand-soft); color: var(--brand-deep); }
.scale--4 { background: var(--brand); color: #fff; }

/* 11 フッター */
.footer { background: #1f2d28; color: #cfe9de; padding: 32px 16px calc(100px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer__logo { color: #fff; font-weight: 900; font-size: 16px; }
.footer__info { margin: 14px 0 0; display: grid; gap: 6px; }
.footer__info div { display: flex; gap: 12px; }
.footer__info dt { flex: none; width: 56px; color: #9fc3b4; }
.footer__info dd { margin: 0; color: #fff; }
.footer__links { margin-top: 16px; display: flex; gap: 16px; }
.footer__links a { display: inline-block; padding: 10px 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { margin-top: 16px; font-size: 11.5px; color: #9fc3b4; }

/* 追従CTA */
.sticky {
  position: fixed; left: 50%; bottom: 0; z-index: 50;
  width: 100%; max-width: var(--col);
  transform: translate(-50%, 110%);
  padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid var(--brand);
  display: flex; align-items: center; gap: 10px;
  transition: transform .3s ease;
}
.sticky.is-visible { transform: translate(-50%, 0); }
.btn-line--sticky { min-height: 54px; font-size: 15.5px; padding-right: 44px; }
@media (prefers-reduced-motion: reduce) {
  .sticky, .faq__icon::before, .faq__icon::after, .btn-line { transition: none; }
  .btn-line::before { animation: none; display: none; }
}

/* FP紹介ページ */
.back { display: inline-flex; align-items: center; gap: 6px; margin: 16px 16px 0; font-size: 14px; font-weight: 900; color: var(--brand-deep); text-decoration: none; }
.fp-page { padding: 12px 16px 48px; background: var(--base); }
.fp-page__title { font-size: 26px; font-weight: 900; line-height: 1.4; text-align: center; }
.fp-hero { margin-top: 20px; text-align: center; }
.fp-hero__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 4px solid var(--brand-soft); }
.fp-hero__name { margin-top: 12px; font-size: 26px; font-weight: 900; line-height: 1.3; letter-spacing: 0.04em; }
.fp-hero__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fp-hero__tags li { font-size: 12px; font-weight: 900; color: var(--brand-deep); border: 1.5px solid var(--brand); border-radius: 6px; padding: 2px 8px; }
.career { margin-top: 28px; }
.career ul { margin-top: 8px; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: 4px 14px; }
.career li { padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; line-height: 1.7; display: flex; gap: 10px; }
.career li:last-child { border-bottom: 0; }
.career li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 9px; }
.story { margin-top: 32px; }
.story__text { margin-top: 12px; font-size: 15px; line-height: 1.95; display: grid; gap: 14px; }
.story__text p { text-wrap: pretty; }
.story__quote {
  margin: 16px 0 0; background: var(--mint); border-radius: var(--radius);
  padding: 16px; font-size: 15.5px; font-weight: 900; line-height: 1.9; color: var(--brand-deep);
}
.fp-page__h2 { font-size: 19px; font-weight: 900; color: var(--brand-deep); line-height: 1.45; }
.story__sign { margin-top: 14px; text-align: right; font-size: 13px; font-weight: 700; color: var(--muted); }
.footer--plain { padding-bottom: 36px; }
/* 法務ページ */
.legal__lead { margin-top: 16px; font-size: 14.5px; line-height: 1.9; }
.legal .fp-page__h2 { margin-top: 26px; font-size: 16px; }
.legal p { margin-top: 8px; font-size: 14px; line-height: 1.9; }
.legal__list { margin-top: 8px; padding-left: 1.2em; list-style: disc; font-size: 14px; line-height: 1.9; }
.legal__list li { margin: 2px 0; }
.legal__info { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 13.5px; }
.legal__info div { display: flex; gap: 12px; }
.legal__info dt { flex: none; width: 56px; color: var(--muted); }
.legal__info dd { margin: 0; }
