:root { color-scheme: light; --ink: #172b3a; --blue: #164c70; --muted: #eef2f4; --error: #a21d24; }
* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 18px; line-height: 1.7; }
.site-header { padding: 16px; border-bottom: 1px solid #9ba8b0; font-weight: 700; text-align: center; }
main, noscript { display: block; max-width: 640px; margin: auto; padding: 16px; }
h1 { font-size: 26px; line-height: 1.7; margin: 24px 0; overflow-wrap: anywhere; }
h2 { font-size: 22px; margin: 24px 0 16px; }
p { margin: 16px 0; }
button, input, select { font: inherit; color: inherit; }
button, .phone { display: block; width: 100%; min-height: 56px; padding: 16px; margin: 16px 0; border: 2px solid var(--blue); border-radius: 8px; background: white; color: var(--blue); font-weight: 700; line-height: 1.7; text-align: center; text-decoration: none; overflow-wrap: anywhere; cursor: pointer; }
button.primary { color: white; background: var(--blue); }
button[aria-pressed="true"] { border-width: 4px; background: var(--muted); }
button:disabled { color: #4c5860; background: #e0e4e7; border-color: #8a969e; cursor: default; }
button.back { font-size: 18px; font-weight: 400; }
button.back:first-child { text-align: left; }
button small { display: block; font-size: 18px; font-weight: 400; }
.phone { font-size: clamp(24px, 7vw, 32px); }
small, .hint, .step { font-size: 16px; }
.step { margin-top: 24px; }
label { display: block; font-weight: 700; margin-top: 24px; }
input, select { display: block; width: 100%; min-height: 56px; padding: 8px; margin-top: 8px; border: 2px solid #667986; border-radius: 8px; background: white; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 700; margin: 8px 0 16px; overflow-wrap: anywhere; }
.notice, .summary-row { padding: 16px; border: 1px solid #8a969e; border-radius: 8px; margin: 16px 0; overflow-wrap: anywhere; }
.summary-row p { margin: 0; white-space: pre-wrap; }
.summary-row button { margin-bottom: 0; }
.reception-number { font-size: clamp(32px, 9vw, 40px); font-weight: 700; letter-spacing: .04em; }
.year { display: grid; grid-template-columns: minmax(0, 1fr); }
.calendar-day { margin: 8px 0; }
#loading { position: fixed; inset: auto 0 0; background: white; color: var(--ink); border-top: 4px solid var(--blue); padding: 24px 16px; margin: 0; text-align: center; font-size: 28px; font-weight: 700; z-index: 10; }
body:has(#loading:not([hidden])) { padding-bottom: 128px; }
[hidden] { display: none !important; }
:focus-visible { outline: 4px solid #172b3a; outline-offset: 4px; }
h1:focus { outline: none; }
.mock-label { border: 2px dashed var(--blue); padding: 8px; font-weight: 700; }
@media (min-width: 600px) { main { padding: 32px; } h1 { font-size: 30px; } }
@media (prefers-reduced-motion: no-preference) { button { transition: background-color .15s; } }
