:root {
  --bg: #faf7f2;
  --paper: #ffffff;
  --ink: #23272f;
  --sub: #5c6370;
  --line: #e6e0d6;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --mark: #fde7a6;
  --bar: #c9d6d1;
  --warn: #fff4e5;
  --warn-line: #f0c27b;
  --dark: #1d2b33;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .02em;
}
a { color: var(--accent); }
.shell { width: min(680px, 100% - 32px); margin: 0 auto; }

.pr {
  background: #ececec;
  color: #444;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  line-height: 1.5;
}
.top { padding: 18px 0 0; }
.logo { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sub); }

/* 書き出し */
.hero { padding: 40px 0 56px; }
.hello { color: var(--sub); margin: 0 0 12px; font-size: 15px; }
h1 {
  font-size: clamp(28px, 7.4vw, 40px);
  line-height: 1.45;
  margin: 0 0 28px;
  letter-spacing: .01em;
}
mark {
  background: linear-gradient(transparent 58%, var(--mark) 58%);
  color: inherit;
}
.talk p { margin: 0 0 1.1em; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li {
  background: var(--paper);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 700;
}
.badges li::before { content: "✓ "; }
.hero .cta { margin-top: 22px; }
.after-cta { margin-top: 36px; }

/* 画面下に固定するボタン */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 242, .94);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky.show { transform: translateY(0); }
.sticky .cta { margin: 0 auto; padding: 14px 18px; font-size: 16px; }

/* ボタン */
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(31, 111, 92, .25);
}
.cta:hover { filter: brightness(1.08); }
.cta-note { text-align: center; font-size: 12.5px; color: var(--sub); margin: 10px 0 0; line-height: 1.6; }

/* 各ブロック */
.block { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(22px, 5.6vw, 28px); line-height: 1.5; margin: 0 0 22px; }
h3 { font-size: 18px; margin: 34px 0 12px; }
.block > p { margin: 0 0 1.1em; }

.worries { list-style: none; padding: 0; margin: 0 0 22px; }
.worries li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px 12px 44px;
  margin-bottom: 10px;
  position: relative;
  line-height: 1.7;
}
.worries li::before { content: "…"; position: absolute; left: 16px; top: 10px; color: var(--sub); font-weight: 700; }
.aside { font-size: 15.5px; color: var(--sub); background: var(--paper); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; }

/* 数字 */
.chart {
  margin: 8px 0 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px 14px;
}
.row { display: grid; grid-template-columns: 84px 1fr 54px; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.4; }
.bar { background: #f1eee8; border-radius: 6px; height: 18px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--bar); border-radius: 6px; }
.row.hot .bar i { background: var(--accent); }
.row.hot .age, .row.hot .pct { font-weight: 700; }
.pct { text-align: right; font-variant-numeric: tabular-nums; }
.chart figcaption { font-size: 12px; color: var(--sub); margin-top: 12px; line-height: 1.6; }

/* 比べる */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.card { background: var(--paper); border: 2px solid var(--accent); border-radius: 14px; padding: 16px; font-size: 15.5px; line-height: 1.75; }
.card p { margin: 0; }
.card .label { font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.card.dim { border-color: var(--line); color: var(--sub); }
.card.dim .label { color: var(--sub); }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 14px 34px; line-height: 1.75; }
.checks li::before {
  content: "";
  position: absolute; left: 4px; top: 7px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.checks strong { display: block; }

/* 注意点 */
.honest ul { background: var(--warn); border: 1px solid var(--warn-line); border-radius: 14px; padding: 18px 18px 6px 38px; margin: 0; }
.honest li { margin-bottom: 12px; line-height: 1.75; }
.honest strong { display: block; }

/* 相談先 */
.service { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.service p { margin: 0 0 .9em; }
.service .name { font-weight: 800; font-size: 20px; letter-spacing: .06em; margin-bottom: 6px; }
.service .meta { font-size: 12.5px; color: var(--sub); margin: 0; line-height: 1.6; }
.steps, .flow { padding-left: 1.4em; margin: 0; }
.steps li, .flow li { margin-bottom: 10px; line-height: 1.75; }
.steps strong { display: block; }

/* 締め */
.final { background: var(--dark); color: #f3f1ec; padding: 56px 0 60px; }
.final h2 { color: #fff; }
.final p { margin: 0; }
.final .cta { background: #f2c14e; color: #1d2b33; box-shadow: none; }
.final .cta-note { color: #b9c3c8; }

footer { padding: 28px 0 40px; font-size: 12px; color: var(--sub); line-height: 1.7; }
footer p { margin: 0 0 8px; }

@media (max-width: 420px) {
  body { font-size: 16px; }
  .compare { grid-template-columns: 1fr; }
  .row { grid-template-columns: 74px 1fr 50px; font-size: 13.5px; }
}
