:root {
  --main: #e7cb91;
  --secondary: #FFF8EB;
  --font: #181a1a;
  --white: #ffffff;
  --highlight: #C62121;
  --stays: #EBB96E;
  --dining: #EBA06E;
  --leisure: #EB806E;
}

html {
  font-size: 55%;
}

@media (min-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body {
  overflow-x: hidden;
  font-family: "Rubik", sans-serif;
  background-color: var(--white);
  color: var(--font);
  font-size: 1.8rem;
}

h1 {
  font-size: 4rem;
}

h3 {
  font-size: 2.2rem;
}

.color-notice {
  color: var(--highlight);
}

section {
  padding: 75px 0;
}

/* --- 標題核心樣式 --- */
h2.section-title {
  /* 1. 排版：使用 Flexbox 讓文字與兩側斜線完美垂直置中 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  /* 控制斜線與文字之間的距離 */

  /* 2. 字體與顏色美化 */
  color: #f0a252;
  /* 抓取圖片中的暖橘色 */
  font-size: 28px;
  /* 字體大小可依您的專案需求調整 */
  font-weight: 700;
  letter-spacing: 4px;
  /* 稍微增加字距，讓標題更有呼吸感與質感 */
  margin-bottom: 30px;
}

/* --- 兩側斜線裝飾 --- */
h2.section-title::before,
h2.section-title::after {
  content: '';
  /* 偽元素必須要有 content 才會顯示 */
  display: inline-block;

  /* 線條的尺寸設計 */
  width: 4px;
  /* 線條粗細 */
  height: 1.2em;
  /* 線條長度。使用 em 的好處是，如果標題字體變大，線條會自動跟著變長 */

  /* 顏色與形狀美化 */
  background-color: currentColor;
  /* 神奇屬性：自動套用文字的顏色 (#f0a252) */
  border-radius: 2px;
  /* 美化細節：讓線條兩端有微圓角，視覺上更柔和不銳利 */

  /* 傾斜效果 */
  transform: rotate(25deg);
  /* 將線條往右傾斜 25 度，模擬「/」的樣子 */
}

.flexbox {
  display: flex;
  align-items: center;
}

.d-1 {
  animation-delay: 0.1s;
}

.d-2 {
  animation-delay: 0.2s;
}

.d-3 {
  animation-delay: 0.3s;
}

.d-4 {
  animation-delay: 0.4s;
}

.d-5 {
  animation-delay: 0.5s;
}

.d-6 {
  animation-delay: 0.6s;
}

.d-7 {
  animation-delay: 0.7s;
}

.d-8 {
  animation-delay: 0.8s;
}

.mb-50 {
  margin-bottom: 5rem;
}

.logo {
  width: 90px;
  margin-right: 10px;
}

.logo img {
  display: block;
  width: 100%;
}

/*非遮罩 Nav */
.mainNav {
  background-color: var(--main);
  min-height: 60px;
}

.mainNav .navbar-toggler {
  right: 0;
  padding: 10px;
  color: var(--white);
  border: 0;
}

.mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  padding: 0.8em 0;
  color: var(--white);
}

.mainNav .navbar-nav .nav-item .nav-link.active,
.mainNav .navbar-nav .nav-item .nav-link:hover {
  text-shadow: 0.1em 0.1em 0.3em rgb(27 27 27 / 30%);
  transition: .3s;
}

.dropdown-menu {
  font-size: 1.8rem;
  border: 0;
}

.dropdown-item {
  padding: 0.5rem 3rem;
  text-align: center;
  font-size: 16px;
  color: #F4AE44;
}

.dropdown-item:hover {
  background-color: var(--secondary);
}

.dropdown-item:focus {
  color: var(--font);
}

@media (min-width: 992px) {
  .mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1.5rem !important;
    font-size: 16px;
  }

  .ja-JP .mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1.5rem !important;
    font-size: 14px;
  }
}

header.masthead {
  margin-top: 60px;
}

/* .en-US header.masthead {
  margin-top: 60px;
}
.ja-JP header.masthead {
  margin-top: 60px;
}
.ko-KR header.masthead {
  margin-top: 60px;
} */
@media screen and (min-width: 992px) {
  header.masthead {
    margin-top: 60px;
  }

  /* .en-US header.masthead {
    margin-top: 70px;
  }
  .ja-JP header.masthead {
    margin-top: 64px;
  }
  .ko-KR header.masthead {
    margin-top: 70px;
  } */
}

