/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 07 2026 | 01:54:35 */
/* 1. リスト全体のグリッド設定 */
.wp-block-latest-posts.wp-block-latest-posts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* 投稿同士の間隔 */
    list-style: none;
    padding: 20px;
}

/* 2. 各投稿（カード全体）の設定 */
.wp-block-latest-posts li {
    display: flex;
    flex-direction: column;
    background: #fff; /* 背景を白にする（必要に応じて） */
    border: 1px solid #eee; /* 薄い枠線（必要に応じて） */
    height: 100%;
}

/* 3. 画像の設定（上側には余白を入れず、左右の幅に合わせる） */
.wp-block-latest-posts__featured-image {
    width: 100%;
    margin: 0 0 15px 0 !important;
}

.wp-block-latest-posts__featured-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* 4. テキスト部分（タイトルと抜粋）に左右と下の余白を付ける */
.wp-block-latest-posts__post-title,
.wp-block-latest-posts__post-excerpt {
    padding-left: 15px;  /* 左の余白 */
    padding-right: 15px; /* 右の余白 */
}

.wp-block-latest-posts__post-title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    line-height: 1.4;
}

.wp-block-latest-posts__post-excerpt {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px; /* 下の余白 */
    color: #555;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .wp-block-latest-posts.wp-block-latest-posts__list {
        grid-template-columns: 1fr;
    }
}