@keyframes an_fade {
  100% {
    opacity: 1;
  }
}
@keyframes an_none {
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes an_cp_inset {
  100% {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes an_scroll {
  0% {
    height: 0;
  }
  40% {
    height: 100%;
    transform: translateY(0);
  }
  80% {
    height: 100%;
    transform: translateY(100%);
  }
  100% {
    height: 100%;
    transform: translateY(100%);
  }
}
@keyframes an_rotate_cw {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes an_rotate_acw {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes slime {
  0%,
  90% {
    animation-timing-function: linear;
  }
  10% {
    animation-timing-function: cubic-bezier(0, 0.4, 0.4, 1);
    transform: translate(0, 5%) scaleY(1.1);
  }
  45% {
    animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
    transform: translate(0, -6%) scaleY(1);
  }
  0%,
  to {
    transform: translate(0, 6%) scaleY(0.9);
  }
  90% {
    transform: translate(0, 5%) scaleY(1);
  }
}
@keyframes swing {
  0% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}
.header,
.footer {
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}
.header *,
.footer * {
  transition: color 0.25s ease, background-color 0.25s ease, opacity 0.15s linear;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 100;
  padding: 0 40px;
  background-color: #ffffff;
}
@media (min-width: 1201px) {
  .header .nav_item {
    top: 17px;
  }
}
@media (max-width: 1500px) and (min-width: 1201px) {
  .header .nav_item {
    top: 8px;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }
}
.header .header_ctn {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
}
@media (max-width: 1500px) {
  .header .header_ctn {
    font-size: 16px;
  }
}
@media (min-width: 1201px) {
  .header .header_ctn {
    z-index: 2;
  }
}
@media (max-width: 1200px) {
  .header .header_ctn {
    font-size: 20px;
  }
}
@media (max-width: 1200px) {
  .header .header_ctn {
    font-size: 16px;
  }
}
.header .header_logo {
  height: 63px;
}
@media (max-width: 1500px) {
  .header .header_logo {
    height: 46px;
  }
}
@media (max-width: 1200px) {
  .header .header_logo {
    height: 30px;
  }
}
.header .header_logo > img {
  max-width: unset;
  width: auto;
  height: 100%;
}
@media (min-width: 1201px) {
  .header .nav_frame {
    width: 100%;
    max-width: 550px;
  }
}
@media (max-width: 1500px) and (min-width: 1201px) {
  .header .nav_frame {
    max-width: 500px;
  }
}
@media (max-width: 1200px) {
  .header .nav_frame {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .header .nav_frame:not(.active) {
    height: 0;
  }
}
.header .nav_close {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
@media (min-width: 1201px) {
  .header .nav_close {
    display: none;
  }
}
@media (min-width: 1201px) {
  .header .nav_ctn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
  }
}
@media (max-width: 1200px) {
  .header .nav_ctn {
    position: relative;
    background-color: #ffffff;
    transition: 0.5s;
    border-top: 1px solid #cccccc;
  }
  .header .nav_ctn:not(.active) {
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}
.header .nav_box {
  position: relative;
  color: #6d6d6d;
}
@media (min-width: 1201px) {
  .header .nav_box {
    cursor: pointer;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
  }
  .header .nav_box:not(:hover) .sub_frame .sub_ctn {
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    opacity: 0;
  }
}
@media (max-width: 1200px) {
  .header .nav_box {
    border-bottom: 1px solid #cccccc;
  }
}
.header .nav_box:hover .tag_box .new {
  animation: swing 0.5s ease-in-out infinite;
}
.header .nav_box:not(._sign) .nav_item:hover {
  opacity: 0.7;
}
@media (max-width: 1200px) {
  .header .nav_box:not(._sign) .nav_item:hover {
    background-color: #efeeee;
  }
}
@media (min-width: 1201px) {
  .header .nav_box._sign {
    display: none;
  }
}
@media (min-width: 1201px) {
  .header .sub_frame {
    position: absolute;
    top: 100%;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 0;
  }
}
@media (max-width: 1200px) {
  .header .sub_frame {
    padding: 1.5em 0;
    padding-left: 3em;
    border-top: 1px solid #c2c2c2;
  }
}
@media (min-width: 1201px) {
  .header .sub_frame .sub_ctn {
    transition: 0.3s ease;
    -ms-transform-origin: top center;
    transform-origin: top center;
    background-color: #ffffff;
    filter: drop-shadow(0 0 10.5px rgba(112, 112, 112, 0.53));
    padding: 20px 35px 30px;
  }
}
.header .sub_frame .sub_box {
  display: block;
}
.header .sub_frame .sub_box:not(:last-child) {
  padding-bottom: 0.6em;
  margin-bottom: 0.6em;
  border-bottom: 1px solid #c2c2c2;
}
.header .sub_frame .sub_box:hover .sub_item {
  opacity: 0.7;
}
.header .sub_frame .sub_item {
  white-space: pre;
}
.header .nav_item {
  position: relative;
  display: block;
  font-weight: 500;
  line-height: 1;
}
@media (min-width: 1201px) {
  .header .nav_item.active {
    color: #da291c;
    text-shadow: 0 0 1px;
  }
}
@media (max-width: 1200px) {
  .header .nav_item {
    padding: 1em 0;
    padding-left: 3em;
  }
}
@media (max-width: 600px) {
  .header .nav_item {
    padding-left: 40px;
  }
}
.header .nav_item._sign {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
}
.header .tag_box {
  position: relative;
  width: max-content;
}
.header .tag_box .new {
  position: absolute;
  width: 25px;
  margin-bottom: 10px;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
}
@media (min-width: 1201px) {
  .header .tag_box .new {
    right: -15px;
    bottom: 100%;
  }
}
@media (max-width: 1200px) {
  .header .tag_box .new {
    top: -15px;
    left: 100%;
    margin-left: 3px;
  }
}
.header .sign_item {
  border: 1px solid #dc3545;
  border-radius: 5px;
  padding: 0.3em 0.6em;
  display: -ms-flexbox;
  display: flex;
}
.header .sign_item:not(:last-child) {
  margin-right: 10px;
}
.header .sign_item._signin {
  color: #ffffff;
  background-color: #dc3545;
}
.header .sign_item._signin::before {
  background-image: url("../../../img/signin.png");
  background-size: 20px auto;
  width: 20px;
  margin-top: -1px;
}
.header .sign_item._signup {
  color: #dc3545;
  background-color: #ffffff;
}
.header .sign_item._signup::before {
  background-image: url("../../../img/signup.png");
  background-size: 25px auto;
  width: 25px;
}
.header .sign_item:hover {
  opacity: 0.7;
}
.header .sign_item::before {
  content: "";
  background: no-repeat left center;
  display: block;
  margin-right: 10px;
}
.header .sign_item > div {
  line-height: 1;
}
.header .sign_item > div::after {
  content: "";
  display: block;
  height: 0.1em;
}
.header .search_frame {
  font-size: 90%;
  position: relative;
}
@media (min-width: 1501px) {
  .header .search_frame {
    top: 10px;
  }
}
@media (max-width: 1200px) {
  .header .search_frame {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .header .search_frame:not(.active) {
    height: 0;
  }
}
.header .search_frame .close {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.header .search_frame .search_ctn {
  position: relative;
}
@media (max-width: 1200px) {
  .header .search_frame .search_ctn {
    background-color: #ffffff;
    padding: 1em;
  }
}
.header .search_box {
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  border: 1px solid #e5001f;
  border-radius: 50px;
  padding-left: 1.5em;
}
@media (min-width: 1501px) {
  .header .search_box {
    max-width: 19em;
  }
}
.header .search_box input {
  width: 100%;
  height: 2.5em;
}
.header .search_box input::placeholder {
  color: #b1b1b1;
}
.header .search_box .icon {
  cursor: pointer;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: 5em;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: url("../../../img/frontPage/header/search.svg") no-repeat center;
  background-color: #e5001f;
  border-radius: 50px;
}
.header .search_box .icon:hover {
  opacity: 0.8;
}
.header .search_m {
  cursor: pointer;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  height: 70%;
}
.header .search_m:hover {
  opacity: 0.8;
}
.header .search_m > img {
  width: auto;
  height: 100%;
}
.header {
  border: none;
}
.header .nav_btn {
  cursor: pointer;
}
@media (min-width: 1201px) {
  .header .nav_btn {
    display: none;
  }
}
.header .nav_btn .nav_line {
  width: 32px;
  height: 3px;
  background-color: #da291c;
  transition: 0.3s;
}
.header .nav_btn .nav_line:not(:last-child) {
  margin-bottom: 8px;
}
.header .nav_btn .nav_line:nth-child(1) {
  -ms-transform-origin: left bottom;
  transform-origin: left bottom;
}
.header .nav_btn .nav_line:nth-child(3) {
  -ms-transform-origin: left top;
  transform-origin: left top;
}
.header .nav_btn.active {
  transition: 0.5s linear;
}
.header .nav_btn.active .nav_line:nth-child(1) {
  -ms-transform: rotate(42deg);
  transform: rotate(42deg);
}
.header .nav_btn.active .nav_line:nth-child(2) {
  opacity: 0;
}
.header .nav_btn.active .nav_line:nth-child(3) {
  -ms-transform: rotate(-42deg);
  transform: rotate(-42deg);
}
.header,
.header_fill {
  height: 100px;
}
@media (max-width: 1500px) {
  .header,
  .header_fill {
    height: 60px;
  }
}
@media (max-width: 768px) {
  .header,
  .header_fill {
    height: 60px;
  }
}
@media (max-width: 600px) {
  .header,
  .header_fill {
    height: 50px;
  }
}
.header_fill {
  height: 110px;
}
@media (max-width: 1500px) {
  .header_fill {
    height: 68px;
  }
}
@media (max-width: 768px) {
  .header_fill {
    height: 68px;
  }
}
@media (max-width: 600px) {
  .header_fill {
    height: 58px;
  }
}
@media (max-width: 1200px) {
  .header .nav_frame,
  .header .search_frame {
    top: 68px;
  }
}
@media (max-width: 768px) {
  .header .nav_frame,
  .header .search_frame {
    top: 68px;
  }
}
@media (max-width: 600px) {
  .header .nav_frame,
  .header .search_frame {
    top: 58px;
  }
}
.header .header_line {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #da291c;
  height: 10px;
}
@media (max-width: 1200px) {
  .header .header_line {
    height: 8px;
  }
}
@media (min-width: 1201px) {
  .header .nav_frame {
    -ms-flex-item-align: stretch;
    align-self: stretch;
    margin: -10px 0;
  }
}
@media (max-width: 1200px) {
  .header .nav_ctn {
    padding-top: 8px;
  }
}
.footer {
  background-color: #ffffff;
  display: block;
  text-align: center;
  padding: 30px 10px 50px;
  border-bottom: 16px solid #da291c;
  color: #6d6d6d;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 -2px 10px 0 #eeeeee;
}
@media (max-width: 1024px) {
  .footer {
    border-width: 10px;
  }
}
@media (max-width: 600px) {
  .footer {
    padding-bottom: 30px;
    font-size: 14px;
  }
}
.footer a {
  display: inline-block;
}
.footer .footer_ctn {
  max-width: 600px;
  margin: auto;
}
@media (max-width: 600px) {
  .footer .footer_ctn {
    max-width: 350px;
  }
}
.footer .footer_media > a {
  box-sizing: content-box;
  width: 30px;
  padding: 0 8px 8px;
  font-size: 0;
  line-height: 1;
}
@media (max-width: 600px) {
  .footer .footer_link {
    line-height: 1.8;
  }
}
.footer .footer_link a {
  color: #6d6d6d;
  transition: 0.5s;
  text-decoration: underline;
}
.footer .footer_link a:hover {
  color: #da291c;
}
@media (min-width: 1201px) {
  .up_nav_m_hide {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .nav_m_hide {
    display: none !important;
  }
}
