@charset "UTF-8";




.mainArea:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: -1;
}

.mainArea .serviceBg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-image: url(../images/bgService.jpg);
  background-position: 0 0;
  background-size: cover;
  opacity: 0.1;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.serviceArea {
  padding: 60px 0;
  position: relative;
  /*overflow: hidden;*/
}

.serviceArea .wrap {
  position: relative;
  z-index: 10;
}

.serviceArea .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.serviceArea .top.show p {
  opacity: 1;
}

.serviceArea .top p {
  padding-left: 70px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
  color: #222;
  letter-spacing: 2px;
  -webkit-transition: all .4s 1.2s linear;
  -o-transition: all .4s 1.2s linear;
  transition: all .4s 1.2s linear;
  opacity: 1;
}

.serviceArea .titleBox:before {
  background-color: #b39c61;
}

.serviceArea .titleBox em {
  color: #fff;
}

.serviceArea .titleBox h2 {
  color: #27003d;
}

.serviceArea .serviceList {
  margin-top: 60px;
  margin-bottom: 60px;
}

.serviceArea .serviceList.show li {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
  opacity: 1;
}

.serviceArea .serviceList li {
  padding: 0;
  -webkit-transition: all 0.6s linear;
  -o-transition: all 0.6s linear;
  transition: all 0.6s linear;
  /*-webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);*/
  opacity: 1;
  margin-bottom: 2%;
}

.serviceArea .serviceList li:hover .item {
  -webkit-transform: rotateY(360deg);
  transform: rotateY(360deg);
}

.serviceArea .serviceList li:hover .item:after {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#27003d), to(#27003d)), -webkit-gradient(linear, left top, left bottom, from(#27003d), to(#27003d)), -webkit-gradient(linear, left top, left bottom, from(#27003d), to(#27003d)), -webkit-gradient(linear, left top, left bottom, from(#27003d), to(#27003d));
  background-image: -webkit-linear-gradient(top, #27003d 0%, #27003d 100%), -webkit-linear-gradient(top, #27003d 0%, #27003d 100%), -webkit-linear-gradient(top, #27003d 0%, #27003d 100%), -webkit-linear-gradient(top, #27003d 0%, #27003d 100%);
  background-image: -o-linear-gradient(top, #27003d 0%, #27003d 100%), -o-linear-gradient(top, #27003d 0%, #27003d 100%), -o-linear-gradient(top, #27003d 0%, #27003d 100%), -o-linear-gradient(top, #27003d 0%, #27003d 100%);
  background-image: linear-gradient(to bottom, #27003d 0%, #27003d 100%), linear-gradient(to bottom, #27003d 0%, #27003d 100%), linear-gradient(to bottom, #27003d 0%, #27003d 100%), linear-gradient(to bottom, #27003d 0%, #27003d 100%);
  background-size: calc( 100% - 40px) 1px, 1px calc( 100% - 40px);
  background-position: 50% 20px, 20px 50%, 50% calc( 100% - 20px), calc( 100% - 20px) 50%;
}

.serviceArea .serviceList li:nth-of-type(2) {
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.serviceArea .serviceList li:nth-of-type(3) {
  -webkit-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.serviceArea .serviceList li:nth-of-type(4) {
  -webkit-transition-delay: 0.9s;
  -o-transition-delay: 0.9s;
  transition-delay: 0.9s;
}
.serviceArea .serviceList li:nth-of-type(5) {
  -webkit-transition-delay: 1.2s;
  -o-transition-delay: 1.2s;
  transition-delay: 1.2s;
}
.serviceArea .serviceList li:nth-of-type(6) {
  -webkit-transition-delay: 1.8s;
  -o-transition-delay: 1.8s;
  transition-delay: 1.8s;
}

.serviceArea .item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  background-color: #fff;
  border-radius: 20px;
  border: solid 8px #ddd;
}
/*
.serviceArea .item:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #f0f5fd;
  z-index: -1;
}

.serviceArea .item:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0.3;
  z-index: -1;
  background-repeat: no-repeat;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f5fd), to(#f0f5fd)), -webkit-gradient(linear, left top, left bottom, from(#f0f5fd), to(#f0f5fd)), -webkit-gradient(linear, left top, left bottom, from(#f0f5fd), to(#f0f5fd)), -webkit-gradient(linear, left top, left bottom, from(#f0f5fd), to(#f0f5fd));
  background-image: -webkit-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -webkit-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -webkit-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -webkit-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%);
  background-image: -o-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -o-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -o-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%), -o-linear-gradient(top, #f0f5fd 0%, #f0f5fd 100%);
  background-image: linear-gradient(to bottom, #f0f5fd 0%, #f0f5fd 100%), linear-gradient(to bottom, #f0f5fd 0%, #f0f5fd 100%), linear-gradient(to bottom, #f0f5fd 0%, #f0f5fd 100%), linear-gradient(to bottom, #f0f5fd 0%, #f0f5fd 100%);
  background-size: calc( 100% - 0px) 1px, 1px calc( 100% - 0px);
  background-position: 50% 0px, 0px 50%, 50% calc( 100% - 0px), calc( 100% - 0px) 50%;
  -webkit-transition: background 0.4s linear;
  -o-transition: background 0.4s linear;
  transition: background 0.4s linear;
  pointer-events: none;
}
*/
.serviceArea .Txt {
  /*width: 240px;*/
  text-align: center;
}

.serviceArea h3 {
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  position: relative;
}

.serviceArea h3:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 90px;
  height: 1px;
  background-color: #d1bc86;
}

.serviceArea h3 a {
  color: #27003d;
  position: relative;
}

.serviceArea h3 a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0%;
  height: 1px;
  background-color: #27003d;
  opacity: 0;
  -webkit-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
}

.serviceArea h3 a:hover:before {
  width: 100%;
  opacity: 0.5;
}

.serviceArea p {
  padding: 0 20px;
}


@media (max-width: 1420px) {
  .serviceArea .wrap {
    border: 1px solid rgba(219, 219, 219, 0.4);
  }
}

@media (max-width: 1300px) {
  .serviceArea {
    padding: 30px 0;
  }
  .serviceArea .wrap {
    border: 0;
  }
  .serviceArea .top {
    padding: 0 60px;
  }
}

@media (max-width: 1180px) {
  .serviceArea .wrap {
    padding: 0;
  }
  .serviceArea .serviceList {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}



@media (max-width: 960px) {
  .serviceArea .top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }
  .serviceArea .top p {
    margin-top: 30px;
    padding: 0;
  }
  .serviceArea .titleBox:before {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .serviceArea .titleBox em {
    margin: 0;
  }
}





@media (max-width: 480px) {
  .serviceArea .serviceList {
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .serviceArea .serviceList li {
    /*padding: 30px 0;*/
  margin-bottom: 5%;
  }

  .serviceArea .item {
    width: 96%;
    height: 280px;
  }
  .serviceArea .item:before {
    width: 220px;
    height: 220px;
  }
  .serviceArea .item:after {
    width: 240px;
    height: 240px;
  }
  .serviceArea .Txt {
    /*width: 140px;*/
  }
}




.btn {
  display: inline-block;
  width: 150px;
  height: 30px;
  line-height: 30px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
  background-color: #b39c61;
  color: #fff;
  letter-spacing: 1px;
  position: relative;
  border-radius: 5px;
}

/*
.btn:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform-origin: top right;
  -ms-transform-origin: top right;
  transform-origin: top right;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
  -webkit-animation: antiBtn 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation: antiBtn 1.5s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
*/

.btn:hover {
  color: #fff;
  background-color: #27003d;
}

.btn:hover:before {
  border-color: #fff;
}