@charset "UTF-8";
/**
 * Swiper 9.4.1
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2023 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: June 13, 2023
 */
@font-face {
  font-family: swiper-icons;
  src: url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");
  font-weight: 400;
  font-style: normal;
}
:root {
  --swiper-theme-color:#007aff;
}

.swiper, swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}

.swiper-android .swiper-slide, .swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

.swiper-horizontal {
  touch-action: pan-y;
}

.swiper-vertical {
  touch-action: pan-x;
}

.swiper-slide, swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}

.swiper-slide-invisible-blank {
  visibility: hidden;
}

.swiper-autoheight, .swiper-autoheight .swiper-slide {
  height: auto;
}

.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}

.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}

.swiper-3d {
  perspective: 1200px;
}

.swiper-3d .swiper-cube-shadow, .swiper-3d .swiper-slide, .swiper-3d .swiper-slide-shadow, .swiper-3d .swiper-slide-shadow-bottom, .swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right, .swiper-3d .swiper-slide-shadow-top {
  transform-style: preserve-3d;
}

.swiper-3d .swiper-slide-shadow, .swiper-3d .swiper-slide-shadow-bottom, .swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right, .swiper-3d .swiper-slide-shadow-top {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.swiper-3d .swiper-slide-shadow {
  background: rgba(0, 0, 0, 0.15);
}

.swiper-3d .swiper-slide-shadow-left {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-right {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-top {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-3d .swiper-slide-shadow-bottom {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.swiper-css-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: start start;
}

.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

.swiper-vertical.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: y mandatory;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper {
  scroll-snap-type: none;
}

.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: none;
}

.swiper-centered > .swiper-wrapper::before {
  content: "";
  flex-shrink: 0;
  order: 9999;
}

.swiper-centered > .swiper-wrapper > .swiper-slide {
  scroll-snap-align: center center;
  scroll-snap-stop: always;
}

.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
  margin-inline-start: var(--swiper-centered-offset-before);
}

.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
  height: 100%;
  min-height: 1px;
  width: var(--swiper-centered-offset-after);
}

.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
  margin-block-start: var(--swiper-centered-offset-before);
}

.swiper-centered.swiper-vertical > .swiper-wrapper::before {
  width: 100%;
  min-width: 1px;
  height: var(--swiper-centered-offset-after);
}

.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}

.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader, .swiper:not(.swiper-watch-progress) .swiper-lazy-preloader, swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader {
  animation: swiper-preloader-spin 1s infinite linear;
}

.swiper-lazy-preloader-white {
  --swiper-preloader-color:#fff;
}

.swiper-lazy-preloader-black {
  --swiper-preloader-color:#000;
}

@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
html {
  /* 1. 防止抖動：永遠預留空間 */
  scrollbar-gutter: stable;
}

/* === 1. Firefox 專用 (標準屬性) === */
* {
  /* thin: 變細, auto: 預設 */
  scrollbar-width: thin;
  /* 兩個顏色分別是：[卷軸拉桿顏色] [軌道背景顏色] */
  scrollbar-color: rgba(176, 176, 176, 0.4156862745) transparent;
}

/* 2. 美化：讓那個預留空間看起來不要那麼明顯 (Windows) */
::-webkit-scrollbar {
  width: 6px; /* 變細 */
  background: transparent; /* 軌道透明 */
}

/* 設定卷軸的軌道 (背景) */
::-webkit-scrollbar-track {
  background: transparent; /* 設為透明，讓背景透出來，更有懸浮感 */
  border-radius: 4px;
}

/* 設定卷軸本體 (拉桿) */
::-webkit-scrollbar-thumb {
  background: #b0b0b0; /* 淺灰色，不要全黑 */
  border-radius: 4px; /* 圓角 */
}

/* 滑鼠移過去時，拉桿變深一點，增加互動感 */
::-webkit-scrollbar-thumb:hover {
  background: #888;
}

:root {
  --box-border-xs: 3px;
}

@media (max-width: 650px) {
  :root {
    --box-border-xs: 3px;
  }
}
.btnBlk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, #fff9c8 0%, #f4eaa5 38%, #f0dd74 100%);
  border: var(--box-border-xs) solid #ffffff;
  border-radius: 99rem;
  position: relative;
  isolation: isolate;
  min-width: 250px;
  text-decoration: none;
  color: #000000;
  font-size: 24px;
  font-weight: 700;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 8px #000000;
  /* 內框（雙層框感） */
}
.btnBlk::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 99rem;
  border: var(--box-border-xs) solid rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: -1;
  background: transparent;
}
.btnBlk {
  /* 內部柔光 */
}
.btnBlk::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 99rem;
  background: radial-gradient(120% 120% at 50% 35%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: -1;
}
.btnBlk .icon {
  width: 20px;
}
.btnBlk:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px #000000;
}
.btnBlk:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #000000;
}
.btnBlk-rules {
  background: #57a280;
  color: #ffffff;
}
.btnBlk-rules:after {
  opacity: 0;
}

@media (max-width: 650px) {
  .btnBlk {
    border: 2px solid #ffffff;
    font-size: 16px;
    min-width: 45%;
    padding: 0.75rem 0.5rem;
    gap: 8px;
  }
  .btnBlk::before {
    content: "";
    border: 2px solid rgba(0, 0, 0, 0.85);
  }
  .btnBlk .icon {
    width: 15px;
  }
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  --header-height: 100px;
  --header-padding-y: 8px;
  --logo-height: 55px;
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  --header-height: 72px;
  --header-padding-y: 2px;
  --logo-height: 40px;
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--header-padding-y) 20px;
  transition: min-height 0.35s ease, padding 0.35s ease;
}

.logo {
  position: relative;
  z-index: 1102;
  display: inline-flex;
  align-items: center;
  width: 140px;
}

.logo img {
  display: block;
  transition: height 0.35s ease;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1102;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  --ham-bar: 30px;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: var(--ham-bar);
  height: 3px;
  background: #1d8b83;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  border-radius: 99rem;
}

.nav-toggle span:nth-child(1) {
  top: 12px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
  width: calc(var(--ham-bar) / 2);
}

.nav-toggle span:nth-child(3) {
  top: 32px;
  width: calc(var(--ham-bar) / 3);
}

.nav-toggle.active span:nth-child(1) {
  top: 21px;
  width: var(--ham-bar);
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 21px;
  width: var(--ham-bar);
  transform: rotate(-45deg);
}

.nav {
  position: relative;
}

