:root {
  --bg-deep: #06060f;
  --bg-mid: #0d0b1f;
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --cyan: #22d3ee;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --sidebar-w: 260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Outfit', -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.75;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.bg-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -150px; left: -80px;
}

.bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  bottom: -80px; right: -60px;
}

.help-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.help-topbar {
  border-bottom: 1px solid var(--glass-border);
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.help-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
}

.help-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.help-logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
}

.help-logo-mark svg { width: 16px; height: 16px; color: white; }

.help-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-sidebar { position: static !important; }
}

.help-sidebar {
  position: sticky;
  top: 72px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px;
}

.help-sidebar h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.help-sidebar ul { list-style: none; }

.help-sidebar li { margin-bottom: 4px; }

.help-sidebar a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.help-sidebar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.help-main { min-width: 0; }

.help-hero {
  margin-bottom: 40px;
}

.help-hero .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.help-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.help-hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
}

.help-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}

.help-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.help-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--violet-bright);
}

.help-section p,
.help-section li {
  color: var(--text-muted);
  font-size: 14px;
}

.help-section ul,
.help-section ol {
  margin: 12px 0 12px 20px;
}

.help-section li { margin-bottom: 6px; }

.help-section strong { color: var(--text); }

.help-figure {
  margin: 20px 0;
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.help-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.help-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}

.help-steps {
  counter-reset: step;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.help-steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}

.help-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid var(--glass-border);
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-muted);
}

.help-callout.tip {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.2);
}

.help-callout.warn {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.25);
}

.help-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.help-table th,
.help-table td {
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  text-align: left;
}

.help-table th {
  background: var(--glass);
  color: var(--text);
  font-weight: 600;
}

.help-table td { color: var(--text-muted); }

.help-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.help-footer a {
  color: var(--violet-bright);
  text-decoration: none;
}

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

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s;
}

.help-btn:hover { transform: translateY(-1px); }
