/* ============================================================
   news.css — お知らせ一覧ページ
   ============================================================ */

/* ===== PAGE HERO ===== */
.nl-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nl-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.nl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,45,127,0.85) 0%, rgba(15,98,254,0.55) 100%);
}
.nl-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}
.nl-hero__eyebrow {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--rc-primary);
  margin-bottom: 10px;
}
.nl-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* ===== BODY ===== */
.nl-body {
  background: #f5f6f9;
  min-height: 60vh;
  padding: 72px 0 100px;
}
.nl-body__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== LIST ===== */
.nl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(19,45,127,0.12);
}
.nl-item {
  border-bottom: 1px solid rgba(19,45,127,0.12);
}
.nl-item__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}
.nl-item__link:hover {
  background: rgba(19,45,127,0.04);
}
.nl-item__link:hover .nl-item__title {
  color: var(--rc-navy);
}
.nl-item__link:hover .nl-item__arrow {
  transform: translateX(4px);
}
.nl-item__date {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--coolgray-60);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.nl-item__title {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--coolgray-90);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.nl-item__arrow {
  flex-shrink: 0;
  color: var(--rc-navy);
  opacity: 0.4;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.nl-item__link:hover .nl-item__arrow {
  opacity: 1;
}

/* ===== PAGINATION ===== */
.nl-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.nl-pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(19,45,127,0.25);
  border-radius: 2px;
  background: #fff;
  color: var(--rc-navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nl-pagination__btn:hover:not(:disabled) {
  background: var(--rc-navy);
  border-color: var(--rc-navy);
  color: #fff;
}
.nl-pagination__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.nl-pagination__pages {
  display: flex;
  gap: 6px;
}
.nl-pagination__page {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1.5px solid rgba(19,45,127,0.25);
  border-radius: 2px;
  background: #fff;
  color: var(--rc-navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nl-pagination__page:hover {
  background: rgba(19,45,127,0.06);
}
.nl-pagination__page--active {
  background: var(--rc-navy);
  border-color: var(--rc-navy);
  color: #fff;
}

/* ===== SP ===== */
@media (max-width: 767px) {
  .nl-hero { height: 200px; }
  .nl-hero__container { padding: 0 24px; }
  .nl-body { padding: 48px 0 72px; }
  .nl-body__container { padding: 0 20px; }
  .nl-item__link {
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 4px;
  }
  .nl-item__arrow { display: none; }
  .nl-item__title { width: 100%; font-size: 0.875rem; }
}
