/* GENESIS 1.15.1 / 1.15.2 selectors, inspected against supplied source. */
body.emi-site #header{background:white;color:var(--emi-ink);border-bottom:1px solid #e6e9e6}
body.emi-site #header_logo{font-size:24px;letter-spacing:.045em}
body.emi-site #header_logo a{display:flex;align-items:center;gap:14px}
body.emi-site #header_logo a::before{content:"";width:8px;height:27px;background:var(--emi-yellow);display:block;flex-shrink:0}
body.emi-site #global_menu>ul>li>a{font-size:13px;font-weight:700}
body.emi-site #global_menu>ul>li.emi-menu-contact>a{background:var(--emi-yellow);color:var(--emi-ink)}
body.emi-site #header_slider_wrap.layout_type1{height:650px;max-height:780px;display:grid;grid-template-columns:45% 55%;padding:0;position:relative;background:white}
body.emi-site #header_slider_content{width:100%;height:100%;position:relative}
body.emi-site #header_slider_content .content{padding:55px 45px 60px max(50px,calc((100vw - 1180px)/2));height:100%;max-width:none;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
body.emi-site #header_slider_content .content::before{content:"EMI DENKI / ELECTRICAL WORKS";font-family:Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.16em;border-top:4px solid var(--emi-yellow);padding-top:15px;margin-bottom:35px;line-height:1.7}
body.emi-site #header_slider_content .catch{font-size:clamp(32px,3vw,44px);line-height:1.65;letter-spacing:.035em;font-weight:700;white-space:normal;text-align:left;margin:0}
body.emi-site #header_slider_content .desc_area{margin-top:28px;width:100%;max-width:345px}
body.emi-site #header_slider_content .desc_area .desc{font-size:14px;line-height:2.05;color:#5c666b;text-align:left}
body.emi-site #header_slider{height:100%;width:100%;position:relative}
body.emi-site #header_slider::after{content:"室内設備のイメージ（生成画像）";position:absolute;right:15px;bottom:15px;background:rgba(255,255,255,.88);padding:5px 9px;font-size:10px;color:#51595c;z-index:10;line-height:1.7}
body.emi-site #header_slider .bg_image img{object-fit:cover;object-position:62% center}
body.emi-site #header_slider .overlay{display:none}
body.emi-site #content_builder>.cb_free_space{margin:0;padding:0;width:100%;max-width:none}
body.emi-site #content_builder>.cb_free_space>.post_content{margin:0;padding:0}
body.emi-site #page_header{padding:65px max(50px,calc((100vw - 1180px)/2)) 55px;margin:0;min-height:0;height:auto}
body.emi-site #page_header.large_height{height:auto;min-height:0}
body.emi-site #page_header .design_header{margin:0;padding:0;width:auto;max-width:none}
body.emi-site #page_header .title_area{padding:0;width:100%}
body.emi-site #page_header .large_headline{font-size:clamp(34px,4vw,54px);line-height:1.5;letter-spacing:.045em}
body.emi-site #page_header .sub_title{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.18em;color:#59656a;margin:14px 0 0;display:flex;align-items:center;gap:12px}
body.emi-site #page_header .sub_title::before{content:"";background:var(--emi-yellow);height:3px;width:26px}
body.emi-site #page_header .desc_area{margin:25px 0 0;max-width:780px;text-align:left;padding:0}
body.emi-site #page_contents{width:100%;max-width:none;margin:0;padding:0}
body.emi-site .post_content .emi-content :is(h2,h3,h4){border:0;background:none;padding:0}
body.emi-site #footer{background:#fff;color:var(--emi-ink)}
body.emi-site #copyright{background:#f5f5f0;color:#646d70}
body.emi-site .wpcf7 form .wpcf7-response-output{margin:25px 0 0;font-size:14px;line-height:1.8}
@media(max-width:1050px){
 body.emi-site #header_slider_wrap.layout_type1{height:560px;grid-template-columns:48% 52%}
 body.emi-site #header_slider_content .content{padding:40px 30px 40px 32px}
 body.emi-site #header_slider_content .catch{font-size:33px}
 body.emi-site #page_header{padding:50px 32px 45px}
}
@media(max-width:767px){
 body.emi-site #header_slider_wrap.layout_type1{display:flex;flex-direction:column;height:auto;max-height:none;flex-wrap:nowrap}
 body.emi-site #header_slider_content{height:auto;width:100%}
 body.emi-site #header_slider_content .content{padding:38px 20px 34px;height:auto}
 body.emi-site #header_slider_content .content::before{font-size:10px;margin-bottom:23px;padding-top:11px}
 body.emi-site #header_slider_content .catch{font-size:clamp(26px,8.1vw,38px);line-height:1.65;letter-spacing:.015em;text-align:left}
 body.emi-site #header_slider_content .desc_area{max-width:100%;margin-top:18px}
 body.emi-site #header_slider_content .desc_area .desc{font-size:13px;line-height:1.95;text-align:left}
 body.emi-site #header_slider{height:290px;width:100%;flex:none}
 body.emi-site #header_slider::after{font-size:9px;right:10px;bottom:10px}
 body.emi-site #header_logo{font-size:19px}
 body.emi-site #header_logo a{gap:9px}
 body.emi-site #header_logo a::before{width:6px;height:22px}
 body.emi-site #page_header{padding:36px 20px 34px}
 body.emi-site #page_header .large_headline{font-size:34px;line-height:1.5}
 body.emi-site #page_header .sub_title{font-size:11px}
 body.emi-site #page_header :is(.desc,.desc_area,.catch),body.emi-site .design_header .desc,body.emi-site .cb_design_header .desc{ text-align:left }
 body.emi-site .post_content .emi-content p{ text-align:left }
}
@media(prefers-reduced-motion:reduce){
 body.emi-site #header_slider_content .content .line_inner,body.emi-site .inview,body.emi-site #header_slider .item-inner,body.emi-site #header_slider .bg_image{transform:none!important;opacity:1!important}
}
/* Remove parent article gutters: the shared .emi-shell owns horizontal spacing. */
body.emi-site #page_contents>.post_content,
body.emi-site.short_content #page_contents>.post_content{padding:0;width:100%;max-width:none;overflow:visible}
body.emi-site #content_builder>.cb_free_space{background:white}
/* Keep stock footer fields readable, matching the preview's restrained layout. */
body.emi-site #footer_inner{padding-top:60px;padding-bottom:35px}
body.emi-site #footer_logo{font-size:25px;letter-spacing:.045em}
body.emi-site #footer_address{font-size:13px;line-height:1.9}
body.emi-site #footer_address p{font-size:13px;line-height:1.9;text-align:left}
@media(max-width:767px){body.emi-site #footer_inner{padding-top:40px;padding-bottom:28px}body.emi-site #footer_logo{font-size:21px}}
body.emi-site .emi-content a{color:inherit}
body.emi-site .emi-content a.emi-button--dark{color:#fff}
body.emi-site .emi-content a.emi-button:hover{color:#fff;text-decoration:none}
body.emi-site .emi-content a.emi-service:hover,body.emi-site .emi-content a.emi-text-link:hover{text-decoration:none}
/* Supplied logo: no generated approximation; standard GENESIS image fields. */
body.emi-site.emi-image-logo #header_logo a::before{display:none}
body.emi-site.emi-image-logo #header_logo .logo_image{width:270px;height:auto;max-height:70px;object-fit:contain}
body.emi-site.emi-footer-logo #footer_logo{display:none}
body.emi-site #footer_address img.emi-footer-brand{display:block;width:178px;height:auto;margin:0 0 25px}
@media(max-width:767px){body.emi-site.emi-image-logo #header_logo .logo_image{width:218px;max-height:53px}body.emi-site #footer_address img.emi-footer-brand{width:150px}}
