:root {
  --ink: #1f2933; --sub: #52606d; --line: #e3e8ee; --bg: #ffffff; --soft: #f5f8fb;
  --brand: #2a7de1; --brand-dark: #1d5fae; --accent: #e8772e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif; line-height: 1.75; font-size: 16px; }
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.logo img { width: 32px; height: 32px; border-radius: 7px; }
nav.top a { color: var(--sub); text-decoration: none; margin-left: 18px; font-size: 14px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-dark); }
.btn.sub { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #eef5ff 0%, #fff 100%); }
.hero h1 { font-size: 34px; line-height: 1.4; margin: 0 0 14px; }
.hero p.lead { font-size: 18px; color: var(--sub); margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 13px; color: var(--sub); margin-top: 10px; }
.shot { margin-top: 32px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 12px 32px rgba(31, 41, 51, .12); }
section { padding: 56px 0; }
section.soft { background: var(--soft); }
h2 { font-size: 26px; margin: 0 0 8px; text-align: center; }
p.center { text-align: center; color: var(--sub); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--sub); font-size: 14px; }
.card .ic { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.pains { max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.pains li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px 12px 44px; margin-bottom: 10px; position: relative; }
.pains li::before { content: "✓"; position: absolute; left: 16px; color: var(--accent); font-weight: 700; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; text-align: center; line-height: 24px; font-size: 14px; }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 720px; margin: 0 auto; }
.price { text-align: center; }
.price .amount { font-size: 34px; font-weight: 700; margin: 6px 0 0; }
.price .amount small { font-size: 15px; color: var(--sub); font-weight: 400; }
.price.best { border: 2px solid var(--brand); }
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 99px; }
.price ul { text-align: left; font-size: 14px; color: var(--sub); padding-left: 20px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--sub); font-size: 15px; }
.final { text-align: center; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 13px; color: var(--sub); }
footer a { color: var(--sub); margin-right: 16px; }
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 56px; }
.doc h1 { font-size: 26px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); width: 32%; font-weight: 400; }
form.buy { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
form.buy label.field { display: block; font-weight: 700; margin-bottom: 6px; }
form.buy input[type=text] { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c5ced8; border-radius: 6px; }
form.buy .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
form.buy .plan { border: 1px solid #c5ced8; border-radius: 8px; padding: 12px; cursor: pointer; display: block; }
form.buy .plan input { margin-right: 6px; }
.err { color: #b42318; font-size: 14px; min-height: 1.5em; }
.hint { font-size: 13px; color: var(--sub); }
@media (max-width: 760px) {
  .hero h1 { font-size: 26px; }
  .grid, .steps, .prices { grid-template-columns: 1fr; }
  nav.top a.hide-sp { display: none; }
  form.buy .plans { grid-template-columns: 1fr; }
}
