/* ----- font.css ----- */
/* 引入 cwTeXFangSong 仿宋體 */
@import url('https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css ');
/* Noto Sans TC 思源黑體 */
@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css ');
/* cwTeXKai 楷體字體 */
@import url('https://fonts.googleapis.com/earlyaccess/cwtexkai.css ');
/* cwTeXYen 圓體字體 */
@import url('https://fonts.googleapis.com/earlyaccess/cwtexyen.css ');
/* cwTeXMing 明體字體 */
@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css ');

/* Google Fonts 中文字型擴充 */
/* 思源宋體 Noto Serif TC */
@import url('https://fonts.googleapis.com/earlyaccess/notoseriftc.css ');
/* ZCOOL KuaiLe 快樂體（類似手寫風） */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&display=swap');
/* ZCOOL XiaoWei 小魏體（古典風格） */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap');
/* ZCOOL QingKe HuangYou 清刻黃油體（圓潤活潑） */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+QingKe+HuangYou&display=swap');
/* IBM Plex Sans TC（商業感、清晰） */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+TC&display=swap');
/* GenSenRounded（源泉圓體，有圓角） */
@import url('https://cdn.jsdelivr.net/npm/@fontsource/gen-sen-rounded/index.css');
/* BIZ UDGothic（日本商用風格） */
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic&display=swap');


/*
:root {
  --font-family: 
    'Noto Sans TC', 'Noto Serif TC', 
    'cwTeXMing', 'cwTeXKai', 'cwTeXYen', 'cwTeXFangSong', 
    'ZCOOL KuaiLe', 'ZCOOL XiaoWei', 'ZCOOL QingKe HuangYou', 
    'IBM Plex Sans TC', 'GenSenRounded', 'BIZ UDGothic', 
    '微軟正黑體', 'sans-serif';
}
  */

:root {
  /* --primary-color: #007bff; */
  --font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'PingFang TC', 'Heiti TC', sans-serif;
  --font-size: 16px;
  --line-height-base: 1.6;
}

/* 設置全站字型 */
body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  line-height: var(--line-height-base);
}

/* 共用字型設定 */
.navbar a,
.user-info,
nav ul li a,
nav .hamburger-text,
.select-wrapper,
button,
input,
select,
textarea {
  font-family: var(--font-family);
}

.navbar a,
.user-info,
nav ul li a,
nav .hamburger-text {
  font-size: 0.95rem;
}

h1,
h2,
h3,
p {
  font-family: var(--font-family);
}

.select-wrapper,
button,
input,
select,
textarea {
  font-size: 0.98rem;
}
