:root {
  --bg: #030712;
  --bg-dots: rgba(99, 102, 241, 0.05);
  --card-bg: rgba(17, 24, 39, 0.6);
  --card-border: rgba(255, 255, 255, 0.06);
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.35);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --glow-color: rgba(99, 102, 241, 0.15);
}

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

body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  color: var(--text);
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* 共通ヘッダー */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  background: rgba(3, 7, 18, 0.7);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
}

.logo-gradient {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #ffffff;
}

.btn-login-outline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-login-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* 共通フッター */
.lp-footer {
  border-top: 1px solid var(--card-border);
  background: #02040a;
  padding: 60px 24px 30px;
  margin-top: 120px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 共通カード ＆ グラスモーフィズム */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* タイポグラフィ */
.gradient-heading {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ドキュメントテンプレート（規約等用） */
.doc-wrapper {
  max-width: 800px;
  margin: 60px auto 120px;
  padding: 0 24px;
}

.doc-header {
  text-align: center;
  margin-bottom: 48px;
}

.doc-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.doc-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.doc-content {
  padding: 40px;
}

.doc-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 32px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-content p, .doc-content li {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 14px;
}

.doc-content ul, .doc-content ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

.doc-content li {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .doc-content {
    padding: 24px;
  }
}
