/* ============================================================
   news.css — News List & Detail Pages
   ============================================================ */

/* ── Title Section ── */
.nw-title,
.nd-hero-title {
  padding: 180px 0 80px;
  background: #FDFDFF;
  text-align: center;
}
.nw-title__en,
.nd-hero-title__en {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 60px);
  letter-spacing: -0.033em;
  color: #161C2D;
  line-height: 1.08;
}
.nw-title__ja,
.nd-hero-title__ja {
  margin-top: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.68;
  color: #161C2D;
  opacity: 0.7;
}

/* ── Content Section ── */
.nw-content {
  background: #FDFDFF;
  padding: 64px 0 140px;
  position: relative;
  overflow: hidden;
}
.nw-content::before,
.nw-content::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.nw-content::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(146,38,143,0.06) 0%, transparent 70%);
  top: -100px; right: -150px;
}
.nw-content::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(146,38,143,0.04) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
.nw-content__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

/* ── Tab Selector ── */
.nw-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(149, 149, 149, 0.24);
  border-radius: 9999px;
  gap: 4px;
}
.nw-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  height: 50px;
  border: none;
  background: transparent;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #595959;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nw-tab:hover:not(.nw-tab--active) {
  background: rgba(146, 38, 143, 0.06);
  color: #92268F;
}
.nw-tab--active {
  background: #92268F;
  color: #FFFFFF;
}
.nw-tab__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  flex-shrink: 0;
  display: none;
}
.nw-tab--active .nw-tab__dot {
  display: block;
}

/* ── News List ── */
.nw-list {
  list-style: none;
  width: 100%;
}
.nw-item {
  border-bottom: 1px solid #D1CFCD;
}
.nw-item:first-child {
  border-top: 1px solid #D1CFCD;
}
.nw-item__link {
  display: flex;
  align-items: center;
  padding: 28px 0 44px;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}
.nw-item__link:hover { opacity: 0.72; }

.nw-item__meta {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 48px;
}
.nw-item__time {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #555555;
}
.nw-item__badge {
  display: inline-block;
  padding: 2px 12px 3px;
  background: #92268F;
  border-radius: 25px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nw-item__body {
  flex: 1;
}
.nw-item__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
}
.nw-item__thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  overflow: hidden;
  background: #F9F9F9;
  margin-left: 32px;
}
.nw-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nw-item__arrow {
  flex: 0 0 auto;
  margin-left: 24px;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}
.nw-item__link:hover .nw-item__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ── Empty State ── */
.nw-empty {
  padding: 80px 0;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #999;
}

/* ============================================================
   News Detail
   ============================================================ */

.nd-article {
  background: #FDFDFF;
  padding: 64px 0 120px;
}
.nd-article__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}
.nd-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.nd-time {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #555555;
}
.nd-badge {
  display: inline-block;
  padding: 2px 12px 3px;
  background: #92268F;
  border-radius: 25px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}
.nd-article__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
  color: #161C2D;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #D1CFCD;
}
.nd-article__img-wrap {
  margin-bottom: 52px;
  overflow: hidden;
}
.nd-article__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 260px;
}
.nd-article__body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: #333333;
}
.nd-article__body p {
  margin-bottom: 24px;
}
.nd-article__body h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #92268F;
  color: #161C2D;
}

/* ── Detail Navigation ── */
.nd-nav {
  background: #FDFDFF;
  padding-bottom: 100px;
  border-top: 1px solid #D1CFCD;
}
.nd-nav__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nd-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #555555;
  text-decoration: none;
  transition: color 0.2s;
}
.nd-nav__back:hover { color: #92268F; }
.nd-nav__prevnext {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nd-nav__prev,
.nd-nav__next {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #555555;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nd-nav__prev:hover,
.nd-nav__next:hover { color: #92268F; }
.nd-nav__prev.is-disabled,
.nd-nav__next.is-disabled {
  color: #BDBDBD;
  cursor: not-allowed;
  pointer-events: none;
}
.nd-nav__prev.is-disabled:hover,
.nd-nav__next.is-disabled:hover { color: #BDBDBD; }
.nd-nav__sep {
  width: 1px;
  height: 16px;
  background: #D1CFCD;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nw-content__inner { padding: 0 40px; }
}
@media (max-width: 992px) {
  .nw-tabs { border-radius: 16px; justify-content: center; }
  .nw-item__meta { flex: 0 0 220px; }
}
@media (max-width: 768px) {
  .nw-title, .nd-hero-title { padding: 120px 0 48px; }
  .nw-content { padding: 40px 0 80px; }
  .nw-content__inner { padding: 0 20px; gap: 32px; }
  .nw-tabs { padding: 8px; border-radius: 12px; gap: 4px; }
  .nw-tab { padding: 8px 16px; height: 40px; font-size: 12px; }
  .nw-item__link { flex-wrap: wrap; padding: 20px 0 28px; gap: 8px; }
  .nw-item__meta { flex: 0 0 100%; flex-direction: row; align-items: center; gap: 12px; padding-right: 0; }
  .nw-item__body { flex: 1; min-width: 0; }
  .nw-item__arrow { margin-left: auto; }
  .nd-article { padding: 40px 0 80px; }
  .nd-article__inner { padding: 0 20px; }
  .nd-nav__inner { padding: 32px 20px 0; flex-direction: column; gap: 24px; align-items: flex-start; }
  .nd-nav__prevnext { gap: 20px; }
}
