@charset "UTF-8";

/* ----------------------------------
 	Service
---------------------------------- */
.service {
  margin: 10% 0;
}

.service-box {
  width: 85%;
  margin: 0 auto;
}

.service__title-text {
  font-size: 1.8em;
  line-height: 1.5;
  margin-bottom: 5%;
  text-align: center;
}

.service-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-flow: column nowrap;
  background-color: #E6E6E6;
  padding: 3%;
  margin-bottom: 5%;
}
.service-item:last-of-type {
  margin-bottom: 0;
}

.service-item__img {
  width: 100%;
  margin-bottom: 10%;
}

.service-item-textbox {
  margin-bottom: 3%;
}
.service-item-textbox:last-of-type {
  margin-bottom: 0;
}

.service-item__title-text {
  border-bottom: 1px solid #84959E;
  font-size: 1.4em;
  line-height: 1.5;
  margin-bottom: 3%;
}

.service-item__text {
  line-height: 1.5;
}

/*----- PC -----*/
@media only screen and (min-width: 1025px) {
  .service {
    margin: 3% 0;
  }

  .service-box {
    width: 100%;
    margin: 0 auto;
  }

  .service__title-text {
    font-size: 3vw;
    margin-bottom: 3%;
  }

  .service-item {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .service-item__img {
    width: 50%;
    margin-bottom: 0;
  }

  .service-item-textarea {
    width: 50%;
    display: flex;
    max-width:100%;
    flex-flow: column nowrap;
  }

  .service-list .service-item:first-of-type .service-item-textbox {
    width: 50%;
  }

  .service-item-textbox {
    width: 100%;
    margin-left: 3%;
  }

  .service-item__title-text {
    font-size: 1.7vw;
  }

  .service-item__text {
    font-size: 1.2vw;
  }
}
