/* WordPress / Lightning compatibility: applied only on the health guide page */
body:has(#health-guide-wp) {overflow-x:hidden;}
body:has(#health-guide-wp) .siteContent,
body:has(#health-guide-wp) .siteContent > .container,
body:has(#health-guide-wp) .siteContent .row,
body:has(#health-guide-wp) .siteContent .mainSection,
body:has(#health-guide-wp) .siteContent .mainSection-col,
body:has(#health-guide-wp) .entry-body,
body:has(#health-guide-wp) .entry-content,
body:has(#health-guide-wp) .wp-block-post-content {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;display:block!important;}
body:has(#health-guide-wp) .subSection,
body:has(#health-guide-wp) .page-header,
body:has(#health-guide-wp) .breadcrumb,
body:has(#health-guide-wp) .entry-header {display:none!important;}
#health-guide-wp {width:100%;max-width:none!important;margin:0!important;padding:0!important;background:#fff;line-height:1.7;font-family:"Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;color:#253e43;}
#health-guide-wp *,#health-guide-wp *::before,#health-guide-wp *::after{box-sizing:border-box;}
#health-guide-wp img{max-width:100%;}
#health-guide-wp a{text-decoration:none;}
#health-guide-wp{--green:#086342;--ink:#253e43;--muted:#39515a}
#health-guide-wp *{box-sizing:border-box}
#health-guide-wp{scroll-behavior:smooth}
#health-guide-wp{margin:0;font-family:"Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.7}
#health-guide-wp a{color:inherit}
#health-guide-wp .hero{height:286px;position:relative;overflow:hidden;background:linear-gradient(90deg,#f6faf4 0%,#f3f8e9 51%,#d3e9bb 100%)}
#health-guide-wp .hero-photo{position:absolute;inset:0 0 0 auto;width:54%;height:100%;object-fit:cover;object-position:center}
#health-guide-wp .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7faf4 0%,#f7faf4f0 37%,#f7faf475 53%,transparent 73%);pointer-events:none}
#health-guide-wp .hero-inner{position:relative;z-index:1;max-width:1024px;margin:auto;padding:33px 7.2%;height:100%}
#health-guide-wp .hero-overline{font-family:serif;color:#157657;font-size:16px;letter-spacing:.12em;margin:0 0 3px}
#health-guide-wp .hero h1{font-family:serif;font-size:clamp(36px,5.5vw,60px);font-weight:800;letter-spacing:.07em;line-height:1.3;margin:0 0 8px;color:#173d43}
#health-guide-wp .hero h1 em{color:#189c64;font-style:normal}
#health-guide-wp .hero p{margin:0;max-width:520px;font-size:15px;line-height:1.95;color:#1b414b}
#health-guide-wp .main-wrap{max-width:1024px;margin:auto;padding:0 39px}
#health-guide-wp .section-heading{text-align:center;margin:25px auto 23px}
#health-guide-wp .section-heading h2{font-family:serif;font-weight:800;font-size:32px;letter-spacing:.06em;color:#125749;display:flex;align-items:center;gap:25px;justify-content:center;margin:0 0 7px}
#health-guide-wp .section-heading h2:before, #health-guide-wp .section-heading h2:after{content:"";height:1px;background:#689b91;flex:1;max-width:135px}
#health-guide-wp .section-heading p{font-size:13px;margin:0;color:#385560}
#health-guide-wp .category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 22px}
#health-guide-wp .category-card{border:1px solid var(--accent);border-radius:7px;padding:5px 7px 13px;min-width:0;overflow:hidden;display:flex;flex-direction:column;background:#fff}
#health-guide-wp .category-cover img{width:100%;height:112px;object-fit:cover;display:block;border-radius:5px 5px 0 0}
#health-guide-wp .category-banner{background:var(--accent);border-radius:0 0 8px 8px;min-height:73px;color:white;display:flex;align-items:center;gap:10px;padding:9px 8px;position:relative}
#health-guide-wp .category-icon{width:51px;height:51px;margin-top:-30px;border:3px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:26px;background:var(--accent);box-shadow:0 1px 5px #0001}
#health-guide-wp .category-banner h3{font-size:16px;line-height:1.55;margin:0;font-weight:800}
#health-guide-wp .category-description{font-size:12px;line-height:1.8;margin:18px 10px 16px;min-height:48px;flex-grow:1}
#health-guide-wp .category-details{margin:0 10px}
#health-guide-wp .category-details summary{color:var(--accent);font-weight:800;font-size:13px;cursor:pointer;list-style:none;display:flex;justify-content:flex-start;gap:12px;align-items:center}
#health-guide-wp .category-details summary::-webkit-details-marker{display:none}
#health-guide-wp .category-details summary span{font-size:20px;font-weight:400;transition:transform .2s}
#health-guide-wp .category-details[open] summary span{transform:rotate(90deg)}
#health-guide-wp .category-details ul{list-style:none;padding:10px 0 0;margin:10px 0 0;border-top:1px solid #ddd}
#health-guide-wp .category-details li{font-size:12px;margin:0 0 8px;line-height:1.45}
#health-guide-wp .category-details li a{color:#2b5966;text-underline-offset:3px}
#health-guide-wp .category-details li a:hover{color:var(--accent)}
#health-guide-wp .bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:40px 0 13px}
#health-guide-wp .bottom-panel{border:1px solid #bce4d9;border-radius:4px;padding:14px 18px 16px;background:linear-gradient(115deg,#f3fbf8,#f8fcfa)}
#health-guide-wp .bottom-panel.product-panel{background:linear-gradient(115deg,#f2faff,#f9fbff);border-color:#c2e4fa}
#health-guide-wp .bottom-panel h2{font-size:18px;color:#17664b;margin:0 0 12px;display:flex;align-items:center;gap:11px}
#health-guide-wp .bottom-panel h2 span{font-size:26px}
#health-guide-wp .product-panel h2{color:#3280b8}
#health-guide-wp .bottom-content{display:grid;grid-template-columns:160px 1fr;gap:17px;align-items:center}
#health-guide-wp .product-panel .bottom-content{grid-template-columns:1fr 190px}
#health-guide-wp .bottom-content img{width:100%;height:114px;object-fit:cover;border-radius:4px}
#health-guide-wp .bottom-content p{font-size:12px;margin:0 0 10px}
#health-guide-wp .bottom-content a{display:block;background:#46a478;text-align:center;padding:7px 10px;color:#fff;font-size:13px;font-weight:700;text-decoration:none;border-radius:30px}
#health-guide-wp .product-panel .bottom-content a{background:#3788c5}
#health-guide-wp .bottom-content a:hover{filter:brightness(1.12)}
@media(max-width:800px){
#health-guide-wp .main-wrap{padding:0 20px}
#health-guide-wp .category-grid{gap:15px}
#health-guide-wp .category-banner h3{font-size:13px}
#health-guide-wp .category-icon{width:40px;height:40px;font-size:20px}
#health-guide-wp .bottom-content{grid-template-columns:110px 1fr}
#health-guide-wp .product-panel .bottom-content{grid-template-columns:1fr 110px}}
@media(max-width:568px){
#health-guide-wp .hero{height:290px}
#health-guide-wp .hero-photo{width:100%;opacity:.36}
#health-guide-wp .hero:after{background:linear-gradient(90deg,#f9fcf6e9,#f9fcf68c)}
#health-guide-wp .hero-inner{padding:32px 19px}
#health-guide-wp .hero-overline{font-size:13px}
#health-guide-wp .hero h1{font-size:38px;margin:10px 0}
#health-guide-wp .hero p{font-size:13px;line-height:1.9;max-width:350px}
#health-guide-wp .hero p br{display:none}
#health-guide-wp .main-wrap{padding:0 15px}
#health-guide-wp .section-heading{margin:25px auto 20px}
#health-guide-wp .section-heading h2{font-size:24px;gap:7px;letter-spacing:0}
#health-guide-wp .section-heading h2:before, #health-guide-wp .section-heading h2:after{max-width:20px}
#health-guide-wp .section-heading p{font-size:12px}
#health-guide-wp .category-grid{grid-template-columns:1fr;gap:15px;max-width:400px;margin:auto}
#health-guide-wp .category-card{padding:6px 7px 16px}
#health-guide-wp .category-cover img{height:160px}
#health-guide-wp .category-banner{min-height:71px}
#health-guide-wp .category-icon{width:51px;height:51px;font-size:25px}
#health-guide-wp .category-banner h3{font-size:17px}
#health-guide-wp .category-description{font-size:13px;min-height:0;margin:15px 10px}
#health-guide-wp .category-details summary{font-size:14px}
#health-guide-wp .bottom-grid{grid-template-columns:1fr;gap:15px;margin:28px 0 15px}
#health-guide-wp .bottom-panel{padding:13px}
#health-guide-wp .bottom-content{grid-template-columns:125px 1fr;gap:12px}
#health-guide-wp .product-panel .bottom-content{grid-template-columns:1fr 125px}
#health-guide-wp .bottom-panel h2{font-size:17px}
#health-guide-wp .bottom-content p{font-size:12px}
#health-guide-wp .bottom-content img{height:105px}
}
/* Lightningの既定スタイルとの干渉を防止 */
#health-guide-wp .section-heading,
#health-guide-wp .category-card,
#health-guide-wp .category-banner,
#health-guide-wp .category-details,
#health-guide-wp .bottom-panel { box-shadow:none; }
#health-guide-wp .category-banner h3,
#health-guide-wp .section-heading h2 { border:0 !important; padding:0 !important; background:none !important; box-shadow:none !important; text-decoration:none !important; }
#health-guide-wp .category-banner h3::before,
#health-guide-wp .category-banner h3::after {content:none !important;}
#health-guide-wp .category-cover,
#health-guide-wp .category-cover img { margin:0 !important; }
#health-guide-wp .hero-photo{max-width:none;}


/* 健康情報ガイド本文だけを全幅表示 */
body:has(#health-guide-wp) .siteContent { padding-top:0!important; }
body:has(#health-guide-wp) .entry-body { margin-top:0!important; }
#health-guide-wp .hero-photo { display:block!important; }
#health-guide-wp .category-cover img,
#health-guide-wp .bottom-content img { display:block!important; object-fit:cover; }
#health-guide-wp .category-card { overflow:hidden; }
#health-guide-wp .category-details summary { cursor:pointer; }
