/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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-image: url(../images/body-bg.jpg);
  /* background-color: #f7a6a8; */
  background-position: center;
  background-size: 2000px;
  background-attachment: fixed;
}

body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/body-bg.jpg) no-repeat top center;
    -webkit-background-size: 2000px;
    -moz-background-size: 2000px;
    -o-background-size: 2000px;
    background-size: 2000px;
}

.footer-bg {
  background-image: url(../images/footer-bg.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.bogo-title {
  background-image: url(../images/bogo-title.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* .bgsubtitle5 {
  background-image: url(../images/bgsubtitle5.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
} */

.pdstage {
  background-image: url(../images/pdstage.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 1499px) {
}

@media screen and (max-width: 767px) {
  body {
    background-image: url(../images/bg01-mb.png);
    background-position: top center;
    background-size: 800px;
    background-attachment: fixed;
  }

  body:before {
      content: "";
      display: block;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: -10;
      background: url(../images/bg01-mb.png) no-repeat top center;
      -webkit-background-size: 800px;
      -moz-background-size: 800px;
      -o-background-size: 800px;
      background-size: 800px;
  }

  .bogo-title {
    background-image: url(../images/bogo-title-mb.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .pdstage {
    background-image: url(../images/pdstage-mb.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media (max-width: 767px) {
  .bgsubtitle5 {
    background-image: url(../images/bgsubtitle5-mb.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

#kvTopBN2 {
  position: relative;
  /* background: url("../images/kvbg.png");
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat; */
}

#kvTopBN2 .kvtt {
  animation: updown 3s ease-in-out -1s infinite both alternate;
}

@keyframes updown {
  0% {
    transform: translate(0, 2%);
    filter: brightness(1.6);
  }

  1% {
    filter: brightness(1);
  }

  8% {
    filter: brightness(1.2);
  }

  10% {
    filter: brightness(1);
  }

  50% {
    transform: translate(0, -2%);
  }
  100% {
    transform: translate(0, 2%);
  }
}

@media (max-width: 1299px) {
  #kvTopBN2 {
    background-position: center top;
    background-size: auto 100%;
    background-repeat: no-repeat;
  }
}

@media (max-width: 767px) {
  #kvTopBN2 {
    /* background: url("../images/kvbg-mb.png");
    background-position: center top;
    background-size: 100%;
    background-repeat: no-repeat; */
  }
}

.shineWord {
  position: absolute;
  text-align: center;
  top: 0;
  left: 0;
  right: 0;
  background: none 0% 0% / auto repeat scroll padding-box border-box
    rgba(0, 0, 0, 0);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  -webkit-filter: brightness(1.5);
  filter: brightness(1.5);
  -webkit-mask-size: 500% 400%;
  mask-size: 500% 400%;
  -webkit-mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  mask-image: -webkit-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 60%
  );
  transition: -webkit-mask-position;
  transition-duration: 3s;
  transform: translate3d(0, 0, 0);
  -webkit-animation: move 2s linear infinite;
  animation: move 2s linear infinite;
}

@-webkit-keyframes move {
  from {
    -webkit-mask-position: 150% 0px;
    mask-position: 150% 0px;
  }
  to {
    -webkit-mask-position: 0% 0px;
    mask-position: 0% 0px;
  }
}

@keyframes move {
  from {
    -webkit-mask-position: 150% 0px;
    mask-position: 150% 0px;
  }
  to {
    -webkit-mask-position: 0% 0px;
    mask-position: 0% 0px;
  }
}

/* 按鈕顏色 */
.btnset a {
  color: #d4232b;
  border: 3px solid #d4232b;
  background-color: #fff;
  box-shadow: 0px 5px #650006;
  line-height: 1.2;
} /*來去逛逛*/

.btnset a:hover {
  /*    color: rgb(44, 40, 1);*/
  color: #fff;
  border: 3px solid #ffffff;
  background-color: #d4232b;
  box-shadow: 0px 2px #8d6e40;
} /*來去逛逛滑鼠移入*/

@media (max-width: 991px) {
  .btnset {
    font-size: 14px;
  }
}

@media (max-width: 425px) {
  .btnset {
    font-size: 12px;
  }
}

.nocarslideinnBox01 {
  background-color: #084b7d;
  padding: 10px;
}

/* 原價特價折疊控制 打開變1列 關掉變2列 */
.productSetprice .priceBox {
  flex-direction: row !important;
}

.bgwhite {
  background-color: #ffffff;
}

/* logo區圖片大小控制 */
.logooutbox .logoinn {
  flex-basis: 11%;
}

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */

.squarepppinfoinn-box.pppinfobox {
  background: #075f9e;
  text-decoration: none;
  color: #fff;
}

.text-red {
  color: #ff0000;
}

.text-yelo {
  color: #ffcc00;
}

.m-less {
  margin-top: 3rem;
  margin-right: 3rem;
}

/* 斷點區 */

@media screen and (max-width: 1659px) {
}
@media screen and (max-width: 1399px) {
}
@media screen and (max-width: 1199px) {
  .m-less {
    margin-top: 1.5rem;
    margin-right: 1.5rem;
  }
}

@media screen and (max-width: 991px) {
  .m-less {
    margin-top: 2rem;
    margin-right: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .actablebox {
    font-size: 14px;
  }
  .actablebox th.table-title {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 640px) {
  .logooutbox .logoinn {
    flex-basis: 24%;
  }
}

@media screen and (max-width: 480px) {
}

/* 特效 */
/* 硬幣飛 */
.flyCoins {
  z-index: 2;
  position: absolute;
  pointer-events: none;
  overflow: visible;
  top: 60vh;
  left: 0;
  width: 100%;
  height: 1600px;
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 1800px;
  background-image: url(../images/bg01deco.png);
}

@media (max-width: 1499px) {
  .flyCoins {
    top: 60vh;
    height: 1600px;
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 1600px;
  }
}

@media (max-width: 1499px) {
  .flyCoins {
    top: 60vh;
    height: 1600px;
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 1700px;
  }
}

@media (max-width: 767px) {
  .flyCoins {
    z-index: 9;
    background: unset;
  }
}

/* 滑鼠視差 */
.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 */
.slidesBorder {
  background: #fff;
  border: 6px solid #ff4791;
  border-radius: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  filter: drop-shadow(0 9px 4px #b546539f);
}

.slidesBorderLight {
  background: #fff;
  border: 6px solid #ffaed1;
  border-radius: 24px;
  filter: drop-shadow(0 9px 4px #d5aebd9f);
}

.slidesUp {
  margin-top: -50px;
  z-index: 99;
}

.swiper-pagination {
  bottom: -5px !important;
}

#kvTopBN2 {
  bottom: 20% !important;
}

@media (max-width: 1499px) {
  .slidesUp {
    margin-top: -25px;
    z-index: 99;
  }
}

@media (max-width: 767px) {
  .slidesBorder {
    border: 4px solid #ff4791;
    border-radius: 16px;
    filter: drop-shadow(0 6px 4px #b546539f);
  }

  .slidesBorderLight {
    border: 4px solid #ffaed1;
    border-radius: 16px;
    filter: drop-shadow(0 6px 4px #d5aebd9f);
  }

  .slidesUp {
    margin-top: -30px;
    z-index: 99;
  }
}

#sectionfood {
  position: relative;
}

.bgfood {
  background: url("../images/bgfood.png");
  background-size: 100% 100%;
  margin-top: -35px;
}

@media (max-width: 767px) {
  /* #sectionfood {
    margin-top: -65px;
  } */

  .bgfood {
    background-image: none;
    border: 4px solid #fff;
    border-radius: 24px;
    background-image: linear-gradient(
      to bottom,
      #e61a4d 0%,
      #ec707e 80%,
      #e61a4d 100%
    );
    padding: 30px 0 20px;
  }
}

/* 多件省更多 & 獨家優惠 */
.frozenlaundryBox #sec01 .carsboxbg,
.frozenlaundryBox #sec02 .carsboxbg {
  z-index: -9;
  border-width: 6px;
  border-style: solid;
  border-color: #ffaed1;
  border-top-style: none;
  background: linear-gradient(to bottom, #ffffff30, #fff 18%) !important;
  border-radius: 24px;
  filter: none;
  transform: translateY(-45px);
}

.frozenlaundryBox #sec01 .carsboxbg {
  /* border-color: #ffc513; */
}

.frozenlaundryBox #sec02 .carsboxbg {
  /* border-color: #18a9fc; */
}

.frozenlaundryBox {
  margin-top: 60px;
}

.frozenlaundryBox .imgzidex {
  background: url("../images/bgpd01.png");
  background-size: 100% 100%;
  z-index: 9999;
}

@media (max-width: 1299px) {
  .frozenlaundryBox {
    margin-top: 30px;
  }
}

.frozenlaundryBox .pdspec {
  position: absolute;
  z-index: 99;
}

.frozenlaundryBox .pdspec.pd1-1 {
  width: 50%;
  max-width: 50%;
  top: 0;
  left: 0;
}

.frozenlaundryBox .pdspec.pd1-2 {
  width: 56.667%;
  max-width: 56.667%;
  bottom: 7%;
  right: 0;
}

.frozenlaundryBox .pdspec.pd2-1 {
  width: 50%;
  max-width: 50%;
  top: 15%;
  left: 0;
}

.frozenlaundryBox .pdspec.pd2-2 {
  width: 56.667%;
  max-width: 56.667%;
  bottom: 7%;
  right: 0;
}

@media (max-width: 767px) {
  .frozenlaundryBox .carsboxbg {
    border-radius: 16px;
  }
}

/* 六大分類 */
.sectionsort .imgzidex {
  background-size: 100% 100%;
}

.sectionsort .imgzidex.imgzidex03 {
  background-image: url("../images/bg03.png");
}

.sectionsort .imgzidex.imgzidex04 {
  background-image: url("../images/bg04.png");
}

.sectionsort .imgzidex.imgzidex05 {
  background-image: url("../images/bg05.png");
}

.sectionsort .imgzidex.imgzidex06 {
  background-image: url("../images/bg06.png");
}

.sectionsort .imgzidex.imgzidex07 {
  background-image: url("../images/bg07.png");
}

.sectionsort .imgzidex.imgzidex08 {
  background-image: url("../images/bg08.png");
}

.sectionsort .ppadding {
  margin-top: 20px;
  margin-bottom: 20px;
}

.sectionsort .ppadding .pdsort {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
}

.sectionsort .ppadding:nth-of-type(even) .pdsort {
  left: -7%;
}

section#method a {
  color: #ff4791;
}

section#method a:hover {
  background: #ff4791;
  color: #fff;
  padding: 0 5px;
  border-radius: 24px;
}
