/* ============================================================
   news-article.css — ニュース記事ページ / 一覧ページのスタイル
   サイトの配色（--orange #D9A901 / --black var(--black)）に統一
   ============================================================ */

/* ---- 記事個別ページ ---- */
.article-main { padding: 96px 20px 60px; background: #fff; }
.article-layout { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: nowrap; gap: 40px; align-items: flex-start; }
.article-wrap { flex: 1 1 0%; min-width: 0; }
.article-side { flex: 0 0 300px; width: 300px; position: sticky; top: 90px; }

/* サイドバー */
.side-block { margin-bottom: 36px; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--black); }
.side-ttl { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--black); }
.side-all { font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; color: var(--orange); text-decoration: none; white-space: nowrap; }
.side-all:hover { opacity: 0.7; }
.side-empty { font-size: 13px; color: var(--mid-gray); padding: 8px 0; }

/* ヘッドライン（画像＋タイトル） */
.side-hl-list { display: flex; flex-direction: column; gap: 14px; }
.side-hl-item { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.side-hl-thumb { flex: 0 0 72px; width: 72px; height: 54px; border-radius: 6px; overflow: hidden; background: var(--gray); }
.side-hl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-hl-thumb-empty { background: linear-gradient(135deg, #f0efe9, #e8e6dd); }
.side-hl-title { flex: 1; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--black); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.side-hl-item:hover .side-hl-title { color: var(--orange); }

/* ニュース（タイトルのみ・5件超でスクロール） */
.side-news-list { display: flex; flex-direction: column; }
.side-news-item { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--black); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--light-gray); }
.side-news-item:hover { color: var(--orange); }
.side-news-scroll { max-height: 260px; overflow-y: auto; padding-right: 6px; }
.side-news-scroll::-webkit-scrollbar { width: 5px; }
.side-news-scroll::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }
.side-news-scroll::-webkit-scrollbar-track { background: #f0f0f0; }

@media (max-width: 768px) {
  .article-layout { flex-direction: column; gap: 40px; }
  .article-wrap { max-width: 100%; }
  .article-side { flex: 1 1 auto; width: 100%; position: static; }
}

.article-breadcrumb {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.5px;
  color: var(--mid-gray); margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--mid-gray); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--orange); }
.article-breadcrumb span { margin: 0 4px; }

.article-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.article-cat {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 1px;
  color: #fff; background: var(--black); padding: 4px 12px; border-radius: 2px;
}
.article-cat-event  { background: var(--orange); }
.article-cat-notice { background: var(--black); }
.article-cat-press  { background: var(--dark-gray); }
.article-date { font-family: var(--font-en); font-size: 13px; color: var(--mid-gray); }

.article-title {
  font-family: var(--font-body); font-weight: 700; font-size: 30px; line-height: 1.45;
  color: var(--black); margin: 0 0 28px; letter-spacing: 0.01em;
}

.article-hero-img { margin: 0 0 32px; border-radius: 8px; overflow: hidden; background: var(--gray); }
.article-hero-img img { width: 100%; height: auto; display: block; }

.article-lead {
  font-size: 16px; line-height: 2; color: var(--dark-gray); margin-bottom: 36px;
}
.article-lead p { margin: 0 0 12px; }
.article-lead p:last-child { margin-bottom: 0; }

/* 目次 */
.article-toc {
  border: 1px solid var(--light-gray); border-radius: 8px; padding: 20px 24px; margin: 0 0 40px;
  background: #fafafa;
}
.article-toc .toc-ttl {
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--orange); margin: 0 0 12px;
}
.article-toc ul { list-style: none; margin: 0; padding: 0; }
.article-toc li { margin: 0; }
.article-toc li a {
  display: block; padding: 7px 0; font-size: 14px; color: var(--black);
  text-decoration: none; border-bottom: 1px dashed #e5e5e5; transition: color 0.15s;
}
.article-toc li:last-child a { border-bottom: none; }
.article-toc li a:hover { color: var(--orange); }
.article-toc .toc-h3 a { padding-left: 18px; font-size: 13px; color: var(--dark-gray); }

