.ui-language-dialog{width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;padding:24px;border:1px solid #dce3d9;border-radius:20px;color:#203e36;background:#fff;overflow:auto}
.ui-language-dialog::backdrop{background:rgba(15,35,29,.45)}
.ui-language-dialog h2{margin:0;font-size:20px;line-height:1.5}
.ui-language-dialog h2 span{display:block}
.ui-language-dialog h2 span+span{font-size:17px;font-weight:500}
.ui-language-dialog p{font-size:14px;line-height:1.7;color:#63766c}
.ui-language-choices{display:grid;gap:12px;margin-top:20px}
.ui-language-choices button{min-height:52px;width:100%;font-size:17px;border-radius:12px}
.ui-language-choices button:focus-visible{outline:3px solid #a5bfa0;outline-offset:3px}
html[lang=ja] body{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
html[lang=ja] .brand span{font-size:11px}
html[lang=ja] .bottom-nav a{font-size:11px}
html[lang=ja] .flow-nav a{font-size:12px;line-height:1.5}
html[lang=ja] button,html[lang=ja] summary,html[lang=ja] .primary-link{overflow-wrap:anywhere}
