/* ============================================================
   page-news.css — お知らせ一覧 / 記事詳細
   ============================================================ */

/* 2カラムレイアウト */
.news-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding-bottom: 80px;
  align-items: start;
}

.news-main {
  min-width: 0;
}

/* ============================================================
   一覧
   ============================================================ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.news-item {
  border-bottom: 1px solid #e8e4e0;
}

.news-item:first-child {
  border-top: 1px solid #e8e4e0;
}

.news-item-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 8px;
  text-decoration: none;
  transition: background 0.2s;
  flex-wrap: wrap;
}

.news-item-link:hover {
  background: #faf9f7;
}

.news-item-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-item-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #800000;
  border: 1px solid #800000;
  padding: 2px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-item-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.news-item-arrow {
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.news-item-link:hover .news-item-arrow {
  color: #800000;
  transform: translateX(4px);
}

/* ページネーション */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 0 8px;
  transition: all 0.2s;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.news-empty {
  font-size: 14px;
  color: #aaa;
  text-align: center;
  padding: 60px 0;
}

/* ============================================================
   サイドバー
   ============================================================ */
.news-sidebar {
  position: sticky;
  top: 80px;
}

.news-widget {
  margin-bottom: 32px;
}

.news-widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: #1a1a1a;
  padding: 8px 14px;
  margin-bottom: 12px;
}

.news-cat-list {
  list-style: none;
  padding: 0;
}

.news-cat-list li {
  border-bottom: 1px dashed #e8e4e0;
}

.news-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.news-cat-list li a:hover {
  color: #800000;
  padding-left: 14px;
}

.news-cat-count {
  font-size: 11px;
  color: #aaa;
}

.news-recent-list {
  list-style: none;
  padding: 0;
}

.news-recent-list li {
  border-bottom: 1px dashed #e8e4e0;
}

.news-recent-list li a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.news-recent-list li a:hover {
  background: #faf9f7;
}

.news-recent-date {
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #aaa;
}

.news-recent-title {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ============================================================
   記事詳細
   ============================================================ */
.article-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #1a1a1a;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #999;
}

.article-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #800000;
  border: 1px solid #800000;
  padding: 2px 10px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.article-cat:hover {
  background: #800000;
  color: #fff;
}

.article-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  letter-spacing: 0.06em;
}

.article-thumb {
  margin-bottom: 32px;
  border-radius: 4px;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* 記事本文 */
.article-body {
  font-size: 15px;
  line-height: 2.2;
  color: #333;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 4px solid #800000;
  padding-left: 14px;
  margin: 36px 0 18px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e4e0;
  margin: 28px 0 14px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-body a {
  color: #800000;
  text-decoration: underline;
}

/* タグ */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e4e0;
}

.article-tag {
  font-size: 12px;
  color: #666;
  background: #f0ede9;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.article-tag:hover {
  background: #1a1a1a;
  color: #fff;
}

/* 前後ナビ */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px 0;
  border-top: 1px solid #e8e4e0;
  border-bottom: 1px solid #e8e4e0;
}

.article-nav-prev,
.article-nav-next {
  min-width: 0;
}

.article-nav-next {
  text-align: right;
}

.article-nav-prev a,
.article-nav-next a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.2s;
}

.article-nav-prev a:hover,
.article-nav-next a:hover {
  opacity: 0.7;
}

.article-nav-label {
  font-size: 11px;
  color: #800000;
  letter-spacing: 0.08em;
}

.article-nav-title {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.6;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 戻るボタン */
.article-back {
  text-align: center;
}

.article-back-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: #1a1a1a;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.2s;
}

.article-back-btn:hover {
  background: #800000;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .news-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-sidebar {
    position: static;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .news-item-link {
    gap: 8px;
  }

  .news-item-title {
    width: 100%;
    order: 3;
  }
}
