/* /mitsumori/ presentation. Field definitions and form behavior live in inc/forms.php. */
body.cb-estimate-page{--cb-font-body:'CB LP Zen Maru',sans-serif;--cb-font-script:'CB LP Caveat',cursive}
.cbes{--es-blue:var(--clear-blue);--es-deep:var(--clear-blue-deep);--es-ink:#354b66;--es-sub:#596d84;--es-line:#d3e1ee;--es-sky:#eff6fc;--es-cream:#fff9e5;background:var(--es-sky);color:var(--es-deep);font:400 15px/1.95 var(--cb-font-body);letter-spacing:.025em;position:relative;padding-bottom:34px}
.cbes::after{content:'';position:absolute;bottom:0;left:0;right:0;height:26px;background:repeat-x bottom/260px 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 26'%3E%3Cpath d='M0 13Q65-7 130 13T260 13V26H0Z' fill='white'/%3E%3C/svg%3E")}
.cbes *,.cbes *::before,.cbes *::after{box-sizing:border-box}
.cbes :is(h1,h2,h3,p,figure,ol,dl,dd){margin:0}
.cbes :is(h1,h2,h3){font-family:var(--cb-font-body);font-weight:700;color:inherit}
.cbes a{color:inherit;text-decoration:none}
.cbes :is(a,button):focus-visible{outline:3px solid var(--es-blue);outline-offset:5px}
.cbes img{display:block;width:100%;height:auto}
.cbes-wrap{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.cbes [id]{scroll-margin-top:138px}
.cbes .cbes-script{font:700 36px/1.2 var(--cb-font-script);letter-spacing:0;color:var(--es-blue)}
.cbes-crumbs{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding-top:21px;font-size:10px;color:var(--es-sub)}
.cbes-crumbs a:hover{text-decoration:underline}
.cbes-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);grid-template-rows:auto 1fr;gap:34px 64px;align-items:start;padding-block:41px 70px}
.cbes-hero{grid-column:1;grid-row:1;padding-top:10px}
.cbes h1{font-size:clamp(36px,3.8vw,50px);line-height:1.5;letter-spacing:.045em;margin-top:23px}
.cbes h1>span{display:block}
.cbes-catch{font-size:21px;line-height:1.95;font-weight:700;margin-top:24px!important;text-wrap:pretty}
.cbes-phrase{display:inline-block}
.cbes-marker{background:linear-gradient(transparent 79%,#ffe166 79%,#ffe166 96%,transparent 96%)}
.cbes-lead{font-size:14px;color:var(--es-ink);line-height:2.05;margin-top:17px!important}
.cbes-reassurance{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px;align-items:center;margin-top:27px;padding:19px 0;border-top:1px solid #c8d9eb;border-bottom:1px solid #c8d9eb}
.cbes-reassurance>div>span{display:block;font-size:11px;color:var(--es-sub);line-height:1.8}
.cbes-fee{border-right:1px solid #c8d9eb;padding-right:12px}
.cbes-fee p{display:flex;align-items:baseline;gap:3px;line-height:1.15;margin-top:5px}
.cbes-fee strong{font-weight:700;font-size:50px;letter-spacing:0}
.cbes-fee .cbes-currency{font-size:26px;letter-spacing:0}
.cbes-response p{font-size:12px;line-height:1.85;margin-top:8px}
.cbes-response strong{font-size:18px;letter-spacing:.01em}
.cbes-start{display:none}
.cbes-alternatives{margin-top:27px}
.cbes-alternatives .cbes-alternatives__title{font-family:var(--cb-font-body);font-weight:700;color:inherit;word-break:auto-phrase;font-size:13px;line-height:1.8;margin-bottom:15px}
.cbes-alternatives a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 21px;border-radius:14px;font-size:14px;line-height:1.7}
.cbes-simulator{border:1px solid #d7cda9;background:var(--es-cream)}
.cbes-simulator>span{display:grid;grid-template-columns:auto auto;align-items:center;gap:3px 10px;min-width:0}
.cbes-simulator small{grid-column:1/-1;font-size:10px;color:var(--es-sub)}
.cbes-simulator b{font-size:14px}
.cbes-simulator span>span{font-size:10px;white-space:nowrap}
.cbes-simulator svg{width:28px;height:28px;flex:none}
.cbes-simulator:hover{border-color:var(--es-blue)}
.cbes .cbes-line{border:1px solid var(--cb-line,#06c755);background:var(--cb-line,#06c755);color:#fff;padding-block:14px;margin-top:10px}
.cbes-line>span:first-child{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.cbes-line b{font-size:13px}
.cbes-line small{font-size:10px}
.cbes-line small>span{display:inline-block}
.cbes-line>span[aria-hidden]{font-size:22px;line-height:1}
.cbes-line:hover{background:var(--cb-line,#06c755);opacity:.92}
.cbes-form-area{grid-column:2;grid-row:1/3;min-width:0}
.cbes-form-heading>p[lang]{font-size:10px;letter-spacing:.14em;font-weight:700;color:var(--es-sub);margin:0 0 8px}
.cbes-form-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:27px;line-height:1.7;letter-spacing:.02em}
.cbes-form-heading>p:last-child{font-size:12px;line-height:1.95;color:var(--es-ink);margin-top:10px}
.cbes-form-heading>p:last-child span{font-weight:700;color:var(--es-deep);font-size:15px;margin-inline:3px}
.cbes .cb-form-step__nav{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-top:1px solid var(--es-line);border-bottom:1px solid var(--es-line);margin:22px 0 25px;flex-wrap:nowrap}
.cbes .cb-form-step__item{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.8;font-weight:700;color:var(--es-sub);white-space:nowrap}
.cbes .cb-form-step__item+.cb-form-step__item::before{display:none}
.cbes .cb-form-step__num{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:white;border:1px solid #bdcfe3;border-radius:50%;color:var(--es-sub);font:700 12px/1 var(--cb-font-body);letter-spacing:0}
.cbes .cb-form-step__item.is-current{color:var(--es-deep)}
.cbes .cb-form-step__item.is-current .cb-form-step__num{background:var(--es-blue);color:white;border-color:var(--es-blue)}
.cbes .cb-form-step__item.is-done .cb-form-step__num{background:#e0eafa;color:var(--es-deep)}
.cbes .cbes-form-shell{background:transparent;border:0;padding:0;box-shadow:none;border-radius:0}
.cbes .cb-form__group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:23px 22px;background:white;border:1px solid #d9e4ee;border-radius:20px;padding:28px 30px 31px;margin:0 0 22px}
.cbes .cb-form__group-head{grid-column:1/-1;border-bottom:1px solid var(--es-line);padding-bottom:20px;margin-bottom:0}
.cbes .cb-form__group-title{display:flex;align-items:center;gap:13px}.cbes .cb-form__group-head h3{font-size:21px;line-height:1.6}
.cbes .cb-form__group-num{font:600 33px/1 var(--cb-font-script);color:var(--es-blue);letter-spacing:0}
.cbes .cb-form__group-head p{font-size:11px;color:var(--es-sub);line-height:1.9;margin-top:8px}
.cbes .cb-form__field{margin:0;min-width:0}
.cbes .cb-form__field:has(:is(#cbf-level,#cbf-your_school,[name="menu[]"],#cbf-referral,#cbf-your_message)){grid-column:1/-1}
.cbes .cb-form__label{font-size:13px;font-weight:700;line-height:1.8;color:var(--es-deep);gap:9px;flex-wrap:wrap}
.cbes .cb-form__req,.cbes .cb-form__opt{font:700 9px/1.8 var(--cb-font-body);border-radius:5px;padding:1px 7px;letter-spacing:.02em;white-space:nowrap}
.cbes .cb-form__req{background:#fae9e3;color:#a43f27}
.cbes .cb-form__opt{background:#edf1f6;color:#596b81}
.cbes .cb-form__input{display:block;width:100%;min-width:0;min-height:51px;margin-top:9px;padding:12px 14px;background:#fbfcfe;border:1px solid #b8cbe1;border-radius:10px;color:var(--es-ink);font:400 16px/1.7 var(--cb-font-body);letter-spacing:.015em;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.cbes .cb-form__input::placeholder{color:#748294;opacity:1;font-size:12px;letter-spacing:0}
.cbes .cb-form__input:focus{outline:2px solid var(--es-blue);outline-offset:2px;border-color:var(--es-blue);box-shadow:0 0 0 5px #e4edf9}
.cbes textarea.cb-form__input{resize:vertical;min-height:148px;line-height:1.95}
.cbes select.cb-form__input{appearance:none;-webkit-appearance:none;background:#fbfcfe no-repeat right 15px center/13px 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23234f98' stroke-width='1.5'/%3E%3C/svg%3E");padding-right:37px;font-size:14px}
.cbes .cb-form__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:9px}
.cbes .cb-form__choice{display:flex;align-items:center;gap:9px;min-height:46px;border:1px solid #bccfe1;border-radius:8px;padding:10px 12px;background:#fbfcfe;color:var(--es-ink);font-size:12px;line-height:1.7;letter-spacing:.01em;min-width:0}
.cbes .cb-form__choice input{flex:none;appearance:auto;width:15px;height:15px;margin:0;accent-color:var(--es-blue)}
.cbes .cb-form__choice:has(input:checked){background:#e5effd;border-color:var(--es-blue);color:var(--es-deep)}
.cbes .cb-form__choice:has(input:checked) input{accent-color:var(--es-blue)}
.cbes .cb-form__choice:has(input:focus-visible){outline:2px solid var(--es-blue);outline-offset:3px}
.cbes .cb-form__choice:hover{border-color:var(--es-blue)}
.cbes .cb-form__field:has([name="gender"]) .cb-form__choices{display:flex;gap:10px}
.cbes .cb-form__field:has([name="gender"]) .cb-form__choice{padding:11px 14px;font-size:13px}
.cbes .cb-form__field.has-error .cb-form__input{border-color:#b84935;background:#fff9f6}
.cbes .cb-form__error{font-size:12px;font-weight:700;line-height:1.8;color:#a43f27;margin:9px 0 0}
.cbes .cb-form__error-banner{font-size:13px;line-height:1.9;border-radius:12px;color:#a43f27;overflow-wrap:anywhere;margin-bottom:22px}
.cbes .cb-form__subject{border:1px solid #d4c795;background:var(--es-cream);border-radius:16px;padding:20px 23px;margin-bottom:23px}
.cbes .cb-form__subject-label{font-size:11px;color:var(--es-sub)}
.cbes .cb-form__subject-body{font-size:19px;line-height:1.75;margin-top:8px;color:var(--es-deep);overflow-wrap:anywhere}
.cbes .cb-form__subject-course{font-size:14px;color:var(--es-ink)}
.cbes .cb-form__subject-note{font-size:11px;line-height:1.9;margin-top:10px;color:var(--es-sub)}
.cbes .cb-form__btns{display:flex;gap:13px;margin-top:27px;flex-wrap:nowrap}
.cbes :is(.cb-form__submit,.cb-form__back){box-shadow:none;border:0;border-radius:30px;font:700 14px/1.8 var(--cb-font-body);letter-spacing:.025em;min-height:58px;padding:16px 22px;transform:none}
.cbes .cb-form__submit{background:var(--es-blue);color:white;flex:1}
.cbes .cb-form__back{background:#e9eff7;color:var(--es-deep);flex:none}
.cbes :is(.cb-form__submit,.cb-form__back):hover{filter:brightness(.96);transform:none;box-shadow:none}
.cbes .cb-form__submit:disabled{opacity:.65;cursor:wait}
.cbes .cb-form__privacy{font-size:11px;line-height:1.95;color:var(--es-sub);margin-top:17px}
.cbes .cb-form__privacy a{text-decoration:underline;text-underline-offset:3px;color:var(--es-deep)}
.cbes-support{grid-column:1;grid-row:2;max-width:420px}
.cbes-support img{aspect-ratio:1.65;object-fit:cover;border-radius:18px}
.cbes-support figcaption{display:flex;flex-direction:column;gap:9px;margin-top:12px;font-size:10px;line-height:1.8;color:var(--es-sub)}
.cbes-support figcaption .cbes-script{font-size:32px;line-height:1.2}
.cbes-support>p{font-size:12px;color:var(--es-ink);line-height:2;margin-top:22px}
/* 浮動部品(下部の帯・AI・電話・追尾 CTA)は従来のデザインと同じ出し方にする(入力画面では出し、確認画面だけ style.css の body.cb-form-step-confirm で隠す。2026-10-03) */
/* Confirmation retains the shared state, markup, hidden fields, and action buttons. */
.cbes--confirm{padding-bottom:83px}
.cbes .cb-form-step{background:transparent;border:0;padding:37px 24px 28px}
.cbes .cb-form-step__inner{max-width:680px}
.cbes .cb-form-step__inner .cb-form-step__nav{max-width:480px;margin:0 auto 26px;padding:0;border:0}
.cbes .cb-form-step__title{font-size:33px;line-height:1.6;letter-spacing:.025em;margin:0}
.cbes .cb-form-step__note{font-size:12px;line-height:2;color:var(--es-sub);margin-top:13px}
.cbes .cb-form-step__note>span:last-child{font-weight:700;color:var(--es-deep)}
.cbes-confirm__inner{max-width:840px;width:calc(100% - 64px);margin-inline:auto;padding:31px 38px 35px;background:white;border:1px solid var(--es-line);border-radius:22px;box-shadow:none}
.cbes .cb-form__confirm-lead{font-size:14px;line-height:1.9;padding-bottom:20px;margin:0;color:var(--es-deep);border-bottom:1px solid var(--es-line)}
.cbes .cb-form__confirm-row{display:grid;grid-template-columns:185px minmax(0,1fr);gap:25px;padding:20px 0;border-bottom:1px solid var(--es-line)}
.cbes .cb-form__confirm-row dt{font-size:12px;line-height:1.9;color:var(--es-sub)}
.cbes .cb-form__confirm-row dd{font-size:15px;line-height:1.95;color:var(--es-ink);overflow-wrap:anywhere}
.cbes .cb-form__none{font-size:12px;color:var(--es-sub)}
@media(max-width:1100px){
 .cbes-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:30px 35px}.cbes h1{font-size:38px}.cbes-catch{font-size:18px}.cbes-lead{font-size:13px}.cbes-response strong{font-size:16px}.cbes-reassurance{gap:14px}.cbes-simulator>span{grid-template-columns:1fr}.cbes-simulator b{font-size:13px}.cbes-alternatives a{padding:16px 17px}.cbes .cb-form__group{padding:25px;gap:22px 17px}.cbes-form-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:24px}.cbes .cb-form__label{font-size:12px;gap:7px}.cbes .cb-form__choice{font-size:11px;padding:10px;gap:7px}
}
@media(min-width:821px) and (max-width:1000px){
 .cbes .cb-form__group{grid-template-columns:minmax(0,1fr)}.cbes .cb-form__choice{font-size:12px}
}
@media(max-width:919px){
 body.cb-estimate-page.cb-form-step-confirm .cbes .cb-form__btns{position:fixed;left:0;right:0;bottom:0;z-index:70;margin:0;padding:12px max(20px,calc((100% - 750px)/2)) calc(12px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--es-line);box-shadow:0 -6px 20px -14px #a0b5d1}
 body.cb-estimate-page.cb-form-step-confirm .cbes .cb-form__card{padding-bottom:106px}
}
@media(max-width:820px){
 .cbes-layout{grid-template-columns:1fr;gap:33px;max-width:700px;padding-block:30px 53px}.cbes-hero,.cbes-form-area,.cbes-support{grid-column:1;grid-row:auto}.cbes-hero{padding:0}.cbes h1{font-size:39px;margin-top:17px}.cbes h1>span{display:inline}.cbes h1>span+span{margin-left:.15em}.cbes-catch{font-size:20px;max-width:510px;margin-top:20px!important}.cbes-lead{font-size:13px;margin-top:12px!important}.cbes-lead br{display:none}.cbes-reassurance{max-width:430px;grid-template-columns:1fr 1.5fr;margin-top:21px;padding:14px 0;gap:22px}.cbes-fee strong{font-size:41px}.cbes-response strong{font-size:18px}.cbes-response p{margin-top:5px}.cbes-response br{display:none}.cbes-start{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;padding:14px 22px;background:var(--es-blue);color:white!important;border-radius:30px;font-size:14px;font-weight:700;min-height:54px;max-width:430px}.cbes-start>span{font-size:21px;font-weight:400}.cbes-alternatives{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.cbes-alternatives .cbes-alternatives__title{grid-column:1/-1;font-size:11px;margin:0}.cbes-alternatives a{padding:12px 17px}.cbes-simulator small{display:none}.cbes .cbes-line{margin:0}.cbes-line>span:first-child{display:block}.cbes-line small{display:block;margin-top:4px}.cbes-simulator b{font-size:13px}.cbes-form-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:26px}.cbes .cb-form__group{gap:23px 20px;padding:28px}.cbes .cb-form__label{font-size:13px}.cbes .cb-form__choice{font-size:12px;padding:11px 13px}.cbes-support{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:27px;align-items:center;margin-top:6px}.cbes-support img{aspect-ratio:1.7}.cbes-support>p{margin:0}.cbes-support figcaption .cbes-script{font-size:29px}
}
@media(max-width:600px){
 .cbes{letter-spacing:.015em}.cbes-wrap{width:calc(100% - 40px)}.cbes [id]{scroll-margin-top:115px}.cbes-crumbs{font-size:9px;gap:10px;padding-top:17px}.cbes .cbes-script{font-size:31px}.cbes-layout{padding-block:25px 40px;gap:29px}.cbes h1{font-size:35px;line-height:1.45;letter-spacing:.04em;margin-top:14px}.cbes h1>span{display:block}.cbes h1>span+span{margin:0}.cbes-catch{font-size:18px;line-height:1.9;margin-top:17px!important}.cbes-lead{font-size:12px;line-height:1.95;margin-top:10px!important}.cbes-reassurance{margin-top:18px;padding:13px 0;gap:17px;grid-template-columns:.8fr 1.2fr}.cbes-reassurance>div>span{font-size:10px}.cbes-fee strong{font-size:39px}.cbes-fee .cbes-currency{font-size:22px}.cbes-response strong{font-size:16px}.cbes-response p{font-size:11px;line-height:1.8}.cbes-response br{display:block}.cbes-start{margin-top:18px;font-size:12px;padding:13px 20px;min-height:51px}.cbes-alternatives{gap:9px;margin-top:15px}.cbes-alternatives .cbes-alternatives__title{font-size:10px}.cbes-alternatives a{padding:11px 13px;border-radius:11px}.cbes-simulator b{font-size:11px}.cbes-simulator span>span{font-size:9px}.cbes-simulator svg{display:none}.cbes-line b{font-size:12px}.cbes-line small{font-size:9px;margin-top:2px}.cbes-line>span[aria-hidden]{font-size:19px}
 .cbes-form-heading>p[lang]{display:none}.cbes-form-heading :is(h2,p):where(:not(.cb-h2-label)):where(h2,.cb-h2-display){font-size:23px;line-height:1.7}.cbes-form-heading>p:last-child{font-size:11px;line-height:1.95;margin-top:9px}.cbes-form-heading>p:last-child span{font-size:14px}.cbes .cb-form-step__nav{padding-block:17px;gap:8px;margin:19px 0 21px}.cbes .cb-form-step__item{font-size:11px;gap:6px}.cbes .cb-form-step__num{width:24px;height:24px;font-size:11px}.cbes .cb-form__group{grid-template-columns:minmax(0,1fr);padding:22px 20px 25px;border-radius:17px;gap:23px;margin-bottom:19px}.cbes .cb-form__group-head{padding-bottom:18px}.cbes .cb-form__group-head h3{font-size:20px}.cbes .cb-form__group-title{gap:12px}.cbes .cb-form__group-num{font-size:30px}.cbes .cb-form__group-head p{font-size:10px;line-height:1.95;margin-top:8px}.cbes .cb-form__label{font-size:13px;gap:8px}.cbes .cb-form__input{font-size:16px;padding:12px;min-height:53px}.cbes .cb-form__input::placeholder{font-size:12px}.cbes select.cb-form__input{font-size:16px;padding-right:34px}.cbes textarea.cb-form__input{min-height:160px}.cbes .cb-form__choices{gap:8px;grid-template-columns:1fr 1fr}.cbes .cb-form__choice{font-size:11px;padding:10px 9px;gap:7px;min-height:48px}.cbes .cb-form__choice input{width:14px;height:14px}.cbes .cb-form__subject{padding:18px 20px;border-radius:16px}.cbes .cb-form__subject-body{font-size:17px}.cbes .cb-form__subject-course{font-size:13px}.cbes .cb-form__subject-note{font-size:10px}.cbes .cb-form__btns{margin-top:23px;gap:10px}.cbes :is(.cb-form__submit,.cb-form__back){font-size:13px;padding:15px 18px;min-height:55px}.cbes .cb-form__privacy{font-size:10px;margin-top:14px}
 .cbes-support{display:block;max-width:440px;margin-top:3px}.cbes-support img{aspect-ratio:2.05;border-radius:16px}.cbes-support figcaption{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;font-size:9px;margin-top:10px}.cbes-support figcaption .cbes-script{font-size:28px}.cbes-support>p{margin-top:15px;font-size:11px}.cbes-support>p br{display:none}
 .cbes--confirm{padding-bottom:63px}.cbes .cb-form-step{padding:29px 20px 24px}.cbes .cb-form-step__inner .cb-form-step__nav{margin-bottom:22px;max-width:360px}.cbes .cb-form-step__title{font-size:27px}.cbes .cb-form-step__note{font-size:11px;line-height:2;margin-top:11px}.cbes-confirm__inner{width:calc(100% - 40px);padding:23px 21px 28px;border-radius:18px}.cbes .cb-form__confirm-lead{font-size:13px;line-height:1.9;padding-bottom:17px}.cbes .cb-form__confirm-row{grid-template-columns:1fr;gap:7px;padding:18px 0}.cbes .cb-form__confirm-row dt{font-size:11px}.cbes .cb-form__confirm-row dd{font-size:14px;line-height:1.95}
}
@media(max-width:360px){
 .cbes-wrap{width:calc(100% - 32px)}.cbes h1{font-size:32px}.cbes-catch{font-size:17px}.cbes-reassurance{gap:13px}.cbes-response strong{font-size:15px}.cbes-alternatives a{padding-inline:11px}.cbes-simulator b{font-size:10px}.cbes .cb-form__group{padding-inline:16px}.cbes .cb-form__group-head h3{font-size:18px}.cbes .cb-form-step__item{font-size:10px;gap:5px}.cbes .cb-form-step__num{width:21px;height:21px;font-size:10px}.cbes .cb-form__choices:has([name="menu[]"]){grid-template-columns:1fr}.cbes-confirm__inner{width:calc(100% - 32px);padding-inline:18px}body.cb-estimate-page.cb-form-step-confirm .cbes .cb-form__btns{padding-inline:12px;gap:8px}.cbes-confirm :is(.cb-form__submit,.cb-form__back){font-size:12px;padding-inline:13px;letter-spacing:.01em}
}
@media(prefers-reduced-motion:reduce){.cbes .cb-form__input{transition:none}}
/* iOS は 16px 未満の入力欄をタップすると画面を拡大する。上の選択欄の文字の大きさは、共通の指定(style.css のタッチ端末で 16px)より強く当たるので、タッチ端末ではここでも 16px に戻す(PC は上の大きさのまま)。 */
@media(hover:none) and (pointer:coarse){.cbes select.cb-form__input{font-size:16px}}
/* 見出しの文言を従来のデザインにそろえた小見出し(h2.cb-h2-label)と大きな文(.cb-h2-display)の、このページでの手直し(2026-10-03。定義は style.css)。
   上の :is(h1,h2,h3,p,...){margin:0} が小見出しにも当たるので余白を戻す。大きな文は元の h2 と同じく折り返しの指定(text-wrap)を持たせない。
   「ほかの方法で、費用を知りたい方へ」は見出しにせず段落(.cbes-alternatives__title)にした。大きさ・余白・字の指定は上の .cbes-alternatives .cbes-alternatives__title で元の見出しと同じにしている */
.cbes .cbes-form-heading h2.cb-h2-label{margin:0 0 .5em}
.cbes .cb-h2-display{text-wrap:wrap}
/* 最後の相談の部品(従来のデザインと同じく入力画面・確認画面とも出す。2026-10-03)。main の外に置くので body のクラスで当てる。
   main の最後の白い波に続けて白い帯にし、中の並びはお問い合わせ(css/inquiry-page.css)と同じにする */
body.cb-estimate-page .cb-final{background:#fff;color:var(--clear-blue-deep);font:400 15px/1.95 var(--cb-font-body);letter-spacing:.025em;padding:72px 32px 72px}
body.cb-estimate-page :is(.cb-final,.cb-final *){box-sizing:border-box}
body.cb-estimate-page .cb-final>.cb-wave{display:none}
body.cb-estimate-page .cb-final .cb-deco{display:none}
body.cb-estimate-page .cb-final__box{display:grid;grid-template-columns:1.1fr 1fr;gap:0 75px;max-width:1180px;padding:0;background:transparent;box-shadow:none;border:0;border-radius:0;text-align:left}
body.cb-estimate-page .cb-final__script{grid-column:1;grid-row:1;font:700 35px/1.2 var(--cb-font-script);color:var(--clear-blue);margin:0 0 22px;transform:none}
body.cb-estimate-page .cb-final__h2{grid-column:1;grid-row:2;font-size:32px;line-height:1.75;letter-spacing:.02em;color:var(--clear-blue-deep);margin:0}
body.cb-estimate-page .cb-final__lead{grid-column:1;grid-row:3;font-size:13px;line-height:2;color:#354b66;margin:21px 0 0}
body.cb-estimate-page .cb-final__btns{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;justify-content:center;gap:16px;margin:0}
body.cb-estimate-page .cb-final__btn{width:100%;min-height:57px;padding:17px 23px;border-radius:32px;box-shadow:none;font-size:14px;font-weight:700;line-height:1.7;transform:none}
body.cb-estimate-page .cb-final__btn--line{background:var(--cb-line,#06c755);color:#fff}
body.cb-estimate-page .cb-final__btn--white{background:var(--clear-blue);color:#fff}
body.cb-estimate-page .cb-final__btn:hover{filter:brightness(.97)}
@media(max-width:1100px){body.cb-estimate-page .cb-final__box{gap:0 45px}body.cb-estimate-page .cb-final__h2{font-size:29px}}
@media(max-width:820px){body.cb-estimate-page .cb-final__h2{font-size:26px}body.cb-estimate-page .cb-final__btn{font-size:12px}}
@media(max-width:600px){body.cb-estimate-page .cb-final{padding:52px 20px 47px;letter-spacing:.015em}body.cb-estimate-page .cb-final__box{display:block;max-width:440px}body.cb-estimate-page .cb-final__script{font-size:30px;margin-bottom:17px}body.cb-estimate-page .cb-final__h2{font-size:27px;line-height:1.7}body.cb-estimate-page .cb-final__lead{font-size:12px;margin-top:18px}body.cb-estimate-page .cb-final__btns{margin-top:25px;gap:12px}body.cb-estimate-page .cb-final__btn{font-size:13px}}
@media(max-width:360px){body.cb-estimate-page .cb-final__h2{font-size:24px}}
