/* ─────────────────────────────────────────
   ブランド お知らせ記事ページの共通スタイル
   - 本番ページ: src/pages/news/[id].astro
   - プレビュー: src/pages/news/preview.astro
   両方からこのファイルを <link> で読み込む。修正はこの1ファイルのみ。
   ───────────────────────────────────────── */

/* ── 全体レイアウト ── */
.news-article {
  background: var(--elcient-cream);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 56px);
}
.news-article__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ── 戻るリンク（本番のみ表示） ── */
.news-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--elcient-orange);
  text-decoration: none;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.news-article__back:hover { text-decoration: underline; }

/* ── 記事ヘッダー（日付・カテゴリ・タイトル） ── */
.news-article__head {
  padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid rgba(20,2,1,0.10);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.news-article__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.news-article__date {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-en);
  color: var(--elcient-black);
}
.news-article__date-md {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.news-article__date-y {
  font-size: 13px;
  font-weight: 400;
  color: rgba(20,2,1,0.55);
}
.news-article__cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(245,131,69,0.10);
  border: 1px solid rgba(245,131,69,0.4);
  border-radius: 999px;
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--elcient-orange);
}
.news-article__title {
  font-family: var(--font-ja-serif);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--elcient-black);
  margin: 0;
}

/* ── サムネイル（本番のみ） ── */
.news-article__thumb {
  margin: 0 0 clamp(32px, 4vw, 56px);
  border-radius: 12px;
  overflow: hidden;
}
.news-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 本文 ── */
.news-article__body {
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--elcient-black);
}
.news-article__body p { margin: 0 0 1.4em; }
.news-article__body strong { color: var(--elcient-black); }
.news-article__body a { color: var(--elcient-orange); text-decoration: underline; }
.news-article__body img { max-width: 100%; height: auto; margin: 1.2em 0; border-radius: 8px; }
.news-article__rich { margin-bottom: 1.5em; }
.news-article__inline-image { margin: 1.5em 0; }
.news-article__inline-image img { width: 100%; height: auto; display: block; border-radius: 8px; }
.news-article__empty {
  color: rgba(20,2,1,0.6);
  font-style: italic;
}

/* ── 記事フッター・戻るボタン（本番のみ） ── */
.news-article__foot {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(20,2,1,0.10);
  text-align: center;
}
.news-article__back-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border: 1px solid var(--elcient-orange);
  border-radius: 999px;
  color: var(--elcient-orange);
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.news-article__back-btn:hover {
  background: var(--elcient-orange);
  color: #fff;
}

/* ─────────────────────────────────────────
   見出し（大／中／小）— お知らせ本文ブロック
   ───────────────────────────────────────── */
.news-article__body .news-block-heading--large {
  font-family: var(--font-ja-serif);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--elcient-black);
  margin: 2.4em 0 1em;
  padding: 0.8em 0 0.5em 0.9em;
  border-left: 5px solid var(--elcient-orange);
}
.news-article__body .news-block-heading--medium {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--elcient-orange);
  margin: 2em 0 0.6em;
}
.news-article__body .news-block-heading--small {
  font-family: var(--font-ja);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--elcient-black);
  margin: 1.6em 0 0.4em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid rgba(20,2,1,0.18);
}
