:root {
  --grey-color: #6e6e6e;
  --text-en-color: #CBB386;
  --primary-color: #2458a5;
  --primary-color-hover: #2458a4;
  --secondary-color: #957C66;
}

h1 {
  padding: 0;
  margin: 0;
}

* {
  font-family: 'Noto Sans TC', sans-serif;
}

body {
  line-height: 1;

}

a {
  text-decoration: none;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
}


.btn.btn-link,
header .Register-button {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: bolder;
  cursor: pointer;
  /* border-radius: 0; */
  /* padding: 20px 30px; */
  text-decoration: none;
  display: inline-block;
}



.btn.btn-link:hover,
.btn.btn-link:active,
.btn.btn-link:focus-visible,
header .Register-button:hover,
header .Register-button:active,
header .Register-button:focus-visible {
  background-color: #6289bf;
  color: #fff;
}



/* start header ------------------------------- */
.navbar-toggler,
.navbar-toggler:focus {
  border: none;
  color: #fff;
  box-shadow: none;
}

.logo {
  width: 160px;
  height: 58px;
  background-image: url("/logo_hs.png");
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: hidden;
  text-indent: 100%;
  margin-left: .5rem;

}

.logo h1 {
  line-height: 0;

}

@media (min-width: 992px) {
  .logo {
    width: 200px;
    height: 72px;

  }
}


.header {
  transition: all 0.2s ease;
  background: #fff;
  padding: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.header.sticky {
  background: var(--secondary-color);
  box-shadow: 0 0.125rem 0.25rem rgba(255, 255, 255, 0.075);
}

.header nav {
  transition: all 0.2s ease;
  border-top: 1px solid #aaa;
}

.header nav .phone-item {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  display: block;
  text-align: center;
  padding: 30px 0;
  background: #fff;
  border-top: 1px solid #aaa;
  margin-top: 20px;
}

.header nav .phone-item a+a {
  margin-top: 10px;
}

.header nav .navbar-nav {
  position: relative;
}

.header nav .phone-item .nav-link {
  color: #fff;
}


.header .submenu-nav li+li {
  margin-left: 10px;
}

.header .navbar-nav .nav-link {
  font-size: 18px;
  font-weight: bolder;
  outline: 0;
  color: var(--grey-color);
  transition: all 0.2s ease;
  padding: 10px 15px;

}

@media (min-width: 992px) {
  .header nav {
    border-top: none;

  }

  .header nav .phone-item {
    display: none;
  }

}

@media (max-width: 992px) {

  .header nav .navbar-nav {
    height: 100vh;
  }


}

/* end header ------------------------------- */

/* start main tag ------------------------------- */
main {
  margin-top: 56px;
}

/* end main tag ------------------------------- */

/* start footer ------------------------------- */
.footer {
  padding: 0 0 10px 0;
  background: #222;
  color: #fff;
}

.footer .reserved {
  width: 100%;
}

.footer .reserved p {
  margin: 0;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
}

/* end footer ------------------------------- */



/* start 視覺 ------------------------------- */
.section-slogan {
  width: 100%;
  /* height: 100vh; */
  height: calc(100vh - 56px);
  position: relative;
  overflow: hidden;
  background: #aaa url(/img/index/bg.jpg) no-repeat center top/ cover scroll;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-slogan .computer-img {
  position: absolute;
  width: 300px;
  bottom: 100px;
  left: auto;
  right: 0;
  transform: translateX(0);
}

.section-slogan .slogan-img {
  position: absolute;
  width: 700px;
  right: 35%;
  top: 50%;
  transform: translate(50%, -50%);
}

.section-slogan .slogan-item {
  color: #fff;
  position: relative;
  z-index: 2;
}

.section-slogan .slogan-item .link-item {
  background-color: #fff;
  position: relative;
  display: inline-flex;
  overflow: hidden;
}


.section-slogan .slogan-item .link-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -90%;
  height: 100%;
  width: 100%;
  background-color: #001233;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  z-index: 1;
}

.section-slogan .slogan-item .link-item:hover::after {
  right: 0;
}


.section-slogan .slogan-item .link-item a {
  padding-left: 25px;
  display: block;
  color: #001233;
  font-weight: bolder;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
  border: 0;

}

.section-slogan .slogan-item .link-item span {
  background-color: #001233;
  display: inline-block;
  text-align: center;
  color: #fff;
  margin-left: 25px;
  padding: 12px 20px;
}

.section-slogan .slogan-item .link-item:hover a {
  color: #fff;
}

.section-slogan .slogan-item img {
  max-width: 300px;
}

.section-slogan .slogan-item h2 {
  font-weight: bolder;
  font-size: 28px;
  letter-spacing: 1.5px;

}

.section-slogan .slogan-item p {
  font-size: 20px;
  line-height: 1.5;
  padding: 10px 0;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 1rem rgb(0, 0, 0.5);
}

.section-slogan .slogan-item a {
  font-size: 20px;
}

.section-slogan .img-item {
  position: absolute;
  right: 2.5rem;
}

@media (min-width: 992px) {
  .section-slogan .slogan-item img {
    max-width: 350px;
  }

  .section-slogan .computer-img {
    width: 500px;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
  }

  .section-slogan .slogan-item a {
    font-size: 24px;
  }
}

@media (min-width: 1200px) {
  .section-slogan {
    height: 100vh;
  }


  .section-slogan .slogan-item img {
    max-width: 500px;

  }

  .section-slogan .slogan-item h2 {
    font-size: 50px;
  }

  .section-slogan .img-item {
    position: absolute;
    right: 5rem;
  }

  .section-slogan .slogan-item p {
    padding: 30px 0;
    line-height: 1.8;

  }
}

