/* ============================================
   NEWS 一覧 / 詳細 ページ専用スタイル
   ============================================ */

/* Current nav marker */
.nav-link-current { color: #8b7332; }
.nav-link-current::after { transform: scaleX(1) !important; }

/* ========== Page Hero ========== */
.news-page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(217,138,163,0.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(122,90,152,0.12), transparent 60%);
}

.breadcrumb a {
  transition: color 0.3s;
}
.breadcrumb .truncate {
  display: inline-block;
  max-width: 70vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ========== News List ========== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .news-list { gap: 20px; }
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(139,115,50,0.15);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px -20px rgba(42,34,48,0.25);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s,
              border-color 0.5s;
  opacity: 0;
  animation: cardIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: inherit;
  text-decoration: none;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (min-width: 768px) {
  .news-card {
    grid-template-columns: 320px 1fr;
  }
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(42,34,48,0.32);
  border-color: rgba(139,115,50,0.35);
}

.news-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #efe3d3;
}
@media (min-width: 768px) {
  .news-card-thumb { aspect-ratio: auto; height: 100%; }
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.news-card:hover .news-card-thumb img { transform: scale(1.06); }
.news-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(217,138,163,0.18), rgba(139,115,50,0.12));
}
.news-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,138,163,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.news-card:hover .news-card-thumb::after { opacity: 1; }

.news-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .news-card-body { padding: 28px 32px; }
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #8b7332;
}
.news-card-category {
  display: inline-block;
  padding: 2px 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #8b7332;
  border: 1px solid rgba(139,115,50,0.4);
  border-radius: 999px;
}
.news-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #2a2230;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .news-card-title { font-size: 22px; }
}
.news-card:hover .news-card-title { color: #8b7332; }
.news-card-excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(42,34,48,0.65);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card-more {
  margin-top: auto;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #8b7332;
  transition: letter-spacing 0.3s;
}
.news-card:hover .news-card-more { letter-spacing: 0.35em; }

/* ========== Article Head ========== */
.article-head {
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(217,138,163,0.15), transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 60%, rgba(122,90,152,0.1), transparent 60%);
}
.article-category {
  display: inline-block;
  padding: 3px 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #8b7332;
  border: 1px solid rgba(139,115,50,0.4);
  border-radius: 999px;
}
.article-date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #8b7332;
}
.article-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #2a2230;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .article-title { font-size: 38px; line-height: 1.45; }
}

.article-thumb-wrap {
  margin-top: 16px;
}
.article-thumb {
  width: 100%;
  aspect-ratio: 21/10;
  object-fit: cover;
  border-radius: 2px;
  box-shadow:
    0 30px 60px -25px rgba(42,34,48,0.35),
    0 0 80px -20px rgba(217,138,163,0.15);
}
@media (max-width: 640px) {
  .article-thumb { aspect-ratio: 4/3; }
}

/* ========== Article Body ========== */
.article-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: rgba(42,34,48,0.9);
}
@media (min-width: 768px) {
  .article-body { font-size: 16px; }
}
.article-body > * + * { margin-top: 1.2em; }

