:root {
  color-scheme: light;
  --brand-nogi: #812990;
  --brand-sakura: #f19db5;
  --brand-hinata: #7cc7e8;
  --bg: #fbfafc;
  --surface: #ffffff;
  --surface-soft: #f8f6fa;
  --text: #242028;
  --muted: #6e6672;
  --line: #ece6ee;
  --line-strong: #ded4e3;
  --shadow: 0 14px 34px rgba(64, 43, 71, 0.08);
  --shadow-hover: 0 18px 42px rgba(64, 43, 71, 0.13);
  --tri-ratio: 0.866025;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(129, 41, 144, 0.045), transparent 28%),
    linear-gradient(240deg, rgba(124, 199, 232, 0.075), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 360px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  opacity: 0.13;
  pointer-events: none;
}

body::before {
  top: 170px;
  left: -130px;
  background: linear-gradient(135deg, var(--brand-nogi), var(--brand-sakura));
  transform: rotate(18deg);
}

body::after {
  right: -150px;
  bottom: 120px;
  background: linear-gradient(135deg, var(--brand-sakura), var(--brand-hinata));
  transform: rotate(-22deg);
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata)) border-box;
  border-bottom: 4px solid transparent;
  box-shadow: 0 8px 28px rgba(78, 48, 82, 0.06);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
  opacity: 0.75;
}

