@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: #87877f;
  background: #f1f1f1;
  font-family: Arial, "Microsoft JhengHei", sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #07627a;
  outline-offset: 4px;
}

.section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.section-bg {
  position: relative;
}

.responsive-picture {
  display: contents;
}

.section-art {
  position: absolute;
  inset: 0;
}

/* 保留 hidden 的隱藏效果，避免 reset 的 section display 規則覆寫。 */
#s03[hidden],
#s10[hidden] {
  display: none !important;
}

#s03 .btn-game {
  bottom: 5.85%;
}

#s03 .btn-game img {
  opacity: 0;
}

.kv_w {
  position: relative;
  isolation: isolate;
}

.kv_box {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1920 / 960;
  background: #000;
}

.kv_box video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv-logo {
  position: absolute;
  z-index: 3;
  left: 2.34375%;
  top: 2.91667%;
  width: 8.02083%;
  height: 6.15%;
}

.kv-menu {
  position: absolute;
  z-index: 5;
  right: 1.875%;
  top: 2.91667%;
  width: 2.8125%;
  height: 3%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kv-buy {
  position: fixed;
  z-index: 10;
  right: 1.35417%;
  bottom: 2.8125%;
  width: 9.0625%;
  height: auto;
  animation: kv-buy-float 2.5s ease-in-out infinite;
}

.go-top {
  position: fixed;
  z-index: 11;
  left: 20px;
  bottom: 2.8125%;
  display: block;
  width: 51px;
  border-radius: 50%;
}

.go-top[hidden] {
  display: none;
}

.go-top:hover {
  opacity: .8;
}

@keyframes kv-buy-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

#site-nav {
  position: absolute;
  z-index: 20;
  right: 1.5%;
  top: 4vw;
  width: 10%;
  min-width: 180px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #eaaa20;
  border-radius: 8px;
  box-shadow: 0 8px 24px #0003;
}

#site-nav[hidden] {
  display: none;
}

#site-nav a {
  display: block;
  white-space: nowrap;
  padding: 12px 8px;
  color: #5c5b53;
  text-decoration: none;
}

#site-nav a+a {
  border-top: 1px solid #d5d5d5;
}

#site-nav a:hover {
  color: #edab22;
}

.flight-schedule {
  position: absolute;
  width: 37.5%;
  left: 31.25%;
  bottom: 3%;
  height: auto;
}

.carousel {
  position: absolute;
  top: 48%;
  width: 74.479167%;
  z-index: 1;
}

.image-left .carousel {
  left: 14.427083%;
}

.image-right .carousel {
  left: 13.072917%;
}

#s04 .carousel {
  top: 48.046181%;
}

#s05 .carousel {
  top: 48.088889%;
}

#s06 .carousel {
  top: 48.00355%;
}

#s07 .carousel,
#s10 .carousel {
  top: 47.382431%;
}

.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
}

.slide-art {
  aspect-ratio: 1430 / 444;
}

.photo-slide {
  aspect-ratio: 1430 / 444;
}

.photo-slide .slide-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 56.573427%;
  height: 100%;
  object-fit: contain;
}

.photo-slide-heading {
  position: absolute;
  inset: 0;
}

.photo-slide-heading h3,
.photo-slide-heading p {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  isolation: isolate;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.photo-slide-heading h3 {
  top: 6.531532%;
  left: 27.867133%;
  width: 19.86014%;
  height: 12.837838%;
  color: #fff;
  font-size: 2.5vw;
}

.photo-slide-heading p {
  top: 19.144144%;
  left: 8.811189%;
  width: 34.685315%;
  height: 14.414414%;
  color: #eaa323;
  font-size: 1.875vw;
  letter-spacing: .06em;
}

.photo-slide-heading h3::before,
.photo-slide-heading p::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: skewX(-45deg);
  background: #edaa21;
}

.photo-slide-heading p::before {
  background: #fff;
  border: 1px solid #edaa21;
}

.image-left .photo-slide .slide-photo {
  left: 0;
  right: auto;
}

.css-title-slide .photo-slide-heading h3,
.css-title-slide .photo-slide-heading p {
  width: max-content;
  padding: 0 1.3vw;
}

.css-title-slide .photo-slide-heading h3 {
  font-size: 2.083333vw;
}

.css-title-slide .photo-slide-heading p {
  font-size: 1.5625vw;
}

.image-left .css-title-slide .photo-slide-heading h3 {
  left: 52%;
  right: auto;
}

.image-left .css-title-slide .photo-slide-heading p {
  left: 56%;
  right: auto;
}

.image-left .css-title-slide .photo-slide-heading h3::before,
.image-left .css-title-slide .photo-slide-heading p::before {
  transform: skewX(45deg);
}

.image-right .css-title-slide .photo-slide-heading h3 {
  left: auto;
  right: 52%;
}

.image-right .css-title-slide .photo-slide-heading p {
  left: auto;
  right: 56%;
}

