:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1f2a37;
  --muted: #5b6470;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --border: #d8dee6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 16px;
  margin: 0;
  padding: 0;
}

main {
  padding: 40px 0 56px;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 24px;
}

.hero h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
}

.hero p {
  max-width: 65ch;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.button:hover {
  color: #fff;
  background: var(--primary-hover);
}

.button.alt {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

section.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 18px;
}

section.panel h3,
.legal h2 {
  margin-top: 0;
}

ul.list {
  padding-left: 1.2rem;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
}

.legal h1 {
  margin-top: 0;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

table.info {
  border-collapse: collapse;
  width: 100%;
}

table.info th,
table.info td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
}

table.info th {
  width: 28%;
  text-align: left;
  background: #f2f6fc;
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }
}
