:root {
  --bg: #0a0a0a;
  --text: #e8e0d8;
  --text-muted: #b0b0b0;
  --text-soft: #999;
  --surface: #1a1a1a;
  --border: #e8e0d8;
}

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

html {
  font-size: 16px;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

/* ----- index ----- */

.brand {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.tagline {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 4rem;
}

.section {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.section p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section a {
  color: var(--text-muted);
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface);
  font-size: 0.85rem;
  color: var(--text-soft);
}

footer a {
  color: var(--text-soft);
  margin-right: 1.5rem;
}

/* ----- tokushoho ----- */

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

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

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--surface);
  vertical-align: top;
}

th {
  color: var(--text-soft);
  font-weight: 400;
  white-space: nowrap;
  width: 30%;
}

td {
  color: var(--text-muted);
}

/* ----- responsive ----- */

@media (max-width: 600px) {
  .brand {
    font-size: 1.8rem;
  }

  .container {
    padding: 3rem 1.2rem;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  th {
    border-bottom: none;
    padding-bottom: 0;
  }

  td {
    padding-top: 0;
    margin-bottom: 1rem;
  }
}
