
:root{--cp-blue:#082e81;--cp-deep:#052a6d;--cp-line:#b4d6f3;--cp-red:#EC1C2E}
body{margin:0;background:#fff;color:var(--cp-deep);font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
.cp-wrap,.cp-wrap *{box-sizing:border-box}.cp-wrap{width:min(1400px,calc(100% - 40px));margin-inline:auto;background:transparent;overflow:hidden;position:relative}
.cp-hero{height:296px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(105deg,#e5f6ff,#a8dcff 60%,#78bce9);}
.cp-hero__landscape{position:absolute;inset:0;z-index:-3;background:url('img/contact/contact-bg.webp') center 58%/cover no-repeat,linear-gradient(115deg,#eafaff,#77c5ff);opacity:.8}
.cp-hero__ribbon{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(136deg,transparent 10%,rgba(0,104,224,.22) 17%,transparent 24%),linear-gradient(8deg,rgba(0,107,245,.5),rgba(180,223,255,.08) 12%,transparent 30%);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}
.cp-hero__art{position:absolute;right:0;top:59px;bottom:0;width:55%;z-index:-2;background:url('img/contact/contact-hero-photo.webp') right bottom/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 13%);mask-image:linear-gradient(90deg,transparent 0,#000 13%)}
.cp-header{height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 30px;position:relative;z-index:8;background:linear-gradient(180deg,rgba(230,244,255,.32),transparent)}
.cp-brand{display:flex;align-items:center;gap:9px;color:var(--cp-deep);text-decoration:none;flex-shrink:0}.cp-brand img{width:40px;height:40px;object-fit:contain}.cp-brand strong{display:block;font-weight:900;font-size:clamp(13px,1.3vw,18px);white-space:nowrap}.cp-brand small{display:block;font-size:clamp(10px,.9vw,12px);font-weight:800}
.cp-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.1vw,31px)}.cp-nav a{position:relative;text-decoration:none;color:#06285d;font-size:clamp(11px,1.12vw,15px);font-weight:850;white-space:nowrap;padding:13px 0 15px}.cp-nav a:hover{color:#0070ca}.cp-nav a.is-active:after{content:"";position:absolute;bottom:5px;left:0;right:0;height:2px;background:var(--cp-red)}
.cp-head-contact{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#0a3faa,#002367);border-radius:14px;color:#fff;text-decoration:none;padding:9px 15px;white-space:nowrap;font-size:13px;font-weight:800;box-shadow:0 5px 14px #00377c33}.cp-head-contact svg{width:19px;height:19px}.cp-menu-toggle{display:none}
.cp-hero__text{position:absolute;top:104px;left:6.8%;z-index:1;max-width:49%}.cp-hero__text h1{font-size:clamp(40px,4.3vw,64px);line-height:1.18;letter-spacing:.035em;margin:0 0 20px;font-weight:900;color:#052d7b}.cp-lead{border-left:4px solid #083f9f;padding-left:20px;line-height:1.83;font-size:clamp(13px,1.2vw,17px);font-weight:650}.cp-lead strong{font-size:1.1em}
.cp-main{padding:14px 4.1% 0;position:relative;z-index:1;background:transparent}
.cp-columns{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(270px,1fr);gap:20px;align-items:start}
.cp-form-panel,.cp-info-card{background:linear-gradient(150deg,#fff,#f7fbff);border:1px solid #d3e6fb;border-radius:20px;box-shadow:0 5px 18px rgba(23,75,145,.12);overflow:hidden}
.cp-form-panel{background:#fff}.cp-section-title{display:flex;align-items:center;gap:16px;min-height:50px;font-size:clamp(17px,1.7vw,24px);font-weight:900;margin:0;color:white;background:linear-gradient(115deg,#063c9c,#0078d5 77%,#8fc9f4);border-radius:19px 30px 30px 0;padding:9px 23px;max-width:72%;white-space:nowrap}.cp-section-title svg{height:26px;width:26px}
.cp-form-body{padding:17px 30px 21px}.cp-field{margin-bottom:15px;min-width:0}.cp-field>label,.cp-fieldset legend{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:850;margin-bottom:7px;color:#0a317e}.cp-field label svg{width:18px;height:18px;flex-shrink:0}.cp-required{display:inline-block;font-size:11px;font-weight:800;color:#fff;background:#072c7b;border-radius:4px;padding:1px 7px;margin-left:4px}.cp-field input:not([type=checkbox]),.cp-field textarea,.cp-field select{width:100%;background:linear-gradient(#fff,#fbfdff);border:1px solid #b7cfe9;box-shadow:inset 0 1px 3px #1639680c;padding:10px 14px;border-radius:7px;min-height:40px;font:inherit;font-size:14px;color:#0b3074}.cp-field input::placeholder,.cp-field textarea::placeholder{color:#8199b8}.cp-field textarea{resize:vertical;min-height:90px}.cp-field input:focus,.cp-field textarea:focus,.cp-field select:focus{outline:2px solid #5eaff8;outline-offset:0}.cp-fieldset{border:0;padding:0;margin-inline:0}.cp-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;font-size:13px}.cp-checkboxes label{display:flex;align-items:flex-start;gap:8px;font-weight:650;cursor:pointer}.cp-checkboxes input{accent-color:#0a50a8;width:17px;height:17px;flex-shrink:0;margin:0}.cp-privacy{font-size:11px;line-height:1.65;font-weight:600;margin:8px 0 17px}.cp-error{color:#b91c1c;font-size:12px;line-height:1.5;margin-top:4px}.cp-primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:11px 32px;border:1px solid #c9def1;border-radius:999px;color:#fff;font:inherit;font-size:17px;font-weight:900;text-decoration:none;background:linear-gradient(#008ce6,#0849b6 58%,#002a88);box-shadow:0 6px 10px #004bb43b;cursor:pointer;margin:0 auto;max-width:310px;width:100%}.cp-primary svg{width:23px;height:23px}.cp-primary svg:last-child{margin-left:auto;width:18px}.cp-primary:hover{filter:brightness(1.08)}
.cp-aside{display:grid;gap:14px}.cp-info-card{padding:13px 19px}.cp-info-card h2{margin:0 0 10px;display:flex;align-items:center;gap:8px;font-size:clamp(16px,1.5vw,21px);font-weight:900;color:#06337b}.cp-info-card h2 svg{width:28px;height:28px;flex:none;fill:#0a429e10}
.cp-tel{background:linear-gradient(140deg,rgba(10,105,217,.82),rgba(255,255,255,.92) 42%),url('img/contact/contact-bg.webp') center/cover no-repeat}.cp-tel h2{color:#fff;text-shadow:0 1px 3px #0d499c}.cp-tel h2 svg{stroke:#fff}.cp-tel-number{display:flex;align-items:center;gap:14px;white-space:nowrap;color:#052b72;text-decoration:none;font-size:clamp(26px,2.5vw,37px);font-weight:950;letter-spacing:.02em}.cp-tel-number svg{width:42px;height:42px;fill:#0950a8;stroke:#0750a4}.cp-tel-hours{margin:2px 0 9px 56px;font-size:14px;font-weight:800}.cp-tel small{font-size:10px;line-height:1.5;font-weight:650}
.cp-area{padding:16px 18px}.cp-area-summary{font-size:clamp(15px,1.3vw,18px);line-height:1.55;font-weight:900;margin:9px 0 5px}.cp-area-sub{font-size:12px;font-weight:650;margin:0 0 12px}.cp-area-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cp-area-card{margin:0;position:relative;overflow:hidden;border-radius:12px;background:#beddf5;aspect-ratio:1.7}.cp-area-card img{width:100%;height:100%;object-fit:cover;display:block}.cp-area-card figcaption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,#073575d9);color:white;text-align:center;font-size:14px;font-weight:850;padding:15px 0 7px}.cp-other-area{margin:10px 5px 0;display:flex;align-items:center;justify-content:center;gap:22px}.cp-japan{width:85px;height:58px;background:radial-gradient(ellipse at 60% 20%,#c1e4ff,#edf7ff);color:#0d66b4;font-weight:900;font-size:12px;display:grid;place-items:center;border-radius:50%;transform:rotate(-12deg)}.cp-other-area strong{font-size:15px;line-height:1.5}
.cp-faq{padding:16px 19px}.cp-faq h2{margin-bottom:7px;font-weight:750}.cp-faq-list{border-top:1px solid #d2e2f4}.cp-faq-item{border-bottom:1px solid #d2e2f4}.cp-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;font-size:15px;font-weight:550;line-height:1.5;padding:7px 0}.cp-faq-item summary::-webkit-details-marker{display:none}.cp-faq-item summary span{display:grid;place-items:center}.cp-faq-item svg{width:16px;height:16px;transition:transform .2s}.cp-faq-item[open] svg{transform:rotate(90deg)}.cp-faq-item p{font-size:15px;font-weight:450;line-height:1.6;margin:0 0 10px}.cp-faq-more{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#064ba3;font-size:12px;font-weight:800;text-decoration:none;padding-top:8px}.cp-faq-more svg{width:17px;height:17px}
.cp-estimate{margin:18px 0 20px;display:flex;align-items:center;min-height:130px;border-radius:17px;overflow:hidden;border:1px solid #c6defa;box-shadow:0 3px 14px #12488621;background:#e5f1fd url("img/contact/contact-estimate-unified.webp") right center / cover no-repeat;position:relative}.cp-estimate-text{padding:13px 21px 13px 34px;min-width:0;z-index:2;position:relative}.cp-estimate h2{font-weight:750;font-size:clamp(17px,2vw,25px);color:#073586;margin:0 0 7px}.cp-estimate p{font-size:clamp(12px,1.18vw,15px);line-height:1.6;font-weight:670;margin:0}.cp-estimate img{width:46%;max-height:130px;height:100%;object-fit:cover;object-position:center}
.cp-confirm{padding:18px 0}.cp-confirm h3{font-size:21px;margin:0 0 14px}.cp-confirm dl{display:grid;grid-template-columns:136px 1fr;margin:0}.cp-confirm dt,.cp-confirm dd{padding:9px;margin:0;border-bottom:1px solid #d8e9f5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.cp-confirm dt{font-weight:800;background:#eff7ff}.cp-confirm p{line-height:1.6;font-size:13px}.cp-confirm-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.cp-confirm-actions>button{border:1px solid #aac8ea;border-radius:30px;padding:11px 20px;background:#fff;color:#07347c;font-weight:800;cursor:pointer}.cp-confirm-actions .cp-primary{margin:0;width:auto;font-size:14px;min-height:42px}
@media(max-width:1050px){.cp-header{gap:12px;padding-inline:27px}.cp-nav{gap:15px}.cp-brand strong{font-size:14px}.cp-head-contact{font-size:12px}.cp-columns{gap:17px}.cp-form-body{padding:14px 26px 20px}.cp-main{padding-inline:4.2%}.cp-info-card{padding-inline:16px}}
@media(max-width:820px){.cp-wrap{width:calc(100% - 20px)}.cp-header{padding-inline:15px}.cp-nav{gap:9px}.cp-brand img{width:35px;height:35px}.cp-brand strong{font-size:12px}.cp-brand small{font-size:10px}.cp-nav a{font-size:10px}.cp-head-contact{padding:9px}.cp-head-contact svg{width:16px}.cp-columns{grid-template-columns:1.5fr 1fr;gap:12px}.cp-form-body{padding:14px 15px}.cp-section-title{max-width:92%}.cp-info-card{padding:11px}.cp-tel-number{font-size:24px}.cp-tel-number svg{width:27px}.cp-tel-hours{margin-left:0;font-size:12px}.cp-area-card figcaption{font-size:11px}.cp-area-summary{font-size:13px}.cp-checkboxes{grid-template-columns:1fr}.cp-hero__text{left:5%;max-width:54%}.cp-hero__text h1{font-size:40px}}
@media(max-width:680px){.cp-wrap{width:100%}.cp-hero{height:355px}.cp-hero__art{top:65px;bottom:0;width:78%;opacity:.7;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 36%);mask-image:linear-gradient(90deg,transparent 0,#000 36%)}.cp-hero__text{top:110px;left:22px;max-width:85%}.cp-hero__text h1{font-size:43px;text-shadow:0 1px 2px #fff}.cp-lead{font-size:13px;line-height:1.8;background:#ffffff62;padding:8px 10px 8px 14px}.cp-brand strong{font-size:13px}.cp-head-contact{margin-left:auto;font-size:0;width:40px;height:40px;justify-content:center}.cp-menu-toggle{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#ffffffbc;border:1px solid #a3c7ec;border-radius:11px;order:3;cursor:pointer}.cp-menu-toggle svg{width:22px;height:22px;color:#073d90}.cp-nav{display:none;position:absolute;z-index:20;top:58px;right:13px;left:13px;background:#fff;border-radius:12px;box-shadow:0 13px 25px #05245b3c;padding:9px 18px;flex-direction:column;align-items:stretch;gap:0}.cp-nav.is-open{display:flex}.cp-nav a{font-size:15px;padding:10px 0}.cp-nav a.is-active:after{bottom:5px}.cp-main{padding:14px 12px 0}.cp-columns{grid-template-columns:1fr;gap:14px}.cp-form-panel{order:0}.cp-aside{order:1}.cp-checkboxes{grid-template-columns:1fr 1fr}.cp-estimate{margin-top:18px}.cp-estimate img{width:38%}}
@media(max-width:440px){.cp-hero{height:327px}.cp-hero__text{top:98px}.cp-hero__text h1{font-size:40px;margin-bottom:14px}.cp-lead{font-size:12px}.cp-brand img{width:33px;height:33px}.cp-brand strong{font-size:12px}.cp-brand small{font-size:9px}.cp-section-title{font-size:18px;max-width:100%}.cp-form-body{padding:14px 16px}.cp-checkboxes{grid-template-columns:1fr}.cp-estimate img{display:none}.cp-estimate-text{padding:18px}.cp-confirm dl{grid-template-columns:110px 1fr}}

/* 2026-11-24: 承認済み背景・お問い合わせヘッダーのみ */
.cp-wrap .cp-hero {
  --ca-navy:#072e85; --ca-red:#EC1C2E;
  container-type:inline-size;
  height:auto; min-height:0; aspect-ratio:2170 / 725;
  background:#fff url('img/contact/contact-header-background.webp') center / 100% auto no-repeat;
  overflow:visible;
}
.cp-hero .ca-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 24px;height:72px;background:linear-gradient(90deg,#f5fbffde,#f5fbff66 75%,transparent);position:relative;z-index:5}
.cp-hero .ca-header__brand{display:flex;align-items:center;gap:8px;min-width:245px;flex-shrink:0;text-decoration:none;color:var(--ca-navy)}
.cp-hero .ca-header__brand img{width:46px;height:46px;object-fit:contain}
.cp-hero .ca-header__brand span{display:block}
.cp-hero .ca-header__brand strong{font-size:18px;display:block;white-space:nowrap;font-weight:900}
.cp-hero .ca-header__brand small{font-size:11px;font-weight:700;display:block}
.cp-hero .ca-header__nav{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.2vw,22px);white-space:nowrap}
.cp-hero .ca-header__nav a{font-size:14px;font-weight:800;text-decoration:none;color:#07235c;position:relative;padding:13px 1px}
.cp-hero .ca-header__nav a.is-active::after{content:none}
.cp-hero .ca-header__contact{display:flex;align-items:center;gap:7px;white-space:nowrap;text-decoration:none;border-radius:11px;background:#043894;padding:9px 16px;color:#fff;font-size:14px;font-weight:800}
.cp-hero .ca-header__contact svg{width:20px;height:20px}
.cp-hero .ca-header__toggle{display:none}
@media(max-width:1180px){.cp-hero .ca-header{gap:8px;padding:0 17px}
.cp-hero .ca-header__brand{min-width:205px}
.cp-hero .ca-header__brand strong{font-size:15px}
.cp-hero .ca-header__nav{gap:11px}
.cp-hero .ca-header__nav a{font-size:12px}
.cp-hero .ca-header__contact{font-size:12px;padding:9px 11px}}
@media(max-width:940px){.cp-hero .ca-header__brand{min-width:0}
.cp-hero .ca-header__toggle{display:flex;flex-direction:column;gap:4px;background:#fffffff5;border:1px solid #c5dffa;border-radius:9px;padding:10px;order:4;cursor:pointer}
.cp-hero .ca-header__toggle span{width:21px;height:2px;background:#07327e}
.cp-hero .ca-header__nav{display:none;position:absolute;top:66px;left:12px;right:12px;gap:10px 20px;flex-wrap:wrap;background:#fffffff7;border-radius:12px;box-shadow:0 8px 18px #2159a033;padding:17px}
.cp-hero .ca-header__nav.is-open{display:flex}
.cp-hero .ca-header__contact{margin-left:auto}}
@media(max-width:620px){.cp-hero .ca-header{height:60px;padding:0 10px}
.cp-hero .ca-header__brand img{width:36px;height:36px}
.cp-hero .ca-header__brand strong{font-size:12px}
.cp-hero .ca-header__brand small{font-size:9px}
.cp-hero .ca-header__contact{display:none}
.cp-hero .ca-header__nav{top:60px}}
.cp-hero .ca-header__contact.is-active{position:relative;background:#EC1C2E;cursor:default;pointer-events:none}
.cp-hero .ca-header__contact.is-active::after{content:none}
.cp-hero .ct-hero-copy{position:absolute;left:6.4%;top:34%;width:54%;color:#09296e;z-index:1}
.cp-hero .ct-hero-copy h1{margin:0 0 1.7cqw;font-size:clamp(36px,4.5cqw,64px);line-height:1.16;font-weight:900;letter-spacing:.04em}
.cp-hero .ct-hero-lead{border-left:3px solid #0b347f;padding-left:2cqw;font-size:clamp(12px,1.27cqw,18px);font-weight:650;line-height:1.85;color:#09296e}
.cp-hero .ct-hero-lead strong{font-size:1.12em;font-weight:850}
@media(max-width:940px){.cp-wrap .cp-hero{min-height:310px;background-size:cover}.cp-hero .ct-hero-copy{top:34%;width:57%}}
@media(max-width:620px){
  .cp-wrap .cp-hero{aspect-ratio:auto;min-height:385px;background:linear-gradient(to bottom,#edf8ff 0,#edf8ff 200px,transparent 227px),#edf8ff url('img/contact/contact-header-background.webp') right bottom / auto 185px no-repeat}
  .cp-hero .ct-hero-copy{top:78px;left:6.4%;width:88%}
  .cp-hero .ct-hero-copy h1{font-size:34px;margin-bottom:12px}
  .cp-hero .ct-hero-lead{font-size:12px;line-height:1.75;padding-left:12px}
}

/* 2026-11-24: 左側お問い合わせフォームのみ。既存ヘッダー・右欄・フッターは変更しない。 */
.cp-form-panel{container-type:inline-size;overflow:hidden;position:relative;background:linear-gradient(155deg,#eaf4ff 0%,#fff 18%,#fff 78%,#f3f8fd 100%);border:1px solid #e5effb;border-radius:20px;box-shadow:0 5px 17px #5b9ce326;}
.cp-form-panel .cp-form-ribbon{position:relative;height:clamp(46px,8.84cqw,67px);isolation:isolate;}
.cp-form-panel .cp-form-ribbon__art{position:absolute;inset:0;width:100%;height:100%;z-index:-1;display:block;}
.cp-form-panel .cp-section-title{background:none;max-width:none;min-height:0;height:100%;border-radius:0;padding:0 5.3cqw;gap:2.6cqw;font-size:clamp(17px,3.35cqw,25px);font-weight:800;letter-spacing:.015em;line-height:1.2;}
.cp-form-panel .cp-section-title svg{width:clamp(27px,5.65cqw,42px);height:auto;flex:none;}
.cp-form-panel .cp-form-body{padding:3.1cqw 7.8cqw 3.6cqw 5.45cqw;}
.cp-form-panel .cp-field{margin:0 0 2.2cqw;}
.cp-form-panel .cp-field>label,.cp-form-panel .cp-fieldset legend{font-size:clamp(14px,2.66cqw,20px);font-weight:750;line-height:1.5;gap:1cqw;color:#102b65;margin:0 0 .85cqw;}
.cp-form-panel .cp-required{padding:0 6px;font-size:clamp(10px,1.95cqw,14px);line-height:1.4;margin-left:1.6cqw;border-radius:4px;background:#f3b847;color:#fff;font-weight:650;}
.cp-form-panel .cp-label-dot{width:clamp(12px,2.8cqw,18px);height:clamp(12px,2.8cqw,18px);border-radius:50%;background:#0c3a8c;color:#fff;display:grid;place-items:center;flex:none;}
.cp-form-panel .cp-label-dot svg{width:72%;height:72%;}
.cp-form-panel .cp-input-shell{display:flex;align-items:stretch;position:relative;}
.cp-form-panel .cp-input-icon{width:8.1cqw;min-width:34px;display:grid;place-items:center;color:#0a307b;flex:none;border:1px solid #c2d2e9;border-right:0;border-radius:8px 0 0 8px;background:#f8fbff;}
.cp-form-panel .cp-input-icon svg{width:clamp(15px,3.2cqw,24px);height:clamp(15px,3.2cqw,24px);}
.cp-form-panel .cp-field input:not([type=checkbox]),.cp-form-panel .cp-field textarea,.cp-form-panel .cp-field select{background:linear-gradient(180deg,#fff,#fcfdff);font-size:clamp(13px,2.35cqw,18px);font-weight:400;line-height:1.4;padding:0 3cqw;border:1px solid #c1d2e9;border-radius:8px;min-height:clamp(34px,6.05cqw,46px);box-shadow:inset 0 1px 3px #284f7b08;color:#132e66;}
.cp-form-panel .cp-input-shell input{min-width:0;flex:1;border-radius:0 8px 8px 0!important;}
.cp-form-panel .cp-field input::placeholder,.cp-form-panel .cp-field textarea::placeholder{color:#7d91af;opacity:1;}
.cp-form-panel .cp-select-shell{position:relative;}
.cp-form-panel .cp-select-shell select{appearance:none;width:100%;padding-right:35px;}
.cp-form-panel .cp-select-shell svg{position:absolute;right:2.5cqw;top:50%;transform:translateY(-50%);width:18px;height:18px;pointer-events:none;color:#092b76;}
.cp-form-panel .cp-checkboxes{grid-template-columns:1fr 1.25fr;gap:1.4cqw 2.2cqw;font-size:clamp(12px,2.35cqw,18px);padding:1.1cqw .4cqw .8cqw;}
.cp-form-panel .cp-checkboxes label{font-weight:500;line-height:1.45;gap:2.6cqw;align-items:center;}
.cp-form-panel .cp-checkboxes input{appearance:none;border:1px solid #9aacc8;border-radius:4px;background:#fff;width:clamp(16px,3cqw,22px);height:clamp(16px,3cqw,22px);margin:0;display:grid;place-content:center;cursor:pointer;}
.cp-form-panel .cp-checkboxes input:checked{background:#0a4ba9;border-color:#0a4ba9;}
.cp-form-panel .cp-checkboxes input:checked::after{content:"";width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:rotate(-45deg);}
.cp-form-panel .cp-checkboxes input:focus-visible{outline:2px solid #5eaff8;outline-offset:2px;}
.cp-form-panel .cp-field textarea{display:block;min-height:clamp(82px,14.3cqw,112px);height:clamp(82px,14.3cqw,112px);padding:2.1cqw 3cqw;}
.cp-form-panel .cp-field:has(textarea){margin-bottom:1.7cqw;}
.cp-form-panel .cp-privacy{font-size:clamp(10px,1.85cqw,14px);font-weight:450;line-height:1.65;margin:0 0 3.3cqw;color:#132d64;}
.cp-form-panel form>.cp-primary{position:relative;height:clamp(55px,10.2cqw,76px);max-width:51.5cqw;min-width:235px;padding:0 4cqw;gap:2.8cqw;font-size:clamp(16px,3.15cqw,24px);font-weight:800;background:linear-gradient(120deg,#062d84 5%,#00337f 44%,#0086d8 100%);border:1px solid #139be0;box-shadow:0 4px 7px #0d409c33;white-space:nowrap;}
.cp-form-panel form>.cp-primary svg:first-child{width:clamp(25px,5cqw,38px);height:auto;}
.cp-form-panel form>.cp-primary svg:last-child{position:absolute;right:4cqw;top:50%;transform:translateY(-50%);margin:0;width:clamp(17px,3.4cqw,26px);height:auto;}
.cp-form-panel .cp-error:empty{display:none;}
@media(max-width:480px){.cp-form-panel .cp-form-ribbon{height:48px;}.cp-form-panel .cp-form-ribbon__art{width:140%;}.cp-form-panel .cp-section-title{font-size:18px;}.cp-form-panel .cp-form-body{padding:18px 17px 22px;}.cp-form-panel .cp-field{margin-bottom:15px;}.cp-form-panel .cp-field>label,.cp-form-panel .cp-fieldset legend{margin-bottom:6px;}.cp-form-panel .cp-checkboxes{grid-template-columns:1fr;gap:9px;}.cp-form-panel .cp-field input:not([type=checkbox]),.cp-form-panel .cp-field select{min-height:40px;}.cp-form-panel .cp-privacy{margin-bottom:17px;}}

/* 2026-11-24 v6: 右上の電話案内だけを調整 */
.cp-aside .cp-tel{container-type:inline-size;position:relative;isolation:isolate;padding:0;border:1px solid #91c9f8;border-radius:clamp(16px,1.95vw,24px);overflow:hidden;background:linear-gradient(180deg,#a1d9ff20 0%,#e9f5ff45 45%,#fff9 100%),url('img/contact/contact-phone-sky-v8.webp') center/cover no-repeat;box-shadow:0 5px 15px #68a4df2e;}
.cp-tel .cp-tel-ribbon{position:relative;height:48px;height:13.2cqw;min-height:40px;isolation:isolate;}
.cp-tel .cp-tel-ribbon__art{position:absolute;top:0;left:0;width:100%;height:64px;height:18cqw;min-height:54px;z-index:0;display:block;pointer-events:none;}
.cp-tel .cp-tel-ribbon h2{position:absolute;inset:0;z-index:1;height:100%;margin:0;padding:0 5.6cqw;display:flex;align-items:center;gap:4cqw;color:#fff;font-size:clamp(16px,5.15cqw,26px);font-weight:800;line-height:1.15;white-space:nowrap;text-shadow:0 1px 2px #00347b66;}
.cp-tel .cp-tel-ribbon h2 svg{width:7.1cqw;height:7.1cqw;min-width:24px;min-height:24px;fill:none;stroke:none;}
.cp-tel .cp-tel-body{padding:3.15cqw 3cqw 3.9cqw;text-align:center;}
.cp-tel .cp-tel-number{display:flex;align-items:center;justify-content:center;gap:2.9cqw;color:#082e7b;font:800 clamp(26px,8.75cqw,47px)/1.05 Arial,'Noto Sans JP',sans-serif;letter-spacing:.01em;white-space:nowrap;text-decoration:none;}
.cp-tel .cp-tel-number svg{width:10.2cqw;height:10.2cqw;flex:none;fill:currentColor;stroke:none;}
.cp-tel .cp-tel-hours{margin:1.2cqw 0 0 13.1cqw;font-size:clamp(12px,4.05cqw,20px);font-weight:500;line-height:1.4;white-space:nowrap;color:#102e66;}
.cp-tel .cp-tel-body small{display:block;margin:2.1cqw 0 0;font-size:clamp(9px,2.72cqw,14px);line-height:1.5;font-weight:550;color:#102e66;}
@media(max-width:400px){.cp-tel .cp-tel-hours{margin-left:7cqw;}}

/* v9: 対応エリアのみ。既存フォーム、電話、ヘッダーには適用しない。 */
.cp-aside .cp-area{container-type:inline-size;padding:0;border:1px solid #b2d6fb;border-radius:clamp(16px,1.95vw,24px);background:linear-gradient(145deg,#ffffffc9 0%,#eff7ff80 35%,#eaf6ffad 68%,#ffffffa8 100%),url('img/contact/contact-phone-sky-v8.webp') 55% center/cover no-repeat;box-shadow:0 5px 15px #68a4df2e;color:#092c78;}
.cp-area #cp-area-title{margin:2.6cqw 4.8cqw 2.2cqw;display:flex;align-items:center;gap:3.6cqw;font-size:clamp(16px,5.1cqw,26px);font-weight:800;line-height:1.2;color:#0a327c;}
.cp-area #cp-area-title svg{width:6.5cqw;height:8cqw;flex:none;color:#0a347f;fill:currentColor;}
.cp-area .cp-area-summary{margin:0 4.8cqw 1.35cqw;font-size:clamp(14px,4.65cqw,23px);font-weight:800;line-height:1.45;letter-spacing:-.025em;color:#092b72;}
.cp-area .cp-area-sub{margin:0 4.8cqw 4.2cqw;font-size:clamp(11px,3.35cqw,17px);font-weight:500;line-height:1.4;color:#102e66;}
.cp-area .cp-area-grid{margin:0 3.15cqw;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.9cqw 3.05cqw;}
.cp-area .cp-area-card{margin:0;border-radius:clamp(12px,4.6cqw,24px);aspect-ratio:162/91;position:relative;overflow:hidden;background:#cce9fc;}
.cp-area .cp-area-card img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center;}
.cp-area .cp-area-card figcaption{position:absolute;inset:auto 0 0;background:linear-gradient(180deg,#0c243c72,#061f30e6);font-size:clamp(13px,4.35cqw,22px);font-weight:800;text-align:center;line-height:1.3;padding:.8cqw 0 1.05cqw;color:#fff;}
.cp-area .cp-other-area{margin:2.4cqw 4.6cqw 1.5cqw;display:grid;grid-template-columns:1fr 1fr;gap:1.8cqw;align-items:center;min-height:22.7cqw;}
.cp-area .cp-japan{width:100%;height:23.2cqw;display:flex;align-items:center;justify-content:center;transform:none;border-radius:0;background:radial-gradient(ellipse at center,#d7ecfd 0%,#e6f3fe70 50%,transparent 73%);}
.cp-area .cp-japan img{display:block;width:82%;height:100%;object-fit:contain;}
.cp-area .cp-other-area strong{font-size:clamp(14px,4.65cqw,23px);font-weight:800;line-height:1.45;text-align:left;padding-left:4.7cqw;color:#09347e;}

/* Estimate banner: one continuous surface; only this card. */
@media(max-width:680px){.cp-estimate{background-position:left center;background-size:auto 100%}.cp-estimate-text{max-width:100%;background:linear-gradient(90deg,#e8f3fdf5,#f5f9fff0 85%,#f5f9ff00)}}
@media(max-width:440px){.cp-estimate{background-image:linear-gradient(115deg,#d8ebff,#f5f9ff 65%,#d1e9fc)}.cp-estimate-text{background:none}}

/* v12: PCのみ、お見積り案内の本文を2行に調整 */
@media (min-width: 1024px) {
  .cp-estimate .cp-estimate-text p { font-size: clamp(15px, 1.38vw, 19px); }
  .cp-estimate .cp-estimate-text p br:nth-of-type(2) { display: none; }
}

/* v13: PCのみ、行頭の開き括弧を光学的に左揃え */
@media (min-width: 1024px) {
  .cp-estimate .cp-estimate-opening-quote { display: inline-block; margin-left: -0.5em; }
}

/* v15: PCメニューの赤いスライドライン（お問い合わせページのみ） */
@media (min-width: 941px) {
  .cp-hero .ca-header__nav { position: relative; }
  .cp-hero .ca-header__nav::after {
    content: ""; position: absolute; left: 0; bottom: 5px;
    width: var(--line-width, 0px); height: 2px;
    background: #EC1C2E; border-radius: 1px;
    transform: translateX(var(--line-x, 0px)); opacity: 0;
    pointer-events: none;
    transition: transform 240ms cubic-bezier(.22,.61,.36,1), width 240ms cubic-bezier(.22,.61,.36,1), opacity 140ms ease;
  }
  .cp-hero .ca-header__nav.has-sliding-line::after { opacity: 1; }
  .cp-hero .ca-header__nav.line-instant::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-hero .ca-header__nav::after { transition: none; }
}

/* v16: PC header navigation -- 50px to contact button; retain shared header height. */
@media (min-width: 941px) {
  .cp-hero .ca-header { height: 72px; justify-content: flex-start; column-gap: 0; }
  .cp-hero .ca-header__nav { margin-left: auto; margin-right: 50px; flex: 0 0 auto; }
  .cp-hero .ca-header__contact { flex: 0 0 auto; }
}

/* 入力欄を選択した瞬間に例文を非表示にする。空欄のまま離れると再表示。 */
.cp-form-panel .cp-field input:focus::placeholder,
.cp-form-panel .cp-field textarea:focus::placeholder {
  color: transparent;
  opacity: 0;
}
