@charset "UTF-8";

/* ==========================================================================
   お知らせページ固有スタイル（一覧ページ・詳細ページ共通）
   共通スタイル（common.css）・下層ページ共通ヘッダー／見出し（lower.css）は
   別ファイル。このファイルは common.css → lower.css の後に読み込むこと。
   ========================================================================== */

/* ヘッダー：一覧ページのヒーロー背景が明るいため、常時ダークガラス状態にする
   （詳細ページのヒーローは暗い画像のため対象外。body.has-news-hero でスコープ） */
body.has-news-hero header.site-header {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

/* お知らせ一覧：ページヒーロー（会社案内・歴史と理念ページと同じ構成：
   flourish＋タイトル二段組＋バナー写真） */
.news-hero {
  position: relative;
  background: var(--bg);
  padding-top: 171px;
  overflow: hidden;
}
.news-hero-flourish {
  position: absolute;
  top: -147px;
  right: 26px;
  width: 776px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.news-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 40px;
}
.news-hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.news-hero-title h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.5;
}
.news-hero-lead {
  max-width: 560px;
  flex: 1;
  min-width: 280px;
}
.news-hero-lead p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}
.news-hero-banner {
  position: relative;
  z-index: 1;
  width: min(1350px, 92%);
  height: 340px;
  margin: 50px auto 0;
  overflow: hidden;
}
.news-hero-banner .placeholder {
  width: 100%;
  height: 100%;
}

/* パンくず */
.news-breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  justify-content: flex-end;
}
.news-breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: var(--sub);
}
.news-breadcrumb-list li {
  display: flex;
  align-items: center;
}
.news-breadcrumb-list li:not(:first-child)::before {
  content: "/";
  margin-right: 10px;
}
.news-breadcrumb-list a {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.news-breadcrumb-list a:hover { text-decoration: underline; }

/* お知らせ一覧：本文＋サイドバーの2カラムレイアウト */
.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
.news-main { flex: 1; min-width: 0; }

/* サイドバー */
.news-sidebar {
  width: 322px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background: var(--panel);
  padding: 30px 20px;
}
.news-sidebar-block h3 {
  font-size: 1.2rem;
  padding: 5px 0 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.news-cat-list,
.news-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-cat-list a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8875rem;
  font-weight: 700;
  letter-spacing: 0.054em;
  line-height: 1;
  color: #000;
  text-decoration: none;
}
.news-cat-list a::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #000;
  flex-shrink: 0;
  transition: width 0.3s ease, background 0.3s ease;
}
.news-cat-list a:hover { color: var(--accent); }
.news-cat-list a:hover::before { width: 64px; background: var(--accent); }
.news-recent-list li {
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.news-recent-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.news-recent-list .news-meta { margin-bottom: 8px; }
.news-recent-list h4 {
  font-size: 0.925rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}
.news-recent-list a:hover h4 { color: var(--accent); }

/* レスポンシブ: お知らせ一覧ヒーロー／2カラムレイアウト (max-width: 860px) */
@media (max-width: 860px) {
  .news-breadcrumb { justify-content: flex-start; padding-top: 20px; }
  .news-layout { flex-direction: column; }
  .news-main { width: 100%;}
  .news-sidebar { width: 100%; }
}

/* お知らせ一覧 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* a タグ自体にはクラスを付与せず、親の .news-card を起点にスタイリング
   （WordPress化時、投稿ループの出力に依存させないため） */
.news-card > a {
  display: block;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  background: var(--panel);
  border: 1px solid transparent;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease;
}
.news-card > a:hover { border-color: var(--line); }
.news-card > a:hover .link-underline { color: var(--accent); }
.news-card > a:hover .link-underline::before { width: 64px; background: var(--accent); }
.news-card .news-thumb { width: 100%; height: 130px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.news-tag {
  display: inline-block;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 3px 6px;
}
.news-date {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.78rem;
  color: var(--sub);
  letter-spacing: 0.04em;
}
.news-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.6;
}
.news-body p.news-excerpt {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--sub);
}

/* ページャー */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}
.pager-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pager-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sub);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.pager-list a:hover { color: var(--accent); border-color: var(--accent); border-radius: 3px; }
.pager-list a.is-current {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 3px;
}
.pager-prev,
.pager-next {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s ease;
}
.pager-prev:hover,
.pager-next:hover { color: var(--accent); }
.pager-prev[aria-disabled="true"] {
  color: var(--line);
  pointer-events: none;
}

/* レスポンシブ: お知らせ一覧／ページャー (max-width: 860px) */
@media (max-width: 860px) {
  .news-card > a { grid-template-columns: 1fr; }
  .news-card .news-thumb { aspect-ratio: 16/9; height: auto; max-width: 400px;}
  .pager { gap: 12px; }
  .pager-list { gap: 4px; }
  .pager-list a { width: 32px; height: 32px; }
}

/* お知らせ詳細：記事パネル（一覧と同じ .news-layout / .news-sidebar を流用し、
   本文カード部分のみ固有スタイルを追加） */
.article-panel {
  background: var(--panel);
  padding: 30px 24px 50px;
}

/* 記事メタ（タグ＋日付） */
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }

/* 記事タイトル */
.article-panel > h3 {
  font-size: 1.5rem;
  line-height: 1.6;
  padding: 5px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

/* 記事メイン画像 */
.article-hero-image { width: 100%; height: 360px; margin-bottom: 48px; }

/* 記事本文：WordPress化を考慮し、投稿本文内の a・img・ul にはクラスを付与せず
   タグ指定でスタイリングする（.article-body 配下のタグセレクタのみに依存） */
.article-panel > p {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: var(--ink);
}
.article-panel > p:last-child { margin-bottom: 0; }
.article-panel > h4 {
  font-size: 1.25rem;
  padding: 5px 0;
  margin: 40px 0 24px;
  border-bottom: 1px solid var(--line);
}
.article-panel > ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-panel > ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
}
.article-panel > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 28px;
}
.article-body .placeholder {
  height: 320px;
  margin: 0 0 28px;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--ink); }

/* 記事フッター：前後記事ナビ＋一覧に戻るボタン */
.article-foot {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.article-foot .btn-outline {
  padding: 9px 24px;
}

/* レスポンシブ: お知らせ詳細 (max-width: 860px) */
@media (max-width: 860px) {
  .article-hero-image { height: 350px; }
  .article-body .placeholder { aspect-ratio: 16/9; max-width: 640px; height: auto; }
  .article-panel { padding: 24px 16px 36px; }
}
@media (max-width: 500px) {
  .none_500{
    display: none;
  }
}