@charset "UTF-8";
/* ---------------------------------------- */
/*  全域設定                                 */
/* ---------------------------------------- */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Microsoft JhengHei";
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.5px;
  line-height: 1.5;
  font-size: 17px;
}

a {
  outline: none;
  color: #333333;
  transition: 0.3s;
}
a:hover {
  color: #3382c5;
}

input[type=button], input[type=submit], input[type=file], button, input[type=reset], select {
  cursor: pointer;
  -webkit-appearance: none;
}

input, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ---------------------------------------- */
/*  header                                  */
/* ---------------------------------------- */        
.header-wrap {
  overflow: hidden;
}
.header-wrap ul, .header-wrap li {
  margin: 0;
  padding: 0;
  list-style: none;
}

header.header-primary {
  width: 100%;
}

.logo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 50px;
  padding-left: 50px;
  width: 310px;
  z-index: 100;
}

@media screen and (min-width: 1141px) {
  .header-bg::after, .header-main-bg::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 165px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
  }
}
@media screen and (max-width: 1140px) {
  header .logo-wrap {
    padding-top: 15px;
    padding-left: 30px;
    width: 230px;
  }
  header::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    background-color: #ffffff;
    width: 100%;
    height: 70px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
  }
}
@media screen and (max-width: 568px) {
  header .logo-wrap {
    padding-top: 12px;
    padding-left: 15px;
    width: 190px;
  }
  header::after {
    height: 60px;
  }
}
.logo-wrap a.logo {
  width: 100%;
}
.logo-wrap a.logo img {
  width: 100%;
}
@media screen and (min-width: 1141px) {
  .logo-wrap a.logo .mobile-logo {
    display: none;
  }
}
@media screen and (max-width: 1140px) {
  .logo-wrap a.logo .computer-logo {
    display: none;
  }
}

.nav-wrap {
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 30px;
  padding-right: 50px;
  color: #ffffff;
  z-index: 100;
}
@media screen and (max-width: 1140px) {
  .nav-wrap {
    padding: 0;
  }
}

.lang-box {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.25);
}
@media screen and (max-width: 1140px) {
  .lang-box {
    padding-bottom: 0;
    border: none;
  }
}
.lang-box-index {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.lang-box.lang-box-index a.lang-btn {
  color: #ffffff;
}
.lang-box .lang-inner {
  position: relative;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1140px) {
  .lang-box .lang-inner {
    margin-right: 30px;
  }
}
@media screen and (max-width: 568px) {
  .lang-box .lang-inner {
    margin-right: 15px;
  }
}
.lang-box a.lang-btn img.lang-mobile {
  width: 22px;
}
.lang-box a.lang-btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #333333;
}
.lang-box a.lang-btn span {
  font-size: 14px;
  margin-right: 10px;
}
@media screen and (max-width: 1140px) {
  .lang-box a.lang-btn {
    color: #555555;
  }
}
.lang-box a.lang-btn img {
  width: 10px;
  transition: 0.5s;
}
.lang-box a.lang-btn.active img {
  transform: scale(-1);
}
.lang-box ul.lang-select {
  display: none;
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
}
@media screen and (max-width: 1140px) {
  .lang-box ul.lang-select {
    top: 70px;
  }
}
.lang-box ul.lang-select a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.5s;
}
.lang-box a.menu-btn {
  display: none;
  position: relative;
  width: 70px;
  height: 70px;
  background-color: #ff3e2b;
  transition: 0.5s;
}
@media screen and (max-width: 1140px) {
  .lang-box a.menu-btn {
    display: block;
  }
}
@media screen and (max-width: 568px) {
  .lang-box a.menu-btn {
    width: 60px;
    height: 60px;
  }
}
.lang-box a.menu-btn:hover {
  background-color: #db2717;
}
.lang-box a.menu-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}
.lang-box a.menu-btn span:nth-child(1) {
  top: calc(50% - 7px);
}
.lang-box a.menu-btn span:nth-child(3) {
  top: calc(50% + 7px);
}
.lang-box a.menu-btn.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #ffffff;
}
.lang-box a.menu-btn.active span:nth-child(2) {
  width: 0;
}
.lang-box a.menu-btn.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #ffffff;
}

