.service-inner {
  padding: 0 70px;
}
.service-item {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-top: 150px;
}
.service-item:nth-child(1) {
  margin-top: unset;
}
.service-item:nth-child(odd) {
  -webkit-flex-flow: row-reverse;
  flex-flow: row-reverse;
}
.service-item:nth-child(odd) .service-img {
  margin-right: -70px;
  margin-left: unset;
}
.service-item:nth-child(odd) .service-img:before, .service-item:nth-child(odd) .service-img:after {
  right: unset;
  left: 0;
}
.service-item:nth-child(odd) .service-title {
  padding-left: 8%;
}
.service-item:nth-child(odd) .service-title:after {
  left: unset;
  right: -40%;
}
.service-item:nth-child(odd) .service-text {
  padding-left: 8%;
}
.service-img {
  width: calc(60% + 70px);
  height: 30vw;
  margin-left: -70px;
  position: relative;
  z-index: 1;
}
.service-img.show:before, .service-img.show:after {
  width: 0;
}
.service-img:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #FFF;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  -moz-transition: width 0.8s ease-in-out;
  -o-transition: width 0.8s ease-in-out;
  -webkit-transition: width 0.8s ease-in-out;
  transition: width 0.8s ease-in-out;
}
.service-img:after {
  content: "";
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  position: absolute;
  top: 0;
  right: 0;
  -moz-transition: width 0.8s ease-in-out 0.6s;
  -o-transition: width 0.8s ease-in-out 0.6s;
  -webkit-transition: width 0.8s ease-in-out;
  -webkit-transition-delay: 0.6s;
  transition: width 0.8s ease-in-out 0.6s;
}
.service-img-inner {
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  -webkit-filter: saturate(0.8);
  filter: saturate(0.8);
}
.service-content {
  width: 30%;
}
.service-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 15px;
  opacity: 0;
  -moz-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  -webkit-transform: translateY(-30px);
  transform: translateY(-30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.service-title.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.service-title.show:after {
  width: calc(140% + 70px);
  -moz-transition: width 0.8s ease-in-out 0.6s;
  -o-transition: width 0.8s ease-in-out 0.6s;
  -webkit-transition: width 0.8s ease-in-out;
  -webkit-transition-delay: 0.6s;
  transition: width 0.8s ease-in-out 0.6s;
}
.service-title:after {
  content: "";
  width: 0;
  height: 1px;
  background: #e0e0e0;
  position: absolute;
  left: -40%;
  bottom: 0;
  z-index: -1;
}
.service-title .en {
  font-size: 0.75rem;
  font-family: "Montserrat", Arial, Helvetica;
  font-weight: 500;
  color: #999;
  padding-bottom: 3px;
}
.service-title .tw {
  color: #000;
  letter-spacing: 0.15rem;
}
.service-text {
  font-size: 0.875rem;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.service-text.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.service-text p {
  padding-top: 2px;
}

.cost {
  position: relative;
}
.cost-image {
  width: 100%;
  height: 48vw;
}
.cost-img {
  width: 100%;
  height: 100%;
  background-position: 50% 70%;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-filter: opacity(0.6) brightness(0.5);
  filter: opacity(0.6) brightness(0.5);
}
.cost-inner {
  padding: 0 70px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.cost-top {
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 5px #333;
}
.cost-title {
  letter-spacing: 0.5rem;
  font-weight: bold;
}
.cost-title:after {
  content: "";
  width: 180px;
  height: 1px;
  background: #FFF;
  box-shadow: 0 0 3px #333;
  display: block;
  margin: 15px auto;
}
.cost-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2rem;
  width: fit-content;
  margin: 0 auto;
  position: relative;
}
.cost-subtitle:before {
  content: "";
  width: 3px;
  height: 12px;
  background: #FFF;
  box-shadow: 0 0 3px #333;
  position: absolute;
  top: 3px;
  left: -13px;
}
.cost-subtitle:after {
  content: "";
  width: 3px;
  height: 12px;
  background: #FFF;
  box-shadow: 0 0 3px #333;
  position: absolute;
  top: 3px;
  right: -13px;
}
.cost-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.cost-item {
  box-sizing: border-box;
  width: 20%;
  margin-top: 80px;
  color: #FFF;
  text-shadow: 0 0 5px #333;
  font-size: 0.875rem;
  text-align: center;
  opacity: 0;
  -moz-transform: translateX(30px);
  -ms-transform: translateX(30px);
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.cost-item.show {
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}
.cost-item:nth-child(2) {
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.cost-item:nth-child(3) {
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.cost-item:nth-child(4) {
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.cost-item:last-child {
  -moz-transition-delay: 0.8s;
  -o-transition-delay: 0.8s;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}
.cost-name {
  width: 80px;
  height: 80px;
  background: rgba(249, 249, 249, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 5px #999;
  margin: 0 auto;
  letter-spacing: 0.12rem;
  font-weight: bold;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.cost-arrow {
  border-top: #FFF solid 12px;
  border-left: transparent solid 8px;
  border-right: transparent solid 8px;
  width: fit-content;
  margin: 30px auto;
  position: relative;
}
.cost-arrow:after {
  content: "";
  width: fit-content;
  border-top: #999 solid 7px;
  border-left: transparent solid 5px;
  border-right: transparent solid 5px;
  position: absolute;
  left: 50%;
  top: -10px;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.cost-text p {
  padding-top: 2px;
}

@media screen and (max-width: 1100px) {
  .service-inner {
    padding: 0 50px;
  }
  .service-item:nth-child(odd) .service-title:after {
    right: -50%;
  }
  .service-img {
    width: calc(60% + 50px);
    height: 35vw;
  }
  .service-title.show:after {
    width: calc(150% + 50px);
  }
  .service-title:after {
    left: -50%;
  }
  .service-content {
    width: 32%;
  }

  .cost-inner {
    padding: 0 50px;
  }
  .cost-image {
    height: 65vw;
  }
}
@media screen and (max-width: 900px) {
  .service-item {
    display: block;
    margin-top: 80px;
  }
  .service-item:nth-child(odd) .service-img {
    margin-right: unset;
  }
  .service-item:nth-child(odd) .service-title {
    padding-left: unset;
  }
  .service-item:nth-child(odd) .service-title:after {
    right: unset;
    left: -50px;
  }
  .service-item:nth-child(odd) .service-text {
    padding-left: unset;
  }
  .service-img {
    width: 100%;
    height: 45vw;
    margin-left: unset;
  }
  .service-content {
    width: 100%;
    padding-top: 30px;
  }
  .service-title {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .service-title.show:after {
    width: calc(100% + 50px * 2);
  }
  .service-title:after {
    left: -50px;
  }

  .cost-image {
    height: 850px;
  }
  .cost-img {
    background-position: 70% 70%;
  }
  .cost-list {
    -webkit-justify-content: center;
    justify-content: center;
  }
  .cost-item {
    width: 33.3333%;
  }
  .cost-arrow {
    margin: 25px auto;
  }
}
@media screen and (max-width: 640px) {
  .service-inner {
    padding: 0 30px;
  }
  .service-item {
    margin-top: 50px;
  }
  .service-item:nth-child(odd) .service-title:after {
    left: -30px;
  }
  .service-img {
    height: 60vw;
  }
  .service-content {
    padding-top: 20px;
  }
  .service-title {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .service-title.show:after {
    width: calc(100% + 30px * 2);
  }
  .service-title:after {
    left: -30px;
  }

  .cost-image {
    height: 1000px;
  }
  .cost-inner {
    padding: 0 30px;
  }
  .cost-item {
    width: 50%;
    margin-top: 50px;
  }
  .cost-item:nth-child(2), .cost-item:nth-child(3), .cost-item:nth-child(4) {
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
  }
  .cost-item:last-child {
    width: 100%;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
  }
  .cost-arrow {
    margin: 20px auto;
  }
}
