/**
 * Compath - プライバシーポリシー・利用規約ページスタイル
 */

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
}

.legal-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
}

.legal-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--accent-primary);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 0;
  padding-left: 24px;
  color: var(--text-secondary);
}

.legal-section li {
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-updated {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* お問い合わせリンク */
.contact-link {
  margin-top: 16px;
}

.contact-link a {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link a:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

.contact-link a svg {
  flex-shrink: 0;
}

.legal-footer {
  padding: 30px 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

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

.legal-footer .footer-links {
  margin-top: 12px;
  font-size: 0.8rem;
}

.legal-footer .footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-footer .footer-links a:hover {
  color: var(--accent-primary);
}

.legal-footer .footer-separator {
  margin: 0 12px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .legal-content {
    padding: 40px 20px;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }
}
