@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
*/

/* ===== AIの画材屋さん（画像中心・ダーク）2026-11-06 — シビビッドラボ 2026-10-29 の子テーマ追記を写したもの ===== */

/* 一覧カードのサムネイルを縦長 3:4 にし、顔が切れにくいよう上寄せで切り抜く */
:root { --card_posts_thumb_ratio: 133.333%; }
.p-postList__thumb img, .p-postList .c-postThumb__img { object-position: center top; }

/* カードのタイトルは2行まで */
.-type-card .p-postList__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 記事内ギャラリー: 余白を詰め、角を少し丸める */
.post_content .wp-block-gallery.has-nested-images { gap: 8px; }
.post_content .wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 4px; }

/* モデル・LoRA・生成設定の表（ダーク向け） */
.post_content .aiart-spec table { border-collapse: collapse; width: 100%; font-size: .92em; }
.post_content .aiart-spec th, .post_content .aiart-spec td { border: 1px solid #2c2c33; padding: .6em .8em; background: #16161a; color: #e4e4e7; }
.post_content .aiart-spec th { width: 34%; background: #1d1d23; font-weight: 700; text-align: left; white-space: nowrap; }
@media (max-width: 599px) { .post_content .aiart-spec th { white-space: normal; } }

/* 見出しなどがダーク背景で沈まないように */
.post_content h2 { color: #f2f2f2; }
