:root{font-family:ui-rounded,"Hiragino Maru Gothic ProN",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:16px;line-height:1.7;color:#243f54;background:#f1f7fb;-webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light}*{box-sizing:border-box}body{margin:0;overflow-wrap:anywhere}header{display:flex;align-items:center;gap:12px;padding:calc(16px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #dce7ef;font-weight:650;font-size:1rem}header>div{min-width:0}header small{display:block;font-size:.7rem;font-weight:400}.mark{display:grid;place-items:center;background:#e7f3fb;color:#176ba3;border-radius:13px;font-size:1.7rem;width:42px;height:42px;flex-shrink:0}main{width:100%;max-width:620px;min-width:0;margin:auto;padding:28px max(16px,env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.hero{position:relative;padding-right:76px;min-height:72px}.mascot{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0}.hero .mascot{position:absolute;right:0;top:0;border-radius:16px;background:#fff;padding:3px}.eyebrow{color:#336987;font-size:.72rem;letter-spacing:.13em}h1{font-size:clamp(1.55rem,5vw,1.85rem);line-height:1.45;margin:8px 0 12px}h2{font-size:1.25rem;line-height:1.5;margin:0 0 20px}.lead{color:#526b7d;font-size:.9rem;margin:8px 0 18px}.mode{font-size:.8rem;color:#375d77}.steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:24px 0 8px;gap:8px}.steps li{border-radius:12px;background:#eaf1f6;color:#536d80;text-align:center;font-size:.75rem;padding:12px 4px;min-width:0}.steps span{display:block;font-size:1rem;font-weight:700}.steps [aria-current]{background:#176ba3;color:white;box-shadow:0 4px 12px #176ba324}.progress{font-size:.8rem;font-weight:600;color:#326585;margin:8px 0 18px}.notice{font-size:.8rem;background:#fff8e6;border-left:3px solid #c3a45b;padding:12px 14px;border-radius:4px}section{min-width:0;max-width:100%;background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:24px;margin-top:20px;box-shadow:0 6px 26px #204c7310}form,[id^=panel]{min-width:0;max-width:100%}.hint,small,footer{font-size:.8rem;color:#526b7d}.hint{margin-top:0}label:not(.choice){display:block;font-weight:600;margin:20px 0 8px}b,.optional,legend span{display:inline-block;font-size:.67rem;font-weight:500;border-radius:4px;padding:2px 6px;margin-left:6px;vertical-align:middle;background:#e4f2fc;color:#215f8c}.optional{background:#eef3f7;color:#536b7c}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{display:block;font:inherit;color:#243f54;background:#fff;border:1px solid #a5bdce;border-radius:10px;width:100%;max-width:100%;min-width:0;min-height:52px;padding:12px;box-shadow:0 2px 4px #204c7304}textarea{resize:vertical}input:disabled{background:#eef4f8!important;color:#667d8c}input[type=checkbox],input[type=radio]{width:22px;height:22px;flex-shrink:0;accent-color:#176ba3;margin:3px 0}input[type=date]{-webkit-appearance:none;appearance:none;overflow:hidden}input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}.choice{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;padding:12px;background:#eff6fb;border-radius:10px;margin:10px 0}.timegroup{min-width:0;border:0;padding:0;margin:16px 0 30px}.timegroup legend{font-weight:600;font-size:.9rem;padding:0;margin-bottom:10px}.time-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.time-options label{display:flex!important;align-items:center;justify-content:center;gap:12px;margin:0!important;min-height:56px;border:1px solid #a5bdce;border-radius:12px;padding:12px;cursor:pointer}.time-options label:has(input:checked){background:#e7f3fc;border:2px solid #176ba3;padding:11px}.time-options label:has(input:disabled){opacity:.5;cursor:default}button{display:block;width:100%;max-width:100%;min-width:0;min-height:54px;font:inherit;font-weight:650;background:#176ba3;color:#fff;border:1px solid transparent;border-radius:12px;padding:14px 16px;cursor:pointer;margin-top:20px;line-height:1.6;overflow-wrap:anywhere;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}.secondary{background:#fff;border-color:#b0c6d6;color:#275d83;margin-top:12px}.navigation{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.navigation button{margin:0;flex:1 1 170px}.navigation #previous{flex:1 1 100px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d8a54b;outline-offset:3px}[tabindex="-1"]:focus{outline:none}input,textarea,select{scroll-margin-block:24px}.edit-links{display:flex;flex-wrap:wrap;gap:8px}.edit-links button{flex:1 1 145px;font-size:.8rem;min-height:48px;margin-top:0;padding:10px}dl{margin:20px 0}dt{font-size:.8rem;color:#526b7d;margin-top:16px}dd{margin:4px 0 0;padding-bottom:12px;border-bottom:1px solid #e1eaf1;white-space:pre-wrap;overflow-wrap:anywhere}.consent{margin-top:24px}footer{text-align:center;margin-top:28px;font-size:.75rem}#status:empty{display:none}#status{border-radius:10px;background:#fff0e9;color:#843c29;padding:14px;font-size:.9rem}#done{border:2px solid #176ba3;background:#edf7ff;text-align:center}.done-mascot{margin:auto;width:78px;height:78px;border-radius:16px;background:white}.done-icon{font-size:1.5rem;color:#176ba3}#doneTitle{font-size:clamp(1.65rem,6vw,2.1rem);color:#155c8d;margin:12px 0}#doneText{font-size:clamp(1.25rem,5vw,1.5rem);font-weight:700;line-height:1.8}[hidden]{display:none!important}@media(max-width:360px){main{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}section{padding:18px}.steps{gap:5px}.hero{padding-right:62px}.hero .mascot{width:54px;height:54px}}@media(orientation:landscape) and (max-height:500px){main{padding-top:18px}.lead{margin-bottom:12px}}
[id^=panelTitle]{scroll-margin-top:20px}
/* A single quiet introduction; the step navigation carries visual progress. */
.hero{display:flex;align-items:center;gap:16px;padding:0;min-height:76px;margin:2px 0 12px}
.hero .mascot{position:static;width:68px;height:68px;order:2;margin-left:auto;flex-shrink:0}
.hero h1{margin:0;flex:1;min-width:0;letter-spacing:.02em}
.lead{margin:0 0 22px;font-size:.9rem;line-height:1.8}
.steps{margin-top:24px;margin-bottom:18px}
.notice{font-size:.78rem;line-height:1.8;background:#fff9e5;border:1px solid #eadba7;border-radius:12px;color:#675c37;padding:12px 14px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.birthgroup{min-width:0;max-width:100%;border:0;padding:0;margin:24px 0 0}
.birthgroup legend{font-weight:600;padding:0}
.birth-options{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:10px;margin:8px 0}
.birth-options>div{min-width:0}
.birth-options label{font-size:.8rem;margin:0 0 6px!important;color:#526b7d}
.birth-options select{padding:12px 6px;font-size:1rem}
@media(max-width:360px){.hero{gap:10px}.hero .mascot{width:56px;height:56px}.birth-options{gap:6px}}
@media(max-width:320px){.birth-options{grid-template-columns:minmax(0,1fr)}.birth-options select{padding:12px}}
/* Reflow by available space and text size, instead of squeezing select text. */
.birth-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr))}
@media(max-width:440px){.birth-options>div:first-child{grid-column:1/-1}}

