/* 静的ページ共通スタイル */

/* CSS変数のオーバーライド（静的ページ用） */
:root {
  --bg-secondary: #f5f5f5;
  --text-primary: #213547;
}

body {
  line-height: 1.8;
}

/* ヘッダー（静的ページ用） */
.header {
  padding: 1rem;
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
}

/* メインコンテンツ（静的ページ用） */
.main-content {
  padding: 2rem;
  padding-top: 80px; /* ヘッダーの高さ分のパディング */
  padding-bottom: 80px; /* フッターの高さ分のパディング */
  overflow-y: auto;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: bold;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

ol, ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.5rem;
}

ul li {
  margin-bottom: 0.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

table th,
table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--border-color);
  vertical-align: top;
}

table th {
  background-color: var(--bg-primary);
  font-weight: bold;
  color: var(--text-primary);
  width: 30%;
}

table td {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

.footer-section {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
  font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .main-content {
    padding-bottom: 0;
  }
}
