/* 広告用 LP。生成り × 墨 × 橙のワンポイント。
   ロゴの橙はスマートナビと同じ #f29400（--orange）。 */

:root {
  --paper: #ffffff;
  --paper-2: #f6faf9;          /* スマートナビ本体と同じミントがかった白 */
  --card: #ffffff;
  --navy: #16324f;
  --navy-2: #0e2238;
  --ink: #1d2733;
  --muted: #5b6775;
  --line: #dfe4ea;
  --orange: #f29400;           /* スマートナビのロゴ橙。この上の文字は --navy-2 */
  --orange-2: #e08600;
  --orange-ink: #a85f00;       /* 白地の小さい文字用 */
  --orange-wash: #fff4e0;
  --orange-tint: #ffc266;
  --tiffany: #75c4c1;
  --teal: #1f6e6a;
  --teal-ink: #164f4c;
  --teal-wash: #e8f5f4;
  --line-green: #06c755;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px rgba(22, 50, 79, .08);
  --cta-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  padding-bottom: calc(var(--cta-h) + 8px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); }
h1, h2, h3 { color: var(--teal-ink); }
.nowrap { white-space: nowrap; }

/* ---------- 共通部品 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--teal);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--tiffany); }
body { counter-reset: sec; }
.sec-head .eyebrow::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  width: auto; height: auto; padding-right: 44px; background: linear-gradient(var(--tiffany), var(--tiffany)) right center / 32px 1px no-repeat;
  font-family: var(--serif); font-size: 13px; letter-spacing: .05em; color: var(--orange);
}

.sec { padding: 88px 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head h2 {
  text-wrap: balance;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(25px, 3.6vw, 38px); line-height: 1.5; letter-spacing: .02em;
}
.sec-head p { color: var(--muted); max-width: 640px; font-size: 15px; text-wrap: balance; }
.hl { color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy-2); box-shadow: 0 10px 24px rgba(242, 148, 0, .28); }
.btn-primary:hover { background: var(--orange-2); }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--tiffany); background: var(--teal-wash); }
.btn small { font-weight: 500; font-size: 12px; opacity: .9; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.active { opacity: 1; transform: none; }

/* ---------- 上部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .06em; color: var(--teal-ink); line-height: 1; }
.brand-name b { color: var(--orange); font-weight: 700; }
.brand-lg img { width: 48px; height: 48px; }
.brand-lg .brand-name { font-size: 26px; }
.gnav { display: none; gap: 30px; font-size: 14px; font-weight: 500; }
.gnav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.gnav a:hover { color: var(--teal); border-color: var(--tiffany); }
.header-cta {
  background: var(--orange); color: var(--navy-2); text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 999px;
  transition: background-color .2s;
}
.header-cta:hover { background: var(--orange-2); }

/* ---------- ファーストビュー ---------- */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--paper-2), #fff 70%); }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 {
  margin: 18px 0 22px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5.6vw, 50px); line-height: 1.4; letter-spacing: .01em;
  text-wrap: balance;
}
.hero h1 { color: var(--navy); }
.hero h1 em { font-style: normal; white-space: nowrap; color: var(--teal); box-shadow: inset 0 -.32em 0 var(--teal-wash); }
.hero .lead { color: var(--muted); font-size: 16px; max-width: 560px; word-break: keep-all; overflow-wrap: anywhere; }
.hero .lead span { display: inline-block; }

