.kv {
  position: relative;
  margin-top: -195px;
  text-align: left;
  width: 100%;
  height: 866px;
  background-size: cover !important;
  background: url(../img/kv.jpg) no-repeat 50% 50% scroll;
}

.kv .kv-title {
  position: absolute;
  bottom: 130px;
  top: auto;
  left: 0;
  right: 0;
  display: block;
  text-align: center;
  justify-content: center;
  max-width: 100%;
  object-fit: cover;
  background-size: cover !important;
  z-index: 1;
  animation: fade-in-fwd 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 300ms both;
}
@keyframes fade-in-fwd {
  0% {
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    transform: translateZ(0);
    opacity: 1;
  }
}


@media (max-width: 1300px)  {
  .kv{
    margin-top: -150px;
  }
}


@media (max-width: 991px)  {
  .kv{
    height: 800px;
  }
  .kv .kv-title{
    max-width: 80%;
  }
}


@media (max-width:767px) {
  .kv {
    position: static;
    margin-top: 0;
    width: 100%;
    height: auto;
    background-image: none;
  }
}





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

.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: 120px;
  }

  .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;
  }
}