/* おるすばん legal site — document layout (no cards) */
:root {
  --sky-deep: #2a7aad;
  --accent: #e06b52;
  --bg: #f7fafc;
  --text: #1a2a33;
  --muted: #5a6b75;
  --line: #c9d7e0;
  --max: 40rem;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #dff1fa 0%, var(--bg) 220px);
  line-height: 1.85;
  font-size: 1rem;
}

a {
  color: var(--sky-deep);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--accent); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 4rem;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--sky-deep);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}
.nav a:hover { color: var(--sky-deep); }

.hero {
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -0.75rem 0 2rem;
}

.section {
  margin: 0 0 2.25rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.section + .section {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section p { margin: 0 0 0.85rem; }
.section p:last-child { margin-bottom: 0; }

.section ul {
  margin: 0.25rem 0 0.85rem;
  padding-left: 1.2em;
}

.section li { margin: 0.35em 0; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0.4rem;
  vertical-align: top;
  text-align: left;
}

.table tr:first-child th,
.table tr:first-child td {
  border-top: none;
  padding-top: 0;
}

.table th {
  width: 32%;
  color: var(--muted);
  font-weight: 700;
  padding-right: 1rem;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.links li:last-child {
  border-bottom: 1px solid var(--line);
}

.links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
}

.links a:hover { color: var(--sky-deep); }

.links a span {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9rem;
}

.note {
  margin: 0.85rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  border: none;
  background: none;
}

.note::before {
  content: "※ ";
  color: var(--sky-deep);
  font-weight: 700;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p { margin: 0; }

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }
  .table th {
    padding-bottom: 0.15rem;
    border-top: 1px solid var(--line);
  }
  .table td {
    border-top: none;
    padding-top: 0.2rem;
    padding-bottom: 1rem;
  }
  .table tr:first-child th { border-top: none; }
}
