:root {
  color-scheme: light;
  --blue: #123c78;
  --blue-dark: #102f5c;
  --blue-pale: #edf4fc;
  --ink: #182333;
  --muted: #5b6675;
  --line: #d8e0e9;
  --paper: #fff;
  --red: #e1242a;
  --surface: #f5f7fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--surface); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: inherit; }
.site-header {
  padding: 10px 16px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 2px 10px rgb(10 35 70 / 12%);
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand span { font-size: .86rem; font-weight: 600; }
main { width: min(100%, 760px); margin: 0 auto; padding: 0 14px 20px; }
.hero { padding: 30px 4px 12px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: .82rem; font-weight: 700; }
h1 { margin: 0; color: var(--blue-dark); font-size: clamp(1.7rem, 7vw, 2.25rem); line-height: 1.25; letter-spacing: .01em; }
.hero-copy { max-width: 34rem; margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
.step-list { display: grid; gap: 14px; }
.step-card {
  min-width: 0;
  padding: 18px 14px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 4px 16px rgb(20 42 72 / 5%);
}
.step-heading { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 8px; }
.step-number { display: grid; width: 76px; height: 68px; place-items: center; border-radius: 10px; color: #fff; background: var(--blue); font-size: 2.55rem; font-weight: 850; line-height: 1; letter-spacing: -.04em; }
.step-title { margin: 0; color: var(--blue-dark); font-size: 1.16rem; line-height: 1.35; }
.step-copy { margin: 10px 0 14px; color: #364456; font-size: .92rem; }
.step-note { margin: 10px 0 16px; padding: 9px 11px; border-left: 3px solid #8ba8cc; border-radius: 0 6px 6px 0; color: #40516a; background: var(--blue-pale); font-size: .83rem; }
.shot-stack { display: grid; gap: 14px; min-width: 0; }
.shot { width: min(100%, 430px); min-width: 0; margin: 0 auto; }
.shot-caption { margin: 0 0 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.shot-frame { position: relative; width: 100%; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #eef1f5; box-shadow: inset 0 0 0 1px #c9d2de; }
.shot-frame img { display: block; width: 100%; max-width: 100%; height: auto; }
.shot-overlay { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.shot-overlay .target { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-line { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-dot { fill: var(--red); stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.shot-overlay .marker-number { fill: #fff; font: 700 32px/1 system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
.shot-error { margin: 8px 0; color: #8b1e23; font-size: .88rem; }
.closing { margin: 14px 0; padding: 18px 16px; border: 1px solid #b8cce5; border-radius: 12px; background: var(--blue-pale); }
.closing h2 { margin: 0 0 6px; color: var(--blue-dark); font-size: 1.13rem; }
.closing p { margin: 0; font-weight: 650; }
.site-footer { padding: 18px 16px 26px; color: var(--muted); background: #e9edf2; text-align: center; font-size: .76rem; }
.site-footer p { margin: 4px auto; }
.privacy-note { font-weight: 650; }
@media (max-width: 420px) {
  .step-card { padding: 16px 12px 20px; }
  .step-heading { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .step-number { width: 68px; height: 62px; font-size: 2.3rem; }
  .step-title { font-size: 1.08rem; line-height: 1.32; }
  .step-copy { margin: 8px 0 12px; font-size: .9rem; line-height: 1.55; }
  .step-note { margin: 8px 0 12px; padding: 8px 10px; }
}

@media (min-width: 600px) {
  main { padding-right: 22px; padding-left: 22px; }
  .hero { padding-top: 42px; }
  .step-card { padding: 24px 22px 28px; }
  .step-heading { grid-template-columns: 94px minmax(0, 1fr); gap: 16px; }
  .step-number { width: 94px; height: 82px; font-size: 3rem; }
  .step-title { font-size: 1.3rem; }
  .step-copy { font-size: 1rem; }
  .shot-stack { gap: 20px; }
}
