@charset "UTF-8";
/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/*
    自定義在最下面
*/
/* Font Weight */
/* Width */
/* Height */
/* Display */
/* Margin */
/* Padding */
/* Cursor */
/* Background Color */
/* Color */
/* Text Limit */
/* 毛玻璃 */
/******************  自定義  ******************/
/* Color */
/* Background Color */
/* Border */
/* Font Size */
/* Heading Desktop */
/* Heading Mobile */
/* Extra Large */
/* Large */
/* Medium */
/* Regular */
/* Small */
/* Small */
/* Button */
:root {
  /* Primary Color */
  --pc-950: #04334D;
  --pc-900: #065074;
  --pc-800: #00608C;
  --pc-700: #0072AA;
  --pc-600: #0090D3;
  --pc-500: #06BAFE;
  --pc-400: #2DC9FF;
  --pc-300: #75DBFF;
  --pc-200: #B6EAFF;
  --pc-100: #DEF3FF;
  --pc-50: #EFFAFF;
  /* Secondary Color */
  --sc-950: #461B02;
  --sc-900: #7A350D;
  --sc-800: #94400C;
  --sc-700: #B75506;
  --sc-600: #DD7902;
  --sc-500: #F9A107;
  --sc-400: #FFC321;
  --sc-300: #FFD74A;
  --sc-200: #FFE888;
  --sc-100: #FFF5C6;
  --sc-50: #FFFBEB;
  /* Neutral Color */
  --nc-950: #1F1B1A;
  --nc-900: #463F3D;
  --nc-800: #504743;
  --nc-700: #5C514C;
  --nc-600: #71665D;
  --nc-500: #85796D;
  --nc-400: #94897B;
  --nc-300: #ACA498;
  --nc-200: #CAC6BE;
  --nc-100: #E4E1DD;
  --nc-50: #F4F4F2;
  /* Black */
  --bc-950: #231815;
  --bc-900: #503B33;
  --bc-800: #5B4338;
  --bc-700: #6B4E3D;
  --bc-600: #856549;
  --bc-500: #9B7B57;
  --bc-400: #AA8D65;
  --bc-300: #BDA987;
  --bc-200: #D5CAB3;
  --bc-100: #E9E4D8;
  --bc-50: #F6F5F0;
  /* White */
  --wc-950: #292929;
  --wc-900: #3D3D3D;
  --wc-800: #464646;
  --wc-700: #525252;
  --wc-600: #656565;
  --wc-500: #7C7C7C;
  --wc-400: #989898;
  --wc-300: #BDBDBD;
  --wc-200: #DCDCDC;
  --wc-100: #EFEFEF;
  --wc-50: #FFFFFF;
  /* Green Color */
  --gc-500: #51C128;
  /* Font-Size */
  /* Heading Desktop */
  --text-hd-h1: 56px;
  --text-hd-h1--line-height: 120%;
  --text-hd-h2: 48px;
  --text-hd-h2--line-height: 120%;
  --text-hd-h3: 40px;
  --text-hd-h3--line-height: 120%;
  --text-hd-h4: 36px;
  --text-hd-h4--line-height: 130%;
  --text-hd-h5: 24px;
  --text-hd-h5--line-height: 140%;
  --text-hd-h6: 20px;
  --text-hd-h6--line-height: 140%;
  /* Heading Mobile */
  --text-hm-h1: 40px;
  --text-hm-h1--line-height: 120%;
  --text-hm-h2: 36px;
  --text-hm-h2--line-height: 130%;
  --text-hm-h3: 32px;
  --text-hm-h3--line-height: 130%;
  --text-hm-h4: 24px;
  --text-hm-h4--line-height: 150%;
  --text-hm-h5: 20px;
  --text-hm-h5--line-height: 140%;
  --text-hm-h6: 18px;
  --text-hd-h6--line-height: 150%;
  /* Extra Large */
  --text-xl: 24px;
  --text-xl--line-height: 140%;
  /* Large */
  --text-lg: 20px;
  --text-lg--line-height: 140%;
  /* Medium */
  --text-md: 18px;
  --text-md--line-height: 140%;
  /* Regular */
  --text-base: 16px;
  --text-base--line-height: 150%;
  /* Small */
  --text-sm: 14px;
  --text-sm--line-height: 150%;
  /* Tiny */
  --text-xs: 12px;
  --text-xs--line-height: 150%;
  /* Radius */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-32: 32px;
  --radius-40: 40px;
  --radius-80: 80px;
  --radius-100: 100px;
  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-18: 18px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-64: 64px;
  --spacing-80: 80px;
  --spacing-120: 120px;
  --spacing-240: 240px;
}

/* 骨架與全域 */
/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/* 版型尺寸。原本住在 frame.scss，但那支會編出 CSS，
   別的頁面 @use 它就會把整份版型再輸出一遍，所以把純變數抽到這裡。
   要用的人 @use './_frame-vars.scss' as *; 就好。 */
/* fixed header 的高度。.c-header 的 height 與 .main 的 margin-top 都吃它，兩邊各寫一個數字改的時候會漏一邊 */
/* ============================================================
 * 版型骨架：Header / main / 浮動鈕 / Footer
 * 頁面區段一律用：.blocks-wrap > .blocks-wrap__container > 內容
 * ==========================================================*/
