/* ブログ直近記事セクション */
.blog-recent-section {
    margin: 2em 0 3em;
    padding: 0 1em;
}

.blog-recent-section h2 {
    text-align: center;
}

.blog-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 1em auto 0;
    padding-left: 2em !important;
}

.blog-recent-item {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.8em !important;
    padding: 0.6em 0.5em !important;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 40px !important;
    font-weight: normal !important;
    position: relative;
}

.blog-recent-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.5em;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: none;
}

.blog-recent-item:hover::after {
    width: calc(100% - 1em);
}

.blog-recent-item:hover {
    font-weight: bold !important;
}

.blog-recent-date {
    font-size: 40px !important;
    color: #888 !important;
    white-space: nowrap;
    padding: 0 !important;
}

.blog-recent-title {
    font-size: 40px !important;
    color: #333 !important;
    flex: 1;
    min-width: 0;
    padding: 0 !important;
}

.blog-recent-item:hover .blog-recent-title {
    color: #333 !important;
}

.blog-recent-more {
    text-align: center;
    margin-top: 1.2em;
}

.blog-recent-more a {
    display: inline-block;
    padding: 20px !important;
    background-image: url(./images/背景画像/003.webp);
    background-size: 210px;
    background-color: #f0f0f0;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 40px !important;
    transition: background 0.2s;
    cursor: pointer;
}

.blog-recent-more a:hover {
    background-image: none;
    background-color: #fff;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .blog-recent-section {
        padding: 0 0.5em;
    }

    .blog-recent-list {
        padding-left: 0.5em !important;
    }

    .blog-recent-item {
        flex-wrap: wrap !important;
        padding: 0.5em 0.3em !important;
        gap: 0.3em !important;
        font-size: 20px !important;
    }

    .blog-recent-date {
        font-size: 20px !important;
    }

    .blog-recent-title {
        width: 100%;
        font-size: 20px !important;
        margin-top: 0.2em;
    }

    .blog-recent-more a {
        font-size: 20px !important;
        padding: 15px !important;
    }
}
