/* === 全体基本スタイル === */
body {
  color: #000 !important;
  font-family: "游ゴシック", "Meiryo", sans-serif;
  line-height: 1.8;
  background-color: #f9f9f9;
}

/* === 見出しのタイトル（h2） === */
.entry-content h2 {
  color: #fff !important; /* 白文字に変更 */
  font-weight: bold;
  background-color: #14253e; /* 濃紺背景で視認性UP */
  padding: 12px 16px;
  border-radius: 6px;
  margin: 1.5em 0;
  word-break: break-word;
  white-space: normal;
  font-size: 1.5em;
}

/* === その他見出し（h3, h4） === */
.entry-content h3,
.entry-content h4 {
  color: #000 !important;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
}

/* === リンクカラー === */
a {
  color: #768676;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* === コメント欄のテキスト・背景 === */
.comment-form textarea,
.comment-form input {
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
}

/* === アイキャッチ画像装飾 === */
.entry-content img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
}

/* === サイドバーウィジェット === */
.widget-title {
  background: #14253e;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

/* === モバイル向け メディアクエリ === */
@media screen and (max-width: 768px) {
  .entry-content h2 {
    font-size: 18px !important;
    padding: 10px;
    word-break: break-word;
    white-space: normal;
  }

  .entry-title {
    font-size: 20px !important;
    letter-spacing: -0.3px;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
  }
}

/* === 目次とサイドバーの文字色を黒に === */
.toc-content,
.toc-title,
.widget,
.widget-title,
.widget a {
  color: #000 !important;
}

/* === 目次のテキストを黒に === */
.toc-content,
.toc-content a,
.toc-list,
.toc-list li {
  color: #000 !important;
}

/* === サイドバーのウィジェット内文字色も黒に === */
.widget,
.widget-title,
.widget a,
.widget li {
  color: #000 !important;
}

/* === 記事カードのタイトルとメタ情報の文字色を黒に === */
.entry-card-title,
.entry-card-snippet,
.entry-card-meta {
  color: #000 !important;
}

/* === カテゴリーページのカード下部メタ情報の文字色を黒に === */
.entry-card-meta,
.entry-card-meta .fa {
  color: #000 !important;
}
/* 投稿カード下のメタ情報の文字色を黒にする（PC/スマホ両対応） */
.entry-card-snippet .post-meta,
.entry-card-snippet .post-meta a,
.entry-card-meta,
.entry-card-meta a {
  color: #000 !important;
}

/* 投稿カード下部メタ情報の文字色を黒にする（PC・スマホ両対応） */
.entry-card-meta .post-meta,
.entry-card-meta .post-meta a,
.entry-card-meta time,
.entry-card-meta .fa {
  color: #000 !important;
}

/* ヘッダー帯を透明化 */
.header-container,
#header,
.l-header {
  background: none !important;
}

/* ヘッダー背景の細かい調整 */
.header-container {
  background-position: center center !important; /* 画像の表示位置 */
  background-size: cover !important;             /* 画面幅に合わせて全面表示 */
}

/* --------- ヘッダー背景を cover + 中央寄せに --------- */
.header-container {
  /* 余白なくヘッダー全体を覆う */
  background-size: cover !important;
  /* 背景画像のセンターを真ん中に */
  background-position: center center !important;
  /* 繰り返し不要 */
  background-repeat: no-repeat !important;
}