/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/bgmain.jpg") no-repeat center top / 2400px auto;
  height: 100vh;
  width: 100%;
}

.balloon {
  position: fixed;
  pointer-events: none;
  z-index: 9;
  top: 40vh;
  left: 75%;
}

@media screen and (max-width: 767px) {
  .bgFixed {
    background: url("../images/bgmain.jpg") no-repeat center top / auto 110vh;
  }
}

/* === 主區塊背景 === */
main {
  background: url(../images/topBn_bgrepeat.webp) repeat-x top center / 100% 100%;
  overflow: hidden;
  position: relative;
}

/* === 首圖區 === */
#kvTopBN2 {
  background: url("../images/kvbg.png") no-repeat center top / 2400px 100%;
  z-index: 999;
}

@media (max-width: 767px) {
  #kvTopBN2 {
    background: url("../images/kvbg-mb.png") no-repeat center top / 100% 100%;
  }
}

/* === KV 導覽點 === */
#kvTopBN2 .swiper-pagination {
  bottom: 25px;
}
@media (max-width: 991px) {
  #kvTopBN2 .swiper-pagination {
    bottom: 4%;
  }
}

/* === 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 {
  background-image: url("../images/bgbtn.png");
  background-size: 100% 100%;
  background-position: center bottom;
  color: #5c301a;
  border: unset;
  box-shadow: 0 3px 10px #1d0c0471;
  line-height: 1.2;
}
.btnset a:hover {
  color: #fffff4;
  border: 3px solid #ca0d23;
  background: #5c301a;
  box-shadow: 0 3px 10px #1d0c0471;
}

@media (max-width: 991px) {
  .btnset {
    font-size: 14px;
  }
}
@media (max-width: 425px) {
  .btnset {
    font-size: 12px;
  }
}

/* === 活動辦法區塊 === */
section#method {
  color: #fff;
}
section#method .container {
  background: #230f0475;
  padding: 10px 20px;
  border-radius: 16px;
}
section#method a {
  color: #ffff00;
}
section#method a:hover {
  background: #ffff00;
  color: #5c301a;
  padding: 0 5px;
  border-radius: 24px;
}

/* === 頁尾區 === */
footer {
  position: relative;
  z-index: 8888;
}

/* === 區塊樣式 === */
.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;
  }
}

