:root {
  --bg: #070b14;
  --bg-soft: #0f1829;
  --panel: rgba(13, 23, 40, 0.72);
  --panel-strong: #111d31;
  --text: #eaf2ff;
  --muted: #97a9c8;
  --line: rgba(188, 212, 255, 0.24);
  --accent: #86cbff;
  --accent-strong: #46a6ff;
  --alert: #f3ca72;
  --ok: #9ef4c0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% -15%, rgba(73, 135, 218, 0.4), transparent 65%),
    radial-gradient(1000px 700px at 100% 10%, rgba(39, 80, 153, 0.26), transparent 70%),
    linear-gradient(180deg, #060a12 0%, #08101d 40%, #050913 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #bee4ff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 10px;
}

.site-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 120px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 20px;
  background: rgba(4, 10, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.moon-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d8ecff, #559feb);
  box-shadow: 0 0 18px rgba(137, 197, 255, 0.8);
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-note {
  color: #b8c9e7;
  font-size: 0.84rem;
  padding: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  color: var(--text);
  background: rgba(20, 34, 57, 0.65);
}

.pill.is-accent {
  background: linear-gradient(135deg, #378fdf, #235aa7);
  border-color: transparent;
}

.hero {
  position: relative;
  padding: 34px 24px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(31, 63, 105, 0.72), rgba(9, 18, 35, 0.75)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 2px);
  overflow: hidden;
}

.page-club-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 23, 0.48), rgba(6, 10, 20, 0.62)),
    url("image/img_2.jpg") center 36% / cover no-repeat;
  opacity: 0.52;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(191, 226, 255, 0.18), transparent 40%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
}

.badge.tentative {
  border-color: rgba(245, 203, 112, 0.8);
  color: #ffeec3;
  background: rgba(121, 85, 17, 0.24);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: #dbebff;
}

.hero-meta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-meta strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero-meta span {
  font-size: 1.01rem;
}

.section {
  margin-top: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.section .en {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.facts-grid,
.cards-2,
.cards-3 {
  display: grid;
  gap: 12px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-strong);
  padding: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p,
.card li {
  color: #d8e8ff;
}

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

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px dashed rgba(180, 205, 255, 0.2);
  padding-bottom: 8px;
}

.checklist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 1px;
}

.check::before {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  background: rgba(22, 37, 60, 0.85);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-photo-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 26, 45, 0.88);
  padding: 8px;
}

.media-photo {
  display: block;
  width: 100%;
  height: 180px;
  margin-top: 8px;
  object-fit: cover;
  border-radius: 10px;
}

.card .media-photo + h3 {
  margin-top: 12px;
}

.media-photo-card figcaption {
  margin-top: 7px;
  font-size: 0.8rem;
}

.media-tile {
  border: 1px dashed rgba(177, 206, 255, 0.45);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(28, 48, 79, 0.8), rgba(11, 20, 36, 0.92));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
}

.media-tile--wide {
  aspect-ratio: 16 / 9;
}

.media-tile--portrait {
  aspect-ratio: 4 / 5;
}

.media-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #d7e9ff;
}

.cta-band {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(31, 70, 117, 0.72), rgba(10, 18, 32, 0.84));
  padding: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: #f4f9ff;
  background: rgba(18, 32, 55, 0.92);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(38, 70, 117, 0.94);
}

.button.button-primary {
  border: none;
  background: linear-gradient(135deg, #3c9ce9, #2066bf);
}

.footer-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.club-footer {
  margin-top: 18px;
  text-align: center;
  color: #c6d8f7;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 4px 0 24px;
}

.club-footer-wrap {
  margin-top: 20px;
  border: 1px solid rgba(153, 194, 255, 0.26);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(24, 43, 73, 0.86), rgba(15, 28, 49, 0.9));
  box-shadow: 0 16px 34px rgba(7, 16, 30, 0.45);
  padding: 14px 12px 4px;
}

.club-footer-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.club-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-width: 210px;
  border-radius: 4px;
  border: 1px solid rgba(167, 202, 255, 0.45);
  background: rgba(20, 37, 64, 0.85);
  color: #e8f3ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.club-footer-links a:hover {
  background: rgba(45, 83, 137, 0.9);
  color: #ffffff;
}

@media (max-width: 900px) {
  .facts-grid,
  .cards-2,
  .cards-3,
  .media-grid,
  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 20px);
    padding-bottom: 110px;
  }

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

  .top-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .section,
  .cta-band {
    padding: 18px;
  }
}

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