*{box-sizing:border-box}body{margin:0;background:#f3f6fa;color:#192b42;font-family:-apple-system,BlinkMacSystemFont,'Noto Sans JP',sans-serif}main{max-width:560px;margin:auto;min-height:100dvh;background:white;padding:20px 16px max(40px,env(safe-area-inset-bottom))}header{border-bottom:1px solid #e3e8ef;padding-bottom:15px;margin-bottom:20px}h1{font-size:22px;margin:8px 0}h2{font-size:17px;margin:24px 0 12px}p,.hint{color:#5c6978;line-height:1.6}label{display:block;margin:12px 0}input[type=text],input[type=tel],textarea,select{width:100%;padding:13px;border:1px solid #c9d3df;border-radius:10px;font:inherit;font-size:16px}textarea{min-height:96px}.choice{display:block;padding:12px;margin:7px 0;border:1px solid #d5deea;border-radius:10px}.choice:has(input:checked){background:#edf5fc;border-color:#3979b2}button{min-height:48px;padding:14px;border:0;border-radius:11px;background:#174b7b;color:white;font:inherit;font-weight:650;cursor:pointer}button.secondary{background:#e9eef4;color:#203750}.actions{display:flex;gap:10px;margin-top:25px}.actions button{flex:1}.demo-note{padding:12px;border-radius:9px;background:#f2f5f8;border:1px solid #dce4ed;color:#405368}.card{padding:15px;background:#f5f8fc;border-radius:12px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.step{font-size:13px;color:#47749a}small{color:#68788b}fieldset{border:0;padding:0;margin:0}legend{font-weight:650;margin:15px 0 8px}.required{color:#b23333}.question{margin:22px 0;padding:16px;border:1px solid #dce4ec;border-radius:12px}.question h2{font-size:16px;margin:0 0 6px}.question .hint{font-size:14px;margin:4px 0 12px}.choice{min-height:46px;cursor:pointer;display:flex;align-items:flex-start;gap:8px}.choice input{flex:0 0 auto;margin:4px 0 0}.summary-title{font-weight:700;font-size:15px;margin:18px 0 7px}.skip{font-size:13px;color:#536679}
main.is-review{max-width:720px}
.review-intro{margin:10px 0 22px;font-size:15px;line-height:1.7}
.review-section{border:1px solid #dce4ec;border-radius:14px;margin:16px 0;background:#fff;overflow:hidden}
.review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f3f6fa;border-bottom:1px solid #e3e9ef}
.review-heading h2{margin:0;font-size:16px;line-height:1.5}
.review-edit{flex:none;min-height:44px;padding:8px 12px;background:white;color:#174b7b;border:1px solid #c5d4e2;border-radius:8px;font-size:14px}
.review-body{padding:4px 16px 8px}
.review-list{margin:0}
.review-row{display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #edf0f4}
.review-row:last-child{border:0}
.review-row dt{font-size:13px;color:#5c6978;line-height:1.65}
.review-row dd{margin:0;font-size:16px;line-height:1.7;font-weight:500;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}
.review-empty{color:#68788b;font-weight:400;font-size:14px}
.review-symptom{margin:12px 0 4px;padding:0 0 12px;border-bottom:1px solid #e5ebf1}
.review-symptom:last-child{border-bottom:0}
.review-symptom h3{font-size:15px;margin:12px 0 2px;line-height:1.7}
.review-subtitle{margin:14px 0 2px;font-size:14px;color:#174b7b}
.review-body p{font-size:14px;line-height:1.65}
.service-badges{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 6px;padding:0;list-style:none}
.service-badges li{max-width:100%;font-size:14px;line-height:1.6;padding:6px 10px;border-radius:7px;background:#eef4f9;color:#234e73;overflow-wrap:anywhere}
.review-mode{padding:9px 12px;background:#eef4f9;border-radius:8px;font-size:14px;color:#234e73;margin:10px 0}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #3979b2;outline-offset:3px}
@media(max-width:479px){.review-row{grid-template-columns:minmax(0,1fr);gap:3px;padding:11px 0}.review-heading{padding:10px 14px}.review-body{padding:4px 14px 8px}}

main,#app,.question,.review-section,.review-heading,.review-body,.actions{min-width:0;max-width:100%}
p,button,label,legend,h1,h2,h3,.hint,.step,.demo-note{overflow-wrap:anywhere}
.actions{flex-wrap:wrap}.actions button{flex:1 1 130px;min-width:0}
input,textarea,select{min-width:0;max-width:100%}
#public-message{margin:16px 0;padding:14px;border:1px solid #b9cde0;border-radius:10px;background:#eef5fb;line-height:1.7;overflow-wrap:anywhere}
#challenge{margin-top:20px;min-width:0;max-width:100%}
button:disabled{opacity:.55;cursor:wait}
@media(max-width:360px){main{padding-right:12px;padding-left:12px}.review-heading{gap:6px}}
