/* お知らせ一覧 */
.news-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  position: relative;
}

.news-header {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.news-category {
  background-color: #04ca28;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  margin-right: 10px;
}

.news-date {
  color: #999;
}

.news-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.news-title:hover {
  color: #4caf50;
}

.news-toggle {
  font-size: 18px;
  color: #666;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.news-toggle:hover {
  color: #4caf50;
}

.news-content {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
}

.news-category {
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
  min-width: 60px;
}

/* お知らせ一覧ページング */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 5px;
  list-style: none;
  padding: 0;
}

.news-pagination li {
  display: inline-block;
}

.news-pagination a,
.news-pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.news-pagination a:hover {
  background: #ddd;
}

.news-pagination .current {
  background: #007bff !important;
  color: white;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 123, 255, 0.4);
}

.news-pagination a.prev,
.news-pagination a.next {
  font-size: 18px;
}

