/* 5大特典ページ共通 — KitchenCar Digest の「紺と橙」(Spot Search と同系) */
:root {
  --navy: #1c2536;
  --navy-soft: #2d3a52;
  --amber: #e08a2e;      /* 面・帯・グラフ用(文字には使わない) */
  --amber-text: #a85a12; /* 白地の文字用(コントラスト確保) */
  --amber-pale: #fbeedd;
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1c2536;
  --muted: #5b6475;
  --line: #e3e1db;
  --bar: #c9ced8;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.site-head { background: var(--navy); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.site-head .brand { font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: 0.04em; }
.site-head .brand span { color: var(--amber); }
.site-head .back { font-size: 14px; text-decoration: none; opacity: 0.9; }

/* ヒーロー */
.hero { background: var(--navy); color: #fff; padding: 28px 0 40px; }
.hero .eyebrow {
  display: inline-block; background: var(--amber); color: var(--navy);
  font-weight: 700; font-size: 14px; padding: 2px 12px; border-radius: 999px;
}
.hero h1 { font-size: 27px; line-height: 1.5; margin: 14px 0 12px; letter-spacing: 0.03em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { margin: 0; color: #dfe3ea; font-size: 16px; }

/* セクション */
main { padding: 8px 0 48px; }
.section { margin-top: 36px; }
.section-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--amber-text); margin-bottom: 6px;
}
.section-label::before { content: ""; width: 18px; height: 3px; background: var(--amber); border-radius: 2px; }
h2 { font-size: 22px; line-height: 1.5; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.lead { margin: 0 0 16px; }
.note { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px;
}
.card + .card { margin-top: 14px; }

/* トップ:特典カード */
.gift {
  display: flex; gap: 14px; align-items: flex-start; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; margin-top: 12px;
}
.gift .num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 17px;
  display: grid; place-items: center;
}
.gift h3 { font-size: 17.5px; line-height: 1.55; margin: 0 0 4px; }
.gift p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.gift .go {
  display: inline-block; margin-top: 10px; background: var(--amber); color: var(--navy);
  font-weight: 700; font-size: 15px; padding: 6px 16px; border-radius: 999px;
}
.gift.soon { opacity: 0.6; }
.gift.soon .go { background: var(--line); color: var(--muted); }

/* 数字カード */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; }
.stat.strong { border: 2px solid var(--amber); }
.stat .year { font-size: 14px; font-weight: 700; color: var(--muted); }
.stat dl { margin: 8px 0 0; }
.stat dt { font-size: 14px; color: var(--muted); margin-top: 8px; }
.stat dd { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3; }
.stat dd small { font-size: 15px; margin-left: 2px; }

.takeaway {
  background: var(--amber-pale); border-radius: 12px; padding: 14px 16px; margin-top: 14px;
  font-weight: 700; line-height: 1.7;
}

/* 横棒グラフ */
.bars { margin-top: 6px; }
.bar-row { display: grid; grid-template-columns: 42px 1fr 64px; align-items: center; gap: 8px; min-height: 30px; }
.bar-row .m { font-size: 14px; color: var(--muted); }
.bar-row .track { height: 16px; }
.bar-row .fill { height: 100%; background: var(--bar); border-radius: 0 6px 6px 0; min-width: 3px; }
.bar-row .v { font-size: 15px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bar-row.hl .fill { background: var(--amber); }
.bar-row.hl .v { color: var(--amber-text); }
.bar-flag {
  grid-column: 2 / 4; font-size: 13.5px; font-weight: 700; color: var(--navy);
  background: var(--amber-pale); border-left: 3px solid var(--amber);
  padding: 2px 10px; margin: 2px 0 6px; border-radius: 0 6px 6px 0;
}
.year-head { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 6px; }
.year-head:first-child { margin-top: 0; }
.year-head b { font-size: 17px; }
.year-head span { font-size: 14px; color: var(--muted); }

/* 100万円の行き先 */
.stack { display: flex; height: 34px; border-radius: 8px; overflow: hidden; margin: 6px 0 14px; }
.stack div { height: 100%; }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.legend li:last-child { border-bottom: 0; }
.legend .dot { width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; }
.legend .name { flex: 1; }
.legend .yen { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.legend li.profit { background: var(--amber-pale); margin: 4px -10px 0; padding: 10px; border-radius: 10px; border: 0; }
.legend li.profit .yen { color: var(--amber-text); font-size: 20px; }

/* 平日 vs イベント */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; text-align: center; }
.vs .box.event { border: 2px solid var(--amber); }
.vs .label { font-weight: 700; font-size: 16px; }
.vs .row { margin-top: 8px; font-size: 14px; color: var(--muted); }
.vs .big { display: block; font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.3; }
.vs .box.event .big { color: var(--amber-text); }

/* ハイライト */
.highlight {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 18px; margin-top: 36px;
}
.highlight .tag { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 13px; padding: 1px 10px; border-radius: 999px; }
.highlight p { margin: 10px 0 0; font-size: 19px; font-weight: 700; line-height: 1.7; }
.highlight p em { font-style: normal; color: var(--amber); }
.highlight small { display: block; margin-top: 8px; color: #c8cfdb; font-size: 14px; font-weight: 400; }

/* ボタン */
.btn {
  display: block; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--amber); color: var(--navy); padding: 14px; border-radius: 999px; margin-top: 14px;
}
.btn.ghost { background: transparent; border: 2px solid var(--navy); }

/* フッター */
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--muted); text-align: center; }

