@charset "UTF-8";
/* =========================================================
   台灣高鐵 2026 ITF 旅展頁 - N700ST 新車假期
   ========================================================= */

:root {
  --main500: #e76c00;
  --main700: #db5009;
  --txt: #333;
  --page-padding: 40px;
  --container-padding: 80px;
  --header-h: 90px;
  --kv-scale: 1;
  --ff-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --ff-serif: 'Noto Serif TC', 'PMingLiU', serif;
  --ff-num: 'Montserrat', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--ff-sans); color: var(--txt); background: #fff; line-height: 1.5; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: top; border: 0; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
.sp { display: none; }
.show-md{display: none;}

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--page-padding); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 500px; font-weight: 700; font-size: 16px; line-height: normal;
  white-space: nowrap; transition: opacity .2s, background-color .2s, border-color .2s, color .2s;
}
.btn img { width: 13px; height: 19px; }
.btn-primary { background: var(--main700); color: #fff; border: 1px solid var(--main700); }
.btn-outline { background: #fff; color: var(--main700); border: 1px solid var(--main700); }
.btn-dark { background: var(--txt); color: #fff; }
.btn-sm { padding: 8px 15px; font-size: 15px; }
.btn:hover { opacity: .85; }
.btn-dark:hover { opacity: 1; background: #000; }
/* 橘色系按鈕 hover：不變透明，改為顏色加深 */
.btn-primary:hover { opacity: 1; background: #a83a00; border-color: #a83a00; }
.btn-outline:hover { opacity: 1; background: #fdeee3; color: #a83a00; border-color: #a83a00; }
.area-btn { display: flex; justify-content: center; }

/* ---------- common titles ---------- */
.tit-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tit-sub { font-weight: 700; font-size: 22px; letter-spacing: .2em; line-height: normal; }
.tit-main { font-family: var(--ff-serif); font-weight: 700; font-size: 56px; line-height: 66px; }
.tit-main em { color: var(--main700); }
.tit-desc { margin-top: 5px; font-size: 18px; color: #555; line-height: normal; }
.tit-orange { color: var(--main700); }

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; justify-content: center; padding: 3px 10px; border-radius: 500px;
  font-weight: 800; font-size: 13px; letter-spacing: .05em; line-height: normal; color: #fff; white-space: nowrap;
}
.tag-area { background: var(--main500); }
.tag-star { background: #c5a04a; }
.tag-chain { background: #516ead; }
.tag-white { background: #fff; color: var(--main700); }
.tag-dark { background: var(--txt); }

.border-gold { position: relative; z-index: 1; height: 15px; background: #c9a14e url(../img/border-gold.png) center top / auto 15px repeat-x; }

/* =========================================================
   header
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; justify-content: space-between; align-items: stretch; background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.header-logo { display: block; width: 224px; height: 100%; }
.header-logo img { width: 100%; height: 100%; object-fit: contain; }
.btn-menu { position: relative; width: var(--header-h); height: 100%; border-left: 1px solid #ddd; display: flex; align-items: center; justify-content: center; }
.btn-menu img { width: 60px; height: 60px; transition: opacity .2s; }
.btn-menu::before, .btn-menu::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 35px; height: 3px; margin: -1.5px 0 0 -17.5px;
  background: #595757; opacity: 0; transition: opacity .2s, transform .2s;
}
.header.is-open .btn-menu img { opacity: 0; }
.header.is-open .btn-menu::before { opacity: 1; transform: rotate(45deg); }
.header.is-open .btn-menu::after { opacity: 1; transform: rotate(-45deg); }
.gnav {
  position: absolute; top: 100%; right: 0; width: 320px; max-width: 100%; background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12); visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.header.is-open .gnav { visibility: visible; opacity: 1; transform: none; }
.gnav a { display: block; padding: 18px 30px; border-bottom: 1px solid #eee; font-weight: 700; font-size: 16px; transition: color .2s, background-color .2s; }
.gnav a:hover { color: var(--main700); background: #fff7ef; }

/* 進場動畫的位移、超出框外的裝飾圖不可撐寬頁面；
   用 clip 而非 hidden，避免產生捲動容器而讓 sticky 視差失效 */
main { padding-top: var(--header-h); overflow-x: hidden; overflow-x: clip; }

/* =========================================================
   KV（桌機：以 1440x700 舞台等比縮放）
   ========================================================= */
.kv { position: relative; z-index: 3; height: calc(700px * var(--kv-scale)); background: var(--main500); overflow-x: clip; }
.kv-bg { position: absolute; inset: 0; overflow: hidden; }
.kv-bg::before {
  content: ''; position: absolute; left: 0; right: 0; top: 1.38%; height: 151.24%;
  background: url(../img/kv-bg.jpg) center top / 100% 100% no-repeat;
}
.kv-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(175.22deg, rgba(231, 108, 0, 0) 10.591%, rgba(242, 114, 1, .46) 53.535%, rgba(145, 49, 0, .84) 73.526%);
}
.kv-stage {
  position: absolute; top: 0; left: 50%; width: 1440px; height: 700px; margin-left: -720px;
  transform: scale(var(--kv-scale)); transform-origin: 50% 0;
}
.kv-railway { position: absolute; left: 674px; top: 0; width: 1006px; height: 700px; overflow: hidden; }
.kv-railway img { width: 100%; height: 100%; }
.kv-title { position: absolute; left: 360px; top: 59px; width: 720px; height: 306px; }
.kv-stations { position: absolute; left: 0; top: 421px; display: flex; align-items: flex-start; gap: 30px; }
.kv-stations::before {
  content: ''; position: absolute; left: 0; top: 17px; width: 1350px; height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 10%, #fff 90%, rgba(255, 255, 255, 0) 100%);
}
.kv-stations li { position: relative; width: 158px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.kv-stations li:first-child { margin-right: 60px; }
.kv-stations .place { margin-bottom: 12px; padding: 2px; border: 2px solid #fff; border-radius: 500px; }
.kv-stations .place span { display: block; padding: 4px 12px; border-radius: 500px; background: #fff; font-weight: 700; font-size: 18px; line-height: normal; color: var(--main500); }
.kv-stations .hotel { font-family: var(--ff-serif); font-weight: 700; font-size: 20px; letter-spacing: 3px; color: #fff; white-space: nowrap; line-height: normal; }
.kv-train { position: absolute; left: 737px; top: 303px; width: 1043px; height: 464px; max-width: none; pointer-events: none; }
/* 視窗超過 1920px：鐵軌與列車改為貼齊視窗右緣（列車維持設計稿超出右緣 100px），避免露出圖片邊界 */
@media (min-width: 1921px) {
  .kv-railway { left: auto; right: calc(720px - 50vw); }
  .kv-train { left: auto; right: calc(620px - 50vw); }
}

/* ticket */
.kv-ticket {
  position: absolute; left: 40px; top: 559px; width: 633px; background: #fff; border: 1px solid #fff;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, .1);
}
.kv-ticket-main { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 20px 30px; }
.ticket-name { padding: 5px 0; font-family: var(--ff-num); font-weight: 600; font-size: 32px; line-height: 32px; }
.ticket-info { display: flex; align-items: center; gap: 51px; }
.ticket-info dl { display: flex; flex-direction: column; gap: 10px; height: 100px; }
.ticket-info dt, .venue-info dt { font-weight: 700; font-size: 15px; letter-spacing: 3px; color: var(--main700); line-height: normal; }
.ticket-date { width: 170px; }
.ticket-date dd { display: flex; flex-direction: column; gap: 3px; font-family: var(--ff-num); font-weight: 700; font-size: 30px; line-height: 32px; white-space: nowrap; }
.ticket-place { width: 210px; }
.ticket-place dd, .venue-place { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.ticket-place strong, .venue-place strong { font-family: var(--ff-num); font-weight: 600; font-size: 26px; line-height: 32px; }
.ticket-place span, .venue-place span { font-family: var(--ff-num); font-weight: 500; font-size: 18px; line-height: 28px; color: #666; }
.qrcode { position: relative; flex: none; width: 100px; height: 100px; }
.qrcode > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.qrcode-pin { position: absolute; left: calc(50% + .5px); top: calc(50% + .5px); width: 21px; height: 31px; transform: translate(-50%, -50%); }
.kv-ticket-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 10px 20px; background: #e6e4ed; }

/* =========================================================
   award
   ========================================================= */
.award { position: relative; z-index: 1; padding: calc(110px * var(--kv-scale) + 70px) var(--page-padding) 40px; }
.award-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; max-width: 1440px; margin: 0 auto; }
.award-list li {
  /* 背景圖右側含陰影延伸，桂冠視覺中心偏右約 3px，左側內距讓文字對齊桂冠中心 */
  position: relative; width: 265px; height: 169px; padding: 0 0 65px 6px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; text-align: center;
}
.award-list li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 272px; height: 170px;
  background: url(../img/award-bg.png) 0 0 / 100% 100% no-repeat;
}
.award-list h2 { position: relative; font-family: var(--ff-serif); font-weight: 800; font-size: 30px; line-height: normal; color: #000; }
.award-list p { position: relative; font-size: 18px; line-height: normal; color: #000; }

/* =========================================================
   banner
   ========================================================= */
.banner { padding: 0 0 0; }
.banner .wrap { display: flex; justify-content: center; }
.banner-link { display: block; border-radius: 20px; transition: opacity .2s; }
.banner-link:hover { opacity: .9; }
.banner-img { width: 800px; border-radius: 20px; }

/* =========================================================
   new car title
   ========================================================= */
.newcar { background: linear-gradient(180deg, #fff 54.808%, #fff6e4); }
.newcar .wrap { padding-top: 60px; padding-bottom: 60px; }
.newcar .tit-sub { letter-spacing: .2em; }
.newcar .tit-main .dot { color: #333; }

/* =========================================================
   feature：6 個滿版畫面，桌機為橫向滾動視差
   ========================================================= */
.feature { position: relative; background: #f2f2f2; }
.feature-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; }
.feature-track { display: flex; width: 600%; height: 100%; will-change: transform; }
.feature-panel { position: relative; flex: none; width: calc(100% / 6); height: 100%; overflow: hidden; background: #fff; }
.feature-bg { position: absolute; inset: 0; background: #fff center / cover no-repeat; will-change: transform; }
.feature-bg.bg-1 { background-image: url(../img/new-bg1.jpg); }
.feature-bg.bg-2 { background-image: url(../img/new-bg2.jpg); }
.feature-bg.bg-3 { background-image: url(../img/new-bg3.jpg); }
.feature-bg.bg-4 { background-image: url(../img/new-bg4.jpg); }
.feature-bg.bg-5 { background-image: url(../img/new-bg5.jpg); }
.feature-bg.bg-6 { background-image: url(../img/new-bg6.jpg); }
.feature-con {
  position: relative; max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 var(--page-padding) 60px 75px;
  display: flex; align-items: center;
}
.feature-text { width: 528px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; will-change: transform; }
.feature-text h3 { display: flex; align-items: flex-end; gap: 20px; font-weight: 700; white-space: nowrap; }
.feature-text h3 span { font-size: 42px; line-height: 1.4; color: var(--txt); }
/* 編號改用設計稿匯出的外框圖：CSS text-stroke 會描出可變字型內部重疊的輪廓，產生線條相交 */
.feature-text h3 em { display: block; flex: none; line-height: 0; margin-bottom: 7px; }
.feature-text h3 em img { width: auto; height: 95px; max-width: none; }
.feature-text p { font-size: 18px; line-height: 1.6; letter-spacing: .05em; color: #555; }

/* prev / next */
.btn-control { position: absolute; top: 50%; z-index: 3; width: 44px; height: 46px; margin-top: -23px; transition: opacity .3s, visibility .3s; }
.btn-control img { position: absolute; left: -4px; top: -4px; width: 52px; height: 25px; max-width: none; }
.btn-control span {
  position: absolute; top: 26px; transform: translateX(-50%); font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 16px;
  line-height: normal; color: #fff; text-shadow: 0 0 4px rgba(0, 0, 0, .5); white-space: nowrap;
}
.btn-prev { left: 50px; }
.btn-prev span { left: 24px; }
.btn-next { right: 50px; }
.btn-next span { left: 19px; }
.btn-control.is-hidden { opacity: 0; visibility: hidden; }
.btn-control:hover img { transform: translateX(4px); transition: transform .2s; }
.btn-prev:hover img { transform: translateX(-4px); }

/* progress（進度列） */
.feature-progress { position: absolute; left: 50%; bottom: 50px; z-index: 3; width: min(1325px, calc(100% - 160px)); transform: translateX(-50%); }
.progress-line { position: absolute; left: -48px; right: -13px; top: 11px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 10%, #fff 90%, rgba(255, 255, 255, 0) 100%); }
.progress-fill { position: absolute; left: 48px; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, rgba(231, 108, 0, .4), var(--main500)); }
.progress-dots { position: relative; display: flex; justify-content: space-between; }
.progress-dots button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.progress-dots i {
  display: block; width: 23px; height: 23px; padding: 2px; border: 2px solid #fff; border-radius: 50%;
  background: #fff; background-clip: content-box; transition: background-color .3s;
}
.progress-dots span { font-weight: 500; font-size: 18px; line-height: 1.4; letter-spacing: .05em; color: #333; white-space: nowrap; transition: color .3s; }
.progress-dots em {
  position: absolute; left: 0; top: -19px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 36px; line-height: .9;
  letter-spacing: .05em; color: rgba(255, 255, 255, .2); pointer-events: none;
}
.progress-dots .is-active i { background-color: var(--main500); }
.progress-dots .is-active span { color: #000; }

/* =========================================================
   package（優先劃位 × 首席體驗）
   ========================================================= */
.package .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: var(--container-padding); padding-bottom: var(--container-padding); }
.package-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.tit-left { align-items: flex-start; text-align: left; gap: 10px; }
.tit-left .tit-sub { color: var(--main700); }
.tit-left .tit-desc { margin-top: 5px; text-align: left; }
.logo-holiday { flex: none; width: 221px; height: 102px; }

.level-tabs { display: flex; gap: 20px; }
.level-tab {
  flex: 1 1 0; min-width: 0; display: block; padding: 20px; border: 1px solid var(--main700); border-radius: 20px;
  background: #fff; text-align: left; font-size: 15px; line-height: 1.5; color: #666; transition: background-color .3s, color .3s;
}
.lv-name { display: block; margin-bottom: 10px; font-family: var(--ff-serif); font-weight: 800; font-size: 24px; line-height: normal; color: var(--txt); }
.lv-car { display: block; font-weight: 700; }
.lv-desc { display: block; }
.lv-desc b { color: var(--main500); }
.level-tab.is-active { background: var(--main700); color: #fff; }
.level-tab.is-active .lv-name { color: #fff; }
.level-tab.is-active .lv-desc b { color: #ffe287; }
.level-tab:not(.is-active):hover { background: #fff7ef; }
.level-intro { display: none; }

.pkg-list { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--page-padding); }
.pkg-list.is-active { display: grid; }
.pkg-item.is-more { display: none; }
.pkg-list.is-expanded .pkg-item.is-more { display: flex; animation: fadeUp .5s both; }
.pkg-item { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #ccc; border-radius: 20px; }
.pkg-photo { aspect-ratio: 16 / 9; background: #eee; overflow: hidden; }
.pkg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-info { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.pkg-tags { display: flex; gap: 5px; }
.pkg-name { font-family: var(--ff-serif); font-weight: 800; font-size: 20px; letter-spacing: 1px; line-height: normal; }
.pkg-intro { flex: 1; display: flex; flex-direction: column; gap: 10px; color: #666; }
.pkg-intro p { font-size: 15px; line-height: 1.5; }
.pkg-intro em { font-weight: 500; color: var(--main700); }
.pkg-intro .pkg-time { font-family: var(--ff-num); font-size: 13px; }
.pkg-price { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; font-size: 15px; line-height: 1.5; white-space: nowrap; }
.pkg-price strong { font-family: var(--ff-num); font-weight: 600; font-size: 32px; color: var(--main500); }
.pkg-price span { color: #666; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* 行程下單禮 */
.giftbuy { display: flex; flex-direction: column; gap: 20px; padding: 20px; background: #fbf5e7; border: 1px solid #c4a04a; border-radius: 20px; }
.giftbuy-tit { font-family: var(--ff-serif); font-weight: 800; font-size: 26px; line-height: normal; text-align: center; }
.giftbuy-list { display: flex; gap: 30px; }
.giftbuy-list > li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.giftbuy-con { display: flex; gap: 20px; align-items: flex-start; }
.giftbuy-photo { flex: none; width: 90px; height: 90px; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 5px 5px 0 rgba(196, 160, 74, .4); }
.giftbuy-photo img { width: 100%; height: 100%; object-fit: cover; }
.giftbuy-photo.photo-card img { object-position: 7.8% 50%; }
.giftbuy-txt { flex: 1; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.giftbuy-txt h4 { font-weight: 700; font-size: 20px; color: var(--main700); }
.giftbuy-txt p { font-size: 15px; color: #666; }
.gift-note { padding: 3px 10px; background: #b27d00; border-radius: 10px; font-weight: 600; font-size: 22px; line-height: 1.5; color: #fff; text-align: center; white-space: nowrap; }

/* =========================================================
   souvenir（高鐵紀念商品）
   ========================================================= */
.souvenir { position: relative; overflow: hidden; background: #f86700; }
.souvenir::before {
  content: ''; position: absolute; left: -33.03%; top: -1.23%; width: 170.23%; height: 134.82%;
  background: url(../img/gift-bg.jpg) center / 100% 100% no-repeat; mix-blend-mode: color-dodge; opacity: .29; pointer-events: none;
}
.souvenir .wrap { position: relative; display: flex; flex-direction: column; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
.tit-light .tit-sub { color: #fcffcc; }
.tit-light .tit-main { color: #fff; }
.tit-light .tit-desc { color: #000; }

.store-list { display: flex; gap: 15px; align-items: stretch; }
.store-item { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; }
/* 三張圖皆已裁成卡片比例（637x886），直接滿版覆蓋；底色僅作載入前的備用色 */
.store-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center top; }
.store-1 { background: #593b26; }
.store-2 { background: #fff; }
.store-info {
  position: relative; flex: 1; margin-top: 320px; padding: 20px 30px 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6) 54.808%, rgba(0, 0, 0, .7)); color: #fff;
}
.store-1 .store-info { padding-bottom: 10px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5) 54.808%, rgba(0, 0, 0, .6)); }
/* store-2 卡片高度可能比內容高：以 ::before 保留照片區，資訊區（含漸層遮罩）貼齊卡片底部 */
.store-2::before { content: ''; flex: none; height: 320px; }
.store-2 .store-info { flex: none; margin-top: auto; }
.store-info .tag { align-self: flex-start; }
.store-info h3 { font-family: var(--ff-serif); font-weight: 800; font-size: 22px; line-height: normal; letter-spacing: 1.1px; }
.store-info p { font-size: 17px; line-height: 1.5; }
.store-1 .store-info p { padding-bottom: 10px; }
.store-price { font-family: var(--ff-num); font-weight: 600; font-size: 32px !important; line-height: 1.2 !important; color: #ffde73; }
.store-note { position: relative; padding: 18px 10px; background: #714a32; font-weight: 600; font-size: 24px; line-height: 1; color: #ffdebf; text-align: center; white-space: nowrap; }
/* 警語中的「禁止酒駕」icon：以 em 為單位，隨各斷點字級縮放（設計稿 24px 字配 28px icon） */
.note-ico { display: inline-block; width: 1.17em; height: 1.17em; margin: 0 .125em; vertical-align: -.22em; }

.online-list { display: flex; gap: 15px; align-items: stretch; }
.online-item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #ffca91; border-radius: 20px; }
.online-photo { aspect-ratio: 1; background: #eee; overflow: hidden; }
.online-photo img { width: 100%; height: 100%; object-fit: cover; }
.online-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
.online-info h3 { font-family: var(--ff-serif); font-weight: 800; font-size: 20px; line-height: normal; letter-spacing: 1px; }
.online-info p { flex: 1; font-size: 15px; line-height: 1.5; color: #666; }
.online-price { align-self: stretch; display: flex; justify-content: space-between; align-items: center; padding-top: 5px; }
.online-price strong { font-family: var(--ff-num); font-weight: 600; font-size: 32px; line-height: 1.5; color: var(--main500); }
.btn-buy { padding: 8px 16px; border: 1px solid var(--txt); border-radius: 500px; font-weight: 700; font-size: 16px; color: #444; white-space: nowrap; transition: background-color .2s, color .2s; }
.btn-buy:hover { background: var(--txt); color: #fff; }

/* =========================================================
   info（旅展資訊）
   ========================================================= */
.info .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: var(--container-padding); padding-bottom: 60px; }
.info .tit-container { gap: 10px; }
.activity { display: flex; }
.activity img { flex: 1 1 0; min-width: 0; width: 50%; }
.activity img:first-child { border-radius: 20px 0 0 20px; }
.activity img:last-child { border-radius: 0 20px 20px 0; }

.venue { display: flex; align-items: stretch; }
.venue-info {
  flex: none; width: 520px; display: flex; flex-direction: column; gap: 40px; padding: 30px; background: #ededed;
  border: 1px solid #d7d7d7; border-right: 0; border-radius: 20px 0 0 20px;
}
.venue-name { padding: 5px 0; font-family: var(--ff-num); font-weight: 600; font-size: 32px; line-height: 32px; }
.venue-top { display: flex; gap: 30px; }
.venue-con { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.venue-con dl { display: flex; flex-direction: column; gap: 10px; }
.venue-date { font-family: var(--ff-num); font-weight: 700; font-size: 30px; line-height: 32px; white-space: nowrap; }
.qrcode-lg { width: 170px; height: 170px; }
.venue-detail { display: flex; flex-direction: column; }
.venue-detail > div { display: flex; gap: 20px; align-items: flex-start; }
.venue-detail dt { flex: none; padding-top: 5px; }
.venue-detail dd { flex: 1; font-size: 16px; line-height: 1.8; }
.venue-detail .btn { display: flex; width: max-content; margin-top: 13px; }
.venue-trans h3 { font-family: var(--ff-num); font-weight: 600; font-size: 26px; line-height: 32px; }
.venue-trans ol { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.venue-trans b { display: block; padding-top: 5px; font-size: 17px; line-height: normal; }
.venue-trans b em { margin-left: .4em; color: var(--main700); }
.venue-trans span { display: block; font-size: 16px; line-height: 1.8; }
.venue-map { position: relative; flex: 1; min-width: 0; background: #fff; border: 1px solid #d7d7d7; border-left: 0; border-radius: 0 20px 20px 0; overflow: hidden; }
.venue-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* railway divider */
/* 以 1920x175 舞台拼合：後軌道 → 列車 → 前軌道，列車進入畫面時由左往右駛入 */
/* --rail-scale 由 main.js 設定：視窗超過 1920px 時整組等比放大以撐滿寬度 */
.railway-divider { position: relative; height: calc(175px * var(--rail-scale, 1)); overflow: hidden; background: url(../img/railway-bg.png) center / 100% 100% no-repeat; }
.railway-stage { position: absolute; left: 50%; top: 0; width: 1920px; height: 175px; margin-left: -960px; transform: scale(var(--rail-scale, 1)); transform-origin: 50% 0; }
.rail-back { position: absolute; left: 0; right: 0; bottom: 0; height: 63px; background: url(../img/railway-tracks-back.jpg) center / cover no-repeat; }
.rail-train { position: absolute; left: -172px; top: 21.25px; width: 1709px; height: 144px; filter: drop-shadow(9px 0 18px rgba(0, 0, 0, .1)); }
.rail-train img { position: absolute; left: 0; top: .03%; width: 100%; height: 94.03%; max-width: none; }
.rail-front { position: absolute; left: 0; right: 0; bottom: 0; height: 35px; overflow: hidden; }
.rail-front::before { content: ''; position: absolute; left: 0; top: -100.82%; width: 100%; height: 221.65%; background: url(../img/railway-tracks-front.png) 0 0 / 100% 100% no-repeat; }
.js .railway-divider .rail-train { transform: translateX(-110%); }
.js .railway-divider.is-in .rail-train { transform: none; transition: transform 2.4s cubic-bezier(.22, .61, .36, 1); }

/* =========================================================
   notice（購買須知與注意事項）
   ========================================================= */
.notice { background: linear-gradient(0deg, #f4f4f4, #fff 27.898%); }
.notice .wrap { padding-top: 40px; padding-bottom: var(--container-padding); }
.notice-tit { font-family: var(--ff-serif); font-weight: 700; font-size: 32px; line-height: 46px; text-align: center; }
.qa-list { margin-top: 20px; border-top: 1px solid #cecece; }
.qa-item { border-bottom: 1px solid #cecece; }
.qa-q { display: flex; align-items: center; gap: 20px; width: 100%; padding: 15px 30px; text-align: left; font-weight: 600; font-size: 16px; line-height: 1.5; color: #333; }
.qa-q::before { content: ''; flex: none; width: 21px; height: 8px; background: url(../img/ico-qa-arr.png) center / contain no-repeat; }
.qa-q span { flex: 1; }
.qa-q em { color: var(--main500); }
.qa-q::after { content: ''; flex: none; width: 34px; height: 34px; background: url(../img/ico-open.png) center / contain no-repeat; }
.qa-item.is-open .qa-q::after { background-image: url(../img/ico-close.png); }
.qa-a { display: none; padding: 5px 30px 20px 72px; font-size: 16px; line-height: 1.5; color: #666; }
.qa-item.is-open .qa-a { display: block; }
.qa-a ol { list-style: decimal; padding-left: 24px; }
.qa-a ul { list-style: disc; padding-left: 24px; }
.qa-a li + li { margin-top: 5px; }
.qa-note { margin-top: 20px; padding-left: 10px; }
.qa-note a { color: #327cd5; text-decoration: underline; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; border-top: 15px solid var(--main500); background: #fff; }
.cta::before { content: ''; position: absolute; inset: 0; background: url(../img/cta-bg.jpg) center / cover no-repeat; }
.cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(87.64deg, #fff 4.4522%, rgba(255, 255, 255, .03) 42.765%, rgba(255, 255, 255, 0) 75.074%, rgba(255, 255, 255, .92) 94.588%);
}
.cta .wrap { position: relative; z-index: 1; height: 400px; display: flex; align-items: center; }
.cta-con { display: flex; flex-direction: column; align-items: flex-start; padding-left: 200px; }
.cta-sub { font-weight: 600; font-size: 22px; line-height: normal; color: var(--main500); }
.cta-name { margin-top: 20px; font-family: var(--ff-num); font-weight: 600; font-size: 32px; line-height: 32px; }
.cta-date { margin-top: 5px; font-family: var(--ff-num); font-weight: 700; font-size: 56px; line-height: 60px; white-space: nowrap; }
.cta-place { margin-top: 5px; display: flex; align-items: center; gap: 20px; font-family: var(--ff-num); white-space: nowrap; }
.cta-place strong { font-weight: 600; font-size: 26px; line-height: 32px; }
.cta-place span { font-weight: 500; font-size: 18px; line-height: 28px; color: #666; }
.cta-btns { display: flex; gap: 10px; padding-top: 40px; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1439px) {
  .feature-progress { width: calc(100% - 200px); }
  .progress-dots span { font-size: 14px; }
  .gift-note{font-size: 18px;}
}

@media (max-width: 1199px) {
  .award-list { gap: 20px 10px; }
  .feature-text h3 span { font-size: 36px; }
  .feature-text h3 em { margin-bottom: 5px; }
  .feature-text h3 em img { height: 74px; }
  .progress-dots span { display: none; }
  .progress-dots .is-active span { display: block; position: absolute; top: 28px; left: 50%; transform: translateX(-50%); }
  .pkg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .giftbuy-list { flex-direction: column; gap: 40px; }
  .gift-note { white-space: normal;}
  .store-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-note { white-space: normal; font-size: 20px; line-height: 1.3; }
  .venue { flex-direction: column; }
  .venue-info { width: auto; border-right: 1px solid #d7d7d7; border-bottom: 0; border-radius: 20px 20px 0 0; }
  .venue-map { aspect-ratio: 1400 / 1078; border-left: 1px solid #d7d7d7; border-top: 0; border-radius: 0 0 20px 20px; }
  .cta-con { padding-left: 0; }
}

@media (max-width: 1023px) {
  .tit-main { font-size: 44px; line-height: 1.3; }
  .tit-desc { font-size: 16px; }
  .feature-con { padding-left: 100px; padding-right: 100px; }
  .feature-progress { width: calc(100% - 140px); bottom: 40px; }
  .btn-prev { left: 20px; }
  .btn-next { right: 20px; }
  .activity { flex-direction: column; gap: 20px; }
  .activity img { width: 100%; }
  .activity img:first-child, .activity img:last-child { border-radius: 20px; }
  .online-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 手機版 ---------- */
@media (max-width: 767px) {
  :root { --page-padding: 20px; --container-padding: 40px; --header-h: 60px; }
  .show-md{display: block;}
  .hide-md{display: none;}
  .sp { display: inline; }
  .pc { display: none; }

  .header-logo { width: 149px; }
  .btn-menu img { width: 40px; height: 40px; }
  .btn-menu::before, .btn-menu::after { width: 24px; margin-left: -12px; }
  .gnav { width: 100%; }

  .tit-sub { font-size: 18px; letter-spacing: .2em; }
  .tit-main { font-size: 36px; line-height: 1.3; }
  .tit-desc { font-size: 16px; text-align: left; }

  /* KV */
  /* 手機：KV 主視覺 644px，票卡改為正常流排在主視覺與金色分隔線之下 */
  /* 手機 KV 主視覺高度 548px：列車底部落在視窗 660px 高度內（header 60 + 548 + 列車超出 51） */
  .kv { height: auto; padding-top: 548px; overflow: hidden; background: #fff; }
  .kv-bg { bottom: auto; height: 578px; background: var(--main500); }
  .kv-bg::before { left: -33.61%; right: auto; width: 263.2%; top: 13.06%; height: 83.98%; background-size: 100% 100%; }
  .kv-bg::after { background: linear-gradient(158.39deg, rgba(231, 108, 0, 0) 10.591%, rgba(242, 114, 1, .46) 53.535%, rgba(145, 49, 0, .84) 73.526%); }
  .kv-stage { position: static; width: auto; height: auto; margin: 0; transform: none; }
  /* 軌道與列車以手機稿 390px 寬的座標固定尺寸、一起靠右，避免視窗變寬時兩者錯位 */
  .kv-railway { left: auto; right: 0; top: 97px; width: 390px; height: 451px; }
  .kv-title { left: 50%; top: 28px; width: 320px; height: auto; margin-left: -160px; }
  /* 手機固定 2 欄，避免較寬的手機視窗變成 3 + 1 */
  .kv-stations { left: 0; right: 0; top: 192px; display: grid; grid-template-columns: repeat(2, 158px); justify-content: center; gap: 12px 15px; }
  .kv-stations::before { content: none; }
  .kv-stations li:first-child { margin-right: 0; }
  .kv-stations .place { margin-bottom: 5px; }
  .kv-stations .place span { padding: 3px 11px; font-size: 16px; }
  .kv-stations .hotel { font-size: 15px; letter-spacing: 2.2px; }
  .kv-train { z-index: 2; left: auto; right: -71px; top: 402px; width: 443px; height: auto; }
  .kv-ticket { position: relative; z-index: 1; left: auto; top: auto; width: 100%; margin-top: 15px; padding-top: 40px; border: 0; }
  .kv-ticket::before { content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 15px; background: #c9a14e url(../img/border-gold.png) center top / auto 15px repeat-x; }
  .kv + .border-gold { display: none; }
  .kv-ticket-main { padding: 20px 20px 20px 30px; }
  .ticket-info { flex-wrap: wrap; align-items: flex-end; gap: 20px; }
  .ticket-info dl { height: auto; }
  .ticket-date { flex-basis: 100%; width: auto; }
  .ticket-place { width: auto; }
  .ticket-date dd { flex-direction: row; flex-wrap: wrap; gap: 0 10px; }
  .ticket-place { flex: 1; }
  .qrcode { width: 80px; height: 80px; }
  .kv-ticket-footer { justify-content: center; }

  /* award */
  .award { padding: 60px 0 50px; }
  .award-list { gap: 15px 0; padding: 0 15px; }
  .award-list li { width: 180px; height: 115px; padding: 0 0 45px 4px; gap: 2px; }
  .award-list li::before { left: calc(50% - 90px); width: 185.5px; height: 116px; }
  .award-list h2 { font-size: 20px; }
  .award-list p { font-size: 15px; }

  .banner .wrap { padding: 0 10px; }
  .banner-link, .banner picture { width: 100%; }
  .banner-img { width: 100%; }

  .newcar .wrap { padding-top: 40px; padding-bottom: 40px; }

  /* feature：手機改為左右滑動（原生捲動 + scroll-snap，一次一屏） */
  .feature { height: auto !important; background: #f2f2f2; }
  .feature-sticky { position: relative; top: auto; height: auto; overflow: visible; }
  .feature-track {
    width: 100%; height: auto; transform: none !important;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .feature-track::-webkit-scrollbar { display: none; }
  .feature-panel {
    flex: 0 0 100%; width: 100%; height: auto; min-height: calc(100vw * 820 / 390);
    display: flex; flex-direction: column; justify-content: flex-end; background: #f2f2f2;
    scroll-snap-align: start; scroll-snap-stop: always;
  }
  .feature-bg { transform: none !important; background-position: center top; background-size: 100% auto; background-color: #f2f2f2; }
  .feature-bg.bg-1 { background-image: url(../img/new-m1.jpg); }
  .feature-bg.bg-2 { background-image: url(../img/new-m2.jpg); }
  .feature-bg.bg-3 { background-image: url(../img/new-m3.jpg); }
  .feature-bg.bg-4 { background-image: url(../img/new-m4.jpg); }
  .feature-bg.bg-5 { background-image: url(../img/new-m5.jpg); }
  .feature-bg.bg-6 { background-image: url(../img/new-m6.jpg); }
  .feature-con { height: auto; width: 100%; padding: 0 20px 90px; display: block; }
  .feature-text { width: 100%; transform: none !important; opacity: 1 !important; }
  .feature-text h3 { flex-direction: column-reverse; align-items: flex-end; gap: 10px; white-space: normal; }
  .feature-text h3 span { align-self: stretch; font-size: min(42px, calc((100vw - 40px) / 9)); }
  .feature-text h3 em { margin: 8px 0 6px; }
  .feature-text h3 em img { height: 82px; }
  /* 左右箭頭放在照片區中段 */
  .btn-control { top: calc(100vw * 200 / 390); }
  .btn-prev { left: 12px; }
  .btn-next { right: 12px; }
  /* 進度只顯示圓點，置於每屏底部 */
  .feature-progress { left: 50%; bottom: 36px; width: auto; transform: translateX(-50%); }
  .progress-line { display: none; }
  .progress-dots { gap: 6px; justify-content: center; }
  .progress-dots button { padding: 6px; }
  .progress-dots span, .progress-dots em, .progress-dots .is-active span { display: none !important; }
  .progress-dots i { width: 14px; height: 14px; padding: 0; border: 0; background: #c9c9c9; transition: background-color .3s, transform .3s; }
  .progress-dots .is-active i { background: var(--main500); transform: scale(1.15); }

  /* package */
  .package .wrap { gap: 20px; }
  .package-head { flex-direction: column-reverse; align-items: stretch; gap: 40px; }
  .logo-holiday { align-self: flex-end; width: 173px; height: 80px; }
  .tit-left .tit-main { font-size: 44px; line-height: 1.25; }
  .tit-left .tit-desc { font-size: 16px; margin-top: 5px; }
  .level-tabs { gap: 10px; margin-top: 20px; }
  .level-tab { padding: 10px 20px; }
  .lv-name { margin-bottom: 0; }
  .lv-desc { display: none; }
  .level-intro { display: block; padding: 0 10px; font-size: 15px; line-height: 1.5; color: #666; }
  .level-intro p { display: none; }
  .level-intro p.is-active { display: block; animation: fadeUp .4s both; }
  .level-intro b { color: var(--main500); }
  .pkg-list { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .giftbuy-tit { font-size: 22px; }
  .giftbuy-txt h4 { font-size: 18px; }
  .gift-note { font-size: 15px; }

  /* souvenir */
  .tit-light .tit-desc { font-size: 16px; }
  .store-list { display: flex; flex-direction: column; gap: 15px; }
  /* 卡片固定 550px 高，照片滿版作背景，資訊區貼齊底部 */
  .store-item { flex: none; height: 550px; }
  .store-info{padding-left: 15px; padding-right: 15px;}
  .store-info, .store-2 .store-info { flex: none; margin-top: auto; }
  .store-2::before { content: none; }
  .store-info p { font-size: 16px; }
  .store-note { font-size: 18px; min-height: 60px; padding: 18px 10px; }
  /* 線上商品：左右滑動，卡片寬 82% 讓下一張露出一截提示可滑動 */
  .online-list {
    display: flex; flex-direction: row; gap: 15px; margin: 0 -20px; padding: 0 20px 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .online-list::-webkit-scrollbar { display: none; }
  .online-item { flex: 0 0 82%; scroll-snap-align: start; }
  .online-info{padding: 15px;}

  /* info */
  .venue-info { padding: 20px; gap: 30px; }
  .venue-name { font-size: 26px; }
  /* 手機：日期獨佔一列，地點與 QR code 並排在第二列，避免 QR code 被擠出容器 */
  .venue-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 15px; align-items: end; }
  .venue-con { display: contents; }
  .venue-con dl:first-child { grid-column: 1 / -1; }
  .venue-date { font-size: 24px; }
  .venue-place { white-space: normal; }
  .venue-place strong { font-size: 22px; }
  .qrcode-lg { width: 90px; height: 90px; }
  .venue-detail > div { gap: 12px; }
  .venue-detail dd { font-size: 15px; }
  .venue-trans h3 { font-size: 22px; }
  .venue-trans b em { display: block; margin: 2px 0 0; }

  /* 手機：舞台縮為 100px 高，讓車頭停在畫面約 85% 處 */
  .railway-divider { height: 100px; }
  .railway-stage { left: calc(85vw - 878px); margin-left: 0; transform: scale(.5714); transform-origin: 0 0; }

  .notice-tit { font-size: 26px; line-height: 1.4; }
  .qa-q { gap: 12px; padding: 15px 10px; }
  .qa-a { padding: 0 10px 20px 20px; font-size: 15px; }
  .qa-note { padding-left: 0; }

  /* CTA */
  /* 人物位於原圖約 59% 處；65% 讓人物在常見手機寬度下落在畫面中央 */
  .cta::before { inset: auto 0 0 0; height: 57.87%; background-size: cover; background-position: 65% center; }
  .cta::after { background: linear-gradient(179.77deg, #c5cdd3 2.0466%, #fff 13.609%, #fff 40.871%, rgba(202, 211, 217, .9) 47.259%, rgba(197, 205, 211, 0) 57.073%); }
  .cta .wrap { height: auto; min-height: 768px; align-items: flex-start; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
  .cta-con { width: 320px; max-width: 100%; }
  .cta-name { margin-top: 20px; }
  .cta-date { font-size: min(56px, 14.5vw); }
  .cta-place { flex-direction: column; align-items: flex-start; gap: 5px; padding-top: 20px; }
  .cta-btns { align-self: stretch; justify-content: center; padding-top: 30px; }
}

@media (max-width: 389px) {
  .award-list li { width: 50%; }
  .kv-ticket-footer .btn { padding: 15px 20px; }
  .cta-btns .btn { padding: 15px 20px; }
}

/* =========================================================
   進場動畫：main.js 依區塊加上 .reveal 與方向，進入畫面時加 .is-shown
   ========================================================= */
/* 隱藏狀態不帶 transition（瞬間套用，避免先淡出）；只有切換到 .is-shown 時才播放 */
.js .reveal { opacity: 0; }
.js .reveal-up { transform: translateY(40px); }
.js .reveal-left { transform: translateX(-60px); }
.js .reveal-right { transform: translateX(60px); }
.js .reveal-zoom { transform: scale(.9); }
/* KV 列車：沿軌道方向（右上 → 左下，約 -9°）由遠方縮小處駛近並放大至原尺寸 */
.js .reveal-train { transform: translate(150px, -24px) scale(.8); transform-origin: 100% 20%; }
.js .reveal.is-shown {
  opacity: 1; transform: none;
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal-train.is-shown { transition: opacity 1s ease, transform 1.8s cubic-bezier(.16, .7, .3, 1); transition-delay: var(--reveal-delay, 0s); }
@media (max-width: 767px) {
  .js .reveal-train { transform: translate(70px, -11px) scale(.85); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
