@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:ital,wght@0,100..900;1,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;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* 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;
}

:root {
  --color-primary: #2450ff;
  --header-text: #293591;
  --color-primary-light: #edf3ff;
  --color-accent: #f7d83b;
  --color-bg: #fff9f0;
  --color-text: #4B4745;
  --color-muted: #666;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
}

* {
  padding: 0;
  margin: 0;
}

/* 基本設定 -------------------------------------------------- */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", sans-serif, "Microsoft JhengHei";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  min-height: 100vh;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow-x: hidden;
}

.freeze {
  overflow: hidden;
}

[class*=__img] img {
  width: 100%;
}

button {
  background: unset;
  border: unset;
}
button:focus, button:active {
  outline: unset;
}

.pc-br {
  display: block;
}

.section-title {
  font-size: 45px;
  color: #293591;
  margin-top: 55px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 44px;
    line-height: 1.2;
  }

  .pc-br {
    display: inline;
  }

  .page-wrapper {
    padding-top: 50px;
  }
}
.modal {
  position: fixed;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal.active .modal-mask {
  opacity: 1;
}
.modal.active .modal-content {
  /* ⭐ 回到正常大小 */
  -webkit-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  inset: 0;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  background-color: rgba(75, 72, 69, 0.85);
}

.modal-content {
  width: 100%;
  background-color: white;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  position: relative;
  opacity: 0;
  -webkit-transform: translateY(-20px) scale(0.9);
          transform: translateY(-20px) scale(0.9);
  -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: opacity 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-header {
  height: 63px;
}
.modal-header .btn-close {
  margin-left: auto;
  width: 63px;
  cursor: pointer;
  height: 63px;
  display: block;
  background-image: url("./../src/icon/icon-modal-close.svg");
  background-repeat: no-repeat;
  background-size: 23px 23px;
  background-position: center;
}

.modal-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0 6px;
  padding-bottom: 77px;
}
.modal-body > div {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.form-group > label {
  font-size: 15px;
  color: #4B4745;
  min-width: 80px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.form-group > label.required {
  position: relative;
}

.form-group-hint {
  font-size: 12px;
  color: #888;
  margin-top: -5px;
  margin-bottom: 15px;
  padding-left: 100px;
  width: 100%;
  line-height: 1.4;
}

[data-modal-panel=signup] {
  border-left: 1px solid #CCCCCC;
}

.modal-form {
  /* padding: 0 20px; */
  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;
}
.modal-form .form-input {
  width: 200px;
  border-radius: 4px;
  padding-left: 10px;
  height: 40px;
  border: 1px solid #E6E6E6;
  background: #E6E6E6;
}
.modal-form .form-input::-webkit-input-placeholder {
  color: #AEAEAE;
}
.modal-form .form-input::-moz-placeholder {
  color: #AEAEAE;
}
.modal-form .form-input:-ms-input-placeholder {
  color: #AEAEAE;
}
.modal-form .form-input::-ms-input-placeholder {
  color: #AEAEAE;
}
.modal-form .form-input::placeholder {
  color: #AEAEAE;
}
.modal-form .form-input.full {
  width: 100%;
}
.modal-form .input-group {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  position: relative;
}
.modal-form .input-group .form-input {
  width: 100%;
}

.form-input.is-error {
  border-color: #d92121;
  margin-bottom: 4px;
}

.error-msg {
  position: absolute;
  bottom: -14px;
  right: 2px;
  color: #d92121;
  font-size: 12px;
  margin-top: 4px;
}

.captcha-box {
  width: 91px;
  height: 40px;
  border-radius: 4px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: #524f4d;
  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;
  font-size: 16px;
  font-weight: bold;
}

.refresh-btn {
  white-space: nowrap;
  color: #787674;
  padding-left: 8px;
  padding-right: 8px;
  line-height: 40px;
  cursor: pointer;
}

.signup-modal__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  white-space: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 30px;
  font-size: 23px;
  color: #293591;
  gap: 8px;
  font-weight: bold;
}
.signup-modal__title + p {
  margin-top: -20px;
  margin-bottom: 30px;
  text-align: center;
}

.btn {
  border-radius: 30px;
  text-align: center;
  line-height: 40px;
  font-size: 16px;
  margin-bottom: 11px;
  cursor: pointer;
}

.login-form,
.register-form {
  max-width: 288px;
  margin: 0 auto;
}

.btn-primary {
  background-color: #293591;
  color: white;
}

.btn-primary:disabled,
.btn-primary.loading {
  background-color: #2d2d2d;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.7;
}

.btn-full {
  width: 100%;
}

.modal-action {
  text-align: center;
}

.text-button {
  font-size: 12px;
  color: #293591;
  line-height: 1.25;
  margin-left: 10px;
  margin-right: 10px;
  border-bottom: 1px solid #293591;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  white-space: nowrap;
}
.text-button.mobile {
  display: none;
}

.modal {
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/* 背景遮罩 */
.modal-mask {
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/* modal 本體動畫（縮放＋淡入） */
.modal-content {
  -webkit-transform: translateY(-20px) scale(0.96);
          transform: translateY(-20px) scale(0.96);
  opacity: 0;
  -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: opacity 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-panel {
  max-width: 500px;
}

/* 開啟狀態：啟動動畫 */
.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal.active .modal-mask {
  opacity: 1;
}

.modal.active .modal-content {
  -webkit-transform: translateY(0) scale(1);
          transform: translateY(0) scale(1);
  opacity: 1;
}

/* modal RWD --------------------------------------------------*/
@media (max-width: 768px) {
  .modal {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .btn {
    max-width: 280px;
  }

  .login-form,
  .register-form {
    max-width: 320px;
    margin: 0 auto;
  }
  .modal-body {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .modal-content {
    max-width: 320px;
    min-height: 337px;
    padding-bottom: 20px;
  }
  .modal-content .hide {
    width: 0 !important;
    overflow: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
  }
  .modal-content .show {
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .modal-header {
    height: 50px;
  }
  .modal-header .btn-close {
    height: 50px;
    width: 50px;
    background-size: 15px 15px;
  }

  .text-button.mobile {
    display: inline;
  }

  .modal-panel {
    /* -webkit-transition: height 0.01s, width 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: height 0.01s, width 0.5s ease-in-out, opacity 0.5s ease-in-out; */
    text-align: center;
  }

  .modal-panel[data-modal-panel=signup] {
    width: 0;
    height: 0;
    overflow: hidden;
    border-left: unset;
  }

  .signup-modal__title {
    margin-bottom: 9px;
  }
  .signup-modal__title + p {
    -moz-text-align-last: left;
         text-align-last: left;
    font-size: 14px;
    margin-top: -5px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }

  .mobile-br {
    display: block;
  }

  .modal-form {
    margin-bottom: 5px;
    padding: 0 20px;
  }
  .modal-form .form-input {
    width: 200px;
    font-size: 14px;
  }
  .modal-form .form-input.full {
    max-width: 200px;
    min-width: 95px;
  }
  .modal-form .input-group {
    gap: 13px;
    width: calc(100% - 80px);
  }

  .captcha-box {
    width: 74px;
  }

  .refresh-btn {
    margin: 0 auto;
    color: #d1d1d1;
    margin-bottom: -14px;
  }

  .form-group {
    margin-bottom: 12px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .form-group > label {
    min-width: 50px;
    font-size: 14px;
    text-align: left;
  }

  .form-group-hint {
    padding-left: 80px;
    margin-top: -5px;
    margin-bottom: 15px;
    font-size: 10px;
    text-align:left;
  }

  .modal-action {
    margin-bottom: 15px;
  }

  .btn {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .error-msg {
    position: static;
    text-align: right;
    width: 100%;
    margin-top: 0;
  }
}
/* =========================================================
   Header / 導覽列區塊
   =======================================================*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: var(--color-bg);
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  -webkit-transition: 0.1s;
  transition: 0.1s;
}
.site-header.scroll-down {
  background: #ffffff;
}

.site-header__inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
}

@media (min-width: 992px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  body.has-fixed-header {
    padding-top: var(--header-height, 96px);
  }
}

.site-logo img {
  max-width: 178px;
  width: 100%;
}

.main-nav__list {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav__link,
.main-dropdown {
  display: inline-block;
  text-decoration: none;
  color: var(--header-text);
  font-size: 1rem;
  font-weight: 500;
  width: 110px;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 1rem;
  line-height: 102px;
  position: relative;
}
.main-nav__link:after,
.main-dropdown:after {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  height: 4px;
  left: 0;
  right: 100%;
  background-color: var(--color-primary);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.main-nav__link:hover:after,
.main-dropdown:hover:after {
  right: 0%;
}

.header-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  padding-left: 18px;
}

.header-actions__btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  height: 45px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius:12px;
  border: 1px solid #4B4745;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  color: var(--color-text);
  cursor: pointer;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}
.header-actions__btn .icon {
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}
.header-actions__btn:hover {
  background-color: #293692;
  color: white;
}
.header-actions__btn:hover .icon {
  -webkit-filter: brightness(100);
          filter: brightness(100);
}

.header-actions__btn.header-actions-dropdown {
  position: relative;
}

.header-actions__btn.header-actions-dropdown:hover {
  background-color: #ffffff;
  color: #4B4745;
}
.header-actions__btn.header-actions-dropdown:hover .icon {
  -webkit-filter: none;
          filter: none;
}

@-webkit-keyframes button-enter {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  65% {
    -webkit-transform: scale(1.25);
            transform: scale(1.25);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes button-enter {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  65% {
    -webkit-transform: scale(1.25);
            transform: scale(1.25);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
/* 漢堡按鈕（mobile） */
.nav-toggle-mobile {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 5px;
}

/* Menu Button animation */
.menu-btn {
  height: 50px;
  width: 60px;
  cursor: pointer;
  position: relative;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  background: #293692;
  content: "";
  position: absolute;
  width: 23px;
  height: 3px;
  margin-top: 20px;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.menu-btn span::before {
  margin-top: -6px;
}

.menu-btn span::after {
  margin-top: 6px;
}

.main-nav__item {
  position: relative;
}

.main-dropdown:hover + .main-dropdown__menu {
  max-height: 128px;
}

.main-dropdown__menu {
  position: absolute;
  top: 80px;
  max-height: 0;
  overflow: hidden;
  left: 0;
  right: 0;
  -webkit-transition: 0.15s 0.15s;
  transition: 0.15s 0.15s;
  background-color: white;
  z-index: 2;
  -webkit-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.06);
          box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.06);
}
.main-dropdown__menu:hover {
  max-height: 128px;
}

.main-dropdown__item {
  text-align: center;
}
.main-dropdown__item a {
  color: #293692;
  line-height: 48px;
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.main-dropdown__item a:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.main-dropdown__item:last-of-type {
  margin-bottom: 4px;
}

.header-actions-dropdown {
  position: relative;
}
.header-actions__btn.header-actions-dropdown:hover {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.header-actions__btn.header-actions-dropdown:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  border-bottom: 0;
}

.header-actions-dropdown:hover .header-actions-dropdown__menu::before {
  border-top: 1px dashed #4B4845;
}

.header-actions-dropdown:hover .header-actions-dropdown__menu {
  max-height: 360px;
  border: 1px solid #4B4845;
  border-top: 0;
  padding-top: 8px;
}

.header-actions-dropdown__menu {
  position: absolute;
  top: calc(100% - 0px);
  max-height: 0;
  overflow: hidden;
  left: -1px;
  right: -1px;
  width: auto;
  min-width: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  border: 0px solid #4B4845;
  background-color: white;
  border-radius: 0 0 10px 10px;
  padding-top: 0;
  z-index: 2;
  -webkit-box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
          box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.header-actions-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  border-top: 0;
}
.header-actions-dropdown__menu:hover {
  max-height: 360px;
  border: 1px solid #4B4845;
  border-top: 0;
}

.header-actions-dropdown__item a {
  padding: 10px 16px;
  line-height: 1.5;
  display: block;
  text-align: center;
  color: #4B4845;
  font-size: 14px;
}
.header-actions-dropdown__item a:hover {
  background-color: rgba(75, 72, 69, 0.08);
}

.nav-toggle-mobile.active .menu-btn span,
.nav-toggle-mobile.active .menu-btn span::before,
.nav-toggle-mobile.active .menu-btn span::after {
  background: white;
}
.nav-toggle-mobile.active .menu-btn span {
  background: transparent;
}
.nav-toggle-mobile.active .menu-btn span::before {
  margin-top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.nav-toggle-mobile.active .menu-btn span::after {
  margin-top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.nav-toggle-mobile.active .menu-btn {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 100%;
  overflow: hidden;
  right: 0;
  z-index: 4;
  background-color: transparent;
  padding-top: 0;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}
.mobile-menu.expand {
  bottom: 0;
  background-color: rgba(75, 72, 69, 0.94);
  padding-top: 50px;
}

.mobile-menu__item a,
.mobile-menu__item span {
  display: block;
  color: white;
  text-align: center;
  font-size: 16px;
  line-height: 3;
}

.dropdown-btn {
  color: white;
  text-align: center;
  font-size: 16px;
  line-height: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  cursor: pointer;
}
.dropdown-btn:after {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% + 39px);
  width: 24px;
  height: 24px;
  background-image: url("./../src/icon/icon-down-white.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
}
.dropdown-btn.active + .dropdown-menu {
  max-height: 999px;
}
.dropdown-btn.active:after {
  -webkit-transform: rotate(0);
          transform: rotate(0);
}

.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: 0.14s ease-in-out;
  transition: 0.14s ease-in-out;
}

.dropdown-menu__item a,
.mobile-menu__subitem a {
  color: #999;
  line-height: 28px;
  font-size: 16px;
}
.dropdown-menu__item a:hover, .dropdown-menu__item a:active, .dropdown-menu__item a:focus,
.mobile-menu__subitem a:hover,
.mobile-menu__subitem a:active,
.mobile-menu__subitem a:focus {
  color: white;
}

/* Header RWD ------------------------------------------------*/
@media (max-width: 1024px) {
  .main-nav__link,
.main-dropdown {
    width: 100px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .site-logo img {
    max-width: 110px;
  }

  .nav-toggle-mobile {
    display: block;
    z-index: 8;
    position: relative;
  }

  .site-header__inner {
    padding: 0;
    padding-left: 20px;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background-color: white;
  }

  .header-actions {
    display: none;
  }
}
/* =========================================================
   Social Toolbar / 社群工具列
   =======================================================*/
.social-toolbar {
  position: fixed;
  top: 200px;
  right: -104px;
  z-index: 4;
  background-color: rgb(211 189 98 / 100%);
  padding: 10px 8px;
  padding-bottom: 2px;
  border-radius: 10px;
  text-align: center;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
.social-toolbar .caption {
  color: white;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 6px;
}
.social-toolbar.scroll-down {
  right: 4px;
}

.social-toolbar__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 54px;
  padding: 6px 0;
  border-style: solid;
  border-color: white;
  border-width: 1px 0 1px 0;
}

.social-toolbar__item {
  text-align: center;
  padding: 6px 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}
.social-toolbar__item a,
.social-toolbar__item span {
  display: block;
  text-align: center;
  font-size: 0;
  color: white;
}
.social-toolbar__item span {
  font-size: 12px;
  line-height: 12px;
  padding-top: 7px;
}
.social-toolbar__item img {
  width: 40px;
  margin: 0 auto;
}
.social-toolbar__item.mobile {
  display: none;
}
.social-toolbar__item:hover {
  opacity: 0.8;
}

.go-top {
  cursor: pointer;
  padding-top: 10px;
  padding-left: 6px;
  padding-right: 6px;
  background-color: unset;
  border: unset;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
}
.go-top:hover {
  opacity: 0.8;
}

/* Social Toolbar RWD ---------------------------------------*/
@media (max-width: 768px) {
  .social-toolbar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: auto;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 0;
  }
  .social-toolbar .caption {
    display: none;
  }
  .social-toolbar .mobile {
    display: block;
  }
  .social-toolbar.scroll-down {
    right: 0;
  }

  .social-toolbar__list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 83.3333333333%;
    border-width: 0;
  }

  .social-toolbar__item {
    padding: 1px 0;
    width: 100%;
    border-right: 0.5px solid white;
  }
  .social-toolbar__item button {
    display: block;
    width: 100%;
    text-align: center;
  }
  .social-toolbar__item img {
    width: 23px;
    margin-bottom: 4px;
  }
  .social-toolbar__item span {
    font-size: 11px;
    padding-top: 0px;
  }

  .go-top {
    padding: 0;
    padding-top: 4px;
    width: 16.6666666667%;
    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;
  }
  .go-top img {
    width: 22px;
  }
}
/* =========================================================
   Footer / 頁腳
   =======================================================*/
.site-footer {
  background: white;
  padding: 50px 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.site-footer__inner {
  max-width: 1520px;
  margin: 0 auto;
  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-footer__logo {
  margin-bottom: 12.5px;
}

.site-footer__text {
  font-size: 14px;
  color: #545454;
}
.site-footer__text span {
  margin-right: 20px;
  font-size: 14px;
}

.site-footer__copyright {
  margin-top: 5px;
  color: #545454;
  font-size: 14px;
}

.privacy-link {
  color: #4b4b4b;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: 0.15s ease-in-out;
  transition: 0.15s ease-in-out;
  border-bottom: 1px solid transparent;
}

.privacy-link:hover {
  color: #293591;
  border-bottom-color: #293591;
}

/* Footer RWD -----------------------------------------------*/
@media (max-width: 768px) {
  .site-footer {
    background: white;
    padding-top: 25px;
    padding-bottom: 80px;
  }

  .site-footer__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    width: 100%;
  }
  .site-footer__inner .site-footer__logo {
    width: 168px;
  }
  .site-footer__inner .site-footer__logo img {
    width: 100%;
    max-width: unset;
  }

  .site-footer__info {
    width: 100%;
  }

  .site-footer__text span {
    display: block;
    font-size: 14px;
  }

  .site-footer__copyright {
    margin-top: 0;
    margin-bottom: 38px;
  }

  .site-footer__info + .site-footer__info {
    border-top: 1px dashed #5A5856;
    padding-top: 12px;
  }
}

.privacy-content {
  padding: 16px 12px;
  max-height: 60vh;
  overflow-y: auto;
  text-align: left;
  line-height: 1.8;
  color: #1c1c1c;
}

#privacy .modal-panel {
  max-width: 680px;
}

/* SweetAlert 共用按鈕樣式 */
.swal2-confirm,
.swal2-cancel {
  border-radius: 30px !important;
  min-width: 110px;
}

/* SweetAlert 按鈕圓角 */
.swal2-confirm.alert-btn-rounded {
  border-radius: 30px !important;
}

/* 首頁進站警語專用寬版按鈕 */
.swal2-confirm.alert-btn-wide {
  padding: 0.8em 3.6em !important;
  min-width: 140px;
}

.privacy-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #293591;
}

.privacy-content h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #293591;
}

.privacy-content p {
  margin-bottom: 15px;
}

.privacy-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.privacy-content li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .privacy-content {
    padding: 10px;
    max-height: 50vh;
    font-size: 14px;
  }
  
  .privacy-content h3 {
    font-size: 16px;
  }
  
  .privacy-content h4 {
    font-size: 14px;
  }
}
@media (max-width: 768px) {

  .swal2-popup.lightbox-alert,
  .swal2-popup {
    width: 90% !important;
    max-width: 320px !important;
    padding: 1em 0.8em 0.8em !important;
  }
  
  .swal2-title.lightbox-title,
  .swal2-title {
    font-size: 23px !important;
    line-height: 1.6 !important;
    padding: 0 0 0.3em !important;
    margin: 0 !important;
    margin-bottom: 0.3em !important;
  }
  
  .swal2-confirm.alert-btn.alert-btn-filled,
  .swal2-confirm,
  .swal2-confirm.alert-btn-rounded {
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding: 0.5em 2em !important;
    height: auto !important;
    min-height: 32px !important;
    border-radius: 30px !important;
    width: auto !important;
    min-width: 80px !important;
  }
  
  .swal2-actions.alert-btn-wrap,
  .swal2-actions {
    margin-top: 0.3em !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  
  .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  
}
@media (max-width: 768px) {
  .swal2-confirm.alert-btn-wide {
    padding: 0.7em 3.2em !important;
    min-width: 130px !important;
  }
}