.kv {
  background: url(../img/kv.svg) no-repeat right top;
  position: relative;
  overflow: hidden;
  height: 70vh;
  animation: square 1.5s step-end;
  -webkit-animation: square 1.5s step-end;
}

@keyframes square {
  30% {
    background: url(../img/kv-2.svg) no-repeat right top;
  }

  46% {
    background: url(../img/kv-3.svg) no-repeat right top;
  }

  100% {
    background: url(../img/kv.svg) no-repeat right top;
  }
}

.kv-box {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -40%);
}

.kv-box h2 {
  margin-top: 50px;
}

.kv-box h4 {
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.3rem;
  margin-right: -0.3rem
}

.kv .kv-box img {
  margin: 15px 10px;
  width: 65%;
}

@media (max-width:1700px) {
  .kv .kv-box img {
    width: 100%;
  }
}

@media (max-width:991px) {
  .kv-box span {
    display: block;
  }
}

.deco {
  position: absolute;
  z-index: -1;
  left: 0;
  top: -2rem;
}

.deco img {
  display: block;
  width: 700px;
}

@media (max-width:767px) {
  .deco {
    top: 20rem;
  }

  .deco img {
    width: 500px;
  }
}

@media (max-width:576px) {
  .deco {
    top: 30rem;
  }

  .deco img {
    width: 100%;
  }

  .kv h4 {
    font-size: 20px;
    letter-spacing: 0.1rem;
  }
}

/* ---------------
  內頁KV
   --------------- */
.innerKV {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  background: url(../img/deco-2.svg) no-repeat right top;
  background-color: var(--main);
}
.innerKV img{
  transform: translateY(10px);
}

@media screen and (max-width:992px) {
  .innerKV {
    height: 340px;
  }
}