/*====================================
# 影片
==================================== */
.section-kv {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 80px;
}

.section-kv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(1, 21, 46, 0.6) 0%,
      rgba(1, 21, 46, 1) 50%,
      rgba(1, 21, 46, 0.6) 100%);
  z-index: 0;
  pointer-events: none;
}


.kv-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.kv-txt {
  color: #ffffff;
  text-align: center;
  z-index: 2;
  padding: 1rem;
}

.section-kv h1 {
  font-size: 3.6rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 5px #212121;
}

.section-kv h2 {
  font-size: 2.6rem;
  font-weight: 300;
}

.section-kv h5 {
  color: #FDDD89;
}

.section-kv p {
  margin-bottom: 3rem;
}


.kv-btn {
  font-size: 20px;
  color: #1D252C;
  font-weight: 600;
  background-color: #FEEBA0;
  padding: 18px 40px;
  border-radius: 30px;
  margin-top: 3rem;
}

.kv-btn:hover {
  color: #011f45;
  background-color: #ffffff;
}

.kv-btn span {
  padding-right: 15px;
}

.kv-btn svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.kv-btn:hover svg {
  transform: translateX(0);
}

.kv-btn:active svg {
  transform: scale(0.9);
}


/* 文字垂直位置定位 改height */
.section-kv .kv-content .kv-txt::before {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
}

@media (max-width:900px) {
  .section-kv .kv-content .kv-txt::before {
    height: 80px;
  }

  .section-kv h1 {
    font-size: 2.4rem;
  }

  .section-kv h2 {
    font-size: 1.7rem;
  }

}

@media (max-width:768px) {
  .section-kv .kv-content .kv-txt::before {
    height: 60px;
  }

  .section-kv h1 {
    font-size: 2.5rem;
  }

  .section-kv h2 {
    font-size: 1.8rem;
  }
}

@media (max-width:576px) {
  .section-kv {
    height: 550px;
  }

  .section-kv .kv-content .kv-txt::before {
    height: 50px;
  }

  .section-kv h1 {
    font-size: 2.5rem;
  }

  .section-kv h2 {
    font-size: 1.8rem;
  }

}


/*====================================
# 內頁
==================================== */

.inner-kv {
  margin-top: 80px;
  color: #ffffff;
  background-image: url(../img/box-img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}


.inner-kv h5 {
  color: #FDDD89;
}

@media (max-width:576px) {

  .inner-kv h1 {
    font-size: 2rem;
  }

  .inner-kv h2 {
    font-size: 1.6rem;
  }

  .inner-kv p {
    font-size: 17px;
  }

}