body {
  /*font-family: "Raleway", sans-serif;*/
  overflow-x: hidden;
  padding: 71px 0 0 0;
}

main {
  line-height: 1.8;
}

.wrapper {
  max-width: 1360px;
  margin: 0 auto;
}

/* Banner ===================================================================== */
.amg_banner_wrap {position: relative; z-index: 2; height: 0; overflow:hidden; padding-bottom: 48.713%;/*依照banner尺寸進行變動*/}
.amg_banner_wrap > div {position: absolute!important; top: 0!important; left: 0!important; right: 0!important; bottom: 0!important;}
.banner {line-height: 0;}
.banner-mobile { display: none; }
@media (max-width: 576px) {
  .amg_banner_wrap {padding-bottom: 83.509%;/*依照banner尺寸進行變動*/}
  .banner-pc { display: none; }
  .banner-mobile { display: block; }  
}

/* Products ===================================================================== */
.idx-service-section { padding-bottom: calc(20px + 2%);}

.products-wrap {
  margin-top: 5%;
}

.products-zone {
  max-width: 1200px;
  margin: 0 auto;
}
.products-zone a:hover {
  color: #fec41b;
}
.products-zone .products-title, .title-1 {
  text-align: center;
  margin-bottom: 20px;
}
.products-zone .products-title span {
  
}
.products-zone .products-title h1, .title-1 > div {
  font-weight: 600; color: #0081e9; font-size: clamp(22px, 3.3vw, 36px); margin: 0; display: inline-block; position: relative;
}
.products-zone .products-title h1:before, .title-1 > div:before {
  content: ""; position: absolute; background: url("../images/sparkling-bg.png") no-repeat top left / contain; width: 38px; height: 56px; z-index: -1; top:-10px; left: -38px;
}

.service-title { text-align: center; padding-bottom: calc(20px + 1%);padding-top: calc(20px + 1%);}
.service-title h3 { display: inline-block; font-size: clamp(21px, 1.6vw, 21px); margin: 0; padding: 5px 2vw; border-radius: 10px; border: 1px solid #0081e9; position: relative; line-height: 1.4; color: #0081e9; font-weight: 400; letter-spacing: 0.1rem;}
.service-title h3:after { content: ""; position: absolute; width: 100%; height: 100%; background: #0081e9; z-index: -1; right: -10px; bottom: -10px; opacity: 0.05;border-radius: 10px;}

.products-list {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
}
.products-list img {
  max-height: 100%;
}
.products-list .img-center a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.products-list:hover .products-overlay {
  transform: scale(1);
}
.products-list .products-overlay {
  position: absolute;
  z-index: 10;
  left: 2.5%;
  top: 5%;
  width: 95%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.5s;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0);
  pointer-events: none;
}
.products-list .products-overlay .products-name {
  position: relative;
}
.products-list .products-overlay .products-name:before {
  position: absolute;
  top: 40px;
  left: calc(50% - 25px);
  content: "";
  background-color: #000;
  width: 50px;
  height: 1px;
}

/* Counter ===================================================================== */
.parallax__container {
  clip: rect(0, auto, auto, 0);
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -100;
}

.parallax {
  position: fixed;
  top: 0;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-counter {
  background-image: url("../images/idx-counter.jpg");
}

.counter-box {
  padding: calc(20px + 5%);
}
.counter-box-list { display:flex; flex-direction: row; flex-wrap:wrap; justify-content: space-between; background: rgba(255,255,255,.75); padding: calc(20px + 2%);backdrop-filter: blur(4px);border-radius: 3vw;border: 8px solid #fff;}
.counter-box-list > div { width: 48%; margin-bottom: calc(20px + 2%);display:flex; flex-direction: row; flex-wrap:wrap; }
.counter-box-list > div > div:nth-of-type(1) { width: 80px; }
.counter-box-list > div > div:nth-of-type(2) { width: calc(100% - 80px); padding-left: 25px; }
.counter-box-list > div > div:nth-of-type(2) > b { display: block; font-size: clamp(16px, 1.3vw, 18px);}
@media (max-width: 768px) {
	.counter-box-list > div { width: 100%;}
	.counter-box-list > div > div:nth-of-type(1) { width: 50px; }
	.counter-box-list > div > div:nth-of-type(2) { width: calc(100% - 50px); }
}
@media (max-width: 280px) {
	.counter-box-list > div { flex-direction: column;}
	.counter-box-list > div > div:nth-of-type(1) { margin: 0 auto 20px auto;}
	.counter-box-list > div > div:nth-of-type(2) { width: calc(100% - 0px); padding-left: 0; }
}

.counter-list {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 100%;
  max-width: 150px;
  padding: 40px 0px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.3);
  border: 3px solid #fff;
}
.counter-list .number {
  font-size: 2rem;
}
@media (max-width: 992px) {
  .counter-list {
    margin-bottom: 40px;
  }
}

/* About Us ===================================================================== */
.about-wrap {
	padding: calc(20px + 4%);
}
.about-wrap > div.row { align-items: center;}
.about-wrap:hover .about-pic {
  transform: scale(0.92);
}
@media (max-width: 992px) {
  .about-wrap {
  }
}

.about-title {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.5rem;
  color: #000;
}
.about-text { padding-bottom: calc(10px + 1.5%);}

@media (max-width: 576px) {
  .about-title {
    font-size: 23px;
    line-height: 27px;
  }
}

.about-text a:hover {
  color: #fec41b;
}

.btn-about-out {
  text-align: left;
  margin-top: 10px;
}
@media (max-width: 980px){
	.btn-about-out { margin:0 0 30px 0;}
}

.btn-about {
  padding: 7px 40px;
  display: inline-block;
  position: relative;
  color: #fff !important;
  background: #0081e9;
  border-radius: 5px;
  overflow: hidden;
  transition: 0.5s;
}
.btn-about:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transition: 0.5s;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
}
.btn-about:hover {
  color: #fff;
  transform: scale(1.1);
}
.btn-about:hover:before {
  transform: translate(-50%, -50%) scale(50);
}
.btn-about:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  vertical-align: middle;
  transform: rotate(135deg);
  display: block;
  right: 20px;
  top: 2px;
  bottom: 0;
  margin: auto;
}