.facts { margin: 34px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--tiffany); border-bottom: 1px solid var(--line); }
.fact { padding: 16px 12px 14px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.fact dd { margin-top: 4px; }
.fact .num { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(24px, 4.6vw, 36px); line-height: 1.15; white-space: nowrap; }
.fact .num small { font-size: .52em; margin-left: 2px; }
.fact .sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

.cta-row { display: flex; flex-direction: column; gap: 14px; }
.fine { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 560px; }

.sheet {
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--tiffany);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.sheet-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--teal-ink); font-size: 12px; font-weight: 700; }
.sheet-head span:last-child { color: var(--muted); font-weight: 500; }
.sheet img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--line); }
.sheet ul { padding: 8px 18px 14px; }
.sheet li { padding: 14px 0 14px 30px; position: relative; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.75; }
.sheet li:first-child { border-top: 0; }
.sheet li::before { content: "✓"; position: absolute; left: 0; top: 14px; color: var(--orange-ink); font-weight: 900; }
.sheet li b { display: block; font-size: 15px; }
.sheet li span { color: var(--muted); font-size: 13px; }

/* ---------- マンガ ---------- */
.manga { background: var(--paper-2); }
.panels { display: grid; gap: 40px 32px; }
.panel { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tiffany); border-radius: 4px; box-shadow: var(--shadow); overflow: hidden; }
.panel header { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel .no { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; color: var(--orange); }
.panel h3 { font-size: 15px; font-weight: 700; line-height: 1.6; }
.panel img { width: 100%; }
.bubbles { display: grid; gap: 12px; padding: 16px; }
.bubble {
  position: relative; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.7;
}
.bubble::before { content: ""; position: absolute; top: -8px; left: 26px; width: 12px; height: 12px; background: inherit; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.bubble.alt { background: var(--orange-wash); border-color: var(--orange-tint); }
.bubble.alt::before { border-color: var(--orange-tint); }
.bubble b { color: var(--orange-ink); font-weight: 700; }
.manga-cta { margin-top: 48px; text-align: center; }
.manga-cta .btn { width: min(420px, 100%); }

/* ---------- 理由 ---------- */
.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reason { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.reason .k { display: flex; align-items: baseline; gap: 14px; }
.reason .n { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1; color: var(--orange); }
.reason .tag { font-size: 11px; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.reason h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.6; }
.reason h3 .big { font-size: 1.2em; color: var(--teal); }
.reason p { color: var(--muted); font-size: 14.5px; }
.reason p strong { color: var(--ink); }
.reason .ok { font-size: 13px; font-weight: 700; color: var(--orange-ink); }

/* 将来用の動画枠（hidden を外すと表示） */
.movie { margin-top: 48px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tiffany); border-radius: 4px; display: grid; gap: 22px; }
.movie[hidden] { display: none; }
.movie-screen { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.movie-screen .caption { position: absolute; inset: auto 12px 12px; background: var(--ink); color: #fff; font-size: 13px; padding: 8px 12px; }
.movie-screen .caption.on { background: var(--orange-ink); }

/* ---------- 費用 ---------- */
.pricing { background: var(--paper-2); }
.price-grid { display: grid; gap: 28px; }
.price { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tiffany); border-radius: 4px; box-shadow: var(--shadow); padding: 32px 28px; }
.price.main { border-top-color: var(--orange); }
.price .case { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--teal-wash); color: var(--teal-ink); }
.price.main .case { background: var(--orange); color: var(--navy-2); }
.price h3 { margin: 14px 0 6px; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.5; }
.price .amount { margin: 12px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price .amount b { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1; color: var(--orange); }
.price .amount span { font-weight: 700; font-size: 18px; }
.price .amount small { font-size: 12px; color: var(--muted); }
.price .amount .plus { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.4; }
.price .amount .tag { font-size: 12px; font-weight: 700; padding: 3px 10px; background: var(--orange-wash); color: var(--orange-ink); border: 1px solid var(--orange-ink); }
.price > p { font-size: 14.5px; color: var(--muted); }
.price > p strong { color: var(--ink); }
.price ul { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.price li { padding: 4px 0 4px 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-ink); font-weight: 900; }
.notice { margin-top: 32px; padding: 20px 22px; border: 1px dashed var(--tiffany); border-radius: 4px; background: var(--teal-wash); font-size: 13.5px; color: var(--muted); text-align: center; }
.notice strong { color: var(--ink); }

/* ---------- 診断 ---------- */
.diag-box { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 4px; box-shadow: var(--shadow); padding: 32px 24px; }
.diag-time { display: block; width: fit-content; margin: 0 auto 22px; padding: 4px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--teal-wash); color: var(--teal-ink); }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.progress-meta #step-percent { color: var(--orange-ink); }
.progress { height: 6px; background: var(--paper-2); margin-bottom: 28px; }
.progress div { height: 100%; background: var(--orange); transition: width .3s var(--ease); }
.diag-box h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.6; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 56px; padding: 12px 18px; text-align: left; font-weight: 700;
  background: #fff; border: 1.5px solid var(--line); border-radius: 6px;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.opt span:last-child { color: var(--orange-ink); }
.opt:hover { border-color: var(--tiffany); background: var(--teal-wash); transform: translateX(3px); }
.hidden { display: none !important; }

.result-card { padding: 24px 20px; text-align: center; background: var(--orange-wash); border: 1px solid var(--orange); border-radius: 4px; }
.result-card .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 14px; border-radius: 999px; background: var(--orange); color: var(--navy-2); }
.result-card h4 { margin: 10px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.5; }
.result-card h4 .big { font-size: 1.35em; color: var(--orange-ink); }
.result-card p { font-size: 14px; font-weight: 500; }
.summary { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); font-size: 13.5px; }
.summary .t { font-weight: 700; margin-bottom: 6px; }
.summary #result-summary { color: var(--muted); }
.result-actions { margin-top: 24px; display: grid; gap: 12px; }
.result-actions .lead { font-size: 13px; font-weight: 700; text-align: center; color: var(--muted); }
.btn-green { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn-green:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--tiffany); background: var(--teal-wash); }
.reset { background: none; border: 0; padding: 8px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.reset:hover { color: var(--ink); }
.result-note { margin-top: 14px; font-size: 11px; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 2px solid var(--tiffany); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline;
  padding: 22px 4px; cursor: pointer; font-weight: 700; line-height: 1.7;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--orange); }