/* Blue brand system with restrained warm accents. */
body{background:linear-gradient(180deg,#edf6fc 0,#f8fbfd 600px)}
header{background:#ffffffed;border-bottom-color:#dce7ef}
.mark{background:#e5f2fc;color:#176ba3}
main{padding-top:30px}
.hero{gap:18px;margin:4px 0 16px}
.hero h1{font-weight:750;font-size:clamp(1.65rem,5.8vw,2rem);letter-spacing:.035em;color:#204e70}
.hero .mascot{width:88px;height:88px;background:transparent;padding:0;border-radius:0}
.lead{color:#405e75;font-size:.93rem;line-height:1.9;margin-bottom:18px;max-width:34em}
.notice{background:#fff8dc;border:1px solid #e9d99c;color:#62542d;border-radius:14px;padding:13px 16px;margin-bottom:20px}
.mode:not(.sr-only){margin:12px 0;font-size:.8rem}
.steps{gap:9px;margin:22px 0 18px}
.steps li{padding:0;border-radius:15px;background:transparent;box-shadow:none}
.steps li[aria-current]{background:transparent;color:inherit;box-shadow:none}
.steps button{height:100%;min-height:104px;margin:0;padding:12px 5px;border:1px solid #ccdae5;background:#fff;color:#365e7c;border-radius:15px;font-weight:600;box-shadow:0 3px 10px #214e6b08}
.steps .step-number{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;margin:0 auto 7px;font-size:.85rem;background:#edf4f9;color:#366482}
.steps .step-label{display:block;float:none;font-size:.76rem;line-height:1.5}
.steps small{display:block;font-size:.63rem;margin-top:6px;color:#5e7485;font-weight:500}
.steps [data-state=current] button{background:#176ba3;border-color:#176ba3;color:#fff;box-shadow:0 5px 14px #176ba32b}
.steps [data-state=current] .step-number{background:#fff3c3;color:#235b7c}
.steps [data-state=current] small{color:#e7f3fc}
.steps [data-state=reached] button{border-color:#8eb6d0;background:#f1f8fe}
.steps [data-state=locked] button{background:#eaf0f5;border-color:#dce5ec;color:#667c8b;box-shadow:none;opacity:1}
.steps [data-state=locked] .step-number{background:#dce6ed;color:#667c8b}
section{border-radius:23px;box-shadow:0 8px 32px #204c730b;padding:26px}
h2{font-weight:700;color:#204e70}
button{background:#176ba3;font-weight:700;box-shadow:0 3px 8px #176ba318}
.secondary{background:white;box-shadow:none}
.time-options label:has(input:checked){background:#edf7ff;border-color:#176ba3}
input[type=checkbox],input[type=radio]{accent-color:#176ba3}
#done{border-color:#176ba3;background:#eef8ff}
#doneTitle,.done-icon{color:#155c8d}
@media(max-width:360px){main{padding-top:22px}.hero{gap:10px}.hero .mascot{width:68px;height:68px}.hero h1{font-size:1.5rem}section{padding:18px}.steps{gap:6px}.steps button{padding:10px 4px}}
.brand-header{background:#e8f5ff;border:1px solid #d5e8f5;border-radius:22px;overflow:hidden;margin-bottom:18px}
.brand-header .hero{padding:18px 20px 4px;margin:0;min-height:0}
.brand-header h1{font-size:clamp(1.5rem,5.5vw,1.95rem)}
.header-art{display:block;width:100%;height:auto;object-fit:contain;max-width:100%}
.header-copy{padding:8px 20px 18px;background:linear-gradient(180deg,#e8f5ff,#eef8ff)}
.welcome{font-size:.86rem;line-height:1.85;color:#315b78;margin:0 0 10px}
.header-copy .lead{font-size:.86rem;margin:0;line-height:1.85}
.steps [data-state=completed] button{background:#eaf6ff;border-color:#69a2c7}
.steps [data-state=completed] .step-number{background:#176ba3;color:white}
.steps [data-state=completed] small{color:#155c8d}
@media(max-width:360px){.brand-header .hero{padding:16px 16px 2px}.header-copy{padding:8px 16px 16px}}