/* ---------- Header ---------- */
.c-header {
  background: rgba(255, 255, 255, 0.8392156863);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.8px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  height: 72px;
  position: fixed;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1019607843);
  /* glass-background 會帶一圈 1.8px 邊框，不關掉的話 __content 會被往內推 1.8px */
  border: none;
}
.c-header__content {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.c-header__content.active {
  background: white;
}
.c-header__logo img {
  cursor: pointer;
  width: 100px;
}
.c-header__hamb-icon {
  display: none;
}
.c-header__menus.--desktop {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}
.c-header__menu {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  cursor: pointer;
  width: 88px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  text-decoration: none;
}
.c-header__menu:hover > .c-header__menu-text {
  color: var(--pc-500) !important;
}
.c-header__menu-text {
  color: var(--nc-900);
}
.c-header__menu-text.active {
  color: var(--pc-500) !important;
  font-weight: bold;
}
.c-header__submenu-wrap {
  width: 120px;
  position: absolute;
  top: 69px;
  left: -16px;
  z-index: 999;
  border-bottom-left-radius: var(--radius-8);
  border-bottom-right-radius: var(--radius-8);
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1019607843);
}
.c-header__submenu {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-900);
  display: block;
  padding: var(--spacing-8) var(--spacing-16);
  cursor: pointer;
  text-decoration: none;
}
.c-header__submenu:hover {
  background: var(--pc-200);
}
.c-header__cart {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  text-decoration: none;
  color: var(--nc-900);
}
.c-header__cart i {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
}
.c-header__cart {
  /* 手機才出現，桌機那兩顆走上面的規則 */
}
.c-header__cart.--mobile {
  display: none;
}
.c-header__cart-count {
  /* 右上角壓在圖示上，所以是絕對定位；寬高相等才圓得起來 */
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-100);
  background: var(--pc-500);
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  color: var(--wc-50);
}
.c-header {
  /* 桌機不顯示：空的 flex 子項也會被 space-between 算進去，把桌機 nav 擠到中間 */
}
.c-header__mobile-actions {
  display: none;
  align-items: center;
  gap: var(--spacing-8);
}
.c-header__member {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-900);
  text-decoration: none;
  white-space: nowrap;
  /* 名字是客人自己填的 nvarchar(50)，不截斷會把整排 nav 推爛 */
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.c-header__member:hover {
  /* 蓋過 Bootstrap 的 a:hover 顏色，寫法同選單文字 */
  color: var(--pc-500) !important;
}
.c-header__member {
  /* 桌機那顆是藍框按鈕；手機那顆是人像圖示，維持上面的樣式 */
}
.c-header__member:not(.--mobile) {
  background: var(--pc-500);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--wc-50);
  border-radius: var(--radius-8);
  width: auto !important;
  height: 40px !important;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.c-header__member:not(.--mobile):hover {
  background: var(--pc-600);
}
.c-header__member:not(.--mobile) {
  min-width: 96px;
  padding: 0 var(--spacing-16);
}
.c-header__member:not(.--mobile):hover {
  /* 蓋過上面 pc-500 的 hover 字色，藍底上維持白字 */
  color: var(--wc-50) !important;
}
.c-header__member.--mobile {
  display: none;
}
.c-header__member-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-header__mobile {
  display: none;
}
.c-header__mobile-block {
  height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.c-header__social-icon {
  width: 40px;
}
@media (max-width: 1200px) {
  .c-header {
    padding: 0 var(--spacing-16);
  }
}
@media (max-width: 992px) {
  .c-header {
    height: 56px;
    top: -1px;
  }
  .c-header__content {
    padding: 0 var(--spacing-16);
  }
  .c-header__content.active {
    border-bottom: 1px solid var(--nc-100);
  }
  .c-header__logo img {
    width: 73px;
    margin: 0;
  }
  .c-header__hamb-icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);
  }
  .c-header__hamb-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .c-header__hamb-icon.active span:nth-child(2) {
    opacity: 0;
  }
  .c-header__hamb-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .c-header__hamb-icon span {
    background: var(--nc-900);
    width: 100%;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }
  .c-header__menus.--desktop {
    display: none;
  }
  .c-header__mobile {
    width: 100vw;
    height: calc(100dvh - 54px);
    display: block;
    background: white;
    padding: var(--spacing-16) 0 var(--spacing-24) 0;
    position: absolute;
    left: -1px;
    top: 52px;
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
  }
  .c-header__mobile.active {
    transform: translateY(0);
    animation: slideDown 0.3s ease-in-out;
    opacity: 1;
  }
  .c-header__menus.--mobile {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-16);
  }
  .c-header__menus.--mobile .c-header__menu {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .c-header__menus.--mobile .c-header__menu a {
    text-decoration: none;
  }
  .c-header__menus.--mobile .c-header__menu-text {
    height: 56px;
    padding: 0 var(--spacing-24);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .c-header__menus.--mobile .c-header__submenu-wrap {
    background: var(--nc-50);
    display: none;
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .c-header__menus.--mobile .c-header__submenu {
    padding: var(--spacing-16) var(--spacing-24);
  }
  .c-header__mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-24);
    padding: 0 var(--spacing-24);
  }
  .c-header__social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-24);
  }
  .c-header__social-icon {
    width: 33.33px;
  }
  .c-header__mobile-actions {
    display: flex;
  }
  .c-header__cart, .c-header__member {
    display: none;
  }
  .c-header__cart.--mobile, .c-header__member.--mobile {
    display: flex;
  }
  .c-header {
    /* 桌機會員鈕帶 primary-btn 的 display: flex，特異性比上面那塊高，要另外藏 */
  }
  .c-header__member:not(.--mobile) {
    display: none;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
/* ---------- main ---------- */
.main {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  flex-grow: 1;
  /* 頁首是 fixed 不佔版面，主內容自己留出那段高度 */
  margin-top: 72px;
}
@media (max-width: 992px) {
  .main {
    margin-top: 56px;
  }
}
.main .blocks-wrap {
  display: flex;
  justify-content: center;
}
.main .blocks-wrap.--left {
  justify-content: flex-start;
}
.main .blocks-wrap__container {
  width: 1200px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
  align-items: center;
  padding: var(--spacing-16) 0;
}
@media (max-width: 576px) {
  .main .blocks-wrap__container {
    gap: var(--spacing-16);
  }
}

/* ---------- 浮動鈕 ---------- */
.c-side-icon {
  position: fixed;
  right: calc((100vw - 1920px) / 2);
  bottom: 100px;
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}
.c-side-icon__wrap {
  background: var(--wc-50);
  width: 60px;
  height: 60px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.163);
  cursor: pointer;
}
.c-side-icon__wrap.--arrow {
  background: none;
  box-shadow: none;
}
.c-side-icon__arrow-wrap {
  background: var(--wc-50);
  width: 50px;
  height: 50px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.163);
}
.c-side-icon img {
  width: 50px;
  height: 50px;
}
.c-side-icon img.c-side-icon__arrow {
  width: 40px;
  height: 40px;
}
@media (max-width: 1920px) {
  .c-side-icon {
    right: 12px;
  }
}
@media (max-width: 768px) {
  .c-side-icon {
    bottom: 24px;
    gap: var(--spacing-8);
  }
  .c-side-icon__wrap {
    width: 48px;
    height: 48px;
  }
  .c-side-icon__arrow-wrap {
    width: 44px;
    height: 44px;
  }
  .c-side-icon img {
    width: 44px;
    height: 44px;
  }
  .c-side-icon img.c-side-icon__arrow {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Footer ---------- */
.c-footer {
  background: var(--nc-50);
  width: 100%;
}
.c-footer__content {
  max-width: 1200px;
  padding: var(--spacing-32) 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
}
.c-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.c-footer__bottom {
  color: var(--nc-900);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  display: flex;
  justify-content: center;
  text-align: center;
}
.c-footer__hr {
  color: var(--nc-500);
  margin: 0;
}
.c-footer__logo-block {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-18);
}
.c-footer__logo {
  width: 117px;
  margin: 0 auto;
}
.c-footer__social-icons {
  display: flex;
  justify-content: space-between;
}
.c-footer__social-icon {
  width: 28px;
  cursor: pointer;
}
.c-footer__menus {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-8);
}
.c-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 15px;
}
.c-footer__menu-title {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
  font-weight: bold;
  color: var(--nc-900);
  text-decoration: none;
}
.c-footer__menu-subtitle {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
  font-weight: bold;
  color: var(--nc-500);
  text-decoration: none;
}
.c-footer__infos {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.c-footer__info {
  color: var(--nc-900);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  display: flex;
  gap: var(--spacing-12);
  text-decoration: none;
}
.c-footer__info-icon {
  width: 22px;
}
@media (max-width: 1200px) {
  .c-footer__content {
    padding: var(--spacing-32) var(--spacing-16);
  }
}
@media (max-width: 992px) {
  .c-footer__content {
    padding: var(--spacing-32);
  }
  .c-footer__top {
    flex-direction: column;
    align-items: start;
    gap: var(--spacing-24);
  }
  .c-footer__bottom {
    font-size: var(--text-sm) !important;
    line-height: var(--text-sm--line-height);
  }
  .c-footer__logo-block {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-32);
  }
  .c-footer__logo {
    margin: 0;
  }
  .c-footer__social-icons {
    gap: var(--spacing-24);
  }
  .c-footer__menus {
    width: 100%;
    justify-content: space-between;
    gap: var(--spacing-16);
  }
  .c-footer__menu {
    padding: 0;
  }
  .c-footer__menu-title, .c-footer__menu-subtitle {
    font-size: var(--text-sm) !important;
    line-height: var(--text-sm--line-height);
    font-weight: bold;
  }
  .c-footer__info {
    font-size: var(--text-sm) !important;
    line-height: var(--text-sm--line-height);
  }
}
@media (max-width: 576px) {
  .c-footer__menus {
    flex-direction: column;
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/*隱藏ScrollBar*/
::-webkit-scrollbar {
  display: none;
}

html, body {
  user-select: none;
  width: 100% !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  /* overflow-x: hidden !important; */
  user-select: none; /* by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  -webkit-text-size-adjust: none;
  touch-action: manipulation;
  touch-action: pan-x pan-y;
  scroll-behavior: auto !important;
  padding-bottom: env(safe-area-inset-bottom);
  font-family: "Work Sans", sans-serif;
  background-color: white;
}

/* html 有一軸非 visible 的話 body 的 overflow 就傳不到 viewport，JS 對 body 加 overflow-hidden 會鎖不住 */
body {
  overflow-x: hidden;
}

img {
  -webkit-user-drag: none;
} /*照片無法拖動*/
a {
  color: inherit;
  text-decoration: none !important;
}

label {
  margin-bottom: 0 !important;
}

hr {
  opacity: 100% !important;
  border: 0.5px solid var(--nc-500);
  margin: 0;
}

/* Width */
.block-1200 {
  width: 1200px;
}

.w-50 {
  width: 50% !important;
}

.w-100 {
  width: 100% !important;
}

/* Height */
.h-50 {
  height: 50% !important;
}

.h-100 {
  height: 100% !important;
}

.multiselect-placeholder {
  font-size: 100px;
}

/* Font Weight */
.font-weight-bolder {
  font-weight: bolder;
}

.font-weight-medium {
  font-weight: medium;
}

.font-weight-normal {
  font-weight: normal;
}

.font-weight-lighter {
  font-weight: lighter;
}

/* Display */
.dis-flex {
  display: flex;
}

.dis-block {
  display: block;
}

.dis-none {
  display: none;
}

.dis-col {
  display: flex;
  flex-direction: column;
}

.dis-justify-center {
  display: flex;
  justify-content: center;
}

.dis-justify-between {
  display: flex;
  justify-content: space-between;
}

.dis-justify-start {
  display: flex;
  justify-content: start;
}

.dis-justify-end {
  display: flex;
  justify-content: end;
}

.dis-justify-left {
  display: flex;
  justify-content: left;
}

.dis-justify-right {
  display: flex;
  justify-content: right;
}

.dis-justify-around {
  display: flex;
  justify-content: space-around;
}

.dis-justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.dis-v-center {
  display: flex;
  align-items: center;
}

.dis-h-center {
  display: flex;
  justify-content: center;
}

.dis-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.align-items-center {
  align-items: center !important;
}

.dis-col-gap-5 {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dis-gap-5 {
  display: flex;
  gap: 5px;
}

.dis-col-gap-10 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dis-gap-10 {
  display: flex;
  gap: 10px;
}

.dis-col-gap-15 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dis-gap-15 {
  display: flex;
  gap: 15px;
}

.dis-col-gap-20 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dis-gap-20 {
  display: flex;
  gap: 20px;
}

.dis-col-gap-25 {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.dis-gap-25 {
  display: flex;
  gap: 25px;
}

.dis-col-gap-30 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dis-gap-30 {
  display: flex;
  gap: 30px;
}

.dis-col-gap-35 {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.dis-gap-35 {
  display: flex;
  gap: 35px;
}

.dis-col-gap-40 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dis-gap-40 {
  display: flex;
  gap: 40px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

/* Margin/Padding */
.mg-0 {
  margin: 0px !important;
}

.mg-t-0 {
  margin-top: 0px !important;
}

.mg-b-0 {
  margin-bottom: 0px !important;
}

.mg-l-0 {
  margin-left: 0px !important;
}

.mg-r-0 {
  margin-right: 0px !important;
}

.mg-x-0 {
  margin: 0 0px !important;
}

.mg-y-0 {
  margin: 0px 0 !important;
}

.pd-0 {
  padding: 0px !important;
}

.pd-t-0 {
  padding-top: 0px !important;
}

.pd-b-0 {
  padding-bottom: 0px !important;
}

.pd-l-0 {
  padding-left: 0px !important;
}

.pd-r-0 {
  padding-right: 0px !important;
}

.pd-x-0 {
  padding: 0 0px !important;
}

.pd-y-0 {
  padding: 0px 0 !important;
}

.mg-5 {
  margin: 5px !important;
}

.mg-t-5 {
  margin-top: 5px !important;
}

.mg-b-5 {
  margin-bottom: 5px !important;
}

.mg-l-5 {
  margin-left: 5px !important;
}

.mg-r-5 {
  margin-right: 5px !important;
}

.mg-x-5 {
  margin: 0 5px !important;
}

.mg-y-5 {
  margin: 5px 0 !important;
}

.pd-5 {
  padding: 5px !important;
}

.pd-t-5 {
  padding-top: 5px !important;
}

.pd-b-5 {
  padding-bottom: 5px !important;
}

.pd-l-5 {
  padding-left: 5px !important;
}

.pd-r-5 {
  padding-right: 5px !important;
}

.pd-x-5 {
  padding: 0 5px !important;
}

.pd-y-5 {
  padding: 5px 0 !important;
}

.mg-10 {
  margin: 10px !important;
}

.mg-t-10 {
  margin-top: 10px !important;
}

.mg-b-10 {
  margin-bottom: 10px !important;
}

.mg-l-10 {
  margin-left: 10px !important;
}

.mg-r-10 {
  margin-right: 10px !important;
}

.mg-x-10 {
  margin: 0 10px !important;
}

.mg-y-10 {
  margin: 10px 0 !important;
}

.pd-10 {
  padding: 10px !important;
}

.pd-t-10 {
  padding-top: 10px !important;
}

.pd-b-10 {
  padding-bottom: 10px !important;
}

.pd-l-10 {
  padding-left: 10px !important;
}

.pd-r-10 {
  padding-right: 10px !important;
}

.pd-x-10 {
  padding: 0 10px !important;
}

.pd-y-10 {
  padding: 10px 0 !important;
}

.mg-15 {
  margin: 15px !important;
}

.mg-t-15 {
  margin-top: 15px !important;
}

.mg-b-15 {
  margin-bottom: 15px !important;
}

.mg-l-15 {
  margin-left: 15px !important;
}

.mg-r-15 {
  margin-right: 15px !important;
}

.mg-x-15 {
  margin: 0 15px !important;
}

.mg-y-15 {
  margin: 15px 0 !important;
}

.pd-15 {
  padding: 15px !important;
}

.pd-t-15 {
  padding-top: 15px !important;
}

.pd-b-15 {
  padding-bottom: 15px !important;
}

.pd-l-15 {
  padding-left: 15px !important;
}

.pd-r-15 {
  padding-right: 15px !important;
}

.pd-x-15 {
  padding: 0 15px !important;
}

.pd-y-15 {
  padding: 15px 0 !important;
}

.mg-20 {
  margin: 20px !important;
}

.mg-t-20 {
  margin-top: 20px !important;
}

.mg-b-20 {
  margin-bottom: 20px !important;
}

.mg-l-20 {
  margin-left: 20px !important;
}

.mg-r-20 {
  margin-right: 20px !important;
}

.mg-x-20 {
  margin: 0 20px !important;
}

.mg-y-20 {
  margin: 20px 0 !important;
}

.pd-20 {
  padding: 20px !important;
}

.pd-t-20 {
  padding-top: 20px !important;
}

.pd-b-20 {
  padding-bottom: 20px !important;
}

.pd-l-20 {
  padding-left: 20px !important;
}

.pd-r-20 {
  padding-right: 20px !important;
}

.pd-x-20 {
  padding: 0 20px !important;
}

.pd-y-20 {
  padding: 20px 0 !important;
}

.mg-25 {
  margin: 25px !important;
}

.mg-t-25 {
  margin-top: 25px !important;
}

.mg-b-25 {
  margin-bottom: 25px !important;
}

.mg-l-25 {
  margin-left: 25px !important;
}

.mg-r-25 {
  margin-right: 25px !important;
}

.mg-x-25 {
  margin: 0 25px !important;
}

.mg-y-25 {
  margin: 25px 0 !important;
}

.pd-25 {
  padding: 25px !important;
}

.pd-t-25 {
  padding-top: 25px !important;
}

.pd-b-25 {
  padding-bottom: 25px !important;
}

.pd-l-25 {
  padding-left: 25px !important;
}

.pd-r-25 {
  padding-right: 25px !important;
}

.pd-x-25 {
  padding: 0 25px !important;
}

.pd-y-25 {
  padding: 25px 0 !important;
}

.mg-30 {
  margin: 30px !important;
}

.mg-t-30 {
  margin-top: 30px !important;
}

.mg-b-30 {
  margin-bottom: 30px !important;
}

.mg-l-30 {
  margin-left: 30px !important;
}

.mg-r-30 {
  margin-right: 30px !important;
}

.mg-x-30 {
  margin: 0 30px !important;
}

.mg-y-30 {
  margin: 30px 0 !important;
}

.pd-30 {
  padding: 30px !important;
}

.pd-t-30 {
  padding-top: 30px !important;
}

.pd-b-30 {
  padding-bottom: 30px !important;
}

.pd-l-30 {
  padding-left: 30px !important;
}

.pd-r-30 {
  padding-right: 30px !important;
}

.pd-x-30 {
  padding: 0 30px !important;
}

.pd-y-30 {
  padding: 30px 0 !important;
}

.mg-35 {
  margin: 35px !important;
}

.mg-t-35 {
  margin-top: 35px !important;
}

.mg-b-35 {
  margin-bottom: 35px !important;
}

.mg-l-35 {
  margin-left: 35px !important;
}

.mg-r-35 {
  margin-right: 35px !important;
}

.mg-x-35 {
  margin: 0 35px !important;
}

.mg-y-35 {
  margin: 35px 0 !important;
}

.pd-35 {
  padding: 35px !important;
}

.pd-t-35 {
  padding-top: 35px !important;
}

.pd-b-35 {
  padding-bottom: 35px !important;
}

.pd-l-35 {
  padding-left: 35px !important;
}

.pd-r-35 {
  padding-right: 35px !important;
}

.pd-x-35 {
  padding: 0 35px !important;
}

.pd-y-35 {
  padding: 35px 0 !important;
}

.mg-40 {
  margin: 40px !important;
}

.mg-t-40 {
  margin-top: 40px !important;
}

.mg-b-40 {
  margin-bottom: 40px !important;
}

.mg-l-40 {
  margin-left: 40px !important;
}

.mg-r-40 {
  margin-right: 40px !important;
}

.mg-x-40 {
  margin: 0 40px !important;
}

.mg-y-40 {
  margin: 40px 0 !important;
}

.pd-40 {
  padding: 40px !important;
}

.pd-t-40 {
  padding-top: 40px !important;
}

.pd-b-40 {
  padding-bottom: 40px !important;
}

.pd-l-40 {
  padding-left: 40px !important;
}

.pd-r-40 {
  padding-right: 40px !important;
}

.pd-x-40 {
  padding: 0 40px !important;
}

.pd-y-40 {
  padding: 40px 0 !important;
}

.mg-45 {
  margin: 45px !important;
}

.mg-t-45 {
  margin-top: 45px !important;
}

.mg-b-45 {
  margin-bottom: 45px !important;
}

.mg-l-45 {
  margin-left: 45px !important;
}

.mg-r-45 {
  margin-right: 45px !important;
}

.mg-x-45 {
  margin: 0 45px !important;
}

.mg-y-45 {
  margin: 45px 0 !important;
}

.pd-45 {
  padding: 45px !important;
}

.pd-t-45 {
  padding-top: 45px !important;
}

.pd-b-45 {
  padding-bottom: 45px !important;
}

.pd-l-45 {
  padding-left: 45px !important;
}

.pd-r-45 {
  padding-right: 45px !important;
}

.pd-x-45 {
  padding: 0 45px !important;
}

.pd-y-45 {
  padding: 45px 0 !important;
}

.mg-50 {
  margin: 50px !important;
}

.mg-t-50 {
  margin-top: 50px !important;
}

.mg-b-50 {
  margin-bottom: 50px !important;
}

.mg-l-50 {
  margin-left: 50px !important;
}

.mg-r-50 {
  margin-right: 50px !important;
}

.mg-x-50 {
  margin: 0 50px !important;
}

.mg-y-50 {
  margin: 50px 0 !important;
}

.pd-50 {
  padding: 50px !important;
}

.pd-t-50 {
  padding-top: 50px !important;
}

.pd-b-50 {
  padding-bottom: 50px !important;
}

.pd-l-50 {
  padding-left: 50px !important;
}

.pd-r-50 {
  padding-right: 50px !important;
}

.pd-x-50 {
  padding: 0 50px !important;
}

.pd-y-50 {
  padding: 50px 0 !important;
}

.mg-x-auto {
  margin: 0 auto;
}

.mg-y-auto {
  margin: auto 0;
}

.pd-x-auto {
  padding: 0 auto;
}

.pd-y-auto {
  padding: auto 0;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

.cursor-all-scroll {
  cursor: all-scroll;
}

.cursor-col-resize {
  cursor: col-resize;
}

.cursor-row-resize {
  cursor: row-resize;
}

.cursor-copy {
  cursor: copy;
}

.cursor-grabbing {
  cursor: grabbing;
}

.cursor-move {
  cursor: move;
}

.cursor-no-drop {
  cursor: no-drop;
}

.cursor-wait {
  cursor: wait;
}

/* Text Align */
.text-align-center {
  text-align: center;
}
.text-align-left {
  text-align: left;
}
.text-align-right {
  text-align: right;
}

/* Text Limig */
.text-limit-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-limit-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-limit-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-limit-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-limit-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Desktop/Mobile show/hide */
.mobile-show {
  display: none;
}

@media (max-width: 400px) {
  .desktop-show {
    display: none;
  }
  .mobile-show {
    display: block;
  }
}
/* Banner */
.banner-top {
  width: 100%;
  height: 300px;
  background-position: center !important;
  position: relative;
}
.banner-top .text-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.banner-top .text-block .text {
  color: var(--wc-50);
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2509803922);
}
@media (max-width: 768px) {
  .banner-top {
    background-size: cover !important;
    height: 128px;
  }
  .banner-top .text-block > .text {
    font-size: var(--text-hd-h6) !important;
    line-height: var(--text-hd-h6--line-height);
    font-weight: bold;
  }
}

/* Select 2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 100% !important;
}

.select2-container .select2-selection--single {
  height: 35px !important;
}

.select2-selection__rendered {
  height: auto;
  font-size: 10pt;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--nc-500);
  display: flex !important;
  align-items: center;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-top: 9px !important;
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
  border: solid 1px #ced4da !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--pc-140) !important;
  border: 1px solid var(--pc-140) !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  margin-top: 10px !important;
  margin-right: 10px !important;
  font-size: var(--desk-font-xxsmall) !important;
  color: var(--tc-80) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  margin-right: 5px !important;
}

.select2-results__option {
  font-size: 14px;
}

/* Lazy Load */
.lazy-img {
  position: relative;
  top: 20px;
  opacity: 0;
  transition: opacity 1s, top 1s;
}

.lazy-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 2s ease;
}

.lazy-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 自定義 */
/* 自定義顏色 */
.text-black {
  color: var(--nc-900);
}
.text-default {
  color: var(--nc-500);
}
.text-primary {
  color: var(--pc-500);
}
.text-white {
  color: var(--wc-50);
}
.text-yellow {
  color: var(--sc-500);
}
.text-primary-dark {
  color: var(--pc-800);
}

.bg-white {
  background: var(--wc-50);
}
.bg-primary {
  background: var(--pc-500);
}
.bg-primary-dark {
  background: var(--pc-600);
}
.bg-primary-light {
  background: var(--pc-100);
}
.bg-black {
  background: var(--nc-900);
}
.bg-grey {
  background: var(--nc-50);
}
.bg-grey-light {
  background: #FAFAFA;
}

.border-color {
  border: 1px solid var(--nc-100);
}
.border-default {
  border: 1px solid var(--nc-300);
}
.border-primary {
  border: 1px solid var(--pc-500);
}
.border-white {
  border: 1px solid var(--wc-50);
}

/* 自定義字體 */
.text-hd-h1 {
  font-size: var(--text-hd-h1) !important;
  line-height: var(--text-hd-h1--line-height);
  font-weight: bold;
}

.text-hd-h2 {
  font-size: var(--text-hd-h2) !important;
  line-height: var(--text-hd-h2--line-height);
  font-weight: bold;
}

.text-hd-h3 {
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
}

.text-hd-h4 {
  font-size: var(--text-hd-h4) !important;
  line-height: var(--text-hd-h4--line-height);
  font-weight: bold;
}

.text-hd-h5 {
  font-size: var(--text-hd-h5) !important;
  line-height: var(--text-hd-h5--line-height);
  font-weight: bold;
}

.text-hd-h6 {
  font-size: var(--text-hd-h6) !important;
  line-height: var(--text-hd-h6--line-height);
  font-weight: bold;
}

.text-hm-h1 {
  font-size: var(--text-hm-h1) !important;
  line-height: var(--text-hm-h1--line-height);
  font-weight: bold;
}

.text-hm-h2 {
  font-size: var(--text-hm-h2) !important;
  line-height: var(--text-hm-h2--line-height);
  font-weight: bold;
}

.text-hm-h3 {
  font-size: var(--text-hm-h3) !important;
  line-height: var(--text-hm-h3--line-height);
  font-weight: bold;
}

.text-hm-h4 {
  font-size: var(--text-hm-h4) !important;
  line-height: var(--text-hm-h4--line-height);
  font-weight: bold;
}

.text-hm-h5 {
  font-size: var(--text-hm-h5) !important;
  line-height: var(--text-hm-h5--line-height);
  font-weight: bold;
}

.text-hm-h6 {
  font-size: var(--text-hm-h6) !important;
  line-height: var(--text-hm-h6--line-height);
  font-weight: bold;
}

.text-xl-bold {
  font-size: var(--text-xl) !important;
  line-height: var(--text-xl--line-height);
  font-weight: bold;
}

.text-xl-regular {
  font-size: var(--text-xl) !important;
  line-height: var(--text-xl--line-height);
  font-weight: bold;
}

.text-lg-bold {
  font-size: var(--text-lg) !important;
  line-height: var(--text-lg--line-height);
  font-weight: bold;
}

.text-lg-regular {
  font-size: var(--text-lg) !important;
  line-height: var(--text-lg--line-height);
  font-weight: bold;
}

.text-md-bold {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
  font-weight: bold;
}

.text-md-regular {
  font-size: var(--text-md) !important;
  line-height: var(--text-md--line-height);
  font-weight: bold;
}

.text-base-bold {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
}

.text-base-regular {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
}

.text-sm-bold {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  font-weight: bold;
}

.text-sm-regular {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  font-weight: bold;
}

.text-xs-bold {
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  font-weight: bold;
}

.text-xs-regular {
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  font-weight: bold;
}

/* Sweet Alert */
.swal2-container {
  /* 套件預設值寫在 :root、又比 site.css 晚進 head，蓋不掉；掛在元素上才吃得到 */
  --swal2-background: var(--wc-50);
  --swal2-color: var(--nc-900);
  --swal2-border-radius: var(--radius-16);
  --swal2-close-button-color: var(--nc-300);
  --swal2-input-border: 1px solid var(--nc-200);
}
.swal2-container .swal2-html-container {
  /* 套件用 inline style 設 display（show(htmlContainer, 'block')），不加 !important 蓋不掉 */
  display: flex !important;
  flex-direction: column;
  gap: var(--spacing-8);
}
.swal2-container .swal2-html-container .title {
  text-align: left;
}
.swal2-container {
  /* 預設 5em 太大；打勾的幾何是照 80px 算的 em，壓寬高會跑位，所以縮字級讓整組等比縮 */
}
.swal2-container .swal2-icon {
  font-size: 12px;
}
.swal2-container .swal2-icon .swal2-icon-content {
  font-size: 44px;
}
.swal2-container {
  /* 兩顆鈕比照全站的 primary-btn／secondary-btn；不能直接 @include，那兩支 mixin 自帶 width／height !important 會把鈕撐滿寬 */
}
.swal2-container .swal2-confirm,
.swal2-container .swal2-cancel {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-8) var(--spacing-24);
  border: 1px solid transparent;
  border-radius: var(--radius-8);
  min-width: 128px;
  cursor: pointer;
  white-space: nowrap;
}
.swal2-container .swal2-confirm {
  background: var(--pc-500);
  color: var(--wc-50);
  border-color: var(--pc-500);
}
.swal2-container .swal2-confirm:hover {
  background: var(--pc-600);
  border-color: var(--pc-600);
}
.swal2-container .swal2-cancel {
  background: var(--wc-50);
  color: var(--pc-500);
  border-color: var(--pc-500);
}
.swal2-container .swal2-cancel:hover {
  box-shadow: 0 0 5px var(--pc-500);
}
.swal2-container {
  /* 被 preConfirm 擋下時的驗證訊息 */
}
.swal2-container .swal2-validation-message {
  background: var(--pc-600);
  color: var(--wc-50);
  /* 套件那顆圓的紅底寫在 :where() 規則裡，權重為 0，這裡掛在容器底下就蓋得過 */
}
.swal2-container .swal2-validation-message::before {
  background: var(--wc-50);
  color: var(--pc-800);
}

.animation-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.4588235294);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(7px);
}

.animation-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 25px;
  background: rgba(168, 168, 168, 0.3019607843);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/************* 要替換掉的 *************/
.animation {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  position: relative;
  background: #FFF;
  box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  box-sizing: border-box;
  animation: shadowPulse 1.5s linear infinite;
}

@keyframes shadowPulse {
  33% {
    background: #FFF;
    box-shadow: -24px 0 var(--pc-500), 24px 0 #FFF;
  }
  66% {
    background: var(--pc-500);
    box-shadow: -24px 0 #FFF, 24px 0 #FFF;
  }
  100% {
    background: #FFF;
    box-shadow: -24px 0 #FFF, 24px 0 var(--pc-500);
  }
}
/************* 要替換掉的 *************/
@media (max-width: 576px) {
  .animation-bg {
    background: rgba(20, 20, 20, 0.1764705882);
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(0); */
  }
}
/* 元件 */
/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-breadcrumb {
  width: 100%;
  align-self: flex-start;
}
.c-breadcrumb__container, .c-breadcrumb__item {
  color: var(--nc-500);
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
}
.c-breadcrumb__item.active {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.c-breadcrumb__item + .c-breadcrumb__item::before {
  padding-right: var(--spacing-4);
  content: "›";
}
.c-breadcrumb a {
  color: var(--nc-500) !important;
}
.c-breadcrumb ol {
  margin: 0;
  display: flex;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  gap: var(--spacing-4);
}
@media (max-width: 1200px) {
  .c-breadcrumb {
    padding: 0 var(--spacing-16);
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/* 寬高只能在 @include 的引數給：mixin 內是 width/height !important，使用處再掛 class 蓋不掉 */
.c-button.--primary {
  background: var(--pc-500);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--wc-50);
  border-radius: var(--radius-8);
  width: 100% !important;
  height: 40px !important;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.c-button.--primary:hover {
  background: var(--pc-600);
}
.c-button.--secondary {
  background: var(--wc-50);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--pc-500);
  border: 1px solid var(--pc-500);
  border-radius: var(--radius-8);
  width: 100% !important;
  height: 40px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.c-button.--secondary:hover {
  box-shadow: 0 0 5px var(--pc-500);
}
.c-button.--secondary.active {
  background: var(--pc-500);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--wc-50);
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4);
}
.c-main-title__title {
  font-size: var(--text-hd-h5) !important;
  line-height: var(--text-hd-h5--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.c-main-title__subtitle {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--sc-500);
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-page-banner {
  width: 100%;
  height: 300px;
  position: relative;
  background: var(--banner-desktop) no-repeat center top;
}
.c-page-banner__text-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.c-page-banner__text {
  color: var(--wc-50);
  font-size: var(--text-hd-h3) !important;
  line-height: var(--text-hd-h3--line-height);
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.2509803922);
}
@media (max-width: 768px) {
  .c-page-banner {
    height: 128px;
    background: var(--banner-mobile) no-repeat center top;
    background-size: cover;
  }
  .c-page-banner__text {
    font-size: var(--text-hd-h6) !important;
    line-height: var(--text-hd-h6--line-height);
    font-weight: bold;
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-content-card {
  background: var(--wc-50);
  position: relative;
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  padding: var(--spacing-16);
  width: 288px;
  margin: 0 auto;
}
.c-content-card__image {
  width: 100%;
  border-radius: var(--radius-8);
}
.c-content-card__texts {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.c-content-card__title {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.c-content-card__subtitle {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-500);
  height: 48px;
}
.c-content-card__icon {
  width: 20px;
}
.c-content-card__publish-time {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-500);
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
}
.c-content-card {
  /* 桌機整張不可點、只有按鈕可點；手機反過來 */
}
.c-content-card__link {
  display: none;
}
@media (max-width: 992px) {
  .c-content-card {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .c-content-card {
    flex-direction: row;
    gap: var(--spacing-12);
    align-items: flex-start;
    padding: var(--spacing-12);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--nc-100);
  }
  .c-content-card__image {
    width: 128px;
  }
  .c-content-card__subtitle {
    font-size: var(--text-sm) !important;
    line-height: var(--text-sm--line-height);
    height: 42px;
  }
  .c-content-card__publish-time {
    font-size: var(--text-xs) !important;
    line-height: var(--text-xs--line-height);
  }
  .c-content-card__button {
    display: none !important;
  }
  .c-content-card__link {
    display: block;
    position: absolute;
    inset: 0;
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/* input／select／textarea／radio／checkbox 的樣式全住這一支：partial 拆三支是 markup 併不起來，樣式合一支是找的人只翻一次 */
/* 從 Anstarlin 暗底站搬來，顏色暫配白底值，待 Figma 19:1433 定案後人眼調 */
.c-input {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  width: 100%;
}
.c-input__title {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-900);
}
.c-input__required {
  color: var(--sc-500);
}
.c-input__alarm {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--sc-500);
}
.c-input__box {
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  color: var(--nc-500);
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--wc-50);
  border: 0.5px solid var(--nc-200);
  border-radius: var(--spacing-8);
  padding: 10px var(--spacing-16); /* Figma 10 / 16；10 不在 spacing 階上，照設計稿寫死 */
}
.c-input__box::placeholder {
  color: var(--nc-500);
}
.c-input__box:focus {
  outline: none;
  border-color: var(--pc-500);
}
.c-input__box {
  /* 用 readonly 不用 disabled，disabled 連選取複製都不行 */
}
.c-input__box.--readonly {
  background: #FAFAFA;
  border-color: transparent;
  cursor: default;
  color: var(--nc-500);
}
.c-input__box.--readonly:focus {
  border-color: transparent;
}
.c-input__select {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  appearance: none;
  cursor: pointer;
}
.c-input__select:focus {
  outline: none;
}
.c-input__select option {
  background: var(--wc-50);
}
.c-input {
  /* 還停在 placeholder option 時字轉灰，對齊 Figma 未選狀態 */
}
.c-input__box:has(.c-input__select option[value=""]:checked) {
  color: var(--nc-500);
}
.c-input__icon {
  flex: 0 0 auto;
  margin-left: var(--spacing-8);
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  color: var(--nc-500);
}
.c-input__textarea {
  height: 215px;
  align-items: flex-start;
  resize: vertical;
}

/* 自製 radio：選中主色圓＋白點，未選淺灰圈 */
.c-radio {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--nc-200);
  background: transparent;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
}
.c-radio:checked {
  border-color: var(--pc-500);
  background: var(--pc-500);
}
.c-radio:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wc-50);
}

/* 自製 checkbox：選中主色底白勾，未選淺灰細框 */
.c-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-12);
  cursor: pointer;
  /* 原生框不能拿掉、只能藏：勾選狀態要靠它推旁邊那顆假框 */
}
.c-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.c-checkbox__box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--nc-200);
  border-radius: var(--radius-4);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.c-checkbox__box i {
  display: none;
  font-size: var(--text-xs) !important;
  line-height: var(--text-xs--line-height);
  color: var(--wc-50);
}
.c-checkbox__input:checked + .c-checkbox__box {
  background: var(--pc-500);
  border-color: var(--pc-500);
}
.c-checkbox__input:checked + .c-checkbox__box i {
  display: block;
}
.c-checkbox__text {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-900);
}
.c-checkbox__link {
  color: var(--pc-500);
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  /* 蓋掉 util.scss 全域 a 的 text-decoration: none !important */
  text-decoration: underline !important;
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-web-step {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  gap: var(--spacing-32);
  border-bottom: 1px solid var(--nc-100);
}
.c-web-step__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-8);
  white-space: nowrap;
}
.c-web-step__item.--done .c-web-step__index, .c-web-step__item.--current .c-web-step__index {
  color: var(--pc-500);
}
.c-web-step__item.--current .c-web-step__text {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--pc-500);
}
.c-web-step__index {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  font-weight: bold;
  color: var(--nc-500);
}
.c-web-step__text {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-500);
}
@media (max-width: 1200px) {
  .c-web-step {
    gap: var(--spacing-16);
    overflow-x: auto;
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
.c-option-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-12);
  padding: var(--spacing-16);
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
  background: var(--wc-50);
  cursor: pointer;
  /* 稿上的選擇狀態是 20 寬 24 高：20 是圓圈，24 是標題那一行的行高 */
}
.c-option-card__radio-wrap {
  flex: 0 0 auto;
  height: 24px;
  display: flex;
  align-items: center;
}
.c-option-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}
.c-option-card__title {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  font-weight: bold;
  color: var(--nc-900);
}
.c-option-card__desc {
  font-size: var(--text-sm) !important;
  line-height: var(--text-sm--line-height);
  color: var(--nc-500);
}
.c-option-card__fields {
  display: none;
  width: 100%;
  gap: var(--spacing-12);
  padding-top: var(--spacing-8);
}
.c-option-card {
  /* --pc-50 沒有對應的 mixin，直接取 token */
}
.c-option-card:has(.c-option-card__radio:checked) {
  background: var(--pc-50);
  border-color: var(--pc-500);
}
.c-option-card:has(.c-option-card__radio:checked) .c-option-card__fields {
  display: flex;
}
@media (max-width: 1200px) {
  .c-option-card__fields {
    flex-direction: column;
  }
}