/* === 特效：硬幣飛 === */
.flys {
  display: flex;
  position: fixed;
  width: 100vw;
  max-width: 100vw;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.flyObjLeft {
  pointer-events: none;
  z-index: 5;
  text-align: center;
  pointer-events: none;
  width: 85%;
  margin-top: 25vh;
  min-width: 1400px;
}

.flyObjRight {
  pointer-events: none;
  z-index: 9;
  text-align: center;
  pointer-events: none;
  width: 100%;
  margin-top: -125vh;
  min-width: 2000px;
}

.flyObjLeft img {
  animation: float 4.5s ease-in-out -1s infinite alternate both;
  filter: drop-shadow(2px 5px 5px #2c609853);
}

.flyObjRight img {
  animation: float 3s ease-in-out -2s infinite alternate both;
  filter: drop-shadow(2px 5px 5px #2c609853);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1199px) {
  .flyObjLeft {
    margin-top: 5vh;
    min-width: 110vw;
  }

  .flyObjRight {
    margin-top: -185vh;
    min-width: 120vw;
  }
}

@media (max-width: 767px) {
  .flyObjCoins {
    z-index: 9;
    background: unset;
  }
  .flyObjLeft {
    display: none;
  }

  .flyObjRight {
    display: none;
  }
}

/* === 滑鼠視差區塊 === */
.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;
}

/* for this page */
/* 撒金箔 */
#gold {
  position: fixed;
  pointer-events: none;
  overflow: hidden;
  z-index: 8887;
}

.kvtitle {
  display: inline-block;
  position: relative;
  pointer-events: none;
  z-index: 999;
  animation: kvitemUp 0.8s ease-in-out 1 both;
}

@keyframes kvitemUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.kvdeco {
  position: absolute;
  pointer-events: none;
  /* width: 100%;
  max-width: 100%; */
}

.kvpromotion {
  top: 39.5%;
  left: 19.6%;
  max-width: 35%;
  animation: kvitemUp 0.8s ease-in-out 1 0.8s both;
}

@media (max-width: 767px) {
  .kvpromotion {
    top: 27.5%;
    left: 23.5%;
    width: 70vw;
    max-width: 70vw;
    animation: kvitemUp 0.8s ease-in-out 1 0.8s both;
  }
}

.kvairplane {
  top: 7.5%;
  left: 42%;
  width: 15vw;
  max-width: 15vw;
  transform: rotate(15deg);
  animation: airplane 5s ease-in-out infinite 2s backwards;
}

@keyframes airplane {
  0% {
    opacity: 0;
    transform: rotate(0deg);
    top: 25%;
    left: -5%;
    filter: blur(5);
  }
  45% {
    opacity: 1;
    transform: rotate(15deg);
    top: 7.5%;
    left: 42%;
    filter: blur(0);
  }
}

@media (max-width: 767px) {
  .kvairplane {
    top: 3.5%;
    left: 17%;
    width: 25vw;
    max-width: 25vw;
    transform: rotate(15deg);
    animation: airplane 5s ease-in-out infinite 2s backwards;
  }
  @keyframes airplane {
    0% {
      opacity: 0.4;
      transform: rotate(0deg);
      top: 12%;
      left: -40%;
      filter: blur(5);
    }
    45% {
      opacity: 1;
      transform: rotate(15deg);
      top: 3.5%;
      left: 17%;
      filter: blur(0);
    }
  }
}

.kvphoto {
  width: 16.5vw;
  max-width: 16.5vw;
}

.kvphoto.kvphoto01 {
  top: 59%;
  left: 13%;
  transform-origin: -200px 200px;
  animation: photoAppear 1.2s ease-in-out 1 1.75s backwards;
}

.kvphoto.kvphoto02 {
  top: 40%;
  left: 1%;
  z-index: 9;
  transform-origin: -200px 200px;
  animation: photoAppear 1.2s ease-in-out 1 1.4s backwards;
}

@keyframes photoAppear {
  0% {
    opacity: 0;
    rotate: 25deg;
  }

  100% {
    opacity: 1;
    rotate: 0;
  }
}

@media (max-width: 767px) {
  .kvphoto {
    width: 37vw;
    max-width: 37vw;
  }

  .kvphoto.kvphoto01 {
    top: 65%;
    left: 5%;
    transform-origin: -200px 200px;
    animation: photoAppear 1.2s ease-in-out 1 1.75s backwards;
  }

  .kvphoto.kvphoto02 {
    top: 38%;
    left: -5%;
    transform-origin: -200px 200px;
    animation: photoAppear 1.2s ease-in-out 1 1.4s backwards;
  }
  @keyframes photoAppear {
    0% {
      opacity: 0;
      rotate: 25deg;
    }

    100% {
      opacity: 1;
      rotate: 0;
    }
  }
}

/* .kvballoon.kvballoon01 {
  top: 46%;
  left: -5%;
}

.kvballoon.kvballoon02 {
  top: 3.5%;
  left: 96%;
  z-index: 9;
} */

/* main */
.bgwood {
  background: url("../images/bgwood.png") no-repeat center top / 2400px auto;
  padding: 20px 0 60px;
}

.bgwood-method {
  padding-bottom: 20px;
}

@media (max-width: 767px) {
  .bgwood {
    background: url("../images/bgwood.png") repeat-y center top / 750px auto;
    padding: 20px 0 20px;
  }
}

.slide-italy {
  padding: 0px 8px 0px 8px;
  border: 8px solid #fff;
  background: linear-gradient(
    to bottom,
    #ffffff20 0%,
    #ffffff20 70%,
    #ffffff 70%,
    #ffffff 100%
  );
}

.slide-italy-only1 {
  padding: 0 4px 0 4px;
}

@media (max-width: 767px) {
  .slide-italy {
    padding: 0px 8px 0px 8px;
    border: 8px solid #fff;
    background: linear-gradient(
      to bottom,
      #ffffff20 0%,
      #ffffff20 55%,
      #ffffff 55%,
      #ffffff 100%
    );
  }
}

.promotion {
  margin-top: -40px;
  padding: 0 50px;
}

.weekday {
  margin-top: -40px;
  padding: 0 20px;
}

.bgpasta {
  background-size: 100% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  border-radius: 20px 20px 0 0;
}

.pdpasta01 {
  margin-top: -8px;
}

.pdpasta02,
.pdpasta03 {
  margin-top: -1px;
}

.bgpasta01 {
  background-image: url("../images/bgpasta01.png");
}

.bgpasta02 {
  background-image: url("../images/bgpasta02.png");
}

.bgpasta03 {
  background-image: url("../images/bgpasta03.png");
}

.bgoil {
  background-image: url("../images/bgoil.png");
  background-size: 100% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.bgpizza {
  background-image: url("../images/bgpizza.png");
  background-size: 100% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
}

#myDropdown {
  z-index: 9999;
}
