/*-------------------------
  Service（PC）
-------------------------*/
.mainview {
  width: 100%;
  height: 400px;
  margin-top: 80px;
  background-image: url(../../assets/img/service-back.jpg);
  background-size: cover;
  background-position: center;
}

.mainview-wrap {
  display: flex;
  text-align: center;
  align-items: center;
}

.mainview-title {
  text-transform: uppercase;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.484;
}

.mainview-title-ja {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.458;
  text-indent: 1em;
  position: relative;
}

.mainview-title-ja::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 1.5em;
  transform: translate(0, -50%);
}

.service-content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.service-wrap h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 40px;
  padding: 8px 0 6px 0;
  position: relative;
  border-bottom: 6px solid #000;
}

.service-wrap h2::after {
  content: '';
  width: 100px;
  height: 6px;
  background-color: #000;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.service-item-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.service-item-wrap:not(:last-of-type) {
  margin-bottom: 40px;
}

.service-card-item {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
  text-align: center;
  padding: 40px 32px 32px 32px;
  pointer-events: none;
  transition: all 0.5s;
  border-radius: 16px;
  position: relative;
}

.service-card-item:hover {
  background-color: #F4FBF8;
}

.service-card-item img {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.service-card-item h5 {
  font-size: 20px;
  font-weight: 900;
  line-height: 120%;
  margin-bottom: 16px;
  height: 48px;
}

.service-card-item p {
  text-align: left;
  line-height: 150%;
  margin-bottom: 40px;
}

.service-card-item .show_btn {
  border: 1px solid #000;
  padding: 0px 10px;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.5s;
  pointer-events: auto;
  position: absolute;
  width: 82.4%;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 0);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-item .show_btn:hover {
  background-color: #000;
  color: #FFF;
}

.show_btn .fa-arrow-right {
  margin-left: 0.25em;
}

/*-------------------------
  Service（タブレット）
-------------------------*/
@media screen and (max-width: 1054px){
  .service-item-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-------------------------
  Service（SP）
-------------------------*/
@media screen and (max-width: 768px){
  .mainview {
    width: 100%;
    height: 250px;
    margin-top: 60px;
  }

  .service-item-wrap {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
  }

  .service-card-item {
    box-shadow: none;
  }

  .service-card-item p {
    display: none;
  }

  .service-card-item .show_btn {
    position: static;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: translate(0, 0);
    margin: 0 auto;
  }
}