:root{--navy: #14213d;--navy-700: #1d2d52;--navy-600: #28406f;--gold: #c9a24b;--gold-strong: #b8902f;--bg: #f4f5f7;--surface: #ffffff;--surface-2: #f8f9fb;--border: #dde1e8;--text: #1f2733;--text-muted: #5b6675;--text-on-navy: #f5f6f8;--good: #2e7d4f;--good-bg: #e7f4ec;--caution: #b8902f;--caution-bg: #fbf3dd;--warning: #e07b1a;--warning-bg: #fdeedd;--high: #d65a1e;--high-bg: #fbe6db;--critical: #c62828;--critical-bg: #fbe3e3;--radius: 12px;--radius-sm: 8px;--shadow: 0 2px 10px rgba(20, 33, 61, .08);--shadow-lg: 0 8px 28px rgba(20, 33, 61, .14);--maxw: 880px;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);line-height:1.7}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-size:16px}#root{min-height:100vh;display:flex;flex-direction:column}h1,h2,h3{color:var(--navy);line-height:1.4;margin:0 0 .5em}a{color:var(--navy-600)}.app-main{flex:1;width:100%;max-width:var(--maxw);margin:0 auto;padding:24px 18px 64px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px;margin-bottom:20px}.card-flat{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:18px}.section-title{font-size:1.25rem;border-left:4px solid var(--gold);padding-left:12px;margin-bottom:16px}.muted{color:var(--text-muted)}.small{font-size:.86rem}.center{text-align:center}.stack>*+*{margin-top:14px}.site-header{background:var(--navy);color:var(--text-on-navy);border-bottom:3px solid var(--gold)}.site-header__inner{max-width:var(--maxw);margin:0 auto;padding:14px 18px;display:flex;align-items:center;gap:12px}.site-header__badge{width:34px;height:34px;flex:none;border-radius:7px;background:linear-gradient(135deg,var(--gold),var(--gold-strong));color:var(--navy);font-weight:800;display:grid;place-items:center;font-size:.95rem}.site-header__title{font-size:1.05rem;font-weight:700;color:var(--text-on-navy);margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-size:1.05rem;font-weight:700;line-height:1.3;padding:16px 24px;min-height:54px;border-radius:var(--radius-sm);border:2px solid transparent;cursor:pointer;text-decoration:none;transition:background .15s,box-shadow .15s,transform .05s,border-color .15s}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.btn-block{width:100%}.btn-primary{background:var(--navy);color:#fff}.btn-primary:hover{background:var(--navy-600)}.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold-strong));color:var(--navy)}.btn-gold:hover{box-shadow:var(--shadow-lg)}.btn-outline{background:var(--surface);color:var(--navy);border-color:var(--navy)}.btn-outline:hover{background:var(--surface-2)}.btn-ghost{background:transparent;color:var(--text-muted);border-color:var(--border);font-weight:600;font-size:.92rem;min-height:44px;padding:10px 16px}.btn-ghost:hover{background:var(--surface-2);color:var(--text)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-row{display:flex;gap:12px;flex-wrap:wrap}.btn-row>.btn{flex:1 1 200px}.hero{position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow-lg);color:var(--text-on-navy);background-image:linear-gradient(90deg,#090f1df0,#090f1ddb 30%,#0d162b8c 58%,#0d162b1f 80%,#0d162b00),url(/assets/hero-ohZ-QPFg.jpg);background-size:cover;background-position:center right;background-repeat:no-repeat;background-color:var(--navy);min-height:300px;display:flex;align-items:center;padding:44px 40px}.hero__inner{position:relative;max-width:58%}.hero h2{color:#fff;font-size:1.85rem;line-height:1.45;margin-bottom:14px;text-shadow:0 2px 12px rgba(0,0,0,.45)}.hero__inner:before{content:"";display:block;width:56px;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-strong));border-radius:2px;margin-bottom:18px}.hero .sub{color:var(--text-on-navy);opacity:.95;font-size:1.02rem;margin:0;text-shadow:0 1px 8px rgba(0,0,0,.5)}.hero .gold-line{color:var(--gold);font-weight:700}.overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.overview-grid .item{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 10px;text-align:center}.overview-grid .item .label{font-size:.82rem;color:var(--text-muted)}.overview-grid .item .value{font-size:1.2rem;font-weight:800;color:var(--navy);margin-top:4px}.progress{margin:4px 0 8px}.progress__meta{display:flex;justify-content:space-between;align-items:baseline;font-size:.88rem;color:var(--text-muted);margin-bottom:6px}.progress__cat{font-weight:700;color:var(--navy)}.progress__track{height:12px;background:#e3e6ec;border-radius:99px;overflow:hidden}.progress__fill{height:100%;background:linear-gradient(90deg,var(--navy-600),var(--gold));border-radius:99px;transition:width .3s ease}.q-cat{display:inline-block;background:var(--navy);color:#fff;font-size:.8rem;font-weight:700;padding:4px 12px;border-radius:99px;margin-bottom:12px}.q-text{font-size:1.3rem;font-weight:700;color:var(--navy);line-height:1.5}.q-desc{background:var(--surface-2);border-left:3px solid var(--gold);padding:12px 14px;border-radius:var(--radius-sm);color:var(--text-muted);font-size:.92rem;margin-top:14px}.q-desc:before{content:"補足：";font-weight:700;color:var(--navy)}.options{display:flex;flex-direction:column;gap:12px;margin-top:8px}.option{display:flex;align-items:center;gap:14px;padding:16px 18px;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;font-size:1.05rem;transition:border-color .12s,background .12s}.option:hover{border-color:var(--navy-600);background:var(--surface-2)}.option:focus-within{outline:3px solid var(--gold);outline-offset:2px}.option input{width:22px;height:22px;accent-color:var(--navy);flex:none}.option.is-selected{border-color:var(--navy);background:#eef1f7;font-weight:700}.option .opt-mark{margin-left:auto;color:var(--navy);font-weight:800}.risk-badge{display:inline-flex;align-items:center;gap:8px;font-weight:800;padding:8px 18px;border-radius:99px;border:2px solid;font-size:1.05rem}.risk-badge .dot{width:12px;height:12px;border-radius:50%;flex:none}.tone-good{color:var(--good);border-color:var(--good);background:var(--good-bg)}.tone-good .dot{background:var(--good)}.tone-caution{color:var(--caution);border-color:var(--caution);background:var(--caution-bg)}.tone-caution .dot{background:var(--caution)}.tone-warning{color:var(--warning);border-color:var(--warning);background:var(--warning-bg)}.tone-warning .dot{background:var(--warning)}.tone-high{color:var(--high);border-color:var(--high);background:var(--high-bg)}.tone-high .dot{background:var(--high)}.tone-critical{color:var(--critical);border-color:var(--critical);background:var(--critical-bg)}.tone-critical .dot{background:var(--critical)}.score-hero{text-align:center;padding:28px 20px}.score-number{font-size:3.4rem;font-weight:900;color:var(--navy);line-height:1}.score-number .unit{font-size:1.2rem;font-weight:700;color:var(--text-muted)}.score-bar-outer{height:16px;background:#e3e6ec;border-radius:99px;overflow:hidden;margin:18px auto 0;max-width:520px}.score-bar-inner{height:100%;border-radius:99px;transition:width .5s ease}.cat-bars{display:flex;flex-direction:column;gap:14px}.cat-bar__head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:5px}.cat-bar__name{font-weight:700;color:var(--navy);font-size:.96rem}.cat-bar__val{font-size:.86rem;color:var(--text-muted);white-space:nowrap}.cat-bar__track{height:16px;background:#e8ebf0;border-radius:99px;overflow:hidden}.cat-bar__fill{height:100%;border-radius:99px;transition:width .5s ease}.chart-wrap{width:100%;height:320px}.risk-item{border:1px solid var(--border);border-left:5px solid var(--high);border-radius:var(--radius-sm);padding:16px 18px;background:var(--surface)}.risk-item+.risk-item{margin-top:14px}.risk-item__rank{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--high);color:#fff;font-weight:800;font-size:.9rem;margin-right:8px}.risk-item__q{font-weight:700;color:var(--navy)}.kv{margin-top:10px;font-size:.92rem}.kv dt{font-weight:700;color:var(--text-muted);font-size:.82rem;margin-top:8px}.kv dd{margin:2px 0 0}.reco{background:var(--good-bg);border-radius:var(--radius-sm);padding:10px 12px;margin-top:8px;font-size:.92rem}.reco:before{content:"推奨対策";display:block;font-weight:800;color:var(--good);font-size:.78rem;margin-bottom:2px}.roadmap{display:grid;gap:16px}.roadmap__phase{border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px 18px;background:var(--surface)}.roadmap__phase h4{margin:0 0 10px;color:var(--navy);font-size:1.02rem;display:flex;align-items:flex-start;gap:8px}.roadmap__step{flex:none;white-space:nowrap;font-size:.78rem;font-weight:800;color:#fff;background:var(--gold-strong);padding:3px 10px;border-radius:99px;margin-top:2px}.roadmap__phase--1 h4 .roadmap__step{background:var(--critical)}.roadmap__phase--2 h4 .roadmap__step{background:var(--warning)}.roadmap__phase--3 h4 .roadmap__step{background:var(--navy)}.tag-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.tag-list li{background:var(--surface-2);border:1px solid var(--border);border-radius:99px;padding:6px 14px;font-size:.9rem}.tag-list li.is-priority{background:var(--caution-bg);border-color:var(--caution);color:var(--caution);font-weight:700}.review-group+.review-group{margin-top:18px}.review-group__title{font-size:1.02rem;color:var(--navy);border-bottom:2px solid var(--gold);padding-bottom:6px;margin-bottom:10px}.review-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed var(--border)}.review-row__no{flex:none;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-weight:700;display:grid;place-items:center;font-size:.85rem}.review-row__body{flex:1;min-width:0}.review-row__q{font-weight:600;font-size:.95rem}.review-row__a{margin-top:4px;font-size:.9rem}.review-row__a .badge-ans{display:inline-block;padding:2px 10px;border-radius:99px;font-weight:700;font-size:.82rem;background:var(--surface-2);border:1px solid var(--border)}.disclaimer{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px 16px;font-size:.82rem;color:var(--text-muted);line-height:1.65}.disclaimer h3{font-size:.86rem;color:var(--text-muted);margin:0 0 6px}.disclaimer p+p{margin-top:8px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f16268c;display:grid;place-items:center;padding:20px;z-index:50}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-width:460px;width:100%;padding:26px;border-top:5px solid var(--gold)}.modal h3{margin-top:0}.modal__actions{margin-top:20px;display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.notice-line{font-size:.82rem;color:var(--text-muted);background:var(--surface-2);border-radius:var(--radius-sm);padding:10px 14px}.intro-list{margin:0;padding-left:1.2em}.intro-list li{margin-bottom:8px}.lead-form{display:flex;flex-direction:column;gap:16px;margin-top:18px}.field{display:flex;flex-direction:column;gap:6px}.field label{font-weight:700;font-size:.92rem;color:var(--navy)}.field input{font-family:inherit;font-size:1.05rem;padding:13px 14px;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);width:100%}.field input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px #28406f26}.field input[aria-invalid=true]{border-color:var(--critical)}.field-error{margin:0;color:var(--critical);font-size:.85rem;font-weight:600}.consent{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;font-size:.92rem;line-height:1.6}.consent input{width:22px;height:22px;margin-top:2px;flex:none;accent-color:var(--navy)}.consent:focus-within{outline:3px solid var(--gold);outline-offset:2px}.optin-card{border:2px solid var(--gold);background:linear-gradient(180deg,#fffaf0,var(--surface))}.optin--done{display:flex;align-items:flex-start;gap:10px;background:var(--good-bg);border:1px solid var(--good);border-radius:var(--radius-sm);padding:14px 16px;color:#1f5d3a;font-size:.92rem}.optin__check{flex:none;width:24px;height:24px;border-radius:50%;background:var(--good);color:#fff;font-weight:800;display:grid;place-items:center;font-size:.85rem}.print-only{display:none}.result-date{font-size:.9rem;color:var(--text-muted)}@media(max-width:560px){body{font-size:15px}.card{padding:20px 16px}.hero{min-height:340px;padding:26px 20px;align-items:flex-end;background-position:78% center;background-image:linear-gradient(180deg,#090f1d59,#090f1db8 55%,#090f1ded),url(/assets/hero-ohZ-QPFg.jpg)}.hero__inner{max-width:100%}.hero h2{font-size:1.4rem}.overview-grid{grid-template-columns:repeat(2,1fr)}.q-text{font-size:1.15rem}.score-number{font-size:2.8rem}.btn-row>.btn{flex-basis:100%}}@media print{:root{--bg: #ffffff}body{background:#fff;font-size:11.5pt}.site-header,.no-print,.btn,.btn-row,.modal-overlay,.progress{display:none!important}.print-only{display:block!important}.app-main{max-width:100%;padding:0}.card,.card-flat,.risk-item,.roadmap__phase{box-shadow:none!important;border:1px solid #c8ccd4!important;break-inside:avoid;page-break-inside:avoid}.hero,.score-hero{box-shadow:none!important}.hero{background:#fff!important;color:var(--navy)!important;border:1px solid #c8ccd4}.hero h2,.hero .sub,.hero .gold-line{color:var(--navy)!important}.cat-bar__fill,.score-bar-inner,.risk-badge,.risk-item__rank,.roadmap__step,.progress__fill{-webkit-print-color-adjust:exact;print-color-adjust:exact}h2,h3,.section-title{break-after:avoid;page-break-after:avoid}a{color:var(--text);text-decoration:none}}
