/* Keep the existing language destinations and page navigation. */
.sd-language-switcher{gap:6px;font-size:12px;align-self:center}
.sd-language-switcher a[lang="en"],.translatepress-en_US .sd-language-switcher a[lang="ja"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 18px;border:1.5px solid #58743d;border-radius:999px;background:#fff;color:#3f5b29!important;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.sd-language-switcher a[lang="en"]::before{content:"";display:inline-block;width:17px;height:17px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18M5 7h14M5 17h14'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.sd-language-switcher a[lang="en"]:hover,.translatepress-en_US .sd-language-switcher a[lang="ja"]:hover{background:#edf3e6;color:#30491d!important}
.sd-language-switcher a:focus-visible,.sd-english-notice a:focus-visible,.sd-english-notice button:focus-visible{outline:3px solid #b26a15;outline-offset:3px}
.sd-language-switcher a[lang="en"][aria-current="true"]{background:#edf3e6}
.sd-english-notice[hidden]{display:none!important}
.sd-english-notice{font-family:Arial,sans-serif;background:#edf3e6;border-block:1px solid #d0dcc4;color:#263b21;line-height:1.5;box-sizing:border-box}
.sd-english-notice *{box-sizing:border-box}
.sd-english-notice-inner{max-width:1280px;margin:0 auto;padding:12px 44px;display:flex;align-items:center;gap:16px}
.sd-english-notice p{margin:0;font-size:15px;font-weight:700;flex:1}
.sd-english-notice p span{font-weight:400;margin-left:5px}
.sd-english-notice-link{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:10px 18px;border:1px solid #45632e;border-radius:5px;background:#45632e;color:white!important;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.sd-english-notice-link:hover{background:#354f22}
.sd-english-notice-close{flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:transparent;color:#3c542c;font:28px/1 Arial,sans-serif;cursor:pointer;border-radius:5px}
.sd-english-notice-close:hover{background:#dce7d1}
@media(max-width:700px){
 .sh-header:has(.sd-language-switcher){grid-template-columns:minmax(0,1fr) auto;column-gap:10px}
 .sh-header:has(.sd-language-switcher) .sh-logo{min-width:0}
 .sd-language-switcher{gap:0;font-size:12px}
 .sd-language-switcher a[aria-current="true"]{display:none}
 .sd-language-switcher a[lang="en"],.translatepress-en_US .sd-language-switcher a[lang="ja"]{min-height:44px;padding:8px 13px;gap:6px}
 .sd-english-notice-inner{padding:12px 16px;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px 12px}
 .sd-english-notice p{grid-column:1;grid-row:1;font-size:14px}
 .sd-english-notice p span{display:block;margin-left:0;font-size:13px}
 .sd-english-notice-link{grid-column:1;grid-row:2;justify-self:start;font-size:13px;min-height:44px;padding:9px 16px}
 .sd-english-notice-close{grid-column:2;grid-row:1/3;align-self:start}
}
@media(max-width:420px){.sh-header:has(.sd-language-switcher){padding-inline:16px}.sh-header:has(.sd-language-switcher) .sh-logo>span{font-size:18px;letter-spacing:.04em}.translatepress-en_US .sh-header:has(.sd-language-switcher) .sh-logo>span{font-size:15px}.sd-language-switcher a[lang="en"]{padding-inline:11px}}
@media(prefers-reduced-motion:reduce){.sd-language-switcher a{transition:none}}
