@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ============================================================
   ホイキャリ 子テーマ追加分（v7.12）
   新着リスト（.new-post-list）のカテゴリタグを、サムネイル上のバッジから
   本文側のメタ行（日付の横）へ移動するJS（functions.php の wp_footer）と対になるCSS。
   移動後の .c-postThumb__cat を白地・1px枠（#D8CCC6）・角丸なし・
   濃茶文字12px・padding 4px 10px のタグとして表示する。
   SP（767px以下）のときだけ適用。PCではJSが実行されず、
   サムネイル上のバッジ表示が維持される。
   ============================================================ */
@media (max-width: 767px) {
  .new-post-list .p-postList__item .p-postList__meta .c-postThumb__cat {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    background: #fff !important;
    color: #3A2E2A !important;
    border: 1px solid #D8CCC6 !important;
    border-radius: 0 !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 8px 0 0 !important;
  }
  .new-post-list .p-postList__item .p-postList__meta .c-postThumb__cat::before {
    content: none !important;
    display: none !important;
  }
}