/* 言語の切り替えと、各言語のページ用(アルパカ・カピバラ温泉・クラフト・グランピング・こぶたのレースで共用) */
.mf-langs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0 0 18px; }
.mf-langs a { padding: 1px 12px; border: 2px solid #e3dccf; border-radius: 999px; background: #fff; color: #4a3a30 !important; font-size: 12px; font-weight: 700; line-height: 1.6; text-decoration: none; }
.mf-langs a:hover { border-color: #4a3a30; }
.mf-langs a.is-current { border-color: #4a3a30; background: #4a3a30; color: #fff !important; }
.mf-i18n-note { margin: -8px 0 18px; font-size: 12px; color: #8a7a6a; text-align: right; }

/* 各言語の文字に合う書体(本文の書体は日本語用のため) */
html:lang(zh-CN) #contents, html:lang(zh-CN) #contents *:not(.fa) { font-family: "Noto Sans SC", sans-serif; }
html:lang(zh-TW) #contents, html:lang(zh-TW) #contents *:not(.fa) { font-family: "Noto Sans TC", sans-serif; }
html:lang(ko) #contents, html:lang(ko) #contents *:not(.fa) { font-family: "Noto Sans KR", sans-serif; }
html:lang(th) #contents, html:lang(th) #contents *:not(.fa) { font-family: "Noto Sans Thai", sans-serif; }
html:lang(en) #contents, html:lang(th) #contents { word-break: normal; overflow-wrap: break-word; }
html:lang(ko) #contents { word-break: keep-all; overflow-wrap: break-word; }
@media screen and (max-width: 768px) {
  .mf-langs { justify-content: flex-start; }
  .mf-i18n-note { text-align: left; }
}
/* こぶたのレース: 写真の上の丸いシールは、英語・タイ語だと長いので小さく */
html:lang(en) .kr-sticker span, html:lang(th) .kr-sticker span { font-size: 17px; }
@media screen and (max-width: 768px) { html:lang(en) .kr-sticker span, html:lang(th) .kr-sticker span { font-size: 12px; } }
