@charset "UTF-8";
/* 追加CSS */

/* 20250804追記 */
.all_on_4_sec {
    background: url(/wp-content/uploads/under_bg001.jpg) no-repeat center / cover;
    padding: 100px 0;

    @media (max-width: 767px) {
        padding: 60px 0;
    }
}

.all_on_4_sec .box {
    /* border: 2px solid #993300; */
    box-shadow: 0px 0px 10px #d1d1d1;
    background: #ffffff;
    padding: 12px;
}

.all_on_4_sec .box .ttl {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;

    @media (max-width: 767px) {
        font-size: 20px;
    }
}

.all_on_4_sec .box .ttl .number {
    display: inline-block;
    margin-right: 8px;
    font-size: 24px;
    font-weight: bold;
    background: #993300;
    color: #fff;
    width: 45px;
    text-align: center;
}

.all_on_4_sec .box .ttl .color {
    color: #993300;
}

.all_on_4_sec .box figure img {
    width: 100%;
}

.all_on_4_sec .box .txt_box {

    margin-top: 10px;
    background: #ededea;
    text-align: center;
    padding: 20px 15px;

    @media (max-width: 1140px) {
        min-height: 188px;
    }

    @media (max-width: 767px) {
        min-height: auto;
    }

}

.all_on_4_sec .box .txt_box .bold {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0px;

    @media (max-width: 767px) {
        font-size: 17px;
    }
}

.all_on_4_sec .box .txt_box .txt {

    @media (max-width: 767px) {
        font-size: 15px;
    }

}

    /* 20250822追記 */
    .recommend_img_box {
        height: 232px;
    }


    @media (max-width: 767px) {
        .recommend_img_box {
            height: 262px;
        }
    }

    @media (max-width: 425px) {
        .recommend_img_box {
            height: 162px;
        }
    }

    .recommend_img_box img {
        height: 100%;
        object-fit: cover;
    }

    .img_hover_box {
        cursor: pointer;
        margin-inline: auto;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .img_hover_box img {
        left: 0;
        position: absolute;
        width: 100%;
    }

    .img_hover_box img:last-of-type {
        left: 100%;
        transition: left .7s;
    }

    .img_hover_box:hover img {
        left: 0;
    }