/* styles.css */
body {
  background-color: #f5f5f5;
}


/* メインコンテナ */
.news-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

/* ニュースリスト */
.news-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item {
  padding: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-meta {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-date {
  color: #666;
  font-size: 0.9rem;
}

.news-category {
  background-color: #0066cc;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.news-content h2 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: bold;
}

.news-content p {
  color: #666;
  line-height: 1.8;
}

/* 戻るボタン */
.back-button-container {
  text-align: center;
  margin-top: 60px;
}

.back-button {
  display: inline-block;
  padding: 15px 40px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background: #0052a3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-container {
    margin: 1rem auto;
  }

  .news-item {
    padding: 1.5rem 1rem;
  }

  .news-content h2 {
    font-size: 1.2rem;
  }

  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.button {
  width: 100px;
  padding: 15px;
  text-align: center;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background 0.3s;
}

.button:hover {
  background-color: #0056b3;
}

.button-main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  background-color: #f5f5f5;
}