.menu-panels {
  position: relative;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(36px, 4vw, 55px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.menu-item.has-sub {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  /* Hover bridge to prevent flicker between trigger and dropdown */
  .menu-item.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }
}
.menu-item > a,
.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #1d8b83;
  text-decoration: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.menu-item > a:hover,
.menu-link:hover {
  color: rgb(20.1964285714, 96.8035714286, 91.2321428571);
}

.arrow {
  display: none;
}

.submenu-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 220px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.submenu-inner {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
}

.submenu-inner a {
  display: block;
  padding: 16px 18px;
  color: #1d8b83;
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
}

.submenu-inner a:hover {
  background: #f5f7fa;
}

.menu-item.open > .submenu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.panel-sub {
  display: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1098;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile */
@media (max-width: 1024px) {
  .header-inner {
    min-height: calc(var(--header-height) - 20px);
  }
  .logo {
    z-index: 0;
    margin: 0 auto;
    transform: translateX(20px);
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1101;
    width: min(82vw, 360px);
    height: 100dvh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow: hidden;
    display: block;
  }
  .nav.open {
    transform: translateX(0);
  }
  .menu-panels {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: transform 0.35s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .panel-main {
    transform: translateX(0);
    padding-top: 80px;
  }
  .panel-main.is-shifted {
    transform: translateX(-100%);
  }
  .panel-sub {
    display: block;
    transform: translateX(100%);
    padding-top: 20px;
  }
  .panel-sub.active {
    transform: translateX(0);
  }
  /* 關鍵修正：手機版把 desktop flex 完整重設 */
  .menu.panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 80px 0 0;
    list-style: none;
    box-sizing: border-box;
    overflow: hidden;
  }
  .panel-main.menu.panel {
    padding-top: 20px;
  }
  .menu-item,
  .menu-back {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .menu-item {
    border-bottom: 1px solid #edf0f3;
  }
  .menu-item > a,
  .menu-link,
  .sub-panel-body a,
  .panel-back {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    box-sizing: border-box;
    text-decoration: none;
    color: #1d8b83;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    writing-mode: horizontal-tb;
    overflow: hidden;
    min-width: 0;
    font-weight: 500;
    font-size: 18px;
  }
  .panel-back {
    overflow: visible;
  }
  .panel-back:before {
    content: "";
    border: 5px solid #1d8b83;
    border-width: 0 0 2px 2px;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    margin-right: 10px;
  }
  .menu-link span:first-child {
    flex: 1 1 auto;
  }
  .arrow {
    flex: 0 0 auto;
    margin-left: 12px;
  }
  .submenu-dropdown {
    display: none;
  }
  .sub-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid #edf0f3;
    box-sizing: border-box;
  }
  .panel-back {
    width: auto;
    min-height: auto;
    padding: 0;
    justify-content: flex-start;
  }
  .sub-panel-title {
    font-weight: 600;
    color: #0b2239;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    writing-mode: horizontal-tb;
    font-size: 18px;
    color: #1d8b83;
  }
  .sub-panel-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
  }
  .sub-panel-body a {
    border-bottom: 1px solid #edf0f3;
  }
  .arrow {
    font-size: 24px;
    line-height: 1;
    display: block;
  }
  .qrcode {
    justify-content: start !important;
  }
}
.qrcode img {
  height: 20px;
  width: 20px;
}

footer {
  position: relative;
  padding: 32px 0;
  background: #0a7d77;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 576px) {
  footer {
    padding: 20px 0 50px;
    font-size: 15px;
  }
}
footer .footer-content {
  max-width: 1280px;
  padding: 20px 0 30px;
  position: relative;
  margin: 0 auto;
}

.flow-bg {
  --c1: #ff4444;
  --c2: #fe5953;
  --size: 120px;
  --speed: 10s;
  position: relative;
  overflow-Y: auto;
  background: conic-gradient(var(--c1) 0 25%, var(--c2) 0 50%, var(--c1) 0 75%, var(--c2) 0);
  background-size: var(--size) var(--size);
  animation: bg-flow var(--speed) linear infinite;
}

/* 背景平移動畫 */
@keyframes bg-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: var(--size) var(--size);
  }
}
@media (max-width: 768px) {
  .flow-bg {
    --size: 80px;
  }
}
@media (max-width: 480px) {
  .flow-bg {
    --size: 60px;
  }
}
:root {
  --color-bg: #ff4444;
  --color-bg-light: #F8715A;
  --color-text: #1A1A1A;
  --color-primary: #FFD700;
  --color-secondary: #000000;
  --color-white: #FFFFFF;
  --color-gray: #E2E8F0;
  --color-green-bar: #57a280;
  --color-result-card: #f8efbd;
  --color-badge-yellow: #fffdeb;
  --color-progress-fill: #57a280;
  --border-width: 4px;
  --shadow-hard: 6px 6px 0px 0px rgba(0, 0, 0, 1);
  --shadow-small: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.app-container {
  width: 100%;
  max-width: 1440px;
  margin: 60px auto 0 auto;
  min-height: calc(95vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0 1rem;
}
.app-container .result {
  margin-top: 60px;
  height: calc(100vh - 60px);
}
@media (max-width: 850px) {
  .app-container {
    padding: 100px 1rem 1rem 1rem;
    margin: 0 auto;
    align-items: start;
  }
  .app-container .result {
    margin-top: 0;
  }
}

.highlight-text {
  color: var(--color-bg);
}

.result:before {
  display: none;
}
.result-container {
  width: 100%;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
}
.result-header-wrapper {
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .result-header-wrapper {
    margin-bottom: 10px;
    flex-direction: column;
  }
}
.result-char-container {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  width: 30%;
}
.result-header-box {
  --b: clamp(2px, 0.6vw, 4px);
  --g: clamp(6px, 1.6vw, 12px);
  --i: clamp(1px, 0.4vw, 4px);
  --r: calc(var(--b) + var(--g) + var(--i) + 14px);
  flex: 1;
  border-radius: clamp(16px, 2vw, 32px);
  background: #f3e6b6;
  border: var(--box-border) solid #000;
  padding: clamp(6px, 1.6vw, 12px);
}
.result-header-box--insert {
  background: #fffdeb;
  border-radius: clamp(12px, 1.5vw, 28px);
  border: var(--box-border) solid #000;
}
.result-header-box .coner_t {
  padding: 20px;
}
@media (max-width: 650px) {
  .result-header-box .coner_t {
    padding: 5px;
  }
}
.result-header-main {
  display: grid;
  gap: 16px;
  z-index: 1;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "b c d";
}
.result-header-main > :nth-child(1) {
  grid-area: a;
  transform: scale(1.3);
}
.result-header-main > :nth-child(2) {
  grid-area: b;
}
.result-header-main > :nth-child(3) {
  grid-area: c;
}
.result-header-main > :nth-child(4) {
  grid-area: d;
}
@media (max-width: 650px) {
  .result-header-main {
    align-items: center;
    gap: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b c d";
    grid-template-areas: "b a" "c c" "d d";
  }
  .result-header-main > :nth-child(1) {
    margin: -30px -5px -30px 0;
    transform: translateY(-5vw) scale(0.95);
  }
  .result-header-main > :nth-child(2) {
    margin: 5px 10px 10px 10px;
    border-right: 2px solid #000000;
  }
  .result-header-main > :nth-child(4) {
    margin: 5px 5px 5px 10px;
  }
}
.result-header-main__seal {
  position: absolute;
  width: 30%;
  inset: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .result-header-main__seal {
    position: relative;
    width: auto;
  }
}
.result-header-main__divider {
  width: 2px;
  background: #000000;
}
@media (max-width: 650px) {
  .result-header-main__divider {
    width: 100%;
    height: 2px;
  }
}
.result-header-main__label {
  font-size: clamp(11px, 2vw, 20px);
  font-weight: 700;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .result-header-main__label {
    font-size: 2.8vw;
  }
}
.result-header-main__header {
  display: flex;
}
@media (max-width: 650px) {
  .result-header-main__header {
    flex-direction: column;
    justify-content: center;
  }
}
.result-header-main__fish-title {
  font-size: clamp(11px, 2vw, 20px);
  font-weight: 700;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .result-header-main__fish-title {
    font-size: 2.8vw;
  }
}
.result-header-main__fish-name {
  font-size: clamp(11px, 2vw, 20px);
  font-weight: 700;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .result-header-main__fish-name {
    font-size: 8.5vw;
    font-weight: 900;
    line-height: 1;
  }
}
.result-header-main__name {
  font-size: clamp(34px, 6.2vw, 64px);
  font-weight: 900;
  line-height: 1;
}
@media (max-width: 650px) {
  .result-header-main__name {
    font-size: 8.5vw;
  }
}
.result-header-main__left {
  display: grid;
  grid-template-rows: 25px auto;
  gap: 4px;
}
@media (max-width: 650px) {
  .result-header-main__left {
    grid-template-rows: auto auto;
  }
}
.result-header-main__right {
  display: grid;
  grid-template-rows: 25px auto;
  gap: 4px;
}
@media (max-width: 650px) {
  .result-header-main__right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}
.result-header-main__fish-display {
  position: relative;
  display: flex;
  align-items: center;
}
.result-header-main__fish-display .blockWrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}
@media (max-width: 650px) {
  .result-header-main__fish-display .blockWrap {
    position: relative;
  }
}
.result-fish-img img {
  object-fit: contain;
  transform: translate(-3%, 10%);
}
@media (max-width: 650px) {
  .result-fish-img img {
    transform: scale(1.1) translate(0, 5px);
  }
}
.result-fish-badge {
  background: #ffe400;
  padding: 6px;
  border-radius: 99rem;
  font-weight: 500;
  border: 3px solid #ffffff;
  line-height: 1;
  box-shadow: 0 0 0 2px #000000;
  text-align: center;
  width: 80px;
  flex: 0 0 auto;
}
@media (max-width: 650px) {
  .result-fish-badge {
    width: 28px;
    padding: 4px 2px;
    font-size: 13px;
    box-shadow: 0 0 0 1px #000000;
  }
}
.result-header-sub-desc {
  color: #fff;
  font-weight: 500;
  font-size: clamp(15px, 2.5vw, 20px);
  position: relative;
  z-index: 1;
  padding: 15px;
  line-height: 1.3;
  background: #57a280;
  border-radius: 0 0 clamp(10px, 1.2vw, 24px) clamp(10px, 1.2vw, 24px);
  border-top: var(--box-border) solid #000000;
}
@media (max-width: 650px) {
  .result-header-sub-desc {
    padding: 10px;
    line-height: 1.2;
  }
}
.result-body {
  background: #57a280;
  border: var(--box-border) solid #000000;
  border-radius: clamp(16px, 2vw, 32px);
  padding: clamp(6px, 1.6vw, 12px);
}
.result-body__slogan {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  margin: 6px 10px 18px 10px;
  letter-spacing: 1px;
}
.result-info-box {
  border: var(--box-border) solid #000000;
  border-radius: 20px;
  background: #fffad6;
  padding: 1.5rem;
}
@media (max-width: 650px) {
  .result-info-box {
    padding: 1rem;
    border-radius: 12px;
  }
}
.result-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #000000;
  align-items: center;
}
.result-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border: 0;
}
@media (max-width: 650px) {
  .result-section {
    gap: 0.5rem;
  }
}
.result-section__badge {
  width: 80px;
  height: 80px;
  background: #ffb5b2;
  border: 2px solid #000;
  border-radius: 99rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1.2;
}
@media (max-width: 650px) {
  .result-section__badge {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
}
.result-section__badge--mbti {
  background: #ffb5b2;
}
.result-section__badge--product {
  background: #fffd38;
}
.result-section__badge--task {
  background: #82fbff;
}
.result-section__content {
  font-size: clamp(15px, 2.5vw, 20px);
  line-height: 1.6;
  font-weight: 500;
}
.result-section__content--list a {
  display: block;
  margin-bottom: 5px;
  color: #000;
  text-decoration: none;
  text-indent: -18px;
  margin-left: 18px;
}
@media (max-width: 650px) {
  .result-section__content--list a {
    text-indent: -14px;
    margin-left: 12px;
  }
}
.result-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 650px) {
  .result-footer {
    width: 100%;
  }
}

