:root {
  --bg: #06110d;
  --bg-soft: #0b1813;
  --panel: rgba(8, 20, 15, 0.88);
  --panel-strong: rgba(10, 24, 18, 0.96);
  --text: #ebfff4;
  --muted: #a9d3bb;
  --line: rgba(120, 255, 180, 0.18);
  --line-strong: rgba(120, 255, 180, 0.3);
  --accent: #79ffb0;
  --accent-strong: #42e38d;
  --sub: #8cf7ff;
  --gold: #e5ffd0;
  --profile: #16c45b;
  --paper: #edf4e8;
  --paper-ink: #102119;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  --glow: 0 0 0 1px rgba(121, 255, 176, 0.08), 0 0 18px rgba(121, 255, 176, 0.12);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(121, 255, 176, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(140, 247, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #07100d 0%, #091611 48%, #050d09 100%);
  font-family:
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.012) 0px,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 2px,
      transparent 4px
    );
  opacity: 0.32;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(121, 255, 176, 0.02), rgba(121, 255, 176, 0.01)),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.26) 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(5, 13, 10, 0.82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #03200e;
  background:
    linear-gradient(135deg, var(--accent), var(--sub));
  box-shadow:
    0 10px 26px rgba(66, 227, 141, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.logo-text {
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(121, 255, 176, 0.18);
}

.global-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-nav a {
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
  border: 1px solid transparent;
}

.global-nav a:hover,
.global-nav a:focus {
  color: var(--text);
  background: rgba(121, 255, 176, 0.08);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: rgba(121, 255, 176, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--glow);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(121, 255, 176, 0.04), transparent 40%, rgba(140, 247, 255, 0.04)),
    repeating-linear-gradient(
      to right,
      rgba(121, 255, 176, 0.03) 0,
      rgba(121, 255, 176, 0.03) 1px,
      transparent 1px,
      transparent 80px
    );
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(121, 255, 176, 0.12), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(140, 247, 255, 0.1), transparent 24%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(121, 255, 176, 0.05);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  text-shadow:
    0 0 18px rgba(121, 255, 176, 0.08),
    0 2px 0 rgba(0, 0, 0, 0.3);
}

.hero-short-name {
  margin: 14px 0 8px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-tagline {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #062111;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 28px rgba(66, 227, 141, 0.24);
}

.button.note {
  color: #ffffff;
  border: none;
  background:rgba(21, 75, 56, 1.0);
  box-shadow: 0 12px 28px rgba(66, 227, 141, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow: var(--glow);
}

.hero-card,
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 24, 19, 0.95), rgba(8, 18, 14, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}

.hero-card::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    repeating-linear-gradient(
      to bottom,
      rgba(121, 255, 176, 0.02) 0px,
      rgba(121, 255, 176, 0.02) 1px,
      transparent 2px,
      transparent 4px
    );
  opacity: 0.7;
}

.hero-card {
  min-height: 420px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.9);
}

.section {
  position: relative;
  padding: 80px 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  letter-spacing: 0.03em;
}

