/* ============================================================
   NEWS SINGLE PAGE
   single-news.php 専用スタイル
============================================================ */

/* ---- Base ---- */
.page-news-single-body,
html:has(.page-news-single-body) {
  background-color: #070b16;
}

.page-news-single {
  background:
    radial-gradient(ellipse 70% 35% at 50% 0%, rgba(60,52,137,.45), transparent 55%),
    linear-gradient(180deg, #070b16 0%, #0d1530 60%, #0a0e1a 100%);
  min-height: 100vh;
  color: #fff;
}

/* ---- main opacity リセット ---- */
.page-news-single-body .main {
  opacity: 1 !important;
}

/* ============================================================
   HEADER 白色上書き
============================================================ */
.page-news-single-body .header {
  background-image: linear-gradient(0deg, rgba(0,0,0,0), rgba(0,0,0,0.3));
}
.page-news-single-body .header_navLink {
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.page-news-single-body .header_logoimg {
  filter: brightness(0) invert(1);
}
.page-news-single-body .header_logoPath {
  fill: #fff;
}
.page-news-single-body .header_btnLineItem {
  background: #fff;
}
.page-news-single-body .header_btnTxt {
  color: #fff;
}

/* ============================================================
   HERO
============================================================ */
.news-hero {
  padding: 20vh 0 6vh;
  position: relative;
  z-index: 2;
}

.news-hero__inner {
  position: relative;
}

.news-hero__kicker {
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  color: rgba(180,170,255,.7);
  margin-bottom: 20px;
}

.news-hero__title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  font-family: 'FontopoNIHONGO', sans-serif;
}

.news-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.news-hero__date {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
}

.news-hero__cat {
  font-size: 12px;
  font-weight: 700;
  color: rgba(180,170,255,.85);
  background: rgba(180,170,255,.12);
  border: 1px solid rgba(180,170,255,.25);
  border-radius: 4px;
  padding: 3px 12px;
  letter-spacing: .08em;
}

/* ============================================================
   ARTICLE BODY
============================================================ */
.news-body {
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
}

.news-content {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 56px 64px;
  backdrop-filter: blur(8px);
  line-height: 2;
}

/* ---- 本文タイポグラフィ ---- */
.news-content p {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,.82);
  font-family: 'FontopoNIHONGO', sans-serif;
  margin-bottom: 1.6em;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 2em 0 .8em;
  padding-left: 16px;
  border-left: 3px solid rgba(180,170,255,.7);
  font-family: 'FontopoNIHONGO', sans-serif;
  line-height: 1.5;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin: 1.8em 0 .6em;
  font-family: 'FontopoNIHONGO', sans-serif;
  line-height: 1.5;
}

.news-content ul,
.news-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.6em;
  color: rgba(255,255,255,.8);
  font-family: 'FontopoNIHONGO', sans-serif;
}

.news-content ul { list-style: disc; }
.news-content ol { list-style: decimal; }

.news-content li {
  font-size: 16px;
  line-height: 2;
  margin-bottom: .4em;
}

.news-content a {
  color: rgba(130,180,255,.9);
  text-decoration: underline;
  transition: opacity .2s;
}
.news-content a:hover { opacity: .7; }

.news-content strong {
  font-weight: 700;
  color: #fff;
}

.news-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.6em 0;
  display: block;
}

.news-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid rgba(180,170,255,.5);
  border-radius: 0 10px 10px 0;
  color: rgba(255,255,255,.6);
  font-style: italic;
}

.news-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 2.4em 0;
}

/* ============================================================
   PAGINATION
============================================================ */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.news-pagination__item {
  flex: 1;
  min-width: 0;
}

.news-pagination__item a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  transition: background .25s, border-color .25s;
  color: #fff;
}

.news-pagination__item a:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}

.news-pagination__item--next a {
  align-items: flex-end;
  text-align: right;
}

.news-pagination__arrow {
  font-size: 18px;
  color: rgba(180,170,255,.7);
}

.news-pagination__label {
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  font-weight: 700;
}

.news-pagination__ttl {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  font-family: 'FontopoNIHONGO', sans-serif;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-pagination__archive {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9999px;
  transition: all .2s;
  white-space: nowrap;
}

.news-pagination__archive:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* ============================================================
   RESPONSIVE ≤ 768px
============================================================ */
@media (max-width: 768px) {
  .news-hero {
    padding: 16vh 0 4vh;
  }

  .news-hero__title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .news-content {
    padding: 32px 24px;
  }

  .news-content h2 {
    font-size: 18px;
  }

  .news-content h3 {
    font-size: 16px;
  }

  .news-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .news-pagination__archive {
    text-align: center;
    order: -1;
  }

  .news-pagination__item--next a {
    align-items: flex-start;
    text-align: left;
  }
}
