/* ==========================================
   Legal Pages - Minimal CSS
   ========================================== */
:root {
  --primary: #FF5252;
  --gradient-text: linear-gradient(135deg, #FF5252, #FF8A65);
  --text-primary: #1A1A2E;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --bg: #FAFAFA;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.back-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.back-link:hover { color: var(--text-primary); }

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* --- Content --- */
.legal-content {
  padding: 48px 0 80px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.effective-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  padding-left: 20px;
}

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

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  text-decoration: none;
}

/* --- Footer --- */
.legal-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .legal-content h1 { font-size: 1.4rem; }
  .legal-content { padding: 32px 0 60px; }
}
