main {
  padding-bottom: 0;
}

.mainvisual {
  background-image: url(../img/bg_820.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 135px;
  position: relative;
  text-align: center;
  height: 1049px;
}
.mainvisual:before,
.mainvisual:after {
  background-repeat: no-repeat;
  background-size: auto 100%;
  content: "";
  position: absolute;
  z-index: 1;
}
.mainvisual:before {
  background-image: url(../img/bg_left_w820.png);
  background-position: -205px center;
  top: -24%;
  left: 0;
  height: 140%;
  aspect-ratio: 831/1537;
}
.mainvisual:after {
  background-image: url(../img/bg_right_w820.png);
  background-position: 240px center;
  top: -26%;
  right: 0;
  height: 135%;
  aspect-ratio: 859/1405;
}
.mainvisual-top, .mainvisual-bottom {
  position: relative;
  z-index: 10;
}
.mainvisual .-copy {
  font-size: min(28px, 4.8vw);
  letter-spacing: 0.1em;
  margin-bottom: 52px;
}
.mainvisual h1 {
  font-weight: 400;
}
.mainvisual h1 img {
  width: 720px;
}
.mainvisual h1 .-debut {
  display: block;
  font-size: min(24px, 4.27vw);
  margin-top: min(90px, 19.46vw);
}
.mainvisual-bottom {
  padding-bottom: 210px;
  position: relative;
}
.mainvisual .-lead {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: 1.7em;
}
.mainvisual .-lead:last-of-type {
  margin-bottom: 0;
}

.service {
  background-color: #fff;
  padding-bottom: 60px;
  position: relative;
}
.service:after {
  background-image: url(../img/bg_curve_820.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: min(2240px, 100%);
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 41/3;
  translate: 0 -99%;
  z-index: 10;
}
.service > .m-hr-s {
  margin: 40px auto !important;
  width: calc(100% - 40px);
  max-width: 900px;
}
.service-logo {
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
  width: calc(100% - 40px);
  max-width: 900px;
}
.service-logo dt {
  border: 1px solid #116BC0;
  border-radius: 4px;
  color: #116BC0;
  display: table;
  font-size: 14px;
  margin: 0 auto 40px;
  padding: 8px 24px;
}
.service-logo dd img {
  max-width: 450px;
}
.service-omoi {
  background-color: #F1F7FF;
  border-radius: 8px;
  margin: 48px auto;
  padding: 40px;
  width: calc(100% - 40px);
  max-width: 900px;
}
.service-omoi dt {
  color: #575757;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  text-align: center;
}
.service-omoi dt img {
  display: block;
  margin: 0 auto 8px;
  height: 60px;
  width: 60px;
}
.service-omoi dd {
}
.service-omoi dd p {
  color: #575757;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.service-omoi dd p:last-of-type {
  margin-bottom: 0;
}
.service-sec {
  margin: 0 auto;
  padding-top: 20px;
  width: calc(100% - 30px);
  max-width: 900px;
}
.service-sec .m-hdr2C {
  margin-top: 0;
}
.service-sec .m-maxImg {
  max-width: 520px;
}
.service-sec .service-change {
  margin-top: 30px;
  text-align: center;
}
.service-sec .service-change img {
  width: 100%;
  max-width: 700px;
}

.sp {
  display: none;
}

@media screen and (max-width: 1440px) {

}

@media screen and (max-width: 819px) {
  .mainvisual {
    background-image: url(../img/bg_819.png);
    padding-top: calc(166px - 3.7vw);
    height: 1020px;
  }
  .mainvisual:before {
    background-image: url(../img/bg_left_w819.png);
    background-position: -210px center;
    top: -10%;
    left: 0;
    height: 130%;
    aspect-ratio: 203/456;
  }
  .mainvisual:after {
    background-image: url(../img/bg_right_w819.png);
    background-position: 250px center;
    top: -6%;
    right: 0;
    height: 116%;
    aspect-ratio: 205/399;
  }
  .mainvisual .-copy {
    margin-bottom: min(56px, 12vw);
  }
  .mainvisual h1 img {
    width: 82.4%;
  }
  .mainvisual h1 .-debut {
    margin-top: min(90px, 19.46vw);
  }
  .mainvisual-bottom {
    padding-bottom: 130px;
  }

  .service:after {
    background-image: url(../img/bg_curve_819.svg);
    aspect-ratio: 117/10;
    translate: 0 -98%;
  }
  .service-logo {
    padding: 32px 20px;
  }
  .service-logo dt {
    margin-bottom: 24px;
  }
  .service-logo dd img {
    width: 74.6vw;
  }
  .service-omoi {
    margin: 32px 20px;
    padding: 20px;
  }
  .service-omoi dt {
    border-bottom: 1px solid #fff;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  .service-sec .m-maxImg {
    width: 100%;
  }

  .sp {
    display: block;
  }
}

@media screen and (max-width: 559px) {
  .service > .m-hr-s {
    margin: 20px auto !important;
  }
}