/* ============================================================
   WordPress 移植用の追加調整
   （元サイトではページ内 <style> にあったビルダー生成ルールのうち
    表示に必要なもの＋WP環境向けの微調整）
   ============================================================ */

* { box-sizing: border-box; }
body { margin: 0; }

/* 隠しh1（SEO用テキスト。元: .h1731895459917{font-size:0}） */
.h1731895459917 { font-size: 0; }

/* pagetopボタンのタップ領域（元インラインスタイルより） */
@media (min-width: 375px) {
  .c2829 {
    display: inline-block;
    padding: 5px;
    min-height: 50px;
    min-width: 50px;
  }
}

/* 本文中に残るビルダー生成クラスの基本色 */
.c2417, .c2210, .c4715, .c6003, .c5719, .c7296, .c6882, .c11326,
.c2313, .c2828, .c4241 { color: black; }

/* コンテンツ内画像がはみ出さないように（WP共通対策） */
img { max-width: 100%; height: auto; }

/* 管理バー表示時にヘッダーが隠れないように */
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* WPページネーションの補正（.webgene-pagination 内） */
.webgene-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}
.webgene-pagination li a,
.webgene-pagination li span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #181818;
  background: #fff;
}
.webgene-pagination li.selected a {
  background: #44475c;
  color: #fff;
  border-color: #44475c;
}

/* 自動投稿記事の先頭画像 figure の余白調整 */
.post_content figure { margin: 0 0 1.5em; }
