/* Header, navigation, footer and mobile contact styles from the live homepage (2026-09-21). */
.kgy-public-shell{--pine:#073d31;--pine2:#0c5c47;--leaf:#80aa35;--lime:#c7dc4a;--sun:#f4d83f;--orange:#ed7817;--cream:#fbf7e9;--paper:#fffdf7;--mist:#eef5eb;--ink:#143d33;--body:#4d645d;--line:#d9e4d6;--brand-logo:url('https://kagayaku-life.com/wp-content/uploads/2026/07/E24C2386-3406-4975-899F-0B47FF78F880-300x300.png');background:var(--paper);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.8;letter-spacing:.035em}
.kgh-header a,.kgh-footer a{color:inherit;text-decoration:none}
.kgh-header svg,.kgh-footer svg{display:block}
.kgh-header summary{font:inherit}
.kgh-header a:focus-visible,.kgh-header summary:focus-visible,.kgh-footer a:focus-visible{outline:3px solid #ed7817;outline-offset:3px}
.kgh-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.kgh-top .kgh-container{height:100%;display:flex;align-items:center;justify-content:space-between}
.kgh-header{position:sticky;top:0;z-index:100;background:rgba(255,253,247,.96);border-bottom:1px solid rgba(7,61,49,.09);backdrop-filter:blur(16px)}
.admin-bar .kgh-header{top:32px}
.kgh-header__in{height:86px;display:flex;align-items:center;gap:26px}
.kgh-brand{display:flex;align-items:center;gap:12px;margin-right:auto;white-space:nowrap}
.kgh-brand__mark{position:relative;width:58px;height:54px;color:var(--pine)}
.kgh-brand__mark svg{width:100%;height:100%}
.kgh-brand__name{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:23px;font-weight:900;line-height:1;letter-spacing:.08em}
.kgh-brand__name small{display:block;margin-top:7px;font-family:Arial,sans-serif;color:#587168;font-size:8px;font-weight:700;letter-spacing:.28em}
.kgh-nav{display:flex;align-items:center;gap:24px;font-size:12px;font-weight:900}
.kgh-nav a{position:relative;padding:32px 0}
.kgh-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:22px;height:2px;background:var(--orange);transition:.25s}
.kgh-nav a:hover:after{left:0;right:0}
.kgh-headcall{display:flex;align-items:center;gap:9px;padding-left:19px;border-left:1px solid var(--line)}
.kgh-headcall__icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef4de;color:var(--pine)}
.kgh-headcall__icon svg{width:17px}
.kgh-headcall small{display:block;color:#708079;font-size:8px;line-height:1.3}
.kgh-headcall b{display:block;color:var(--pine);font-size:18px;line-height:1.3;letter-spacing:.02em}
.kgh-headcta{height:49px;padding:0 17px;display:grid;place-items:center;background:var(--orange);color:#fff!important;font-size:11px;font-weight:900;box-shadow:7px 7px 0 #f4d83f;transition:.2s}
.kgh-headcta:hover{transform:translate(-2px,-2px);box-shadow:10px 10px 0 #f4d83f}
.kgh-menu{display:none}
.kgh-footer{padding:70px 0 24px;background:#061e19;color:#fff}
.kgh-footer__top{display:grid;grid-template-columns:1.5fr .75fr .75fr;gap:68px}
.kgh-footer .kgh-brand__name small{color:#7f9b90}
.kgh-footer__desc{max-width:440px;margin:23px 0 0;color:#94afa5;font-size:10px}
.kgh-footer h3{margin:0 0 17px;color:var(--sun);font:800 9px/1 Arial,sans-serif;letter-spacing:.2em}
.kgh-footer__links{display:grid;gap:9px;color:#bdd0c9;font-size:10px}
.kgh-footer__links a:hover{color:#fff}
.kgh-footer__bottom{display:flex;justify-content:space-between;gap:20px;margin-top:52px;padding-top:20px;border-top:1px solid rgba(255,255,255,.11);color:#638178;font-size:8px}
@media(max-width:1120px){
.kgh-nav{display:none}
.kgh-headcall{margin-left:auto}
.kgh-menu{display:block;position:relative}
.kgh-menu summary{width:48px;height:48px;border-radius:0 0 0 18px;list-style:none;display:grid;place-items:center;align-content:center;gap:5px;background:var(--pine);color:#fff;cursor:pointer}
.kgh-menu summary::-webkit-details-marker{display:none}
.kgh-menu summary span,.kgh-menu summary:before,.kgh-menu summary:after{content:"";display:block;width:21px;height:2px;background:#fff}
.kgh-menu__panel{position:absolute;right:0;top:57px;width:285px;padding:13px;background:#fff;box-shadow:0 22px 50px rgba(7,61,49,.23);display:grid}
.kgh-menu__panel a{padding:12px 10px;border-bottom:1px solid var(--line);font-size:12px;font-weight:900}
}
@media(max-width:782px){
.admin-bar .kgh-header{top:46px}
}
@media(max-width:760px){
.kgh-container{width:min(100% - 32px,1180px)}
.kgh-header__in{height:76px}
.kgh-brand{gap:9px}
.kgh-brand__mark{width:49px;height:46px}
.kgh-brand__name{font-size:21px}
.kgh-brand__name small{font-size:7px}
.kgh-headcall,.kgh-headcta{display:none}
.kgh-menu summary{position:absolute;right:-16px;top:-38px;width:68px;height:76px;border-radius:0 0 0 27px}
.kgh-menu__panel{position:fixed;left:16px;right:16px;top:126px;width:auto}
.kgh-footer{padding:54px 0 22px}
.kgh-footer__top{grid-template-columns:1fr;gap:35px}
.kgh-footer__bottom{display:grid;margin-top:39px}
}
.kgh-brand{gap:0}
.kgh-brand__mark,.kgh-brand__name{display:none!important}
.kgh-brand:before{content:"";display:block;width:110px;height:82px;background-image:var(--brand-logo);background-repeat:no-repeat;background-size:110px 110px;background-position:center -8px}
.kgh-footer .kgh-brand:before{width:126px;height:95px;background-color:#fff;background-size:126px 126px;background-position:center -10px;border-radius:8px}
@media(max-width:760px){
.kgh-container{width:min(100% - 28px,1180px)}
.kgh-header__in{height:84px}
.kgh-brand:before{width:105px;height:78px;background-size:105px 105px;background-position:center -8px}
.kgh-menu summary{top:-42px;height:84px}
.kgh-menu__panel{top:130px}
.kgh-footer{padding:48px 0 20px}
.kgh-footer .kgh-brand:before{width:112px;height:85px;background-size:112px 112px;background-position:center -9px}
.kgh-footer__desc{font-size:13px;line-height:1.8}
.kgh-footer__links{font-size:12.5px}
.kgh-footer__bottom{font-size:10px;line-height:1.6}
}
.kgh-header__in{height:74px}
.kgh-header .kgh-brand{gap:10px}
.kgh-header .kgh-brand:before{width:54px;height:54px;flex:0 0 54px;background-size:108px 108px;background-position:center -7px}
.kgh-header .kgh-brand__name{display:block!important;font-size:22px;line-height:1}
.kgh-header .kgh-brand__name small{margin-top:6px;font-size:7px}
@media(max-width:760px){
.kgh-header__in{height:62px}
.kgh-header .kgh-brand{gap:8px}
.kgh-header .kgh-brand:before{width:44px;height:44px;flex-basis:44px;background-size:88px 88px;background-position:center -6px}
.kgh-header .kgh-brand__name{font-size:18px;letter-spacing:.055em}
.kgh-header .kgh-brand__name small{margin-top:5px;font-size:6px;letter-spacing:.2em}
.kgh-menu summary{right:-14px;top:-31px;width:58px;height:62px;border-radius:0 0 0 22px}
.kgh-menu__panel{top:70px}
.admin-bar .kgh-menu__panel{top:116px}
}
@media(max-width:760px){
.kgh-menu__panel a{min-height:44px}
}
.hp-footer-help{display:flex;flex-wrap:wrap;gap:12px 22px;width:min(1120px,calc(100% - 32px));margin:0 auto 30px;padding:0 0 24px;border-bottom:1px solid #ffffff35}
.hp-footer-help a{display:inline-flex;align-items:center;min-height:44px;font-size:15px!important;color:#fff!important;text-decoration:underline;text-underline-offset:5px}
#hp-fixed-contact,.hp-fixed-spacer{display:none}
#hp-fixed-contact a{box-sizing:border-box!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:50px;text-align:center;text-decoration:none!important;border-radius:5px;padding:7px 4px!important;color:#fff!important;font-size:14px!important;line-height:1.4!important;letter-spacing:0!important}
#hp-fixed-contact a.hp-call-phone{background:#0a4636!important}
#hp-fixed-contact a.hp-call-line{background:#087b3c!important}
#hp-fixed-contact a.hp-call-web{background:#bb5910!important}
#hp-fixed-contact small{display:block;font-size:11px;line-height:1.5;font-weight:400}
#hp-fixed-contact a:focus-visible{outline:3px solid #f0d742;outline-offset:2px}
@media(max-width:780px){
#hp-fixed-contact{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:6px 8px max(6px,env(safe-area-inset-bottom,0px));background:#fff;box-shadow:0 -3px 14px #163c3220}
#hp-fixed-contact a{min-height:48px!important}
.hp-fixed-spacer{display:block;height:calc(64px + env(safe-area-inset-bottom,0px))}
}
.kg-unified-header{display:none}
@media(min-width:981px){
.kg-legacy-header{display:none!important}
.kg-unified-header{display:block;position:sticky;top:0;z-index:500;background:#fffdf7;color:#143d33;border-bottom:1px solid #dde7dd;font-family:"Noto Sans JP","Yu Gothic",sans-serif;line-height:1.5;letter-spacing:.025em;text-align:left}
.admin-bar .kg-unified-header{top:32px}
.kg-unified-header *{box-sizing:border-box}
.kg-unified-header a{color:#143d33!important;text-decoration:none!important}
.kg-nav-inner{position:relative;display:flex;align-items:center;gap:18px;max-width:1240px;width:calc(100% - 44px);height:82px;margin:0 auto}
.kg-nav-brand{display:flex;align-items:center;gap:9px;flex-shrink:0;margin-right:auto;white-space:nowrap}
.kg-nav-brand img{display:block;width:46px;height:46px;object-fit:contain}
.kg-nav-brand b{display:block;font-family:"Yu Mincho",serif;font-size:21px;line-height:1.2;letter-spacing:.1em}
.kg-nav-brand small{display:block;margin-top:5px;font:700 7px/1 Arial,sans-serif;letter-spacing:.2em}
.kg-unified-nav{display:flex;align-items:stretch;gap:18px;height:100%;flex-shrink:0}
.kg-unified-nav>a,.kg-nav-drop>a{display:flex;align-items:center;height:100%;padding:0;font-size:12px;font-weight:700;white-space:nowrap}
.kg-nav-drop{height:100%}
.kg-nav-drop>a span{margin-left:4px;color:#ed7817}
.kg-nav-panel{position:absolute;top:100%;right:0;width:min(860px,calc(100vw - 60px));padding:24px;display:grid;gap:24px;background:#fffdf7;border:1px solid #d6e2d8;border-top:3px solid #80aa35;box-shadow:0 16px 28px #073d3126;visibility:hidden;opacity:0;pointer-events:none;max-height:calc(100vh - 150px);overflow:auto}
.kg-nav-services{grid-template-columns:repeat(4,minmax(0,1fr))}
.kg-nav-areas{width:min(700px,calc(100vw - 60px));grid-template-columns:repeat(3,minmax(0,1fr))}
.kg-nav-drop:hover>.kg-nav-panel,.kg-nav-drop:focus-within>.kg-nav-panel{visibility:visible;opacity:1;pointer-events:auto}
.kg-nav-group{padding:0!important;margin:0;min-width:0}
.kg-nav-group>a{display:block;padding:0 0 12px;border-bottom:2px solid #d8e6d4;font-size:15px;font-weight:800}
.kg-nav-group>div{display:grid;margin-top:8px}
.kg-nav-group>div>a{display:block;padding:9px 8px;font-size:14px;font-weight:500;line-height:1.5}
.kg-nav-group a:hover{background:#edf5e9;color:#07543c!important}
.kg-unified-header a:focus-visible{outline:3px solid #ed7817;outline-offset:3px}
.kg-nav-phone{display:block;border-left:1px solid #d9e4dc;padding-left:15px;white-space:nowrap}
.kg-nav-phone small{display:block;font-size:9px;color:#6c8078}
.kg-nav-phone b{display:block;font-size:18px}
.kg-unified-header .kg-nav-contact{display:flex;align-items:center;justify-content:center;height:46px;padding:0 16px;background:#ed7817;color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap}
}
@media(min-width:981px) and (max-width:1199px){
.kg-nav-phone{display:none}
.kg-unified-nav{gap:15px}
.kg-nav-inner{gap:16px}
.kg-nav-brand img{width:40px;height:40px}
}

/* The public route has no WordPress admin bar. Keep the homepage mobile menu above the work content. */
.kgh-header{z-index:500}
.kgh-menu__panel{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}
.kgy-public-shell .content{min-height:60vh}
.kgy-related-service{margin-top:28px;padding:24px;background:var(--mist);border:1px solid var(--line);border-radius:8px}
.kgy-related-service p{margin:0 0 12px;font-weight:600}
.kgy-related-service .button{max-width:100%;text-align:center}
@media(max-width:700px){.kgy-related-service{padding:20px 16px}.kgy-related-service .button{width:100%;padding:12px}}
@media(max-width:700px){.kgy-public-shell select,.kgy-public-shell input{font-size:16px}}