.slide-copy {
  position: absolute;
  top: 36.5%;
  width: 41.96%;
  font-size: 1.25vw;
  line-height: 1.6;
  letter-spacing: .06em;
}

.image-right .slide-copy {
  left: 0;
}

.image-left .slide-copy {
  right: 0;
}

.slide-copy p {
  margin: 0;
}

.slide-copy .season {
  color: #edae33;
  margin-top: .15em;
}

.slide-copy .slide-taxi {
  width: 14.947917vw;
  max-width: 100%;
  height: auto;
  margin: 1.5625vw 0 0;
}

.carousel:has(.slide-taxi) .swiper {
  padding-bottom: 3.5vw;
}

.carousel-pagination {
  position: absolute;
  z-index: 2;
  bottom: 0 !important;
  display: flex;
  gap: 1.35vw;
  align-items: center;
  width: max-content !important;
}

.image-left .carousel-pagination {
  left: 59.02%;
}

.image-right .carousel-pagination {
  left: auto;
  right: 59.02%;
}

.carousel-pagination .swiper-pagination-bullet {
  display: block;
  flex: 0 0 auto;
  width: 1.041667vw;
  height: 1.041667vw;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #e9a51c;
  opacity: .6;
  cursor: pointer;
}

.carousel-pagination .swiper-pagination-bullet-active {
  background: #eea600;
  opacity: 1;
}

.custom-slide {
  aspect-ratio: 1430 / 444;
}

.slide-ribbon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}

.custom-slide .slide-art {
  width: 56.503497%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 808 / 444;
}

.slide-heading {
  position: absolute;
  top: 5%;
  right: 0;
  width: 42%;
}

.slide-heading h3 {
  display: table;
  margin: 0;
  padding: .03em 1em;
  color: white;
  background: #edaa21;
  font-size: 2.083333vw;
  line-height: 1.2;
}

.slide-heading p {
  display: table;
  margin: 0;
  padding: .05em .65em;
  color: #eaa323;
  background: white;
  border: 1px solid #edb544;
  font-size: 1.5625vw;
  font-weight: 700;
  line-height: 1.2;
}

.traffic-heading {
  position: absolute;
  top: 4.75%;
  left: 35.286458%;
  width: 29.427083%;
  height: auto;
}

.traffic-cards {
  position: absolute;
  top: 21.5%;
  left: 13.072917%;
  width: 77.552083%;
  overflow: visible;
}

.traffic-wrapper {
  display: flex;
  gap: 1.041667vw;
}

.traffic-pagination {
  display: none;
}

.traffic-card {
  position: relative;
  flex: 1;
  min-width: 0;
}

.traffic-card .recommend {
  position: absolute;
  width: 19.047619%;
  top: 9.25%;
  left: -3.3%;
}

.download {
  position: absolute;
  width: 37.26708%;
  left: 31.36646%;
  bottom: 5.3%;
}

.taxi-heading {
  position: absolute;
  width: 32.760417%;
  left: 33.619792%;
  top: 3.25%;
}

.taxi-cards {
  position: absolute;
  width: 51.354167%;
  left: 24.322917%;
  top: 46%;
}

.taxi-wrapper {
  display: flex;
  gap: 1.041667vw;
}

.taxi-pagination {
  display: none;
}

.taxi-cards article {
  position: relative;
  flex: 1;
  min-width: 0;
}

.taxi-download {
  padding: 0;
  border: 0;
  background: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  #site-nav {
    width: 24%;
    min-width: 200px;
    max-width: 280px;
  }
}