.view {
  display: none;
  width: 100%;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.view--active {
  display: flex;
  opacity: 1;
}
.view::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 270px;
  background: url(../img/fan_2.png) no-repeat center/contain;
  left: -190px;
  top: 275px;
}

.intro:before {
  display: none;
}
.intro img {
  width: 100%;
  height: auto;
  display: block;
}
.intro__content {
  width: 100%;
  display: grid;
  place-items: center;
  gap: 15px;
}
.intro__badge {
  display: inline-block;
  width: min(100%, 375px);
}
@media (max-width: 575px) {
  .intro__badge {
    width: min(100%, 200px);
  }
}
.intro__title {
  max-width: min(85vw, 820px);
}
.intro__desc {
  display: flex;
  justify-content: center;
  gap: 10px 16px;
}
.intro__desc p {
  font-family: "Huninn", "Noto Sans TC";
  font-weight: 900;
  margin: 0;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: #000;
  -webkit-text-stroke: 0.2em #fff;
  paint-order: stroke fill;
}
@media (max-width: 575px) {
  .intro__desc {
    flex-direction: column;
    text-align: center;
  }
}
.intro__seal {
  max-width: 935px;
  width: 100%;
}
.intro__seal img {
  width: 100vw;
}
.intro__btn {
  font-size: 36px;
}

.intro__desc--stroke p {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: #000;
  -webkit-text-stroke: 0.18em #fff;
  paint-order: stroke fill;
}

@media (max-width: 1020px) {
  .quiz:before {
    display: none;
  }
}

.quiz-progress-container {
  width: 100%;
  max-width: 460px;
  margin: 0 0 2rem;
  padding: 0 1rem;
}
@media (max-width: 650px) {
  .quiz-progress-container {
    width: 70%;
    margin-bottom: 1rem;
  }
}
.quiz-progress-bar {
  height: clamp(26px, 5vw, 48px);
  background: #4cc181;
  border-radius: 9999rem;
  border: var(--box-border) solid #000000;
  overflow: hidden;
  box-shadow: 0 0 0 var(--box-border) #ffffff;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: #ff4444;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  box-shadow: var(--box-border) 0 0 rgb(0, 0, 0);
  min-width: 50px;
}

.quiz-card-new {
  border-radius: clamp(16px, 2vw, 32px);
  padding: clamp(6px, 1.6vw, 16px);
  background: var(--color-result-card);
  border: var(--box-border) solid #000;
  width: 100%;
  padding-top: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.quiz-card-new:before {
  content: "";
  position: absolute;
  left: -80px;
  top: -40px;
  background: url("../img/star_pc.png") no-repeat center/contain;
  pointer-events: none;
  z-index: 15;
  width: 220px;
  height: 220px;
}
@media (max-width: 650px) {
  .quiz-card-new:before {
    background: url("../img/star_mb.png") no-repeat center/contain;
    width: 90px;
    height: 90px;
    left: 0;
    top: -10px;
  }
}
.quiz-card-new__question {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  padding: 10px 200px 10px 110px;
  line-height: 1.3;
  min-height: 130px;
  display: flex;
  align-items: center;
}
@media (max-width: 650px) {
  .quiz-card-new__question {
    min-height: 80px;
    padding: 10px 20px 10px 80px;
  }
}
.quiz-card-new__options {
  border: var(--box-border) solid #000000;
  border-radius: clamp(16px, 2vw, 32px);
  padding: 50px;
  padding-bottom: 80px;
  background: #fffdeb;
  display: grid;
  gap: 16px;
}
@media (max-width: 650px) {
  .quiz-card-new__options {
    padding: 12px 12px 50px 12px;
    gap: 8px;
  }
}

/* 題間 Loading 樣式 */
.quiz-card__loading {
  position: absolute;
  inset: 0;
  background: var(--color-result-card);
  border-radius: 35px;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  opacity: 0;
}

.quiz-card--loading .quiz-card__loading {
  display: flex;
}

.quiz-card--loading .quiz-card-new__loading {
  display: flex;
}

.quiz-list {
  position: relative;
  z-index: 10;
}

.quiz-deco {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}
.quiz-deco--q-badge {
  top: -25px;
  left: -50px;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: auto;
  background: url(../img/fan.png) no-repeat center/contain;
  overflow: hidden;
  font-weight: 900;
  margin: 0;
  font-size: clamp(40px, 3.6vw, 50px);
  color: #000;
  -webkit-text-stroke: 0.15em #fff;
  paint-order: stroke fill;
  padding-bottom: 60px;
}
@media (max-width: 650px) {
  .quiz-deco--q-badge {
    transform: scale(0.7) translate(0, -40px);
    width: 160px;
    height: 160px;
    top: -5px;
  }
}
.quiz-deco--suitcase {
  top: -75px;
  right: -30px;
  width: 250px;
  height: 250px;
  pointer-events: auto;
}
@media (max-width: 650px) {
  .quiz-deco--suitcase {
    transform: scale(0.7) translate(40px, -20px);
    display: none;
  }
}
.quiz-deco--artwork {
  bottom: -100px;
  right: -80px;
  width: 220px;
  height: 220px;
  pointer-events: auto;
  z-index: 20;
}
@media (max-width: 650px) {
  .quiz-deco--artwork {
    display: none;
    width: 140px;
    height: fit-content;
    bottom: -80px;
    right: 20px;
  }
}
.quiz-deco--envelope {
  bottom: -100px;
  right: -80px;
  width: 220px;
  height: 220px;
  pointer-events: auto;
  z-index: 20;
  display: none;
}
@media (max-width: 650px) {
  .quiz-deco--envelope {
    width: 185px;
    height: auto;
    bottom: -80px;
    right: 0;
    display: none;
  }
}

.quiz-option-new {
  /* 1. 基礎設定保持不變 */
  display: flex;
  align-items: center;
  width: 100%;
  padding: clamp(8px, 2vw, 20px) clamp(8px, 3vw, 36px);
  background: #fff;
  border: var(--box-border) solid #000;
  border-radius: 50px;
  cursor: pointer;
  text-align: left;
  opacity: 1;
  gap: 4px;
  font-family: "Noto Sans TC";
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 600;
  /* === 關鍵優化 1: 移除系統預設點擊遮罩 === */
  -webkit-tap-highlight-color: transparent;
  /* === 關鍵優化 2: 防止快速點擊時選取文字 === */
  user-select: none;
  -webkit-user-select: none;
  /* === 關鍵優化 3: 優化過渡動畫 === */
  /* 不要用 all，指定屬性效能較好，時間改短 (0.1s~0.15s) 讓回饋更即時 */
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  /* === 關鍵優化 4: 解決 300ms 點擊延遲 (部分瀏覽器) === */
  touch-action: manipulation;
}
.quiz-option-new span {
  color: #000;
}
@media (max-width: 500px) {
  .quiz-option-new {
    border-radius: 18px;
  }
}
.quiz-option-new {
  /* === 關鍵優化 5: 區分電腦滑鼠與手機觸控 === */
  /* 只在支援 hover 的裝置 (電腦) 啟用懸浮效果，避免手機點擊後卡住顏色 */
}
@media (hover: hover) {
  .quiz-option-new:hover {
    background: var(--color-badge-yellow);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
  }
}
.quiz-option-new {
  /* === 關鍵優化 6: 增加手機按下的「壓下感」 (:active) === */
  /* 當手指「按著不放」時的狀態 */
}
.quiz-option-new:active {
  background: var(--color-badge-yellow);
  /* 按下時讓按鈕「縮」回去或是稍微變暗，模擬實體按鍵 */
  transform: scale(0.98);
  box-shadow: 1px 1px 0px #000;
  /* 陰影變小，製造被壓扁的感覺 */
  transition-duration: 0.05s;
  /* 按下反應要極快 */
}
.quiz-option-new .option-letter {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 1.25em;
}
@media (max-width: 650px) {
  .quiz-option-new .option-letter {
    font-size: 1.75em;
  }
}
.quiz-option-new.selected {
  background: var(--color-bg);
  color: #fff;
  border-color: #000;
  /* 選中狀態通常不希望還有位移，保持平穩 */
  transform: none;
  box-shadow: none;
}
.quiz-option-new.selected .option-letter,
.quiz-option-new.selected span {
  color: #ffffff;
}

@media (min-width: 1024px) and (max-height: 930px) {
  .intro {
    transform-origin: top center; /* 保證縮放從上方中心開始 */
    transform: translateY(0);
    zoom: 0.8;
  }
  .intro__seal {
    max-width: 875px;
  }
  .quiz {
    transform-origin: top center; /* 保證縮放從上方中心開始 */
    transform: scale(0.8) translateY(0);
  }
  .quiz-option-new {
    font-size: clamp(16px, 3vw, 25px);
  }
  .result-container {
    transform: scale(0.8);
    margin-top: -130px;
    padding-bottom: 0;
  }
}
:root {
  --coner-size: 1200px;
  --coner-height: 85px;
  --coner-width: 50px;
  --box-height-t: 170px;
  --box-height-b: 81px;
  --box-border: 4px;
}

@media (max-width: 650px) {
  :root {
    --box-border: 2px;
  }
}
@media (max-width: 475px) {
  :root {
    --coner-size: 780px;
    --coner-height: 75px;
    --coner-width: 35px;
    --box-height-t: 150px;
    --box-height-b: 55px;
  }
}
.global-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.global-loader--active {
  display: flex;
}
.global-loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url(../img/loading.svg) no-repeat center center/contain;
  width: 160px;
  height: 110px;
  animation: breatheBounce 1.6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
.global-loader #loader-text {
  font-size: 16px;
  font-weight: 500;
}

