/* 言語選択（ヘッダー）。既存ヘッダーのボタンと同じ控えめなガラス調。文字は12px以上 */
.lang-switch{position:relative;display:inline-block;flex:0 0 auto}
.lang-switch>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid #7fa3e04d;border-radius:999px;background:#0a142699;color:#dce8ff;font-size:13px;line-height:1;cursor:pointer;list-style:none;white-space:nowrap;user-select:none}
.lang-switch>summary::-webkit-details-marker{display:none}
.lang-switch>summary:hover,.lang-switch[open]>summary{border-color:#9fb8ff99;background:#13204099}
.lang-switch>summary:focus-visible,.lang-switch a:focus-visible{outline:2px solid #8fb4ff;outline-offset:2px}
.lang-switch>ul{position:absolute;right:0;top:calc(100% + 6px);z-index:700;min-width:170px;margin:0;padding:6px;list-style:none;border:1px solid #7f9ce066;border-radius:12px;background:linear-gradient(160deg,#121d36f5,#08101ef5);box-shadow:0 14px 34px #0009;backdrop-filter:blur(14px)}
.lang-switch li{margin:0}
.lang-switch a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:8px;color:#dce8ff;font-size:14px;text-decoration:none}
.lang-switch a:hover{background:#ffffff14}
.lang-switch a[aria-current=true]{background:linear-gradient(105deg,#7656d955,#257eae55);color:#fff;font-weight:650}
.lang-switch a[aria-current=true]::after{content:"";width:6px;height:10px;margin-right:2px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
@media(max-width:650px){.lang-switch>summary span{display:none}.lang-switch>summary{padding:0 10px}}
/* TOP のナビはスマートフォンでリンクを隠すので、言語の選択肢だけは表示する */
.nav .lang-switch a:not(.cta){display:flex}
/* 英語など欧文の見出し：日本語向けの「改行しない」指定を外し、文字幅に合わせて少し小さく */
html:not([lang=ja]) .hero h1,html:not([lang=ja]) .hero[data-phase] h1{font-size:clamp(34px,5.4vw,88px);letter-spacing:.01em;line-height:1.12}
html:not([lang=ja]) .hero h1 .gradient{white-space:normal}
@media(max-width:600px){html:not([lang=ja]) .hero h1,html:not([lang=ja]) .hero[data-phase] h1{font-size:clamp(30px,9.4vw,44px)}}