@media screen and (max-width: 1139px) {
  .lang-desktop {
    display: none;
  }
}
@media screen and (min-width: 1140px) {
  .lang-mobile {
    display: none;
  }
}
.nav-box {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1140px) {
  .nav-box {
    display: none;
  }
}
.nav-box ul.main-nav {
  display: flex; align-items: center; justify-content: center;
}
.nav-box ul.main-nav > li {
  position: relative;
  padding: 25px 45px 25px 0;
  transition: 0.5s;
  display: flex; align-items: center; justify-content: center;
}
@media screen and (max-width: 1340px) {
  .nav-box ul.main-nav > li {
    padding-right: 30px;
  }
}
@media screen and (max-width: 1220px) {
  .nav-box ul.main-nav > li {
    padding-right: 15px;
  }
}
.nav-box ul.main-nav > li:hover .sub-nav {
  display: block;
}
.nav-box ul.main-nav > li:hover > a::before {
  width: 100%;
}
.nav-box ul.main-nav > li > a {
  position: relative;
  color: #333333;
  font-size: 20px;
  z-index: 2;
  transition: 0.5s;
}
.nav-box ul.main-nav > li > a::before {
  position: absolute;
  content: "";
  display: block;
  bottom: -22px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ff3e2b;
  transition: 0.3s;
}
.nav-box ul.main-nav > li > a:hover {
  color: #ff3e2b;
}
.nav-box ul.main-nav-index > li > a {
  color: #ffffff;
}
.nav-box .sub-nav {
  display: none;
  position: absolute;
  z-index: 1;
  top: 75px;
  background-color: #ffffff;
}
.nav-box .sub-nav > ul {
  display: flex;
  color: #000000;
  font-size: 18px;
  padding: 15px 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.nav-box .sub-nav > ul > li a {
  display: block;
  margin: 15px 0;
}
.nav-box .sub-nav > ul > li a.term {
  color: #ff3e2b;
  font-weight: 600;
}
.nav-box .sub-nav > ul > li span {
  color: #5f5f5f;
  transition: 0.5s;
}
.nav-box .sub-nav > ul > li span:hover {
  color: #3382c5;
}
.nav-box .sub-nav .text__nowrap {
  white-space: nowrap;
}
.nav-box .sub-nav__w120 {
  width: 120px;
  margin-right: 30px;
}
.nav-box .sub-nav__w60 {
  width: 60px;
}
.nav-box a.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  width: 150px;
  padding: 6px 0;
  border-radius: 30px;
  background-color: #ff3e2b;
  color: #ffffff;
  transition: 0.5s;
}
.nav-box a.contact-btn:hover {
  background-color: #db2717;
}
.nav-box a.contact-btn img {
  width: 18px;
  margin-right: 8px;
}

/* menu style */
section.menu {
  display: none;
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  background-color: #333333;
  padding-top: 60px;
  transform: translateX(100%);
  opacity: 0;
  transition: 0.5s;
}
section.menu.show {
  opacity: 1;
  transform: translateX(0);
}

.scrollbar-inner::-webkit-scrollbar {
  display: none;
}
.scrollbar-inner.scroll-content {
  max-height: calc(100vh - 100px) !important;
}
.scrollbar-inner > .scroll-element.scroll-y {
  width: 5px;
}
.scrollbar-inner > .scroll-element .scroll-bar {
  opacity: 0.8;
}

ul.main-list {
  width: 100%;
  color: #ffffff;
}
ul.main-list > li {
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px rgba(85, 85, 85, 0.5), 0 2px #222222;
  transition: 0.5s;
}
ul.main-list > li.more::before {
  position: absolute;
  content: "";
  top: 25px;
  right: 20px;
  width: 12px;
  height: 8px;
  background: url(../../images/icon-arrow-down-white.svg) no-repeat;
  opacity: 0.7;
  transition: 0.5s;
}
ul.main-list > li.more.active::before {
  transform: scale(-1);
}
ul.main-list > li > a {
  display: inline-block;
  padding: 15px 50px;
  font-size: 18px;
  color: #ffffff;
  transition: 0.5s;
}
ul.main-list > li > a:hover {
  color: #ff3e2b;
}