.quiz-card__spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
  opacity: 0;
}
.quiz-card__spinner--dark {
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-bg);
}

@keyframes breatheBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.05);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-15px) rotate(-5deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* =========================================================================
 * CTA Pill Button (SCSS)
 * ========================================================================= */
.cta-pill {
  --border: 4px;
  --radius: 999px;
  --shadow-x: 0px;
  --shadow-y: 6px;
  --shadow-blur: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 45px;
  min-height: 110px;
  width: min(650px, 100%);
  text-decoration: none;
  color: #000;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff9c8 0%, #f4eaa5 38%, #f0dd74 100%);
  border: 6px solid #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 0 -5px #000000;
  position: relative;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Huninn";
  margin-top: -31px;
  /* 內框（雙層框感） */
}
.cta-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) - 6px);
  border: var(--box-border) solid rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: -1;
  background: transparent;
}
.cta-pill {
  /* 內部柔光 */
}
.cta-pill::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius) - 10px);
  background: radial-gradient(120% 120% at 50% 35%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: -1;
}
.cta-pill__text {
  line-height: 1;
  white-space: nowrap;
  font-weight: 900;
}
.cta-pill__icon {
  width: 20px;
}
.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px #000;
}
.cta-pill:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #000;
}

@media (max-width: 650px) {
  .cta-pill {
    padding: 18px 22px;
    gap: 14px;
    min-height: 74px;
    margin-top: -24px;
    border-width: 3px;
  }
}
@media (max-width: 425px) {
  .cta-pill {
    margin-top: -22px;
  }
}
/* 注意事項樣式 */
.note {
  font-size: 16px;
  color: #000000;
  padding: 1.5rem;
  line-height: 1.6;
  text-align: left;
  width: 100%;
  height: 100%;
  position: relative;
}
.note::before {
  content: "";
  position: absolute;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #fff7c4;
  z-index: -1;
  border-top: var(--box-border) solid #000000;
}

@media (max-width: 990px) {
  .note {
    font-size: 15px;
    padding-bottom: 180px;
  }
}
.mainBlock {
  overflow-x: hidden;
}

.mix_kv_rate_Area {
  position: relative;
  background: url(../img/kv_Bg.jpg) no-repeat center/cover;
}

