/* Locale controls are additive; slideshow timing and reviewed transitions are untouched. */
.htg-language-picker{position:relative;flex:0 0 auto;font:600 12px/1.4 system-ui,sans-serif;color:#f4fbff}
.htg-language-picker>summary{display:flex;align-items:center;gap:4px;min-height:32px;padding:5px 3px;cursor:pointer;list-style:none;white-space:nowrap}
.htg-language-picker>summary::-webkit-details-marker{display:none}
.htg-language-picker>summary:focus-visible,.htg-language-options a:focus-visible,.htg-language-mobile a:focus-visible{outline:2px solid #67ddea;outline-offset:3px;border-radius:4px}
.htg-language-options{position:absolute;right:0;top:calc(100% + 8px);z-index:80;width:168px;background:#102a3a;border:1px solid #72bdcf66;border-radius:8px;padding:6px;box-shadow:0 12px 30px #0005}
.htg-language-options a{display:flex;align-items:center;gap:12px;padding:10px 9px;color:#edfaff;text-decoration:none;border-radius:4px;font-size:13px;line-height:1.5;white-space:nowrap}
.htg-language-options a b{width:22px;color:#8bdde8;font-size:11px}.htg-language-options a:hover,.htg-language-options a[aria-current=true]{background:#83d7e51c}
.htg-language-mobile{display:flex;flex-wrap:wrap;gap:8px;padding:5px 0 17px;margin-bottom:8px;border-bottom:1px solid #cde8f02b}
.htg-language-mobile a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;flex:1 1 42%;padding:8px!important;border:1px solid #8eb8cb40;border-radius:6px;font:12px/1.4 system-ui,sans-serif;color:#eefbff;text-decoration:none}
.htg-language-mobile a[aria-current=true]{background:#74d4e720;border-color:#74d4e7}.htg-language-mobile b{font-size:11px;color:#8bdde8}
.htg-language-note{font-size:12px;line-height:1.65;color:inherit;opacity:.85}
html[lang=ja] body,html[lang=ja] button,html[lang=ja] input,html[lang=ja] textarea,html[lang=ja] select{font-family:Inter,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif}
html[lang=ja] .spatial-copy h1,html[lang=ja] .pc-title{letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}
html[lang=fr] .btn,html[lang=fr] .pc-actions a,html[lang=fr] .pc-actions button,html[lang=fr] .spatial-actions a,html[lang=fr] .spatial-actions button{white-space:normal;min-height:44px;height:auto;text-align:center}
html[lang=fr] .site-header .desktop-nav>a,html[lang=fr] .site-header .nav-group>button{white-space:normal;line-height:1.25;text-align:left}
html[lang=fr] .site-header .desktop-nav{gap:clamp(12px,1.5vw,26px)}
html[lang=fr] .site-header .header-cta{white-space:normal;line-height:1.2;max-width:150px;min-height:34px;height:auto;padding-top:6px;padding-bottom:6px}
html[lang=fr] .mega-item strong,html[lang=ja] .mega-item strong{overflow-wrap:anywhere}
@media(max-width:1200px) and (min-width:1000px){html[lang=fr] .site-header .header-inner{width:calc(100% - 48px);gap:12px}html[lang=fr] .site-header .brand img{width:150px}html[lang=fr] .site-header .desktop-nav{gap:12px}html[lang=fr] .site-header .header-tools{gap:8px}}
@media(max-width:999px){.site-header .htg-language-picker{display:none}html[lang=fr] .site-header .header-cta{max-width:145px}html[lang=ja] .spatial-copy h1,html[lang=ja] .pc-title{font-size:clamp(31px,5.2vw,54px)}}
@media(max-width:600px){html[lang=fr] .spatial-actions,html[lang=fr] .pc-actions{flex-wrap:wrap}html[lang=fr] .spatial-actions>a,html[lang=fr] .spatial-actions>button,html[lang=fr] .pc-actions>a,html[lang=fr] .pc-actions>button{max-width:100%;font-size:13px}html[lang=ja] .spatial-copy h1,html[lang=ja] .pc-title{font-size:clamp(28px,7.6vw,42px)}html[lang=ja] .spatial-copy p,html[lang=ja] .pc-description{font-size:14px;line-height:1.75}html[lang=ja] .spatial-desktop-break{display:none}}

/* Imported hero spans use nowrap and horizontal scaling; translated headlines need natural line breaks. */
html[lang=en] .spatial-copy h1>span,html[lang=ja] .spatial-copy h1>span,html[lang=fr] .spatial-copy h1>span{white-space:normal;transform:none;overflow-wrap:break-word;max-width:100%}
html[lang=fr] .spatial-copy h1{line-height:1.12;hyphens:auto}
