@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;900&display=swap');
body {
	font-size: 1rem;
	font-family: 'outfit', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
#wrapper {
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6, .more-link {
	font-family: 'outfit', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
.font-outfit {
	font-family: 'outfit', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
a {
	transition: all 0.2s ease;
}


/*========== Nav Style ==========*/
#primary-menu-trigger.order-lg-2 {
	display: block;
	width: 24px;
	height: 24px;
	z-index: 599;
}
#primary-menu-trigger .icon-menu {
  display: flex;
  width: 24px;
  height: 24px;
  z-index: 2;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  /* Icon Close */
}
#primary-menu-trigger .icon-menu span {
	background-color: #ffffff;
	width: 24px;
	height: 2px;
	position: absolute;
	display: flex;
	justify-content: flex-end;
	transition: all 0.2s ease;
	right: 0;
	border-radius: 5px;
}
#primary-menu-trigger .icon-menu span:before, #primary-menu-trigger .icon-menu span:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 5px;
}
#primary-menu-trigger .icon-menu span:before {
  transform: translateY(-8px);
  transition: all 0.3s 0.1s ease;
}
#primary-menu-trigger .icon-menu span:after {
  transform: translateY(8px);
  transition: all 0.3s 0.2s ease;
}
#primary-menu-trigger .icon-menu:hover span {
  width: 28px;
}
#primary-menu-trigger .icon-menu:hover span:before {
  width: 20px;
}
#primary-menu-trigger .icon-menu:hover span:after {
  width: 16px;
}
#primary-menu-trigger .icon-menu.icon-closed {
  justify-content: center;
}
#primary-menu-trigger .icon-menu.icon-closed span {
  background-color: white;
  justify-content: center;
  width: 0px;
  right: initial;
  opacity: 0.5;
  transition: all 0.6s ease;
}
#primary-menu-trigger .icon-menu.icon-closed span:before, #primary-menu-trigger .icon-menu.icon-closed span:after {
  width: 30px;
  background-color: white;
}
#primary-menu-trigger .icon-menu.icon-closed span:before {
  transform: rotate(45deg);
}
#primary-menu-trigger .icon-menu.icon-closed span:after {
  transform: rotate(-45deg);
}
#primary-menu-trigger .icon-menu.icon-closed:hover span {
  width: 0;
  opacity: 1;
}
@media screen and (max-width: 991.98px) {
  #primary-menu-trigger .icon-menu.icon-closed:hover span:before {
	transform: rotate(45deg);
  }
  #primary-menu-trigger .icon-menu.icon-closed:hover span:after {
	transform: rotate(-45deg);
  }
}
#primary-menu-trigger .secondary-icons {
  display: flex;
  flex-wrap: wrap;
}
#primary-menu-trigger .secondary-icons .icon-second {
  width: 24px;
  height: 24px;
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
}
@media screen and (max-width: 991.98px) {
  #primary-menu-trigger .secondary-icons .icon-second {
	margin: 0 5px;
  }
}
#primary-menu-trigger .secondary-icons .icon-second:last-child {
  margin-right: 30px;
}
@media screen and (max-width: 991.98px) {
  #primary-menu-trigger .secondary-icons .icon-second:last-child {
	margin-right: 15px;
  }
}
#primary-menu-trigger .secondary-icons .icon-second:hover {
  transform: translateY(-5px);
  opacity: 0.5;
}
@media screen and (max-width: 991.98px) {
  #primary-menu-trigger .secondary-icons .icon-second:hover {
	transform: translateY(0px);
	opacity: 1;
  }
}
nav .menu {
  display: none;
  /* Open Menu */
  /* Animation - Close */
}
nav .menu.open {
  display: flex;
  z-index: 3;
  overflow: hidden;
  width: 100%;
  margin: 0;
  /* Menu Open - Main Link */
}
nav .menu.open .menu-link {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 0.4s ease-in-out;
  animation: menu 0.6s ease forwards;
  height: 100vh;
  position: relative;
  /* Main Link - text */
  /* Sub Menu */
  /* Menu Links - Hover */
}
@keyframes menu {
  0% {
	height: 0;
	transform: translatey(-50%);
  }
  100% {
	height: 100vh;
	transform: translatey(0%);
  }
}
nav .menu.open .menu-link:nth-child(1) {
  background-color: #e44723;
  animation-duration: 0.6s;
}
nav .menu.open .menu-link:nth-child(2) {
  background-color: #f0871a;
  animation-duration: 0.8s;
}
nav .menu.open .menu-link:nth-child(3) {
  background-color: #efc054;
  animation-duration: 1s;
}
nav .menu.open .menu-link:nth-child(4) {
  background-color: #90b650;
  animation-duration: 1.2s;
}
nav .menu.open .menu-link:nth-child(5) {
  background-color: #004684;
  animation-duration: 1.4s;
}
nav .menu.open .menu-link .text-item {
	color: white;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 2.5rem;
	line-height: 1.3;
	width: 100%;
	height: 20%;
	letter-spacing: 1px;
	transform: rotate(-90deg) translateX(0px);
	transition: all 0.4s 0.2s ease-in-out, letter-spacing 0.2s ease-in, opacity 0.2s ease-in;
	display: flex;
	justify-content: center;
	flex-direction: column;
	transform-origin: center;
	animation: text-in 0.6s ease;
	position: absolute;
	padding-left: 50px;
}
nav .menu.open .menu-link.sub .text-item span {
	display: block;
	font-size: 1.5rem;
}
@media screen and (max-width: 991.98px) {
	.primary-menu {
		max-width: calc(100vw + 272px);
		margin-left: -136px;
		margin-right: -136px;
		margin-top: -60px;
	}
	nav .menu.open .menu-link .text-item {
		transform: rotate(0deg);
		font-size: 1.35rem;
	}
	nav .menu.open .menu-link .text-item  {
		align-items: center;
		padding-left: 0;
	}
	nav .menu.open .menu-link.sub .text-item span {
		font-size: 0.9rem;
	}
}
@media screen and (max-width: 767.98px) {
	.primary-menu {
		max-width: calc(100% + 30px);
		margin-left: -15px;
		margin-right: -15px;
	}
}
@keyframes text-in {
  0% {
	opacity: 0;
  }
  20% {
	opacity: 0;
  }
  100% {
	opacity: 0.3;
  }
}

