/* afropunx — 事業者情報サイト */
:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-heading: #2d2d2d;
  --color-border: #e0e0e0;
  --color-accent: #6750a4;
  --color-muted: #666;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1a1a1a;
    --color-text: #e0e0e0;
    --color-heading: #f0f0f0;
    --color-border: #333;
    --color-accent: #d0bcff;
    --color-muted: #9a9a9a;
  }
}

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

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  padding: 2rem 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ヘッダー */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 1.75rem;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.page-header .tagline {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* セクション */
h2 {
  font-size: 1.15rem;
  color: var(--color-heading);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-border);
}

h3 {
  font-size: 1rem;
  color: var(--color-heading);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 0.75rem;
}

/* 連絡先テーブル */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-table th,
.contact-table td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.contact-table th {
  background: rgba(0, 0, 0, 0.04);
  font-weight: 600;
  width: 7em;
}

@media (prefers-color-scheme: dark) {
  .contact-table th {
    background: rgba(255, 255, 255, 0.06);
  }
}

/* フッター */
.page-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}
