:root {
  color-scheme: light;
  --bg: #f3f7fc;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(132, 165, 204, 0.24);
  --line-strong: rgba(71, 114, 168, 0.24);
  --text: #17324f;
  --muted: #60748d;
  --accent: #5a9cea;
  --accent-strong: #2d63b9;
  --accent-soft: rgba(90, 156, 234, 0.12);
  --warm: #f3a53b;
  --shadow: 0 22px 60px rgba(31, 67, 118, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(161, 213, 255, 0.52), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 215, 153, 0.34), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #eef5fc 52%, #f7fafc 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.news-page {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 44px 0 72px;
}

.news-hero,
.news-archive,
.news-pagination {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  padding: 32px;
}

.news-hero::before,
.news-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 22% 22%, rgba(113, 177, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.news-hero__copy,
.news-archive__head,
.news-listing,
.news-pagination__items {
  position: relative;
  z-index: 1;
}

.news-hero__eyebrow,
.news-pagination__label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-hero h1,
.news-archive h2 {
  margin: 10px 0 0;
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.news-hero__lead {
  margin: 14px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.82;
}

.news-hero__panel {
  position: relative;
  min-height: 208px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 245, 255, 0.94));
  border: 1px solid rgba(112, 160, 220, 0.18);
  box-shadow: 0 20px 44px rgba(96, 132, 182, 0.12);
}

.news-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.14));
  pointer-events: none;
  z-index: 1;
}

.news-hero__panel--image {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.news-hero__image {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.news-local-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(128, 170, 220, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: #365677;
  font-size: 0.92rem;
  font-weight: 700;
}

.news-local-nav a:hover,
.news-year-nav a:hover,
.news-row__title a:hover,
.news-pagination__items a:hover {
  color: var(--accent-strong);
}

.news-archive {
  margin-top: 22px;
  padding: 34px;
}

.news-year-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  padding-bottom: 4px;
}

.news-year-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(77, 126, 187, 0.12);
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.88);
  color: #64809f;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.news-year-nav a.is-current {
  border-color: rgba(77, 126, 187, 0.2);
  background: #fff;
  color: #284f84;
  box-shadow: 0 10px 22px rgba(45, 99, 185, 0.08);
}

.news-listing {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  position: relative;
  padding-left: 32px;
}

.news-listing::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(117, 169, 228, 0.3), rgba(117, 169, 228, 0.08));
}

.news-year {
  position: relative;
  padding: 0;
}

.news-year::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a9cea, #f3a53b);
  box-shadow: 0 0 0 6px rgba(90, 156, 234, 0.12);
}

.news-year__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(129, 166, 208, 0.2);
}

.news-year h3 {
  margin: 0;
  font-size: clamp(1.16rem, 1.45vw, 1.34rem);
  letter-spacing: -0.03em;
}

.news-rows {
  position: relative;
  display: grid;
  border-top: 1px solid rgba(129, 166, 208, 0.2);
}

.news-row {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 12px 4px 12px 18px;
  border-bottom: 1px solid rgba(129, 166, 208, 0.2);
  transition: background-color 180ms ease, transform 180ms ease;
}

.news-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #9bb8d9;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.96);
}

.news-row--featured {
  background: linear-gradient(90deg, rgba(248, 250, 253, 0.95), rgba(255, 255, 255, 0.9));
}

.news-row--featured::before {
  background: #5a9cea;
}

.news-row:hover,
.news-row:focus-within {
  transform: translateX(4px);
  background: rgba(247, 250, 254, 0.96);
}

.news-row__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d90c7, #6d86c5);
  box-shadow: 0 10px 22px rgba(96, 119, 182, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.news-row__title {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
}

.news-row__title a {
  color: #26384d;
  transition: color 180ms ease;
}

.news-row__title-text {
  color: #26384d;
}

.news-row:hover .news-row__title a,
.news-row:focus-within .news-row__title a {
  color: #1f5ea9;
}

.news-pagination {
  margin-top: 24px;
  padding: 22px 24px;
}

.news-pagination__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.news-pagination__items a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(77, 126, 187, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: #4b6788;
  font-weight: 700;
}

.news-pagination__items a.is-current {
  background: linear-gradient(135deg, rgba(96, 157, 235, 0.18), rgba(255, 184, 82, 0.12));
  color: #234d88;
}

@media (max-width: 960px) {
  .news-page {
    width: min(100vw - 28px, 1180px);
    padding-top: 28px;
  }

  .news-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .news-archive {
    padding-left: 22px;
    padding-right: 22px;
  }

  .news-row {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .news-hero,
  .news-archive,
  .news-pagination {
    border-radius: 24px;
  }

  .news-hero h1,
  .news-archive h2 {
    font-size: 1.72rem;
  }

  .news-hero__panel {
    min-height: 176px;
  }

  .news-year__header {
    display: block;
  }

  .news-listing {
    padding-left: 24px;
  }

  .news-listing::before {
    left: 10px;
  }

  .news-year::before {
    left: -18px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 5px rgba(90, 156, 234, 0.12);
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 16px 0 16px 14px;
  }

  .news-row::before {
    left: -14px;
  }

  .news-row__date {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .news-row__title {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .news-row,
  .news-row__title a,
  .news-year-nav a {
    transition: none;
  }
}
