/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 13 2026 | 11:28:59 */
/* 基本の見た目（余白は付けない） */
p:has(img.attachment-medium_large + img.attachment-medium_large) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 0 !important;
    margin: 0 0 2px !important;
}

/* 文章の直後に来る場合だけ、上に余白を付ける */
.entry-body p:not(:has(img)) + p:has(img.attachment-medium_large + img.attachment-medium_large) {
    margin-top: 64px !important;
}

p:has(img.attachment-medium_large + img.attachment-medium_large) img.attachment-medium_large {
    flex: 0 1 calc(50% - 1px) !important;
    width: auto !important;
    height: auto !important;
    max-width: 460px !important;
    min-width: 0 !important;
    display: inline-block !important;
	margin: 0 !important;
}

/* モバイル時：2枚並びを解除し、1枚ずつ大きく縦表示 */
@media (max-width: 767px) {
    p:has(img.attachment-medium_large + img.attachment-medium_large) {
        display: block !important;
    }
    p:has(img.attachment-medium_large + img.attachment-medium_large) img.attachment-medium_large {
        flex: none !important;
        display: block !important;
        width: 80% !important;
        max-width: 80% !important;
        height: auto !important;
        margin: 12px auto !important;
    }
}