@charset "utf-8";

body {
  font-family: "Noto Sans TC", sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1700px;
  margin: 0 auto;
}
.container2 {
  max-width: 1200px;
  margin: 0 auto;
}
.wrap {
  margin-top: 80px;
}

/* .widewidth {
    max-width: 1800px;
    margin: 0 auto;
} */

ul:after,
section:after,
div:after,
li:after {
  content: "";
  display: block;
  clear: both;
}

/*header*/
.headerbox {
  background-color: #ffffff70;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  box-shadow: 0 10px 5px -10px rgb(0 0 0 / 0.1);
  color: #000000;
}

.headroom--unpinned,
.headroom--pinned {
  background-color: #ffffff;
}
.headroom--top {
  background-color: #ffffffbb;
}

.menu {
  display: flex;
}
.menubtn {
  display: none;
}
.rwdmenu {
  display: none;
}
.rwdmenulist {
  display: none;
}
.menu li {
  position: relative;
  /* width: 6rem;
    height: 2rem; */
}

.menu a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu > li > a {
  border-color: transparent;
  border-radius: 25px;
  border-width: 2px;
}

.menu li > a {
  position: relative;
}
.menu li > a:before {
  content: "";
  position: absolute;
  border-radius: 25px;
  background-color: transparent;
  width: 100%;
  height: 100%;
}

.menu li > a.active,
.menu li > a:hover {
  border-radius: 25px;
  color: white !important;
  background-color: #595757;
}

.rwdmenulist li a {
  padding: 10px;
}
.rwdmenulist li {
  position: relative;
  /* width: 16.4rem; */
  padding-left: 10px;
}
.rwdmenulist a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.rwdmenulist > li > a:hover:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*index-banner*/
.bannersplide .splide__pagination .splide__pagination__page {
  background-color: transparent;
  width: 8px;
  height: 8px;
  border-color: #000000;
  border-width: 1px;
  border-radius: 50%;
}

.bannersplide .splide__pagination .splide__pagination__page.is-active {
  background-color: #383838;
  width: 8px;
  height: 8px;
  border-color: #000000;
  border-width: 1px;
  border-radius: 50%;
}
.bannersplide .splide__pagination li {
  padding: 0px 2px 0px 2px;
  outline: none;
}
.bannersplide .splide__pagination button {
  outline: none;
}

/*index-news*/

