:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #d9e2ec;
  --brand: #8f2747;
  --brand-dark: #681a34;
  --surface: #ffffff;
  --soft: #f5f7fa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--brand-dark); }
a:hover { color: var(--brand); }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(960px, calc(100% - 32px));
  min-height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a { font-size: 14px; font-weight: 650; text-decoration: none; }

main {
  width: min(800px, calc(100% - 32px));
  margin: 40px auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

h1, h2, h3 { line-height: 1.25; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 44px); }
h2 { margin: 38px 0 10px; font-size: 23px; }
h3 { margin: 24px 0 8px; font-size: 18px; }
p, li { color: var(--muted); }
ul { padding-left: 22px; }
.meta { margin: 0 0 28px; color: var(--muted); }
.notice {
  margin: 24px 0;
  padding: 16px 18px;
  background: #fff7f9;
  border-left: 4px solid var(--brand);
}
.notice p { margin: 0; }
.contact {
  margin-top: 30px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact h2 { margin-top: 0; }
.button {
  display: inline-flex;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--brand); color: #fff; }
footer { width: min(800px, calc(100% - 32px)); margin: 0 auto 40px; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 620px) {
  .nav { padding: 12px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .nav-links { gap: 14px; }
  main { margin-top: 24px; }
}

.table-wrap { overflow-x: auto; margin: 16px 0 8px; }
table.data-flow {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data-flow th,
table.data-flow td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
table.data-flow th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}
table.data-flow td:first-child {
  width: 32%;
  color: var(--ink);
  font-weight: 650;
}