ul.sub-list {
  display: none;
  background-color: #222222;
}
ul.sub-list > li {
  position: relative;
  cursor: pointer;
}
ul.sub-list > li + li {
  border-top: 1px solid #151515;
}
ul.sub-list > li.more::before {
  position: absolute;
  content: "";
  top: 20px;
  right: 20px;
  width: 12px;
  height: 8px;
  background: url(../../images/icon-arrow-down-white.svg) no-repeat;
  opacity: 0.7;
  transition: 0.5s;
}
ul.sub-list > li.more.active::before {
  transform: scale(-1);
}
ul.sub-list > li > a {
  display: inline-block;
  padding: 10px 50px;
  color: #cccccc;
  transition: 0.5s;
}
ul.sub-list > li > a:hover {
  color: #ff3e2b;
}

ul.third-list {
  display: none;
  background-color: #101010;
}
ul.third-list > li + li {
  border-top: 1px solid #0b0b0b;
  cursor: pointer;
}
ul.third-list > li > a {
  display: block;
  padding: 10px 50px;
  color: #cccccc;
  transition: 0.5s;
}
ul.third-list > li > a:hover {
  color: #ff3e2b;
}

/* ---------------------------------------- */
/*  footer                                  */
/* ---------------------------------------- */
.footer {
  background-color: #3382c5;
}
.footer-body {
  display: flex;
  padding: 75px 0;
  border-bottom: 1px solid #71a8d7;
}
.footer-logo {
  display: block;
  height: fit-content;
}
@media screen and (max-width: 1023px) {
  .footer-logo__desktop {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .footer-logo__mobile {
    display: none;
  }
}
.footer__info {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 115px);
  margin-left: 110px;
}
.footer__info a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-copyright {
  display: flex;
  justify-content: center;
  padding: 35px 0 40px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-copyright a {
  margin-left: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.pages {
  display: flex;
  flex-direction: column;
}
.pages-double-col {
  display: flex;
}
.pages__col-list > div {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 15px;
}
.pages__col-list > div::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 95%;
  width: 1px;
  background-color: #4395d1;
}
.pages__col-list:first-child {
  margin-right: 30px;
}
.pages__main-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 700;
  white-space:nowrap;
}
.pages__secondary-title {
  display: table;
  margin-bottom: 5px;
  color: #ffdf00;
  font-size: 17px;
}
.pages__item {
  color: #85e1ff;
  font-size: 16px;
}
.pages__item + .pages__item {
  margin-top: 5px;
}

@media screen and (max-width: 1280px) {
  .footer-body {
    padding: 50px 0;
  }
  .footer__info {
    margin-left: 60px;
  }

  .pages__main-title {
    font-size: 18px;
  }
  .pages__secondary-title, .pages__item {
    font-size: 16px;
  }
}
@media screen and (max-width: 1023px) {
  .footer .container {
    display: flex;
    justify-content: space-between;
    max-width: 750px;
  }
  .footer__info {
    display: none;
  }
  .footer-body {
    padding: 30px 0;
    border-bottom: none;
  }
  .footer-copyright {
    flex-direction: column;
    padding: 30px 0;
  }
  .footer-copyright a {
    margin-left: 0;
  }
}
@media screen and (min-width: 569px) and (max-width: 1023px) {
  .footer .container-lg {
    display: flex;
    justify-content: center;
  }
  .footer .footer-body {
    margin-right: 50px;
  }
}
@media screen and (max-width: 568px) {
  .footer .container-lg {
    flex-direction: column;
  }
  .footer-body {
    border-bottom: 1px solid #71a8d7;
  }
  .footer-logo {
    margin: 0 auto;
  }
}

/*# sourceMappingURL=layout.css.map */
