/* LP・利用規約・プライバシーポリシー・特定商取引法の表記で共通の見た目（色はアプリと同じ） */
:root {
  color-scheme: light;
  --bg: #f4f6fa; --card: #fff; --line: #e2e7ef; --line2: #cdd5e1; --text: #111c2e; --sub: #4a5568; --muted: #69768a;
  --accent: #004b99; --accent-hover: #003a78; --accent-bg: #edf3fb; --brand-red: #de080f;
  --teal: #0f766e; --teal-bg: #ecfdf5; --off: #b91c1c; --off-bg: #fef2f2;
  --w: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--card); color: var(--text); font: 16px/1.8 "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* 上の帯 */
.top { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--brand-red)); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-co { font-size: 11px; letter-spacing: .04em; color: var(--accent); }
.brand-app { font-size: 17px; font-weight: 800; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.top nav a:not(.btn) { color: var(--sub); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--accent); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; border: 1px solid var(--accent); transition: background .15s; }
.btn:hover { background: var(--accent-hover); }
.btn.ghost { background: #fff; color: var(--accent); border-color: var(--line2); }
.btn.ghost:hover { background: var(--accent-bg); }
.btn.small { padding: 7px 16px; font-size: 14px; }
.btn.big { padding: 16px 32px; font-size: 18px; }

/* 見出し・段 */
section { padding: 88px 0; }
section.alt { background: var(--bg); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
h1, h2, h3 { line-height: 1.4; margin: 0; letter-spacing: .01em; word-break: auto-phrase; }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 6px 0 16px; text-wrap: balance; }
.lead { color: var(--sub); font-size: 17px; max-width: 46em; margin: 0; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* 最初の画面 */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, var(--accent-bg), #fff 75%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.2vw, 42px); font-weight: 800; margin: 10px 0 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* 本物の画面の写真（名前・業者名は見本） */
.shots { position: relative; margin: 0; padding: 0 0 56px; }
.shot-pc, .shot-wide { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -24px rgb(17 28 46 / .35); }
.shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); }
.shot-pc img, .shot-wide img { display: block; width: 100%; height: auto; }
.shot-sp { position: absolute; right: -12px; bottom: 0; width: 30%; max-width: 190px; height: auto; border: 6px solid var(--text); border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -16px rgb(17 28 46 / .45); }
.screens { padding-bottom: 72px; }
.shot-wide { margin: 40px 0 0; }
.shot-note { margin: 12px 0 0; text-align: right; font-size: 13px; color: var(--muted); }

/* 悩み */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.pain b { display: block; font-size: 17px; margin-bottom: 6px; }
.pain p { margin: 0; color: var(--sub); font-size: 15px; }
.answer { margin: 40px auto 0; max-width: 40em; text-align: center; font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; }
.answer span { color: var(--accent); }

/* できること */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin-top: 48px; }
.feature .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); margin-bottom: 14px; }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--sub); font-size: 15px; }

/* 使い方 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px 24px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--sub); font-size: 15px; }

/* 料金 */
.price { max-width: 480px; margin: 40px auto 0; background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 36px 32px; text-align: center; }
.price .first { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--brand-red); color: #fff; font-size: 14px; font-weight: 700; }
.price .first-price { margin: 12px 0 0; font-size: 18px; font-weight: 700; }
.price .first-price b { font-size: 34px; color: var(--brand-red); }
.price .monthly { margin: 4px 0 0; color: var(--sub); }
.price .monthly b { font-size: 24px; color: var(--text); }
.price ul { list-style: none; padding: 0; margin: 24px 0 28px; text-align: left; display: inline-block; }
.price li { padding-left: 28px; position: relative; margin: 6px 0; }
.price li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.price .note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* よくある質問 */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 18px; color: var(--accent); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0 0 18px; color: var(--sub); }

/* 最後のお誘い */
.final { background: var(--accent); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .lead { color: rgb(255 255 255 / .85); margin: 0 auto; }
.final .btn { background: #fff; color: var(--accent); border-color: #fff; }
.final .btn:hover { background: var(--accent-bg); }

/* 下の帯 */
footer { background: var(--text); color: rgb(255 255 255 / .7); font-size: 14px; padding: 36px 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: rgb(255 255 255 / .85); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer small { margin-left: auto; }

/* 規約などの文書のページ */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 24px 88px; }
.doc h1 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 8px; }
.doc .date { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; margin: 40px 0 10px; padding-left: 12px; border-left: 4px solid var(--accent); }
.doc p, .doc li { color: var(--sub); }
.doc ol, .doc ul { padding-left: 1.5em; }
.doc li + li { margin-top: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.doc th { width: 30%; background: var(--bg); font-weight: 700; }
.doc td { color: var(--sub); }

/* 画面がせまいとき */
@media (max-width: 900px) {
  /* スマホ：見出し → 写真 → 説明文・ボタンの順にする */
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero .wrap > div { display: contents; }
  .hero .shots { order: 1; margin-bottom: 28px; }
  .hero .lead, .hero .cta, .hero .cta-note { order: 2; }
  .pains, .features, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 24px 0 64px; }
  .top nav .hide-sp { display: none; }
  .top nav { gap: 12px; }
  .cta .btn { flex: 1 1 100%; }
  .shot-sp { right: 0; width: 34%; border-width: 4px; border-radius: 16px; }
  .doc { padding: 40px 16px 64px; }
  .doc th, .doc td { display: block; width: 100%; }
  .doc th { border-bottom: 0; }
  footer small { margin-left: 0; }
}
