/* archive-news.css */
.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}


/* PC共通部分はそのまま */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
}


.archive-header {
  margin-bottom: 2rem;
  text-align: center;
}

.archive-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-text);
}

.news-archive-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-archive-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.news-archive-item a {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.news-category {
  font-size: 0.9rem;
  color: #fff;
  background-color: var(--color-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.news-title {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
  flex: 1;
}

/* スマホ表示時に左右の余白を確保 */
@media screen and (max-width: 767px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
