@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  /* 主輔色 */
  --color-primary: #ae202a;
  --color-secondary: #59413a;

  /* font */
  --ff-noto-sans-tc: "Noto Sans TC", sans-serif;
  --ff-noto-serif-tc: "Noto Serif TC", "Noto Sans TC", serif;
  --ff-plus-jakarta-sans:
    "Plus Jakarta Sans", "Noto Sans TC", system-ui, sans-serif;

  /* font-weight */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* font-size start */
  --fluid-min-vw: 320;
  --fluid-max-vw: 1440;
  --fluid-range: calc(var(--fluid-max-vw) - var(--fluid-min-vw));
  --fluid-k: calc((100vw - (var(--fluid-min-vw) * 1px)) / var(--fluid-range));

  --fs-60: clamp(40px, calc(40px + (60 - 40) * var(--fluid-k)), 60px);
  --fs-48: clamp(34px, calc(34px + (48 - 34) * var(--fluid-k)), 48px);
  --fs-45: clamp(32px, calc(32px + (45 - 32) * var(--fluid-k)), 45px);
  --fs-40: clamp(28px, calc(28px + (40 - 28) * var(--fluid-k)), 40px);
  --fs-36: clamp(25px, calc(25px + (36 - 25) * var(--fluid-k)), 36px);
  --fs-32: clamp(22px, calc(22px + (32 - 22) * var(--fluid-k)), 32px);
  --fs-30: clamp(21px, calc(21px + (30 - 21) * var(--fluid-k)), 30px);
  --fs-28: clamp(20px, calc(20px + (28 - 20) * var(--fluid-k)), 28px);
  --fs-26: clamp(18px, calc(18px + (26 - 18) * var(--fluid-k)), 26px);
  --fs-25: clamp(18px, calc(18px + (25 - 18) * var(--fluid-k)), 25px);
  --fs-24: clamp(17px, calc(17px + (24 - 17) * var(--fluid-k)), 24px);
  --fs-22: clamp(16px, calc(16px + (22 - 16) * var(--fluid-k)), 22px);
  --fs-20: clamp(15px, calc(15px + (20 - 15) * var(--fluid-k)), 20px);
  --fs-18: clamp(15px, calc(15px + (18 - 15) * var(--fluid-k)), 18px);
  --fs-16: clamp(14px, calc(14px + (16 - 14) * var(--fluid-k)), 16px);
  --fs-14: clamp(12px, calc(12px + (14 - 12) * var(--fluid-k)), 14px);
  /* font-size end */
}
/* =====  Utilities ===== */

/* font family */
.ff-noto-sans-tc {
  font-family: var(--ff-noto-sans-tc) !important;
}
.ff-noto-serif-tc {
  font-family: var(--ff-noto-serif-tc) !important;
}
.ff-plus-jakarta-sans {
  font-family: var(--ff-plus-jakarta-sans) !important;
}
/* font weight */
.fw-light {
  font-weight: var(--fw-light) !important;
}
.fw-regular {
  font-weight: var(--fw-regular) !important;
}
.fw-semibold {
  font-weight: var(--fw-semibold) !important;
}
.fw-medium {
  font-weight: var(--fw-medium) !important;
}
.fw-bold {
  font-weight: var(--fw-bold) !important;
}
.fw-black {
  font-weight: var(--fw-black) !important;
}
/* font color */
.text-primary {
  color: var(--color-primary) !important;
}
.text-secondary {
  color: var(--color-secondary) !important;
}
.text-white {
  color: #fff !important;
}
.bg-primary {
  background: var(--color-primary) !important;
}
/* font-size start */
[class^="fs-"],
[class*=" fs-"] {
  /* 共用文字樣式 */
  font-family: var(--ff-noto-sans-tc);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1rem;
}
.fs-45 {
  font-size: var(--fs-45);
}
.fs-40 {
  font-size: var(--fs-40);
}
.fs-36 {
  font-size: var(--fs-36);
}
.fs-32 {
  font-size: var(--fs-32);
}
.fs-30 {
  font-size: var(--fs-30);
}
.fs-28 {
  font-size: var(--fs-28);
}
.fs-26 {
  font-size: var(--fs-26);
}
.fs-25 {
  font-size: var(--fs-25);
}
.fs-24 {
  font-size: var(--fs-24);
}
.fs-22 {
  font-size: var(--fs-22);
}
.fs-20 {
  font-size: var(--fs-20);
}
.fs-18 {
  font-size: var(--fs-18);
}
.fs-16 {
  font-size: var(--fs-16);
}
.fs-14 {
  font-size: var(--fs-14);
}
/* font-size end */
/* letter-spacint */
.ls-0 {
  letter-spacing: 0;
}
.ls-05 {
  letter-spacing: 0.05em;
}
.ls-1 {
  letter-spacing: 0.1em;
}
.ls-2 {
  letter-spacing: 0.2em;
}
.ls-3 {
  letter-spacing: 0.3em;
}
.ls-4 {
  letter-spacing: 0.4em;
}
.ls-5 {
  letter-spacing: 0.5em;
}
/* line-height */
.lh-1 {
  line-height: 1;
}
.lh-1_2 {
  line-height: 1.2;
}
.lh-1_8 {
  line-height: 1.8;
}
.lh-1_7 {
  line-height: 1.7;
}
.lh-1_6 {
  line-height: 1.6;
}
.lh-1_5 {
  line-height: 1.5;
}
.lh-2 {
  line-height: 2;
}
.imgStyle {
  display: block;
  width: 100%;
}
.flexList {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  --cols: 4;
  --gap: 40px;
  gap: var(--gap);
}
.flexList > * {
  width: calc((100% - (var(--gap) * (var(--cols) - 1))) / var(--cols));
}
ul.dotList {
  padding-left: 28px;
}

