@charset "UTF-8";
#service .service_main_content {
  margin-bottom: 80px;
}

#service .service_main_content:last-child {
  margin-bottom: 0;
}

#service .service_sub_content {
  margin-bottom: 30px;
  border: 1px solid #CCCCCC;
  padding: 30px;
}

#service .service_sub_content.img_only {
  border: none;
  padding: 0;
}

@media print, screen and (min-width: 768px) {
  /*PCのみ*/
#service .service_sub_content .service_content_inner{
	display: flex;
}
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #service .service_sub_content {
    padding: 16px;
  }
  #service .service_sub_content.img_only {
    padding: 0;
  }
}

#service .service_sub_content:last-child {
  margin-bottom: 0;
}

#service .service_sub_content .txt,
#service .service_sub_content .img {
}

#service .service_sub_content .no_img .txt,
#service .service_sub_content .no_txt .img {
  width: auto;
}

#service .service_sub_content .img {
  width: 270px;
  min-width: 270px;
  margin-left: 40px;
}

#service .service_sub_content .img img {
  width: 100%;
  height: auto;
}

#service .service_sub_content .no_txt .img {
  margin-left: 0;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  /*スマホのみ*/
  #service .service_sub_content .txt,
  #service .service_sub_content .img {
    width: auto;
  }
  #service .service_sub_content .txt+.img {
    margin-top: 14px;
  }
  #service .service_sub_content .img {
    text-align: center;
    margin-left: 0;
  }
}



/* ============================================================
カスタマイズ
============================================================ */
/* h3 */
#service #main h3 {
  padding-left: 30px;
  position: relative;
  color: #0e885d;
  font-weight: 500;
  }
#service #main h3::before {
  width: 6px;
  height: 90%;
  margin: auto;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  background-color: #369775;
  content: '';
  }
/* h4 */
#service #main h4 {
  font-weight: 500;
  }
/* 枠 */
#service .service_sub_content {
  border-color: #d8e5e0;
  }

/* 768＜ --------------------------- */
@media print,
screen and (min-width: 768px) {

  /* h4 */
  #service #main h4 {
    font-size: 21px;
    }

} /* end 768＜ */
/* ＞767 --------------------------- */
@media screen and (max-width: 767px) {

  /* 導入文 */
  #service #main .common_donyu {
    font-size: 14px;
    }
  /* h3 */
  #service #main h3 {
    font-size: 19px;
    }
  /* 枠 */
  #service .service_sub_content {
    padding: 20px;
    }
  /* h4 */
  #service #main h4 {
    font-size: 18px;
    }
  /* 本文 */
  #service #main .txt {
    font-size: 14px;
    }

} /* end ＞767 */
