/* ランディングの Nav / Footer と揃えた法務ページ用レイアウト */
:root {
  --ink: #1a1a1e;
  --slate: #6b7280;
  --mist: #c7c7cc;
  --paper: #f7f7f5;
  --white: #ffffff;
  --border: #ebebeb;
}

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

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 300;
  font-size: 15px;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* max-width はコンテンツ幅（App.jsx の Nav 内側 div と同じ。全体の * が border-box のため、ここだけ content-box に戻す） */
.site-nav-inner {
  box-sizing: content-box;
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* トップ App.jsx の Nav 左カラムと同一（div + span、リンクなし） */
.site-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-brand {
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.2;
}

.site-subtitle {
  font-family: "Noto Sans JP", "Hiragino Sans", -apple-system, sans-serif;
  font-size: 10px;
  color: var(--slate);
  font-weight: 300;
  letter-spacing: 1px;
}

.site-nav-cta {
  font-size: 12px;
  color: var(--slate);
  text-decoration: none;
  font-family: "Noto Sans JP", "Hiragino Sans", -apple-system, sans-serif;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 2px;
}

.legal-main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 24px 48px;
  line-height: 1.85;
}

.legal-main a {
  color: var(--slate);
}

.legal-main h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.legal-main h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 1.12rem;
  margin: 2rem 0 0.65rem;
}

.legal-main h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink);
}

.legal-main .meta {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.35rem;
  margin: 0.5rem 0 1rem;
}

.legal-main li {
  margin: 0.35rem 0;
}

.legal-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 1rem 0;
}

.legal-main th,
.legal-main td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.legal-main th {
  font-weight: 400;
  color: var(--ink);
}

.legal-main .footer-note {
  margin-top: 2.5rem;
  font-size: 13px;
  color: var(--slate);
}

.site-footer {
  padding: 48px 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer-brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 20px;
}

.site-footer-brand-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer-brand {
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 6px;
}

.site-footer-subtitle {
  font-family: "Noto Sans JP", "Hiragino Sans", -apple-system, sans-serif;
  font-size: 11px;
  color: var(--slate);
  margin: 0;
  font-weight: 300;
  letter-spacing: 1px;
}

.site-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.site-footer-links a {
  font-size: 12px;
  color: var(--slate);
  text-decoration: none;
}

.site-footer-copy {
  font-size: 11px;
  color: var(--mist);
  margin: 0;
}
