/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 26 2026 | 07:15:29 */
/* ==========================================
 * NEWセクション全幅背景（画面幅100%）
 * ========================================== */
.new-section-group {
    width: 100% !important;
    background-color: #fbfbfb !important; /* 全幅背景色 */
    padding-top: 24px !important;         /* 上の余白 */
    padding-bottom: 60px !important;      /* 下の余白 */
    position: static !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* ==========================================
 * コンテンツ幅の自動追従（画面幅縮小時の調整）
 * ========================================== */
/* 通常時（PC） */
.new-section-group > * {
    max-width: 1080px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* 画面幅が狭くなり、上のメインエリアが 940px に縮んだときの追従指定 */
@media screen and (max-width: 1120px) {
    .new-section-group > * {
        max-width: 940px !important; /* メインエリアに合わせて 940px に制限 */
    }
}

/* さらに画面が縮んだ場合（スマホ・タブレット表示用） */
@media screen and (max-width: 980px) {
    .new-section-group > * {
        max-width: 100% !important;
        padding-left: 20px !important;  /* 画面端に密着しないよう左右余白を確保 */
        padding-right: 20px !important;
    }
}

/* ==========================================
 * 見出し・カード自体の調整
 * ========================================== */
/* NEWの見出し */
.new-section-group h3.wp-block-heading {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-left: 0 !important;
}

/* 4つのカードを囲むリスト（余白リセット＆影の切り取り防止） */
.new-section-group ul.wp-block-latest-posts {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

/* 各投稿カード（背景：白） */
.new-section-group ul.wp-block-latest-posts > li {
    background-color: #ffffff !important;
    padding: 24px 16px;
    border-radius: 0px;
    box-sizing: border-box;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* ホバー時のシャドウ（右下にうっすら影） */
.new-section-group ul.wp-block-latest-posts > li:hover {
    background-color: #ffffff !important;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px);
}
