
:root{--ink:#183451;--muted:#587089;--bg:#f4f8ff;--blue:#255ec3;--blue2:#174996;--line:#d9e5f0;--green:#1a765e;--pale:#eaf3ff;--amber:#fff4df;--radius:23px}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:16px;line-height:1.62;padding-bottom:86px} button,select{font:inherit} button{cursor:pointer} button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #ed9a22;outline-offset:3px}
header{background:white;border-bottom:1px solid var(--line);position:relative;z-index:2}.head{max-width:850px;margin:auto;display:flex;align-items:center;justify-content:space-between;min-height:80px;padding:14px 19px;gap:9px}.brand{font-size:clamp(18px,4.5vw,26px);font-weight:850;letter-spacing:-.035em;display:flex;gap:10px;align-items:center;line-height:1.2}.brand-icon{width:42px;height:42px;flex:0 0 42px;border-radius:14px;display:grid;place-items:center;background:#2461ce;color:white;font-size:26px}.free{border-radius:40px;border:1px solid #afd0f3;background:#eff6ff;color:#265eaa;font-size:12px;font-weight:800;padding:5px 9px;white-space:nowrap}
main{max-width:850px;margin:0 auto;padding:18px 17px 34px}.screen[hidden],.subscreen[hidden]{display:none!important}.hero{background:linear-gradient(140deg,#eff6ff,#fff);border:1px solid var(--line);border-radius:27px;padding:25px 23px;margin-bottom:17px}.eyebrow{font-size:13px;font-weight:750;color:var(--blue);letter-spacing:.03em;margin:0 0 8px}h1{font-size:clamp(27px,7vw,37px);line-height:1.38;letter-spacing:-.045em;margin:0 0 12px}h2{font-size:clamp(21px,5.6vw,28px);line-height:1.42;letter-spacing:-.035em;margin:0 0 12px}h3{font-size:18px;line-height:1.5;margin:0 0 9px}p{margin:0 0 12px}.muted{color:var(--muted)}.small{font-size:13px}.card{background:white;border:1px solid var(--line);border-radius:23px;padding:20px;margin-bottom:15px;box-shadow:0 6px 25px rgba(44,79,128,.035)}.card:last-child{margin-bottom:0}.alert{background:var(--amber);border-left:5px solid #d8901e;border-radius:14px;padding:13px 14px;color:#473b28;font-size:14px;line-height:1.65;margin:14px 0}.label{font-size:13px;font-weight:800;color:var(--blue);margin-bottom:8px}.btn{appearance:none;border:none;background:#2864cf;color:#fff;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-weight:800;line-height:1.35;border-radius:15px;padding:14px 18px;min-height:53px;text-decoration:none}.btn:active{transform:scale(.987)}.btn.alt{background:white;color:#2358a7;border:2px solid #a7c5ea}.btn.ghost{background:#eaf2ff;color:#1b4b95}.btn.full{width:100%}.btn.sm{font-size:14px;padding:9px 12px;min-height:43px}.button-stack{display:grid;gap:10px}.section-sep{height:1px;background:var(--line);margin:18px 0}.steps{display:grid;gap:10px}.step{padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:#f8fbff;display:flex;gap:12px;align-items:start}.num{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#dfeeff;color:#1c5abc;font-weight:850}.step strong{display:block}.step .muted{font-size:14px;margin:3px 0 0}.compare{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;text-align:left;overflow:hidden}.compare th,.compare td{border-bottom:1px solid #e2eaf3;padding:11px 8px;vertical-align:top}.compare th:first-child,.compare td:first-child{width:43%}.compare th{color:#284968;background:#eff5ff;font-size:13px}.compare td.yes{color:#166e56;font-weight:800}.compare td.no{color:#687b8e}.compare tr:last-child td{border-bottom:0}.top-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.score{font-size:15px;font-weight:800;background:#eaf2ff;color:#1d5abd;padding:8px 12px;border-radius:30px}.progress{height:10px;background:#e7edf5;border-radius:20px;overflow:hidden;margin:14px 0}.bar{height:100%;width:0;background:#2868d7;transition:width .24s}.question{padding:18px 0;border-bottom:1px solid #e3ebf3}.question:last-of-type{border-bottom:0}.q-num{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;border-radius:50%;background:#eaf1fe;color:var(--blue);font-weight:900;font-size:15px;margin-right:7px}.q-title{font-weight:800;font-size:16px}.q-detail{font-size:14px;color:var(--muted);margin:9px 0 12px}.choice-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{background:#fff;border:2px solid #d7e5f3;color:#244a72;border-radius:12px;min-height:49px;padding:8px 6px;font-size:14px;font-weight:700}.choice[aria-pressed=true]{background:#e3f4e8;color:#146244;border-color:#3d9868}.choice.wait[aria-pressed=true]{background:#fff1db;color:#815716;border-color:#db9c32}.result{border:1px solid #c9dce8;background:#f0f8ff;border-radius:17px;padding:18px;margin-top:18px}.result[hidden]{display:none}.result strong{font-size:18px}.scenario-grid{display:grid;gap:10px}.scenario{background:white;border:2px solid var(--line);border-radius:15px;padding:16px 12px;font-size:16px;font-weight:800;color:#214971;text-align:left}.scenario[aria-pressed=true]{border-color:#265dc2;background:#e7f1ff}.scenario:active{background:#dfefff}.scenario .arrow{float:right}.action-list{padding-left:1.35em}.action-list li{margin:0 0 10px;padding-left:2px}.links{display:grid;gap:8px;margin-top:12px}.ext{display:block;text-decoration:none;color:#205baa;background:#eff6ff;border:1px solid #c9dff5;padding:12px;border-radius:12px;font-weight:700;overflow-wrap:anywhere}.ext:active{background:#ddeaff}.field{width:100%;border:2px solid #c6d9e9;border-radius:12px;padding:12px;margin:10px 0 7px;background:white;color:var(--ink);min-height:52px}.contact{border-top:1px solid #e3eaf3;padding:12px 0}.contact:first-of-type{border-top:0}.phone{font-weight:900;font-size:21px;letter-spacing:.01em;color:#1d4f95}.mock{border:2px solid #c6d8ec;border-radius:12px;padding:16px 15px;margin-top:14px;background:#fff;position:relative}.mock:after{content:'見本';position:absolute;right:13px;top:12px;font-weight:900;color:#9caabd;border:2px solid #cbd7e7;border-radius:7px;padding:2px 8px;transform:rotate(6deg)}.mock h3{margin:0 0 5px;font-size:20px;padding-right:60px}.mock li{font-size:14px}.footer{text-align:center;font-size:12px;color:#657990;padding:15px 5px 2px}.bottom{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:7px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);z-index:10;box-shadow:0 -8px 25px rgba(20,40,70,.04)}.tab{display:grid;place-items:center;gap:1px;background:transparent;color:#59738c;font-size:13px;font-weight:750;border:none;border-radius:13px;min-height:57px;padding:5px 2px}.tab[aria-current=page]{color:#195bbc;background:#e7f0ff}.tab span{font-size:22px;line-height:25px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:680px){.steps{grid-template-columns:repeat(2,1fr)}.scenario-grid{grid-template-columns:repeat(3,1fr)}.button-stack{grid-template-columns:repeat(2,1fr)}.choice-row{max-width:430px}.head{padding:18px 25px}}@media(max-width:350px){.brand{font-size:17px}.brand-icon{width:38px;height:38px;flex-basis:38px}.free{font-size:11px;padding:5px}.card{padding:16px}.hero{padding:21px 17px}.choice{font-size:13px}}
@media print{header,.bottom,.no-print{display:none!important}body{padding:0;background:#fff}.screen{display:none!important}#home{display:block!important}main{max-width:100%;padding:0}.card,.hero{box-shadow:none;break-inside:avoid}.footer{display:none}}
.howto{margin-top:12px;border:1px solid #cadff4;border-radius:12px;background:#f6faff;overflow:hidden}.howto summary{cursor:pointer;padding:12px;color:#1d59a9;font-weight:800;list-style:none;display:flex;gap:8px;align-items:center}.howto summary::-webkit-details-marker{display:none}.howto summary:before{content:'▶';font-size:12px;display:inline-block;transition:transform .15s}.howto[open] summary:before{transform:rotate(90deg)}.howto summary:focus-visible{outline:3px solid #ed9a22;outline-offset:-3px}.howto-body{padding:0 12px 12px;color:#294763;font-size:14px}.howto-body p{margin:8px 0}.howto-body b{color:#174996}.howto-note{font-size:12px;color:#5c6d7e;border-top:1px solid #dbe9f5;padding-top:8px}.result h3{margin-bottom:8px}.result ul{padding-left:1.4em;margin:10px 0}.result li{margin:5px 0}.sheet-preview{background:#fff;border:2px solid #b9cbe0;border-radius:6px;padding:16px 13px;margin:16px auto 10px;max-width:540px;box-shadow:0 5px 15px rgba(28,53,88,.07)}.sheet-kicker{font-size:11px;color:#536d83;border-bottom:2px solid #43658b;padding-bottom:7px;display:flex;justify-content:space-between;gap:6px}.sheet-kicker span{color:#9d5b24;font-weight:800}.sheet-preview h3{font-size:22px;margin:10px 0 3px}.sheet-preview p{font-size:12px}.sheet-carrier{display:grid;gap:3px;border:1px solid #b5cadf;padding:10px;margin:12px 0}.sheet-carrier span,.sheet-carrier small{font-size:11px;color:#526c84}.sample-phone{font-size:25px;color:#1d4f95;letter-spacing:.01em}.sheet-heading{background:#e6effa;border-left:4px solid #3d6bb1;font-size:13px;font-weight:800;padding:5px 8px}.sheet-actions{padding-left:22px;font-size:12px;margin:10px 0}.sheet-actions li{margin:4px 0}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:11px;padding:10px 0}.sheet-warning{border-top:1px solid #d3dfeb;padding-top:8px;color:#7c4d20!important}.wallet-preview{max-width:390px;border:2px solid #b9cbe0;background:#fff;border-radius:12px;padding:13px;display:grid;gap:10px;grid-template-columns:1fr 1fr;margin:10px auto}.wallet-preview>div{display:grid;gap:2px;align-content:start}.wallet-preview strong{font-size:14px}.wallet-preview small,.wallet-eyebrow{font-size:11px;color:#5b7286}.wallet-preview p{grid-column:1/-1;font-size:11px;margin:0;border-top:1px solid #d4e0ed;padding-top:8px}@media(max-width:350px){.sheet-grid{grid-template-columns:1fr}.sample-phone{font-size:21px}.wallet-preview{grid-template-columns:1fr}}
.mt-12{margin-top:12px}.mt-13{margin-top:13px}
.bar[data-count="0"]{width:0.0%}
.bar[data-count="1"]{width:12.5%}
.bar[data-count="2"]{width:25.0%}
.bar[data-count="3"]{width:37.5%}
.bar[data-count="4"]{width:50.0%}
.bar[data-count="5"]{width:62.5%}
.bar[data-count="6"]{width:75.0%}
.bar[data-count="7"]{width:87.5%}
.bar[data-count="8"]{width:100.0%}

/* Accessibility: keep controls clear of the bottom navigation and respect reduced motion. */
body{padding-bottom:calc(86px + env(safe-area-inset-bottom))}
.field,.ext,.scenario{min-height:52px}
#sos-content{scroll-margin-top:12px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bar,.howto summary:before{transition:none}.btn:active{transform:none}}