/* 全站入口：這裡 @use 的東西才會被編進 site.css
 * 新增元件 scss 後，記得在下面加一行 @use，否則不會生效
 */
/* 分隔線用相鄰元素的 border-left 畫，不插空 div：兩條線的位置就是加減區的內緣 */
.c-numberpad {
  width: 132px;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--wc-50);
  border: 1px solid var(--nc-100);
  border-radius: var(--radius-8);
}
.c-numberpad__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  color: var(--nc-500);
  /* 稿上的 minus／plus 是 16×16 的 asset，本專案已有 Font Awesome，用它畫同尺寸 */
}
.c-numberpad__btn i {
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  line-height: 1;
}
.c-numberpad__btn.--disabled {
  cursor: not-allowed;
  color: var(--nc-200);
}
.c-numberpad__value {
  width: 50px;
  flex-shrink: 0;
  border: none;
  border-left: 1px solid var(--nc-100);
  border-right: 1px solid var(--nc-100);
  /* 左右框線沿整個盒高畫，所以盒高就是線高；稿上是 24，不能靠 padding 撐 */
  height: 24px;
  padding: 0;
  text-align: center;
  font-size: var(--text-base) !important;
  line-height: var(--text-base--line-height);
  color: var(--nc-900);
}
.c-numberpad__value:focus {
  outline: none;
}
