.cfc{--cfc-ink:#182b3b;--cfc-sea:#087b80;--cfc-line:#cbd9dc;max-width:1050px;margin:2rem auto;color:var(--cfc-ink);border:1px solid var(--cfc-line);border-radius:20px;overflow:hidden;box-shadow:0 12px 35px rgba(18,40,51,.08);font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;line-height:1.6;background:#fff}.cfc *{box-sizing:border-box}.cfc-head{background:linear-gradient(115deg,#142c3b,#176269);padding:2rem;color:white}.cfc-head h2{font-size:clamp(1.4rem,3.5vw,2.15rem);margin:.1rem 0 .5rem;color:white}.cfc-head p{margin:.4rem 0}.cfc-eyebrow{font-size:.7rem;letter-spacing:.18em;opacity:.8}.cfc-inner{padding:1.4rem}.cfc-mode{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;border:0;padding:0;margin:0 0 1rem}.cfc-mode legend,.cfc-panel legend{font-weight:700;padding:0 .3rem}.cfc-mode label{cursor:pointer}.cfc-notice{padding:.8rem 1rem;background:#eaf6f5;border-left:4px solid var(--cfc-sea);border-radius:6px;margin:1rem 0}.cfc-grid,.cfc-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.cfc-common{margin:1rem 0}.cfc-panel{border:1px solid var(--cfc-line);border-radius:12px;padding:1rem;min-width:0}.cfc-panel label,.cfc-common label{display:block;font-size:.9rem;font-weight:600;margin:.65rem 0}.cfc input[type="number"],.cfc select{display:block;width:100%;min-height:43px;padding:.55rem .7rem;margin:.3rem 0;border:1px solid #a8bdc4;border-radius:7px;background:#fff;color:var(--cfc-ink);font:inherit}.cfc input:focus,.cfc select:focus,.cfc button:focus-visible{outline:3px solid #44b7bd;outline-offset:1px}.cfc-caption,.cfc-foot{font-size:.84rem;color:#4d5d67}.cfc-calculate{border:0;background:var(--cfc-sea);color:white;padding:.85rem 1.8rem;border-radius:9px;font-weight:700;font-size:1rem;cursor:pointer;margin:1rem 0}.cfc-calculate:hover{background:#075d62}.cfc-error{padding:.65rem 1rem;background:#fce9e8;color:#8a2424;border-radius:7px}.cfc-results{border-top:2px solid var(--cfc-sea);padding-top:1rem}.cfc-results h3{font-size:1.25rem;margin:.5rem 0}.cfc-results small{font-size:.75rem;color:#59717b}.cfc-scroll{overflow-x:auto}.cfc-results table{width:100%;border-collapse:collapse;min-width:440px;font-size:.9rem}.cfc-results th,.cfc-results td{padding:.7rem;text-align:right;border-bottom:1px solid var(--cfc-line)}.cfc-results th:first-child{text-align:left}.cfc-results thead{background:#eaf3f3}.cfc-results tbody tr:nth-child(3),.cfc-results tbody tr:nth-child(4){font-weight:700}.cfc-verdict{padding:.7rem 1rem;margin:.7rem 0;background:#eaf6f5;border-radius:8px;font-weight:700}.cfc-foot{border-top:1px solid var(--cfc-line);padding-top:1rem;margin-top:1.5rem}@media(max-width:700px){.cfc-inner,.cfc-head{padding:1rem}.cfc-grid,.cfc-columns{grid-template-columns:1fr}.cfc-panel{padding:.8rem}}