.faq-list summary .pm { width: 18px; height: 18px; position: relative; align-self: center; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; inset: 8px 0 auto; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] .pm::after { transform: rotate(0); }
.faq-list .a { padding: 0 4px 24px 40px; color: var(--muted); font-size: 14.5px; }

/* ---------- フッター ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--paper-2); text-align: center; display: grid; gap: 12px; justify-items: center; font-size: 12.5px; color: var(--muted); }
.site-footer a { text-decoration: underline; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { margin-top: 10px; font-size: 11px; }

/* ---------- 下部固定の相談ボタン ---------- */
.fixed-cta {
  position: fixed; inset: auto 0 0; z-index: 60;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22, 50, 79, .08);
  padding: 8px 12px max(10px, env(safe-area-inset-bottom));
}
.fixed-cta .btns { width: min(720px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fixed-cta .btn { min-height: 46px; padding: 8px 10px; font-size: 14px; white-space: nowrap; }

/* ---------- レスポンシブ ---------- */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opts .wide { grid-column: 1 / -1; }
  .bubbles { grid-template-columns: 1fr 1fr; }
  .diag-box { padding: 44px 48px; }
  .result-card h4 { font-size: 26px; }
  .result-actions .btn { font-size: 17px; }
}
@media (min-width: 880px) {
  .gnav { display: flex; }
  .hero { padding: 96px 0 112px; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .reason { padding: 40px 28px 40px 0; border-bottom: 0; border-left: 1px solid var(--line); padding-left: 28px; align-content: start; }
  .reason:first-child { border-left: 0; padding-left: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .panels { grid-template-columns: 1fr 1fr; }
  .movie { grid-template-columns: 5fr 7fr; align-items: center; }
}
@media (max-width: 420px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .fixed-cta .btn { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 640px) { .br-sp { display: none; } }

.reason h3, .price h3, .panel h3 { text-wrap: balance; }
@media (max-width: 420px) { .sec-head h2 { font-size: 22px; } }
