:root { --fg: #1f2933; --muted: #52606d; --line: #d9e2ec; --accent: #1d4e89; --soft: #e8f0fa; --hl: #cfe0f5; --band: #fff4d6; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--fg); background: #fff; font-family: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; line-height: 1.75; }
.sprite { position: absolute; }
.band { background: var(--band); border-bottom: 2px solid #e0b43c; padding: 10px 16px; text-align: center; font-weight: bold; font-size: 0.9rem; line-height: 1.5; }
main, header, footer, .wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header h1 { font-size: 1.6rem; line-height: 1.4; margin: 32px 0 8px; }
h2 { font-size: 1.35rem; line-height: 1.4; margin: 0 0 16px; padding-left: 12px; border-left: 6px solid var(--accent); }
main section { margin-top: 48px; }
strong { background: linear-gradient(transparent 58%, var(--hl) 58%); }
.note { color: var(--muted); font-size: 0.9rem; }
a { color: var(--accent); }

.hero { background: var(--soft); padding: 28px 0 32px; }
.hero-grid { display: grid; gap: 20px; align-items: center; }
.hero h1 { font-size: 1.55rem; line-height: 1.4; margin: 0 0 12px; }
.lead { margin: 0 0 18px; }
.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-size: 1.05rem; font-weight: bold; color: #fff; background: var(--accent); border: 0; border-radius: 8px; text-decoration: none; cursor: pointer; }
.btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.shot { margin: 0; }
.eye { display: block; width: 100%; height: auto; max-width: 480px; margin: 0 auto; }
.shot figcaption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.sv-card { fill: #fff; stroke: var(--line); stroke-width: 2; }
.sv-a { fill: var(--accent); }
.sv-soft { fill: var(--soft); }
.sv-white { fill: #fff; }
.sv-gray { fill: #eef1f4; }
.sv-edge { stroke: var(--accent); stroke-width: 2; }
.sv-paper { fill: #faf7ef; stroke: var(--line); stroke-width: 2; }
.sv-ink { fill: #1f2933; }
.sv-warn { fill: #b45309; }
.sv-hi { fill: #b42318; }
.sv-lo { fill: #52606d; }
.sv-t { fill: var(--fg); }
.sv-m { fill: var(--muted); }
.sv-ac { fill: var(--accent); font-weight: bold; }
.sv-wt { fill: #fff; font-weight: bold; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cards li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--soft); border-radius: 10px; }
.ico { flex: none; width: 32px; height: 32px; color: var(--accent); }
.ba { margin: 0; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; justify-items: center; }
.ba-panel { width: 100%; min-width: 0; padding: 16px; border-radius: 12px; }
.ba-before { background: #f3f4f6; border: 2px dashed var(--line); }
.ba-after { background: var(--soft); border: 2px solid var(--accent); }
.ba-label { margin: 0 0 12px; font-weight: bold; }
.ba-after .ba-label { color: var(--accent); }
.ba-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ba-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border-radius: 8px; overflow-wrap: anywhere; }
.ba-before .ico { color: var(--muted); }
.ba-arrow { width: 40px; height: 40px; transform: rotate(90deg); }
.ba figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--muted); }
main ul:not(.cards) { padding-left: 1.4em; }

.plans { display: grid; gap: 12px; margin-bottom: 12px; }
.plan { border: 2px solid var(--accent); border-radius: 12px; padding: 16px 20px; }
.plan-name { margin: 0; font-weight: bold; color: var(--muted); }
.price { margin: 0; line-height: 1.3; }
.num { font-size: 2.2rem; font-weight: bold; color: var(--accent); }
.unit { margin-left: 8px; font-size: 0.9rem; color: var(--muted); }
.plan-desc { margin: 4px 0 0; }

table { border-collapse: collapse; width: 100%; margin: 12px 0; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f0f4f8; white-space: nowrap; }

form { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 16px 0; background: #fff; }
label { display: block; margin-top: 14px; font-weight: bold; }
input[type=email], input[type=text], select, textarea { width: 100%; min-height: 48px; padding: 10px; font-size: 1rem; border: 1px solid #7b8794; border-radius: 6px; background: #fff; color: var(--fg); }
label.check { font-weight: normal; }
input[type=checkbox] { width: 20px; height: 20px; margin-right: 6px; vertical-align: -4px; }
form button { margin-top: 18px; width: 100%; }

details { border-bottom: 1px solid var(--line); }
summary { min-height: 48px; padding: 12px 0; font-weight: bold; cursor: pointer; }
details p { margin: 0 0 14px; }

footer { margin-top: 48px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer a { margin-right: 12px; }
.todo { background: #ffe3e3; color: #a61e1e; font-weight: bold; }

@media (min-width: 760px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 2.1rem; }
  .cards.cards { grid-template-columns: repeat(3, 1fr); }
  .cards li { flex-direction: column; }
  .ba-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
  .ba-arrow { transform: none; }
  .plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 600px) {
  table.kv, table.kv tbody, table.kv tr, table.kv th, table.kv td { display: block; width: 100%; }
  table.kv th { white-space: normal; border-bottom: 0; }
  table.kv td { overflow-wrap: anywhere; }
  .num { font-size: 1.9rem; }
}
