/* Knowledge Bundle ホームページ / LP 共通スタイル */
:root {
  --brand: #0ba8e0;
  --brand-dark: #0784b3;
  --navy: #0f2a44;
  --text: #1c2b3a;
  --muted: #5c6b7a;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f3f8fb;
  --bg-hero: linear-gradient(180deg, #e9f6fc 0%, #ffffff 100%);
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 17px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: none; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
.header .cta { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; border: 2px solid transparent; transition: transform .1s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ヒーロー */
.hero { background: var(--bg-hero); padding: 56px 0 24px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 72px 0 40px; } }
.hero .lead { font-size: clamp(16px, 2vw, 18px); color: var(--muted); margin-bottom: 24px; }
.hero .badge { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--brand-dark); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero-shot { margin: 0 auto; width: min(320px, 80%); border-radius: 28px; box-shadow: 0 24px 60px rgba(15, 42, 68, 0.18); overflow: hidden; }
.hero .note { margin-top: 14px; }

/* セクション */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head .eyebrow { color: var(--brand-dark); font-weight: 800; font-size: 13px; letter-spacing: .08em; margin-bottom: 8px; }

/* 特長カード */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: #e6f5fc; color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

/* スクリーンショット */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(6, 1fr); } }
.shots img { border-radius: 14px; border: 1px solid var(--line); }

/* 教材一覧 */
.materials { display: grid; gap: 20px; }
@media (min-width: 720px) { .materials { grid-template-columns: repeat(2, 1fr); } }
.materials h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--brand-dark); }
.materials ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.materials li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }

/* 手順 */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* 料金 */
.plans { display: grid; gap: 18px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.featured { border: 2px solid var(--brand); position: relative; }
.plan.featured::before { content: "おすすめ"; position: absolute; top: -12px; left: 20px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 800; color: var(--navy); margin: 6px 0; }
.plan .price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.plan li { margin-bottom: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand-dark); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* CTA 帯 */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6e2; }
.cta-band .btn-row { justify-content: center; margin-top: 20px; }

/* フッター */
.footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer .links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.footer a { color: var(--muted); }

/* LP 専用: 固定 CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); padding: 10px 16px; display: flex; gap: 10px; justify-content: center; }
.sticky-cta .btn { flex: 1; max-width: 260px; }
body.has-sticky { padding-bottom: 76px; }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