.kv_section {
  position: relative;
  margin: 0 auto;
  background: url(../img/kv_hotBalloon.png) no-repeat right top 40%/16%, url(../img/kv_city.png) no-repeat calc(60% + 200px) bottom/60% auto;
  padding-top: 80px;
  padding-bottom: 5%;
}
@media (min-width: 576px) and (max-width: 820px) {
  .kv_section {
    background: url(../img/kv_city.png) no-repeat calc(60% + 100px) bottom/70% auto;
  }
}
@media (max-width: 576px) {
  .kv_section {
    background: url(../img/kv_hotBalloon.png) no-repeat right top 40%/16%, url(../img/kv_city_mb.png) no-repeat center bottom/100% auto;
  }
}
@media (max-width: 1600px) {
  .kv_section .container {
    max-width: 80%;
  }
}
@media (max-width: 1200px) {
  .kv_section .container {
    max-width: 90%;
  }
}
@media (max-width: 576px) {
  .kv_section .container {
    padding-left: 0;
    padding-right: 0;
  }
}
.kv_section .kvArea {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  width: 100%;
}
@media (max-width: 1200px) {
  .kv_section .kvArea {
    gap: 15px;
  }
}
@media (max-width: 576px) {
  .kv_section .kvArea {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.kv_section h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(22px, 4.8vw, 100px);
  font-style: italic;
  line-height: 120%;
  padding-right: 10px;
  font-weight: 400;
  background: linear-gradient(70deg, #1e8b84 35%, #32d2c8 50%, #1e8b84 65%);
  /* 背景放大，預留移動空間 */
  background-size: 200% auto;
  /* 剪裁背景到文字上 */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 動畫：讓光暈循環滑過 */
}
@media (max-width: 1200px) {
  .kv_section h1 {
    font-size: 70px;
  }
}
@media (max-width: 992px) {
  .kv_section h1 {
    font-size: clamp(40px, 7.2vw, 60px);
  }
}
@media (max-width: 576px) {
  .kv_section h1 {
    font-size: 45px;
  }
}
.kv_section h1 abbr {
  font-weight: 900;
}
.kv_section {
  /* 定義動畫：改變背景位置 */
}
@keyframes shine-flow {
  0% {
    background-position: 100% center;
  }
  100% {
    background-position: -100% center;
  }
}
.kv_section .kv_title {
  position: relative;
  margin-top: 27%;
}
@media (min-width: 1024px) and (max-height: 930px) {
  .kv_section .kv_title {
    transform: translateX(10%);
  }
}
@media (max-width: 576px) {
  .kv_section .kv_title {
    margin-top: 0;
    text-align: center;
  }
}
.kv_section .kv_slogin {
  color: #444;
  font-size: clamp(22px, 3.5vw, 32px);
  letter-spacing: 2px;
  margin: 30px 0 50px;
}
@media (min-width: 1024px) and (max-height: 930px) {
  .kv_section .kv_slogin {
    font-size: clamp(22px, 3.5vw, 24px);
  }
}
@media (max-width: 1440px) {
  .kv_section .kv_slogin {
    font-size: clamp(22px, 3.5vw, 24px);
  }
}
@media (max-width: 1200px) {
  .kv_section .kv_slogin {
    font-size: 22px;
  }
}
@media (max-width: 992px) {
  .kv_section .kv_slogin {
    font-size: 18px;
  }
}
@media (max-width: 576px) {
  .kv_section .kv_slogin {
    font-size: 16px;
    margin: 10px 0;
  }
}
.kv_section .kv_peopleArea {
  position: relative;
  z-index: 2;
  width: 80%;
  margin: 0 auto;
  margin-top: 20px;
}
@media (max-width: 1600px) {
  .kv_section .kv_peopleArea {
    width: 90%;
  }
}
@media (min-width: 1024px) and (max-height: 930px) {
  .kv_section .kv_peopleArea {
    width: 70%;
  }
}
@media (max-width: 1440px) {
  .kv_section .kv_peopleArea {
    font-size: clamp(22px, 3.5vw, 28px);
  }
}
@media (max-width: 1200px) {
  .kv_section .kv_peopleArea {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .kv_section .kv_peopleArea {
    width: 70%;
    margin-top: 0;
  }
}
.kv_section .kv_7day {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 0 14%;
}
@media (max-width: 1440px) {
  .kv_section .kv_7day {
    margin: 20px auto;
  }
}
@media (max-width: 1200px) {
  .kv_section .kv_7day {
    margin: 60px auto 20px;
  }
}
@media (max-width: 576px) {
  .kv_section .kv_7day {
    margin: 0 auto 20px;
  }
}
.kv_section .kv_rate {
  width: 100%;
  margin: 0 auto;
}
.kv_section .kv_people {
  width: 70%;
  padding: 0;
  overflow: hidden;
  position: relative;
  inset: 0;
  margin: -15vmin auto auto auto;
}
@media (max-width: 1600px) {
  .kv_section .kv_people {
    width: 65%;
    margin: -33vmin auto auto auto;
  }
}
@media (max-width: 1440px) {
  .kv_section .kv_people {
    margin: -20vmin auto auto auto;
  }
}
@media (min-width: 576px) and (max-width: 820px) {
  .kv_section .kv_people {
    margin-top: -20%;
    width: 200px;
  }
}
.kv_section .kv_people figure {
  width: 100%;
  margin: 0;
}
.kv_section .kv_people .kv_people {
  position: relative;
}
@keyframes dropThreeTimes {
  /* 第一次掉落 (0-20%) */
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  10% {
    transform: translateY(350px) rotate(0deg);
  }
  /* 撞擊 */
  14% {
    transform: translateY(200px) rotate(180deg);
  }
  /* 高跳+旋轉 */
  18% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
  /* 投入 */
  20% {
    opacity: 0;
  }
  /* 第二次掉落 (20-40%) */
  21% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  30% {
    transform: translateY(350px) rotate(0deg);
  }
  34% {
    transform: translateY(200px) rotate(180deg);
  }
  38% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  /* 第三次掉落 (40-60%) */
  41% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  50% {
    transform: translateY(350px) rotate(0deg);
  }
  54% {
    transform: translateY(200px) rotate(180deg);
  }
  58% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  /* 靜止 2 秒 */
  100% {
    opacity: 0;
  }
}
.kv_section .kv_people {
  /* 小豬受擊震動動畫 */
}
@keyframes pigShake {
  /* 在金幣撞擊的時間點（10%, 30%, 50%）進行震動 */
  0%, 9%, 11%, 29%, 31%, 49%, 51%, 100% {
    transform: scale(1);
  }
  10%, 30%, 50% {
    transform: scale(1.1) translateY(5px);
  }
}
.kv_section .kv_people .kv_piggyBank {
  position: absolute;
  left: 0%;
  bottom: 0;
  z-index: 4;
  width: 60%;
  animation: pigPulse 2s linear infinite;
  transform-origin: 55% 55%;
}
@keyframes pigPulse {
  0%, 50% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.2);
  }
  62%, 100% {
    transform: scale(1);
  }
}
.kv_section .kv_people .kv_coin {
  position: absolute;
  inset: -16% 0 0 -47%;
  margin: auto;
  width: 13%;
  aspect-ratio: 1/1;
  z-index: 3;
  will-change: transform, opacity;
  transform-origin: center center;
  --dropY: 35vh;
  animation: coinDropBouncy 2s linear infinite;
}
.kv_section .kv_people .kv_coin--2 {
  animation-delay: 1s;
}
.kv_section .kv_people .kv_coin img {
  width: 100%;
  display: block;
}
@keyframes coinDropBouncy {
  0% {
    transform: translate3d(0, -8vh, 0) scale(0.92);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  /* 快速下落 */
  30% {
    transform: translate3d(0, calc(var(--dropY) * 0.78), 0) scale(1);
    opacity: 1;
  }
  /* 活潑的「回彈」：稍微往上彈一下（仍然直線） */
  38% {
    transform: translate3d(0, calc(var(--dropY) * 0.7), 0) scale(0.98);
  }
  /* 再落回洞口上方 */
  48% {
    transform: translate3d(0, calc(var(--dropY) * 0.92), 0) scale(0.82);
    opacity: 1;
  }
  /* 進洞：縮小＋消失 */
  55% {
    transform: translate3d(0, var(--dropY), 0) scale(0.18);
    opacity: 0;
  }
  /* 空拍（節奏感） */
  100% {
    transform: translate3d(0, var(--dropY), 0) scale(0.18);
    opacity: 0;
  }
}
.kv_section .kv_circleArea {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 auto;
}
.kv_section .kv_circleArea .circle {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 99rem;
}
.kv_section .kv_circleArea .pinkCircle {
  background: #ff8e8c;
}
.kv_section .kv_circleArea .blueCircle {
  background: #51f2d2;
}
.kv_section .kv_circleArea .circle_1 {
  margin-left: -58%;
  bottom: 28%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_1 {
    width: 10px;
    height: 10px;
    bottom: -12%;
  }
}
.kv_section .kv_circleArea .circle_2 {
  width: 15px;
  height: 15px;
  margin-left: -63%;
  bottom: 2%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_2 {
    width: 8px;
    height: 8px;
    margin-left: -53%;
    bottom: 52%;
  }
}
.kv_section .kv_circleArea .circle_3 {
  width: 15px;
  height: 15px;
  margin-left: -25%;
  bottom: 25%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_3 {
    display: none;
  }
}
.kv_section .kv_circleArea .circle_4 {
  width: 10px;
  height: 10px;
  margin-left: -30%;
  bottom: -8%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_4 {
    display: none;
  }
}
.kv_section .kv_circleArea .circle_5 {
  width: 15px;
  height: 15px;
  margin-left: -70%;
  bottom: -44%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_5 {
    width: 5px;
    height: 5px;
    bottom: 26%;
  }
}
.kv_section .kv_circleArea .circle_6 {
  width: 15px;
  height: 15px;
  margin-left: 55%;
  bottom: 36%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_6 {
    width: 10px;
    height: 10px;
    bottom: auto;
    top: 2%;
  }
}
.kv_section .kv_circleArea .circle_7 {
  width: 20px;
  height: 20px;
  margin-left: 75%;
  bottom: 6%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_7 {
    width: 15px;
    height: 15px;
    bottom: 26%;
    margin-left: 65%;
  }
}
.kv_section .kv_circleArea .circle_8 {
  width: 10px;
  height: 10px;
  margin-left: 85%;
  bottom: 26%;
}
@media (max-width: 576px) {
  .kv_section .kv_circleArea .circle_8 {
    display: none;
  }
}
.kv_section .kv_point {
  /* 防呆：通知瀏覽器開啟 GPU 加速 */
  pointer-events: none;
  /* 防呆：防止圖片擋住下方按鈕的點擊事件 */
}

/* 8% 閃光動畫 */
.rate-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
}

.rate-mask {
  width: 100%;
  height: 100%;
  background: linear-gradient(319deg, rgb(21, 134, 126) 0%, rgb(43, 219, 208) 53%, rgb(21, 134, 126) 100%);
  /* 使用 webp 當遮罩 */
  -webkit-mask-image: url("../img/kv_rate.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("../img/kv_rate.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  position: relative;
  overflow: hidden;
}

/* 閃光層 */
.rate-mask::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 48%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6) 52%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-50%) translateY(-50%);
  animation: shineMove 6s ease-in-out infinite;
}

