:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #d1fae5;
  --ink: #111827;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --bg: #f9fafb;
  --card: #ffffff;
  --border: #e5e7eb;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--green-dark); }
.container { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
header.top .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.brand { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--green); display: inline-block; }
nav.main a { margin-left: 16px; text-decoration: none; color: var(--ink-2); font-size: 0.92rem; }
nav.main a:hover { color: var(--green-dark); }

.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: 1.75rem; line-height: 1.4; margin: 0 0 12px; }
.hero p.lead { font-size: 1.05rem; color: var(--ink-2); margin: 0 auto 24px; max-width: 560px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.badge { background: var(--green-light); color: var(--green-dark); border-radius: 999px; padding: 4px 14px; font-size: 0.85rem; font-weight: 600; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; font-weight: 600;
}
.store.placeholder { background: #9ca3af; cursor: default; }
.store small { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.85; line-height: 1.2; }
.note { font-size: 0.85rem; color: var(--ink-3); margin-top: 10px; }

section { padding: 32px 0; }
section h2 { font-size: 1.4rem; margin: 0 0 16px; }
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: step; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center;
  border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 8px;
}
.features { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .steps, .features { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2.4rem; }
}
.promise { background: var(--green-light); border-radius: var(--radius); padding: 20px 22px; }
.promise ul { margin: 8px 0 0; padding-left: 20px; }
.promise li { margin: 4px 0; }
.spec { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 0.95rem; vertical-align: top; }
.spec th { width: 34%; color: var(--ink-2); font-weight: 600; background: #f3f4f6; }
.spec tr:last-child td, .spec tr:last-child th { border-bottom: 0; }

article.doc { padding: 40px 20px 56px; }
article.doc h1 { font-size: 1.8rem; margin: 0 0 6px; }
article.doc .meta { color: var(--ink-3); font-size: 0.9rem; margin-bottom: 28px; }
article.doc h2 { font-size: 1.25rem; margin: 32px 0 10px; padding-top: 8px; border-top: 1px solid var(--border); }
article.doc h3 { font-size: 1.05rem; margin: 20px 0 6px; }
article.doc p, article.doc li { color: var(--ink); }
article.doc ul { padding-left: 22px; }
article.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--card); }
article.doc th, article.doc td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 0.95rem; }
article.doc th { background: #f3f4f6; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.contact { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.contact p { margin: 6px 0; }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--ink-3);
  font-size: 0.88rem;
}
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--green-dark); }

br.wide { display: none; }
@media (min-width: 640px) { br.wide { display: inline; } }
