@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: inherit;
  -webkit-font-variant-ligatures: inherit;
          font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-variant-alternates: inherit;
  font-variant-position: inherit;
  font-variant-emoji: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  -webkit-font-kerning: inherit;
          font-kerning: inherit;
  -webkit-font-feature-settings: inherit;
          font-feature-settings: inherit;
  vertical-align: baseline;
  text-shadow: unset;
  -webkit-box-shadow: unset;
          box-shadow: unset;
}

a[href^="x-apple-data-detectors:"] {
  color: inherit;
  text-decoration: inherit;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Th.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LINESeedTW";
  src: url("../fonts/LINESeedTW_OTF_Bd.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JockeyOne";
  src: url("../fonts/JockeyOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GlowSansTC";
  src: url("../fonts/GlowSansTC-Condensed-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GlowSansTC";
  src: url("../fonts/GlowSansTC-Condensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
  font-size: 18px;
  /* 確保最外層不產生橫向溢出 */
  overflow-x: hidden;
  /* 讓垂直捲動保持正常 */
  overflow-y: auto;
  /* 寬度鎖死在 100% 視窗寬度，不隨內容撐開 */
  width: 100%;
  position: relative;
  font-family: "LINESeedTW", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  scroll-behavior: smooth;
  font-size: 18px;
  width: 100%;
  position: relative;
  font-family: "LINESeedTW", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  -webkit-transition: 0.1 ease;
  transition: 0.1 ease;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  outline: unset;
  border: unset;
  background-color: unset;
}

.text-primary {
  color: #D10000;
}

.en {
  font-family: "JockeyOne", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (max-width: 768px) {
  html,
body {
    font-size: 12px;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 99;
}

.site-header__inner {
  padding: 0 60px;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.site-logo {
  display: inline-block;
  width: 200px;
  padding-bottom: 12px;
  font-size: 0;
}

.main-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.main-nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.main-nav__item {
  display: block;
}

.main-nav__link {
  display: block;
  font-size: 1rem;
  padding: 21px 1.5555555556rem;
  font-weight: bold;
}

.nav-toggle-mobile {
  height: 50px;
  width: 50px;
  background: transparent;
  background-image: url("./../src/svg/menu.svg");
  background-repeat: no-repeat;
  background-position: center;
  border: unset;
  outline: unset;
  cursor: pointer;
  display: none;
}

.lang-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding-bottom: 20px;
  gap: 0.6666666667rem;
}

.lang-btn {
  width: 24px;
  height: 24px;
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  color: #D10000;
  border-radius: 50%;
  border: 1px solid #D10000;
}
.lang-btn.active {
  background-color: #D10000;
  color: white;
}

.scroll-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 99;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
}
.scroll-hint .mouse-icon {
  width: 15px;
}
.scroll-hint .mouse-icon img {
  width: 100%;
}
.scroll-hint .num-wrapper {
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
  color: white;
  font-size: 14px;
}

@media screen and (max-width: 900px) {
  .site-header__inner {
    padding: 0 15px;
  }

  .main-nav__link {
    padding: 20px;
  }

  .scroll-hint {
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    -webkit-transform: unset;
            transform: unset;
    gap: 4px;
  }
  .scroll-hint .mouse-icon {
    width: 11px;
  }
  .scroll-hint .num-wrapper {
    font-size: 10px;
  }
}
/* --- 手機選單 Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-bottom: 64px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 99;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0.4s ease, opacity 0.4s ease;
  transition: visibility 0.4s ease, opacity 0.4s ease;
}

/* 顯示時的狀態 */
.mobile-menu.is-active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 7px 0;
  /* 內邊距 */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* --- 頂部 --- */
.mobile-menu__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.mobile-menu-close {
  width: 50px;
  height: 50px;
  background-image: url("./../src/svg/close_s_white.svg");
  background-size: 24px auto;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.mobile-menu-close img {
  width: 25px;
  /* 關閉圖標大小 */
  height: 25px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
  /* 確保圖標在黑色背景上呈現白色 */
}

/* --- 中間內容區域 --- */
.mobile-menu__body {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding-top: 50px;
  /* 內容水平居中 */
  /* 語言切換 */
}
.mobile-menu__body .lang-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 9px;
  margin-bottom: 40px;
}
.mobile-menu__body .lang-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.mobile-menu__body .lang-btn.active {
  background-color: #ED1C24;
  /* 紅色背景 */
  color: #FFFFFF;
  /* 白色文字 */
}
.mobile-menu__body .lang-btn:not(.active) {
  background-color: transparent;
  border: 1px solid #ED1C24;
  /* 紅色邊框 */
  color: #ED1C24;
  /* 紅色文字 */
}

/* 主導航 */
.mobile-nav__list {
  text-align: center;
  margin-bottom: 80px;
}

.mobile-nav__item:last-child {
  margin-bottom: 0;
}

.mobile-nav__link {
  color: #FFFFFF;
  /* 白色導航文字 */
  font-size: 16px;
  line-height: 48px;
}

/* --- 底部 (聯絡與版權) --- */
.mobile-menu__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.mobile-menu__footer .copyright {
  font-size: 12px;
  line-height: 18px;
  color: #FFFFFF;
}
.mobile-menu__footer .copyright .sm {
  line-height: 18px;
  display: block;
  color: #4D4D4D;
}

.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 34px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  margin-bottom: 18px;
}

.social-link {
  display: block;
  width: 36px;
}
.social-link img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .site-header__inner {
    height: unset;
    padding-right: 2px;
  }

  .main-nav {
    display: none;
  }

  .site-logo {
    width: 150px;
    padding-bottom: 8px;
  }

  .nav-toggle-mobile {
    display: block;
  }
}
.site-footer {
  position: fixed;
  bottom: 30px;
  left: 50px;
  z-index: 88;
}
.site-footer.dark .copyright {
  color: white;
}
.site-footer.dark #upward {
  background-image: url("./../src/svg/arrow_upward_white.svg");
}

.cta-wrap {
  position: fixed;
  right: 25px;
  bottom: 30px;
  z-index: 88;
}

.footer-button-set {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}

.footer-btn {
  display: block;
  width: 24px;
  height: 24px;
}
.footer-btn img {
  width: 100%;
}

#upward {
  background: unset;
  background-image: url("./../src/svg/arrow_upward.svg");
  background-size: 100% auto;
  background-position: center;
}

.copyright {
  color: black;
  font-size: 12px;
}
.copyright .sm {
  font-size: 0.8333333333em;
  padding-left: 1em;
}

.cta-wrap {
  background-color: #D10000;
  color: white;
  font-size: 1.3333333333rem;
  border-radius: 3rem;
  padding: 0.5555555556rem;
  padding-left: 2rem;
  padding-right: 1.1111111111rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.cta-wrap--switch {
  overflow: visible;
}
.cta-wrap__row {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  min-width: 0;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.cta-wrap__slider {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3rem;
  background-color: #ffffff;
  pointer-events: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  opacity: 0;
  -webkit-transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
  transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}
.cta-wrap__slider.is-visible {
  opacity: 1;
}
.cta-wrap--switch .cta-wrap__row > a {
  z-index: 1;
  -webkit-transition: none;
  transition: none;
}

.cta-wrap > a,
.cta-wrap__row > a {
  position: relative;
  flex-shrink: 0;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  border-radius: 3rem;
  -webkit-transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease,
    background-size 0.3s ease, background-position 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease,
    background-size 0.3s ease, background-position 0.3s ease;
}
.cta-wrap > span {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.cta-wrap > a:not(.cta),
.cta-wrap__row > a:not(.cta) {
  z-index: 1;
  color: inherit;
  background: none;
  background-image: none;
  padding: 0.4444444444rem 0;
}
.cta-wrap > a:first-child,
.cta-wrap__row > a:first-of-type {
  z-index: 2;
}
.cta span {
  font-family: "GlowSansTC", system-ui, -apple-system, "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #D10000;
}

.cta {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: white;
  background-image: url("./../src/svg/visibility.svg");
  background-repeat: no-repeat;
  background-size: 1.3333333333rem;
  background-position: right 1.6666666667rem center;
  color: #D10000;
  line-height: 1.6;
  padding: 0.4444444444rem 1.6666666667rem;
  padding-right: 3.3333333333rem;
  border-radius: 3rem;
}

.cta-wrap--switch .cta-wrap__row > a.cta {
  min-width: -webkit-max-content;
  min-width: max-content;
  background-color: transparent;
  background-image: url("./../src/svg/visibility.svg");
  background-repeat: no-repeat;
  background-size: 1.3333333333rem;
  background-position: right 1.6666666667rem center;
}

@media screen and (max-width: 900px) {
  .site-footer {
    display: none;
  }

  .cta-wrap {
    font-size: 1rem;
    border-radius: 3rem;
    padding: 0.4166666667rem;
    padding-left: 1rem;
    bottom: 10px;
    right: 10px;
    gap: 6px;
    z-index: 7;
  }

  .cta-wrap__row {
    gap: 6px;
  }

  .cta {
    background-image: url("./../src/svg/visibility.svg");
    background-size: 1rem;
    background-position: right 4px center;
    line-height: 1.6;
    padding: 0.3333333333rem 0.5833333333rem;
    padding-right: 1.5rem;
  }

  .cta-wrap--switch .cta-wrap__row > a.cta {
    background-image: url("./../src/svg/visibility.svg");
    background-size: 1rem;
    background-position: right 4px center;
  }
}