/* ============================================================
   NEWS ARCHIVE PAGE
   archive-news.php 専用スタイル
============================================================ */

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

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

.page-news-archive-body .main {
  opacity: 1 !important;
}

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

/* ============================================================
   HERO
============================================================ */
.news-archive-hero {
  position: relative;
  padding: 22vh 0 10vh;
  overflow: hidden;
  text-align: center;
}

.news-archive-hero__inner {
  position: relative;
  z-index: 2;
}

.news-archive-hero__kicker {
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  opacity: .6;
}

.news-archive-hero__title {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  margin-top: 8px;
  background: linear-gradient(135deg, #fff 30%, rgba(180,170,255,.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .04em;
}

.news-archive-hero__sub {
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
  opacity: .75;
  font-family: 'FontopoNIHONGO', sans-serif;
}

/* 装飾軌道リング */
.news-archive-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.news-archive-hero__decoOrbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  animation: newsArchiveOrbit 30s linear infinite;
}
.news-archive-hero__decoOrbit--1 { width: 480px; height: 480px; animation-duration: 25s; }
.news-archive-hero__decoOrbit--2 { width: 720px; height: 360px; border-color: rgba(100,120,255,.08); animation-duration: 40s; animation-direction: reverse; }
.news-archive-hero__decoOrbit--3 { width: 960px; height: 300px; border-color: rgba(255,120,180,.06); animation-duration: 55s; }

@keyframes newsArchiveOrbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ============================================================
   記事リスト
============================================================ */
.news-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-archive-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.news-archive-item__link {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 32px;
  padding: 32px 8px;
  color: #fff;
  transition: background .25s;
  border-radius: 12px;
}

.news-archive-item__link:hover {
  background: rgba(255,255,255,.04);
  padding-left: 20px;
}

.news-archive-item__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-row: 1 / 3;
}

.news-archive-item__date {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  white-space: nowrap;
}

.news-archive-item__cat {
  font-size: 11px;
  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 10px;
  letter-spacing: .08em;
  width: fit-content;
}

.news-archive-item__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  font-family: 'FontopoNIHONGO', sans-serif;
  transition: color .2s;
}

.news-archive-item__link:hover .news-archive-item__title {
  color: rgba(180,170,255,.9);
}

.news-archive-item__excerpt {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  font-family: 'FontopoNIHONGO', sans-serif;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-archive-item__arrow {
  font-size: 18px;
  color: rgba(255,255,255,.25);
  grid-row: 1 / 3;
  transition: color .2s, transform .2s;
}

.news-archive-item__link:hover .news-archive-item__arrow {
  color: rgba(180,170,255,.7);
  transform: translateX(4px);
}

/* ============================================================
   ページネーション
============================================================ */
.news-archive-pagination {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.news-archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-archive-pagination .page-numbers li a,
.news-archive-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.12);
  transition: all .2s;
}

.news-archive-pagination .page-numbers li a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.news-archive-pagination .page-numbers li .current {
  background: linear-gradient(135deg, #5c6ee8, #9b5de5);
  color: #fff;
  border-color: transparent;
}

.news-archive-pagination .page-numbers li .prev,
.news-archive-pagination .page-numbers li .next {
  width: auto;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 13px;
  letter-spacing: .06em;
}

/* ============================================================
   空状態
============================================================ */
.news-archive-empty {
  text-align: center;
  padding: 80px 0;
  color: rgba(255,255,255,.4);
  font-family: 'FontopoNIHONGO', sans-serif;
  font-size: 16px;
}

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

  .news-archive-hero__title {
    font-size: clamp(72px, 18vw, 100px);
  }

  .news-archive-body {
    padding-bottom: 80px;
  }

  .news-archive-item__link {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: 8px 16px;
    padding: 24px 4px;
  }

  .news-archive-item__meta {
    grid-row: 1;
    grid-column: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .news-archive-item__title {
    grid-row: 2;
    grid-column: 1;
    font-size: 15px;
  }

  .news-archive-item__excerpt {
    grid-row: 3;
    grid-column: 1;
  }

  .news-archive-item__arrow {
    grid-row: 1 / 4;
    grid-column: 2;
  }

  .news-archive-hero__decoOrbit--2,
  .news-archive-hero__decoOrbit--3 {
    display: none;
  }
}
