/* CPA English Bridge - 法務ページ共通スタイル（app本体と同トーンの簡易版） */
:root {
  --navy: #0F172A;
  --bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius-lg: 20px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.legal-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.legal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.legal-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.legal-logo-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.legal-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
h1.legal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}
.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 26px 0 8px;
}
h2:first-of-type {
  margin-top: 0;
}
p, li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
ul, ol {
  padding-left: 20px;
  margin: 8px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
th {
  width: 34%;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.legal-note {
  font-size: 12px;
  color: var(--text-muted);
  background: #F1F5F9;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}
.legal-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