/* 左上 → 右下 滑動 */
@keyframes shineMove {
  0% {
    transform: translate(-80%, -80%);
  }
  100% {
    transform: translate(80%, 80%);
  }
}
.pre_rates_section {
  position: relative;
  padding: 60px 0;
}
@media (max-width: 576px) {
  .pre_rates_section {
    padding: 60px 0 30px;
  }
}
@media (min-width: 1024px) and (max-height: 930px) {
  .pre_rates_section .container {
    max-width: 85%;
  }
}
.pre_rates_section .pre_rates_Area {
  position: relative;
  display: grid;
  grid-template-columns: 33% auto;
}
@media (max-width: 1200px) {
  .pre_rates_section .pre_rates_Area {
    grid-template-columns: 1fr;
  }
}
.pre_rates_section .pre_rates_Area .pre_rates_people {
  width: 100%;
  position: relative;
  max-width: 330px;
}
.pre_rates_section .pre_rates_Area .rates_point {
  position: absolute;
  left: -10px;
  bottom: 15%;
  transform: translateY(-50%);
  will-change: transform;
  /* 防呆：通知瀏覽器開啟 GPU 加速 */
  pointer-events: none;
  /* 防呆：防止圖片擋住下方按鈕的點擊事件 */
}
.pre_rates_section .pre_rates_Area .people_item {
  display: flex;
  align-items: flex-end;
}
@media (max-width: 1200px) {
  .pre_rates_section .pre_rates_Area .people_item {
    display: none;
  }
}
.pre_rates_section .pre_rates_Area .brief_item .textList {
  list-style: none;
  color: #333;
  font-size: 24px;
  margin-top: 40px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .pre_rates_section .pre_rates_Area .brief_item .textList {
    margin-top: 20px;
    font-size: 18px;
  }
}
.pre_rates_section .pre_rates_Area .brief_item .textList li {
  display: grid;
  grid-template-columns: 15% auto;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 12px #C9EDE8 inset, 0px 12px 20px 5px rgba(186, 227, 222, 0.6784313725);
  border-radius: 45px;
  padding: 48px;
  border: 1px solid #fff;
  margin-bottom: 24px;
  line-height: 200%;
  gap: 15px;
}
@media (min-width: 1024px) and (max-height: 930px) {
  .pre_rates_section .pre_rates_Area .brief_item .textList li {
    padding: 30px;
  }
}
@media (max-width: 992px) {
  .pre_rates_section .pre_rates_Area .brief_item .textList li {
    padding: 48px 30px;
  }
}
@media (max-width: 860px) {
  .pre_rates_section .pre_rates_Area .brief_item .textList li {
    grid-template-columns: 18% auto;
  }
}
@media (max-width: 766px) {
  .pre_rates_section .pre_rates_Area .brief_item .textList li {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 25px;
    gap: 10px;
    line-height: 150%;
  }
}
.pre_rates_section .pre_rates_Area .brief_item .textList li .heading {
  color: #1da59b;
  text-align: center;
}
.pre_rates_section .remindTxt {
  font-size: clamp(16px, 1.528vw, 20px);
  line-height: 180%;
  text-align: center;
}
@media (max-width: 1400px) {
  .pre_rates_section .remindTxt {
    font-size: clamp(16px, 1.528vw, 18px);
  }
}
.pre_rates_section .noteTxt {
  font-size: clamp(16px, 1.528vw, 18px);
  color: #333;
  line-height: 180%;
  text-align: center;
}
@media (max-width: 1400px) {
  .pre_rates_section .noteTxt {
    font-size: clamp(16px, 1.528vw, 16px);
  }
}
.pre_rates_section .btnBlock {
  margin-top: 24px;
  text-align: center;
}

