/* Shared navigation uses viewport-independent units on every page. */
.site-header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 2px 12px #30201014;color:#080908;font-family:"Noto Sans JP","Hiragino Sans",sans-serif}
.site-header *{box-sizing:border-box}
.site-header .header-inner{width:min(88%,1680px);max-width:none;height:clamp(64px,5.6vw,76px);margin:0 auto;display:flex;align-items:center;gap:0;padding:0}
.site-header a{color:inherit;text-decoration:none}
.site-header .brand{display:flex;align-items:center;flex:none;width:clamp(190px,17.8vw,240px);height:auto;gap:5px;transform:none;max-width:none}
.site-header .brand-mark{display:block;width:18.33%;height:auto}
.site-header .brand-wordmark{display:flex;align-items:flex-end;width:79.44%;gap:1px;filter:grayscale(1) contrast(3)}
.site-header .brand-wordmark img{display:block;height:auto;max-width:100%}
.site-header .brand-wordmark img:first-child{width:33.393%}.site-header .brand-wordmark img:last-child{width:59.464%}
.site-header .desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(16px,1.9vw,26px);margin-left:auto;font-size:clamp(12px,1vw,14px);font-weight:700;white-space:nowrap}
.site-header .desktop-nav a:hover,.site-header .mobile-nav a:hover{color:#bd5500}
.site-header .search-button{display:flex;align-items:center;justify-content:flex-end;width:48px;height:34px;margin-left:24px;padding:0 0 0 18px;border-left:1px solid #333}
.site-header .search-button svg{display:block;width:28px;height:28px;flex:none}
.site-header .menu-button{display:none}
.site-header .mobile-nav[hidden]{display:none!important}
.site-header :focus-visible{outline:3px solid #248c38;outline-offset:4px}
@media(min-width:821px){.site-header .mobile-nav{display:none}}
@media(max-width:820px){
.site-header .header-inner{width:88%;height:66px;max-width:none}
.site-header .brand{width:min(145px,37.18vw);gap:3px}
.site-header .desktop-nav{display:none}
.site-header .search-button{display:flex;margin-left:auto;margin-right:16px;width:32px;height:40px;padding:0;border:0;justify-content:center}
.site-header .search-button svg{width:22px;height:22px}
.site-header .menu-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:36px;height:40px;padding:0;margin:0;border:0;background:none;color:inherit;cursor:pointer}
.site-header .menu-button span{display:block;width:23px;height:2px;background:currentColor}
.site-header .mobile-nav{position:absolute;left:0;right:0;top:66px;width:100%;padding:8px 6% 18px;background:#fff;border-top:1px solid #eee;box-shadow:0 12px 20px #30201018}
.site-header .mobile-nav a{display:block;padding:13px 0;border-bottom:1px solid #eee;font-size:14px;font-weight:700}
}
/* Avoid inherited typography differences in individual article stylesheets. */
.site-header{font-size:16px;line-height:1.5;letter-spacing:normal}
/* Shared, light footer; independent of page typography and rem scale. */
.site-footer{background:#fff;color:#171a17;border-top:1px solid #eee2d4;font:14px/1.7 "Noto Sans JP","Hiragino Sans",sans-serif;letter-spacing:normal}
.site-footer *{box-sizing:border-box}
.site-footer .footer-inner{width:min(88%,1680px);max-width:none;min-height:0;margin:0 auto;padding:44px 0 20px;display:grid;grid-template-columns:minmax(200px,1fr) minmax(250px,1.2fr) minmax(280px,1.2fr);gap:28px 40px;align-items:start}
.site-footer .footer-tagline-line{display:block}
.site-footer .footer-copy-chunk{display:inline-block}
.site-footer .footer-tagline{margin:12px 0 0;font-size:13px;font-weight:400;line-height:1.7;letter-spacing:.04em;color:#5f5f58}
.site-footer .footer-brand{display:flex;width:216px;height:auto;align-items:center;gap:5px;margin:0;text-decoration:none}
.site-footer .footer-brand .footer-mark{width:18.33%;height:auto;display:block}
.site-footer .footer-wordmark{width:79.44%;display:flex;align-items:flex-end;gap:1px;filter:grayscale(1) contrast(3)}
.site-footer .footer-wordmark img{display:block;height:auto;max-width:100%}
.site-footer .footer-wordmark img:first-child{width:33.393%}.site-footer .footer-wordmark img:last-child{width:59.464%}
.site-footer .footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0;padding:0}
.site-footer .footer-group p{font-size:13px;font-weight:700;line-height:1.6;margin:0 0 4px;color:#171a17}
.site-footer .footer-group a,.site-footer .footer-group button{display:block;width:auto;background:none;border:0;border-radius:0;padding:0;margin:0;font:400 12px/1.8 "Noto Sans JP","Hiragino Sans",sans-serif;letter-spacing:0;text-align:left;color:#5f5f58;text-decoration:none;cursor:pointer}
.site-footer .footer-group a:hover,.site-footer .footer-group button:hover{color:#b95200;text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-services a span{color:#b95200;margin-left:4px}
.site-footer .footer-inner small{grid-column:1/-1;width:100%;margin:0;padding-top:18px;border-top:1px solid #eee7df;color:#77776f;font-size:11px;line-height:1.5}
.site-footer :focus-visible{outline:2px solid #ff7d05;outline-offset:4px}
.footer-preview-dialog{width:min(90%,440px);padding:28px;border:1px solid #eee2d4;border-radius:10px;color:#171a17;background:#fff;font:14px/1.8 "Noto Sans JP",sans-serif}
.footer-preview-dialog::backdrop{background:#0005}.footer-preview-dialog h2{font-size:18px;line-height:1.7;margin:0 0 14px}.footer-preview-dialog button{display:block;margin:20px 0 0 auto;padding:8px 20px;background:#ff7d05;color:#171a17;border:0;border-radius:30px;font:inherit;cursor:pointer}
@media(max-width:1000px) and (min-width:621px){.site-footer .footer-inner{grid-template-columns:1fr 1fr;gap:28px 32px}.site-footer .footer-identity{grid-column:1/-1}}
@media(max-width:620px){.site-footer .footer-inner{grid-template-columns:1fr;padding:32px 0 20px;gap:28px}.site-footer .footer-brand{width:190px}.site-footer .footer-group{gap:12px}.site-footer .footer-group a,.site-footer .footer-group button{font-size:12px}.site-footer .footer-inner small{padding-top:18px}}
