/* ============================================================
   news.css — お知らせページ固有スタイル
   ============================================================ */

/* ---------- News List Section ---------- */
.news-section {
  padding: 140px 0 160px;
  background: var(--paper);
  position: relative; overflow: hidden;
}
.news-section .sec-watermark { top: 40px; right: -60px }

.news-list-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

/* ---------- Article List ---------- */
.news-articles {
  margin: 0; padding: 0; list-style: none;
}

.news-entry {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
/* Highlight when navigated via #hash */
.news-entry:target {
  animation: news-target-flash 1.6s ease-out 1;
}
@keyframes news-target-flash {
  0%   { background: rgba(20, 48, 74, .08) }
  100% { background: transparent }
}
.news-entry:last-child {
  border-bottom: 1px solid var(--line);
}

.news-entry-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.news-entry-date {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em;
  color: var(--slate-2);
}
.news-entry-category {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  padding: 4px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.news-entry-category.is-event {
  border-color: var(--ink-mid);
  background: var(--ink);
  color: #fff;
}

.news-entry-title {
  font-size: 20px; font-weight: 600; letter-spacing: .06em;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
}

.news-entry-body {
  font-size: 15px; line-height: 2; letter-spacing: .04em;
  color: var(--slate);
  margin: 0;
  max-width: 780px;
}

/* ---------- Photos (Before / After comparison) ---------- */
.news-photos {
  margin-top: 28px;
  max-width: 780px;
}
.news-photos-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-photos-single .news-photo {
  aspect-ratio: 4 / 3;
  max-width: 640px;
}
/* 単一写真は正方形・縦長も見切れず全体表示 */
.news-photos-single .news-photo img {
  object-fit: contain;
  background: var(--paper-2);
}
.news-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-2);
}
.news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-photo figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-family: var(--en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 2px;
}

/* ---------- End Mark ---------- */
.news-end {
  margin-top: 80px;
  text-align: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  color: var(--slate-2);
}

/* ============================================================
   Responsive — News page
   ============================================================ */
@media (max-width: 1100px) {
  .news-list-header { flex-direction: column; align-items: flex-start; gap: 24px }
}
@media (max-width: 720px) {
  .page-hero { height: 220px }
  .page-hero .container { padding-bottom: 28px }
  .page-hero-title { font-size: clamp(36px, 10vw, 56px) }
  .news-section { padding: 72px 0 96px }
  .news-list-header { margin-bottom: 40px }
  .news-entry { padding: 32px 0 }
  .news-entry-title { font-size: 17px }
  .news-entry-body { font-size: 14px; line-height: 1.9 }
  .news-photos { margin-top: 20px }
  .news-photos-comparison { grid-template-columns: 1fr; gap: 12px }
  .news-photo { aspect-ratio: 4 / 5 }
  .news-photo figcaption { font-size: 12px; padding: 3px 10px }
  .news-end { margin-top: 48px }
}
