/* ============================================================
   吉村製材 ? news_page.css
   ニュースページ専用スタイル
   ============================================================ */

/* page-hero / breadcrumb / news-head 共通 */
.page-hero { position: relative; width: 100%; overflow: hidden; height: 220px; background: #1a1410; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: 0.7; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(53,34,28,0.55) 0%, rgba(53,34,28,0.15) 60%, transparent 100%); display: flex; align-items: center; }
.page-hero-content { display: flex; align-items: center; gap: 16px; }
.page-hero--detail { height: 260px; }
.page-hero-detail-inner { display: flex; flex-direction: column; gap: 10px; }
.page-hero-mark-sm { width: 28px; height: 28px; flex-shrink: 0; }
.page-hero-title--lg { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-weight: 600; color: #fff; letter-spacing: 0.08em; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--w200); padding: 10px 0; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 300; color: var(--sub); }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--walnut); }
.breadcrumb-sep { color: var(--w300); }
.news-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-head-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--forest); flex-shrink: 0; }
.news-head-ja { font-family: var(--font-sans); font-size: 32px; font-weight: 600; color: var(--walnut); letter-spacing: 0.08em; }
.news-head-en { font-size: 14px; font-weight: 600; color: var(--forest); letter-spacing: 0.12em; }
.news-head-line { height: 6px; background: linear-gradient(to right, var(--forest) 250px, var(--chestnut) 250px); opacity: 1; margin-bottom: 0; }

/* ── セクション ── */
.newspage-section {
  background: var(--cream);
  padding: 48px 0 72px;
}

/* ── 言語フィルター ── */
.newspage-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.newspage-filter-btn {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--walnut);
  background: var(--w100);
  border: 1px solid var(--w200);
  border-radius: 999px;
  padding: 6px 18px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.newspage-filter-btn:hover {
  background: var(--w200);
}
.newspage-filter-btn--active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.newspage-update {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--w300);
  letter-spacing: 0.06em;
}

/* ── 記事リスト ── */
.newspage-list { list-style: none; }
.newspage-item { border-bottom: 1px dashed var(--w200); }
.newspage-item:first-child { border-top: 1px dashed var(--w200); }

.newspage-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  text-decoration: none;
  transition: background var(--transition);
}
.newspage-link:hover { background: var(--w100); }

.newspage-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 260px;
}
.newspage-date {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.newspage-lang-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--walnut);
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.newspage-source {
  font-size: 11px;
  font-weight: 300;
  color: var(--sub);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.newspage-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.newspage-link:hover .newspage-title { color: var(--walnut); }
.newspage-arrow {
  font-size: 14px;
  color: var(--w300);
  flex-shrink: 0;
}
.newspage-link:hover .newspage-arrow { color: var(--forest); }

.newspage-empty {
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  padding: 48px 0;
}

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .page-hero--detail { height: 200px; }
  .newspage-link { flex-wrap: wrap; gap: 8px; }
  .newspage-meta { min-width: auto; }
  .newspage-source { display: none; }
  .newspage-arrow { display: none; }
}
