/* 42ws migration: category badge colors keyed by tag name (WordPress used cat-N classes) */
/* 記事（ブログ・NEWS）: 単体ページ / トップ・教室ページのカード */
#single-post article .info .cat-list .cat[data-tag="堀江教室"],
.blog-area .blog-list .blog-item .info .cat-list .cat[data-tag="堀江教室"],
#page-news-list .post-list .post-item .post-item-top .info .cat[data-tag="堀江教室"] span { background: #EA9425; }
#single-post article .info .cat-list .cat[data-tag="吹田教室"],
.blog-area .blog-list .blog-item .info .cat-list .cat[data-tag="吹田教室"],
#page-news-list .post-list .post-item .post-item-top .info .cat[data-tag="吹田教室"] span { background: #EC6867; }
#single-post article .info .cat-list .cat[data-tag="高槻教室"],
.blog-area .blog-list .blog-item .info .cat-list .cat[data-tag="高槻教室"],
#page-news-list .post-list .post-item .post-item-top .info .cat[data-tag="高槻教室"] span { background: #52A2BB; }
#single-post article .info .cat-list .cat[data-tag="NEWS"],
.blog-area .blog-list .blog-item .info .cat-list .cat[data-tag="NEWS"],
#page-news-list .post-list .post-item .post-item-top .info .cat[data-tag="NEWS"] span { background: #326BC7; }
#single-post article .info .cat-list .cat[data-tag="キャンペーン"],
.blog-area .blog-list .blog-item .info .cat-list .cat[data-tag="キャンペーン"],
#page-news-list .post-list .post-item .post-item-top .info .cat[data-tag="キャンペーン"] span { background: #4BA255; }

/* お客様の声: 教室バッジ */
.voice-list .voice-item .voice-item-right .voice-item-right-top .cat-list .cat[data-tag="堀江教室"] { background: #EA9425; }
.voice-list .voice-item .voice-item-right .voice-item-right-top .cat-list .cat[data-tag="高槻教室"] { background: #52A2BB; }
.voice-list .voice-item .voice-item-right .voice-item-right-top .cat-list .cat[data-tag="吹田教室"] { background: #EC6867; }

/* 記事ページ下「一覧を見る」: BLOG の記事はブログ一覧へ、それ以外は NEWS 一覧へ */
#single-post article .post-bottom-link-list .list a.to-blog { display: none; }
#single-post article:has(.cat[data-tag="BLOG"]) .post-bottom-link-list .list a.to-blog { display: inline-block; }
#single-post article:has(.cat[data-tag="BLOG"]) .post-bottom-link-list .list a.to-news { display: none; }

/* JS で描く一覧（カテゴリ別・NEWS 一覧・教室別の声） */
[data-canup-list] .canup-loading { padding: 40px 0; text-align: center; color: #613a37; }
[data-canup-list] .wp-pagenavi a { cursor: pointer; }

/* NEWS 手選び用の掲載タグ（トップ掲載・各教室ページ掲載）はバッジとして表示しない */
.cat[data-tag$="掲載"] { display: none !important; }

/* 管理画面の「太字」ボタン（**文字**）を記事本文で太字に見せる（テーマのリセットCSSで太字が消えるため） */
.editor strong, .editor b { font-weight: bold; }
