/* --- News Section Styles --- */
.news-section {
  padding: 80px 5%;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  color: #333;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #007bff;
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: bold;
}

.news-body {
  padding: 30px 20px;
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
}

.news-headline {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* .main-slider {
    height: 50vh;
  }*/

  .slide-title {
    font-size: 2.2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}
