/* 事業について */
.service-title .service-wide-image {
  width: 100%;
  height: 28vw;
  max-height: 500px;
}
.service-title .service-wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-title .card {
  position: relative;
  background-color: var(--color-main);
  padding: 30px;
  color: var(--color-white);
  text-align: center;
  width: 800px;
  margin: -120px auto 0;
}
.service-title .card .sub-text {
  font-size: 2.6rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}
.service-title .card .icon {
  margin: 15px 0;
}
.service-title .card .icon .icon-square {
  background-color: var(--color-white);
  margin: auto;
}
.service-title .card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
.service-title .card .desc {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 400;
}
/* 主な対応内容 */
.service-detail h3 {
  font-size: 1.3rem;
  color: var(--color-main);
  font-weight: 600;
  border-bottom: 2px solid var(--color-main);
  padding-bottom: 5px;
}
.service-detail .detail-flex {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.service-detail .detail-flex .item {
  display: flex;
  flex-direction: column;
}
.service-detail .detail-flex .item .item-image {
  aspect-ratio: 336 / 218;
}
.service-detail .detail-flex .item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}
.service-detail .detail-flex .item .item-text {
  background-color: #F5F5F5;
  padding: 15px;
  height: 100%;
}
.service-detail .detail-flex .item .item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 10px;
}
.service-detail .detail-flex .item .item-text p {
  font-size: 0.8rem;
}

/* 主な実績・取引先 */
#service_sec4 .inner {
  padding-top: 0;
}
#service_sec4 .top-column-flex {
  margin-top: 60px;
}

@media only screen and (max-width: 1080px) {
  .service-title .service-wide-image {
    height: 38vw;
    max-height: 300px;
  }
  .service-title .card {
    width: 680px;
  }
  #service_sec4 .top-column-flex {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .service-title .card {
    width: 90%;
    max-width: 500px;
    padding: 20px 15px;
    margin: -60px auto 0;
  }
  .service-title .service-wide-image {
    height: 50vw;
    max-height: 240px;
  }
  .service-title .card .sub-text {
    font-size: 2rem;
  }
  .service-title .card .desc {
    margin-top: 10px;
    font-size: 0.8rem;
    text-align: left;
  }
  .service-title .card h3 {
    font-size: 1.1rem;
  }
  .service-title .card .icon {
    margin: 10px 0;
  }
  .service-detail h3 {
    font-size: 1.1rem;
  }
  .service-detail .detail-flex {
    flex-direction: column;
  }
  /* 主な実績・取引先 */
  #service_sec4 .top-column-flex {
    margin-top: 30px;
    grid-auto-flow: row dense;
  }
  #service_sec4 .top-column-flex .item-image {
    order: 1;
    top: 0;
    right: unset;
    left: 0;
  }
  #service_sec4 .top-column-flex .item-text {
    order: 2;
    top: -10%;
    right: -5%;
  }
}
