:root {
  --main_color: #005ee9;
  --second_color: #364151;
  --title_color: #0f172a;
  --btn_radius: 35px;
  --section_distance: 99px;
  --section_distance_pc: 125px;
  --title_distance: 39px;
  --title_distance_pc: 45px;
  scroll-padding-top: 3rem;
}

html,
body {
  font-size: 18px;
  letter-spacing: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "微軟正黑", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* line-height: 30px; */
  color: #364151;
  background: #fff;
}

.btn-primary {
  border-radius: var(--btn_radius);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  line-height: 1.8;
}

.logo-text {
  display: none;
}

.h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  margin-top: 20px;
}

.tag {
  font-size: 18px;
  font-weight: 400;
  display: inline-block;
  background-image: url(../images/icon_b.png);
  background-position: left center;
  background-size: 25px auto;
  background-repeat: no-repeat;
  margin-bottom: 10px;
  padding-left: 40px;
}

.navbar {
  background-color: rgba(24, 29, 48, 0.2);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 99;
  letter-spacing: 1.5px;
}

.navbar-brand {
  max-width: 150px;
  width: 100%;
  padding: 0;
}

.navbar-toggler {
  padding: .25rem 0.45rem;
  background-color: var(--main_color);
  color: #fff;
  border-radius: 0;
  border-width: 0;
}

.navbar:has(.navbar-collapse.show) {
  background-color: rgba(24, 29, 48, 1);
}

.navbar-collapse {
  text-align: center;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url(../images/menu-icon.svg);
}

.fixed-top {
  position: fixed;
  background-color: rgba(24, 29, 48, 1);
}

.section_kv {
  position: relative;
}

.section_kv::before {
  background-color: transparent;
  content: '';
  background-image: linear-gradient(110deg, #0F172A 2%, #18303000 100%);
  display: block;
  height: 0px;
  left: 0;
  mix-blend-mode: initial;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 100%;
  padding-bottom: 100%;
  z-index: 5;
}

.section_kv .carousel-item {
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  text-align: center;
}

.kv-content {
  position: absolute;
  width: 100%;
  top: 50%;
  margin-top: -25%;
  z-index: 6;
  color: #fff;
  text-shadow: 1px 1px 2px black;
}

.kv-content .h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;

}

.section_about,
.section_service,
.section_qa,
.section_contact,
.touch {
  padding-top: 30px;
  padding-bottom: 30px;
}

.carousel-radius {
  border-radius: 20px;
}

.list-cheack {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.list-cheack li {
  background-image: url(../images/cheack.png);
  background-repeat: no-repeat;
  background-size: 22px auto;
  background-position: left center;
  padding-left: 30px;
  margin-bottom: 10px;
}

.touch img {
  max-width: 200px;
}

.touch a p {
  color: #0F172A;
  font-size: 25px;
  font-weight: 600;
  margin-top: 15px;

}

.section_service {
  background-color: #E7F6FF;
  text-align: center;
}

.service-box {
  margin-top: 25px;
  margin-bottom: 15px;
}

.h4 {
  font-size: 24px;
  font-weight: 600;
}

.service-text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 15px;
}

.section_service img {
  border-radius: 20px;
}

.section_qa {
  color: #fff;
  background-image: url(../images/home_contact.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  text-align: center;
}

.section_qa h2 {
  font-size: 24px;
}

.section_qa::before {
  content: "";
  display: block;
  background-color: #0F172A;
  opacity: 0.7;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  /* z-index: 1; */
}

.section_qa .bt-warp {
  text-align: center;
}

.section_contact {
  text-align: center;
}

.footer-logo {
  max-width: 150px;
}

.section_contact .h5 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.line-info {
  text-align: left;
}

footer {
  color: var(--second_color);
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  border-top: 1px solid #dddddd;
  padding-top: 15px;
}

footer a {
  color: var(--second_color);
}

@media (min-width: 576px) {
  .kv-content .h1 {
    font-size: 45px;
  }
}

@media (min-width: 768px) {
  .h2 {
    font-size: 40px;
    margin-bottom: 25px;
    line-height: 1.5;
    margin-top: 25px;
  }

  .section_kv::before {
    padding-bottom: 65%;
  }

  .section_kv .carousel-item {
    padding-bottom: 65%;
  }

  .navbar-brand {
    max-width: 200px;
    width: 100%;
    padding: 0;
  }

  .navbar {
    padding: 1rem;
    font-size: 20px;
    letter-spacing: 1.5px;
  }

  .navbar-collapse {
    flex-direction: row-reverse;
  }

  .btn-primary {
    font-size: 22px;
    font-weight: 600;

  }

  .navbar .btn-primary {
    margin-left: 2rem;
  }

  .kv-content {
    text-align: left;
    top: 25%;
    margin-top: 0;
  }

  .kv-content .h1 {
    font-size: 50px;
    letter-spacing: 1.5px;
  }

  .kv-disc {
    font-size: 25px;
  }

  .kv-content .btn-primary {
    margin-top: 2rem;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 1.8px;
  }

  .section_about,
  .section_service,
  .section_qa,
  .section_contact,
  .touch {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .h2 {
    margin-top: 0;
  }

  .section_about .h2 {
    margin-top: -25px;
  }

  .section_about .main-word {
    padding-left: 50px;
  }

  .section_kv::before {
    padding-bottom: 49%;
  }

  .section_kv .carousel-item {
    padding-bottom: 49%;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .kv-content .h1 {
    font-size: 60px;
  }

  .h4 {
    font-size: 28px;
    font-weight: 600;
  }

  .service-text {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
  }

  .service-box {
    margin-top: 35px;
    margin-bottom: 25px;
  }

  .section_qa .bt-warp {
    text-align: left;
  }

  .section_qa {
    text-align: left;
  }

  .section_qa h2 {
    font-size: 38px;
  }

  .section_contact {
    text-align: left;
  }

  .footer-logo {
    margin-bottom: 25px;
    max-width: 200px;
  }
}

@media (min-width: 1200px) {
  .kv-content {
    top: 29%;
  }

  .kv-content .h1 {
    font-size: 70px;
  }

  .section_about,
  .section_service,
  .section_qa,
  .section_contact,
  .touch {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}