:root {
  --bg-void: #0a0f0d;
  --bg-panel: #121917;
  --bg-panel-edge: #1c2622;
  --bg-panel-hover: #161f1b;
  --emerald-core: #00d488;
  --emerald-deep: #049463;
  --signal-violet: #7c5cff;
  --warm-spark: #ffb454;
  --text-primary: #eaf5ef;
  --text-muted: #8ca79b;
  --text-faint: #516459;
  --text: #f7f5f8;
  --muted: #aaa8b2;

  --font-display: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Noto Sans JP', sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 48px 25px 64px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(0, 212, 136, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 30% at 90% 30%, rgba(124, 92, 255, 0.06), transparent 60%),
    var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 36px);
  letter-spacing: -.03em;
  text-align: center;
}

a {
  color:inherit;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 24px 56px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 28%, rgba(234, 245, 239, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 76% 18%, rgba(234, 245, 239, 0.45), transparent),
    radial-gradient(1px 1px at 88% 52%, rgba(234, 245, 239, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 10% 62%, rgba(234, 245, 239, 0.4), transparent),
    radial-gradient(1px 1px at 58% 12%, rgba(0, 212, 136, 0.55), transparent),
    radial-gradient(1px 1px at 40% 78%, rgba(124, 92, 255, 0.4), transparent);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--emerald-core);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--bg-panel-edge);
  border-radius: 999px;
  background: rgba(0, 212, 136, 0.05);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-core);
  box-shadow: 0 0 8px 1px var(--emerald-core);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: 0.01em;
  margin: 22px 0 14px;
  text-shadow:
    0 0 18px rgba(0, 212, 136, 0.45),
    0 0 46px rgba(0, 212, 136, 0.18);
}

.hero__title .accent {
  color: var(--emerald-core);
}

/* PCでは非表示 */
.sp-only {
  display: none;
}

.hero__subtitle {
  max-width: 460px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Line sections ---------- */
.line-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px 64px 84px;
  position: relative;
}

.line-section::before {
  content: '';
  position: absolute;
  left: 47px;
  top: 24px;
  bottom: 80px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--emerald-deep), var(--emerald-core));
  box-shadow: 0 0 14px rgba(0, 212, 136, 0.45);
}

/* ---------- Station ---------- */
.station {
  position: relative;
  margin-bottom: 36px;
}

.station:last-child {
  margin-bottom: 0;
}

.station__marker {
  position: absolute;
  left: -59px;
  top: 20px;
  width: 22px;
  height: 22px;
  background: var(--emerald-core);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  box-shadow: 0 0 12px var(--emerald-core);
}

.station__marker.ghost {
  width: 18px;
  height: 18px;
  background: transparent;
  clip-path: none;
  border-radius: 50%;
  border: 2px dashed var(--text-faint);
  box-shadow: none;
}

.station__card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-edge);
  border-radius: 16px;
  padding: 22px 24px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

a.station__card:hover,
a.station__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--emerald-core);
  background: var(--bg-panel-hover);
}

a.station__card:focus-visible {
  outline: 2px solid var(--emerald-core);
  outline-offset: 2px;
}

.station__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--emerald-core);
  background: rgba(0, 212, 136, 0.08);
  border: 1px solid rgba(0, 212, 136, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
}

.station__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.station__name .go {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.station__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.station__by {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
}

/* ---------- Ghost (placeholder) station ---------- */
.station__card.ghost {
  border-style: dashed;
  border-color: var(--bg-panel-edge);
  background: transparent;
}

.station__card.ghost .station__desc {
  color: var(--text-faint);
}

/* ---------- Footer ---------- */
footer {
  margin: auto;
  padding: 28px 10px 28px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
}

.site-footer {
  border-top: 1px solid var(--text-faint);
}

.footer-inner {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.footer-social {
  margin: 25px 0 20px;
  text-align: center;
}

#x-logo {
  width: 24px;
}

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

.footer-links a {
  color: var(--emerald-core);
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.privacy-content {
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.privacy-content p {
  margin: 0 0 12px;
}

.privacy-content h2 {
  margin: 18px 0 4px;
  color: var(--text);
  font-size: 13px;
}

.privacy-content a {
  color: #75e5bd;
}

.privacy-updated {
  margin-bottom: 0 !important;
  color: #85838e;
}

/* ---------- privacy ---------- */

.card {
  padding: clamp(18px, 4vw, 28px);
  margin-top: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 45%), var(--bg-panel);
  border: 1px solid var(--emerald-deep);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.back-link {
  display: block;
  width: fit-content;
  margin: 20px 20px 0 auto;
  color: #75e5bd;
  font-size: 13px;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .hero {
    padding: 64px 20px 44px;
  }
  .sp-only {
    display: block;
  }
  .line-section {
    padding-left: 56px;
  }
  .line-section::before {
    left: 23px;
  }
  .station__marker {
    left: -38px; width: 20px; height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow .dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
