.news-hero {
  padding: 72px 20px 48px;
  background-color: #ffffff;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.news-hero-title {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 80px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.news-hero-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

.news-list-section {
  padding: 0 0 96px;
  background-color: #ffffff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin-bottom: 64px;
}
.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.news-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card-link:hover .news-card-img {
  transform: scale(1.05);
}

.news-date {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.news-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-clamp: 5;
  overflow: hidden;
}

.news-detail-backtotop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-text-muted);
  border: 1px solid #b0b0b0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.news-detail-backtotop:hover {
  background: var(--color-text-muted);
  color: #ffffff;
  border-color: var(--color-text-muted);
}

.news-detail-backtotop-icon {
  font-size: 28px;
}
@media (max-width: 1024px) {
  .news-hero-title {
    font-size: 64px;
  }
  .news-grid {
    gap: 40px 24px;
  }
}

@media (max-width: 767px) {
  .news-hero {
    padding: 48px 20px 32px;
  }
  .news-hero-title {
    font-size: 48px;
    letter-spacing: 3px;
  }
  .news-hero-sub {
    font-size: 13px;
  }

  .news-list-section {
    padding-bottom: 64px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .news-date {
    font-size: 15px;
  }
  .news-text {
    font-size: 13px;
    -webkit-line-clamp: 4;
    line-clamp: 4; 
  }
  .news-detail-backtotop {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }
}