.indexnewstitle {
  overflow: hidden;
  height: 50px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.indexnewscontent {
  overflow: hidden;
  height: 40px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*news*/
.newsli {
  width: 90%;
}
.newstitle {
  overflow: hidden;
  height: 30px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.newscontent {
  overflow: hidden;
  height: 115px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.topwrd {
  overflow: hidden;
  height: 15px;
  /* width: 34%; */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.newslidewrd {
  overflow: hidden;
  height: 20px;
  width: 100%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.newsli li {
  border-bottom: 1px dashed #bbbbbb;
  display: block;
}
.newsli li:last-child {
  border-bottom: 0px;
}
.rwdnews:hover .morebtn {
  background-color: rgb(251 191 36);
  border-color: transparent;
}
.news1 {
  width: 35%;
}
.news2 {
  width: 65%;
}
.newsli li .news1 {
  float: left;
  padding-right: 8px;
}
.newsli li .news2 {
  float: right;
}
.newsli li button {
  float: right;
}
.newsli li:nth-child(even) .news1 {
  float: right;
  padding-left: 8px;
}
.newsli li:nth-child(even) .news2 {
  float: left;
}
.newsli li:nth-child(even) button {
  float: left;
}

/*apply*/
.sidebtn:hover {
  background-color: rgb(251 191 36);
  border-color: transparent;
}

.sidebtn.active,
.sidebtn:active {
  /* border-radius: 25px;
    background-color: #595757;
    color: white;
    width: 100%;
    height: 100%; */
  background-color: rgb(251 191 36);
}

/*history*/
.sideleft {
  float: left;
  width: 20%;
  padding-right: 10px;
}
.sideright {
  float: right;
  width: 80%;
  padding-left: 10px;
}
.panel {
  max-height: 40rem;
  overflow: hidden;
  transition: all 0.33333s ease-in-out;
}
.active + .panel {
  max-height: 1000rem;
}

/*contact*/
.bg {
  animation: banner 2s ease-in-out forwards;
}

.contactwrd {
  letter-spacing: 4px;
}

.contact2 {
  letter-spacing: 13px;
}
.contact3 {
  letter-spacing: 31px;
}

/*emba*/
.embanewstitle {
  overflow: hidden;
  height: 33px;
  /* width: 70%; */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.embanewscontent {
  overflow: hidden;
  height: 48px;
  width: 90%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*footer*/
.gotop {
  position: fixed;
  right: 2%;
  bottom: 36px;
  outline: none;
  display: none;
  z-index: 999;
}

@keyframes banner {
  0% {
    transform: scale(8);
  }

  100% {
    transform: scale(1);
  }
}
.bg img {
  position: fixed;
}

.word {
  width: 100%;
  top: 0%;
  left: 0%;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  border: 1px solid #b94a48;
}

.signupblock {
  position: relative;
}
.parsley-errors-list {
  position: absolute;
  bottom: -20px;
  left: 0;
  margin: 2px 0 3px;
  margin-top: 4px;
  font-size: 10pt !important;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #b94a48;

  transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
}
.signupblock2 {
  position: relative;
}
.signupblock2 .parsley-errors-list {
  position: absolute;
  bottom: -19px;
  left: 22vw;
  margin: 2px 0 3px;
  margin-top: 4px;
  font-size: 10pt !important;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #b94a48;

  transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}

.mfp-inline-holder .mfp-content {
  width: 50%;
}
.white-popup {
  color: #d11d1d;
  text-align: center;
  font-size: 20px;
  background-color: #ffffff;
  padding: 50px 10px;
  letter-spacing: 6px;
}
.mfp-close {
  color: #070707 !important;
}

.articlebox {
  word-break: break-word;
}

.articlebox iframe {
  max-width: 100%;
}

.articlebox img {
  max-width: 100%;
  display: inline-block;
}

.articlebox ul {
  list-style: square;
}

@media screen and (max-width: 1440px) {
  /*history*/
  .panel {
    max-height: 34rem;
  }
}
@media screen and (max-width: 1366px) {
}
@media screen and (max-width: 1024px) {
  /*index-news*/
  .indexnewsplide .splide__arrow--prev {
    top: 50%;
    left: -2%;
  }

  .indexnewsplide .splide__arrow--next {
    top: 50%;
    right: -2%;
  }

  /*history*/
  .panel {
    max-height: 27rem;
  }
}
@media screen and (max-width: 820px) {
  /*header*/
  .menubtn {
    display: block;
    float: right;
  }
  .menu {
    display: none;
  }
  .rwdmenulist {
    display: block;
  }
  .rwdmenu {
    display: block;
    background-color: #ffffff;
    top: 0;
    left: 0;
    position: fixed;
    width: 225px;
    height: 100vh;
    z-index: 999;
    transform: translate(-120%, 0);
    transition: all 0.5s ease;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
      0 4px 6px -4px rgb(0 0 0 / 0.1);
  }
  .rwdmenu.active {
    transform: translate(0, 0);
  }
  .menubtn.active .close {
    display: block;
  }
  .menubtn.active .open {
    display: none;
  }
  .headerbox {
    height: 78px;
    position: fixed;
  }

  .headroom--unpinned,
  .headroom--pinned {
    background-color: #ffffff;
  }
  .headroom--top {
    background-color: #ffffff;
  }

  /*news*/
  .newsli {
    width: 100%;
  }

  /*history*/
  .sideleft {
    float: left;
    width: 20%;
    padding-right: 10px;
    display: none;
  }
  .sideright {
    float: right;
    width: 100%;
    padding-left: 0px;
  }

  .panel {
    max-height: 51rem;
  }

  /*contact*/
  @keyframes banner {
    0% {
      transform: scale(8);
    }

    100% {
      transform: scale(2);
    }
  }
}
@media screen and (max-width: 768px) {
  /*history*/
  .panel {
    max-height: 49rem;
  }
}
@media screen and (max-width: 425px) {
  /*header*/
  .headerbox {
    height: 70px;
    position: fixed;
  }

  .wrap {
    margin-top: 72px;
  }

  /*index-news*/
  .indexnewsplide .splide__arrow--prev {
    top: 55%;
    left: -3%;
  }

  .indexnewsplide .splide__arrow--next {
    top: 55%;
    right: -3%;
  }

  /*news*/
  .newstitle {
    overflow: hidden;
    height: 55px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .news1 {
    width: 100%;
  }
  .news2 {
    width: 100%;
  }
  .newsli li .news1 {
    float: none;
    padding-right: 0px;
    padding-left: 0px;
  }
  .newsli li .news2 {
    float: none;
  }
  .newsli li button {
    float: none;
  }
  .newsli li {
    border-bottom: none;
  }
  .newsli li:nth-child(even) .news1 {
    padding-left: 0px;
  }
  .newsli li:nth-child(even) button {
    float: none;
  }
  .newsmore {
    text-align: center;
  }
  .morebtn {
    background-color: rgb(251 191 36);
    border-color: transparent !important;
  }
  .rwdnews {
    border-color: #a3a3a3;
    border-width: 2px;
    border-radius: 20px;
  }
  .newspic {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
  }

  /*history*/
  .panel {
    max-height: 27rem;
  }

  /*contact*/
  .contact3 {
    letter-spacing: 30px;
  }
}
@media screen and (max-width: 414px) {
  /*history*/
  .panel {
    max-height: 26rem;
  }
}

@media screen and (max-width: 390px) {
  /*history*/
  .panel {
    max-height: 25rem;
  }
}
@media screen and (max-width: 375px) {
  /*history*/
  .panel {
    max-height: 24rem;
  }
}
@media screen and (max-width: 320px) {
  /*history*/
  .panel {
    max-height: 21rem;
  }
}
