/* A compact language choice beside the logo; shared by both language versions. */
.language-switch{display:flex;align-items:center;flex:none;gap:2px;padding:3px;border:1px solid #d9dece;border-radius:24px;margin-right:auto}
.language-switch a{display:grid;place-items:center;min-width:34px;min-height:36px;padding:3px 6px;border-radius:20px;font-size:12px;font-weight:600;color:#42582b;text-decoration:none;line-height:1}
.language-switch a[aria-current="page"]{background:#617e27;color:#fff}
.language-switch a:hover{background:#e6eadc;color:#243d30}
.language-switch a:focus-visible{outline:2px solid #243d30;outline-offset:3px}
.language-switch a[lang="ja"]{min-width:48px;font-family:"Yu Gothic",Meiryo,sans-serif}
.header-inner{gap:22px}
@media(min-width:961px) and (max-width:1200px){.header-inner{gap:12px}.site-header .brand{width:146px}.main-nav{gap:12px;font-size:13px}.main-nav .button-small{padding-inline:14px}}
@media(max-width:960px){.header-inner{gap:0 6px}.language-switch{margin-left:auto;margin-right:4px}.language-switch a{min-height:38px}.site-header .brand{width:145px}.main-nav{flex-basis:100%}}
@media(max-width:420px){.site-header .brand{width:120px}.language-switch{margin-right:0;padding:2px}.language-switch a{min-width:28px;padding-inline:4px}.language-switch a[lang="ja"]{min-width:44px}.header-inner{column-gap:4px}}
@media(max-width:350px){.site-header .brand{width:99px}.language-switch a{font-size:11px}}
html[lang="en"] .hero h1{text-wrap:balance}
html[lang="en"] .mega-links a{white-space:normal}