@media screen and (min-width: 1200px) {
  header.masthead {
    margin-top: 60px;
  }

  /* .en-US header.masthead {
    margin-top: 70px;
  }
  .ja-JP header.masthead {
    margin-top: 60px;
  }
  .ko-KR header.masthead {
    margin-top: 60px;
  } */
}

/* gifts */

.gifts-bonus-pic {
  margin-bottom: 30px;
  position: relative;
}

.gifts-bonus-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 10px 10px 0 var(--highlight);
}

.gifts-bonus-text {
  color: var(--white);
  text-align: left;
}

.gifts-bonus-text {
  width: 80%;
}

.gifts-bonus-text h2 {
  position: absolute;
  font-weight: 700;
  top: 2rem;
  left: 15px;
  background-color: var(--secondary);
  padding: 0.8rem 2rem;
  border-radius: 0 10rem 10rem 0;
  display: inline-block;
  max-width: 70%;
}

/* bonus */
section.bonus {
  padding: 70px 0;
}

/* exchange */
.exchange h3 {
  color: #f48b63;
  margin-top: 30px;
  font-size: 18px;
  text-align: center;
  font-weight: normal;
  line-height: 1.6;
}

.exchange .badge-block {
  color: var(--warn);
  padding: 0.8rem 2rem 0.2rem 2rem;
}

.exchange .img-fluid {
  display: block;
  margin: 0 auto;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .exchange .img-fluid {
    padding-right: 36px;
  }
}

/* traffic */
.traffic .img-fluid {
  border-radius: 50%;
  background-color: var(--main);
  overflow: hidden;
  border: 1px solid var(--main);
  box-shadow: 2px 2px 5px var(--highlight);
}

.traffic img {
  object-fit: cover;
}

.traffic h2 {
  margin: 50px 0 25px 0;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 10rem;
  display: inline-block;
}

.traffic p {
  color: var(--font);
  margin: 0;
}

/* Notice */
.notice .badge-block {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.7rem 2rem;
  border-radius: 10rem;
  display: inline-block;
}

.notice ol {
  padding-inline-start: 15px;
}

.notice .notice-content {
  background-color: var(--secondary);
  padding: 30px;
  border-radius: 15px;
  margin: 0 auto;
}

.notice p {
  margin: 0;
}

footer {
  background: var(--main);
  color: var(--font);
  padding: 15px;
}

.col-margin-bottom {
  margin-bottom: 5rem;
}

.col-margin-bottom:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .col-margin-bottom {
    margin-bottom: 0;
  }
}

/* scrollup */
.scrollup {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  opacity: 0.75;
  position: fixed;
  bottom: 60px;
  right: 15px;
  color: var(--white);
  cursor: pointer;
  background-color: var(--main);
  z-index: 1000;
  transition: opacity 0.5s, background-color 0.5s;
  -moz-transition: opacity 0.5s, background-color 0.5s;
  -webkit-transition: opacity 0.5s, background-color 0.5s;
  display: none;
}

.scrollup:hover {
  opacity: 1;
}

.scrollup i {
  font-size: 28px;
  position: absolute;
  opacity: 1;
  color: var(--white);
  left: 50%;
  top: 50%;
  margin-top: -15px;
  margin-left: -12px;
  text-decoration: none;
}

button:focus {
  outline-color: #4baeb3;
}

/* 分頁 */
/* .nav-item .nav-link.b-line {
  width: 100%;
  border-bottom: 2px solid var(--highlight);
  box-sizing: border-box;
} */

#actiondiv {
  height: 0;
}


/* 店家資訊 */
.store {
  background-color: var(--secondary);
}

.store-card {
  background-color: #fff;
  border-radius: 15px;
}

.store-badge {
  padding: 15px 15px 15px 0;
}

.store-badge span {
  display: inline-block;
  padding: 3px 10px;
  background-color: #ccc;
  color: #fff;
  border-radius: 0 5px 5px 0;
}

#stays .store-badge span {
  background-color: var(--stays);
}

