/* ========== News セクション ========== */

.news-section {
  padding: 80px 20px;
  background-color: var(--color-bg);
}

.news-section .section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 800px;
}

.news-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  font-size: 1rem;
}

.news-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.news-item a:hover {
  color: var(--color-link);
}

.news-date {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-right: 1rem;
  min-width: 80px;
}

.news-title {
  flex: 1;
}

.news-more {
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-more:hover {
  background-color: #005fa3; /* --color-primary の濃い版 */
}

/* SP対応 */
@media (max-width: 768px) {
  .news-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .news-date {
    margin-right: 0;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 800px;
  display: grid;
  gap: 1.5rem;
}

.news-item {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.news-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-item a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s;
}

.news-item a:hover {
  color: var(--color-link);
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.news-title {
  font-size: 1rem;
  font-weight: 500;
}

/* 一覧ボタン */
.news-more {
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #fff;
  background-color: var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-more:hover {
  background-color: #005fa3;
}

/* SP対応 */
@media (max-width: 768px) {
  .news-item a {
    padding: 1rem;
  }
}

