/* 縦画面の時 */
@media (orientation: portrait) {
  .leaflet-popup-content > img {
    max-height: 38dvh;
  }
}

.area-select-controls button {
  font-size: 1.3rem;
  height: calc(var(--font-size)* 3);
}

/* === 言語別フォント指定 (ゴシック体 / サンセリフ) === */
html:lang(ja) .leaflet-container {
  font-family: "UD Shin Go NT Regular", "BIZ UD Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html:lang(ko) .leaflet-container {
  font-family: "Clarimo UD KR Pro Regular", "BIZ UD Gothic", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html:lang(zh-hans) .leaflet-container {
  font-family: "UD Shin Go SC Regular", "BIZ UD Gothic", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html:lang(zh-hant) .leaflet-container {
  font-family: "UD ShinGo Std TC R", "BIZ UD Gothic", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html:lang(en) .leaflet-container,
html:lang(fr) .leaflet-container,
html:lang(de) .leaflet-container,
html:lang(pt) .leaflet-container,
html:lang(it) .leaflet-container,
html:lang(vi) .leaflet-container,
html:lang(ru) .leaflet-container,
html:lang(es) .leaflet-container {
  font-family: "Clarimo UD PE Narrow Regular", "BIZ UD Gothic", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
