/* 共用css */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  box-sizing: border-box;
}

html,
body {
  /* height: 100%; */
  font-family: Noto Sans TC, \5fae\8edf\6b63\9ed1\9ad4, Arial, sans-serif !important;
  margin: 0;
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: "Noto Sans TC", '微軟正黑體', 'Arial', sans-serif;
  font-size: 16px;
  /* font-weight: 500; */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
  color: #2F2F2F;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 2px;
}

select:focus,
input:focus {
  outline: none;
  background-color: transparent;
}

button {
  padding: 0px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.wrapper {
  position: relative;
  margin-top: 70px;
  width: 100%;
  height: calc(100% - 70px);
  overflow: auto;
  margin-bottom: 80px;
}

/* header css */

.headerWrap {
  width: 100%;
  height: 70px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.headerWrap .logo {
  width: 210px;
  margin-left: 50px;
}

@media screen and (max-width: 820px) {
  .headerWrap .logo {
    width: 180px;
    margin-left: 20px;
  }
}

.headerWrap .navWrap {
  flex-shrink: 0;
  display: flex;
  margin-right: 70px;
}

@media screen and (max-width: 820px) {
  .headerWrap .navWrap {
    display: none;
  }
}

.headerWrap .nav {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.headerWrap .nav .active {
  border-bottom: 3px solid #CE2230;
}

.headerWrap .menuButton {
  margin-right: 30px;
  height: 70px;
  line-height: 70px;
  font-weight: 500;
}

.headerWrap .menuButton a {
  color: #2f2f2f;
  text-decoration: none;
}

.headerWrap .navBlock {
  width: 100%;
  height: 70px;
}

.headerWrap .menuWrapper {
  position: absolute;
  top: 70px;
  padding-top: 10px;
}

.headerWrap .menuWrap {
  width: 220px;
  background-color: #fff;
  box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
  border-radius: 18px;
  overflow: hidden;
  display: none;
}

.headerWrap .menuBtn {
  user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  display: block;
  line-height: 28px;
  width: 100%;
  height: 58px;
  padding: 10px 30px;
  text-align: left;
  text-decoration: none;
}

.headerWrap .menuBtn a {
  color: #2f2f2f;
  text-decoration: none;
}

.headerWrap .menuBtn:hover {
  background-color: rgb(245, 245, 245);
}

.headerWrap .subMenuButton {
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid #E9E9E9;
}

.headerWrap .subMenuButton::before {
  position: absolute;
  content: '';
  width: 5px;
  height: 5px;
  border: 1px solid #CE2230;
}

.headerWrap .navItem:nth-child(1) {
  order: 1;
}

.headerWrap .navItem:nth-child(2) {
  order: 2;
}

.headerWrap .navItem:nth-child(3) {
  order: 3;
}

.headerWrap .navItem:nth-child(4) {
  order: 4;
}

.headerWrap .navItem:nth-child(5) {
  order: 5;
}

.headerWrap .navItem:nth-child(6) {
  order: 6;
}

.headerWrap .searchWrap {
  display: none;
}

@media screen and (max-width: 820px) {
  .headerWrap .searchWrap {
    display: flex;
    margin-right: 70px;
    padding: 0px 20px;
    height: 70px;
    align-items: center;
  }
}

.headerWrap .searchIcon {
  width: 21px;
  height: 21px;
}

.navToggle {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 999;
  width: 70px;
  height: 70px;
  border: none;
  background-color: #CE2230;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 820px) {
  .navToggle {
    position: fixed;
  }
}

.navToggle .line {
  position: absolute;
  width: 20px;
  height: 1px;
  background-color: #fff;
  opacity: 1;
  transform: rotate(0deg);
  transition-duration: 0.8s;
  top: 29px;
}

.navToggle .line:nth-child(2) {
  top: 35px;
}

.navToggle .line:nth-child(3) {
  top: 41px;
}

.navToggle .line1 {
  transition-duration: 0.5s;
  transform: rotate(45deg);
  top: 35px;
}

.navToggle .line2 {
  transition-property: opacity;
  transition-duration: 0.5s;
  opacity: 0;
}

.navToggle .line3 {
  transition-duration: 0.5s;
  transform: rotate(-45deg);
  top: 35px !important;
}

.navToggleWrap {
  position: absolute;
  top: -100%;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 47, 47, 0.68);
  z-index: 998;
  opacity: 1;
  transition-duration: 0s;
}

@media screen and (max-width: 460px) {
  .navToggleWrap {
    background-color: transparent;
    top: 70px;
    transition-duration: 0.8s;
  }
}

.navToggleWrap .navWrap2 {
  position: absolute;
  top: -60%;
  right: -60%;
  width: 70%;
  max-width: 1080px;
  height: calc(100% - 185px);
  background-color: #1E2021;
  color: #fff;
  margin-left: auto;
  padding: 125px 110px 60px;
  overflow-y: auto;
  transition-duration: 0.8s;
}

@media screen and (max-width: 820px) {
  .navToggleWrap .navWrap2 {
    width: calc(100% - 80px);
    padding: 40px;
    height: calc(100% - 80px);
  }
}

@media screen and (max-width: 460px) {
  .navToggleWrap .navWrap2 {
    background-color: #fff;
    padding: 0px;
    border-top: 2px solid #EF901F;
    ;
    width: 100%;
    height: calc(100% - 70px);
    top: 0px;
    color: #2F2F2F;
    ;
  }
}

.navToggleWrap .navList {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.navToggleWrap .navItem {
  position: relative;
  width: 25%;
  color: #fff;
  font-size: 16px;
  margin-bottom: 80px;
}

@media screen and (max-width: 460px) {
  .navToggleWrap .navItem {
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
  }
}

.navToggleWrap .title {
  /* margin-bottom: 30px; */
}

.navToggleWrap .sub-title {
  font-size: 14px;
  margin-bottom: 5px;
}

.navToggleWrap .navBtn {
  position: relative;
  width: 100%;
  max-width: 170px;
  height: 55px;
  line-height: 55px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border: 1px solid #fff;
}

@media screen and (max-width: 460px) {
  .navToggleWrap .navBtn {
    width: 60%;
    color: #2F2F2F;
    ;
    border: 1px solid rgb(166, 169, 176);
    margin: 30px auto 0;
    max-width: initial;
  }
}

.navToggleWrap .navBtn .icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 20px;
  color: #fff;
  height: auto;
}

@media screen and (max-width: 460px) {
  .navToggleWrap .navBtn .icon {
    color: #2F2F2F;
    ;
  }
}

.navToggleWrap .inputWrap {
  position: relative;
  width: 100%;
  height: 50px;
}

@media screen and (max-width: 460px) {
  .navToggleWrap .inputWrap {
    display: none;
  }
}

.navToggleWrap input {
  width: calc(100% - 65px);
  height: 50px;
  line-height: 50px;
  padding: 0px 50px 0 15px;
  background-color: #353738;
  border: 1px solid #353738;
  font-size: 16px;
  color: #A7AAB1;
  border-radius: 45px;
  text-align: start;
}

.navToggleWrap input::placeholder {
  color: #A7AAB1;
}

.navToggleWrap .searchImg {
  position: absolute;
  width: 21px;
  height: 22px;
  top: 50%;
  transform: translate(0, -50%);
  right: 20px;
  cursor: pointer;
}

.navToggleWrap .lang {
  flex-shrink: 0;
  font-size: 16px;
  color: #fff;
  margin-left: auto;
}

@media screen and (max-width: 820px) {
  .navToggleWrap .lang {
    margin-top: 15px;
  }
}

@media screen and (max-width: 460px) {
  .navToggleWrap .lang {
    color: #2F2F2F;
    ;
    margin: 20px auto 0px;
  }
}

.navToggleWrap .tw {
  padding: 0px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

@media screen and (max-width: 460px) {
  .navToggleWrap .tw {
    border-right: 1px solid rgba(167, 170, 177, 0.5);
  }
}

.navToggleWrap .en {
  padding: 0px 20px;
  cursor: pointer;
}

@media screen and (max-width: 820px) {
  .navToggleWrap .en {
    padding-right: 0px;
  }
}

@media screen and (max-width: 460px) {
  .navToggleWrap .en {
    padding-right: 20px;
  }
}

.navToggleWrap .active {
  color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 460px) {
  .navToggleWrap .active {
    color: rgba(167, 170, 177, 0.5);
  }
}

.navToggleWrap .communityList {
  display: flex;
  margin-top: 20px;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .navToggleWrap .communityList {
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
  }
}

.navToggleWrap .communityItem {
  margin-right: 30px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .navToggleWrap .communityItem:nth-child(3) {
    margin-right: 0px;
  }
}

@media screen and (max-width: 460px) {
  .navToggleWrap .communityItem {
    display: none;
  }
}

.navToggleWrap .communityImg {
  margin-right: 10px;
}

.showNavToggleWrap {
  top: 0;
  right: 0;
  opacity: 1;
  transition-duration: 0s;
}

@media screen and (max-width: 460px) {
  .showNavToggleWrap {
    top: 70px;
  }
}

.showNavToggle {
  top: 0 !important;
  right: 0 !important;
  transition-duration: 0.8s;
}

.searchToggleWrap {
  display: none;
}

@media screen and (max-width: 820px) {
  .searchToggleWrap {
    position: absolute;
    width: calc(100% - 40px);
    display: block;
    top: 70px;
    padding: 0 20px 20px;
    background-color: rgba(47, 47, 47, 0.6);
    z-index: 2;
  }
}

.searchToggleWrap .searchCloseImg {
  width: 24px;
  height: 24px;
  margin: 20px 0 10px auto;
  display: block;
  cursor: pointer;
}

.searchToggleWrap .inputWrap {
  width: 100%;
  position: relative;
}

.searchToggleWrap input {
  width: calc(100% - 30px);
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  color: #2F2F2F;
  border-radius: 45px;
  border: 1px solid rgba(47, 47, 47, 0.1);
}

.searchToggleWrap button {
  position: absolute;
  padding: 5px 30px;
  top: 50%;
  right: 5px;
  transform: translate(0, -50%);
  font-size: 16px;
  border-radius: 45px;
  background-color: #CE2230;
  border: none;
  line-height: initial;
  color: #fff;
}

a {
  color: #fff;
}

a:focus {
  color: #fff;
}

.menuName {
  display: none;
  color: #2F2F2F;
}

@media screen and (max-width:460px) {
  .menuName {
    display: block;
    width: 100%;
  }
}

.menuName:focus {
  color: #2F2F2F;
}

.unRoute {
  cursor: pointer;
}

.langTW {
  margin-right: 30px;
  height: 70px;
  line-height: 70px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

/* 右邊選單 css */

.headerList {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.rotate-180 {
  transform: rotate(180deg);
}

@media screen and (min-width: 820px) {
  .headerList {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 820px) {
  .headerList {
    flex-direction: column;
  }
}

.headerList .box {
  width: 25%;
  margin-bottom: 80px;
}


@media screen and (max-width: 820px) {
  .headerList .box {
    width: 100%;
    margin-bottom: 0px;
  }

  .headerList .box a {
    color: #2F2F2F;
    text-decoration: none;
  }
}

.headerList .item {
  width: 100%;
}


.headerList .item:last-child .title,
.headerList .item:last-child .menuList {
  padding-left: 0px;
}

.headerList .title {
  padding: 15px 0;
  font-size: 16px;
}

.headerList .title a {
  text-decoration: none;
}

@media screen and (min-width: 820px) {
  .headerList .title img {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .headerList .title {
    position: relative;
    letter-spacing: 2px;
    padding: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(167, 170, 177, 0.12);
  }

  .headerList .title img {
    position: absolute;
    top: 30px;
    right: 20px;
    width: 12px;
  }

  .headerList .title .close {
    position: absolute;
    top: 30px;
    right: 5px;
  }
}

.headerList .menuList {
  padding-top: 20px;
  padding-left: 15px;
}

.headerList .submenu {
  padding: 15px 0 0;
  font-size: 14px;
  /* opacity: 0.8; */
}

.headerList .submenu a {
  text-decoration: none;
  color: #FFF;
  cursor: pointer;
}

@media screen and (max-width: 820px) {
  .headerList .submenu {
    font-size: 16px;
    opacity: 1;
    padding: 20px;
    background-color: #a7aab11a;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    /* display: none; */
  }

  .headerList .submenu a {
    color: #2F2F2F;
  }

  .headerList .submenu:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 6px;
    border: 1px solid #CE2230;
    display: inline-block;
    margin-right: 10px;
  }
}

.headerList .headerListWrap {
  width: 100%;
  display: flex;
}

@media screen and (max-width: 460px) {
  .headerList .headerListWrap {
    flex-direction: column;
  }
}

.headerList .submenuboxhead {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

@media screen and (min-width: 460px) {
  .headerList .submenuboxhead {
    max-height: 300px;
  }
}

.submenuboxhead.open {
  max-height: 300px;
}



/* footer css */

footer {
  background-color: #2C2D2F;
  color: #fff;
}

footer .content {
  padding-top: 40px;
  padding-bottom: 70px;
}

/* Community List Styles */
.communityList {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 60px; */
}

@media screen and (max-width: 460px) {
  .communityList {
    width: fit-content;
    align-items: flex-start;
    flex-direction: column;
    margin: 0 auto 25px;
  }
}

.communityList .item {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  margin-right: 30px;
}

.communityList .item:last-child {
  margin-right: 0px;
}

@media screen and (max-width: 460px) {
  .communityList .item {
    margin-right: 0px;
    margin-bottom: 10px;
  }
}

.communityList img {
  margin-right: 10px;
}

/* Footer List Styles */
.footerList {
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 460px) {
  .footerList {
    flex-direction: column;
  }
}

.footerList .box {
  width: 16.6%;
}

@media screen and (max-width: 820px) {
  .footerList .box {
    width: 100%;
  }
}

.footerList .item {
  width: 100%;
}


.footerList .item:last-child .title,
.footerList .item:last-child .menuList {
  padding-left: 0px;
}

.footerList .title {
  padding: 15px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(167, 170, 177, 0.12);
}

@media screen and (min-width: 820px) {
  .footerList .title img {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  .footerList .title {
    position: relative;
    letter-spacing: 2px;
  }

  .footerList .title img {
    position: absolute;
    top: 20px;
    right: 5px;
  }

  .footerList .title .close {
    position: absolute;
    top: 30px;
    right: 5px;
    display: none;
  }
}

.footerList .menuList {
  padding-top: 20px;
  padding-left: 15px;
}

.footerList .submenu {
  padding: 15px 0 0;
  font-size: 14px;
  opacity: 0.8;
}

.footerList .submenu a {
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 820px) {
  .footerList .submenu {
    font-size: 16px;
    opacity: 1;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    /* display: none; */
  }
}

.footerList .footerListWrap {
  width: 100%;
  display: flex;
}

@media screen and (max-width: 460px) {
  .footerList .footerListWrap {
    flex-direction: column;
  }
}

.footerList .submenubox {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.submenubox.open {
  max-height: 300px;
}

@media screen and (min-width: 460px) {
  .footerList .submenubox {
    max-height: 300px;
  }
}

/* Footer Bottom Styles */
.footerBottom {
  width: 100%;
  height: 60px;
  background-color: #242424;
}

@media screen and (max-width: 820px) {
  .footerBottom {
    width: calc(100% - 40px);
    height: auto;
    padding: 20px;
  }
}

@media screen and (max-width: 460px) {
  .footerBottom {
    width: 100%;
    padding: 20px 0 75px;
  }
}

.footerBottom .content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-left: 0px;
  padding-right: 0px;
  max-width: 1240px;
}

@media screen and (max-width: 820px) {
  .footerBottom .content {
    flex-wrap: wrap;
    height: auto;
  }
}

.footerBottom .list {
  display: flex;
}

.footerBottom .list a {
  text-decoration: none;
}

@media screen and (max-width: 820px) {
  .footerBottom .list {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 460px) {
  .footerBottom .list {
    flex-wrap: wrap;
  }
}

.footerBottom a {
  opacity: 0.8;
  padding-right: 10px;
  padding-left: 10px;
  border-right: 1px solid #fff;
  font-size: 14px;
  line-height: 14px;
  cursor: pointer;
}

.footerBottom a:last-child {
  border-right: none;
}

@media screen and (max-width: 460px) {
  .footerBottom a {
    margin-bottom: 10px;
  }
}

.footerBottom .copyright {
  opacity: 0.8;
  font-size: 14px;
  line-height: 14px;
  color: #fff;
}

@media screen and (max-width: 820px) {
  .footerBottom .copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
}

/* General Link Styles */
a {
  color: #fff;
}

a:focus {
  color: #fff;
}

/* Unroute Styles */
.unRoute {
  cursor: pointer;
}

/* //內頁 */
.h1box {
  background: #F3F3F3;
}

.h1text {
  padding: 16px 0;
  margin: 0;
  display: flex;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
}

.themap {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

@media screen and (max-width: 820px) {
  .themap {
    display: block;
  }
}

.mapbox {
  padding-top: 48px;
  width: calc(20% - 40px);
  margin: 0 20px;
}

@media screen and (max-width: 820px) {
  .mapbox {
    padding-top: 40px;
    width: calc(100%);
    margin: 0;
  }
}

.mapbox:nth-child(6),
.mapbox:nth-child(7) {
  padding-top: 84px;
}

@media screen and (max-width: 820px) {

  .mapbox:nth-child(6),
  .mapbox:nth-child(7) {
    padding-top: 40px;
  }
}

.mapbox .title {
  color: #CE2230;
  font-size: 20px;
  padding-bottom: 8px;
  font-weight: 300;
  border-bottom: 1px solid rgba(167, 170, 177, 0.3);
  margin-bottom: 16px;
  margin-top: 0;
}

.mapbox .text {
  margin-bottom: 12px;
}

.mapbox .text a {
  text-decoration: none;
  color: #2F2F2F;
}

@media screen and (max-width: 820px) {
  .mapbox .text {
    width: 50%;
  }
}

@media screen and (max-width: 820px) {
  .mapboxmb {
    display: flex;
    flex-wrap: wrap;
  }
}

.mapboxmb a{
  cursor: pointer;
}
