:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.07);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.7;
}

.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ヘッダー */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}
.logo-icon {
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}
.logo-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

/* パンくずリスト */
.breadcrumb-nav {
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  color: var(--text-muted);
}
.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #94a3b8;
}

/* メイン記事 */
.info-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.article-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.article-header h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-content h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background-color: var(--primary);
  border-radius: 2px;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 20px 0 10px;
}

.article-content p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #334155;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.8;
}
.article-content li {
  margin-bottom: 6px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.article-content th, .article-content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.article-content th {
  background-color: #f8fafc;
  font-weight: 700;
  width: 30%;
}

.notice-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 16px;
  border-radius: 4px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #334155;
}

/* フッター */
.site-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-subnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.footer-subnav a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-subnav a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.copy { margin-bottom: 6px; }
.disclaimer { font-size: 0.76rem; color: #94a3b8; }

/* スマホ対応 */
@media (max-width: 640px) {
  .article-header h1 { font-size: 1.35rem; }
  .info-article { padding: 22px 18px; }
  .article-content th { width: 35%; }
}
