/* =============================================================
   PROMISE — News Page Stylesheet
   news.css  |  v1.0.0
   ※ style.css を先に読み込むこと
============================================================= */

.news-list__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 40px;
}

/* ---- 記事リスト ---- */
.news-list__items {
  list-style: none;
}

.news-list__item {
  border-bottom: 1px solid #333;
}

.news-list__item:first-child {
  border-top: 1px solid #333;
}
.news-list__item:last-child {
  border-bottom: none;
}

.news-list__link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 24px 0;
  transition: color .2s;
}

.news-list__link:hover {
   color: #aaaaaa;
}

.news-list__date {
  font-family: 'Cinzel', serif;
  letter-spacing: .12em;
  color: #aaa;
  flex-shrink: 0;
  transition: color .2s;
}

.news-list__link:hover .news-list__date {
}

.news-list__title {
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.8;
}

/* ---- ページネーション ---- */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-pagination__btn {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .1em;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gray-lt);
  background: transparent;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}

.news-pagination__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.news-pagination__btn.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.news-pagination__btn:disabled {
  opacity: .25;
  cursor: not-allowed;
}

.news-pagination__btn--arrow {
  font-size: .8rem;
}

/* ============================================================
   News Detail Page
============================================================ */
#news-detail-section {
}

.news-detail__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding-inline: 40px;
}

/* ---- ヘッダー部分 ---- */
.news-detail__header {
  margin-bottom: 40px;
}

.news-detail__title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: .1em;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 16px;
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-detail__date {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-sm);
  letter-spacing: .15em;
  color: var(--gray);
}

.news-detail__cat {
  font-size: .55rem;
  letter-spacing: .12em;
  padding: 3px 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: none;
}

/* ---- アイキャッチ画像 ---- */
.news-detail__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
}

.news-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像がない場合のダミー */
.news-detail__thumb--no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-detail__thumb--no-image::after {
  content: 'IMAGE';
  font-family: 'Cinzel', serif;
  font-size: .6rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.1);
}

/* ---- 本文 ---- */
.news-detail__body {
  line-height: 2.4;
  letter-spacing: .06em;
  font-size: var(--fs-md);
}

.news-detail__body p       { margin-bottom: 1.4em; }
.news-detail__body p:last-child { margin-bottom: 0; }

.news-detail__body h2 {
  font-size: var(--fs-lg);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--gold);
  margin: 2em 0 .8em;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
}

.news-detail__body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--off-white);
  margin: 1.6em 0 .6em;
}

.news-detail__body ul {
  list-style: none;
  margin: .8em 0 1.4em 1em;
}

.news-detail__body ul li {
  padding-left: 1em;
  position: relative;
  margin-bottom: .4em;
}

.news-detail__body ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.news-detail__body strong {
  color: var(--off-white);
  font-weight: 400;
}

.news-detail__body a {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,169,110,.3);
  transition: border-color .2s;
}
.news-detail__body a:hover { border-color: var(--gold); }

/* ---- 前後ナビ ---- */
.news-detail__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.news-detail__nav-btn {
  letter-spacing: .15em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
  cursor: pointer;
  background: none;
  border: none;
}

.news-detail__nav-btn:hover { color: var(--gold); }

.news-detail__nav-btn:disabled {
  opacity: .2;
  cursor: not-allowed;
}

/* ---- 一覧へ戻るボタン ---- */
.news-detail__back {
  margin-top: 48px;
  text-align: left;
  font-size: var(--fs-md);
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 768px) {
  .page-hero--news .page-hero__content { padding: 0; }
  #news-list-section   { }
  .news-list__inner    { padding-inline: 5vw; }
  .news-list__link     { grid-template-columns: 100px 1fr; gap: 16px; }
  .news-list__title    { font-size: .82rem; }

  .news-detail__body   { font-size: .84rem; }
  .news-detail__nav    { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 480px) {
  .news-list__link { grid-template-columns: 1fr; gap: 6px; }
}
