/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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: #2fffe0;
  background-position: center;
  background-size: 2400px;
}

/* === 固定背景圖 === */
.bgFixed {
  z-index: -1;
  position: fixed;
  background: url("../images/bgfixed.png") no-repeat center bottom / 2000px
    100vh;
  height: 100vh;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .bgFixed {
    background: url("../images/bgfixed-mb.png") no-repeat center top / auto
      100vh;
  }
}

/* === 主區塊背景 === */
main {
  background: url(../images/topBn_bgrepeat.webp) repeat-x top center / 100% 100%;
  /* overflow: hidden; */
  position: relative;
}

/* === 首圖區 === */
#kvTopBN {
  position: relative;
  background: url("../images/bgtop.jpg") no-repeat center top;
}

/* === KV 導覽點 === */
#kvTopBN2 .swiper-pagination {
  bottom: 25px;
}
@media (max-width: 991px) {
  #kvTopBN2 .swiper-pagination {
    bottom: 4%;
  }
}

/* === Swiper 分頁點樣式 === */
.swiper-pagination-bullet {
  background: #ff9f5bcb;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #ff9f5b;
}

/* === 發光文字效果 === */
.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: #00cf9b;
  border: 3px solid #00c6f7;
  background: #fff;
  box-shadow: 0px 6px #00659c;
  line-height: 1.2;
}
.btnset a:hover {
  color: #f6ff00;
  border: 3px solid #f6ff00;
  background: #00c6f7;
  box-shadow: 0px 2px #00659c82;
}

@media (max-width: 991px) {
  .btnset {
    font-size: 14px;
  }
}
@media (max-width: 425px) {
  .btnset {
    font-size: 12px;
  }
}

/* === 活動辦法區塊 === */
section#method {
  color: #fff;
}
section#method .container {
  background: #005d4ea4;
  padding: 10px 0;
  border-radius: 16px;
}
section#method a {
  color: #ffff00;
}
section#method a:hover {
  background: #ffff00;
  color: #013b4a;
  padding: 0 5px;
  border-radius: 24px;
}

@media (max-width: 767px) {
  section#method .container {
    padding: 10px 8px;
    border-radius: 0;
  }
}

/* === 頁尾區 === */
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;
}

/* KV */
#kvTopBN2 .kvtt {
  position: absolute;
  z-index: 99;
  pointer-events: none;
}

#kvTopBN2 .decos {
  display: none;
}

@media (max-width: 767px) {
  #kvTopBN2 .kvtt {
    position: relative;
    z-index: 99;
    pointer-events: none;
  }
  #kvTopBN2 .decos {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }
  #kvTopBN2 .deco.deco01 {
    position: absolute;
    pointer-events: none;
    width: 15vw;
    max-width: 15vw;
    top: -25vh;
    left: 3vw;
    animation: planetMove 3s ease-in-out -1s infinite alternate both;
  }
  #kvTopBN2 .deco.deco02 {
    position: absolute;
    pointer-events: none;
    width: 22vw;
    max-width: 22vw;
    top: -13vh;
    right: -8vw;
    animation: planetMove 3s ease-in-out -3s infinite alternate both;
  }
}

/* 主打活動 */
.brand {
  flex: 0 0 20.5%;
  width: 20.5%;
  max-width: 20.5%;
}

/* 熱銷商品 */
.bghito {
  background-image: url("../images/bghito.png");
  background-size: 100% 100%;
  background-position: center center;
  margin-top: -60px;
}

.slideshito {
  border: 6px #00c6f7 solid;
  border-radius: 20px;
  margin-top: -20px;
}

.shd-blue {
  filter: drop-shadow(0 10px 0 #0cffcabe);
}

@media (max-width: 767px) {
  .bghito {
    background-image: url("../images/bghito-mb.png");
    background-size: 100% 100%;
    background-position: center center;
    margin-top: -30px;
  }

  .slideshito {
    border: 5px #00c6f7 solid;
    border-radius: 12px;
    margin-top: -5px;
  }

  .shd-blue {
    filter: drop-shadow(0 10px 0 #0cffcabe);
  }
}

/* 星球 */
.planets .planet {
  z-index: -1;
  position: fixed;
  transform: translate(-50%, -50%);
}

@media (max-width: 1299px) {
  .planets .planet {
    display: none;
  }
}

.planets .planet.planetOrange {
  width: 12vw;
  max-width: 300px;
  top: 55vh;
  left: clamp(300px, 15vw, 120px);
  animation: planetMove 5s ease-in-out -2s infinite alternate both;
}

.planets .planet.planetRed {
  width: 10vw;
  max-width: 120px;
  top: 25vh;
  right: clamp(5px, 20vw, 10px);
  animation: planetMove 5s ease-in-out -2s infinite alternate both;
}

.planets .planet.planetBlue {
  width: 12vw;
  max-width: 200px;
  bottom: 1vh;
  right: clamp(30px, 45vw, 20px);
  animation: planetMove 3s ease-in-out -1s infinite alternate both;
}

@keyframes planetMove {
  0% {
    translate: 0 15px;
  }
  100% {
    translate: 0 -15px;
  }
}