@media (min-width: 1400px) {
  .section-slogan .img-item {
    position: absolute;
    right: 15rem;

  }
}


/* start use ------------------------------- */
.section-use {
  padding: 100px 0;
  background: #fff;
  /* background: url(../img/bg-div2.jpg) no-repeat center center/ cover fixed; */
}

.section-use img {
  position: relative;
  top: -26px;
  /* margin-top: -26px; */
}

.section-use .use-item {
  text-align: left;
  padding-left: 15px;
  padding-right: 5px;
  border-left: 4px solid var(--primary-color);
}

.section-use .use-item span {
  font-size: 30px;
  font-weight: bolder;
}

.section-use .use-item p {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  padding-top: 10px;
}

@media (min-width: 992px) {
  .section-use {
    padding: 0;
  }

  .section-use .use-item {
    padding-left: 30px;
    padding-right: 0;
  }
}

@media (min-width: 1200px) {

  .section-use .use-item span {
    font-size: 40px;
  }

  .section-use .use-item p {
    font-size: 18px;
  }
}

/* end use ------------------------------- */

/* start function ------------------------------- */
.section-function {
  margin-top: -26px;
  padding: 80px 0;
  background: url(../img/bg-div3.jpg) no-repeat center center/ cover scroll;
}

.section-function .text-item {
  text-align: center;
  padding-bottom: 40px;
  font-weight: bolder;
}

.section-function .text-item h2 {
  font-size: 21px;
  font-weight: bolder;
  color: #fff;
  line-height: 1.5;
}

.section-function .text-item p {
  font-size: 20px;
  padding-top: 15px;
  color: #7591c7;
}

.section-function .function-item {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 10px 10px 10px;
  height: 100%;
  background: #2458a4;
}

.section-function .function-item.light {
  background: #6289bf;
}

.section-function .function-item .head-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fff;
  padding: 10px 15px;
}

.section-function .function-item .head-item img {
  width: 70px;
  height: 70px;
}


.section-function .function-item h3 {
  font-weight: bolder;
  font-size: 24px;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.3;
  letter-spacing: 1.5px;
}

.section-function .function-item p {
  line-height: 1.5;
  color: #fff;
  padding: 20px 0;
  font-size: 18px;
  height: 130px;
  text-align: justify;
}

@media (min-width: 992px) {
  .section-function .function-item h3 {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .section-function .function-item p {
    height: 100px;
  }
}

@media (min-width: 1200px) {
  .section-function .function-item h3 {
    font-weight: bolder;
    font-size: 35px;
  }

  .section-function .text-item h2 {
    font-size: 30px;
  }

  .section-function .text-item p {
    font-size: 24px;

  }

  .section-function {
    padding: 140px 0;
  }
}

/* end function ------------------------------- */

/* start about ------------------------------- */
.section-about {
  background: url(../img/bg-div4.jpg) no-repeat center center/ cover scroll;
  padding: 80px 0;
}

.section-about .about-item {
  padding: 0 15px;
}

.section-about blockquote {
  font-size: 20px;
  font-weight: bolder;
  line-height: 1.5;
  color: #444;
  text-align: justify;
}

.section-about h2 {
  font-size: 26px;
  font-weight: bolder;
  color: #1558a1;
}

.section-about p {
  font-size: 18px;
  line-height: 1.5;
  color: #525252;
  text-align: justify;
}

@media (min-width: 1200px) {
  .section-about .about-item {
    padding: 10px 30px 10px 60px;
  }

  .section-about h2 {
    font-size: 30px;
  }

  .section-about p {
    font-size: 19px;
  }

}

/* end feedback ------------------------------- */

/* start register ------------------------------- */
.section-register {
  padding: 80px 0;
  background: url(../img/bg-div5.jpg) no-repeat center center/ cover scroll;
  position: relative;
  overflow: hidden;
}

.section-register img {
  position: absolute;
  width: 700px;
  bottom: 0;
  left: 30%;
  transform: translateX(-50%);
  opacity: 0.8;
}

.section-register h2 {
  font-size: 28px;
  font-weight: bolder;
  color: #fff;
}

.section-register p {
  font-size: 18px;
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 1px 1rem rgb(0, 0, 0);

}

.section-register a {
  font-size: 24px;
}


.section-register .link-item {
  background-color: var(--primary-color);
  position: relative;
  display: inline-flex;
  overflow: hidden;
}


.section-register .link-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -90%;
  height: 100%;
  width: 100%;
  background-color: #fff;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  z-index: 1;
}

.section-register .link-item:hover::after {
  right: 0;
}


.section-register .link-item a {
  padding-left: 25px;
  display: block;
  color: #fff;
  font-weight: bolder;
  position: relative;
  z-index: 2;
  transition: all 0.2s ease;
  border: 0;

}

.section-register .link-item span {
  background-color: #fff;
  display: inline-block;
  text-align: center;
  color: var(--primary-color);
  margin-left: 25px;
  padding: 12px 20px;
}

.section-register .link-item:hover a {
  color: var(--primary-color);
}


@media (min-width: 1200px) {
  .section-register {
    overflow: visible;
    padding: 80px 0;

  }

  .section-register h2 {
    font-size: 40px;
  }

  .section-register p {
    font-size: 20px;
  }

  .section-register img {
    width: 900px;
    left: 45%;
    opacity: 1;


  }

}

@media (min-width: 1400px) {
  .section-register {
    padding: 180px 0;
  }

  .section-register img {
    width: 1400px;
  }
}

/* end register ------------------------------- */