:root {
  --bg: #0a1426;
  --surface: #12203a;
  --surface2: #1a2b4b;
  --line: #26395e;
  --ink: #eef2ff;
  --muted: #8a94b8;
  --primary: #5b8cff;
  --violet: #a06bff;
  --strike: #ffb547;
  --spare: #2ed3b7;
  --hero: linear-gradient(135deg, #7ea2ff, #4a6fd8 55%, #ff7a7a);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

a { color: var(--primary); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(8,12,24,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 72px 0 64px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(47,116,208,.5), transparent); pointer-events: none;
}
.hero-inner { position: relative; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.hero-text { flex: 1 1 380px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--strike); letter-spacing: .06em; margin-bottom: 12px; }
.hero h1 { font-size: clamp(30px, 5.4vw, 50px); line-height: 1.25; margin: 0 0 18px; letter-spacing: -.01em; }
.hero h1 .grad { background: var(--hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.hero-shot { flex: 0 1 300px; margin: 0 auto; }
.hero-shot img { width: 100%; border-radius: 28px; box-shadow: 0 30px 80px rgba(91,140,255,.35); }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 12px 22px; border-radius: 14px; background: var(--hero); color: #fff; text-decoration: none;
}
.store-badge-sub { font-size: .72rem; opacity: .85; }
.store-badge-main { font-size: 1.1rem; font-weight: 800; }
.store-badge-soon { background: var(--surface2); color: var(--muted); border: 1px solid var(--line); cursor: default; }

.section { padding: 64px 0; }
.section-title { font-size: clamp(22px, 3.6vw, 30px); margin: 0 0 28px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.point { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.point b { display: block; font-size: 30px; line-height: 1.2; background: var(--hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.point span { color: var(--muted); font-size: 14px; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { width: 230px; flex: 0 0 auto; border-radius: 20px; scroll-snap-align: start; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--hero); margin-right: 10px; vertical-align: 2px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.cta { text-align: center; }
.cta .store-badges { justify-content: center; }

.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 19px; margin-top: 32px; color: var(--primary); }
.legal-content li, .legal-content p { color: #cfd6ef; }
.legal-updated { color: var(--muted); font-size: 14px; }
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 13px; }
.site-footer a { margin-right: 16px; color: var(--muted); }

.brand, .nav a { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav a { margin-left: 10px; font-size: 12px; }
}
.sp { display: none; }
@media (max-width: 520px) { .sp { display: inline; } }

/* チームガード: 料金表 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 26px; font-weight: 800; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.note { color: var(--muted); font-size: 13px; }

/* チームガード: 解説記事・ひな形 */
.article { max-width: 820px; }
.article-head { padding-top: 56px; padding-bottom: 24px; }
.article-head h1 { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.3; margin: 0 0 16px; }
.article-head h1 .grad, .grad { background: var(--hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article p, .article li { color: #cfd6ef; }
.article h3 { font-size: 18px; margin: 28px 0 10px; }
.lead { font-size: 17px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.fact b { display: block; color: var(--strike); font-size: 13px; }
.fact span { color: var(--ink); }
.three li { margin-bottom: 8px; }
.group { color: var(--primary); }
.progress { font-weight: 700; color: var(--spare); }
.check { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; }
.check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--ink); }
.check input { width: 22px; height: 22px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--spare); }
.check p { margin: 10px 0 0; font-size: 15px; }
.check .need, .check .app { padding: 10px 12px; border-radius: 10px; background: var(--surface2); }
.check .need b, .check .app b { display: block; font-size: 12px; color: var(--muted); }
.check .app { border-left: 3px solid var(--primary); }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.download { display: block; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.download b { display: block; color: var(--ink); font-size: 17px; }
.download b::after { content: " ↓"; color: var(--spare); }
.download span { color: var(--muted); font-size: 13px; }
.tpl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.tpl h2 { margin: 0 0 8px; font-size: 20px; }
.tpl ul { padding-left: 20px; font-size: 15px; }
.covers { font-size: 13px; color: var(--spare) !important; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 12px; background: var(--hero); color: #fff; font-weight: 700; text-decoration: none; }
.steps li { margin-bottom: 10px; }
.cta-lead { color: var(--muted); margin: -8px 0 24px; }
.guide-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.guide-link { display: block; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--primary); text-decoration: none; }
.guide-link b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.guide-link span { color: var(--muted); font-size: 14px; }
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .cta, .toc, #templates, #tokyo { display: none; }
  .check, .fact { background: #fff; border-color: #999; break-inside: avoid; }
  .article p, .article li, .check label, .fact span { color: #000; }
  .check .need, .check .app { background: #f3f3f3; }
}
@media (max-width: 520px) { .nav a.nav-wide { display: none; } }
