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

.wp-block-button__link {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important; /* ブロック要素化して横幅いっぱいに */
	font-size: 20px !important;
}

.l-mainContent__inner>.post_content{
	
	margin :0em !important;
}

/* テーブル全体の幅を100%に広げ、幅を固定しやすくする */
.wp-block-table table {
    width: 100%;
    table-layout: fixed; /* これを入れると20%の幅が正確に保たれます */
}

/* 1列目のthの幅を20%に指定 */
.wp-block-table th {
    width: 30%;
    vertical-align: top; /* 項目名が長い時に上揃えにする（好みで） */
}

.wp-block-table td {
    width: 70%!important;
    vertical-align: top!important; /* 項目名が長い時に上揃えにする（好みで） */
}


/* DMM（FANZA）アフィリエイトリンク内の画像を独立させて、文字を下に改行 */
.post_content a[href*="al.fanza.co.jp"] img {
    display: block;
    margin: 0 auto 0.5em; /* 画像を中央寄せ＋下に少し余白 */
}

/* DMM作品一覧：スマホ・タブレットでも横並び */
@media screen and (max-width: 959px) {
    .swell-block-columns:has(a[href*="al.fanza.co.jp"]) .swell-block-columns__inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr); /* 2列 */
        gap: 1em;
        margin: 0 !important;  /* マイナス余白を打ち消す */
        width: auto !important;
    }
    .swell-block-columns:has(a[href*="al.fanza.co.jp"]) .swell-block-column {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}


/* 女優カテゴリーへのボタン */
.actress-cat-btn {
    text-align: center;
    margin: 1.5em 0 2em;
}
.actress-cat-btn a {
    display: inline-block;
    padding: 0.8em 2.5em;
    border: 2px solid var(--color_main);
    border-radius: 5px;
    color: var(--color_main);
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}
.actress-cat-btn a:hover {
    background: var(--color_main);
    color: #fff;
}