@charset "UTF-8";
/*
    Template: doujin_a
    Theme Name: doujin_a_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
*/

/* --- Affiliate Button Styles --- */
.download {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 24px;
}

.download a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    padding: 16px 60px;
    color: #fff;
    background: var(--affiliate_color, #ff0000);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), 0px 0px 0px 2px var(--affiliate_color, #ff0000);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.download a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0px 0px 0px 2px var(--affiliate_color, #ff0000);
    color: #fff;
    filter: brightness(1.1);
}

.download a::before {
    content: "↓";
    margin-right: 8px;
    font-size: 1.1em;
}

/* --- Main Image Affiliate Badge --- */
.main-img-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    line-height: 0;
}
.main-img-link figure.p-articleThumb {
    margin: 0 !important;
}
.main-img-link img {
    margin: 0 !important;
}
.ext-link-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 10;
}
.main-img-link:hover .ext-link-badge {
    background-color: var(--color_htag);
    transform: scale(1.05);
}



/* --- Product Information Card Styles --- */
.productInformation.u-common__clearfix{
    font-size: 13px;
    padding: 0;
}

.productInformation {
    display: table;
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    border-collapse: collapse;
    margin: 24px auto;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}

.productInformation .productInformation__item:last-of-type {
    display: none;
}

.productInformation__item {
    display: table-row;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.2s ease;
}

.productInformation__item:last-child {
    border-bottom: none;
}

.productInformation__item:hover {
    background-color: #fcfcfc;
}

dl.informationList {
    margin: 0;
    border-bottom: 1px solid #eaeaea;
}

.informationList__ttl {
    display: table-cell;
    font-weight: bold;
    font-size: 13px;
    color: var(--color_htag);
    padding: 16px 20px;
    width: 30%;
    min-width: 120px;
    background: #fbfbfb;
    border-right: 1px solid #eaeaea;
    text-align: left;
    vertical-align: middle;
}

.informationList__txt {
    display: table-cell;
    font-size: 13px;
    color: #444;
    padding: 16px 20px;
    width: 70%;
    vertical-align: middle;
    line-height: 1.6;
}

.informationList__item {
    display: table-cell;
}
.genreTagList {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    list-style: none;
    margin: 0;
    color: #555;
}
.genreTagList__item {
    font-size: 13px;
}
.promotionBnr__img img {
    display: none;
}

.main-img {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.main-img figure img,
.content-area figure img {
    margin: 0 auto;
    display: block;
}
.content-area figure figcaption {
    text-align: center;
    font-size: 14px;
}

.c-balloon {
    align-items: center;
}

.main-img .p-articleThumb{
    width: auto;
}
.main-img img.p-articleThumb__img {
    width: revert-layer;
}

.gallery .gallery-item {
 padding: 4px;
}

/* ギャラリー全体の枠組み */
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1%; /* 左右の余白調整 */
    margin-right: -1%;
    padding: 0;
}

/* ギャラリーの各アイテム（画像＋キャプション） */
.gallery-item {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin: 0 1% 1.5em; /* アイテム間の余白 */
    width: 18%; /* 3列にするための幅（100% ÷ 3 - 余白） */
    box-sizing: border-box;
}

/* 画像自体の設定 */
.gallery-icon img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd; /* 薄い枠線（お好みで削除可） */
    display: block;
    margin: 0 auto;
}

/* キャプション（今回は自動Alt表示コードを入れているので不要かもしれませんが念のため） */
.gallery-caption {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    padding-top: 0.5em;
}

/* スマホでは2列にする場合（お好みで） */
@media screen and (max-width: 600px) {
    .gallery-item {
        width: 31%; /* 3列 */
    }
}

.p-postList__item figure img {
	object-fit: contain;
}

.ads-300-250 {
    width: 300px;
    height: 250px;
    margin: 12px auto 12px;
}

/* --- Review / Feature List Style (.wp-block-list) --- */
.post_content ul.wp-block-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5em 0;
}

.post_content ul.wp-block-list > li {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem 1.75rem 1.5rem 2.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.8;
}

.post_content ul.wp-block-list > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.post_content ul.wp-block-list > li::before {
    content: "✓";
    position: absolute;
    left: -16px;
    top: 1.3rem;
    background: var(--color_htag, #333);
    color: #fff;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post_content ul.wp-block-list > li strong {
    display: block;
    font-size: 1.15em;
    color: var(--color_htag, #222);
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed #ebebeb;
    padding-bottom: 0.75rem;
    line-height: 1.4;
}