@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;
}

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

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

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

.contact-tel-btn {
  text-align: center;
}

.contact-tel-btn .contact-tel-text {
  color: var(--orange-color);
  font-size: 4vw;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-tel-btn .contact-tel-number {
  color: #fff;
  font-size: 5.3333vw;
  font-weight: 600;
  line-height: 1.4;
  width: 100%;
  display: block;
  padding: 20px 16px;
  border-radius: 90px;
  background: var(--orange-color);
  box-shadow: 3px 3px 0 #f85d03;
  font-feature-settings: "palt";
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.contact-tel-btn .contact-tel-number {
  color: #fff;
}

.contact-tel-btn .contact-tel-time {
  color: var(--orange-color);
  font-size: 3.2vw;
  font-weight: 500;
  line-height: 1.5;
}

.service1-list {
  gap: 30px;
}

.service1-list-item {
  background: #fff;
  width: 100%;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.service1-list-item::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 50px;
  background: var(--orange-color);
  position: absolute;
  top: -15px;
  left: -50px;
  transform: rotate(135deg);
}

.service1-list-item h4 {
  color: var(--orange-color);
  font-size: 4.6667vw;
  font-weight: 600;
  padding-bottom: 20px;
  position: relative;
}

.service1-list-item h4::before,
.service1-list-item h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 15px;
  background-color: #f46f22;
  transform-origin: 50% calc(100% - 1px);
}

.service1-list-item h4::before {
  transform: rotate(52.05deg);
}

.service1-list-item h4::after {
  transform: rotate(-52.05deg);
}

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

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

.service-content.service2 .service2-text {
  color: var(--orange-color);
  font-size: 4vw;
  line-height: 1.7;
  margin-bottom: 25px;
}

.service2-btn-list {
  margin-bottom: 30px;
}

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

.service2-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;
}

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

.service2-list .service2-list-item a {
  display: inline-block;
  color: #898989;
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  margin-top: 15px;
  padding: 0 22px 0 5px;
  position: relative;
}

.service2-list .service2-list-item a::before {
  content: "";
  width: 100%;
  height: 1px;
  background: #898989;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.service2-list .service2-list-item a::after {
  content: "";
  width: 11px;
  height: 1px;
  background: #898989;
  position: absolute;
  bottom: 2px;
  right: -1px;
  transform: rotate(45deg);
}

.service-content.service3 {
  padding: 60px 0 5px;
}

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

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

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

.service3-list-item img {
  width: 100%;
}

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

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

  .service2-list-item h4 {
    min-height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service2-list .service2-list-item a {
    padding-left: 3px;
  }

  .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;
  }

  .service3-list-item h4 {
    width: 100%;
    min-height: 55px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

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

  .contact-tel-btn .contact-tel-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .contact-tel-btn .contact-tel-number {
    font-size: 3rem;
    padding: 16px 50px;
    box-shadow: 6px 6px 0 #f85d03;
    margin-bottom: 16px;
  }

  .contact-tel-btn .contact-tel-time {
    font-size: 1.4rem;
  }

  .service-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 44px;
  }

  #service .service-list .service-list-item {
    display: flex;
    flex-direction: column;
  }

  #service .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 .service-list .service-list-item-title p {
    margin: auto 0;
  }

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

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

  .service1-list-item {
    padding: 30px 0;
  }

  .service1-list-item::before {
    width: 100px;
  }

  .service1-list-item h4 {
    font-size: 3.5rem;
    padding-bottom: 40px;
  }

  .service1-list-item h4::before,
  .service1-list-item h4::after {
    left: calc(50% - 2px);
    width: 4px;
    height: 30px;
    transform-origin: 50% calc(100% - 2px);
  }

  .service-content.service2 .service2-text {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .service2-btn-list {
    margin-bottom: 50px;
    gap: 10px;
  }

  .service2-list-item h4,
  .service3-list-item h4 {
    padding: 5px 0;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }

  .service-content.service2 {
    padding-top: 120px;
  }

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

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

  .service-content.service3 h3::before {
    background-size: 63px;
  }
}
