/* ============================================
   single-news.php 専用スタイル
   ============================================ */
.snews-page {
  background: #fff;
  min-height: 100vh;
}

/* ===== ヒーロー ===== */
.snews-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* サムネあり */
.snews-hero--thumb {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.snews-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.snews-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.7);
}
.snews-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,12,30,0.75) 0%, rgba(10,12,30,0.2) 60%, transparent 100%);
  z-index: 4;
}
.snews-hero--thumb .snews-hero-inner {
  padding: 0 26px 42px;
  width: 100%;
}
.snews-hero--thumb .snews-hero-label { color: rgba(255,200,220,0.85); }
.snews-hero--thumb .snews-title { color: #fff; }
.snews-hero--thumb .snews-date { color: rgba(255,255,255,0.6); }

/* サムネなし */
.snews-hero--plain {
  background: #ffffff;
  padding: 52px 26px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.snews-hero--plain .snews-hero-label { color: rgba(255,255,255,0.88) !important; letter-spacing: 0.42em !important; }
.snews-hero--plain .snews-title { color: #0D2B4E !important; }
.snews-hero--plain .snews-date { color: rgba(255,255,255,0.85) !important; }

/* 共通 */
.snews-hero-inner {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
}
.snews-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.snews-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  word-break: break-all;
}
.snews-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.snews-date {
  font-size: 13px;
  letter-spacing: 0.06em;
  font-family: 'Noto Serif JP', serif;
}
.snews-hero-deco {
  position: absolute;
  right: -8px; bottom: -14px;
  font-size: clamp(68px, 12vw, 130px);
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: rgba(212,112,58,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ===== 本文エリア ===== */
.snews-body {
  padding: 42px 0 68px;
}
.snews-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 26px;
}

/* パンくず */
.snews-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 12px;
  color: rgba(30,34,64,0.45);
  margin-bottom: 40px;
}
.snews-breadcrumb a {
  color: rgba(30,34,64,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.snews-breadcrumb a:hover { color: var(--orange-main); }
.snews-bc-sep { color: rgba(212,112,58,0.4); }

/* 記事本文 */
.snews-article {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(212,112,58,0.09);
  padding: 40px 42px;
  margin-bottom: 42px;
  animation: fadeUp 0.6s ease both;
}

/* 本文コンテンツ（the_content） */
.snews-content {
  font-size: 15px;
  line-height: 2.0;
  color: #333;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.snews-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: #7A2900;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--orange-main);
  line-height: 1.5;
}
.snews-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #7A2900;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--orange-light);
}
.snews-content p { margin-bottom: 20px; }
.snews-content p:last-child { margin-bottom: 0; }
.snews-content a {
  color: var(--orange-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.snews-content a:hover { opacity: 0.75; }
.snews-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0;
  display: block;
}
.snews-content ul,
.snews-content ol {
  padding-left: 1.6em;
  margin-bottom: 16px;
}
.snews-content li { margin-bottom: 6px; line-height: 1.85; }
.snews-content blockquote {
  margin: 26px 0;
  padding: 16px 16px;
  background: var(--orange-pale);
  border-left: 4px solid var(--orange-main);
  border-radius: 0 8px 8px 0;
  color: #555;
  font-style: italic;
}
.snews-content strong { color: #7A2900; font-weight: 700; }
.snews-content hr {
  border: none;
  border-top: 1px solid var(--orange-light);
  margin: 26px 0;
}

/* 前後ナビ */
.snews-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.snews-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--orange-pale);
  border: 1px solid rgba(212,112,58,0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.snews-nav-item:hover {
  background: #F2C49B;
  border-color: rgba(212,112,58,0.3);
  transform: translateY(-3px);
}
.snews-nav-empty {
  background: transparent;
  border: none;
  pointer-events: none;
}
.snews-nav-prev { text-align: left; }
.snews-nav-next { text-align: right; }
.snews-nav-dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-main);
}
.snews-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  line-height: 1.6;
  word-break: break-all;
}

/* 一覧へ戻る */
.snews-back-wrap { text-align: center; }
.snews-back-btn {
  display: inline-block;
  padding: 14px 42px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-main);
  border: 2px solid var(--orange-main);
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.snews-back-btn:hover {
  background: var(--orange-main);
  color: #fff;
  transform: translateY(-2px);
}

/* SP */
@media (max-width: 640px) {
  .snews-article   { padding: 28px 20px; }
  .snews-postnav   { grid-template-columns: 1fr; gap: 10px; }
  .snews-nav-next  { text-align: left; }
  .snews-nav-empty { display: none; }
  .snews-content h2  { font-size: 17px; }
  .snews-content h3  { font-size: 15px; }
  .snews-content     { font-size: 14px; }
  .snews-hero--plain { padding: 52px 20px 40px; }
}

.snews-hero .section-label { font-size: 11px; font-family: "Noto Sans JP",sans-serif; font-weight:700; letter-spacing:.25em; color: var(--orange-main); }

/* ===== single-news ヒーロー タイトル・日付 ===== */
.snews-hero-date {
  position: relative;
  z-index: 5;
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #333333;
  margin-bottom: 10px;
  order: 2;
  text-align: center;
}
.content-page-hero > .snews-hero-title {
  position: relative;
  z-index: 5;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(15px, 1.8vw, 22px) !important;
  font-weight: 400;
  color: var(--orange-main) !important;
  letter-spacing: 0.06em;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
  order: 3 !important;
}

/* ===== ページタイトル（パンくず後・本文前） ===== */
.snews-page-title {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 26px 0;
}
.snews-page-title .snews-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  color: #0D2B4E;
  letter-spacing: 0.02em;
  margin: 0;
}

/* single-news: ヒーローをコンパクトに（タイトルなし） */
.snews-page .content-page-hero {
  padding: 32px 24px 40px !important;
  min-height: 160px !important;
  justify-content: flex-end !important;
}

@media (max-width: 768px) {
  .snews-page-title {
    padding: 24px 20px 0;
  }
  .snews-page-title .snews-hero-title {
    font-size: clamp(18px, 5vw, 26px);
  }
  .snews-page .content-page-hero {
    padding: 24px 20px 32px !important;
    min-height: 130px !important;
  }
}

/* PC版: 日付・NEWSラベルを#333333に / SP版: そのまま */
@media (min-width: 769px) {
  .snews-page .snews-hero-date {
    color: #333333 !important;
  }
  .snews-page .content-page-hero .section-label {
    color: #333333 !important;
  }
}

/* PC版: 日付のフォントサイズを拡大 */
@media (min-width: 769px) {
  .snews-hero-date {
    font-size: 18px !important;
  }
}
