.wrapper {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

a,
a:hover {
  text-decoration: none;
}

body {
  font-family: "Microsoft JhengHei", sans-serif !important;
  overflow: hidden;
  overflow-y: auto;
  padding-top: 80px;
}
@media (max-width: 1150px) {
  body {
    padding-top: 65px;
  }
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix {
  clear: both;
  display: block;
  width: 100%;
}

.desktop {
  display: block;
}
@media (max-width: 1150px) {
  .desktop {
    display: none;
  }
}

.mobile {
  display: none;
}
@media (max-width: 1150px) {
  .mobile {
    display: block;
  }
}

header.header {
  background: #4AB8DF;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
}
header.header.header2 .logo {
  width: 150px;
  margin: 15px auto 20px auto;
}
@media (max-width: 1150px) {
  header.header.header2 .logo {
    width: 130px;
    margin: 5px auto 10px auto;
  }
}
header.header.header2 ul {
  float: right;
  margin-top: 70px;
}
@media (max-width: 1150px) {
  header.header.header2 ul {
    float: none;
    margin: 0 auto;
  }
}
header.header.header2 ul li a {
  font-size: 18px;
  padding: 0 20px;
  border-right: 1px solid #fff;
}
@media (max-width: 1150px) {
  header.header.header2 ul li a {
    border: 0;
  }
}
header.header.header2 ul li:last-of-type a {
  border: 0;
}
header.header.header2 .menu {
  margin: 26px auto;
}
header.header img {
  display: block;
  width: 100%;
}
header.header .logo {
  float: left;
  width: 202px;
  margin: 25px auto 20px auto;
}
@media (max-width: 1150px) {
  header.header .logo {
    margin-top: 20px;
  }
}
header.header .btn {
  float: right;
  width: 160px;
  margin: 14px auto;
  border: 1px solid transparent;
}
@media (max-width: 1150px) {
  header.header .btn {
    width: 130px;
  }
}
@media (max-width: 500px) {
  header.header .btn {
    display: none;
  }
}
header.header .btn:hover {
  background: url(../img/header-btn-hover.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 5px;
  border: 1px solid #fff;
}
header.header .btn:hover img {
  opacity: 0;
}
header.header .menu {
  display: none;
  float: right;
}
@media (max-width: 1150px) {
  header.header .menu {
    display: block;
    width: 40px;
    margin: 20px 0 20px 20px;
  }
}
header.header ul {
  margin-left: 50px;
  float: left;
}
@media (max-width: 1150px) {
  header.header ul {
    display: block;
    float: none;
    position: fixed;
    right: -50vw;
    width: 50%;
    top: 0;
    height: 100%;
    background: #4AB8DF;
    z-index: 99;
  }
}
header.header ul li {
  float: left;
  list-style: none;
  text-align: center;
}
header.header ul li a {
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  padding: 15.5px 30px;
}
header.header ul li a.active, header.header ul li a:hover {
  background: #fff;
  color: #4AB8DF;
  font-weight: bold;
}
@media (max-width: 1150px) {
  header.header.active .menu {
    position: absolute;
    right: 52%;
    top: 5px;
    z-index: 999;
    background: url(../img/close-menu.png) center no-repeat;
    background-size: contain;
  }
  header.header.active .menu img {
    opacity: 0;
  }
  header.header.active .btn {
    display: block;
    position: fixed;
    z-index: 99;
    right: calc(25% - 65px);
    bottom: 10px;
  }
  header.header.active ul {
    right: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  header.header.active ul li {
    width: calc(100% - 30px);
    margin: 0 15px;
    border-bottom: 1px solid #fff;
  }
  header.header.active ul li a {
    padding: 20px 0;
  }
  header.header.active ul li a.active, header.header.active ul li a:hover {
    background: none;
    color: #fff;
  }
  header.header.active .overlay {
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
  }
}

.footer-txt {
  background: #4AB8DF;
  color: #fff;
  font-weight: bold;
  height: 200px;
}
@media (max-width: 1150px) {
  .footer-txt {
    height: auto;
    padding: 50px 0;
  }
}
.footer-txt .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}
@media (max-width: 1150px) {
  .footer-txt .wrapper {
    height: auto;
    display: block;
  }
}
.footer-txt h1 {
  font-size: 20px;
  line-height: 30px;
  width: calc(100% - 340px);
  text-align: left;
}
@media (max-width: 1150px) {
  .footer-txt h1 {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
  }
}
.footer-txt .txt {
  font-size: 19.5px;
  line-height: 30px;
  width: 230px;
  text-align: right;
  margin-right: 110px;
}
@media (max-width: 1150px) {
  .footer-txt .txt {
    font-size: 17px;
    line-height: 25px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}
.footer-txt .txt a {
  display: block;
  width: 230px;
  margin: 10px auto 0 auto;
  border: 1px solid transparent;
}
@media (max-width: 1150px) {
  .footer-txt .txt a {
    width: 200px;
  }
}
.footer-txt .txt a img {
  display: block;
  width: 100%;
}
.footer-txt .txt a:hover {
  background: url(../img/footer-btn-hover.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 10px;
  border: 1px solid #fff;
}
.footer-txt .txt a:hover img {
  opacity: 0;
}

footer {
  background: #4D4D4D;
  color: #fff;
  font-weight: bold;
  padding: 50px 0;
}
@media (max-width: 1150px) {
  footer {
    padding: 50px 20px;
  }
}
footer .wrapper {
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
}
@media (max-width: 1150px) {
  footer .wrapper {
    padding: 0 0 30px 0;
  }
}
footer .wrapper > a {
  display: block;
  width: 250px;
  float: left;
}
footer .wrapper > a img {
  display: block;
  width: 100%;
}
footer .wrapper p {
  font-size: 15px;
  line-height: 30px;
  text-align: left;
  width: 335px;
  float: right;
  margin-top: 10px;
}
@media (max-width: 1150px) {
  footer .wrapper p {
    width: 100%;
    margin-top: 30px;
  }
}
footer .wrapper p a {
  color: #fff;
  text-decoration: underline;
}
footer .wrapper p a:hover {
  text-decoration: none;
}

.product {
  overflow: hidden;
}
.product.aboutus {
  margin-top: 30px;
}
@media (max-width: 1150px) {
  .product.aboutus {
    margin-top: 18px;
  }
}
.product.aboutus > div {
  background: #fff;
  padding: 0;
}
.product.aboutus > div:nth-of-type(odd) {
  background: #fff;
}
.product.aboutus > div .marquee {
  background: url(../img/aboutus-3-1.jpg) repeat-x;
  background-size: auto 100%;
  height: 300px;
}
@media (max-width: 1150px) {
  .product.aboutus > div .marquee {
    height: 150px;
  }
}
.product > div {
  padding: 50px 0;
  background: #fff;
}
.product > div:nth-of-type(odd) {
  background: #ECEDE8;
}
.product > div > div > img,
.product > div > img {
  display: block;
  width: 100%;
}
.product > div > div > img + img,
.product > div > img + img {
  display: none;
}
@media (max-width: 1150px) {
  .product > div > div > img,
  .product > div > img {
    display: none;
  }
  .product > div > div > img + img,
  .product > div > img + img {
    display: block;
  }
  .product > div > div > img + img.mimg,
  .product > div > img + img.mimg {
    width: 120%;
    margin: 0 -10%;
  }
}
.product > div > a {
  display: block;
  width: 230px;
  margin: 50px auto 0 auto;
  border: 1px solid transparent;
}
@media (max-width: 1150px) {
  .product > div > a {
    width: 200px;
  }
}
.product > div > a img {
  display: block;
  width: 100%;
}
.product > div > a + small {
  display: block;
  text-align: center;
  font-size: 13px;
  line-height: 25px;
  margin-top: 10px;
}
@media (max-width: 1150px) {
  .product > div > a + small {
    font-size: 12px;
  }
}
.product > div > a:hover {
  background: url(../img/more-btn-hover.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 12px;
  border: 1px solid #4AB8DF;
}
.product > div > a:hover img {
  opacity: 0;
}

.aboutus-footer {
  position: relative;
}
.aboutus-footer > img {
  display: block;
  width: 100%;
}
.aboutus-footer > img + img {
  display: none;
}
@media (max-width: 1150px) {
  .aboutus-footer > img {
    display: none;
  }
  .aboutus-footer > img + img {
    display: block;
  }
}
.aboutus-footer .btn1 {
  position: absolute;
  left: 28%;
  width: 16%;
  bottom: 30%;
}
@media (max-width: 1150px) {
  .aboutus-footer .btn1 {
    left: 12%;
    width: 28%;
    bottom: 47%;
  }
}
.aboutus-footer .btn1:hover {
  background: url(../img/aboutus-btn1-hover.png) no-repeat;
  background-size: 100% 100%;
}
.aboutus-footer .btn1:hover img {
  opacity: 0;
}
.aboutus-footer .btn1 img {
  display: block;
  width: 100%;
}
.aboutus-footer .btn2 {
  position: absolute;
  right: 26%;
  width: 16%;
  bottom: 30%;
}
@media (max-width: 1150px) {
  .aboutus-footer .btn2 {
    right: 12%;
    width: 28%;
    bottom: 47%;
  }
}
.aboutus-footer .btn2:hover {
  background: url(../img/aboutus-btn2-hover.png) no-repeat;
  background-size: 100% 100%;
}
.aboutus-footer .btn2:hover img {
  opacity: 0;
}
.aboutus-footer .btn2 img {
  display: block;
  width: 100%;
}