.page-cover {
  background-size: cover;
  background-image: url(../images/news/cover-news-sp.webp);
  background-position: center;
}

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

.news-details-wrapper {
  max-width: 695px;
  margin: 0 auto;
}

.news-details {
  padding-left: 30px;
  padding-right: 30px;
}

.news__date {
  color: #303030;
  font-size: 14px;
  line-height: 24px;
}

.disabled {
  opacity: 0.7;
  pointer-events: none;
}

.news__category {
  display: inline-block;
  background-color: #338dd3;
  color: white;
  padding: 0 14px;
  font-size: 14px;
  line-height: 24px;
  margin-left: 20px;
}

.news__title {
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  margin: 6px 0 40px;
  padding-bottom: 6px;
  color: #303030;
  border-bottom: 1px solid #d9d9d9;
}

.news__subtitle {
  font-size: 18px;
  line-height: 27px;
  color: #303030;
  font-weight: 700;
  margin-top: 36px;
}

.news__text {
  color: #303030;
  font-size: 16px;
  line-height: 27px;
  margin-top: 20px;
}

.news__main-image {
  display: block;
  margin: 0 auto;
}

.news__main-image,
.news__image {
  width: 100%;
  height: auto;
  /* aspect-ratio: 315 / 185; */
  object-fit: cover;
  max-width: 550px;
}

.news__images .news__image {
  max-width: 340px;
}

.news__images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.link-button::after {
  right: auto;
  left: 15px;
  transform: translateY(-50%) scaleX(-1);
}

@media (min-width: 768px) {
  .page-cover {
    background-size: 100% auto;
    background-position: top center;
    background-image: url(../images/news/cover-news-pc.webp);
  }

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

  .news__date {
    font-size: 16px;
    max-width: 606px;
    margin: 0 auto;
  }

  .news__main-image {
    /* aspect-ratio: 550 / 350; */
  }

  .news__image {
    aspect-ratio: 340 / 250;
  }

  .news__title {
    max-width: 606px;
    font-size: 22px;
    line-height: normal;
    padding-bottom: 20px;
    margin: 20px auto 70px;
  }

  .news__subtitle {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin-top: 50px;
  }

  .news__text {
    margin-top: 50px;
  }

  .news__images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
  }

  .news__image {
    aspect-ratio: 340 / 250;
  }
}