.about-pic {
  padding: 30px 0 0 0;
  transition: all 0.5s ease-in-out;
}

.video-container {position: relative;padding-bottom: 51.5%;padding-top: 30px;height: 0;overflow: hidden;}
.video-container iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%; border-width: 0;}


@media (max-width: 576px) {
  .about-pic {
    display: none;
  }
}

/* FAQ =================================================================== */
.wrap-faq-bg {background: url("../images/idx-faq-bg.jpg") no-repeat top left / cover; background-attachment: fixed;
}
@media (max-width: 576px) {
  .wrap-faq-bg {
	  
  }
}

.wrap-faq {
  padding: 30px 0;
}
.wrap-faq:hover .faq-pic {
  transform: scale(0.9);
}

.faq-pic {
  margin-top: -100px;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.faq-zone {
  margin-top: 30px; width: 100%; max-width: 1000px; margin: 0 auto;
}
.faq-zone .faq-title {
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 576px) {
  .faq-zone .faq-title {
    font-size: 25px;
  }
}
.faq-zone .faq-list {
  position: relative;
  background-color: #fff;
  color: #000;
  border-radius: 30px;
  padding: 10px 10px 10px 80px;
  cursor: pointer;
  margin-bottom: 35px;
  line-height: 1.5rem;
  transition: all 0.5s;
}
.faq-zone .faq-list:hover {
  color: #fff; background: #0081e9;
}
.faq-zone .faq-list:hover .faq-circle {
  transform: scale(0.9);
  /*box-shadow: 0 5px 12px 0px #10b3eb;*/
}
.faq-zone .faq-list .faq-circle {
  position: absolute;
  top: -7px;
  left: 5px;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 3.5rem;
  background-color: #0081e9;
  border-radius: 100%;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.5s;
  font-weight: bold;
}

/* Contact =================================================================== */
.wrapper-contact {
  background-color: #fff;
  padding: 15px 0;
}
.wrapper-contact .contact-info {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  position: relative;
}
@media (max-width: 576px) {
  .wrapper-contact .contact-info {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }
}
.wrapper-contact .contact-info a {
  position: relative;
  color: #000;
  padding: 0 70px;
  filter: drop-shadow(2px 1px 0px rgba(255, 255, 255, 0.9));
}
@media (max-width: 576px) {
  .wrapper-contact .contact-info a {
    padding: 0 60px;
  }
}
.wrapper-contact .contact-info a::before { top:50%; transform: translateY(-50%);
  position: absolute;
  left: 15px;
  content: "";
  background: url(icons/icon-mail-3.svg) no-repeat;
  padding: 18px;
}
@media (max-width: 576px) {
  .wrapper-contact .contact-info a::before {
   
  }
}