/* ベース */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #222;
  line-height: 1.6;
}

.page-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px 32px;
}

header {
  padding: 12px 0 8px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 12px;
}

header h1 {
  font-size: 1.7rem;
  margin: 4px 0 6px;
}

.site-name {
  font-size: 0.9rem;
  color: #777;
  letter-spacing: 0.03em;
}

.site-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 6px;
}

/* スマホ用ちょっとだけ調整 */
@media (max-width: 600px) {
  .article,
  .related {
    padding: 14px 12px;
  }

  header h1 {
    font-size: 1.3rem;
  }

  .article h2 {
    font-size: 1.2rem;
  }
}

/* 表（元記事内） */
.table-wrap {
  overflow-x: auto;   /* スマホで横にはみ出したらスクロール */
}

.ministry-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.95rem;
}

.ministry-table th,
.ministry-table td {
  border: 1px solid #e6e6e6;
  padding: 8px 10px;
  vertical-align: top;
}

.ministry-table th {
  background: #f5f7ff;
  font-weight: 700;
  white-space: nowrap;
}

.source-titleline{
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ヘッダのサイト名リンク（見た目はそのまま） */
.site-title a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.site-title a:hover {
  text-decoration: underline; /* ここは好みで無しでもOK */
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 6px;
}

.footer-nav a {
  text-decoration: none;
  color: #1976d2;
  font-size: 0.8rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}
