#item_service {
  padding-top: 50px;
  padding-bottom: 90px;
  width: 100%;
  background-color: #f8f8f8;
}

.item_service__header {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.item_service__header img {
  width: 60px
}
.item_service__header_text {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.item_service__header_text_js {
  font-size: 30px;
  font-weight: bold;
}
.item_service__header_text_en {
  font-size: 21px;
  font-weight: bold;
  color: #e63037;
}

.item_service__button {
  margin-top: 30px;
}

/* PC用 **/
@media screen and (min-width: 768px) {
  #item_service {
    padding-top: 9.5vw;
    margin-top: 70px;
  }

  .item_service__header {
    flex-direction: row;
  }
  .item_service__header img {
    width: 4vw;
  }
  .item_service__header_text {
    margin-left: 20px;
  }
  .item_service__header_text_js {
    font-size: 34px;
    font-weight: bold;
  }
  .item_service__header_text_en {
    font-size: 18px;
    font-weight: bold;
    color: #e63037;
  }

  .item_service__list .item_service__list-detail {
    width: 78vw;
  }
  .item_service__list .item_service__list-detail a {
    padding-left: 1.8vw;
  }
  .item_service__list .item_service__list-detail .item_service__list-info .item_service__list-date {
    font-size: 16px;
    margin-right: 1vw;
  }
  .item_service__list .item_service__list-detail .item_service__list-info .item_service__list-category {
    font-size: 14px;
    margin-left: 1vw;
  }
  .item_service__list .item_service__list-detail .item_service__list-title {
    font-size: 16px;
    width: 72vw;
  }
}

#item_service .card-group {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  width: 85vw;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  justify-content: center;
}

#item_service .card {
  width: calc((100% - 20px * 1) / 1);
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-top: 20px;
  cursor: pointer;
}
#item_service .card__imgframe {
  width: 100%;
  height: auto;
  height: 224px;
  padding-top: 56.25%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
#item_service .gentei_pop::after {
  content: url('/wp-content/themes/futonten/images/tokushima_gentei.svg');
  width: 70px;
  height: 70px;
  position: absolute;
  top: 13px;
  right: 13px;
}
#item_service .card__textbox {
  width: 100%;
  height: auto;
  padding: 30px;
  box-sizing: border-box;
}
#item_service .card__textbox > * + * {
  margin-top: 10px;
}
#item_service .card__titletext {
  text-align: left;
  font-size: 20px;
  color: #e63037;
  letter-spacing: 0.5px;
}
#item_service .card__overviewtext {
  text-align: left;
  font-size: 14px;
  color: #222222;
  letter-spacing: 0.5px;
  line-height: 1.429;
}


/* PC用 **/
@media screen and (min-width: 768px) {
  #item_service .card-group {
    justify-content: center;
    padding: 0;
    margin-top: 39px;
  }

  #item_service .card-group > :not(:nth-child(3n-2)) {
    margin-left: 20px;
  }
  #item_service .card {
    width: calc((100% - 20px * 2) / 3);
  }

  #item_service .card__overviewtext {
    font-size: 16px;
    line-height: 1.625;
  }
}
