/**
 * 多言語サイト（/th/・/vi/・/ko/ ほか。inc-lx.php）専用 — 2026-10-25 新設。多言語ページだけで読み込む。
 * 和文フォント（Zen Kaku Gothic New／Zen Old Mincho）を、その言語の Noto フォント（header-lx.php で読み込み）に置き換える。
 *   ・Zen フォントにはタイ文字・ハングル・ベトナム語の声調記号が無く、1行の中でフォントが混ざってしまうため
 * アイコンフォント（class に icon を含む要素）には効かせない。言語を足したら、ここにも1ブロック足す。
 */
html:lang(th) body,
html:lang(th) body :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,th,td,span,div,small,strong,b,em,label,button,input,select,textarea,figcaption,blockquote,caption):not([class*="icon"]){
  font-family:"Noto Sans Thai","Leelawadee UI","Thonburi",Tahoma,sans-serif !important;
}
html:lang(vi) body,
html:lang(vi) body :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,th,td,span,div,small,strong,b,em,label,button,input,select,textarea,figcaption,blockquote,caption):not([class*="icon"]){
  font-family:"Noto Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
}
html:lang(ko) body,
html:lang(ko) body :where(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,th,td,span,div,small,strong,b,em,label,button,input,select,textarea,figcaption,blockquote,caption):not([class*="icon"]){
  font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif !important;
}
/* 日本語の表記（社名の併記、日本語サイトへのリンク等）は lang 属性に合わせる */
html:lang(th) body [lang="ja"], html:lang(vi) body [lang="ja"], html:lang(ko) body [lang="ja"]{
  font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif !important;
}
/* タイ語は声調記号が上下に付くため、行間を少し広げる。韓国語は単語の途中で改行させない */
html:lang(th) body :where(p,li,dd,td){ line-height:1.9; }
html:lang(ko) body :where(h1,h2,h3,h4,p,li,dd,td,a,span){ word-break:keep-all; overflow-wrap:anywhere; }
