/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加class名稱
例如：

在HTML裡：
<div class="abc">我要增加背景</div> 

在css裡：
.abc{
    background-image: url(../images/body_bg.webp);  <------圖檔位置
    background-position: center; <-----圖片在區塊/方塊裡的定位
    background-size: cover;  <-----圖片在區塊/方塊裡的大小
}

 */

/* 補充 
    學習資料
    https://ithelp.ithome.com.tw/articles/10223887
    https://ithelp.ithome.com.tw/articles/10224214
*/

/* === 全站背景 === */
body {
  background-color: #f8f4e8;
  background-position: center;
  background-size: 2400px;
}

/* === 固定背景圖 === */
.bgFixed {
  z-index: -1;
  position: fixed;
  background: url("../images/bgwater02.png") no-repeat center center / 2400px
    auto;
  height: 100vh;
  width: 100%;
}

@media (max-width: 991px) {
  .bgFixed {
    background: url("../images/bgwater02.png") no-repeat center center / 1400px
      auto;
    height: 100vh;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .bgFixed {
    background: url("../images/bgwater02-mb.png") no-repeat center bottom / 120%;
  }
}

/* === 主區塊背景 === */
main {
  background: url(../images/topBn_bgrepeat.webp) repeat-x top center / 100% 100%;
  overflow: hidden;
  position: relative;
  margin-top: -200px;
}

@media (max-width: 991px) {
  main {
    margin-top: -140px;
  }
}

@media (max-width: 767px) {
  main {
    margin-top: 0;
  }
}

/* === 首圖區 === */
#kvTopBN2 {
  background-image: url("../images/kvbgb.png");
  background-position: top center;
  background-size: 2400px;
  background-repeat: no-repeat;
}

@media (max-width: 991px) {
  #kvTopBN2 {
    background-image: url("../images/kvbgb.png");
    background-position: top center;
    background-size: 1600px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 767px) {
  #kvTopBN2 {
    background-image: url("../images/kvbg-mb.png");
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}

/* === KV 導覽點 === */
#kvTopBN2 .swiper-pagination {
  bottom: 5px;
}
@media (max-width: 991px) {
  #kvTopBN2 .swiper-pagination {
    bottom: 2%;
  }
}

/* === Swiper 分頁點樣式 === */
.swiper-pagination-bullet {
  background: #ffe100a9;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #ffe000;
}

/* === 發光文字效果 === */
.shineWord {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: transparent;
  z-index: 1;
  pointer-events: none;
  filter: brightness(1.5);
  mask-size: 500% 400%;
  mask-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transition: mask-position 3s;
  transform: translate3d(0, 0, 0);
  animation: move 2s linear infinite;
}

@keyframes move {
  from {
    mask-position: 150% 0px;
  }
  to {
    mask-position: 0% 0px;
  }
}

/* === 按鈕區塊 === */
.btnset a {
  color: #ca9f37;
  border: 3px solid #be0602;
  background: #fff;
  box-shadow: 3px 5px #880f0f;
  line-height: 1.2;
}
.btnset a:hover {
  color: #fff;
  border: 3px solid #ffd392;
  background: #ca141d;
  box-shadow: 3px 5px #8d6e40;
}

@media (max-width: 991px) {
  .btnset {
    font-size: 14px;
  }
}
@media (max-width: 425px) {
  .btnset {
    font-size: 12px;
  }
}

/* === 活動辦法區塊 === */
section#method {
  color: #000;
  text-shadow: 2px 2px 1px #fff;
}
section#method .container {
  /* background: #013b4aa4; */
  padding: 10px 0;
  border-radius: 16px;
}
section#method a {
  color: #ff0000;
}
section#method a:hover {
  background: #ff0000;
  color: #fff;
  padding: 0 10px;
  border-radius: 24px;
}

/* === 頁尾區 === */
footer {
  position: relative;
  z-index: 999;
}

/* === 區塊樣式 === */
.nocarslideinnBox01 {
  background: #084b7d;
  padding: 10px;
}

.productSetprice .priceBox {
  flex-direction: row !important;
}

.logooutbox .logoinn {
  flex-basis: 11%;
}
@media screen and (max-width: 640px) {
  .logooutbox .logoinn {
    flex-basis: 24%;
  }
}

