/* ===================== トピックス・お知らせ ===================== */
.n-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1d1d1b, #2c3418);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.n-ph b {
  display: block;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #fff;
  margin-top: 2px;
}
.n-lbl {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--muted);
}
.n-lbl.topics {
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent-dk);
}
[data-theme="dark"] .n-lbl.topics {
  color: var(--accent);
}
.n-k {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.n-date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted);
}
/* 一覧 */
.n-list {
  max-width: 1100px;
  padding-top: 28px;
  padding-bottom: 56px;
}
.n-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.n-tabs a {
  flex: none;
  position: relative;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
}
.n-tabs a i {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 12px;
  margin-left: 6px;
  color: var(--muted);
}
.n-tabs a.on {
  color: var(--text);
}
.n-tabs a.on::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}
.n-fcard {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow 0.2s;
}
.n-fcard:hover {
  box-shadow: var(--shadow);
}
.n-fimg {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  aspect-ratio: 16/10;
  background: var(--surface-2);
}
.n-fimg > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.n-fimg > :first-child {
  grid-row: 1/3;
}
.n-ftx {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.n-ftx h2 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-weight: 700;
  word-break: auto-phrase;
}
.n-ftx p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.n-go {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dk);
}
[data-theme="dark"] .n-go {
  color: var(--accent);
}
.n-rows {
  display: flex;
  flex-direction: column;
}
.n-row {
  display: grid;
  grid-template-columns: 200px 1fr 28px;
  gap: 24px;
  align-items: center;
  padding: 20px 8px;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.n-row:first-child {
  border-top: 0;
}
.n-row:hover {
  background: var(--surface);
}
.n-row:hover h3 {
  color: var(--accent-dk);
}
.n-th {
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}
.n-th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.n-rm {
  display: flex;
  align-items: center;
  gap: 10px;
}
.n-row h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 8px;
  transition: color 0.15s;
}
.n-row p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.n-arr {
  color: var(--muted);
}
/* 詳細：固定幅・シンプル */
.n-art {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 72px;
}
.n-crumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.n-crumb a:hover {
  color: var(--text);
}
.n-ahead {
  margin-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.n-ahead h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
  word-break: auto-phrase;
}
.n-lead {
  margin-top: 28px;
}
.n-lead p {
  font-size: 17px;
  line-height: 2.05;
  margin-top: 16px;
}
.n-lead p:first-child {
  margin-top: 0;
}
.n-catch {
  font-size: 24px;
}
.n-gal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.n-gal:empty {
  display: none;
}
.n-gal button {
  display: block;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1;
  cursor: zoom-in;
}
.n-gal button:first-child {
  grid-column: 1/-1;
  aspect-ratio: 16/10;
}
.n-gal.one button {
  aspect-ratio: 16/9;
}
.n-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.n-gal button:hover img {
  transform: scale(1.03);
}
.n-credit {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}
.n-credit dt,
.n-credit dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.n-credit dt {
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
  padding-top: 18px;
}
.n-credit dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-weight: 500;
}
.n-pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
}
.n-pn a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.n-pn a:hover {
  border-color: var(--accent);
}
.n-pn a.n {
  text-align: right;
}
.n-pn small {
  font-size: 12px;
  color: var(--muted);
}
.n-pn b {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.n-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-weight: 700;
  font-size: 14px;
}
.n-back svg {
  width: 16px;
  height: 16px;
}
/* 画像ビューア */
.lbx {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
}
.lbx[hidden] {
  display: none;
}
.lbx img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
}
.lb-x {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 36px;
  color: #fff;
  width: 48px;
  height: 48px;
}
.lb-a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
}
.lb-a.l {
  left: 16px;
}
.lb-a.r {
  right: 16px;
}
.lb-a[hidden] {
  display: none;
}
.lb-n {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 760px) {
  .n-list {
    padding-top: 12px;
  }
  .n-tabs {
    margin-bottom: 20px;
  }
  .n-tabs a {
    padding: 12px 14px;
    font-size: 14px;
  }
  .n-fcard {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .n-ftx {
    padding: 20px;
  }
  .n-row {
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 16px 0;
  }
  .n-row:hover {
    background: none;
  }
  .n-arr {
    display: none;
  }
  .n-row h3 {
    font-size: 15px;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .n-row p {
    display: none;
  }
  .n-art {
    padding-top: 18px;
  }
  .n-lead p {
    font-size: 16px;
  }
  .n-gal {
    gap: 8px;
    margin-top: 28px;
  }
  .n-credit {
    grid-template-columns: 96px 1fr;
  }
  .n-pn {
    grid-template-columns: 1fr;
  }
  .n-pn a.n {
    text-align: left;
  }
  .lb-a {
    display: none;
  }
}