/* 本文 */
.article-body { font-size: 16px; line-height: 2; color: var(--dark-gray); }
.article-body p { margin: 0 0 24px; }
/* 本文中のリンク（URL自動リンク含む） */
.article-body a.article-link, .article-lead a.article-link {
  color: var(--orange); text-decoration: underline; text-underline-offset: 2px;
  word-break: break-all; transition: opacity 0.15s;
}
.article-body a.article-link:hover, .article-lead a.article-link:hover { opacity: 0.7; }
.article-h2 {
  font-family: var(--font-body); font-weight: 700; font-size: 22px; line-height: 1.5;
  color: var(--black); margin: 48px 0 20px; padding-left: 14px;
  border-left: 4px solid var(--orange);
}
.article-h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 18px; line-height: 1.5;
  color: var(--black); margin: 36px 0 16px;
}
.article-h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.5;
  color: var(--black); margin: 28px 0 12px;
}
.article-figure { margin: 28px 0; border-radius: 8px; overflow: hidden; background: var(--gray); }
.article-figure img { width: 100%; height: auto; display: block; }

/* FAQ */
.article-faq { margin: 56px 0 0; }
.faq-list { margin: 20px 0 0; }
.faq-q {
  font-weight: 700; font-size: 16px; color: var(--black); margin: 0 0 8px;
  padding-left: 26px; position: relative;
}
.faq-q::before {
  content: 'Q'; position: absolute; left: 0; top: 0;
  font-family: var(--font-en); font-weight: 800; color: var(--orange);
}
.faq-a {
  font-size: 15px; line-height: 1.9; color: var(--dark-gray); margin: 0 0 24px;
  padding-left: 26px; position: relative;
}
.faq-a::before {
  content: 'A'; position: absolute; left: 0; top: 0;
  font-family: var(--font-en); font-weight: 800; color: var(--mid-gray);
}

.article-back { margin: 56px 0 0; text-align: center; }
.article-back-link {
  display: inline-block; font-family: var(--font-en); font-size: 12px; font-weight: 800;
  letter-spacing: 1px; color: var(--orange); text-decoration: none;
  border: 1px solid var(--orange); border-radius: 2px; padding: 12px 28px; transition: all 0.2s;
}
.article-back-link:hover { background: var(--orange); color: #fff; }

@media (max-width: 640px) {
  .article-main { padding: 80px 16px 48px; }
  .article-title { font-size: 24px; }
  .article-h2 { font-size: 19px; }
  .article-lead { font-size: 15px; }
}

/* ---- ニュース一覧ページ（news.html）のカード ---- */
.news-card-list { display: flex; flex-direction: column; gap: 0; }
.news-card-item {
  display: flex; gap: 18px; align-items: center; padding: 18px 4px;
  border-bottom: 1px solid var(--light-gray); text-decoration: none; transition: background 0.15s;
}
.news-card-item:hover { background: #faf9f7; }
.news-card-thumb {
  flex: 0 0 96px; width: 96px; height: 72px; border-radius: 6px; overflow: hidden;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-thumb-empty { background: linear-gradient(135deg, #f0efe9, #e8e6dd); }
.news-card-body { flex: 1; min-width: 0; }
.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.news-card-meta time { font-family: var(--font-en); font-size: 12px; color: var(--mid-gray); }
.news-card-title {
  display: block; font-size: 15px; font-weight: 700; color: var(--black); line-height: 1.5;
}
.news-card-item:hover .news-card-title { color: var(--orange); }
.news-empty { color: var(--mid-gray); font-size: 14px; text-align: center; padding: 40px 0; }

@media (max-width: 640px) {
  .news-card-thumb { flex: 0 0 72px; width: 72px; height: 56px; }
  .news-card-title { font-size: 14px; }
}
