@charset "UTF-8";
@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish-Regular.woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish-Light.woff2");
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish-Bold.woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/Mulish-Black.woff2");
  font-style: normal;
  font-weight: 900;
}
@font-face {
  font-family: "RemoraCorp";
  src: url("../fonts/RemoraCorp-W3Bold.woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "RemoraCorp";
  src: url("../fonts/RemoraCorp-W3Demi.woff2");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "RemoraCorp";
  src: url("../fonts/RemoraCorp-W3Medium.woff2");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "RemoraCorp";
  src: url("../fonts/RemoraCorp-W3Light.woff2");
  font-style: normal;
  font-weight: 300;
}
html,
body {
  min-height: 100%;
}

html {
  font-size: 100%;
  overflow-y: scroll;
}

a {
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
a:hover {
  opacity: 0.8;
}

body {
  font-family: "Mulish", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", "Arial Unicode MS", "Arial";
  font-weight: 300;
  font-size: 100%;
  color: #222020;
  background-color: #F9F9F9;
  line-height: 140%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.row {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row:before {
  display: none;
}

.row .col {
  float: none;
}

a {
  text-decoration: none;
}
a:hover, a:focus {
  color: inherit;
  text-decoration: none;
}

b {
  font-weight: 700;
}

.container {
  position: relative;
  padding: 0 70px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
@media screen and (min-width: 992px) and (max-width: 1299px) {
  .container {
    padding: 0 30px;
  }
}
@media screen and (max-width: 991px) {
  .container {
    padding: 0 24px;
  }
}

header {
  background-color: #ffffff;
  padding: 32px 0;
  color: #2F8E12;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 1199px) {
  header {
    padding: 10px 0;
  }
}
header .row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo-container {
  display: flex;
  align-items: center;
}
header .logo-container a {
  display: block;
}
header .logo-container .site-logo {
  display: flex;
  align-items: center;
}
header .logo-container .logo-ust {
  display: inline-block;
  width: 251px;
  height: 44px;
  background-size: 235px 44px;
  background-image: url("../img/logo-ust-anniversary.jpg");
  background-repeat: no-repeat;
  background-position: left center;
  padding: 2px 15px 2px 0;
  border-right: 1px solid #B0CFEC;
}
@media screen and (max-width: 1299px) {
  header .logo-container .logo-ust {
    width: 188px;
    padding-right: 8px;
    background-size: 180px 34px;
  }
}
header .logo-container .logo-dept {
  display: inline-block;
  width: 180px;
  height: 52px;
  background-size: 165px 52px;
  background-image: url("../img/uce-logo.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  padding-left: 16px;
}
@media screen and (max-width: 1299px) {
  header .logo-container .logo-dept {
    width: 108px;
    padding-left: 8px;
    background-size: 100px 34px;
  }
}
header .col-r {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 20px;
}
@media screen and (max-width: 1199px) {
  header .col-r {
    display: none;
  }
}
header .col-r ul {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.4;
}
header .col-r ul li {
  margin-right: 16px;
}
header .col-r ul li a {
  transition: all 0.3s ease-in-out;
}
header .col-r ul li a:hover {
  opacity: 1;
  color: #2B571D;
}
header .col-r ul .active {
  font-weight: 600;
  color: #2B571D;
}
header .hamburger {
  position: relative;
  right: -20px;
  display: block;
  width: 45px;
  height: 45px;
  position: relative;
  padding: 12px 10px;
  z-index: 5;
}
@media screen and (min-width: 1200px) {
  header .hamburger {
    display: none;
  }
}
header .hamburger .line {
  position: absolute;
  left: 10px;
  width: 25px;
  height: 2px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #2B571D;
}
header .hamburger .line:first-child {
  top: 12px;
}
header .hamburger .line:nth-child(2) {
  top: 49%;
}
header .hamburger .line:last-child {
  bottom: 12px;
}

.submenu {
  background-color: #F8FFE9;
  font-size: 0.875em;
  font-weight: 500;
  font-family: "RemoraCorp", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", "Arial Unicode MS", "Arial";
  color: #1B3C11;
}
@media screen and (max-width: 1199px) {
  .submenu {
    display: none;
  }
}
.submenu ul {
  display: flex;
}
.submenu ul > li {
  position: relative;
}
.submenu ul > li:not(:last-child) {
  margin-right: 42px;
}
.submenu ul > li > a {
  display: inline-block;
  padding: 18px 0;
}
.submenu ul > li > a:hover {
  opacity: 1;
  color: #2F8E12;
}
.submenu ul > li > ul {
  position: absolute;
  width: 320px;
  top: 57px;
  left: 0;
  border-top: 3px solid #2F8E12;
  background-color: #F9F9F9;
  z-index: 3;
  display: none;
}
.submenu ul > li > ul > li {
  margin-right: 0 !important;
}
.submenu ul > li > ul > li a {
  display: block;
  padding: 16px 24px;
  background-color: #F9F9F9;
  color: #2F8E12;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}
.submenu ul > li.hv-sub > a {
  display: flex;
  align-items: center;
}
.submenu ul > li.hv-sub > a:after {
  content: "";
  display: block;
  padding: 2px;
  background-position: center;
  background-size: contain;
  background-image: url("../img/icon/chevron-down.svg");
  width: 16px;
  height: 16px;
  margin-left: 5px;
}
.submenu ul > li.hv-sub:hover > ul {
  display: block;
}
.submenu ul > li.hv-sub:hover > ul > li a:hover {
  background-color: #E9F5CF;
}
.submenu ul > li.active {
  color: #2F8E12;
  font-weight: 600;
}

.btn-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  background-image: url("../img/icon/back-top.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 2;
}
@media screen and (max-width: 991px) {
  .btn-to-top {
    width: 50px;
    height: 50px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  height: 100vh;
  background-color: #F9F9F9;
  z-index: 4;
  transition: transform 0.3s ease-in-out;
  padding: 80px 0;
  overflow: auto;
  transform: translateX(100%);
}
.mobile-menu .menu-item {
  position: relative;
  background-color: #E9F5CF;
  color: #2F8E12;
  font-weight: 500;
  font-family: "RemoraCorp", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", "Arial Unicode MS", "Arial";
}
.mobile-menu .menu-item a {
  display: block;
}
@media screen and (min-width: 992px) and (max-width: 1299px) {
  .mobile-menu .menu-item a {
    padding: 16px 50px 16px 30px;
  }
}
@media screen and (max-width: 991px) {
  .mobile-menu .menu-item a {
    padding: 16px 50px 16px 24px;
  }
}
.mobile-menu .menu-item .icon-caret {
  display: block;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  background-image: url("../img/icon/chevron-down.svg");
  position: absolute;
  right: 0;
  top: 11px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 992px) and (max-width: 1299px) {
  .mobile-menu .menu-item .icon-caret {
    right: 16px;
  }
}
@media screen and (max-width: 991px) {
  .mobile-menu .menu-item .icon-caret {
    right: 10px;
  }
}
.mobile-menu .menu-item.active > .icon-caret {
  transform: scaleY(-1);
}
.mobile-menu .menu-lv2 {
  display: none;
}
.mobile-menu .menu-lv2 .menu-item {
  background-color: #F8FFE9;
}
.mobile-menu .menu-lv3 {
  display: none;
}
.mobile-menu .menu-lv3 .menu-item {
  background-color: #ffffff;
}

footer {
  position: relative;
  background-color: #1B3663;
  padding: 16px 0;
  color: #ffffff;
  font-size: 0.875em;
  z-index: 2;
}
footer .row {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 991px) {
  footer .row {
    flex-direction: column;
  }
}
footer .col-l {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 991px) {
  footer .col-l {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
  }
}
footer .col-l .logo-container {
  flex-shrink: 0;
}
footer .col-l .logo-container a {
  width: 150px;
}
footer .col-l .logo-container a:hover {
  opacity: 1;
}
footer .col-l .col-desc {
  flex-grow: 1;
  flex-shrink: 0;
  padding-left: 30px;
}
@media screen and (max-width: 991px) {
  footer .col-l .col-desc {
    padding-left: 0;
    width: 100%;
    margin-top: 10px;
    align-items: flex-start;
  }
}
footer .col-l .col-desc .link a:not(:last-child) {
  margin-right: 20px;
}
footer .col-r {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  flex-shrink: 0;
}
@media screen and (max-width: 991px) {
  footer .col-r {
    margin-top: 20px;
    justify-content: flex-start;
    width: 100%;
  }
}
footer .col-r > *:not(:last-child) {
  margin-right: 16px;
}
footer .col-r a {
  width: 30px;
}

body.menu-on .hamburger {
  position: fixed !important;
  right: 6px;
  top: 12px;
}
body.menu-on .hamburger .line:nth-child(1) {
  width: 30px;
  transform: rotate(45deg) translate(5px, 9px);
}
body.menu-on .hamburger .line:nth-child(2) {
  width: 0;
}
body.menu-on .hamburger .line:nth-child(3) {
  width: 30px;
  transform: rotate(-45deg) translate(5px, -9px);
}
body.menu-on .mobile-menu {
  transform: translateX(0);
}
