/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--main:#2563C9;--main-deep:#173A6E;--navy:#11244A;--yellow:#F5C518;--yellow-deep:#D9A800;--red:#E5533B;--red-deep:#C8412B;--bg:#FFFFFF;--soft:#EEF4FD;--paper:#F8FBFF;--ghost:#EEF1F8;--ink:#16243B;--body:#37445A;--muted:#6B7689;--line:rgba(37,99,201,.16);--line-soft:rgba(37,99,201,.08);--line-white:rgba(255,255,255,.18);}
body>header.site-header{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(12px);}
:where(body>header,body>footer) .hd-top{width:min(1280px,calc(100% - 40px)); margin:0 auto; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; padding:12px 0;}
:where(body>header,body>footer) .hd-logo img{height:54px; width:auto;}
:where(body>header,body>footer) .hd-nav{display:flex; justify-content:center; gap:4px; flex-wrap:wrap;}
:where(body>header,body>footer) .hd-nav a{padding:10px 14px; font-size:14px; font-weight:700; color:var(--ink); border-radius:999px; position:relative;}
:where(body>header,body>footer) .hd-nav a:hover{background:var(--soft); color:var(--main);}
:where(body>header,body>footer) .hd-contact{justify-self:end; display:flex; align-items:center; gap:16px;}
:where(body>header,body>footer) .hd-tel{text-align:right;}
:where(body>header,body>footer) .hd-tel .num{font-family:"Space Grotesk","Zen Kaku Gothic New",sans-serif; font-weight:700; font-size:18px; color:var(--ink);}
:where(body>header,body>footer) .hd-tel .hours{font-size:10px; color:var(--muted);}
:where(body>header,body>footer) .hd-cta{background:var(--red); color:#fff; font-weight:700; font-size:13px; padding:12px 18px; border-radius:999px;}
:where(body>header,body>footer) .hd-cta:hover{background:var(--red-deep);}
:where(body>header,body>footer) .hd-accent{height:4px; background:linear-gradient(90deg,var(--main),var(--yellow) 55%,var(--red));}
:where(body>header,body>footer) .c-message__pname .nm{font-family:"Shippori Mincho",serif; font-size:22px; font-weight:600; margin-top:4px;}
body>footer.c-footer{background:var(--main-deep); color:rgba(255,255,255,.74);}
:where(body>header,body>footer) .c-footer__in{width:min(1180px,calc(100% - 56px)); margin:0 auto; display:grid; grid-template-columns:1.4fr 2fr; gap:40px; padding:58px 0 30px;}
:where(body>header,body>footer) .c-footer__brand .logo{display:inline-flex; background:#fff; padding:9px 16px; border-radius:10px;}
:where(body>header,body>footer) .c-footer__brand .logo img{height:42px; width:auto; display:block;}
:where(body>header,body>footer) .c-footer__brand .nm{font-family:"Shippori Mincho",serif; font-weight:800; font-size:24px; color:#fff; margin-top:8px;}
:where(body>header,body>footer) .c-footer__brand p{font-size:13.5px; line-height:1.9; margin:12px 0 16px; color:rgba(255,255,255,.7); max-width:24em;}
:where(body>header,body>footer) .c-footer__tel{font-family:"Space Grotesk","Zen Kaku Gothic New",sans-serif; color:#fff; font-weight:700; font-size:18px;}
:where(body>header,body>footer) .c-footer__sns{display:flex; gap:10px; margin-top:16px;}
:where(body>header,body>footer) .c-footer__sns a{width:36px; height:36px; border:1px solid var(--line-white); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; transition:.2s;}
:where(body>header,body>footer) .c-footer__sns a:hover{background:#fff; color:var(--main-deep);}
:where(body>header,body>footer) .c-footer__cols{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
:where(body>header,body>footer) .c-footer__col h4{font-family:"Space Grotesk","Zen Kaku Gothic New",sans-serif; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--yellow); margin:0 0 12px;}
:where(body>header,body>footer) .c-footer__col a{display:block; color:#fff; font-size:14px; padding:6px 0; opacity:.85;}
:where(body>header,body>footer) .c-footer__col a:hover{opacity:1; color:var(--yellow);}
:where(body>header,body>footer) .c-footer__bottom{border-top:1px solid var(--line-white);}
:where(body>header,body>footer) .c-footer__bottom .in{width:min(1180px,calc(100% - 56px)); margin:0 auto; padding:18px 0 22px; font-size:12px; color:rgba(255,255,255,.55); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}
@media(max-width:820px){:where(body>header,body>footer) .c-footer__in{grid-template-columns:1fr; gap:28px;}}
@media (max-width:768px){:where(body>header,body>footer) .hd-nav,:where(body>header,body>footer) .hd-tel{display:none;}
:where(body>header,body>footer) .hd-top{grid-template-columns:1fr auto;}}
:where(body>header,body>footer) .z-mobile-toggle{display:none;position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:10002;width:48px;height:48px;border:1px solid currentColor;border-radius:50%;background:var(--paper,#fff);color:var(--ink,#111);cursor:pointer;align-items:center;justify-content:center}
:where(body>header,body>footer) .z-mobile-toggle span,:where(body>header,body>footer) .z-mobile-toggle::before,:where(body>header,body>footer) .z-mobile-toggle::after{content:"";position:absolute;width:22px;height:2px;background:currentColor;transition:transform .3s ease,opacity .3s ease}
:where(body>header,body>footer) .z-mobile-toggle::before{transform:translateY(-7px)}
:where(body>header,body>footer) .z-mobile-toggle::after{transform:translateY(7px)}
@media(max-width:900px){body>header{position:relative;padding-right:62px!important}
:where(body>header,body>footer) .z-mobile-toggle{display:flex}
body>header nav{display:none!important}
body.z-mobile-open header{z-index:10000}
body.z-mobile-open header nav{display:flex!important;position:fixed!important;inset:0!important;z-index:10000!important;background:var(--paper,#fff)!important;color:var(--ink,#111)!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:88px 24px 32px!important;overflow:auto!important}
body.z-mobile-open header nav a{display:block!important;width:min(100%,420px)!important;padding:15px 8px!important;border-bottom:1px solid rgba(80,80,80,.18)!important;color:inherit!important;text-align:center!important;font-size:16px!important}
body.z-mobile-open .z-mobile-toggle{position:fixed;color:var(--ink,#111);background:var(--paper,#fff)}
body.z-mobile-open .z-mobile-toggle span{opacity:0}
body.z-mobile-open .z-mobile-toggle::before{transform:rotate(45deg)}
body.z-mobile-open .z-mobile-toggle::after{transform:rotate(-45deg)}}
@media(prefers-reduced-motion:reduce){:where(body>header,body>footer) .z-mobile-toggle span,:where(body>header,body>footer) .z-mobile-toggle::before,:where(body>header,body>footer) .z-mobile-toggle::after{transition:none}}