ul.dotList li {
  list-style: disc;
}
ul.dotList li::marker {
  font-size: 60%;
  color: var(--color-primary);
}
.sectionBox {
  padding: 100px 0;
}
@media (max-width: 1199px) {
  .sectionBox {
    padding: 60px 0;
  }
}
.sectionBox * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1440px) {
  .sectionBox .container {
    max-width: 1350px;
  }
}

/* Banner */
.bannerSection .bannerTit {
  font-family: var(--ff-noto-serif-tc);
  font-size: var(--fs-48);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  line-height: 1;
  margin: 0;
  color: #fff;
}
.bannerSection .container {
  height: 400px;
  display: flex;
  align-items: center;
}
@media (min-width: 1440px) {
  .bannerSection .container {
    max-width: 1350px;
  }
}
@media (max-width: 1439px) {
  .bannerSection .container {
    height: 260px;
  }
  .bannerSection .bannerTit {
    font-size: var(--fs-40);
  }
}
@media (max-width: 767px) {
  .bannerSection .container {
    height: 200px;
    justify-content: center;
  }
  .bannerSection .bannerTit {
    font-size: var(--fs-32);
  }
}
@media (max-width: 575px) {
  .bannerSection .container {
    height: 160px;
  }
}
/* 主標題 */
.sectionTit {
  font-family: var(--ff-noto-serif-tc);
  font-size: var(--fs-60);
  letter-spacing: 0.06em;
  line-height: 1.4;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-align: justify;
  text-align-last: center;
  margin-bottom: clamp(30px, 3vw, 60px);
}
@media (max-width: 1439px) {
  .sectionTit {
    font-size: var(--fs-48);
  }
}
@media (max-width: 991px) {
  .sectionTit {
    font-size: var(--fs-45);
  }
}
@media (max-width: 767px) {
  .sectionTit {
    font-size: var(--fs-40);
  }
}
.sectionSubtit {
  font-family: var(--ff-noto-serif-tc);
  font-size: var(--fs-36);
  letter-spacing: 0.1em;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: #231a11;
  text-align: justify;
}
@media (max-width: 1199px) {
  .sectionSubtit {
    font-size: var(--fs-30);
  }
}
@media (max-width: 991px) {
  .sectionSubtit {
    font-size: var(--fs-28);
  }
}
.titP {
  font-family: var(--ff-noto-sans-tc);
  font-weight: 400;
  font-size: var(--fs-24);
  letter-spacing: 0.04em;
  line-height: 1.66;
  color: #59413a;
  text-align: justify;
  text-align-last: center;
  margin-bottom: clamp(20px, 2vw, 40px);
}
@media (max-width: 991px) {
  .titP {
    font-size: var(--fs-20);
  }
}
/*-主段落-*/
.txtP {
  font-family: var(--ff-noto-sans-tc);
  font-weight: 400;
  font-size: var(--fs-20);
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #59413a;
  text-align: justify;
  margin-bottom: clamp(20px, 2vw, 40px);
}
@media (max-width: 991px) {
  .txtP {
    font-size: var(--fs-18);
  }
}
/* btn */
.btnBar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}
@media (max-width: 1199px) {
  .btnBar {
    padding-top: 30px;
  }
}
.btnAll {
  display: inline-block;
  padding: 20px 30px;
  background: transparent;
  line-height: 1;
  font-size: 20px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: 0.05em;
  border-radius: 6px;
  font-weight: 400;
  transition: all 0.3s ease;
  min-width: 310px;
  text-align: center;
}
.btnAll:hover {
  filter: brightness(1.1);
}
@media (max-width: 767px) {
  .btnAll {
    font-size: 18px;
    min-width: 220px;
  }
}
@media (max-width: 400px) {
  .btnAll {
    font-size: 17px;
    min-width: 200px;
    padding: 20px 24px;
  }
}
.whiteBtn {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.whiteBtn:hover {
  background: var(--color-primary);
  color: #fff;
}