@media (min-width: 560px) {
  .hero h1 { font-size: 32px; }
}

/* 利益の伸び(大きく見せる) */
.jump { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 18px; margin-top: 14px; text-align: center; }
.jump-label { font-size: 15px; font-weight: 700; color: #c8cfdb; }
.jump-row { display: flex; justify-content: center; align-items: baseline; gap: 10px; font-size: 22px; font-weight: 700; margin-top: 4px; }
.jump-row .arrow { color: var(--amber); }
.jump-row .to { font-size: 28px; }
.jump-big { font-size: 22px; font-weight: 700; margin-top: 4px; }
.jump-big em { font-style: normal; color: var(--amber); font-size: 56px; line-height: 1.2; margin-right: 4px; }

/* 2大経費 */
.legend li.big2 .yen { font-size: 20px; }
.legend .badge { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--navy); padding: 0 8px; border-radius: 999px; vertical-align: 2px; }

/* シミュレーター */
.field { padding: 14px 0; border-bottom: 1px solid var(--line); }
.field:last-child { border-bottom: 0; }
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.field label { font-weight: 700; font-size: 16px; line-height: 1.5; }
.field label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.num-in { display: flex; align-items: baseline; gap: 4px; flex: 0 0 auto; }
.num-in input {
  width: 110px; font: inherit; font-size: 22px; font-weight: 700; text-align: right; color: var(--text);
  border: 2px solid var(--line); border-radius: 10px; padding: 4px 10px; background: #fff;
  font-variant-numeric: tabular-nums;
}
.num-in input:focus { outline: none; border-color: var(--amber); }
.num-in span { font-size: 15px; font-weight: 700; }
input[type=range] { width: 100%; margin: 12px 0 2px; accent-color: var(--amber); height: 28px; }
.seg { display: flex; gap: 8px; margin-top: 10px; }
.seg button {
  flex: 1; font: inherit; font-size: 14px; font-weight: 700; padding: 8px; border-radius: 999px;
  border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer;
}
.seg button.on { background: var(--navy); color: #fff; }

.result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 18px; margin-top: 16px; text-align: center; }
.result .r-label { font-size: 15px; font-weight: 700; color: #c8cfdb; }
.result .r-big { font-size: 44px; font-weight: 700; color: var(--amber); line-height: 1.25; font-variant-numeric: tabular-nums; }
.result .r-big small { font-size: 20px; color: #fff; margin-left: 2px; }
.result .r-sub { font-size: 15px; color: #dfe3ea; margin-top: 4px; }
.result.minus .r-big { color: #ff9b8a; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.r-grid div { background: var(--navy-soft); border-radius: 10px; padding: 10px 8px; }
.r-grid b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.r-grid span { font-size: 13px; color: #c8cfdb; }
.tip { background: var(--amber-pale); border-radius: 12px; padding: 14px 16px; margin-top: 14px; line-height: 1.7; }
.tip b { color: var(--amber-text); }

/* 結果カード:売上と手残りを並べて見せる */
.r-pair { margin-top: 6px; }
.r-pair > div { display: flex; justify-content: center; align-items: baseline; gap: 10px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.r-pair > div + div { border-top: 1px solid #3a4760; }
.r-pair span { font-size: 15px; font-weight: 700; color: #c8cfdb; min-width: 3.5em; text-align: right; }
.r-pair b { font-size: 28px; line-height: 1.2; }
.r-pair small { font-size: 15px; font-weight: 700; }
.r-pair .net b { font-size: 42px; color: var(--amber); }
.result.minus .r-pair .net b { color: #ff9b8a; }

/* 04 POP */
.rule { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; margin-top: 14px; }
.rule-head { display: flex; align-items: center; gap: 12px; }
.rule-head .n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 700; font-size: 20px; display: grid; place-items: center; }
.rule-head h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.rule p { margin: 10px 0 0; }
.rule ul { margin: 8px 0 0; padding-left: 1.2em; }
.rule li { margin: 2px 0; }
.rule .pic { display: block; margin-top: 12px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.rule .pic-cap { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: right; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 12px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.opt { display: grid; gap: 10px; margin-top: 4px; }
.opt label { font-weight: 700; font-size: 15px; }
.opt input, .opt select {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.opt input:focus, .opt select:focus { outline: none; border-color: var(--amber); }
.prompt-box {
  width: 100%; min-height: 260px; font: inherit; font-size: 13.5px; line-height: 1.7; color: var(--text);
  background: #fbfaf7; border: 2px dashed var(--line); border-radius: 12px; padding: 12px; resize: vertical;
}
.copy-btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: var(--navy); }
.copy-btn.done { background: var(--navy); color: #fff; }

/* 名前つきプロンプト(中身はたたむ) */
.prompt-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 18px; margin-top: 14px; }
.prompt-card .pc-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--amber); padding: 1px 10px; border-radius: 999px; }
.prompt-card .pc-name { font-size: 21px; font-weight: 700; line-height: 1.5; margin: 8px 0 4px; }
.prompt-card .pc-desc { font-size: 14.5px; color: #dfe3ea; margin: 0; line-height: 1.7; }
.prompt-card .copy-btn { margin-top: 14px; }
.prompt-card .copy-btn.done { background: #fff; color: var(--navy); }
.prompt-card details { margin-top: 12px; }
.prompt-card summary { cursor: pointer; font-size: 14px; color: #c8cfdb; text-align: center; list-style: none; padding: 6px; }
.prompt-card summary::-webkit-details-marker { display: none; }
.prompt-card summary::after { content: " ▼"; font-size: 11px; }
.prompt-card details[open] summary::after { content: " ▲"; }
.prompt-card .prompt-box { margin-top: 8px; background: #fff; border: 0; }

/* 05 チェックリスト */
.check { padding: 14px 0; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check .q { font-weight: 700; line-height: 1.6; }
.check .q small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.check .ans { display: flex; gap: 6px; margin-top: 8px; }
.check .ans button {
  flex: 1; font: inherit; font-size: 14px; font-weight: 700; padding: 7px 4px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; color: var(--muted);
}
.check .ans button.on[data-v="yes"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.check .ans button.on[data-v="no"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.check .ans button.on[data-v="unknown"] { background: var(--bar); border-color: var(--bar); color: var(--navy); }
.group-title { font-size: 13px; font-weight: 700; color: var(--amber-text); margin: 18px 0 0; }
.group-title:first-child { margin-top: 0; }

/* 紺のカードが続く場所用の、弱めのハイライト */
.highlight.soft { background: var(--amber-pale); color: var(--navy); border: 2px solid var(--amber); }
.highlight.soft p em { color: var(--amber-text); }

/* 05:HPがない人向けの紹介 */
.hp-box { background: var(--card); border: 2px solid var(--amber); border-radius: var(--radius); padding: 20px 18px; margin-top: 14px; }
.hp-box[hidden] { display: none; }
.hp-title { font-size: 19px; font-weight: 700; line-height: 1.5; }
.hp-real { margin: 14px 0 0; font-weight: 700; line-height: 1.7; }
.hp-service { margin-top: 14px; text-align: center; }
.hp-service span { display: block; font-size: 13px; color: var(--muted); }
.hp-service b { display: block; font-size: 24px; line-height: 1.4; }
.hp-service small { display: block; font-size: 14px; color: var(--text); }

/* 05:Instagramだけ vs HPあり の図解 */
.hp-fig { margin-top: 14px; }
.fig-panel { border-radius: 12px; padding: 14px; text-align: center; }
.fig-panel.before { background: var(--bg); }
.fig-panel.after { background: var(--amber-pale); }
.fig-label { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.fig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; max-width: 210px; margin: 0 auto; }
.fig-grid span { aspect-ratio: 1; background: #dcdad4; border-radius: 4px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fig-grid span.q { background: #fff; border: 2px dashed #b9b6ad; }
.fig-page { background: #fff; border: 2px solid var(--navy); border-radius: 10px; max-width: 210px; margin: 0 auto; overflow: hidden; text-align: left; }
.fig-bar { height: 14px; background: var(--navy); }
.fig-page ul { list-style: none; margin: 0; padding: 8px 12px; }
.fig-page li { font-size: 14px; font-weight: 700; padding: 5px 0; border-bottom: 1px solid var(--line); }
.fig-page li:last-child { border-bottom: 0; }
.fig-page li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--amber); color: var(--navy); font-size: 12px; }
.fig-cap { font-size: 14px; line-height: 1.7; margin-top: 10px; }
.fig-cap b { color: var(--amber-text); }
.fig-panel.before .fig-cap b { color: var(--text); }
.fig-arrow { text-align: center; font-weight: 700; font-size: 14px; color: var(--amber-text); padding: 8px 0; }

.hp-coupon {
  margin-top: 16px; text-align: center; font-weight: 700; font-size: 18px; color: var(--navy);
  background: var(--amber-pale); border: 2px dashed var(--amber); border-radius: 10px; padding: 8px;
}
.hp-coupon + .btn { margin-top: 10px; }