nav .menu.open .menu-link .submenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  box-sizing: border-box;
  opacity: 0;
  z-index: -1;
  transition: all 0.6s ease-in-out;
  height: 0%;
  width: 100%;
  bottom: 0;
  transform: translateY(50%);
  position: absolute;
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link .submenu {
	padding: 0 5%;
  }
}
nav .menu.open .menu-link .submenu .sub-item {
  display: none;
  margin: 2px 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
  font-weight: normall;
  position: relative;
  width: fit-content;
  cursor: pointer;
  padding: 5px 15px;
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link .submenu .sub-item {
		font-size: 1rem;
		width: auto;
		justify-content: center;
	}
}
nav .menu.open .menu-link .submenu .sub-item a:after {
	content: "";
	height: 0%;
	width: 0px;
	position: absolute;
	bottom: -0.4rem;
	left: 0;
	transition: height 0.4s 0.3s ease, width 0.4s ease;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #efc054;
}
nav .menu.open .menu-link .submenu .sub-item:hover a:after {
  width: 100%;
  height: 100%;
  transition: height 0.4s ease, width 0.4s 0.3s ease;
}

nav .menu.open .menu-link .submenu .sub-item a {
	color: #ffffff;
	position: relative;
}

nav .menu.open .menu-link:hover {
  width: 50%;
  transition: all 0.4s ease-in-out;
  /* When Click to Open Sub Menu */
}
nav .menu.open .menu-link:hover .text-item {
  height: 50%;
  transform: rotate(0deg) translateX(0px);
  font-size: 40px;
  opacity: 1;
  letter-spacing: 1px;
}
@media screen and (min-width: 992px) {
  nav .menu.open .menu-link .text-item {
	width: 120%;
	padding-left: 0;
  }
  nav .menu.open .menu-link:hover .text-item {
	  width: 100%;
	  padding-left: 50px;
  }
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link:hover .text-item {
	width: 100%;
	font-size: 1.35rem;
	letter-spacing: 1px;
  }
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link:hover {
	height: 80vh;
  }
}
nav .menu.open .menu-link:hover .text-item {
  transform: rotate(0deg) translateX(0px) translateY(-50%);
  transform-origin: center center;
  transition: all 0.6s ease-in-out;
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link:hover .text-item {
	height: 20%;
	transform: translateY(-180%);
  }
}
nav .menu.open .menu-link:hover .submenu {
  transform: translateY(0);
  height: 50%;
  z-index: 1;
  opacity: 1;
  bottom: 0;
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link:hover .submenu {
	height: 70%;
  }
}
nav .menu.open .menu-link:hover .submenu .sub-item {
  display: flex;
  animation: submenu 1s ease forwards;
  z-index: 2;
}
@keyframes submenu {
  0% {
	transform: translatex(50px) rotate(5-deg);
	opacity: 0;
  }
  50% {
	transform: translatex(50px) rotate(-5deg);
	opacity: 0;
  }
  100% {
	opacity: 1;
	transform: translatex(0px) rotate(0deg);
  }
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(1) {
  animation-duration: 1s;
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(2) {
  animation-duration: 1.2s;
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(3) {
  animation-duration: 1.4s;
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(4) {
  animation-duration: 1.6s;
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(5) {
  animation-duration: 1.8s;
}
nav .menu.open .menu-link:hover .submenu .sub-item:nth-child(6) {
  animation-duration: 2s;
}
@media screen and (max-width: 991.98px) {
  nav .menu.open .menu-link {
	width: 100%;
	height: 25%;
	animation: menu-mobile 0.6s ease forwards;
	transform: translatey(0%);
	right: 0;
  }
  @keyframes menu-mobile {
	0% {
	  transform: translateX(200%);
	}
	100% {
	  transform: translateX(0%);
	}
  }
  nav .menu.open .menu-link:hover {
	width: 100%;
  }
}
@media screen and (max-width: 991.98px) {
  nav .menu.open {
	height: 100vh;
	flex-direction: column;
  }
}
nav .menu.close .menu-link {
  animation: menu-close 1s ease forwards;
}
@keyframes menu-close {
  0% {
	height: 100vh;
  }
  100% {
	height: 0;
  }
}
nav .menu.close .menu-link .text-item {
  animation: text-out 0.6s ease forwards;
}
@keyframes text-out {
  0% {
	opacity: 0.3;
  }
  80% {
	opacity: 0;
  }
  100% {
	opacity: 0;
  }
}

#top-search a {
    z-index: 1;
}


/*========== Home Style ==========*/
#banner {
	position: relative;
}
#banner .banner-inner {
	position: absolute;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#banner .video-wrap {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#banner .video-wrap video {
	display: block !important;
}

#page-title {
	background: url(/archive/image/page-title-bg.jpg) no-repeat center center;
	background-size: cover;
}