.kv {
  background: url(../img/kv.png) no-repeat center bottom;
  background-size: cover;
  position: relative;
  height: 750px;
}

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

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

.kv h5,
.kv p {
  margin: 20px 0;
}

.kv h5 span,
.kv p span {
  color: #fff;
  padding: 5px 20px;
  position: relative;
}

.kv p span {
  color: #fff;
  padding: 5px 25px;
  position: relative;
}
.kv h5 span::before,
.kv p span::before {
  content: '';
  background: linear-gradient(90deg, #ff3662 0%, #ff0fa8 100%);
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  margin: auto;
  position: absolute;
  z-index: -1;
  -webkit-animation: scale-in-hor-center 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-hor-center 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes scale-in-hor-center {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    opacity: 1;
  }
}

.kv h5 {
  font-size: 2.5rem;
}


.kv p {
  color: #ff3662;
  font-size: 2rem;
}
@media (max-width:1500px) {
  .kv .kv-box img {
    width: 500px;
  }
}
@media (max-width:1199px) {
  .kv {
    height: 600px;
  }

  .kv .kv-box {
    margin-top: 70px;
  }
  .kv .kv-box img {
    width: 450px;
  }
}
@media (max-width:991px) {
  .kv {
    background: url(../img/kv_xs.png) no-repeat bottom;
    background-size: cover;
  }
  .kv .kv-box img {
    width: 350px;
  }
}


@media (max-width:804px) {
  .kv h5 {
    font-size: 1.9rem;
  }
  .kv p {
    font-size: 1.5rem;
  }
}

/* ---------------
  內頁KV
   --------------- */
.content-kv {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-size: cover !important;
  background: url(../img/kv_bg-content.png) no-repeat center 70% scroll;
  box-shadow: 0 5px 14px #eee;
}

/* .content-kv .content-logo {
  display: flex;
  width: 550px;
  height: auto;
  margin: auto;
} */

/* .content-kv-stitle {
  font-size: 3.5vmin;
  margin: auto;
  color: #71f6ff;
  font-weight: 500;
  text-shadow: 1px 2px 4px #1f37a3;
} */

@media screen and (max-width:1100px) {
  /* .content-kv .content-logo {
    width: 80%;
    height: auto;
    padding: 0;
  } */

  /* .content-kv-stitle {
    padding: 0;
  } */
}

@media screen and (max-width:1000px) {
  .content-kv {
    background-size: contain;
    height: 200px;
  }
}

@media screen and (max-width:900px) {
  .content-kv {
    height: 160px;
  }
}

@media screen and (max-width:900px) {
  .content-kv {
    height: 120px;
  }
}



@media screen and (max-width:540px) {
  .content-kv {
    background: url(../img/kv_2.png) no-repeat 70% center scroll;
    height: 200px;
  }

  /* .content-kv-stitle {
    padding-left: 0;
  }

  .content-kv .content-logo {
    padding: 0;
  }

  .content-kv-stitle {
    font-size: 5vmin;
  } */
}

@media screen and (max-width:400px) {
  .content-kv {
    height: 80px;
  }
}