@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
.main {
  margin-top: 60px;
}

.top-box:nth-child(1) .top-pic {
  -moz-transition: unset;
  -o-transition: unset;
  -webkit-transition: unset;
  transition: unset;
  background-position: 55% center;
}

/*----------------------------------------------------- */
.inner {
  width: 80%;
  max-width: 1100px;
  margin: auto;
}

.service-content {
  position: relative;
  padding: 150px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
}

.step {
  position: relative;
  width: 43%;
  margin: 0 2% 10% 5%;
}
.step-num {
  position: absolute;
  top: 45px;
  left: -75px;
  float: left;
  color: #666;
  font-size: 24px;
  letter-spacing: 3px;
  transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
}
.step-box {
  padding: 40px;
  margin: 10px;
}
.step-box .title1 {
  font-size: 24px;
}
.step-box .title2 {
  margin-top: 15px;
  font-size: 14px;
  color: #e2a688;
}
.step-box .title2:after {
  content: "";
  width: calc(75% - 90px);
  height: 1px;
  background-color: #666;
  position: absolute;
  left: 135px;
  margin-top: 10px;
}
.step-box .text {
  margin: 30px 0 0 20px;
}
.step-box .text li {
  list-style-type: disc;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 14px;
}
.step-box p {
  margin-top: 20px;
}
.step-bg {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin: 0;
  top: 0;
  z-index: -1;
}
.step-bg img {
  height: 100%;
}
.step-square {
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  top: 10px;
  left: 10px;
  padding: 10px;
  border: 1px solid #666;
  box-sizing: border-box;
}

/*----------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .service-content {
    padding: 100px 0 0;
  }

  .inner {
    width: 90%;
  }

  .step-num {
    color: #ccc;
    font-size: 20px;
    top: 40px;
    left: -65px;
  }
  .step-box {
    padding: 20px;
  }
  .step-box .title1 {
    font-size: 20px;
    color: #e2a688;
  }
  .step-box .title2 {
    margin-top: 10px;
    color: #666;
  }
  .step-box .title2:after {
    width: calc(75% - 70px);
    left: 100px;
    background-color: #ddd;
  }
  .step-box .text {
    margin: 25px 0 0 20px;
  }
  .step-square {
    border: 1px solid #ccc;
  }
}
@media screen and (max-width: 860px) {
  .inner {
    width: 70%;
  }

  .step {
    width: 100%;
    margin: 0 auto 10%;
  }
  .step-box {
    height: auto;
    padding: 40px;
  }
  .step-box .title2:after {
    width: calc(100% - 180px);
    left: 125px;
  }
  .step-bg img {
    height: auto;
    width: 120%;
  }
}
@media screen and (max-width: 640px) {
  .service-content {
    padding: 60px 0 0;
  }

  .inner {
    width: 80%;
  }

  .step-num {
    font-size: 16px;
    top: 35px;
    left: -55px;
  }
  .step-box {
    padding: 20px;
  }
  .step-box .title2:after {
    width: calc(100% - 140px);
    left: 105px;
  }
  .step-bg img {
    width: 130%;
  }
}
@media screen and (max-width: 460px) {
  .inner {
    margin: 0 5% 0 10%;
    width: 85%;
  }

  .step-num {
    font-size: 16px;
    top: 35px;
    left: -50px;
  }
  .step-bg img {
    width: 210%;
  }
}