.section-heading.left {
  text-align: left;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.about-main,
.info-card,
.join-box,
.contents-toolbar,
.member-card,
.content-card,
.timeline-content,
.stat-card {
  position: relative;
  z-index: 1;
}

.about-main,
.info-card,
.join-box,
.contents-toolbar {
  padding: 26px;
}

/* 新聞っぽい記事エリア */
.about-main,
.content-card.article-style,
.timeline-content.article-style {
  background:
    linear-gradient(180deg, rgba(238, 245, 233, 0.98), rgba(227, 236, 221, 0.96));
  color: var(--paper-ink);
  border-color: rgba(16, 33, 25, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.about-main::before,
.content-card.article-style::before,
.timeline-content.article-style::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 24%),
    repeating-linear-gradient(
      to bottom,
      rgba(16, 33, 25, 0.03) 0px,
      rgba(16, 33, 25, 0.03) 1px,
      transparent 2px,
      transparent 5px
    );
  opacity: 0.6;
}

.about-main .lead,
.content-card.article-style .content-description,
.timeline-content.article-style p,
.about-main p {
  color: #21342b;
}

.about-main h2,
.about-main h3,
.content-card.article-style h3,
.timeline-content.article-style h3 {
  color: #0d2218;
  letter-spacing: 0.04em;
}

.about-main .section-label,
.content-card.article-style .content-category,
.timeline-content.article-style .timeline-category {
  color: #234534;
  background: rgba(35, 69, 52, 0.06);
  border-color: rgba(35, 69, 52, 0.14);
}

.lead {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
}

/* モニター風の情報カード */
.info-card,
.contents-toolbar,
.join-box,
.member-card,
.content-card,
.timeline-content,
.stat-card {
  background:
    linear-gradient(180deg, rgba(9, 22, 16, 0.92), rgba(6, 17, 13, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--glow);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

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

.info-list div {
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(121, 255, 176, 0.04);
  box-shadow: inset 0 0 0 1px rgba(121, 255, 176, 0.03);
}

.info-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.stats-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-number {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(121, 255, 176, 0.2);
}

.stat-label {
  margin: 0 0 6px;
  font-weight: 800;
}

.stat-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.member-grid,
.contents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.member-card,
.content-card {
  padding: 22px;
}

.member-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.member-avatar {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(22, 196, 91, 0.3), rgba(66, 227, 141, 0.16));
  border: 1px solid rgba(22, 196, 91, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(22, 196, 91, 0.18);
  font-size: 1.4rem;
  font-weight: 900;
  color: #eafff2;
}

/* プロファイルは緑色 */
.member-role {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #03210d;
  background: linear-gradient(135deg, #7affb3, var(--profile));
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(22, 196, 91, 0.2);
}

.member-grade,
.member-profile,
.content-description,
.timeline-content p,
.join-text {
  color: var(--muted);
}

.member-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.member-grade {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.member-catch {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
}

.member-profile {
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.tag-list li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(121, 255, 176, 0.08);
  border: 1px solid rgba(121, 255, 176, 0.22);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(121, 255, 176, 0.03);
}

.timeline {
  position: relative;
  margin-top: 18px;
  display: grid;
  gap: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 112px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(121, 255, 176, 0.45),
    rgba(140, 247, 255, 0.35)
  );
  box-shadow: 0 0 14px rgba(121, 255, 176, 0.16);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
}

.timeline-date {
  position: relative;
  padding-top: 14px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: right;
}

.timeline-date::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 6px rgba(121, 255, 176, 0.08),
    0 0 14px rgba(121, 255, 176, 0.25);
}

.timeline-content {
  padding: 22px;
}

.timeline-content h3 {
  margin: 0 0 8px;
}

.timeline-category,
.content-category {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--sub);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.contents-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.search-label {
  font-weight: 800;
  color: var(--accent);
}

.search-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  background: rgba(121, 255, 176, 0.05);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(121, 255, 176, 0.02);
}

.search-input::placeholder {
  color: #82b89a;
}

.search-input:focus {
  border-color: rgba(121, 255, 176, 0.48);
  box-shadow:
    0 0 0 4px rgba(121, 255, 176, 0.12),
    0 0 18px rgba(121, 255, 176, 0.08);
}

.no-results {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
}

.join-section {
  padding-top: 30px;
  padding-bottom: 90px;
}

.join-box {
  padding: 30px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 9, 0.86);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
}

.footer-title {
  margin: 0 0 4px;
  font-weight: 900;
  color: var(--accent);
}

.footer-subtitle,
.copyright {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 新聞風の本文レイアウトに使える補助クラス */
.article-style .article-headline {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.article-style .article-meta {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 33, 25, 0.16);
  color: #4a6357;
  font-size: 0.88rem;
  font-weight: 700;
}

.article-style .article-body {
  column-count: 2;
  column-gap: 28px;
}

.article-style .article-body p {
  margin-top: 0;
  break-inside: avoid;
}

/* モニター風の枠に使える補助クラス */
.monitor-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 18, 14, 0.95), rgba(4, 12, 9, 0.96));
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
}

.monitor-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    repeating-linear-gradient(
      to bottom,
      rgba(121, 255, 176, 0.02) 0px,
      rgba(121, 255, 176, 0.02) 1px,
      transparent 2px,
      transparent 4px
    );
}

.monitor-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7affb3;
  box-shadow: 0 0 12px rgba(122, 255, 179, 0.6);
}

/* プロファイル専用パネル */
.profile-panel {
  border: 1px solid rgba(22, 196, 91, 0.35);
  background:
    linear-gradient(180deg, rgba(9, 28, 15, 0.94), rgba(5, 18, 10, 0.96));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(22, 196, 91, 0.06),
    0 0 20px rgba(22, 196, 91, 0.08);
}

.profile-panel .section-label,
.profile-panel .member-role,
.profile-panel .content-category {
  background: linear-gradient(135deg, #7affb3, var(--profile));
  color: #03210d;
  border: 0;
}

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .member-grid,
  .contents-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 42px;
  }

  .timeline-date {
    text-align: left;
    padding-top: 0;
  }

  .timeline-date::after {
    left: -31px;
    right: auto;
    top: 4px;
  }

  .article-style .article-body {
    column-count: 1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .global-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    display: none;
    box-shadow: var(--shadow), var(--glow);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 64px;
  }

  .button {
    width: 100%;
  }

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

  .about-main,
  .info-card,
  .member-card,
  .content-card,
  .timeline-content,
  .join-box,
  .contents-toolbar {
    padding: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}