@media (max-width: 767px) {
  .kv-menu {
    width: 8%;
  }

  .kv-logo {
    width: 16%;
  }

  .go-top {
    left: 12px;
    width: 44px;
  }

  #site-nav {
    position: fixed;
    z-index: 20;
    top: 12vw;
    right: auto;
    left: 50%;
    width: 90%;
    min-width: 0;
    max-width: none;
    max-height: 82vh;
    padding: 10px 20px;
    overflow-y: auto;
    transform: translateX(-50%);
  }

  #site-nav a {
    padding: 14px 8px;
    font-size: 18px;
    font-weight: 700;
  }

  .flight-schedule {
    left: 5%;
    width: 90%;
    bottom: 3%;
    transform: none;
  }

  .kv-buy {
    right: 0.5%;
    width: 19%;
  }

  #s09 {
    min-height: 185.185185vw;
    padding: 74vw 0 32px;
    background: #a6d2d9;
  }

  #s09 .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: auto;
  }

  #s09 .taxi-heading {
    position: absolute;
    top: 6vw;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    max-width: 440px;
    margin: 0;
  }

  #s09 .taxi-cards {
    position: relative;
    inset: auto;
    width: 86%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
  }

  #s09 .taxi-wrapper {
    gap: 0;
  }

  #s09 .taxi-cards article {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-width: 0;
  }

  #s09 .taxi-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  #s09 .taxi-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    background: #e9a51c;
    opacity: .5;
    cursor: pointer;
  }

  #s09 .taxi-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }

  #s08 {
    padding: 32px 0;
    background: #e5e3dc;
  }

  #s08 .section-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }

  #s08 .traffic-heading {
    position: relative;
    inset: auto;
    width: 86%;
    max-width: 420px;
    margin: 0 auto 20px;
  }

  #s08 .traffic-cards {
    position: relative;
    inset: auto;
    width: 86%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
  }

  #s08 .traffic-wrapper {
    gap: 0;
  }

  #s08 .traffic-card {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }

  #s08 .traffic-card .recommend {
    left: 0;
  }

  #s08 .traffic-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  #s08 .traffic-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    background: #e9a51c;
    opacity: .5;
    cursor: pointer;
  }

  #s08 .traffic-pagination .swiper-pagination-bullet-active {
    opacity: 1;
  }

  .carousel-section {
    padding: 0 0 32px;
  }

  #s07.carousel-section,
  #s10.carousel-section {
    padding-top: 0;
  }

  .carousel-section>.section-bg,
  .carousel-section .section-art {
    position: absolute;
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
  }

  .carousel-section .responsive-picture .section-art {
    position: relative;
    inset: auto;
  }

  #s04 .carousel,
  #s05 .carousel,
  #s06 .carousel,
  #s07 .carousel,
  #s10 .carousel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 90%;
    margin: 0 auto;
  }

  .carousel-section .swiper-wrapper {
    align-items: stretch;
  }

  .carousel-section .photo-slide {
    height: auto;
    aspect-ratio: auto;
  }

  .carousel-section .photo-slide .slide-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 809 / 444;
  }

  .carousel-section .photo-slide-heading {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 8px;
  }

  .carousel-section .photo-slide .photo-slide-heading h3,
  .carousel-section .photo-slide .photo-slide-heading p {
    position: relative;
    inset: auto;
    width: max-content;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 6px 32px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .carousel-section .photo-slide .photo-slide-heading h3 {
    font-size: clamp(22px, 6vw, 40px);
  }

  .carousel-section .photo-slide .photo-slide-heading p {
    align-self: flex-start;
    width: 91%;
    padding: 8px 25px;
    font-size: clamp(16px, 4.4vw, 28px);
    letter-spacing: .02em;
  }

  .carousel-section .photo-slide .photo-slide-heading h3::before,
  .carousel-section .photo-slide .photo-slide-heading p::before {
    transform: none;
    border: 0;
    background: #edaa21;
    clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }

  .carousel-section .photo-slide .photo-slide-heading p::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    background: #fff;
    clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }

  .carousel-section .slide-copy {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: .04em;
  }

  .carousel-section .slide-copy .season {
    margin-top: 8px;
  }

  .carousel-section .slide-copy .slide-taxi {
    width: 220px;
    max-width: 100%;
    margin-top: 16px;
  }

  .carousel-section .carousel:has(.slide-taxi) .swiper {
    padding-bottom: 0;
  }

  .carousel-section .carousel-pagination {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto !important;
    justify-content: center;
    gap: 12px;
    margin: 24px auto 0;
  }

  .carousel-section .carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

.yt_box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  /* padding-bottom: 5%; */
}

.vidbacking {
  display: block;
}

.video-back {
  display: block;
  text-align: center;
}

.video-back img {
  width: 100%;
  height: auto;
}

img.vediobg_img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  z-index: -101;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#background-video > .ytplayer-container > iframe {
  top: 0 !important;
  z-index: -1;
}

.yt_box img {
  position: relative;
  z-index: 2;
}

/* PNG 作為比例容器，由圖片本身決定高度。 */
.placeholder-image {
  z-index: 100;
  top: 0;
  width: 100%;
  height: auto;
  display: block;
}

/* YouTube API 建立的 iframe 鋪滿背景容器。 */
.yt_box iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* pointer-events: none; */
  z-index: -1;
}

@media (max-width: 767px) {
  .ytplayer-player {
    top: 0 !important;
  }
}

/* 主視覺 YouTube：桌機與手機互斥，覆寫共用影片背景樣式。 */
.kv_w .kv_box { overflow: hidden; }
.kv_w .kv_box.pc { display: block; aspect-ratio: 2 / 1; }
.kv_w .kv_box.mob { display: none; aspect-ratio: 1080 / 1350; }
.kv_w .yt_box { width: 100%; height: 100%; margin: 0; }
.kv_w .yt_box iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}
/* 桌機影片 1920 × 1210，滿寬靠底，容器 1920 × 960 裁掉上方。 */
.kv_w .pc .yt_box iframe {
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 126.041667%;
  transform: none;
}
/* 手機影片 1080 × 1600，滿寬靠底，容器裁掉上方超出部分。 */
.kv_w .mob .yt_box iframe {
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 118.518519%;
  transform: none;
}

.kv_w .yt_box .placeholder-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}
.kv_w .yt_box.is-playing .placeholder-image { visibility: hidden; }
@media (max-width: 767px) {
  .kv_w .kv_box.pc { display: none; }
  .kv_w .kv_box.mob { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .kv-buy {
    animation: none;
  }
}