.header-inner,
main,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  position: relative;
  z-index: 1;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0;
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand {
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.brand::after {
  content: "";
  display: block;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 0 14px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(70, 42, 76, 0.06);
}

.nav-chip::before {
  content: "";
  width: 11px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  margin-right: 7px;
}

.nav-chip.nogizaka::before {
  background: var(--brand-nogi);
}

.nav-chip.sakurazaka::before {
  background: var(--brand-sakura);
}

.nav-chip.hinatazaka::before {
  background: var(--brand-hinata);
}

.nav-chip.home::before,
.nav-chip.archive::before {
  background: linear-gradient(135deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
}

.tri {
  position: absolute;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  pointer-events: none;
}

.tri-header-one {
  width: 98px;
  right: 9%;
  top: 12px;
  background: rgba(124, 199, 232, 0.22);
  transform: rotate(28deg);
}

.tri-header-two {
  width: 62px;
  right: 28%;
  bottom: 16px;
  background: rgba(241, 157, 181, 0.24);
  transform: rotate(-12deg);
}

main {
  padding: 26px 0 44px;
}

.ad-slot {
  min-height: 92px;
  border: 1px solid rgba(129, 41, 144, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(129, 41, 144, 0.04), rgba(241, 157, 181, 0.045), rgba(124, 199, 232, 0.05)),
    rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  color: #8a808d;
  font-size: 0.86rem;
  font-weight: 650;
  margin: 0 0 24px;
  position: relative;
  overflow: hidden;
}

.ad-slot::before,
.ad-slot::after {
  content: "";
  position: absolute;
  width: 36px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  opacity: 0.22;
}

.ad-slot::before {
  left: 18px;
  top: 18px;
  background: var(--brand-sakura);
  transform: rotate(-18deg);
}

.ad-slot::after {
  right: 18px;
  bottom: 16px;
  background: var(--brand-hinata);
  transform: rotate(18deg);
}

.controls {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.controls::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.section-heading h1 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 800;
}

.page-intro {
  margin: -4px 0 15px;
  color: var(--muted);
  font-size: 0.94rem;
}

.heading-mark {
  width: 18px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background: linear-gradient(135deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
  transform: rotate(30deg);
}

.control-row {
  margin-bottom: 14px;
}

.search-box {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-box input:focus {
  border-color: rgba(129, 41, 144, 0.45);
  box-shadow:
    0 0 0 3px rgba(129, 41, 144, 0.09),
    0 0 0 6px rgba(124, 199, 232, 0.08);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.member-directory {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(129, 41, 144, 0.035), rgba(241, 157, 181, 0.04), rgba(124, 199, 232, 0.045));
}

.member-group {
  display: grid;
  gap: 8px;
}

.member-group h2 {
  margin: 0;
  font-size: 0.95rem;
}

.member-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.member-pill.is-active {
  color: #fff;
  background: #4d3a58;
  border-color: #4d3a58;
}

.member-group.group-nogizaka46 h2 {
  color: var(--brand-nogi);
}

.member-group.group-sakurazaka46 h2 {
  color: #8f3152;
}

.member-group.group-hinatazaka46 h2 {
  color: #236a87;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(64, 43, 71, 0.08);
}

.filter-button[data-filter-id="乃木坂46"] {
  border-color: rgba(129, 41, 144, 0.45);
}

.filter-button[data-filter-id="櫻坂46"] {
  border-color: rgba(241, 157, 181, 0.7);
}

.filter-button[data-filter-id="日向坂46"] {
  border-color: rgba(124, 199, 232, 0.8);
}

.filter-button[aria-pressed="true"] {
  background: linear-gradient(90deg, rgba(129, 41, 144, 0.12), rgba(241, 157, 181, 0.12), rgba(124, 199, 232, 0.12));
  border-color: var(--line-strong);
}

.filter-button[data-filter-id="乃木坂46"][aria-pressed="true"] {
  background: var(--brand-nogi);
  border-color: var(--brand-nogi);
  color: #fff;
}

.filter-button[data-filter-id="櫻坂46"][aria-pressed="true"] {
  background: var(--brand-sakura);
  border-color: var(--brand-sakura);
  color: #33202a;
}

.filter-button[data-filter-id="日向坂46"][aria-pressed="true"] {
  background: var(--brand-hinata);
  border-color: var(--brand-hinata);
  color: #102936;
}

.summary-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 2px 13px;
}

.summary-bar p {
  margin: 0;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-list > .ad-slot {
  grid-column: 1 / -1;
  min-height: 86px;
  margin: 2px 0;
}

.article-card {
  min-height: 292px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(129, 41, 144, 0.16), rgba(241, 157, 181, 0.13), rgba(124, 199, 232, 0.16)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card::before {
  content: "";
  position: absolute;
  width: 34px;
  right: 14px;
  top: 14px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background: linear-gradient(135deg, rgba(129, 41, 144, 0.13), rgba(124, 199, 232, 0.16));
  transform: rotate(22deg);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.article-card h2 {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  padding-right: 22px;
  letter-spacing: 0;
}

.article-card h2 a {
  text-decoration: none;
  text-underline-offset: 3px;
}

.article-card h2 a:hover {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.source {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.badge {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 3px 9px;
  background: #f4f0f5;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
}

.badge.group-nogizaka46 {
  background: rgba(129, 41, 144, 0.11);
  border-color: rgba(129, 41, 144, 0.28);
  color: var(--brand-nogi);
}

.badge.group-sakurazaka46 {
  background: rgba(241, 157, 181, 0.2);
  border-color: rgba(241, 157, 181, 0.55);
  color: #8f3152;
}

.badge.group-hinatazaka46 {
  background: rgba(124, 199, 232, 0.22);
  border-color: rgba(124, 199, 232, 0.55);
  color: #236a87;
}

.badge.status-og {
  background: #fbf4e8;
  border-color: #eadcc3;
  color: #775b2e;
}

.badge.status-active {
  background: #f0f7f4;
  border-color: #d4e9df;
  color: #33624b;
}

.read-link {
  width: fit-content;
  color: #4d3a58;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(241, 157, 181, 0.85);
}

.read-link:hover {
  border-bottom-color: var(--brand-hinata);
}

.link-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  min-height: 220px;
}

.official-links {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.official-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  padding: 0 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.official-links a::after {
  content: "";
  width: 10px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background: linear-gradient(135deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
  transform: rotate(90deg);
}

.official-links a:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(64, 43, 71, 0.08);
}

.site-footer {
  position: relative;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  font-size: 0.88rem;
}

.site-footer::before {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--brand-nogi), var(--brand-sakura), var(--brand-hinata));
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20px;
  width: 42px;
  aspect-ratio: 1 / var(--tri-ratio);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  background: rgba(124, 199, 232, 0.24);
  transform: rotate(28deg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid rgba(241, 157, 181, 0.65);
}

.footer-links a:hover {
  border-bottom-color: var(--brand-hinata);
}

.static-page {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(129, 41, 144, 0.16), rgba(241, 157, 181, 0.13), rgba(124, 199, 232, 0.16)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
  margin-bottom: 26px;
}

.static-page h2 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.static-page p {
  margin: 0 0 12px;
  color: var(--muted);
}

.static-page a {
  color: var(--brand-nogi);
  font-weight: 750;
}

.static-list {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--muted);
}

.static-date {
  margin-top: 26px;
  font-size: 0.9rem;
}

.notice-box {
  border: 1px solid rgba(124, 199, 232, 0.5);
  border-radius: 8px;
  background: rgba(124, 199, 232, 0.1);
  padding: 14px;
  margin: 16px 0;
}

.notice-box p {
  margin: 0;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(129, 41, 144, 0.11), rgba(241, 157, 181, 0.14), rgba(124, 199, 232, 0.16));
  border: 1px solid var(--line-strong);
  color: var(--text) !important;
  padding: 0 16px;
  text-decoration: none;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.info-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.info-list dt {
  color: var(--text);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  color: var(--muted);
  text-align: center;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }

  .category-nav {
    justify-content: flex-start;
  }

  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-bar {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .header-inner,
  main,
  .site-footer {
    width: min(100% - 22px, 1120px);
  }

  .header-inner {
    min-height: 132px;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .category-nav {
    width: 100%;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-chip {
    justify-content: center;
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .nav-chip::before {
    display: none;
  }

  .controls {
    padding: 16px;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .link-list {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 0;
  }

  .article-meta {
    flex-direction: column;
    gap: 2px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body::before,
  body::after {
    width: 240px;
  }
}
