.service-fv {
  position: relative;
}

.service-fv-image {
  width: 100%;
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.service-fv-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.service-fv-image img {
  width: 100%;
  height: auto;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.service-ttl-wrap {
  position: absolute;
  max-width: 1280px;
  margin: 0 auto;
  top: 50%;
  left: 16%;
  transform: translateY(-50%);
}

.service-ttl {
  position: relative;
  line-height: 1;
}

.service-ttl::before {
  content: "";
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  left: -25px;
  top: -8px;
  background-color: #03BFB5;
  border-radius: 50%;
}

.service-ttl h2 {
  color: #fff;
  font-size: clamp(2.75rem, -0.625rem + 7.0313vw, 5rem);
  font-weight: 500;
}

.service-ttl p {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0 0 0;
}

.background {
  background-color: #E8E8E8;
}

.service-list {
  max-width: 1280px;
  width: 89%;
  margin: 0 auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 45px;
  grid-row-gap: 75px;
  color: #333333;
}

.service-item {
  width: 100%;
}

.service-item img {
  width: 100%;
  height: auto;
}


.service-item-ttl {
  display: flex;
  align-items: center;
  margin: 18px 0 0 0;
}

.service-item-ttl a{
  color: #333333;
  text-decoration: none;
  font-weight: 500;
}

.service-item-ttl.has-link::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 13px 13px;
  border: 1px solid #333333;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  padding: 9px;
}

.service-item-desc {
  margin: 17px 0 0 0;
  font-size: 16px;
  font-weight: 300;
}

.service-detail-wrap {
  max-width: 1280px;
  width: 89%;
  margin: 142px auto 150px;
  display: flex;
  justify-content: space-between;
  color: #333;
}

.service-detail-ttl {
  position: relative;
  width: 31%;
  line-height: 1;
}

.service-detail-ttl h2{
  font-size: clamp(2.75rem, -0.625rem + 7.0313vw, 5rem);
  color: #333333;
  font-weight: 500;
  margin: 0 0 5px 0;
}

.service-detail-ttl p {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin: 10px 0 0 0;
}

.service-detail-ttl::before {
  content: "";
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  left: -25px;
  top: -8px;
  background-color: #03BFB5;
  border-radius: 50%;
}

.service-desc p{
  margin: 42px 0 0 0;
  font-weight: 300;
  line-height: 1.7;
  
}

.service-detail-list {
  width: 58%;
  display: flex;
  flex-direction: column;
}

.service-detail-item::after{
  content: "";
  display: inline-block;
  height: 1px;
  width: 100%;
  background-color: #707070;
  margin: 44px 0;
}
.service-detail-item-heading {
  font-size: 18px;
  font-size: 500;
  color: #333333;
}

.service-detail-item-text {
  margin: 17px 0 0 0;
  font-weight: 300;
}


@media screen and (max-width: 768px) {
  .service-ttl-wrap {
    position: absolute;
    max-width: 1280px;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

  .service-ttl p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .service-list {
    max-width: 1280px;
    width: 89%;
    margin: 0px auto;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 31px;
  }

  .service-item:nth-of-type(n+6){
    display: none;
  }

  .service-item-ttl {
    display: flex;
    align-items: center;
    margin: 24px 0 0 0;
  }

  .service-detail-wrap {
    max-width: 1280px;
    width: 89%;
    margin: 60px auto;
    display: block;
    justify-content: space-between;
  }

  .service-detail-ttl {
    position: relative;
    width: 100%;
  }
  .service-detail-ttl::before {
    display: none;
  }

  .service-detail-ttl h2{
    position: relative;
    font-size: clamp(2.75rem, -0.625rem + 7.0313vw, 5rem);
    color: #333333;
    font-weight: 500;
    margin: 0 0 5px 0;
    width: fit-content;
    margin: auto;
  }
    .service-detail-ttl h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 14px;
    height: 14px;
    left: -25px;
    top: -8px;
    background-color: #03BFB5;
    border-radius: 50%;
  }

  .service-detail-ttl p {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    text-align: center;
  }

  .service-desc p{
    margin: 31px 0 0 0;
    font-size: 16px;
    font-weight: 300;
    
    text-align: left;
  }

  .service-detail-list {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .service-detail-item:nth-of-type(1)::before{
    content: "";
    display: inline-block;
    height: 1px;
    width: 100%;
    background-color: #707070;
    margin: 53px 0 38px;
  }

  .service-detail-item::after{
    content: "";
    display: inline-block;
    height: 1px;
    width: 100%;
    background-color: #707070;
    margin: 31px 0;
  }
}