@charset "UTF-8";

.service-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.service-list .service-list-item-title {
  width: 61%;
  font-size: 4vw;
  text-align: center;
  color: #fff;
  background: var(--orange-color);
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.service-list .service-list-item-title img {
  display: block;
  margin: auto;
}

.service1-list,
.service2-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.service2-list {
  margin-bottom: 20px;
}

.service1-list-item h4 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  background: var(--orange-color);
  padding: 15px 0;
}

.service-content {
  background-color: var(--base-color);
}

.service-content.service1 {
  padding-top: 40px;
}

.service-content.service1 h3::before {
  background: url(../images/air/service1-icon-o.svg) no-repeat left center / 9vw;
}

.to-contact {
  width: 62.39%;
  aspect-ratio: 1.4;
  background: url(../images/air/to-contact-bg.png) no-repeat right bottom / contain;
  margin: 0 auto;
}

.to-contact a {
  width: 66.16%;
  display: inline-block;
}

.service1-list .check-list {
  margin: 15px auto 0;
  width: fit-content;
}

.service-content.service2 {
  padding: 50px 0;
}

.service-content.service2 h3::before {
  background: url(../images/air/service2-icon-o.svg) no-repeat center center / 4.6vw;
}

.service2-list {
  gap: 22px;
}

.service2-list-item h4 {
  color: #fff;
  min-height: 55px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  background: var(--orange-color);
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service2-case {
  gap: 22px;
}

.service2-case-item h4 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  text-align: center;
  background: var(--orange-color);
  padding: 10px 0;
}

.service2-case-item-content {
  color: var(--orange-color);
  font-size: 1.6rem;
  line-height: 1.8;
  flex-direction: row-reverse;
  gap: 10px;
  padding: 20px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  #service {
    padding-top: 50px;
  }

  .service-list .service-list-item {
    display: flex;
  }

  .service-list-item picture {
    width: 39%;
    background-color: #feede4;
    display: flex;
    align-items: center;
  }

  .service-list-item-title img {
    padding-top: 15px;
  }

  .service-list-item-title p {
    padding: 12px 0 15px;
  }

  .service2-case-item:first-child {
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 769px) {
  #service {
    padding-top: 50px;
  }

  .service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 90px;
    margin-bottom: 0;
  }

  .service-list .service-list-item {
    display: flex;
    flex-direction: column;
  }
  .service2-list-item h4 {
    min-height: 65px;
  }
  .service-list .service-list-item-title {
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    margin-top: 10px;
    padding: 12px 5px 18px;
    border-radius: 12px;
    gap: 15px;
  }

  .service-list .service-list-item-title p {
    margin: auto 0;
  }

  .to-contact {
    width: 393px;
    height: 375px;
    background: url(../images/air/to-contact-bg.png) no-repeat right bottom / 154px;
    margin: 0;
    position: absolute;
    bottom: 0;
    right: -100px;
    z-index: 1;
  }

  .service-content.service1 {
    padding-top: 150px;
  }

  .service1-list,
  .service2-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .service-content.service2 {
    padding: 80px 0;
  }

  .service2-case-item-content p,
  .service2-case-item-content picture {
    width: 50%;
  }

  .service-content.service1 h3::before {
    background-size: 60px;
  }

  .service-content.service2 h3::before {
    background-size: 34px;
  }
}
