/* ================================================
   Cafe de terminal — news.css
   ================================================ */

/* ---------- Page Hero (News) ---------- */
.page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3D2B1F 0%, #6B4A32 60%, #C8A882 100%);
  opacity: 0.92;
}

.page-hero--news .page-hero__bg {
  background: url('../assets/images/hero.png') center 30% / cover no-repeat;
  opacity: 1;
}

.page-hero--news .page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 10, 0.58);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero__label {
  font-family: var(--font-serif-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.page-hero__title {
  font-family: var(--font-serif-ja);
  font-size: 40px;
  font-weight: 300;
  color: var(--color-bg);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.page-hero__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
}

/* パンくずリスト */
.breadcrumb {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.breadcrumb ol li + li::before {
  content: '/';
  margin-right: 8px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* ---------- News Page ---------- */
.news-page {
  padding: 80px 0 120px;
}

/* ---------- カテゴリフィルター ---------- */
.news-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.news-filter__btn {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid var(--color-light);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.news-filter__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.news-filter__btn.is-active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-bg);
}

/* ---------- 記事一覧 ---------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

/* ---------- 記事カード ---------- */
.news-article {
  border-bottom: 1px solid var(--color-light);
}

.news-article:first-child {
  border-top: 1px solid var(--color-light);
}

.news-article__link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  align-items: start;
  transition: background var(--transition);
}

.news-article__link:hover {
  opacity: 1;
}

.news-article__link:hover .news-article__title {
  color: var(--color-primary);
}

.news-article__link:hover .news-article__img .placeholder-img--news-inner {
  transform: scale(1.04);
}

/* 記事サムネイル */
.news-article__img {
  overflow: hidden;
  flex-shrink: 0;
}

.placeholder-img--news {
  height: 130px;
  overflow: hidden;
}

.placeholder-img--news-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

/* 記事本文 */
.news-article__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-article__date {
  font-family: var(--font-serif-en);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.news-article__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
}

.tag--new   { background: var(--color-primary); color: var(--color-bg); }
.tag--info  { background: var(--color-light);   color: var(--color-muted); }
.tag--event { background: var(--color-dark);    color: var(--color-bg); }

.news-article__title {
  font-family: var(--font-serif-ja);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.news-article__excerpt {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article__more {
  font-size: 12px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* フィルター非表示 */
.news-article.is-hidden {
  display: none;
}

/* 記事なし */
.news-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--color-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ---------- ヘッダー（内部ページ固定） ---------- */
.is-scrolled-page .header {
  background: var(--color-bg);
  box-shadow: 0 1px 0 var(--color-light);
}

.is-scrolled-page .header__logo {
  color: var(--color-dark);
}

.is-scrolled-page .header__nav-list a {
  color: var(--color-text);
}

.header__nav-list a.is-current {
  color: var(--color-primary);
  font-weight: 500;
}

/* ================================================
   RESPONSIVE — Tablet
   ================================================ */
@media (max-width: 1023px) {
  .news-article__link {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }
}

/* ================================================
   RESPONSIVE — Mobile
   ================================================ */
@media (max-width: 767px) {
  .page-hero {
    height: 280px;
  }

  .page-hero__title {
    font-size: 28px;
  }

  .news-page {
    padding: 56px 0 80px;
  }

  .news-filter {
    gap: 6px;
    margin-bottom: 40px;
  }

  .news-filter__btn {
    padding: 6px 16px;
    font-size: 12px;
  }

  .news-article__link {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .placeholder-img--news {
    height: 180px;
  }

  .news-article__title {
    font-size: 16px;
  }
}
