:root {
  --accent: #0c88c4;
  --accent-dark: #086b9b;
  --text: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --bg-soft: #f6f8fa;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
section { padding: 72px 20px; max-width: var(--max); margin: 0 auto; }
.label { color: var(--accent); font-weight: 700; font-size: .8rem; letter-spacing: .18em; margin-bottom: .4em; }
.small { color: var(--muted); font-size: .85rem; }
.note { color: var(--muted); font-size: .85rem; margin-top: .8em; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700;
  border: 1px solid var(--accent); color: var(--accent); background: #fff; transition: .15s;
}
.btn:hover { background: var(--bg-soft); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

.nav {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px;
  padding: 10px 20px; max-width: 100%;
}
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.nav .brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 18px; margin-left: auto; font-size: .95rem; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 64px; }
.hero h1 { font-size: 2.5rem; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: .9rem; }
.lead { font-size: 1.08rem; color: #2b3440; }
.hero-shot img { margin: 0 auto; border-radius: 36px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }

.problem { background: var(--bg-soft); max-width: none; }
.problem > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.cards, .feature-list, .plans { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card, .feature, .plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card p, .feature p { color: var(--muted); margin: 0; }

.feature-list { grid-template-columns: repeat(2, 1fr); }
.feature h3::before { content: "●"; color: var(--accent); font-size: .6em; vertical-align: middle; margin-right: .6em; }

.screens { max-width: none; padding-left: 0; padding-right: 0; }
.screens > .label, .screens > h2 { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 20px; }
.scroller { display: flex; width: 100%; max-width: 100vw; gap: 20px; overflow-x: auto; padding: 8px calc((100% - var(--max)) / 2 + 20px) 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroller figure { flex: 0 0 240px; margin: 0; scroll-snap-align: start; text-align: center; }
.scroller img { border-radius: 26px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.scroller figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }

.exam-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.exam-list li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.vendor { font-size: .72rem; font-weight: 700; color: var(--accent); background: #e8f4fa; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }

.plans { grid-template-columns: repeat(2, 1fr); }
.plan ul { padding-left: 1.2em; color: #2b3440; margin: 0; }
.plan-featured { border-color: var(--accent); box-shadow: 0 8px 30px rgba(12,136,196,.12); }
.amount { font-size: 2.2rem; font-weight: 800; margin: 0 0 .5em; }
.amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }

.download { text-align: center; background: var(--bg-soft); max-width: none; }
.download img { margin: 0 auto 18px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

footer { border-top: 1px solid var(--line); padding: 36px 20px 48px; max-width: var(--max); margin: 0 auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.foot-links a { color: var(--muted); font-size: .95rem; }
.disclaimer { color: var(--muted); font-size: .8rem; }
.copy { color: var(--muted); font-size: .85rem; margin: 0; }

@media (max-width: 800px) {
  section { padding: 56px 20px; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 40px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-shot img { width: 260px; }
  .cards, .feature-list, .plans { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .scroller { padding: 8px 20px 24px; }
  section, .nav { min-width: 0; }
  .scroller figure { flex-basis: 200px; }
}

/* サポート・規約ページ (layout: page) */
.nav nav a.on { color: var(--text); font-weight: 700; }
.doc-hero { background: linear-gradient(180deg, #eaf5fb 0%, #fff 100%); max-width: none; padding: 56px 20px 32px; text-align: center; }
.doc-hero h1 { font-size: 2.1rem; }
.doc-hero .lead { max-width: 640px; margin: 0 auto .6em; color: #2b3440; }
.doc-hero .updated { color: var(--muted); font-size: .85rem; margin: 0; }

.doc { max-width: 820px; margin: 0 auto; padding: 8px 20px 24px; }
.doc > h2 { font-size: 1.25rem; margin-top: 2.2em; }
.doc > h1 { display: none; }
.doc > p, .doc > ul, .doc > ol, .doc > table { background: #fff; }
.doc table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); }
.doc code { background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

/* 規約・ポリシー本文は 1 枚のカードに */
.doc.legal { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; margin-top: 16px; margin-bottom: 40px; }
.doc.legal h2 { border-top: 1px solid var(--line); padding-top: 1.2em; }
.doc.legal ol > li, .doc.legal ul > li { margin-bottom: .5em; }

/* トピックのカード */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 12px; }
.topics a { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: var(--text); transition: .15s; }
.topics a:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(12,136,196,.12); transform: translateY(-2px); }
.topic-icon { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; background: #e8f4fa; color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.topics strong { font-size: .98rem; }
.topics small { color: var(--muted); font-size: .78rem; }

/* FAQ アコーディオン */
.faq { padding: 28px 0 0; max-width: none; }
.faq h2 { font-size: 1.25rem; margin-bottom: .6em; display: flex; align-items: center; gap: 10px; }
.faq h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--accent); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--accent); margin-right: 10px; font-weight: 800; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 14px 18px 4px 18px; color: #2b3440; }
.faq details > div p, .faq details > div ul { margin-bottom: .9em; }

/* 連絡先カード */
.doc-contact { padding: 24px 20px 64px; }
.contact-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; background: var(--bg-soft); border-radius: 20px; padding: 24px 28px; }
.contact-card img { border-radius: 14px; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: .2em; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 800px) {
  .doc-hero h1 { font-size: 1.6rem; }
  .doc.legal { padding: 24px 20px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; text-align: center; }
  .contact-card img { margin: 0 auto; }
}