.squarepppinfoinn-box.pppinfobox {
  background: #075f9e;
  color: #fff;
  text-decoration: none;
}

/* === 活動表格 === */
@media screen and (max-width: 767px) {
  .actablebox {
    font-size: 14px;
  }
  .actablebox th.table-title {
    font-size: 1.2rem;
  }
}

/* === 特效：硬幣飛 === */
.flyCoins {
  z-index: 9;
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/coins.png) repeat-y center top / 1450px;
}
@media (max-width: 767px) {
  .flyCoins {
    background: unset;
  }
}
.flyLeft,
.flyRight {
  z-index: 9;
  position: fixed;
  pointer-events: none;
  width: 25vw;
}
.flyLeft {
  top: 58vh;
  left: -10vw;
}
.flyRight {
  top: 20vh;
  right: -10vw;
}

/* === 滑鼠視差區塊 === */
.mouseParallax {
  position: fixed;
  width: 100vw;
  height: 100vh;
  bottom: -50vh;
  left: 0;
  background: #7f7f7f29;
}

/* === 雲朵圖層 === */
.cloud {
  position: absolute;
  top: 0;
  bottom: 0;
  width: auto;
  height: auto;
  z-index: 999;
  opacity: 0.8;
}

/* === 品類區 === */
#secspec .spec {
  width: 20%;
  max-width: 20%;
}

@media (max-width: 767px) {
  #secspec .spec {
    width: 25%;
    max-width: 25%;
  }
}

@media (min-width: 576px) {
  #secspec .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #secspec .container {
    max-width: 700px;
  }
}

@media (min-width: 992px) {
  #secspec .container {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  #secspec .container {
    max-width: 960px;
  }
}

/* === 沙灘 === */
.bgsand {
  background-image: url("../images/bgsand01c.png");
  background-repeat: no-repeat;
  background-position: top center;
  padding: 50px 0 10px;
  margin: 20px 0 0;
  filter: drop-shadow(0 0 10px #25b4be93);
}

.bgsand01 {
  background-size: cover;
  padding: 50px 0;
  margin: 20px 0;
}

@media (max-width: 767px) {
  .bgsand02 {
    background-size: cover;
    padding: 50px 0;
    margin: 20px 0;
  }
}

/* === 暢飲一夏 === */
#secdrink .slides {
  border: 16px rgba(80, 226, 242, 0.8) solid;
  outline: 4px #fff solid;
  background: #fff;
  border-radius: 24px;
  padding: 20px 0 8px;
}

@media (max-width: 767px) {
  #secdrink .slides {
    border: 8px rgba(80, 226, 242, 0.8) solid;
    outline: 2px #fff solid;
    border-radius: 12px;
    padding: 10px 0 2px;
  }
}

/* === OUTDOOR === */
#secoutdoor .slides {
  background: #fff;
  border-radius: 24px;
  filter: drop-shadow(0 8px 0 #d2a35280);
}

@media (max-width: 767px) {
  #secoutdoor .slides {
    margin-top: -20px;
    background: #fff;
    border-radius: 12px;
    padding: 15px 0;
    filter: drop-shadow(0 6px 0 #d2a35280);
  }
}

/* === 一起趣旅行 === */
#sectrip .pdtrips {
  margin-top: -40px;
}

@media (max-width: 767px) {
  #sectrip .pdtrips {
    margin-top: -10px;
  }
}

/* === 商品區 === */
.products {
  margin: 30px 0;
}

.products .pd {
  position: relative;
}

.products .title {
  position: absolute;
  z-index: 99;
  width: 75%;
  max-width: 75%;
  top: -2%;
  left: 0;
}

.products .slide {
  position: absolute;
  width: 50%;
  max-width: 50%;
  bottom: 0;
  left: 51%;
  border: 16px rgba(80, 226, 242, 0.8) solid;
  outline: 4px #fff solid;
  background: #fff;
  border-radius: 24px;
  padding: 20px 0 8px;
}

@media (max-width: 767px) {
  .products {
    margin: 20px 0;
  }
  .products .slide {
    bottom: -5%;
    left: 51%;
    border: 8px rgba(80, 226, 242, 0.8) solid;
    outline: 2px #fff solid;
    border-radius: 12px;
    padding: 10px 0 2px;
  }
}
