.page-cover {
  background-size: auto 100%;
  background-image: url(../images/service/cover-service.webp);
  background-position: 5% center;
}

@media (min-width: 673px) {
  .page-cover {
    background-size: 100% auto;
  }
}

.cover-title::before {
  content: "";
  display: block;
  background-image: url(../images/service/title-service.png);
  width: 189px;
}

.service-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin: 0 auto;
  max-width: 445px;
}

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

.service-item__image {
  width: 100%;
  aspect-ratio: 335 / 223;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.19));
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.service-item__image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  object-fit: cover;
  transform: translateY(-50%) translateX(-50%);
}

.service-item:first-child .service-item__image img {
  height: 134%;
  object-fit: cover;
  object-position: 3% 3%;
}

.service-item:nth-child(3) .service-item__image img {
  height: 107%;
  object-fit: cover;
  object-position: 1% 3%;
}

.service-item__content {
  margin-top: 20px;
}

.service-item__titile {
  font-size: 22px;
  line-height: 33px;
}

.service-item__text {
  font-size: 16px;
  line-height: 27px;
  margin-top: 7px;
}

.link-button::before {
  content: "";
  display: inline-block;
  height: 22px;
  width: 22px;
  background-image: url(../images/common/icon-mail-mm.svg);
  background-size: contain;
  position: relative;
  top: 5px;
  margin-right: 2px;
}

@media (min-width: 768px) {
  .page-cover {
    background-size: 160% auto;
    background-position: left 62%;
  }

  .cover-title::before {
    background-image: url(../images/service/title-service-pc.png);
    background-size: auto 100%;
    width: 378px;
    height: 76px;
  }

  .service-container {
    gap: 100px;
    max-width: 870px;
  }

  .service-item {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }

  .service-item__image {
    width: 51.1%;
  }

  .service-item__content {
    width: 45.4%;
  }

  .service-item:first-child .service-item__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .service-item:nth-child(3) .service-item__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .service-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service-item__titile {
    font-size: 25px;
    line-height: 37px;
  }

  .service-item__text {
    margin-top: 8px;
  }

  .link-button {
    margin-top: 40px;
  }
}