* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: sans-serif; color: #333; background: #fff; }

/* ===== ヘッダー ===== */
.site-header {
  padding: 12px 20px;
  border-bottom: 1px solid #e8e8e8;
  display: flex; align-items: center; justify-content: space-between;
}
/* ロゴ画像：./img/logo.png などを差し込む想定 */
.site-logo img { display: block; height: 36px; width: auto; }
/* 画像がない場合のテキストフォールバック */
.site-logo-text { font-size: 18px; font-weight: 700; color: #333; text-decoration: none; }
.site-logo-text span { color: #1D9E75; }
/* [PR]表記 */
.header-pr {
  font-size: 11px; color: #999;
  border: 1px solid #ccc; border-radius: 3px;
  padding: 2px 6px; letter-spacing: 0.05em;
}

/* ===== ヒーロー ===== */
.hero {
  padding: 40px 20px 32px; text-align: center;
  border-bottom: 1px solid #e8e8e8;
}
.hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
  background: #E1F5EE; color: #0F6E56; margin-bottom: 14px;
}
.hero h1 { font-size: 22px; font-weight: 700; color: #222; line-height: 1.5; margin-bottom: 8px; }
.hero p { font-size: 14px; color: #666; line-height: 1.7; }

/* ===== ジャンルチップ ===== */
.genre-nav {
  display: flex; gap: 8px; padding: 16px 20px;
  overflow-x: auto; border-bottom: 1px solid #e8e8e8;
}
.genre-nav::-webkit-scrollbar { display: none; }
/* ジャンルチップ */
.genre-chip {
  white-space: nowrap; font-size: 13px; padding: 8px 16px;
  border-radius: 99px; border: 1px solid #ccc;
  background: #fff; color: #555;
  text-decoration: none; display: inline-block;
}

/* ===== メインエリア ===== */
.main { padding: 20px; max-width: 640px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  color: #999; margin-bottom: 12px; text-transform: uppercase;
}

/* ===== 注目記事カード ===== */
.featured-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 28px;
}
.featured-grid .big { grid-column: 1 / -1; }
a.card { color: inherit; text-decoration: none; font-size: inherit; font-weight: inherit; }
a.card .card-title { font-size: 14px; font-weight: 700; color: #222; line-height: 1.5; margin-bottom: 4px; }
.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px; overflow: hidden; display: block;
}
.card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img.money { background: #E1F5EE; }
.card-img.study { background: #E6F1FB; }
.card-img.big-card { aspect-ratio: 3 / 2; height: auto; }
.card-body { padding: 12px 14px; }
.card-genre {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; margin-bottom: 6px; display: inline-block;
}
.tag-money { background: #E1F5EE; color: #0F6E56; }
.tag-study { background: #E6F1FB; color: #185FA5; }
/* タイトルだけリンク */
.card-title a { font-size: 14px; font-weight: 700; color: #222; line-height: 1.5; text-decoration: none; display: block; margin-bottom: 4px; }
.card-title a:hover { text-decoration: underline; }
/* カテゴリー・日付はリンクなしテキスト */
.card-meta { font-size: 12px; color: #999; }

/* ===== 本文エリア ===== */
.site-intro { margin-bottom: 28px; }
.site-intro-title { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 8px; line-height: 1.5; }
.site-intro-text { font-size: 13px; color: #555; line-height: 1.8; }

/* ===== 長文ページ共通 ===== */
.page-body { max-width: 680px; margin: 0 auto; padding: 24px 20px 40px; }
.page-body h1 { font-size: 20px; font-weight: 700; color: #222; line-height: 1.5; margin-bottom: 24px; }
.page-body h2 { font-size: 16px; font-weight: 700; color: #222; line-height: 1.5; margin-top: 32px; margin-bottom: 12px; border-left: 3px solid #1D9E75; padding-left: 10px; border-radius: 0; }
.page-body h3 { font-size: 14px; font-weight: 700; color: #222; line-height: 1.5; margin-top: 24px; margin-bottom: 8px; }
.page-body p { font-size: 14px; color: #444; line-height: 1.9; margin-bottom: 16px; }
.page-body ul, .page-body ol { font-size: 14px; color: #444; line-height: 1.9; margin-bottom: 16px; padding-left: 20px; }
.page-body ul a { color: #1D9E75; text-decoration: none; }
.page-body ul a:hover { text-decoration: underline; }
.page-body li { margin-bottom: 6px; }
.page-body a { color: #1D9E75; }
/* ===== 更新リスト ===== */
.update-list { list-style: none; margin-bottom: 28px; }
.update-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid #e8e8e8;
}
.update-list li:last-child { border-bottom: none; }
.list-icon {
  width: 40px; height: 40px; border-radius: 6px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.list-body { flex: 1; }
/* タイトルだけリンク */
.list-title a { font-size: 14px; font-weight: 700; color: #222; line-height: 1.5; text-decoration: none; display: block; margin-bottom: 2px; }
.list-title a:hover { text-decoration: underline; }
/* カテゴリー・日付はリンクなしテキスト */
.list-meta { font-size: 12px; color: #999; }
.new-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 4px; background: #FCEBEB; color: #A32D2D; flex-shrink: 0;
}

/* ===== カテゴリー ===== */
.cat-group { margin-bottom: 20px; }
.cat-group-coming { opacity: 0.4; }
.cat-group-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: #222;
  margin-bottom: 10px;
}
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 24px; }
.cat-tag {
  font-size: 13px; color: #555; text-decoration: none;
  padding: 8px 14px; border: 1px solid #ccc;
  border-radius: 99px; background: #fff;
}
.cat-tag:hover { text-decoration: underline; }
.cat-tag-plain { font-size: 12px; color: #999; padding: 4px 0; }

/* ===== サイトマップ ===== */
.sitemap-body { padding: 24px 20px 40px; }
.sitemap-body h1 { font-size: 20px; font-weight: 700; color: #222; line-height: 1.5; margin-bottom: 24px; }
.sitemap-body h2 { font-size: 15px; font-weight: 700; color: #222; margin-top: 28px; margin-bottom: 10px; border-left: 3px solid #1D9E75; padding-left: 10px; border-radius: 0; }
.sitemap-body ul { list-style: none; margin-bottom: 8px; }
.sitemap-body ul li a {
  display: block; padding: 10px 4px;
  font-size: 15px; color: #222; text-decoration: none;
  border-bottom: 1px solid #e8e8e8;
}
.sitemap-body ul li a:hover { text-decoration: underline; }

/* ===== フッター ===== */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 28px 20px 20px;
  font-size: 12px; color: #666;
}
/* カテゴリーリスト */
.footer-category-label {
  font-size: 11px; font-weight: 700; color: #999;
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.footer-category-list {
  display: flex; flex-wrap: wrap; gap: 0;
  list-style: none; margin-bottom: 20px;
}
.footer-category-list li a { color: #444; text-decoration: none; font-size: 14px; display: block; padding: 10px 16px 10px 0; }
.footer-category-list li a:hover { text-decoration: underline; }
/* 注意事項 */
.footer-notice {
  font-size: 12px; color: #999; line-height: 1.8;
  border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  padding: 12px 0; margin-bottom: 16px;
}
/* ページリンク */
.footer-links {
  display: flex; flex-wrap: wrap; gap: 0;
  list-style: none; margin-bottom: 16px;
}
.footer-links li a { color: #555; text-decoration: none; font-size: 14px; display: block; padding: 10px 16px 10px 0; }
.footer-links li a:hover { text-decoration: underline; }
/* コピーライト */
.footer-copy { font-size: 12px; color: #bbb; text-align: center; padding-top: 8px; }
.footer-copy a { color: #bbb; text-decoration: none; }