.service-wrap {
  background: url(/images/service-bg.png) no-repeat center;
  background-size: cover;
  padding: 30px 0;
}
.service-wrap .container {
  position: relative;
}
.service-wrap .container .line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.service-wrap .container .line img {
  display: block;
  width: 70%;
  margin: 0 auto;
  object-fit: contain;
}
.service-wrap .container .line div {
  position: absolute;
  left: 0;
  right: 0;
}
.service-wrap .container .line div:nth-child(1) {
  top: 300px;
}
.service-wrap .container .line div:nth-child(2) {
  top: 1000px;
}
.service-wrap .container .line div:nth-child(3) {
  top: 90vw;
}
.service-wrap .container .line div:nth-child(4) {
  bottom: 1200px;
}
.service-wrap .container .line div:nth-child(5) {
  bottom: 500px;
}
.service-wrap .rw {
  display: flex;
  align-items: center;
}
.service-wrap .rw:nth-child(odd) {
  flex-direction: row-reverse;
}
.service-wrap .rw:nth-child(even) .desc {
  margin-left: 50px;
  margin-right: unset;
}
.service-wrap .rw:nth-child(odd) .desc {
  margin-left: unset;
  margin-right: 50px;
}
.service-wrap .rw a {
  width: 180px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
  color: #333;
  transition: all .3s ease;
  cursor: pointer;
}
.service-wrap .rw a:hover {
  background: var(--main-color);
  color: #fff;
}
.service-wrap .rw a .icon {
  width: 18px;
  height: 18px;
  margin-left: 10px;
}
.service-wrap .rw a .icon path {
  fill: var(--main-color);
}
.service-wrap .rw a:hover .icon path {
  fill: #fff;
}
.service-wrap .rw .cover {
  width: 690px;
  height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-wrap .rw .cover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(11, 70, 230, 0.1));
  border-radius: 50%;
}
.service-wrap .rw .cover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76.5%;
  height: 76.5%;
  background: linear-gradient(to bottom, transparent, rgba(11, 70, 230, 0.8));
  border-radius: 50%;
}
.service-wrap .rw .cover img {
  width: 75%;
  height: 75%;
  position: relative;
  z-index: 1;
  border-radius: 50%;
}
.service-wrap .rw .desc {
  display: flex;
  align-items: center;
  max-width: 784px;
}
.service-wrap .rw .desc .right {
  margin-left: 30px;
}
.service-wrap .rw .desc h3 {
  margin: unset;
  font-size: 26px;
  color: #000000;
}
.service-wrap .rw .desc p {
  margin: 15px 0;
  line-height: 1.8;
  color: #666;
}

@media screen and (max-width: 640px) {
  .service-wrap {
    padding: 30px 0;
  }
  .service-wrap .container .line {
    display: none;
  }
  .service-wrap .rw {
    display: block;
  }
  .service-wrap .rw .cover {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .service-wrap .rw .desc {
    margin: unset;
    padding-top: 30px;
  }
  .service-wrap .rw:nth-child(even) .desc,
  .service-wrap .rw:nth-child(odd) .desc {
    margin: unset;
  }
  .service-wrap .rw .desc span {
    display: none;
  }
  .service-wrap .rw .desc h3 {
    font-size: 24px;
  }
  .service-wrap .rw .desc p {
    font-size: 14px;
  }
  .service-wrap .rw .desc .right {
    margin: unset;
    text-align: center;
  }
  .service-wrap .rw a {
    margin: 0 auto;
  }
}



.popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.popup-wrap.active {
  opacity: 1;
  pointer-events: all;
}
.popup-wrap .content {
  width: 70%;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  border-radius: 15px;
  transition: transform .3s ease, opacity .3s ease;
}
.popup-wrap.active .content {
  transform:  translate(-50%, -50%) scale(1);
  opacity: 1;
}
.popup-wrap.active .content .close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.popup-wrap.active .content .close svg {
  width: 100%;
  height: 100%;
}
.popup-wrap.active .content .cover {
  width: 40%;
}
.popup-wrap.active .content .cover img {
  display: block;
  width: 100%;
  object-fit: contain;
  border-radius: 15px;
}
.popup-wrap.active .content header {
  position: relative;
  background: var(--main-color);
  padding: 20px 30px;
}
.popup-wrap.active .content  h2 {
  margin: unset;
  color: #fff;
  display: flex;
  align-items: center;
  line-height: 1;
}
.popup-wrap.active .content h2::before {
  display: block;
  content: "";
  width: 4px;
  height: 24px;
  background: #fff;
  border-radius: 5px;
  margin-right: 10px;
}
.popup-wrap.active .content .rw {
  padding: 20px;
  display: flex;
  justify-content: space-between;
}
.popup-wrap.active .content .rw > ul {
  flex: 1;
}
.popup-wrap.active .content .rw > ul > li {
  display: flex;
  margin: 0 10px 0 30px;
  padding: 20px 0;
}
.popup-wrap.active .content .rw > ul > li + li {
  border-top: 2px solid #ddd;
}
.popup-wrap.active .content .rw > ul > li .rich-text {
  flex: 1;
}
.popup-wrap.active .content .rw > ul > li a {
  width: 60px;
  height: 60px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
}
.popup-wrap.active .content .rw > ul > li a:hover {
  background: var(--main-color);
}
.popup-wrap.active .content .rw > ul > li a:hover svg path {
  fill: #ffffff;
}
.popup-wrap.active .content .rw > ul > li a svg {
  width: 60%;
  height: 60%;
}
.popup-wrap.active .content .rw > ul > li a svg path {
  fill: var(--main-color);
}
.popup-wrap.active .content .rich-text {
  color: #666;
  line-height: 1.6;
}
.popup-wrap.active .content .rich-text h3 {
  font-size: 20px;
  margin: unset;
}
.popup-wrap.active .content .rich-text ul {
  margin-top: 5px;
  font-size: 15px;
}
.popup-wrap.active .content .rich-text ul li + li {
  margin-top: 5px;
}
.popup-wrap.active .content .rich-text ul li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #333;
  margin-right: 5px;
}
.popup-wrap.active .content .rich-text ul li:hover {
  color: var(--main-color);
  cursor: default;
}
.popup-wrap.active .content .rich-text ul li:hover:before {
  background: var(--main-color);
}
.popup-wrap.active .content .rich-text p {
  margin: 5px 0 0;
  font-size: 15px;
}
@media screen and (max-width: 640px) {
  .popup-wrap.active .content {
    display: block;
    width: 90%;
    padding: 20px 15px;
    max-height: 75vh;
  }
  .popup-wrap.active .content .close {
    top: 10px;
    right: 10px;
  }
  .popup-wrap.active .content header {
    padding: 10px;
  }
  .popup-wrap.active .content h2 {
    font-size: 18px;
  }
  .popup-wrap.active .content .rw {
    display: block;
    padding: 10px 0 0;
  }
  .popup-wrap.active .content .cover {
    width: 100%;
  }
  .popup-wrap.active .content .rw > ul > li {
    display: block;
    margin: unset;
  }
  .popup-wrap.active .content .rw > ul > li a {
    margin: 10px auto 0;
  }
  .popup-wrap.active .content .rich-text h3 {
    font-size: 16px;
  }
  .popup-wrap.active .content .rich-text p {
    font-size: 14px;
  }
  .popup-wrap.active .content .rich-text ul {
    font-size: 14px;
  }
}