.article-body p.lead {
  font-size: 16px;
  line-height: 2.1;
  color: #2a2230;
  padding: 20px 22px;
  background: rgba(255,255,255,0.5);
  border-left: 3px solid #d98aa3;
  border-radius: 2px;
}
.article-body .hl {
  color: #b95c7b;
  font-weight: 500;
}
.article-body strong {
  font-weight: 600;
  color: #2a2230;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2a2230;
  margin-top: 2.4em !important;
  margin-bottom: 0.6em;
  padding-left: 16px;
  border-left: 3px solid #8b7332;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .article-body h2 { font-size: 24px; }
}
.article-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #8b7332;
  margin-top: 2em !important;
  margin-bottom: 0.4em;
}
.article-body ul, .article-body ol {
  padding-left: 1.5em;
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li + li { margin-top: 0.4em; }
.article-body a {
  color: #8b7332;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.article-body a:hover { color: #b95c7b; }

.article-body blockquote {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  line-height: 2;
  color: #b95c7b;
  padding: 24px 28px;
  margin: 2em 0 !important;
  background: linear-gradient(135deg, rgba(217,138,163,0.08), rgba(139,115,50,0.06));
  border: 1px solid rgba(217,138,163,0.3);
  border-radius: 2px;
  text-align: center;
}
.article-body .note {
  font-size: 13px;
  color: rgba(42,34,48,0.6);
  padding-top: 4px;
}

/* Figures */
.news-figure {
  margin: 2.5em -16px !important;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 20px 40px -22px rgba(42,34,48,0.3);
}
@media (min-width: 768px) {
  .news-figure { margin: 2.5em 0 !important; }
}
.news-figure img {
  width: 100%;
  display: block;
}
.news-figure figcaption {
  font-size: 12px;
  color: rgba(42,34,48,0.55);
  padding: 10px 16px;
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(139,115,50,0.1);
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}
.news-figure-wide {
  margin: 2.5em calc((100vw - 760px) / -2 + 16px) !important;
}
@media (max-width: 820px) {
  .news-figure-wide { margin: 2.5em -16px !important; }
}

/* Cast comment (article version) */
.article-body .cast-comment {
  position: relative;
  padding: 28px 24px 24px 48px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(139,115,50,0.2);
  border-radius: 2px;
  margin: 1.5em 0 !important;
}
.article-body .cast-comment::before {
  content: '"';
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  line-height: 1;
  color: #d98aa3;
  opacity: 0.6;
}
.article-body .cast-comment-role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #8b7332;
  margin: 0 !important;
}
.article-body .cast-comment-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 500;
  color: #2a2230;
  margin: 4px 0 14px 0 !important;
}
.article-body .cast-comment-body {
  font-size: 14px;
  line-height: 2;
  margin: 0 !important;
}

/* ========== Article Gallery ========== */
.article-gallery {
  margin-top: 4em;
  padding-top: 2em;
  border-top: 1px dashed rgba(139,115,50,0.2);
}
.article-gallery-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-align: center;
  color: #8b7332;
  margin-bottom: 1.5em;
}
.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .article-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.article-gallery-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  background: #efe3d3;
  cursor: pointer;
}
.article-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.article-gallery-item:hover img { transform: scale(1.06); }

/* ========== Share ========== */
.article-share {
  margin-top: 4em;
  padding: 24px 0;
  text-align: center;
  border-top: 1px dashed rgba(139,115,50,0.2);
  border-bottom: 1px dashed rgba(139,115,50,0.2);
}
.article-share .flex { justify-content: center; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(139,115,50,0.35);
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(42,34,48,0.7);
  transition: all 0.3s;
}
.share-btn:hover {
  background: #2a2230;
  color: #fff;
  border-color: #2a2230;
}

/* ========== Pager ========== */
.article-pager {
  margin-top: 3em;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
@media (max-width: 640px) {
  .article-pager {
    grid-template-columns: 1fr;
  }
}
.article-pager-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(139,115,50,0.2);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: all 0.4s;
}
.article-pager-link:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(139,115,50,0.45);
}
.article-pager-next { justify-content: flex-end; text-align: right; }
.article-pager-prev { justify-content: flex-start; }
.article-pager-link .pager-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #8b7332;
  transition: transform 0.3s;
}
.article-pager-link:hover .pager-arrow { transform: translateX(-3px); }
.article-pager-next:hover .pager-arrow { transform: translateX(3px); }
.pager-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #8b7332;
  margin-bottom: 2px;
}
.pager-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: #2a2230;
  line-height: 1.5;
}
.article-pager-link.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
}
.article-pager-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #8b7332;
  border: 1px solid rgba(139,115,50,0.4);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.4s;
  white-space: nowrap;
}
.article-pager-back:hover {
  background: #8b7332;
  color: #fff;
}

/* ========== Lightbox ========== */
#lightbox.is-open { display: flex; }
#lightbox.is-open #lightbox-img {
  animation: lbIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
