/* トップのヘッダー・フッターの意匠を下層へ引き継ぐ。本文へは適用しない。 */
:where(body>header,body>footer){--bg:#F6F1E7;--paper:#FFFFFF;--main:#3D5341;--main-deep:#27341F;--sub:#8A6A4F;--accent:#C8843C;--accent-deep:#A86A28;--ink:#27331F;--body:#4A463E;--muted:#857C6C;--line:rgba(39,49,31,.16);--line-soft:rgba(39,49,31,.08);--line-white:rgba(255,255,255,.16);}
:where(body>header,body>footer) .btn{word-break:auto-phrase; text-wrap:balance;}
:where(body>header,body>footer) .btn{display:inline-flex; align-items:center; justify-content:center; gap:.5em; font-weight:700; font-size:15px; padding:15px 28px; border-radius:999px; border:1.5px solid transparent; transition:transform .2s ease, background .2s ease, color .2s ease;}
:where(body>header,body>footer) .btn.primary{background:var(--accent); color:#fff; box-shadow:0 14px 30px -14px rgba(200,132,60,.7);}
:where(body>header,body>footer) .btn.primary:hover{transform:translateY(-2px); background:var(--accent-deep);}
:where(body>header,body>footer) .btn.ghost{background:transparent; color:var(--main); border-color:var(--main);}
:where(body>header,body>footer) .btn.ghost:hover{background:var(--main); color:#fff;}
:where(body>header,body>footer) .btn.light{background:transparent; color:#fff; border-color:var(--line-white);}
:where(body>header,body>footer) .btn.light:hover{background:#fff; color:var(--main);}
body>header.site-header{position:sticky; top:0; z-index:50; background:rgba(246,241,231,.92); backdrop-filter:blur(12px); border-bottom:3px solid var(--accent);}
:where(body>header,body>footer) .hd-top{width:min(1340px,calc(100% - 40px)); margin:0 auto; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:28px; padding:10px 0;}
:where(body>header,body>footer) .hd-brand .logo img{width:auto; height:72px; display:block;}
:where(body>header,body>footer) .hd-nav{display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap;}
:where(body>header,body>footer) .hd-nav a{padding:10px 15px; font-size:14px; font-weight:700; color:var(--ink); border-radius:8px;}
:where(body>header,body>footer) .hd-nav a:hover{background:var(--paper); color:var(--accent-deep);}
:where(body>header,body>footer) .hd-contact{justify-self:end; display:flex; align-items:center; gap:18px;}
:where(body>header,body>footer) .hd-tel{text-align:right;}
:where(body>header,body>footer) .hd-tel .free{font-family:"Space Grotesk",monospace; font-weight:700; font-size:23px; color:var(--ink); letter-spacing:.02em;}
:where(body>header,body>footer) .hd-tel .hours{font-size:10px; color:var(--muted); margin-top:2px;}
:where(body>header,body>footer) .hd-cta{background:var(--accent); color:#fff; font-weight:700; font-size:13px; padding:13px 18px; border-radius:10px; box-shadow:0 8px 16px -8px rgba(200,132,60,.6);}
:where(body>header,body>footer) .hd-cta:hover{background:var(--accent-deep);}
:where(body>header,body>footer) .c-message__sign .nm{font-family:"Zen Old Mincho",serif; font-size:21px; font-weight:700;}
:where(body>header,body>footer) .c-message__vtitle .mk2{position:relative; color:var(--ink);}
:where(body>header,body>footer) .c-message__vtitle .mk2::after{content:""; position:absolute; right:-8px; top:0; bottom:0; width:8px; background:rgba(200,132,60,.28); z-index:-1;}
:where(body>header,body>footer) .c-message__pname .nm{font-family:"Shippori Mincho",serif; font-size:22px; font-weight:600; margin-top:4px;}
:where(body>header,body>footer) .c-process__step .seal{position:absolute; right:12px; bottom:12px; width:50px; height:50px; border-radius:50%; border:2px solid var(--accent); color:var(--accent-deep); display:flex; align-items:center; justify-content:center; font-family:"Shippori Mincho",serif; font-weight:800; font-size:18px; transform:rotate(-10deg) scale(0); opacity:0;}
:where(body>header,body>footer) .c-cta__title .mk2{color:#E6B84A;}
:where(body>header,body>footer) .c-cta__tel .hours{display:flex; gap:10px; align-items:center; font-size:13px; color:rgba(251,246,236,.7);}
:where(body>header,body>footer) .c-cta__tel .hours .pill{border:1px solid var(--line-white); border-radius:20px; padding:4px 12px;}
body>footer.footer{background:var(--main-deep); color:#EFEAD9; position:relative;}
body>footer.footer .fseigaiha{height:34px; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='32'><g fill='none' stroke='%237e8a72' stroke-width='1.3'><path d='M0 32 A16 16 0 0 1 32 32 A16 16 0 0 1 64 32'/><path d='M0 24 A16 16 0 0 1 32 24 A16 16 0 0 1 64 24'/><path d='M0 16 A16 16 0 0 1 32 16 A16 16 0 0 1 64 16'/></g></svg>"); background-size:64px 32px; opacity:.55;}
body>footer.footer .fcta{position:relative; width:min(1180px,calc(100% - 56px)); margin:0 auto; padding:56px 0; display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; border-bottom:1px solid var(--line-white);}
body>footer.footer .fcta h2{color:#fff; font-weight:800; font-size:clamp(24px,3.4vw,40px); line-height:1.4;}
body>footer.footer .fcta h2 .mk2{color:var(--accent);}
body>footer.footer .fcta .btns{display:flex; gap:14px; flex-wrap:wrap;}
body>footer.footer .ft-main{width:min(1180px,calc(100% - 56px)); margin:0 auto; display:grid; grid-template-columns:auto 1fr auto; gap:50px; padding:60px 0 40px; align-items:start;}
body>footer.footer .fbrand{display:flex; gap:14px; align-items:flex-start;}
body>footer.footer .fbrand .seal{width:50px; height:50px; border:1.5px solid var(--accent); border-radius:6px; color:var(--accent); display:flex; align-items:center; justify-content:center; font-family:"Shippori Mincho",serif; font-weight:800; font-size:26px; transform:rotate(-4deg);}
body>footer.footer .fbrand .nm{writing-mode:vertical-rl; font-family:"Shippori Mincho",serif; font-weight:800; font-size:24px; letter-spacing:.18em; color:#fff;}
body>footer.footer .finfo .row{display:flex; gap:12px; font-size:14px; padding:6px 0; line-height:1.8;}
body>footer.footer .finfo .lab{font-family:"Space Grotesk",monospace; font-size:10px; letter-spacing:.12em; color:var(--accent); min-width:64px; padding-top:3px;}
body>footer.footer .finfo .tel{font-family:"Space Grotesk",monospace; font-weight:700; font-size:20px; color:#fff;}
body>footer.footer .finfo span{color:rgba(239,234,217,.82);}
body>footer.footer .fnav{display:flex; flex-direction:column; gap:2px; text-align:right;}
body>footer.footer .fnav a{font-family:"Shippori Mincho",serif; font-weight:700; font-size:15px; color:#EFEAD9; padding:6px 0;}
body>footer.footer .fnav a:hover{color:var(--accent);}
body>footer.footer .cp{border-top:1px solid var(--line-white);}
body>footer.footer .cp .in{width:min(1180px,calc(100% - 56px)); margin:0 auto; padding:18px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px;}
body>footer.footer .cp .cpt{font-family:"Space Grotesk",monospace; font-size:12px; color:rgba(239,234,217,.55);}
body>footer.footer .cp .legal{display:flex; gap:18px;}
body>footer.footer .cp .legal a{color:rgba(239,234,217,.6); font-size:12px;}
body>footer.footer .cp .legal a:hover{color:var(--accent);}
@media (max-width:960px){body>footer.footer .ft-main{grid-template-columns:1fr;}
body>footer.footer .fnav{text-align:left;}
body>footer.footer .fcta{grid-template-columns:1fr;}}
@media (max-width:768px){:where(body>header,body>footer) .hd-tel,:where(body>header,body>footer) .hd-nav{display:none;}
:where(body>header,body>footer) .hd-brand .logo img{height:52px;}
:where(body>header,body>footer) .btn{width:100%;}}
: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}}