.service-inner {
  padding: 0 70px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  padding-top: 100px;
}
.service-wrap:nth-child(1) {
  padding-top: unset;
}
.service-wrap:nth-child(even) {
  -webkit-flex-flow: row-reverse;
  flex-flow: row-reverse;
}
.service-wrap:nth-child(even) .service-img {
  margin-left: unset;
}
.service-wrap:nth-child(even) .service-bg {
  left: unset;
  right: 0;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}
.show .service-wrap:nth-child(even) .service-bg {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.service-image {
  width: 40%;
  position: relative;
}
.service-image.show .service-bg {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.service-img {
  width: 60%;
  margin-left: auto;
  margin-bottom: 12%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  -moz-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.show .service-img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.service-img img {
  width: 100%;
  border-radius: 20px;
}
.service-bg {
  width: 80%;
  height: 40%;
  background: #f9f9f9;
  border-radius: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s;
  -o-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s;
  -webkit-transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition-delay: 0.6s;
  transition: clip-path 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.6s;
}
.service-content {
  width: 40%;
  position: relative;
}
.service-num {
  font-size: 0.75rem;
  font-family: "Ubuntu", Arial, Helvetica;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  text-orientation: mixed;
  color: #ddd;
  font-style: italic;
  position: absolute;
  bottom: 0;
  right: 0;
}
.service-step {
  padding-bottom: 50px;
  opacity: 0;
  -moz-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.service-step.show {
  opacity: 1;
}
.service-step.show .tw:before {
  opacity: 1;
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.service-step .tw {
  position: relative;
  color: #3a8377;
}
.service-step .tw:before {
  content: "";
  width: 35px;
  height: 35px;
  border: 1px solid #eee;
  border-radius: 50%;
  box-shadow: 0 0 3px #ddd;
  position: absolute;
  top: -7px;
  left: -15px;
  z-index: -1;
  opacity: 0;
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  -moz-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s, -moz-transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
  -o-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s, -o-transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
  -webkit-transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition-delay: 0.4s, 0.4s;
  transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s, transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
}
.service-step .en {
  font-size: 0.875rem;
  font-family: "Ubuntu", Arial, Helvetica;
  font-style: italic;
}
.service-box {
  padding-left: 40px;
  margin-left: 4px;
  position: relative;
}
.service-box.show:before {
  height: 100%;
}
.service-box:before {
  content: "";
  width: 1px;
  height: 0%;
  background: #aaa;
  position: absolute;
  top: 0;
  left: 0;
  -moz-transition: height 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: height 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  -webkit-transition: height 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: height 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.service-text {
  font-size: 0.875rem;
  width: 80%;
}
.service-text p {
  margin-top: 5px;
}

@media screen and (max-width: 1100px) {
  .service-img {
    width: 75%;
  }
  .service-content {
    width: 48%;
  }
}
@media screen and (max-width: 900px) {
  .service-wrap {
    display: block;
  }
  .service-image {
    width: 75%;
    margin: 0 auto;
  }
  .service-img {
    margin-bottom: 20%;
    width: 65%;
  }
  .service-bg {
    bottom: -10%;
  }
  .service-content {
    width: 75%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 640px) {
  .service-inner {
    padding: 0 30px;
  }
  .service-wrap {
    padding-top: 80px;
  }
  .service-wrap:nth-child(even) .service-bg {
    right: -30px;
  }
  .service-image {
    width: 100%;
  }
  .service-img {
    width: 100%;
    margin-bottom: 10%;
  }
  .service-bg {
    width: calc(60% + 30px);
    height: 70%;
    left: unset;
    right: -30px;
    bottom: -5%;
    border-radius: 20px 0 0 20px;
  }
  .service-content {
    width: 100%;
  }
  .service-step {
    padding-bottom: 35px;
  }
  .service-step .tw:before {
    width: 32px;
    height: 32px;
    top: -5px;
    left: -13px;
  }
  .service-box {
    padding-left: 30px;
  }
}
