:root {
  --navy: #1f3f6e;
  --navy-dark: #152c4f;
  --orange: #e8792b;
  --orange-dark: #c9611a;
  --ink: #1f2937;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --red: #c0392b;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--navy); }
@media (max-width: 720px) { .nav { display: none; } }

/* ボタン */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.4; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(232, 121, 43, .35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .9; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ファーストビュー */
.hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange-dark); background: #fff1e6; padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.35; margin: 14px 0 12px; color: var(--navy-dark); }
.hero .lead { font-size: 17px; color: var(--muted); margin: 0 0 24px; }
.hero .shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20, 40, 80, .15); overflow: hidden; }
.hero .note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* セクション */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(22px, 3.4vw, 30px); color: var(--navy-dark); margin: 0 0 8px; line-height: 1.4; }
.section-lead { color: var(--muted); margin: 0 0 32px; }

/* お悩み */
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pain b { display: block; color: var(--red); margin-bottom: 4px; }
.pain p { margin: 0; color: var(--muted); font-size: 15px; }

/* 機能 */
.feature { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin-bottom: 56px; }
.feature:last-child { margin-bottom: 0; }
.feature h3 { font-size: 21px; margin: 0 0 8px; color: var(--navy); }
.feature p { margin: 0 0 10px; }
.feature ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.feature .shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(20, 40, 80, .10); overflow: hidden; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; margin-right: 8px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 40px; }
  .feature.flip > :first-child { order: 2; }
}

/* 小さな機能一覧 */
.mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mini div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.mini b { color: var(--navy); }
.mini p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* 料金 */
.price-card { max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 32px 28px; text-align: center; }
.price-card .label { font-weight: 700; color: var(--navy); }
.price { font-size: clamp(40px, 7vw, 56px); font-weight: 800; color: var(--navy-dark); line-height: 1.2; margin: 8px 0 0; }
.price span { font-size: 18px; font-weight: 700; }
.price-card ul { text-align: left; margin: 20px auto; padding-left: 1.2em; max-width: 440px; }
.price-card .btn-row { justify-content: center; }
.trial-box { max-width: 640px; margin: 20px auto 0; background: #fff8f2; border: 1px solid #f3d2b8; border-radius: var(--radius); padding: 18px 22px; font-size: 15px; }

/* 手順 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step b { display: block; margin-top: 6px; color: var(--navy); }
.step p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* 表 */
table.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.spec th, table.spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
table.spec th { width: 32%; background: var(--bg-soft); color: var(--navy); font-weight: 700; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { table.spec th, table.spec td { display: block; width: 100%; } table.spec th { border-bottom: 0; padding-bottom: 4px; } }

/* よくある質問 */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q. "; color: var(--orange-dark); }
details p { margin: 0 0 16px; color: var(--muted); }

/* 締め */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #d6e0f0; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #fff; }

/* フッター */
.site-footer { background: var(--navy-dark); color: #b9c6db; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { color: #dfe7f3; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { text-decoration: underline; }

/* 文書ページ(特商法・規約・プライバシー) */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: 26px; color: var(--navy-dark); margin: 0 0 24px; }
.doc h2 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 15px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 14px; }

/* 横長の画面写真は文章の下に全幅で置く */
@media (min-width: 900px) { .feature.wide { grid-template-columns: 1fr; gap: 16px; } }
