:root {
  --ink: #1b1f2a;
  --muted: #5b6475;
  --line: #e3e6ec;
  --bg: #ffffff;
  --soft: #f3f5f9;
  --navy: #1f2a44;
  --accent: #c8553d;
  --accent-dark: #a9442f;
  --ok: #2f7a52;
  --warn-bg: #fff4ec;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--navy); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; letter-spacing: .2px; color: var(--navy); text-decoration: none; font-size: 18px; }
.brand span { color: var(--accent); }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 16px;
}
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.5px; }
.hero p.lead { font-size: 19px; color: #d6dcea; max-width: 640px; margin: 0 0 28px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 12px; letter-spacing: -.3px; color: var(--navy); }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price { font-size: 40px; font-weight: 800; color: var(--navy); margin: 4px 0; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.note { font-size: 14px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
ul.check, ul.cross { list-style: none; padding: 0; margin: 0; }
ul.check li, ul.cross li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
ul.cross li::before { content: "✕"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }

.cta-band { text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer nav a { margin-right: 16px; color: var(--muted); }

/* Legal pages */
.doc { padding: 48px 0 64px; }
.doc h1 { color: var(--navy); font-size: 30px; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); width: 32%; font-weight: 700; }
.todo { background: #fff1b8; padding: 0 4px; border-radius: 3px; }

/* Form */
.form-page { padding: 40px 0 72px; }
.form-page h1 { color: var(--navy); margin: 0 0 8px; font-size: 30px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; }
legend { font-weight: 800; padding: 0 8px; color: var(--navy); }
.field { margin: 0 0 16px; }
.field:last-child { margin-bottom: 0; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.hint { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c9ced8; border-radius: 10px; font: inherit; background: #fff;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-list label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.radio-list input { margin-top: 5px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check-line input { margin-top: 5px; }
.callout { background: var(--warn-bg); border: 1px solid #f3c7b4; border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; }
.callout strong { color: var(--accent-dark); }
.info { background: var(--soft); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 20px; }
.summary { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 0; margin-top: 8px; }
.summary .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amount { font-size: 22px; font-weight: 800; color: var(--navy); }
.error { color: #b3261e; font-size: 14px; margin-top: 6px; }
.hidden { display: none !important; }
.choice-block + .choice-block { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 16px; }

@media (max-width: 760px) {
  .steps, .prices, .two-col, .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 8px auto 0; }
  .row { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .site-header .btn-small { padding: 7px 12px; }
}
