:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif;color:#26372f;background:#f3f3ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:24px 5vw;border-bottom:1px solid #d9ddd4}.brand{font-size:30px;font-weight:800;letter-spacing:-1px;color:inherit;text-decoration:none;display:flex;align-items:center;gap:18px}.brand span{font-size:11px;letter-spacing:2px;font-weight:600}.badge{font-size:11px;border:1px solid #c6d0c7;border-radius:30px;padding:8px 12px;color:#516358}main{max-width:1500px;margin:auto;padding:40px 5vw 0}.intro{margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#677b6c;margin:0 0 12px}h1{font-size:clamp(25px,3vw,40px);font-weight:600;letter-spacing:-.8px;margin:0 0 12px}h2{font-size:18px;font-weight:600;margin:0}p{line-height:1.8}.intro>p:not(.eyebrow){font-size:13px;color:#66766b}.specs{display:flex;flex-wrap:wrap;gap:12px 30px;margin-top:25px;font-size:12px;color:#6c776e}.specs b{font-size:15px;color:#354c3e;margin-left:8px;font-weight:500}.specs small{margin-left:5px}.workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid #dfe4db;border-radius:16px;box-shadow:0 5px 18px #20352b03}.controls{padding:24px}.step{display:inline-block;font-size:11px;border:1px solid #dce5db;border-radius:50%;padding:7px;margin-right:6px;color:#7b8a7b}.controls h2{margin-bottom:22px}label{display:block;font-size:12px;font-weight:500}input,select,button{font:inherit;color:inherit}input:not([type=checkbox]),select{width:100%;height:42px;border:1px solid #d8dfd5;border-radius:6px;padding:8px 10px;background:#fafbf8;margin:7px 0 16px;min-width:0}input:focus,select:focus,button:focus-visible,summary:focus-visible{outline:2px solid #367359;outline-offset:2px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.fields small{display:block;font-size:10px;color:#748176;margin-top:4px}.mass{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-note{font-size:10px;color:#728276;margin:0 0 18px}.primary{background:#234d40;color:white;border:0;border-radius:7px;width:100%;height:46px;font-size:13px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;cursor:pointer}.primary:hover{background:#30634e}#input-status{font-size:11px;min-height:17px;color:#8a391e;margin:10px 0}details{font-size:11px;color:#66776b;border-top:1px solid #e4e9df;padding-top:14px}summary{cursor:pointer}details a{color:#356c57}details p{margin-bottom:8px}.chart-panel{padding:28px;min-width:0}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.unit-label{font-size:11px;color:#778779}.toolbar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:24px}.toolbar label{font-size:10px;color:#738072}.toolbar select{font-size:11px;background:white}.legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:6px 0 16px}.legend label{font-size:11px;display:flex;align-items:center;gap:6px;cursor:pointer}.legend input{accent-color:#234d40;width:12px;height:12px}.legend i{width:16px;height:3px;border-radius:2px}.total{background:#264e40}.front{background:#4c83b2}.port{background:#ce9152}.cutoff{background:#97859d}.graph{width:100%;overflow:hidden}.graph svg{display:block;width:100%;height:auto}.graph-caption{font-size:10px;color:#7a8175;margin:10px 0 20px}.result-strip{border-top:1px solid #e6e9e1;border-bottom:1px solid #e6e9e1;padding:16px 0;display:flex;align-items:center;gap:24px;font-size:10px;color:#7b877a}.result-strip strong{font-size:16px;color:#344b3a;font-weight:500;margin-left:6px}.downloads{margin-left:auto;display:flex;gap:8px}.downloads button{border:1px solid #dce2d7;background:#fff;border-radius:5px;padding:9px 11px;font-size:11px;cursor:pointer}.downloads button:hover{background:#f0f4ed}button:disabled{opacity:.4;cursor:not-allowed}.conditions{border-top:0;margin-top:12px}footer{display:flex;justify-content:space-between;padding:28px 0;color:#7c897b;font-size:10px;letter-spacing:.7px}.mobile{display:none}@media(min-width:1400px){.workspace{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:1000px){.workspace{grid-template-columns:250px minmax(0,1fr);gap:14px}.controls,.chart-panel{padding:18px}.toolbar{grid-template-columns:1fr}.toolbar select{margin-bottom:5px}.result-strip{flex-wrap:wrap;gap:14px}.downloads{width:100%;margin-left:0}.unit-label{display:none}}@media(max-width:700px){header{padding:18px 5vw}.brand span{font-size:9px}.badge{font-size:9px;padding:6px 8px}main{padding-top:28px}.workspace{grid-template-columns:1fr}.controls{padding:22px}.fields{grid-template-columns:repeat(3,1fr);gap:0 12px}.toolbar{grid-template-columns:1fr 1fr}.toolbar label:last-child{grid-column:1/-1}.chart-panel{padding:16px}.chart-heading h2{font-size:17px}.legend{gap:10px}footer{gap:16px;flex-wrap:wrap}.specs{gap:12px 20px}.specs span{font-size:10px}.specs b{font-size:13px}.intro{margin-bottom:24px}.graph{min-height:200px}}@media(max-width:380px){.fields{grid-template-columns:1fr 1fr}.mobile{display:block}.brand span{display:none}}
@media(max-width:700px){.mobile{display:block}.fields{grid-template-columns:1fr 1fr}.graph{overflow-x:auto;-webkit-overflow-scrolling:touch}.graph svg{min-width:660px}.graph::before{content:'グラフは左右にスクロールできます';display:block;color:#758474;font-size:10px;margin-bottom:10px}}
.model-note{margin-top:20px;padding:16px 18px;background:#f5f7f1;border-left:3px solid #9baa8c;border-radius:0 6px 6px 0}.model-note h3{font-size:13px;margin:0 0 9px;font-weight:600}.model-note p{font-size:12px;line-height:1.9;margin:7px 0;color:#526450}.model-note strong{font-weight:600;color:#314e3b}.conditions p{line-height:1.9}
.guide{padding:20px 24px;margin-bottom:24px}.guide .model-note{margin-top:0}.guide .conditions{padding:12px 0 0;margin-top:10px}.guide .conditions p{max-width:90ch}@media(max-width:700px){.guide{padding:16px;margin-bottom:20px}.guide .model-note{padding:12px 14px}}
.depth-check{margin:22px 0;padding-top:18px;border-top:1px solid #e4e9df}.depth-check h3{font-size:13px;margin:0 0 14px}.depth-check p{font-size:11px;color:#607163;line-height:1.8}.depth-check input{margin-bottom:0}#depth-result{padding:12px;background:#f3f6ef;border-radius:6px;color:#344e3d}#depth-result[data-state=interference],#depth-result[data-state=tight]{background:#fff0dc;color:#844d1c}
.site-title{font-size:clamp(20px,2.4vw,30px);font-weight:600;letter-spacing:0;margin:0}.form-actions{display:flex;gap:8px;align-items:center}.form-actions .primary{flex:1}.reset{border:1px solid #ccd6c8;border-radius:7px;background:white;padding:12px 10px;white-space:nowrap;cursor:pointer;font-size:12px}#reset-help{margin:10px 0;color:#607163}.field-message{display:block;color:#884a22;font-size:11px;line-height:1.7;margin:-8px 0 14px}.fields .field-message{margin-top:-8px}.mass .field-message{grid-column:1/-1;margin-top:-10px}input[aria-invalid=true]{border:2px solid #a84230;background:#fff5f1}input[data-warning=true]{border-color:#b88038;background:#fffaf1}.input-warnings{background:#fff3df;border-left:3px solid #bd873d;border-radius:4px;padding:10px 14px;margin:0 0 18px;font-size:12px;color:#765026}.input-warnings p{margin:4px 0}.reset:hover{background:#f0f4ed}
header{gap:24px}.site-title{flex:1;min-width:0}.site-logo{display:block;width:128px;height:auto;flex:none}@media(max-width:700px){header{gap:16px}.site-logo{width:110px}.site-title{line-height:1.5}}
header{flex-direction:column;align-items:flex-start;gap:18px}.site-title{flex:none}.custom-comparison{margin-top:22px;padding-top:18px;border-top:1px solid #d8dfd5}.custom-comparison summary{font-size:13px;font-weight:600;line-height:1.8}.custom-comparison>p{font-size:11px;line-height:1.8;margin:14px 0}.custom-comparison form{margin-top:16px}.secondary{border:1px solid #ccd6c8;border-radius:6px;background:#f5f7f1;padding:10px;width:100%;font-size:11px;cursor:pointer}#comparison-status{font-size:11px;line-height:1.8;color:#715438;margin:12px 0}.custom-comparison form [aria-invalid=true]{border:2px solid #a84230}

.input-section{margin:0;padding:0;border-top:1px solid #e4e9df}.input-section>summary{font-size:13px;font-weight:600;line-height:1.6;padding:16px 0;min-height:48px;color:#344e3d}.input-section:first-child{border-top:0}.input-body{padding:4px 0 12px}.custom-comparison{padding-bottom:0}.custom-comparison[open]{padding-bottom:16px}.depth-check{margin:0}.chart-panel>#graph-settings{margin-top:18px}.zoom-controls{display:flex;gap:8px;margin:16px 0 10px}.zoom-controls button{min-height:44px;min-width:64px;border:1px solid #ccd6c8;border-radius:6px;background:white;cursor:pointer}.zoom-controls button[aria-pressed=true]{background:#234d40;color:white;border-color:#234d40}.graph{overflow:auto;max-height:70vh;min-height:0;overscroll-behavior-x:contain}.graph svg{width:calc(100% * var(--graph-zoom,1));max-width:none;min-width:0;height:auto}.graph::before{display:none}@media(max-width:700px){.controls{padding:8px 18px}.graph{max-height:65vh;min-height:0}.graph svg{min-width:0}.graph::before{display:none}}

.intro>p+p{margin-top:12px}.model-note p+p{margin-top:14px}.conditions p+p{margin-top:14px}
@media(min-width:701px){.zoom-controls,#zoom-help{display:none}.graph svg{width:100%}.graph{max-height:none}}
header{border-bottom:0}.site-title{width:100%;border-top:1px solid #d9ddd4;padding-top:18px}