.prodject_section {
  position: relative;
  padding: 60px 0;
  background: url(../img/prodject_Bg.jpg) no-repeat center/cover;
}
.prodject_section .remindTxt {
  font-size: clamp(16px, 1.528vw, 20px);
  text-align: right;
  margin: 30px 0;
}
@media (max-width: 576px) {
  .prodject_section .remindTxt {
    font-size: 18px;
    margin: 20px 0;
  }
}
@media (max-width: 1600px) {
  .prodject_section .container {
    width: 100%;
    max-width: 85%;
    margin: 0 auto;
  }
}
.prodject_section .tab-container input[name=currency-tab] {
  display: none;
}
.prodject_section .tab-container .tab-buttons {
  display: none;
  gap: 5px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .prodject_section .tab-container .tab-buttons {
    margin-top: 20px;
  }
}
.prodject_section .tab-container .tab-buttons label {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  background: #999;
  color: white;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: background 0.3s;
}
@media (max-width: 600px) {
  .prodject_section .tab-container .tab-buttons label {
    padding: 10px 0;
    border-radius: 15px 15px 0 0;
  }
}
.prodject_section .tab-container .rate-table {
  display: grid;
  grid-template-columns: 180px 3fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 2px;
  color: #333;
  font-size: clamp(16px, 1.8vw, 26px);
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .prodject_section .tab-container .rate-table {
    grid-template-columns: 2fr 3fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}
.prodject_section .tab-container .rate-table .header {
  background: linear-gradient(0deg, rgb(34, 199, 189) 0%, rgb(14, 147, 137) 100%);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1200px) {
  .prodject_section .tab-container .rate-table .header {
    padding: 14px 10px;
  }
}
@media (max-width: 600px) {
  .prodject_section .tab-container .rate-table .header {
    padding: 8px 10px;
  }
}
.prodject_section .tab-container .rate-table .header:nth-child(2) {
  text-align: left;
  justify-content: flex-start;
}
.prodject_section .tab-container .rate-table .cell {
  background: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
@media (max-width: 1200px) {
  .prodject_section .tab-container .rate-table .cell {
    padding: 14px 10px;
  }
}
@media (max-width: 600px) {
  .prodject_section .tab-container .rate-table .cell {
    padding: 8px 10px;
  }
}
.prodject_section .tab-container .rate-table .range {
  justify-content: flex-start;
  text-align: left;
}
.prodject_section .tab-container .rate-table .icon-cell figure,
.prodject_section .tab-container .rate-table .icon-cell_one figure {
  margin-right: 15px;
}
.prodject_section .tab-container .rate-table .icon-cell figure img,
.prodject_section .tab-container .rate-table .icon-cell_one figure img {
  width: 30px;
}
.prodject_section .tab-container .rate-table .currency-group {
  display: contents;
}
@media (max-width: 600px) {
  .prodject_section .tab-container .rate-table .currency-group {
    display: none;
  }
}
.prodject_section .tab-container .rate-table .icon-cell {
  grid-row: span 2;
}
@media (max-width: 992px) {
  .prodject_section .tab-container .tab-buttons {
    display: flex;
    border-bottom: 3px solid #1DA59B;
  }
  .prodject_section .tab-container #tab-usd:checked ~ .tab-buttons label[for=tab-usd],
  .prodject_section .tab-container #tab-aud:checked ~ .tab-buttons label[for=tab-aud],
  .prodject_section .tab-container #tab-eur:checked ~ .tab-buttons label[for=tab-eur],
  .prodject_section .tab-container #tab-jpy:checked ~ .tab-buttons label[for=tab-jpy] {
    background: #1da59b;
  }
  .prodject_section .tab-container .rate-table {
    display: block;
    border-top: none;
  }
  .prodject_section .tab-container .rate-table .header {
    display: none;
  }
  .prodject_section .tab-container .rate-table .header:first-child {
    display: block;
  }
  .prodject_section .tab-container .currency-group {
    display: none;
    grid-template-columns: 1fr 2fr;
    gap: 5px;
  }
  .prodject_section .tab-container .currency-group .icon-cell,
  .prodject_section .tab-container .currency-group .icon-cell_one {
    grid-column: span 2;
    grid-row: auto;
  }
  .prodject_section .tab-container .currency-group .range {
    grid-column: span 2;
    font-weight: bold;
    justify-content: center;
  }
  .prodject_section .tab-container .currency-group .val {
    grid-column: span 2;
    display: flex;
    padding: 0;
    background: transparent;
  }
  .prodject_section .tab-container .currency-group .val::before {
    content: attr(data-label);
    background: #AFFFEE;
    color: #1da59b;
    padding: 8px 15px;
    width: 25%;
    font-weight: 600;
    border-radius: 8px;
  }
  .prodject_section .tab-container .currency-group .val span {
    width: 75%;
    padding: 8px 15px;
    background: #fff;
    border-radius: 8px;
  }
  .prodject_section .tab-container #tab-usd:checked ~ .rate-table .usd-content,
  .prodject_section .tab-container #tab-aud:checked ~ .rate-table .aud-content,
  .prodject_section .tab-container #tab-eur:checked ~ .rate-table .eur-content,
  .prodject_section .tab-container #tab-jpy:checked ~ .rate-table .jpy-content {
    display: grid;
  }
  .prodject_section .tab-container .usd-content .range ~ .range {
    margin-top: 10px;
  }
}
.prodject_section .tableTxt {
  font-size: clamp(16px, 1.528vw, 20px);
}
.prodject_section .iconList {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 36px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 150%;
  margin: 100px auto 60px;
}
@media (max-width: 1440px) {
  .prodject_section .iconList {
    font-size: 30px;
    width: 100%;
    max-width: 80%;
  }
}
@media (max-width: 1200px) {
  .prodject_section .iconList {
    max-width: 100%;
  }
}
@media (max-width: 860px) {
  .prodject_section .iconList {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .prodject_section .iconList {
    grid-template-columns: 1fr;
    margin: 50px 0 0;
    gap: 30px;
    font-size: 22px;
  }
}
.prodject_section .iconList figure {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .prodject_section .iconList figure {
    max-width: 250px;
  }
}
@media (max-width: 600px) {
  .prodject_section .iconList figure {
    max-width: 180px;
  }
}
.prodject_section .iconList abbr {
  color: #1da59b;
  font-size: 60px;
  font-weight: 900;
}
@media (max-width: 1440px) {
  .prodject_section .iconList abbr {
    font-size: 50px;
  }
}
@media (max-width: 860px) {
  .prodject_section .iconList abbr {
    font-size: 40px;
  }
}
@media (max-width: 600px) {
  .prodject_section .iconList abbr {
    font-size: 36px;
  }
}
.prodject_section .iconList p {
  margin-top: 30px;
}
@media (max-width: 600px) {
  .prodject_section .iconList p {
    margin-top: 10px;
  }
}

.step_section {
  position: relative;
  padding: 150px 0 17%;
}
@media (max-width: 576px) {
  .step_section {
    padding: 70px 0 80px;
  }
}
.step_section .curve {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  width: 120%;
  margin-left: -10%;
  margin-right: 10%;
  border-radius: 200vh 200vh 0% 0%/70vh 70vh 0% 0%;
  -webkit-border-radius: 200vh 200vh 0% 0%/70vh 70vh 0% 0%;
  z-index: 1;
  background: linear-gradient(90deg, rgb(33, 146, 137) 0%, rgb(76, 214, 205) 100%);
  min-height: 100%;
  z-index: 0;
}
.step_section .container {
  position: relative;
}
@media (max-width: 400px) {
  .step_section .container {
    max-width: 100%;
  }
}
.step_section .sectionTitle.h2 {
  color: #fff;
}
.step_section .tab-container-step {
  margin-top: 60px;
}
.step_section .tab-container-step .tab-header {
  display: flex;
  justify-content: center;
  gap: 15px;
  border-bottom: 3px solid #ffffff;
  font-size: 28px;
  font-weight: 600;
}
@media (max-width: 576px) {
  .step_section .tab-container-step .tab-header {
    gap: 5px;
  }
}
.step_section .tab-container-step .tab-header .tab-btn {
  padding: 20px 40px;
  cursor: pointer;
  color: #ffffff;
  border-radius: 35px 35px 0 0;
  background: #0e958b;
}
@media (max-width: 576px) {
  .step_section .tab-container-step .tab-header .tab-btn {
    padding: 15px 20px;
    border-radius: 25px 25px 0 0;
    font-size: 22px;
    width: 50%;
  }
}
.step_section .tab-container-step .tab-header .tab-btn.active {
  background: #ffffff;
  color: #1a9688;
}
.step_section .tab-container-step .tab-content-wrapper {
  padding: 25px 10px;
  color: #ffffff;
}
.step_section .tab-container-step .tab-content-wrapper .tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.step_section .tab-container-step .tab-content-wrapper .tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.step_section .swiper {
  position: relative;
  padding-bottom: 60px;
}
.step_section .swiper .swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  cursor: pointer;
}
.step_section .swiper .swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
  width: 14px;
  height: 14px;
  margin: 0 10px;
  display: inline-block;
  border-radius: 99rem;
}
@media (max-width: 576px) {
  .step_section .swiper .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
  }
}
.step_section .swiper .swiper-pagination .swiper-pagination-bullet-active {
  background: #EDAE5C !important;
}
.step_section .appSwiper {
  position: relative;
  border-bottom: 3px solid #fff;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 1280px) {
  .step_section .appSwiper {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .step_section .appSwiper {
    padding-bottom: 0px;
  }
}
.step_section .appSwiper .item {
  text-align: center;
}
@media (max-width: 576px) {
  .step_section .appSwiper .item {
    display: flex;
    flex-direction: column;
  }
}
.step_section .appSwiper .item figure {
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .step_section .appSwiper .item figure {
    max-width: 75%;
    order: 2;
  }
}
.step_section .appSwiper .item figure img {
  text-align: center;
  margin: 0 auto;
}
.step_section .appSwiper .itemMany figure {
  margin-left: 50px;
}
@media (max-width: 576px) {
  .step_section .appSwiper .itemMany figure {
    margin-left: auto;
  }
}
.step_section .appSwiper .itemMany .txt {
  left: 50%;
  width: 100%;
  margin-left: 55%;
}
@media (max-width: 576px) {
  .step_section .appSwiper .itemMany .txt {
    position: relative;
    left: 0;
    margin-left: 0;
  }
}
.step_section .appSwiper .itemMany2-2 .txt {
  opacity: 0;
}
@media (max-width: 576px) {
  .step_section .appSwiper .itemMany2-2 .txt {
    opacity: 1;
  }
}
.step_section .onlineBankSwiper {
  position: relative;
  border-bottom: 3px solid #fff;
  padding-bottom: 80px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 576px) {
  .step_section .onlineBankSwiper {
    padding-bottom: 50px;
  }
}
.step_section .onlineBankSwiper figure {
  width: 100%;
  max-width: 75%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 576px) {
  .step_section .onlineBankSwiper figure {
    max-width: 100%;
    order: 2;
    border-radius: 10px;
  }
}
.step_section .onlineBankSwiper .item {
  text-align: center;
}
@media (max-width: 576px) {
  .step_section .onlineBankSwiper .item {
    display: flex;
    flex-direction: column;
  }
}
.step_section .txt {
  text-align: center;
}
.step_section .txt .num {
  font-size: 32px;
  font-weight: 900;
  margin: 30px 0;
}
@media (max-width: 1200px) {
  .step_section .txt .num {
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  .step_section .txt .num {
    order: 2;
    margin-top: 0;
    margin-bottom: 20px;
  }
}
.step_section .txt .num abbr {
  font-size: 40px;
}
@media (max-width: 1200px) {
  .step_section .txt .num abbr {
    font-size: 34px;
  }
}
.step_section .txt p {
  font-size: 24px;
  margin-bottom: 30px;
}
@media (max-width: 1200px) {
  .step_section .txt p {
    font-size: 18px;
  }
}
@media (max-width: 860px) {
  .step_section .txt p {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .step_section .txt p {
    display: none;
  }
}
.step_section .btnBlock {
  position: relative;
  margin: 0 auto;
  text-align: center;
  margin-top: 40px;
}
@media (max-width: 576px) {
  .step_section .btnBlock {
    margin-top: 30px;
  }
}
.step_section .dialogBox {
  position: absolute;
  right: 0;
  top: -70px;
  width: 100%;
  max-width: 240px;
  transform: translateX(-50%);
  left: 70%;
}
@media (max-width: 576px) {
  .step_section .dialogBox {
    position: relative;
    left: 24%;
    right: 0;
    top: 0;
    margin: 0 auto;
    max-width: 180px;
    margin-bottom: 20px;
  }
}

.note_section {
  position: relative;
  padding-bottom: 60px;
  background: #dcdcdc;
}
.note_section ol > li, .note_section ul > li {
  padding: 0 0 10px 0;
}
.note_section ol > li ul li, .note_section ul > li ul li {
  text-indent: -2em;
  margin-left: 2em;
}
.note_section ol > li ul li ul li, .note_section ul > li ul li ul li {
  text-indent: 0;
  margin-left: 0;
}
@media (max-width: 576px) {
  .note_section {
    padding-bottom: 10px;
  }
}
.note_section .curve_note {
  position: absolute;
  left: 0;
  right: 0;
  top: -200px;
  text-align: center;
  width: 120%;
  margin-left: -10%;
  margin-right: 10%;
  border-radius: 200vh 200vh 0% 0%/50vh 50vh 0% 0%;
  -webkit-border-radius: 200vh 200vh 0% 0%/50vh 50vh 0% 0%;
  z-index: 1;
  background: #dcdcdc;
  min-height: 100%;
  z-index: 0;
}
@media (max-width: 1440px) {
  .note_section .curve_note {
    top: -140px;
  }
}
@media (max-width: 1200px) {
  .note_section .curve_note {
    top: -110px;
  }
}
@media (max-width: 576px) {
  .note_section .curve_note {
    top: -40px;
  }
}
.note_section .decimal {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin: 30px auto;
  font-size: 20px;
}
@media (max-width: 576px) {
  .note_section .decimal {
    font-size: 16px;
  }
}
.note_section {
  /* 隱藏第 6 個以後的 li */
}
.note_section .decimal > li:nth-child(n+6) {
  display: none;
}
.note_section {
  /* 當 active 類別存在時，顯示所有 li */
}
.note_section .decimal.active > li:nth-child(n+6) {
  display: list-item;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 防止瀏覽器原生跳轉時產生的位移衝突 */
:target {
  scroll-margin-top: 100vh;
  /* 先把目標推到螢幕外 */
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans TC";
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Custom styles for section dividers or specific elements */
.section-divider {
  height: 2px;
  background: black;
  width: 100%;
}

.ft-green-1 {
  color: #0c9e5b;
}

.ft-red-1 {
  color: #EA2727;
}

.ft-red-2 {
  color: #f00;
}

.container {
  width: 100%;
  max-width: 1400px;
}
@media (max-width: 1440px) {
  .container {
    max-width: 90%;
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 95%;
  }
}

.sectionTitle {
  position: relative;
  text-align: center;
  z-index: 2;
  color: #333;
}
.sectionTitle.h2 {
  font-size: 56px;
  font-weight: 600;
}
@media (max-width: 1280px) {
  .sectionTitle.h2 {
    font-size: 50px;
  }
}
@media (max-width: 576px) {
  .sectionTitle.h2 {
    font-size: 24px;
  }
}
.sectionTitle.h2 span {
  color: #1da59b;
}
.sectionTitle.h3 {
  font-size: 40px;
  letter-spacing: 10px;
}
@media (max-width: 576px) {
  .sectionTitle.h3 {
    font-size: 28px;
    letter-spacing: 4px;
  }
}

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

.decimal {
  padding: 0;
  margin: 0;
  list-style-type: decimal;
}
.decimal > li {
  padding: 0 0 15px 0;
  margin-left: 20px;
}

.dotList {
  padding: 0;
  margin: 0;
  list-style-type: disc;
}
.dotList > li {
  padding: 0 0 10px 0;
  margin-left: 20px;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.btn {
  position: relative;
  display: inline-block;
  font-size: 26px;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(rgb(255, 148, 148) 0%, rgb(241, 26, 26) 100%);
  padding: 15px 0;
  min-width: 220px;
  text-align: center;
  border-radius: 99rem;
  box-shadow: 0 10px 7px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}
@media (max-width: 576px) {
  .btn {
    font-size: 20px;
    padding: 12px 0;
    min-width: 160px;
  }
}
.btn:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.btn-yellow {
  position: relative;
  display: block;
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(0deg, rgb(245, 232, 152) 0%, rgb(253, 246, 202) 60%);
  padding: 15px 0;
  min-width: 400px;
  text-align: center;
  border-radius: 99rem;
  box-shadow: 0 0 0 4px #000, 0 0px 0 8px #fff, 0 15px 4px #000;
  transition: transform 0.25s ease;
}
@media (min-width: 1024px) and (max-height: 930px) {
  .btn-yellow {
    font-size: 28px;
    min-width: 352px;
  }
}
@media (max-width: 1680px) {
  .btn-yellow {
    font-size: 28px;
  }
}
@media (max-width: 860px) {
  .btn-yellow {
    min-width: 350px;
  }
}
@media (max-width: 576px) {
  .btn-yellow {
    font-size: 22px;
    min-width: 70%;
    box-shadow: 0 0 0 3px #000, 0 0px 0 6px #fff, 0 10px 4px #000;
    padding: 10px 0;
  }
}
.btn-yellow span {
  position: relative;
  padding-right: 40px;
}
@media (max-width: 576px) {
  .btn-yellow span {
    padding-right: 30px;
  }
}
.btn-yellow span::before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto 0;
  width: 24px;
  height: 21px;
  background: url(../img/arrow_black.png) no-repeat center/100%;
}
@media (max-width: 576px) {
  .btn-yellow span::before {
    width: 18px;
    height: 16px;
  }
}
.btn-yellow:hover {
  box-shadow: 0 0 0 4px #000, 0 0px 0 8px #fff;
  transform: translateY(5px);
}

.btn_animate {
  position: relative;
  border-radius: 99rem;
  display: inline-block;
  overflow: hidden;
}
.btn_animate::before {
  content: "";
  display: inline-block;
  width: 100%;
  padding: 50px 20px;
  opacity: 1;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transform-origin: center center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  animation-delay: 1s;
  animation-name: mask-ani;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  transform: rotate(-36deg) translate(0px, -300px);
}

@keyframes mask-ani {
  0% {
    transform: rotate(-36deg) translate(0px, -300px);
  }
  70%, 100% {
    transform: rotate(-36deg) translate(0px, 200px);
  }
}
.sideBarArea {
  position: fixed;
  top: 50%;
  right: -2px;
  font-size: 20px;
  z-index: 88;
}
@media (max-width: 768px) {
  .sideBarArea {
    transform: scale(0.8) translateX(10px);
  }
}
@media (max-width: 768px) {
  .sideBarArea {
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    margin: 0 auto;
    font-size: 20px;
    transform: none;
  }
}
@media (max-width: 768px) {
  .sideBarArea .sideBarList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
  }
}
.sideBarArea .sideBarList li {
  position: relative;
  background: linear-gradient(90deg, rgb(43, 219, 208) 0%, rgb(21, 134, 126) 100%);
  color: #fff;
  font-weight: 400;
  padding: 1rem 1.15rem;
  list-style: none;
  border-radius: 24px 0 0 24px;
  border: 2px solid #fff;
  box-shadow: 0px 0px 25px rgba(83, 160, 150, 0.6);
  margin-bottom: 8px;
  transition: transform 0.25s ease;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .sideBarArea .sideBarList li {
    order: 2;
    border: 0;
    border-radius: 0;
    text-align: center;
    margin-bottom: 0;
    padding: 20px 0;
    box-shadow: 0 -8px 20px rgba(41, 161, 153, 0.3);
    background: linear-gradient(0deg, rgb(10, 169, 161) 0%, rgb(56, 209, 180) 100%);
  }
}
.sideBarArea .sideBarList li:last-child {
  order: 1;
  background: linear-gradient(0deg, rgb(243, 33, 33) 0%, rgb(255, 148, 148) 100%);
}
.sideBarArea .sideBarList li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
}
@media (max-width: 768px) {
  .sideBarArea .sideBarList li a br {
    display: none;
  }
  .sideBarArea .sideBarList li a::after {
    content: "";
    width: 25px;
    height: 25px;
    display: inline-block;
    background: url(../img/arrow_topRight.png) no-repeat center center/100%;
    margin-left: 10px;
  }
}
/*# sourceMappingURL=app.css.map */
