@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Serif+TC:wght@200..900&family=Cinzel:wght@400..900&display=swap");
/*set layout */
body {
  font-family: "EB Garamond", "Noto Serif TC", Arial, Helvetica, "STHeiti Light", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  line-height: 1.8;
  letter-spacing: 1.5px;
  color: #666;
  -webkit-text-size-adjust: 100%;
}

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

.wrapper {
  overflow: hidden;
}

.header {
  position: fixed;
  width: 100%;
  height: 80px;
  background: #FFF;
  z-index: 10;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.header.hidden {
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
.header-wrap {
  padding: 8px 60px;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.logo {
  white-space: nowrap;
  height: 30px;
}
.logo img {
  height: 100%;
  display: inline-block;
}

.hamburger {
  display: none;
}

.nav > ul {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.nav-item {
  display: inline-block;
  margin-left: 40px;
  position: relative;
}
.nav-item a {
  position: relative;
  display: block;
  text-align: center;
  font-weight: 600;
  -moz-transition: color 0.6s;
  -o-transition: color 0.6s;
  -webkit-transition: color 0.6s;
  transition: color 0.6s;
}
.nav-item a .tw {
  white-space: nowrap;
  width: fit-content;
  margin: 0 auto;
  font-size: 0.875rem;
  letter-spacing: 2px;
}
.nav-item a .tw:after {
  content: "";
  display: block;
  height: 1px;
  background: #aaa;
  -moz-transform-origin: right center;
  -ms-transform-origin: right center;
  -webkit-transform-origin: right center;
  transform-origin: right center;
}
.nav-item a .en {
  position: relative;
  font-size: 0.625rem;
  font-family: "Cinzel", Arial, Helvetica;
  margin-top: 2px;
  letter-spacing: 0.1px;
}
.nav-item a .en, .nav-item a .tw {
  display: block;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.nav-item a:hover {
  color: #aaa;
}
.nav-item a.active {
  color: #000;
}
.nav-item .nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  font-size: 0.75rem;
  max-height: 140px;
  display: none;
  margin-top: 10px;
  background: #f6f6f6;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.nav-item .nav-sub li {
  white-space: nowrap;
  padding: 7px 10px 5px;
  border-bottom: 1px dashed #ddd;
  min-width: 90px;
  -moz-transition: background 0.6s;
  -o-transition: background 0.6s;
  -webkit-transition: background 0.6s;
  transition: background 0.6s;
}
.nav-item .nav-sub li:hover {
  background: #f2f2f2;
}
.nav-item .nav-sub li:last-child {
  border-bottom: unset;
}
.nav-item .nav-sub li a:hover {
  color: #000;
}
.nav-item .mCSB_scrollTools {
  width: 5px;
}
.nav-item .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #ccc;
}
.nav-item .mCSB_scrollTools .mCSB_draggerRail {
  background: #f2f2f2;
}
.nav-item .mCSB_outside + .mCSB_scrollTools {
  right: -5px;
}
.nav-item .mCSB_container {
  overflow: initial;
}
.nav-social {
  margin-left: 50px;
  font-size: 36px;
}
.nav-social a {
  color: #999;
  -moz-transition: color 0.6s;
  -o-transition: color 0.6s;
  -webkit-transition: color 0.6s;
  transition: color 0.6s;
}
.nav-social a:hover {
  color: #ccc;
}

.main {
  padding-top: 80px;
  min-height: calc(100vh - 140px);
  overflow: hidden;
}

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

.top {
  position: relative;
  height: 60vh;
  overflow: hidden;
}
.top-images {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slogan {
  max-width: 800px;
  margin: auto;
  padding: 10vw 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
}

.pagetitle {
  position: absolute;
  bottom: 50%;
  left: 60px;
  width: 400px;
  color: #FFF;
  white-space: nowrap;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  opacity: 0;
  -moz-transform: translate(20px, 50%);
  -ms-transform: translate(20px, 50%);
  -webkit-transform: translate(20px, 50%);
  transform: translate(20px, 50%);
  -moz-transition: -moz-transform 0.6s, opacity 0.6s;
  -o-transition: -o-transform 0.6s, opacity 0.6s;
  -webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
  transition: transform 0.6s, opacity 0.6s;
}
.show .pagetitle {
  opacity: 1;
  -moz-transform: translate(0px, 50%);
  -ms-transform: translate(0px, 50%);
  -webkit-transform: translate(0px, 50%);
  transform: translate(0px, 50%);
}
.pagetitle h1 {
  font-weight: normal;
}
.pagetitle .en {
  font-size: 1.8rem;
  font-family: "Cinzel", Arial, Helvetica;
}
.pagetitle .en:after {
  content: "";
  width: 1px;
  height: 20px;
  background: #FFF;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
}
.pagetitle .tw {
  font-size: 1.275rem;
}
.pagetitle-line {
  width: 100%;
  height: 1px;
  background: #ccc;
  margin-left: 20px;
  margin-top: 5px;
}
.pagetitle-line:before {
  content: "";
  width: 0;
  height: 2px;
  display: block;
  margin-top: -1px;
  background: #FFF;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.show .pagetitle-line:before {
  width: 10%;
}

.title {
  color: #000;
  white-space: nowrap;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  margin-bottom: 50px;
}
.title h2 {
  font-weight: normal;
  line-height: 25px;
}
.title .en {
  font-size: 1.5rem;
}
.title .en:after {
  content: "";
  width: 1px;
  height: 20px;
  background: #000;
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
}
.title .tw {
  font-size: 1.05rem;
}
.title-line {
  width: 100%;
  height: 1px;
  background: #ccc;
}
.title-line:before {
  content: "";
  width: 0;
  height: 2px;
  display: block;
  margin-top: -1px;
  background: #000;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.show .title-line:before {
  width: 10%;
}

.title2 {
  color: #333;
  line-height: 28px;
  margin-bottom: 20px;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.title2 .en {
  font-size: 1.5rem;
  margin-top: -70px;
  margin-right: 40px;
}
.title2 .en span {
  display: block;
}
.title2 .en span:nth-child(1) {
  margin-left: 15px;
}
.title2 .tw {
  font-size: 1.125rem;
  margin-bottom: -70px;
  margin-left: 30px;
}
.title2 .tw span {
  display: block;
}
.title2 .tw span:nth-child(1) {
  margin-left: 15px;
}
.title2-line {
  width: 1px;
  height: 150px;
  background: #666;
  margin-bottom: 15px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.text {
  font-size: 0.875rem;
}

.btn {
  width: fit-content;
  margin-top: 30px;
}
.btn a {
  padding: 3px 10px;
  background: #aaa;
  color: #fff;
  display: inline-block;
  -moz-transition: background 0.6s;
  -o-transition: background 0.6s;
  -webkit-transition: background 0.6s;
  transition: background 0.6s;
}
.btn a:hover {
  background: #ccc;
}

.footer-wrap {
  padding: 20px 60px;
  font-size: 0.75rem;
  background: #f2f2f2;
  line-height: 1.5;
}
.footer-wrap div {
  display: inline-block;
}

.scroll-top {
  position: fixed;
  bottom: 15px;
  right: 60px;
  margin-right: -10px;
  padding: 5px 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  background: #f2f2f2;
  color: #000;
  border: #f2f2f2 solid 1px;
  cursor: pointer;
  display: none;
}
.scroll-top:after {
  content: "";
  border-bottom: #000 solid 5px;
  border-left: transparent solid 5px;
  border-right: transparent solid 5px;
  display: inline-block;
}
.scroll-top:hover {
  border: #aaa solid 1px;
}
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 60px;
  height: 24px;
  line-height: 24px;
  font-size: 0.75rem;
  color: #FFF;
  padding: 0 24px 0 10px;
  overflow: hidden;
  border: #FFF solid 1px;
  z-index: 6;
  cursor: pointer;
}
.scroll-down:hover {
  background: rgba(255, 255, 255, 0.3);
}
.scroll-down:after {
  content: "";
  position: absolute;
  top: 9px;
  right: 7px;
  border-top: 6px #FFF solid;
  border-left: transparent solid 5px;
  border-right: transparent solid 5px;
}

.fadeIn {
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.fadeIn.show {
  opacity: 1;
}

.fadeUp, .fadeDown, .fadeLeft, .fadeRight {
  opacity: 0;
  -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;
}
.fadeUp.show, .fadeDown.show, .fadeLeft.show, .fadeRight.show {
  opacity: 1;
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.fadeDown {
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
}

.fadeUp {
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
}

.fadeLeft {
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
}

.fadeRight {
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
}

.clipRight, .clipUp, .clipDown {
  -moz-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  transition: clip-path 0.6s;
}
.clipRight.show, .clipUp.show, .clipDown.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.clipRight {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.clipUp {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.clipDown {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

@media screen and (max-width: 1200px) {
  .nav-item {
    margin-left: 30px;
  }
  .nav-social {
    margin-left: 45px;
  }
}
@media screen and (max-width: 1100px) {
  /* set tablet */
  .top {
    height: 50vh;
  }

  .header-wrap {
    padding: 25px 60px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #FFF;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column;
    flex-flow: column;
    overflow: hidden;
    -moz-transition: height 1s 0.3s;
    -o-transition: height 1s 0.3s;
    -webkit-transition: height 1s;
    -webkit-transition-delay: 0.3s;
    transition: height 1s 0.3s;
  }
  .show-nav .nav {
    height: 100%;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
  }
  .nav > ul {
    margin: 100px 60px;
    -webkit-flex-flow: column;
    flex-flow: column;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    opacity: 0;
    -moz-transition: opacity 0.6s 0s;
    -o-transition: opacity 0.6s 0s;
    -webkit-transition: opacity 0.6s;
    -webkit-transition-delay: 0s;
    transition: opacity 0.6s 0s;
  }
  .show-nav .nav > ul {
    opacity: 1;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
  }
  .nav-item {
    display: block;
    padding: 10px 0;
    margin-left: unset;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  .nav-item a {
    text-align: left;
  }
  .nav-item a .en, .nav-item a .tw {
    display: inline-block;
  }
  .nav-item a .en {
    font-size: 0.75rem;
    letter-spacing: unset;
    margin-top: unset;
    margin-left: 10px;
  }
  .nav-item a .en:before {
    content: "";
    width: 1px;
    height: 15px;
    background: #aaa;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: -3px;
  }
  .nav-item a .tw:after {
    display: none;
  }
  .nav-item .nav-sub {
    position: relative;
    top: unset;
    left: unset;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .nav-social {
    margin-left: unset;
    margin-top: 20px;
  }
  .nav-social a {
    font-size: 20px;
  }

  .logo {
    position: relative;
    z-index: 1;
  }

  .hamburger {
    position: relative;
    width: 30px;
    display: block;
    cursor: pointer;
  }
  .hamburger-bar {
    height: 1px;
    margin: 5px 0;
    background: #000;
  }

  .slogan {
    font-size: 0.875rem;
  }

  .show .title-line:before {
    width: 20%;
  }

  .title2 {
    display: block;
  }
  .title2 .en {
    margin-top: unset;
    margin-right: unset;
  }
  .title2 .en span {
    display: initial;
  }
  .title2 .en span:nth-child(1) {
    margin: 0 10px 0 0;
  }
  .title2 .tw {
    margin-bottom: unset;
    margin-left: 5px;
    margin-top: 5px;
    font-size: 1rem;
  }
  .title2 .tw:before {
    content: "";
    width: 1px;
    height: 15px;
    background: #999;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: -2px;
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  .title2 .tw span {
    display: initial;
  }
  .title2 .tw span:nth-child(1) {
    margin: 0 10px 0 0;
  }
  .title2-line {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .title {
    margin-bottom: 30px;
  }
  .title .en {
    font-size: 1.25rem;
  }
  .title .tw {
    font-size: 0.875rem;
  }

  .slogan {
    padding: 80px 0;
  }
}
@media screen and (max-width: 640px) {
  /* set mobile */
  .header {
    height: 75px;
  }
  .header-wrap {
    padding: 24px 20px;
  }

  .logo {
    height: 27px;
  }

  .nav > ul {
    margin: 80px 20px;
  }

  .pagetitle {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 15%;
  }
  .pagetitle .en {
    font-size: 1.5rem;
  }
  .pagetitle .en:after {
    height: 15px;
  }
  .pagetitle .tw {
    font-size: 1.0625rem;
  }
  .pagetitle-line {
    margin-top: 9px;
  }

  .inner {
    padding: 0 20px;
  }

  .title2 {
    margin-bottom: 10px;
  }
  .title2 .en {
    font-size: 1.25rem;
  }
  .title2 .tw {
    font-size: 0.875rem;
  }

  .btn a {
    font-size: 0.875rem;
  }

  .footer-wrap {
    padding: 20px 80px 20px 20px;
  }

  .scroll-top {
    right: 20px;
  }

  .scroll-down {
    left: 20px;
  }
}
@media screen and (max-width: 1100px) and (max-height: 450px) {
  .nav {
    top: 80px;
    box-sizing: border-box;
    overflow: auto;
  }
  .show-nav .nav {
    height: calc(100% - 80px);
  }
}
@media screen and (max-width: 640px) and (max-height: 450px) {
  .nav {
    top: 75px;
    box-sizing: border-box;
    overflow: auto;
  }
  .show-nav .nav {
    height: calc(100% - 75px);
  }
}
@media screen and (max-height: 450px) {
  .nav {
    overflow: auto;
  }
}
