/* 集客サイト（LP＋記事）共通スタイル。ライト基調＋ダーク対応。 */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-card: #ffffff;
  --text: #1a2233;
  --muted: #5b6577;
  --line: #e5e9f0;
  --accent: #3b6ff5;
  --accent-ink: #244bb8;
  --accent-soft: #eaf0ff;
  --ok: #1f9d57;
  --shadow: 0 1px 2px rgba(20,30,60,.05), 0 8px 24px rgba(20,30,60,.06);
  --radius: 14px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420; --bg-soft: #141a28; --bg-card: #171e2e;
    --text: #e8ecf5; --muted: #9aa5bb; --line: #26304a;
    --accent: #6d97ff; --accent-ink: #a9c2ff; --accent-soft: #1a2338;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .05s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(59,111,245,.35); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ヘッダー */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.brand b { color: var(--accent); }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
header.site nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
header.site nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { header.site nav .navlink { display: none; } }

/* ヒーロー */
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 400px at 70% -10%, var(--accent-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ヒーローの実機プレビュー */
.preview {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #0b0d11; aspect-ratio: 16 / 10; position: relative;
}
.preview iframe { width: 100%; height: 100%; border: 0; display: block; }
.preview .cap { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: #cfd6e6; background: rgba(10,14,22,.7); padding: 4px 9px; border-radius: 8px; }

/* セクション共通 */
section.block { padding: 56px 0; }
section.block.alt { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.sec-head h2 { font-size: clamp(23px, 3vw, 32px); margin: 0 0 10px; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin: 0; }

/* 特長カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ic { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* 用途 */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr 1fr; } }
.use { text-align: center; padding: 20px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.use .ic { font-size: 30px; }
.use h4 { margin: 10px 0 4px; font-size: 15px; }
.use p { margin: 0; font-size: 13px; color: var(--muted); }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--accent); box-shadow: 0 8px 30px rgba(59,111,245,.18); position: relative; }
.plan.pop .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }
.price-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }

/* B2B 帯 */
.b2b { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-ink) 100%); color: #fff; border-radius: 18px; padding: 40px; }
.b2b h2 { margin: 0 0 8px; font-size: 26px; }
.b2b p { margin: 0 0 20px; opacity: .92; max-width: 720px; }
.b2b .segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
@media (max-width: 760px) { .b2b .segs { grid-template-columns: 1fr; } .b2b { padding: 28px; } }
.b2b .seg { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 16px; }
.b2b .seg h4 { margin: 0 0 4px; font-size: 15px; }
.b2b .seg p { margin: 0; font-size: 13px; opacity: .9; }
.b2b .btn-primary { background: #fff; color: var(--accent-ink); box-shadow: none; }
.b2b .btn-primary:hover { background: #eef2ff; color: var(--accent-ink); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; background: var(--bg-card); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--muted); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }

/* CTA 帯 */
.cta-band { text-align: center; padding: 60px 0; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }

/* フッター */
footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; font-size: 14px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; }
footer.site .fbrand { font-weight: 800; font-size: 16px; }
footer.site .muted { color: var(--muted); }
footer.site ul { list-style: none; padding: 0; margin: 8px 0 0; }
footer.site li { margin: 5px 0; }
footer.site a { color: var(--muted); }
footer.site .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* 記事 */
article.post { max-width: 760px; margin: 0 auto; padding: 40px 0 20px; }
article.post .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
article.post h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.3; margin: 0 0 10px; letter-spacing: -.02em; }
article.post .meta { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
article.post h2 { font-size: 22px; margin: 34px 0 12px; padding-top: 8px; }
article.post h3 { font-size: 18px; margin: 24px 0 8px; }
article.post p, article.post li { font-size: 16px; }
article.post .callout { background: var(--accent-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 22px 0; }
article.post .callout .btn { margin-top: 10px; }
article.post table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 14.5px; }
article.post th, article.post td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
article.post th { background: var(--bg-soft); }
.related { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; }
