﻿/* =============================================
   NEWS 一覧ページ (news/index.html) 固有スタイル
   SP base (〜767px)
   ============================================= */

/* ---- ページヘッダー ---- */
.news-archive-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 6vw 48px;
}

.news-archive-eyebrow {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.news-archive-title {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(32px, 8vw, 64px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-black);
  line-height: 1.1;
}

/* ---- 記事リスト ---- */
.news-archive-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 6vw 16vw;
  border-top: 1px solid var(--light-gray);
}

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

/* ---- 各記事アイテム ---- */
.news-archive-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--light-gray);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.news-archive-item:first-child {
  border-top: none;
}

.news-archive-item:hover,
.news-archive-item:active {
  opacity: 0.5;
}

/* テキスト部分 */
.news-archive-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* 日付+カテゴリ行 */
.news-archive-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 日付 */
.news-archive-date {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.15em;
  flex-shrink: 0;
}

/* カテゴリバッジ */
.news-archive-cat {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--light-gray);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
  flex-shrink: 0;
}

/* タイトル */
.news-archive-item-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--warm-black);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

/* サムネイル画像 */
.news-archive-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 56px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--light-gray);
}

.news-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.news-archive-item:hover .news-archive-thumb img {
  transform: scale(1.04);
}

/* ---- 戻るナビ ---- */
.news-archive-nav {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 6vw 16vw;
}

.news-archive-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}

.news-archive-back::before {
  content: "←";
  font-size: 11px;
  transition: transform 0.3s ease;
}

.news-archive-back:hover {
  color: var(--warm-black);
  gap: 18px;
}

.news-archive-back:hover::before {
  transform: translateX(-4px);
}

/* =============================================
   PC / Tablet: min-width: 1024px 以上
   ============================================= */
@media (min-width: 1024px) {
  .news-archive-hero {
    padding: 140px 6vw 64px;
  }

  .news-archive-body {
    padding: 0 6vw 120px;
  }

  .news-archive-item {
    padding: 28px 0;
    gap: 24px;
  }

  .news-archive-item-meta {
    gap: 14px;
  }

  .news-archive-date {
    font-size: 11px;
  }

  .news-archive-item-title {
    font-size: 16px;
  }

  .news-archive-thumb {
    width: 108px;
    height: 80px;
  }

  .news-archive-nav {
    padding: 0 6vw 120px;
  }
}