/* 按鈕閃光 S */
.light {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  overflow: hidden;
  display: block;
  position: relative;
}

.light:after {
  content: "";
  display: block;
  position: absolute;
  left: -150%;
  top: 0;
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
  animation: light 3s infinite ease-in-out;
}

@keyframes light {
  0% {
    left: -150%;
  }

  70% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

/* 按鈕跳動-果凍 */
.bounce {
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }

  10% {
    transform: scale(1.05, .95) translate3d(0, 0, 0);
  }

  30% {
    transform: scale(.95, 1.05) translate3d(0, -8%, 0);
  }

  50% {
    transform: scale(1.02, .97) translate3d(0, 0, 0);
  }

  57% {
    transform: scale(1, 1) translate3d(0, -2%, 0);
  }

  64% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }
}

/* 放大縮小 */
.shrink {
  animation: shrink 2s infinite linear;
}


@keyframes shrink {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.05, 1.05);
  }

  100% {
    transform: scale(1, 1);
  }
}

/* 漂浮 */
.float {
  animation: float 1.5s infinite ease-in-out alternate;
}

@keyframes float {
  0% {
    transform: translateY(-10px)
  }

  100% {
    transform: translateY(10px);
  }
}

.offerBtn {
  transition: all .3s;
}

.offerBtn:hover {
  opacity: 0.9;
}

.collapse_button {
  transition: all 0.3s;
}

.collapse_button:hover {
  cursor: pointer;
}

.offerBtn {
  transition: all 0.3s;
}

.offerBtn:hover {
  opacity: 0.8;
}

.video3 {
  position: absolute;
  width: 87%;
  top: -18.5%;
  left: 7.5%;
  clip-path: inset(0 3.2% 0 1.2%);
}

.thing-36 {
  width: 100%;
  top: 0%;
  left: 0%;
}

.thing-37 {
  width: 100%;
  top: 0%;
  left: 0%;
}

.thing-38a {
  width: 30.5%;
  top: 4.8%;
  left: 3%;
  z-index: 1;
}

.thing-38b {
  width: 30.5%;
  top: 3%;
  left: 2.5%;
  z-index: 1;
}

.thing-39a {
  width: 54.1%;
  top: 42.5%;
  left: 3%;
  z-index: 1;
}

.thing-40a {
  width: 24.3%;
  top: 62%;
  left: 69%;
  mix-blend-mode: screen;
  -webkit-mask: url("../images/offer/thing-40.png") no-repeat center center;
  mask: url("../images/offer/thing-40.png") no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.thing-40b {
  width: 24.3%;
  top: 61.5%;
  left: 69%;
  mix-blend-mode: screen;
  -webkit-mask: url("../images/offer/thing-40.png") no-repeat center center;
  mask: url("../images/offer/thing-40.png") no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.thing-41_btn_a {
  width: 88.2%;
  top: 77%;
  left: 6%;
}

.thing-41_btn_b {
  width: 88.2%;
  top: 77.5%;
  left: 6%;
}

.thing-42 {
  width: 26.4%;
  top: 3%;
  left: 6%;
}

.thing-43_btn {
  width: 88.2%;
  top: 80%;
  left: 5%;
}

.thing43_light {
  width: 24.3%;
  top: 64%;
  left: 69%;
  -webkit-mask: url("../images/offer/thing-40.png") no-repeat center center;
  mask: url("../images/offer/thing-40.png") no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.thing-44 {
  width: 26.4%;
  top: 3%;
  left: 5%;
}

.thing44_light {
  width: 24.3%;
  top: 59%;
  left: 69%;
  -webkit-mask: url("../images/offer/thing-40.png") no-repeat center center;
  mask: url("../images/offer/thing-40.png") no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.thing-45_btn {
  width: 88.2%;
  top: 74%;
  left: 5%;
}

/* 動畫效果 */
/* 按鈕閃光 S */
.light {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  overflow: hidden;
  display: block;
  position: relative;
}

.light:after {
  content: "";
  display: block;
  position: absolute;
  left: -150%;
  top: 0;
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(left,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.7) 100%);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.7) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
  animation: light 3s infinite ease-in-out;
}

@keyframes light {
  0% {
    left: -150%;
  }

  70% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

/* 按鈕閃光 S */

/* 按鈕跳動-果凍 */
.bounce {
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }

  10% {
    transform: scale(1.05, 0.95) translate3d(0, 0, 0);
  }

  30% {
    transform: scale(0.95, 1.05) translate3d(0, -8%, 0);
  }

  50% {
    transform: scale(1.02, 0.97) translate3d(0, 0, 0);
  }

  57% {
    transform: scale(1, 1) translate3d(0, -2%, 0);
  }

  64% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1, 1) translate3d(0, 0, 0);
  }
}

/* 放大後縮小 */
.shrink {
  animation: shrink 2s infinite linear;
}

.shrink2 {
  animation: shrink 2s 0.5s infinite linear;
}

@keyframes shrink {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.05, 1.05);
  }

  100% {
    transform: scale(1, 1);
  }
}

/* 跑馬燈 */
.marquee1 {
  animation: marquee_left 8s infinite linear;
}

.marquee2 {
  transform: translateX(110%);
  animation: marquee_left 8s 4s infinite linear;
}

@keyframes marquee_left {
  0% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(-110%);
  }
}

.scale1 {
  animation: scale 6s infinite linear;
}

.scale2 {
  animation: scale 6s 1s infinite linear;
}

.scale3 {
  animation: scale 6s 2s infinite linear;
}

.scale4 {
  animation: scale 6s 3s infinite linear;
}

.scale5 {
  animation: scale 6s 4s infinite linear;
}

.scale6 {
  animation: scale 6s 5s infinite linear;
}

@keyframes scale {
  0% {
    transform: scale(1);
  }

  16.67% {
    transform: scale(1.05);
  }

  33.3% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

.float {
  animation: float 2s infinite ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.close_img {
  width: 100%;
  max-height: 0;
  transition: max-height 0.8s cubic-bezier(1, 0.2, 0.2, 1);
  overflow: hidden;
}

.show {
  max-height: 5000px;
}