.service {
  color: #002857;
}
.lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #000;
  padding-inline: 15px;
}
.lead h2 {
  font-size: calc(100vw / 20);
}
.lead p {
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .lead {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
  }
  .lead h2 {
    font-size: 36px;
  }
  .lead p {
    font-size: 18px;
  }
}
.service .maintenance,
.service .serviceSec02 {
  padding-bottom: 30px;
}
.service .maintenance .flexBox,
.service .serviceSec02 .flexBox {
  display: flex;
}
.service .serviceSec01,
.service .serviceSec03 {
  padding-bottom: 30px;
}
.service .serviceSec01 .flexBox,
.service .serviceSec03 .flexBox {
  display: flex;
  flex-direction: row-reverse;
}
.service .serviceSec03 .flexBox ul {
  border: 1px solid #000;
  padding: 0.5em;
  color: #000;
}
.service .serviceSec03 .flexBox ul li {
  list-style: none;
  font-size: 14px;
}
.service img {
  width: 100%;
}
.service .text h3 {
  position: relative;
  display: inline-block;
  padding: 0 65px;
  margin: 0;
  font-size: 0.5em;
}
.service .text h3:after {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 50px;
  height: 2px;
  content: "";
  border-top: solid 1px #002857;
}
.service .text h2 {
  margin: 0.5em 0 1em;
}
.service .text h2 span {
  font-size: 14px;
}
.service .text p {
  color: #000;
}
.service .text .btn a {
  display: inline-block;
  background-color: #002857;
  color: #fff;
  padding: 0.5em 1.5em;
  font-size: 70%;
}

@media (max-width: 767px) {
  .service .maintenance {
    padding-top: 300px;
    background:
      url(../img/maintenanceBg.jpg),
      linear-gradient(to right, #f5f7f9 85%, #fff 85%);
    background-repeat: no-repeat, no-repeat;
    background-position:
      center 0,
      center top;
    background-size:
      auto 400px,
      auto;
  }
  .service .maintenance .flexBox {
    flex-direction: column;
  }
  .service .maintenance .flexBox .top-right-img {
    width: 50%;
    align-self: flex-end;
  }
  .service .serviceSec01 {
    background: url(../img/serviceSec01_bg.jpg);
    padding-top: 300px;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: auto 400px;
  }
  .service .serviceSec01 .flexBox {
    flex-direction: column;
  }
  .service .serviceSec01 .flexBox .top-right-img {
    width: 50%;
    align-self: flex-start;
  }

  .service .serviceSec02 {
    padding-top: 300px;
    background: url(../img/serviceSec02_bg.jpg);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: auto 400px;
  }
  .service .serviceSec02 .flexBox {
    flex-direction: column;
  }
  .service .serviceSec02 .flexBox .top-right-img {
    width: 50%;
    align-self: flex-end;
  }
  .service .serviceSec03 {
    padding-top: 300px;
    background: url(../img/serviceSec03_bg.jpg);
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: auto 400px;
  }
  .service .serviceSec03 .flexBox {
    flex-direction: column;
  }
  .service .serviceSec03 .flexBox .top-right-img {
    width: 50%;
    align-self: flex-start;
  }

  .service .text {
    padding-inline: 15px;
  }
  .service .text p {
    font-size: 14px;
  }
}
@media screen and (min-width: 768px) {
  .service {
    background: linear-gradient(to bottom, #fff 600px, #f5f7f9 600px);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto;
  }
  .service .maintenance {
    background-image: url(../img/maintenanceBg.jpg);
    background-repeat: repeat-x;
    background-size: auto 500px;
    background-position: center 0;
    padding-top: 400px;
  }
  .service .maintenance .flexBox {
    flex-direction: row-reverse;
    gap: 100px;
  }
  .service .maintenance .flexBox .top-right-img {
    flex-basis: 30%;
  }
  .service .serviceSec01 {
    background:
      url(../img/serviceSec01_bg.jpg),
      linear-gradient(to bottom, #fff 400px, #f5f7f9 400px);
    background-repeat: no-repeat, no-repeat;
    background-position:
      right 200px top 50px,
      center top;
    background-size:
      auto 450px,
      auto;
    padding-top: 400px;
    padding-right: 20%;
  }
  .service .serviceSec01 .flexBox {
    flex-direction: row;
    gap: 100px;
  }
  .service .serviceSec01 .flexBox .top-right-img {
    flex-basis: 30%;
  }
  .service .serviceSec02 {
    background:
      url(../img/serviceSec02_bg.jpg),
      linear-gradient(to bottom, #fff 400px, #f5f7f9 400px);
    background-repeat: no-repeat, no-repeat;
    background-position:
      200px 50px,
      center top;
    background-size:
      auto 450px,
      auto;
    padding-top: 400px;
    padding-left: 20%;
  }
  .service .serviceSec02 .flexBox {
    flex-direction: row-reverse;
    gap: 100px;
  }
  .service .serviceSec02 .flexBox .top-right-img {
    flex-basis: 30%;
  }
  .service .serviceSec03 {
    background:
      url(../img/serviceSec03_bg.jpg),
      linear-gradient(to bottom, #fff 400px, #f5f7f9 400px);
    background-repeat: no-repeat, no-repeat;
    background-position:
      right 200px top 50px,
      center top;
    background-size:
      auto 450px,auto;
    padding-top: 400px;
    padding-right: 20%;
    width: 100%;
  }
  .service .serviceSec03 .flexBox {
    flex-direction: row;
    gap: 100px;
  }
  .service .serviceSec03 .flexBox .top-right-img {
    flex-basis: 30%;
  }
  .service .text {
    flex-basis: calc(70% - 100px);
    margin-top: 120px;
  }
  .service .text p {
    font-size: 16px;
  }
}
.service .price{
  max-width: 900px;
  margin:30px auto;
  padding: 15px;
}
.service .price h2{
    font-size: calc(40vw / 6);
    position: relative;
    padding-top:100px;
    font-weight: 700;
    text-align: center;
}
.service .price p{
  font-size: 16px;
}
.service .price h2::after{
   position: absolute;
    top: 16%;
    left: 50%;
    width: 2px;
    height: 50px;
    text-align: center;
    content: "";
    background: #002857;
}
.service .price .meyasu h3{
  font-weight: 700;
}
.service .price .meyasu table {
    border-top: 1px solid #6f6f6f;
    width: 100%;
}
.service .price .meyasu table th,
.service .price .meyasu table td {
    padding: 15px 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #6f6f6f;
    background: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}
.service .price .meyasu table th{
  background: #d9e0e6;
}
@media screen and (min-width: 768px) {
  .service .price h2{
    font-size: 36px;
    text-align: center;
  }
}