/* ============================================
   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: 0;
}
.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: 1;
}
.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: linear-gradient(135deg, #fff0f5 0%, #ffd6e5 55%, #ffe8f2 100%);
  padding: 68px 26px 68px;
}
.snews-hero--plain .snews-hero-label { color: rgba(240,62,122,0.75); }
.snews-hero--plain .snews-title { color: #1e2240; }
.snews-hero--plain .snews-date { color: rgba(30,34,64,0.45); }

/* 共通 */
.snews-hero-inner {
  position: relative;
  z-index: 2;
  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(240,62,122,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(--pink-main); }
.snews-bc-sep { color: rgba(240,62,122,0.4); }

/* 記事本文 */
.snews-article {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(240,62,122,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: #1e2240;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--pink-main);
  line-height: 1.5;
}
.snews-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e2240;
  margin: 26px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pink-light);
}
.snews-content p { margin-bottom: 20px; }
.snews-content p:last-child { margin-bottom: 0; }
.snews-content a {
  color: var(--pink-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(--pink-pale);
  border-left: 4px solid var(--pink-main);
  border-radius: 0 8px 8px 0;
  color: #555;
  font-style: italic;
}
.snews-content strong { color: #1e2240; font-weight: 700; }
.snews-content hr {
  border: none;
  border-top: 1px solid var(--pink-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(--pink-pale);
  border: 1px solid rgba(240,62,122,0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.25s;
}
.snews-nav-item:hover {
  background: #ffe0ee;
  border-color: rgba(240,62,122,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(--pink-main);
}
.snews-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  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(--pink-main);
  border: 2px solid var(--pink-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(--pink-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; }
}
