/* R20: adapted from dou-busbar theme header/footer template (styles-local.css).
   Preserve estimate layout and 16px+ form text; source rem values use --hp-unit. */
:root { --hp-unit: min(.694444vw, 10px); --header-h: 96px; --cu: #076E9D; --cu-deep: #0B455C; --cu-on-navy: #fff; --f-sans: -apple-system-body, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic Pro", Meiryo, "Yu Gothic Medium", sans-serif; }
#header, #footer { font-family:var(--f-sans); color:#231815; line-height:1.6; }
#header ul, #footer ul { margin:0; padding:0; list-style:none; }
#header p, #footer p { margin:0; }
#header a, #footer a { text-decoration:none; }
#header img, #footer img { display:block; max-width:100%; height:auto; }
#header { width:100%; height:96px; min-height:96px; padding:16px; gap:8px; background:#fff; position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; z-index:30; border:0; }
#header .header_inner { min-width:0; flex:1; height:60px; display:flex; align-items:center; justify-content:space-between; background:#fff; border-radius:60px; padding:0 16px; gap:18px; box-shadow:0 0 4px #0001; }
#header .header_logo { width:200px; flex:none; }
#header .global_navi { min-width:0; }
#header .navi_ul { display:flex; align-items:center; gap:14px; }
#header .header-nav-item { color:#231815; font-size:14px; white-space:nowrap; display:block; cursor:pointer; letter-spacing:.1em; font-feature-settings:'palt'; }
#header .header-nav-item:hover { color:#076E9D; }
#header .hp-current { color:#076E9D; font-weight:700; border-bottom:2px solid #23ABC3; }
#header .header_buttons, #header .header_buttons-lt { display:flex; gap:8px; flex:none; }
#header .header_buttons a, #header .header_buttons-lt a { display:flex; flex-direction:column; justify-content:center; align-items:center; width:94px; height:60px; border-radius:8px; color:#fff; background:#23ABC3; font-size:12px; font-weight:700; }
#header .header_buttons .header_button-coramu, #header .header_buttons-lt .header_button-coramu { background:#16BFBF; }
#header .header_buttons a:hover, #header .header_buttons-lt a:hover { background:#076E9D; }
#header .header_buttons .header_button-sekkei, #header .header_buttons-lt .header_button-sekkei { position:relative; background:#FFD21F; font-size:10.5px; color:#0B455C; box-shadow:0 2px 0 #D9A900; }
#header .header_buttons .header_button-sekkei:hover, #header .header_buttons-lt .header_button-sekkei:hover { background:#FFE266; color:#0B455C; }
#header .header_button-sekkei .new { position:absolute; top:-7px; right:-5px; padding:1px 7px; border-radius:999px; background:#E23B3B; color:#fff; font-size:10px; line-height:1.5; letter-spacing:.05em; }
#header .header_button-sekkei .icon { display:flex; justify-content:center; }
#header .icon { width:18px; margin-bottom:4px; }
#header .header_buttons-lt, #menuBtn { display:none; }
#header .hp-submenu { position:relative; }
#header .hp-submenu summary::after { content:'⌄'; margin-left:5px; }
#header .hp-submenu summary { list-style:none; }
#header .hp-submenu summary::-webkit-details-marker { display:none; }
#header .megamenu { position:absolute; top:32px; left:0; width:240px; background:white; padding:16px; box-shadow:0 2px 10px #0002; border-radius:8px; }
#header .megamenu a { display:block; padding:8px 0; font-size:14px; }
#ishi-consult-nav { display:flex; align-items:center; gap:4px; }
#ishi-consult-toggle { border:0; background:none; color:#231815; font-size:18px; cursor:pointer; padding:0 3px; }
#ishi-consult-panel { position:absolute; top:85px; left:20%; width:min(700px,75vw); padding:24px; background:#fff; border:1px solid #D9D9D9; box-shadow:0 4px 15px #0002; border-radius:8px; font-size:14px; }
#ishi-consult-panel[hidden] { display:none; }
.ishi-consult-heading { display:flex; justify-content:space-between; gap:16px; margin-bottom:16px; }
.ishi-consult-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ishi-consult-grid a { padding:12px; background:#F3F3F3; display:flex; justify-content:space-between; gap:8px; }
#footer { box-sizing:border-box; padding-bottom:calc(5 * var(--hp-unit)); position:relative; overflow:hidden; background:#fff; }
#footer .wrap { width:90%; max-width:1200px; margin:0 auto; position:relative; z-index:2; }
#footer .footer_flex { display:flex; justify-content:space-between; width:90%; margin:0 auto; padding:calc(8 * var(--hp-unit)) 0; }
#footer .footlogo { width:calc(20 * var(--hp-unit)); }
#footer .footer_info { margin-top:calc(6 * var(--hp-unit)); font-size:calc(1.5 * var(--hp-unit)); white-space:nowrap; }
#footer .footer_navi_box { display:flex; align-items:flex-start; gap:calc(7 * var(--hp-unit)); }
#footer .footer_navi li { margin-bottom:calc(2 * var(--hp-unit)); }
#footer .footer_navi a { font-size:calc(1.5 * var(--hp-unit)); font-weight:700; }
#footer .footer_navi a:hover { color:#076E9D; }
#footer .busbar-com { width:calc(37 * var(--hp-unit)); margin:0 auto; display:block; }
#footer .copyright { text-align:center; font-family:Poppins,var(--f-sans); font-size:calc(1.5 * var(--hp-unit)); line-height:1.5; margin-top:calc(2 * var(--hp-unit)); }
#footer .nc-logo { display:block; width:200px; margin:32px auto 0; }
#footer .footer-deco { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:170%; z-index:1; pointer-events:none; }
.hp-motion-control { text-align:center; padding:16px; background:#fff; }
.dbe-button { border-radius:8px; }
.dbe-button-primary, .dbe-estimate-result .dbe-button-primary { background:#23ABC3; color:#fff; }
.dbe-button-primary:hover, .dbe-estimate-result .dbe-button-primary:hover { background:#076E9D; }
.dbe-section-head h2, .dbe-hero h1 { color:#231815; }
.dbe-section-head-inverse h2 { color:#fff; }
.dbe-kicker, .dbe-entry-no, .dbe-result-kicker { color:#076E9D; }
.dbe-section-head-inverse .dbe-kicker { color:#fff; }
.dbe-section-rule { background:#23ABC3; }
@media (min-width:821px) and (max-width:1199px) {
 #header { padding:8px; gap:6px; } #header .header_inner { padding:0 12px; gap:10px; } #header .header_logo { width:130px; } #header .navi_ul { gap:8px; } #header .header-nav-item { font-size:12px; } #header .header_buttons a { width:67px; font-size:10px; } #header .header_buttons .header_button-sekkei { width:67px; font-size:9px; } #header .header_buttons { gap:5px; }
}
@media (max-width:820px) {
 :root { --header-h:74px; --hp-unit:calc(100vw / 48); }
 #header { height:74px; min-height:74px; padding:8px; display:flex; }
 #header .header_inner { flex:none; width:fit-content; height:49px; padding:0 16px; box-shadow:none; }
 #header .header_logo { width:163px; }
 #header .header_buttons { display:none; }
 #menuBtn { display:block; width:49px; height:33px; position:relative; z-index:32; padding:0; margin-right:8px; border:0; border-radius:3px; background:#0B455C; cursor:pointer; }
 #menuBtn span { position:absolute; left:12px; width:25px; height:1px; background:#fff; transition:transform .3s cubic-bezier(.22,1,.36,1); }
 #menuBtn .top { top:12px; } #menuBtn .bottom { top:21px; }
 #header.opened #menuBtn .top { transform:translateY(4.5px) rotate(45deg); } #header.opened #menuBtn .bottom { transform:translateY(-4.5px) rotate(-45deg); }
 #header .global_navi { display:none; position:fixed; inset:0; padding:96px 24px 32px; background:#fff; overflow-y:auto; z-index:31; }
 #header.opened .global_navi { display:block; }
 #header .navi_ul { display:block; }
 #header .navi_ul>li { padding:16px 0; border:0; }
 #header .header-nav-item { font-size:16px; }
 #header .hp-current { border:0; }
 #header .header_buttons-lt { display:grid; grid-template-columns:repeat(2,max-content); gap:16px; margin-top:24px; justify-content:start; }
 #header .header_buttons-lt a { width:119px; height:64px; } 
 #header .megamenu { position:static; width:100%; box-shadow:none; padding:8px 16px; }
 #ishi-consult-nav { flex-wrap:wrap; }
 #ishi-consult-panel { position:static; width:100%; padding:16px 0; border:0; box-shadow:none; }
 .ishi-consult-grid { grid-template-columns:1fr; }
 #footer .footer_flex { width:100%; flex-direction:column; gap:24px; padding:calc(5 * var(--hp-unit)) 0; align-items:center; }
 #footer .footer_info { margin-top:calc(3 * var(--hp-unit)); }
 #footer .footer_navi_box { display:none; }
 #footer .nc-logo { width:164px; }
}
.foot_cta { background:#231815; padding:calc(5 * var(--hp-unit)) 0; font-family:var(--f-sans); }
.foot_cta .wrap { width:90%; max-width:1200px; margin:0 auto; }
.foot_cta_inner { display:flex; justify-content:center; flex-wrap:wrap; }
.foot_cta_inner_item { position:relative; width:33%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:20px 0; border-right:2px solid #fff; color:#fff; transition:opacity .2s ease; }
.foot_cta_inner_item:last-child { border-right:0; }
.foot_cta_inner_item:hover { opacity:.6; }
.foot_cta_inner_item p, .foot_cta_inner_item h3 { margin:0; color:#fff; }
.foot_cta_inner_item .cta_icon { width:48px; margin:0 auto 20px; display:block; }
.foot_cta_inner_item .cta_phone { transform:rotate(90deg); }
.foot_cta_inner_item .eng { font-family:Poppins,Arial,Helvetica,sans-serif; font-size:20px; line-height:1.5; }
.foot_cta_inner_item .num { font-family:Poppins,Arial,Helvetica,sans-serif; font-size:26px; line-height:1; }
.foot_cta_inner_item .small { font-size:15px; }
.foot_cta_inner_item .head { font-size:22px; }
.foot_cta_inner_item .float_link { position:absolute; inset:0; }
@media (max-width:820px) { .foot_cta { padding:20px 0; } .foot_cta_inner_item { width:100%; border-right:0; border-bottom:2px solid #fff; } .foot_cta_inner_item:last-child { border-bottom:0; } .foot_cta_inner_item .num { font-size:30px; } }
@media print { #header, #footer, .foot_cta, .hp-motion-control { display:none!important; } }