#dining .store-badge span {
  background-color: var(--dining);
}

#leisure .store-badge span {
  background-color: var(--leisure);
}

.store-inner {
  font-size: 13px;
}

.store-img img {
  display: block;
  width: 100%;
}

.store-content {
  padding: 15px;
}

.store-content h3 {
  color: #ccc;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

#stays .store-content h3 {
  color: var(--stays);
}

#dining .store-content h3 {
  color: var(--dining);
}

#leisure .store-content h3 {
  color: var(--leisure);
}

.store-content .store-info-list {
  border-top: 1px solid #ccc;
  margin: 0;
  padding: 10px 0;
}

#stays .store-content .store-info-list {
  border-color: var(--stays);
}

#dining .store-content .store-info-list {
  border-color: var(--dining);
}

#leisure .store-content .store-info-list {
  border-color: var(--leisure);
}

.store-content .store-info-list li {
  position: relative;
  list-style: none;
  padding-left: 36px;
  margin-bottom: 5px;
}

.store-content .store-info-list li i {
  position: absolute;
  left: 0;
  text-align: center;
  width: 36px;
  line-height: inherit;
  color: var(--main);
}

@media (min-width: 768px) {
  .store-inner {
    display: flex;
    font-size: 14px;
  }

  .store-badge {
    padding: 15px 15px 5px 0;
  }

  /* 容器設定 */
  .store-img {
    position: relative;
    /* 作為偽元素絕對定位的參考點 */
    display: inline-block;
    /* 讓 div 的大小貼齊圖片 */
    /* 預留空間給外擴的裝飾線，避免被其他元素遮擋 */
    margin-left: 20px;
    margin-bottom: 20px;
    height: fit-content;
  }

  /* 確保圖片正確顯示 */
  .store-img img {
    display: block;
    width: 260px;
    padding: 15px 0;
    height: auto;
  }

  /* 左側垂直裝飾線 */
  .store-img::before {
    content: "";
    position: absolute;
    left: -10px;
    /* 距離圖片左側的距離 */
    bottom: -25px;
    /* 往下延伸穿過水平線 */
    width: 2px;
    /* 線條粗細 */
    height: 65%;
    /* 線條高度 (可依喜好調整，目前大約是圖片的 65%) */
    background-color: #ccc;
  }

  #stays .store-img::before {
    background-color: var(--stays);
  }

  #dining .store-img::before {
    background-color: var(--dining);
  }

  #leisure .store-img::before {
    background-color: var(--leisure);
  }

  /* 下方水平裝飾線 */
  .store-img::after {
    content: "";
    position: absolute;
    left: -20px;
    /* 往左延伸穿過垂直線 */
    bottom: -5px;
    /* 距離圖片底部的距離 */
    width: 60%;
    /* 線條長度 (目前大約佔據圖片寬度的 60%) */
    height: 2px;
    /* 線條粗細 */
    background-color: #ccc;
  }

  #stays .store-img::after {
    background-color: var(--stays);
  }

  #dining .store-img::after {
    background-color: var(--dining);
  }

  #leisure .store-img::after {
    background-color: var(--leisure);
  }
}

/* --- 店家分類錨點按鈕 (store-tag) --- */
.store-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tag-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin: 0 5px;
  border-radius: 5px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}

@media (min-width: 1024px) {
  .tag-btn {
    padding: 24px;
    margin: 0 10px;
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .en .tag-btn {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .en .tag-btn {
    font-size: 24px;
  }

  .jp .tag-btn {
    font-size: 22px;
  }
}

.tag-btn i {
  margin-top: 10px;
  font-size: 24px;
}

.tag-btn:hover {
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* 錨點按鈕顏色 - 依照圖片設計 */
.tag-stays {
  background-color: var(--stays);
}

.tag-dining {
  background-color: var(--dining);
}

.tag-leisure {
  background-color: var(--leisure);
}

/* 確保點擊錨點時，區塊頂部不會被 fixed navbar 遮住 */
.store-category {
  scroll-margin-top: 80px;
}

.rwd-d {
  display: none !important;
}

@media (min-width: 768px) {
  .rwd-m {
    display: none !important;
  }

  .rwd-d {
    display: block !important;
  }
}