body {
  background-color: #e8f5e9;
  background-image: url('more-leaves');
  background-repeat: repeat;
  background-size: 200px;
}
/* H2見出し */
.entry-content h2 {
  border-left: 6px solid #4caf50;
  padding-left: 12px;
  margin: 40px 0 20px;
  font-size: 1.6em;
  font-weight: bold;
}

/* H3見出し */
.entry-content h3 {
  border-bottom: 2px solid #66bb6a;
  padding-bottom: 6px;
  margin: 30px 0 15px;
  font-size: 1.3em;
  font-weight: bold;
}


body {
  font-size: 17px;
  line-height: 1.9;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
}

a {
  color: #4caf50;
}
a:hover {
  color: #388e3c;
}

.widget {
  border: 1px solid #dfe8df;
  padding: 20px;
  background: #ffffffcc; /* ほんのり白 */
  border-radius: 6px;
  margin-bottom: 25px;
}

.entry-title {
  margin-bottom: 10px;
}

.entry-summary,
.entry-content {
  margin-bottom: 30px;
}

/* トップページの記事一覧をカード型にする */
.blog .post,
.archive .post {
  display: inline-block;
  width: 30%;
  margin: 1.5%;
  vertical-align: top;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  padding-bottom: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時のふわっと浮く演出 */
.blog .post:hover,
.archive .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* アイキャッチ画像の角丸 */
.blog .post img,
.archive .post img {
  border-radius: 10px 10px 0 0;
}

/* タイトル */
.blog .post .entry-title,
.archive .post .entry-title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 10px 15px 0;
  color: #333;
}

/* 抜粋（説明文） */
.blog .post .entry-summary,
.archive .post .entry-summary {
  padding: 0 15px;
  font-size: 0.9em;
  color: #555;
}

/* カテゴリ名（親しみやすい黄緑） */
.blog .post .cat-links,
.archive .post .cat-links {
  display: inline-block;
  margin: 10px 15px;
  padding: 4px 8px;
  background: #e8f5e9;
  color: #4caf50;
  border-radius: 4px;
  font-size: 0.8em;
}

/* カテゴリ見出しデザイン（明るく親しみやすい黄緑テーマ） */
.category-title {
  font-size: 1.6em;
  font-weight: bold;
  padding: 12px 18px;
  background: #e8f5e9; /* 淡い黄緑で親しみやすい */
  border-left: 6px solid #4caf50; /* ブランドカラーの黄緑ライン */
  border-radius: 6px;
  margin: 40px 0 20px;
  color: #333;
}

/* 見出し下に薄い区切り線（視線誘導） */
.category-title::after {
  content: "";
  display: block;
  height: 2px;
  background: #c8e6c9;
  margin-top: 8px;
}

<h2 class="category-title">高配当株</h2>

<h2 class="category-title">テクニカル分析</h2>

<h2 class="category-title">投資の基礎知識</h2>


/* メニューをヘッダー画像の下に移動 */
.site-header {
  position: relative;
}

.main-navigation {
  position: relative;
  margin-top: 20px; /* ヘッダー画像との間に余白 */
  border-top: 2px solid #4caf50; /* 黄緑ラインで区切り */
  background: #e8f5e9; /* 淡い黄緑背景 */
  text-align: center;
  padding: 10px 0;
}

.main-navigation a {
  color: #333;
  font-weight: bold;
  padding: 8px 16px;
  text-decoration: none;
}

.main-navigation a:hover {
  color: #4caf50;
  border-bottom: 2px solid #4caf50;
}

/* カード型で本文を非表示にする */
.blog .post .entry-content,
.archive .post .entry-content {
  display: none;
}

<p class="footer-disclaimer">
  当サイトでは、日々の気づきやチャート分析をもとにした情報をお届けしていますが、特定の投資行動をすすめるものではありません。内容の正確性を保証するものではなく、投資判断はご自身の責任でお願いいたします。
</p>

.footer-disclaimer {
  font-size: 12px;
  color: #555;
  text-align: center;
  padding: 20px 0;
  line-height: 1.6;
}
/* カード内のカテゴリーラベルを横書きにする（Twenty Sixteen） */
.blog .post .cat-links,
.archive .post .cat-links {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  display: block !important;
}

.blog .post .cat-links a,
.archive .post .cat-links a {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: rotate(0deg) !important;
  display: inline-block !important;
}

/* カード内カテゴリーラベルを横書きに強制する */
.cat-links,
.cat-links a,
.entry-meta .cat-links,
.entry-meta .cat-links a,
.entry-footer .cat-links,
.entry-footer .cat-links a {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: rotate(0deg) !important;
  display: inline-block !important;
  white-space: nowrap !important;
}


/* もとの背景色を完全に消す */
.cat-links,
.cat-links a {
  background: none !important;
  background-color: transparent !important;
}

/* 新しく横長の背景色を付ける（文字にぴったり合わせる） */
.cat-links a {
  display: inline-block !important;
  background-color: #4caf50 !important; /* 好きな色に変更可能 */
  color: #ffffff !important;            /* 文字色（白が見やすい） */
  padding: 3px 8px !important;          /* 横長に見える余白 */
  border-radius: 4px !important;        /* 角を少し丸く */
  line-height: 1.2 !important;          /* 縦長にならないよう調整 */
  writing-mode: horizontal-tb !important;
}

/* 親要素が縦積みにならないようにする（重要） */
.cat-links {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
}

