:root {
  --navy: #001b45;
  --blue: #1473e6;
  --orange: #ff510f;
  --pale: #eef6ff;
  --ivory: #fff9ef;
  --line: #d5e1ef;
  --muted: #536276;
}

* { box-sizing: border-box; }
html { background: #edf3f9; }
body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.brand, main, footer { width: min(100%, 720px); margin-inline: auto; }
.brand {
  padding: 20px clamp(20px, 5vw, 36px);
  background: #fff;
  border-bottom: 1px solid #e9eef5;
}
.brand a { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand strong { font-size: clamp(20px, 5.7vw, 32px); letter-spacing: .02em; white-space: nowrap; }
.brand-mark { position: relative; width: 42px; height: 36px; flex: 0 0 42px; }
.brand-mark i { position: absolute; width: 9px; height: 9px; border: 2px solid var(--navy); border-radius: 50%; background: #fff; }
.brand-mark i:nth-child(1) { left: 2px; top: 13px; background: var(--navy); }
.brand-mark i:nth-child(2) { left: 17px; top: 1px; background: var(--navy); }
.brand-mark i:nth-child(3) { left: 31px; top: 10px; }
.brand-mark i:nth-child(4) { left: 16px; top: 25px; background: var(--navy); }
.brand-mark i:nth-child(5) { left: 31px; top: 27px; background: var(--navy); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; left: 8px; top: 17px; width: 28px; height: 2px; background: var(--navy); transform: rotate(-38deg); transform-origin: left; }
.brand-mark::after { transform: rotate(35deg); }

main { background: linear-gradient(160deg, #f4f9ff 0%, #fff 33%); padding-bottom: 48px; }
.intro { padding: 42px clamp(22px, 6vw, 48px) 30px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .18em; }
.intro h1 { margin: 0; font-size: clamp(32px, 9vw, 48px); line-height: 1.32; letter-spacing: .01em; }
.intro h1::after { content: ""; display: block; width: 54px; height: 4px; margin: 19px auto; border-radius: 4px; background: var(--orange); }
.intro p:last-child { margin: 0; color: var(--muted); font-weight: 600; font-size: 16px; line-height: 1.8; }

.lead-form { margin: 0 clamp(16px, 4vw, 36px); padding: clamp(24px, 6vw, 42px); border-radius: 24px; background: #fff; box-shadow: 0 12px 40px rgb(0 27 69 / 10%); }
.field { margin-bottom: 25px; }
.field.compact { margin: 0; }
label, legend { display: block; margin-bottom: 9px; font-size: 17px; font-weight: 800; }
label span, legend span { display: inline-block; margin-left: 5px; padding: 2px 7px; border-radius: 4px; color: #fff; background: var(--orange); font-size: 11px; vertical-align: 2px; }
input, select {
  width: 100%; min-height: 58px; padding: 13px 15px; border: 2px solid var(--line); border-radius: 11px;
  color: var(--navy); background: #fff; font: inherit; font-size: 16px; outline: none;
}
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(20 115 230 / 12%); }
input.invalid, select.invalid { border-color: #d72c2c; }
.hint { margin: 7px 2px 0; color: var(--muted); font-size: 12px; }
.error { min-height: 18px; margin: 5px 2px 0; color: #c52323; font-size: 12px; font-weight: 700; }
fieldset { margin: 0 0 27px; padding: 0; border: 0; }
.date-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.radio-grid label { position: relative; margin: 0; }
.radio-grid input { position: absolute; opacity: 0; pointer-events: none; }
.radio-grid b { display: grid; min-height: 56px; place-items: center; border: 2px solid var(--line); border-radius: 11px; background: #fff; font-size: 16px; }
.radio-grid input:checked + b { color: #fff; border-color: var(--navy); background: var(--navy); }
.radio-grid input:focus-visible + b { outline: 4px solid rgb(20 115 230 / 22%); }
.privacy-check { margin: 8px 0 25px; padding: 17px; border-radius: 12px; background: var(--ivory); }
.privacy-check label { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 14px; }
.privacy-check input { width: 23px; min-height: 23px; accent-color: var(--orange); }
.privacy-check label span { margin: 0; padding: 0; color: var(--navy); background: transparent; font-size: 14px; vertical-align: 0; }
.privacy-check a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-error { display: none; margin: 0 0 14px; padding: 13px; border-radius: 9px; color: #a51414; background: #fff0f0; font-size: 13px; font-weight: 700; line-height: 1.6; }
.submit-error.show { display: block; }
button {
  position: relative; display: block; width: 100%; min-height: 84px; border: 0; border-radius: 16px;
  color: #fff; background: linear-gradient(135deg, #ff6b0b, #f34213); box-shadow: 0 8px 20px rgb(243 66 19 / 28%);
  cursor: pointer; font: inherit;
}
button small, button strong { display: block; }
button small { margin-bottom: 2px; font-size: 12px; font-weight: 700; }
button strong { font-size: 25px; letter-spacing: .08em; }
button i { position: absolute; right: 22px; top: 50%; transform: translateY(-52%); font-size: 40px; font-style: normal; }
button:disabled { opacity: .65; cursor: wait; }
.submit-note { margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.6; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 25px 22px 38px; color: var(--navy); background: #fff; font-size: 12px; }
footer a { color: var(--navy); }

@media (max-width: 480px) {
  .date-time-grid { grid-template-columns: 1fr; gap: 4px; }
  .brand-mark { transform: scale(.9); transform-origin: left center; width: 38px; flex-basis: 38px; }
  footer { flex-direction: column; align-items: center; }
}
