@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/Orbitron-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-Regular.woff2') format('woff2');
}
:root {
  --bg-0: #050b16;
  --bg-1: #071428;
  --bg-2: #0b1f38;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(0, 215, 255, 0.22);
  --text: #eaf4ff;
  --subtext: #9ab2cf;
  --accent: #00d7ff;
  --accent-2: #68f3ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(0, 215, 255, 0.08), transparent 35%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  overflow-x: hidden;
  position: relative;
}

/* 背景の細いグリッド */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0, 215, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 215, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

/* プラズマ粒子 */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particles span {
  position: absolute;
  bottom: -12vh;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 8px rgba(0, 215, 255, 0.75),
    0 0 18px rgba(0, 215, 255, 0.45);
  opacity: 0.22;
  animation: floatParticle linear infinite;
}

.particles span:nth-child(1)  { left: 6%;  animation-duration: 24s; animation-delay: 0s;  transform: scale(0.8); }
.particles span:nth-child(2)  { left: 12%; animation-duration: 20s; animation-delay: 4s;  transform: scale(1.1); }
.particles span:nth-child(3)  { left: 18%; animation-duration: 28s; animation-delay: 2s;  transform: scale(0.7); }
.particles span:nth-child(4)  { left: 26%; animation-duration: 22s; animation-delay: 6s;  transform: scale(1.0); }
.particles span:nth-child(5)  { left: 34%; animation-duration: 26s; animation-delay: 1s;  transform: scale(0.9); }
.particles span:nth-child(6)  { left: 42%; animation-duration: 30s; animation-delay: 5s;  transform: scale(0.75); }
.particles span:nth-child(7)  { left: 50%; animation-duration: 24s; animation-delay: 3s;  transform: scale(1.15); }
.particles span:nth-child(8)  { left: 58%; animation-duration: 27s; animation-delay: 7s;  transform: scale(0.85); }
.particles span:nth-child(9)  { left: 63%; animation-duration: 19s; animation-delay: 2s;  transform: scale(0.9); }
.particles span:nth-child(10) { left: 68%; animation-duration: 25s; animation-delay: 4s;  transform: scale(1.05); }
.particles span:nth-child(11) { left: 74%; animation-duration: 23s; animation-delay: 1s;  transform: scale(0.8); }
.particles span:nth-child(12) { left: 79%; animation-duration: 29s; animation-delay: 5s;  transform: scale(1.0); }
.particles span:nth-child(13) { left: 84%; animation-duration: 21s; animation-delay: 0s;  transform: scale(0.7); }
.particles span:nth-child(14) { left: 88%; animation-duration: 26s; animation-delay: 6s;  transform: scale(1.1); }
.particles span:nth-child(15) { left: 92%; animation-duration: 24s; animation-delay: 3s;  transform: scale(0.85); }
.particles span:nth-child(16) { left: 96%; animation-duration: 31s; animation-delay: 8s;  transform: scale(0.75); }

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.36;
  }
  100% {
    transform: translateY(-115vh) translateX(40px);
    opacity: 0;
  }
}

/* 画面の上に乗せる */
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 2;
}

/* ヒーロー */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(2, 7, 16, 0.62), rgba(2, 7, 16, 0.84)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 5%;
  background: rgba(5, 11, 22, 0.24);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 215, 255, 0.12);
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(0, 215, 255, 0.7);
  white-space: nowrap;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: rgba(234, 244, 255, 0.9);
  text-decoration: none;
  font-size: 0.94rem;
  transition: 0.25s ease;
}

.nav-list a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 215, 255, 0.7);
}

.hero-stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px 70px;
}

.field-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.field-lines path {
  fill: none;
  stroke: rgba(0, 215, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 18 18;
  opacity: 0.16;
  animation: fieldFlow 10s linear infinite;
}

@keyframes fieldFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -360;
  }
}

.plasma-ring {
  position: absolute;
  width: min(560px, 78vw);
  height: min(560px, 78vw);
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 255, 0.18);
  box-shadow:
    0 0 25px rgba(0, 215, 255, 0.09),
    inset 0 0 30px rgba(0, 215, 255, 0.06);
  animation: ringRotate 28s linear infinite;
}

.plasma-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(104, 243, 255, 0.14);
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  padding: 28px 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-shadow: 0 0 22px rgba(0, 215, 255, 0.48);
}

.hero-copy {
  margin: 20px auto 0;
  max-width: 760px;
  color: var(--subtext);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-primary {
  color: #03101c;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(0, 215, 255, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 215, 255, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 215, 255, 0.22);
}

/* セクション共通 */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 94px 20px;
}

.section h2 {
  margin: 0 0 28px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--accent);
  letter-spacing: 0.08em;
}

.section h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card h3,
.member-block h3 {
  margin-top: 0;
  color: var(--accent-2);
  font-size: 1.08rem;
}

.feature-card p,
.glass-card p,
.list {
  color: rgba(234, 244, 255, 0.92);
}

.muted {
  color: var(--subtext);
  font-size: 0.96rem;
}

.member-block + .member-block {
  margin-top: 20px;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
}

.list li + li {
  margin-top: 8px;
}

/* ギャラリー */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0, 215, 255, 0.18);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.gallery img:hover {
  transform: translateY(-3px) scale(1.01);
}

/* フッター */
.site-footer {
  padding: 28px 18px 36px;
  text-align: center;
  color: var(--subtext);
  border-top: 1px solid rgba(0, 215, 255, 0.08);
  background: rgba(5, 11, 22, 0.35);
  backdrop-filter: blur(8px);
}

/* スマホ対応 */
@media (max-width: 1024px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 12px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .section {
    padding: 70px 14px;
  }

  .glass-card {
    padding: 22px;
  }

  .gallery img {
    height: 200px;
  }
}

@media (max-width: 520px) {
  .logo {
    font-size: 1.15rem;
  }

  .nav-list {
    gap: 10px 14px;
  }

  .nav-list a {
    font-size: 0.88rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .hero-content h1 {
    letter-spacing: 0.03em;
  }
}