/* きもちラボ 公開サイト 共通スタイル。
   文書ページ（運営者情報・プライバシー・方針）と記事ページで使う。 */

:root { --accent: #3a7658; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #f6f4f0;
  color: #2b2a28;
  font-family: 'Zen Maru Gothic', sans-serif;
}

a { color: var(--accent); }

/* ブランド表記（各ページ上部） */
.brand {
  display: inline-block;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
}

/* ===== トップ ===== */
.home {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 22px 8px;
}
.home h1 { font-size: 28px; margin: 16px 0 8px; font-weight: 900; }
.home h2 { font-size: 18px; margin: 28px 0 10px; font-weight: 900; }
.home .lead { font-size: 16px; line-height: 1.9; color: #3b3a38; margin: 0; }
.home .article-list { margin: 0; padding-left: 1.2em; }
.home .article-list li { font-size: 16px; line-height: 2; }
.home .about-link { font-size: 14px; margin: 28px 0 8px; }

/* ===== 記事ページ ===== */
.article {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 22px 8px;
}
.article .crumb { font-size: 12px; color: #6b6760; margin: 8px 0 0; line-height: 1.7; }
.article .crumb a { color: #6b6760; }
.article h1 {
  font-size: 26px;
  line-height: 1.5;
  margin: 16px 0 16px;
  font-weight: 900;
}
.article h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 32px 0 10px;
  font-weight: 900;
}
.article p {
  font-size: 16px;
  line-height: 1.95;
  color: #2b2a28;
  margin: 0 0 14px;
}
.article .lead { color: #3b3a38; }
.article ul { margin: 0 0 16px; padding-left: 1.3em; }
.article li { font-size: 16px; line-height: 1.95; margin: 0 0 8px; color: #2b2a28; }

.article .qa { margin: 0 0 16px; }
.article .qa .q { font-weight: 900; margin: 0 0 6px; }
.article .qa .a { margin: 0; }

.article .asof {
  font-size: 12px;
  line-height: 1.8;
  color: #6b6760;
  margin: 28px 0 8px;
}

.article .sources { margin: 24px 0 8px; }
.article .sources h2 { font-size: 16px; margin: 0 0 10px; }
.article .sources ul { padding-left: 1.2em; }
.article .sources li { font-size: 13px; line-height: 1.8; color: #5f5b55; margin: 0 0 12px; }
.article .sources a { word-break: break-all; }

/* ===== フッター（全ページ共通） ===== */
.site-footer {
  width: 100%;
  max-width: 680px;
  margin: 24px auto 0;
  padding: 20px 22px 32px;
  border-top: 1px solid #e4dfd6;
  font-size: 12px;
  line-height: 1.8;
  color: #6b6760;
}
.site-footer ul {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.site-footer a { color: #5f5b55; }
.site-footer .copy { margin: 6px 0 0; }

/* ===== 文書ページ（運営者情報・プライバシー・方針） ===== */
.doc {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 22px 8px;
}
.doc .brand { font-weight: 900; font-size: 16px; letter-spacing: .08em; color: var(--accent); text-decoration: none; }
.doc h1 { font-size: 24px; margin: 18px 0 8px; }
.doc h2 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 15px; line-height: 1.9; color: #3b3a38; }
.doc a { color: var(--accent); }
.doc .tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 4px;
  font-size: 15px;
}
.doc .tbl th, .doc .tbl td {
  border: 1px solid #e4dfd6;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.doc .tbl th { background: #efece6; white-space: nowrap; width: 8em; }
.doc .crumb { font-size: 12px; color: #6b6760; margin: 4px 0 0; }
.doc .crumb a { color: #6b6760; }
