@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Hind:400,700");
@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300&display=swap");
/*set layout */
body {
  font-family: "Hind", Arial, Helvetica, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #666;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: #666;
}
a:hover {
  color: #000;
}

.mask {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: #f6f6f6;
  z-index: 50;
  -moz-transition: height 1s;
  -o-transition: height 1s;
  -webkit-transition: height 1s;
  transition: height 1s;
}
.hidden-page .mask {
  height: 100%;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #f6f6f6;
  z-index: 50;
  opacity: 1;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.show-page .loading {
  opacity: 0;
  pointer-events: none;
}

.wrapper {
  position: relative;
  overflow: hidden;
}

.header {
  position: fixed;
  width: 100%;
  background: #FFF;
  padding: 25px 50px;
  height: 100px;
  box-sizing: border-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  z-index: 10;
}
.header.onscroll {
  border-bottom: #ccc solid 1px;
}

.logo {
  display: block;
}

.nav {
  font-size: 0.875em;
}
.nav li {
  display: inline-block;
  margin-left: 40px;
}
.nav a {
  display: block;
  position: relative;
}
.nav a .tw {
  position: absolute;
  left: 50%;
  top: 0;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
}
.nav a .en, .nav a .tw {
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.nav a .en:after, .nav a .tw:after {
  content: "";
  display: block;
  height: 1px;
  background: #ccc;
  width: 0;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.nav a:hover .tw {
  opacity: 1;
}
.nav a:hover .tw:after {
  width: 100%;
}
.nav a:hover .en {
  opacity: 0;
}
.nav a.active .en:after {
  width: 100%;
}
.nav-consult a {
  position: relative;
  display: flex;
  border: #ccc solid 1px;
  text-align: center;
  line-height: 40px;
  height: 40px;
  color: #000;
}
.nav-consult a:before {
  content: "";
  background: #f6f6f6;
  position: absolute;
  top: 0;
  width: 0%;
  height: 100%;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.nav-consult a:hover:before {
  width: 100%;
}
.nav-consult a .en:after, .nav-consult a .tw:after {
  content: none;
}
.nav-consult-text {
  position: relative;
  padding: 0 10px;
}
.nav-consult-icon {
  position: relative;
  width: 20px;
  padding-left: 10px;
}

.mobile {
  position: fixed;
  top: 0;
  right: -200px;
  height: 100%;
  width: 200px;
  z-index: 9;
  background: #f6f6f6;
  padding: 121px 20px 80px 20px;
  box-sizing: border-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -moz-transition: right 0.6s;
  -o-transition: right 0.6s;
  -webkit-transition: right 0.6s;
  transition: right 0.6s;
}
.show-nav .mobile {
  right: -200px;
}
.mobile .nav {
  width: 100%;
}
.mobile li {
  display: block;
  margin: 0;
  line-height: 40px;
}
.mobile li span {
  display: inline-block;
}
.mobile li .tw:after, .mobile li .en:after {
  content: none;
}
.mobile li .tw {
  position: static;
  opacity: 1;
  margin-right: 5px;
  -moz-transform: none;
  -ms-transform: none;
  -webkit-transform: none;
  transform: none;
}
.mobile li a:before {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: #ccc;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.mobile li a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 10px;
  height: 2px;
  background: #ccc;
}
.mobile li a:hover .en, .mobile li a.active .en {
  opacity: 1;
}
.mobile li a:hover:before, .mobile li a.active:before {
  width: 100%;
}
.mobile li a:hover:after, .mobile li a.active:after {
  background: #000;
}
.mobile .nav-consult {
  position: absolute;
  bottom: 20px;
  background: #FFF;
  width: calc(100% - 40px);
}
.mobile .nav-consult .en {
  display: none;
}
.mobile .nav-consult a:before, .mobile .nav-consult a:after {
  content: none;
}
.mobile .nav-consult a {
  display: block;
  text-align: center;
}
.mobile .nav-consult-text {
  display: inline-block;
}
.mobile .nav-consult-icon {
  display: inline-block;
}

.hamburger {
  width: 100px;
  height: 100%;
  position: absolute;
  top: 0;
  right: -100px;
  background: #f6f6f6;
  cursor: pointer;
}
.hamburger-inner {
  position: absolute;
  top: 38px;
  left: 35px;
}
.hamburger-bar {
  width: 30px;
  height: 2px;
  background: #999;
  margin: 4px 0;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.show-nav .hamburger-bar:nth-child(1) {
  -moz-transform: translateY(6px) rotate(45deg);
  -ms-transform: translateY(6px) rotate(45deg);
  -webkit-transform: translateY(6px) rotate(45deg);
  transform: translateY(6px) rotate(45deg);
}
.show-nav .hamburger-bar:nth-child(2) {
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
.show-nav .hamburger-bar:nth-child(3) {
  -moz-transform: translateY(-6px) rotate(-45deg);
  -ms-transform: translateY(-6px) rotate(-45deg);
  -webkit-transform: translateY(-6px) rotate(-45deg);
  transform: translateY(-6px) rotate(-45deg);
}

.top {
  position: relative;
  height: calc(100vh - 200px);
  margin: 100px 50px;
  overflow: hidden;
}
.top-scroll {
  color: #FFF;
  position: absolute;
  bottom: 20px;
  left: 50%;
  font-size: 0.75em;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 5;
}
.top-scroll-line {
  width: 1px;
  height: 50px;
  background: #FFF;
  margin: 10px auto;
}
.top-scroll:hover .top-scroll-line {
  -moz-animation: line-down 2s infinite;
  -webkit-animation: line-down 2s infinite;
  animation: line-down 2s infinite;
}
.top-images {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.top-images li {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.top-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  text-align: center;
  color: #FFF;
  line-height: 1.2;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.top-title .en {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-size: 1.75rem;
}
.top-title .tw {
  font-weight: normal;
  font-size: 0.875rem;
}

@-moz-keyframes line-down {
  0% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  50% {
    height: 0;
    margin-top: 60px;
    margin-bottom: 10px;
  }
  50.1% {
    height: 0;
    margin-top: 10px;
    margin-bottom: 60px;
  }
  100% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
@-webkit-keyframes line-down {
  0% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  50% {
    height: 0;
    margin-top: 60px;
    margin-bottom: 10px;
  }
  50.1% {
    height: 0;
    margin-top: 10px;
    margin-bottom: 60px;
  }
  100% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
@keyframes line-down {
  0% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  50% {
    height: 0;
    margin-top: 60px;
    margin-bottom: 10px;
  }
  50.1% {
    height: 0;
    margin-top: 10px;
    margin-bottom: 60px;
  }
  100% {
    height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
.main {
  padding: 6vw 0;
  padding-top: calc(6vw - 100px);
}

.section {
  padding: 6vw 50px;
}

.inner {
  max-width: 1400px;
  margin: auto;
}

.title {
  margin-bottom: 40px;
  color: #000;
  line-height: 1.2;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.show .title, .title.show {
  opacity: 1;
}
.title .en {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
}
.title .en:after {
  content: "";
  width: 15px;
  height: 1px;
  background: #000;
  display: block;
  margin-top: 10px;
}
.title .tw {
  font-weight: normal;
  font-size: 1rem;
}

.text {
  font-size: 0.875em;
  margin-bottom: 20px;
  opacity: 0;
  -moz-transform: translateY(40px);
  -ms-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.show .text, .text.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.text.en {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0;
}

.btn {
  position: relative;
  font-size: 0.75rem;
  display: block;
  width: fit-content;
  padding: 10px 40px;
  margin-top: 60px;
  border-bottom: #ccc solid 1px;
  opacity: 0;
  -moz-transform: translateY(40px);
  -ms-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.show .btn, .btn.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.btn:after {
  position: absolute;
  content: "";
  height: 2px;
  width: 20px;
  left: 50%;
  bottom: -1px;
  margin-left: -10px;
  background: #000;
}

.footer {
  padding: 0 50px;
}
.footer-content {
  border-top: #ccc solid 1px;
  font-size: 0.75em;
  display: -ms-flexbox;
  display: flex;
  padding: 30px 0;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.footer-content span {
  display: block;
}

.scroll-top {
  position: fixed;
  right: 10px;
  bottom: 30px;
  font-size: 0.75em;
  line-height: 20px;
  -moz-transform-origin: left bottom;
  -ms-transform-origin: left bottom;
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
  -moz-transform: translateX(100%) rotate(-90deg);
  -ms-transform: translateX(100%) rotate(-90deg);
  -webkit-transform: translateX(100%) rotate(-90deg);
  transform: translateX(100%) rotate(-90deg);
  color: #000;
  cursor: pointer;
  display: none;
}
.scroll-top-line {
  height: 1px;
  background: #000;
  width: 80px;
}
.scroll-top:hover .scroll-top-line {
  -moz-animation: line-up 2s infinite;
  -webkit-animation: line-up 2s infinite;
  animation: line-up 2s infinite;
}

@-moz-keyframes line-up {
  0% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
  50% {
    width: 0px;
    margin-left: 80px;
    margin-right: 0;
  }
  50.1% {
    width: 0px;
    margin-left: 0;
    margin-right: 80px;
  }
  100% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
}
@-webkit-keyframes line-up {
  0% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
  50% {
    width: 0px;
    margin-left: 80px;
    margin-right: 0;
  }
  50.1% {
    width: 0px;
    margin-left: 0;
    margin-right: 80px;
  }
  100% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
}
@keyframes line-up {
  0% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
  50% {
    width: 0px;
    margin-left: 80px;
    margin-right: 0;
  }
  50.1% {
    width: 0px;
    margin-left: 0;
    margin-right: 80px;
  }
  100% {
    width: 80px;
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 1100px) {
  /* set tablet */
  .header .nav {
    display: none;
  }

  .hamburger {
    right: 0;
  }

  .show-nav .mobile {
    right: 0px;
  }

  .title .en {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 640px) {
  /* set mobile */
  .header {
    padding: 15px 30px;
    height: 70px;
  }

  .logo img, .logo svg {
    height: 40px;
    width: 124px;
  }

  .hamburger {
    width: 70px;
  }
  .hamburger-inner {
    left: 25px;
    top: 25px;
  }
  .hamburger-bar {
    height: 1px;
    width: 20px;
  }
  .show-nav .hamburger-bar:nth-child(1) {
    -moz-transform: translateY(5px) rotate(45deg);
    -ms-transform: translateY(5px) rotate(45deg);
    -webkit-transform: translateY(5px) rotate(45deg);
    transform: translateY(5px) rotate(45deg);
  }
  .show-nav .hamburger-bar:nth-child(3) {
    -moz-transform: translateY(-5px) rotate(-45deg);
    -ms-transform: translateY(-5px) rotate(-45deg);
    -webkit-transform: translateY(-5px) rotate(-45deg);
    transform: translateY(-5px) rotate(-45deg);
  }

  .top {
    height: calc(100vh - 120px);
    margin: 60px 30px;
  }

  .btn {
    margin-top: 40px;
  }

  .main {
    padding: 40px 0;
    padding-top: calc(40px - 50px);
  }

  .section {
    padding: 40px 30px;
  }

  .scroll-top {
    right: 5px;
  }

  .footer {
    padding: 0 30px;
  }
  .footer-content {
    display: block;
  }
  .footer-content span {
    display: inline;
  }
}
