@charset "utf-8";

/*----------------------------------------------------
　メインビジュアル
----------------------------------------------------*/
#mv {
    background-image: url(../../news/img/mv.jpg);
    /* ニュースの画像を流用 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


#blog {
    background-color: #ECECEC;
    padding-top: 120px;
    position: relative;
    padding-bottom: 120px;
}

#blog .contents {
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
}

.blog_box {
    margin-bottom: 4em;
}

/* カード一覧レイアウト */
.blog_box_list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
}

.blog_card {
    width: calc(33.333% - 1.4em);
    background-color: #FFFFFF;
    overflow: hidden;
    transition: 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1em;
}

.blog_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog_card_img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.blog_card:hover .blog_card_img img {
    transform: scale(1.05);
}

.blog_card_content {
    padding: 1.5em;
    text-align: left;
}

.blog_card_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8em;
}

.blog_card_category {
    display: inline-block;
    background-color: #b3acaf;
    color: #FFFFFF;
    padding: 0em 0.8em;
    font-size: 11px;
}

.blog_card_date {
    color: #868686;
    font-size: 12px;
}

.blog_card_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6em;
    min-height: 3.2em;
    color: #434343;
    margin-bottom: 1em;
}

.blog_card_link {
    display: inline-block;
    color: #868686;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-right: 1.5em;
    transition: 0.3s;
}

.blog_card_link:after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid #868686;
    border-right: 2px solid #868686;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -3px;
    transition: 0.3s;
}

.blog_card:hover .blog_card_link {
    color: #434343;
}

.blog_card:hover .blog_card_link:after {
    border-color: #434343;
    right: -3px;
}

/* ページネーション */
.pagination {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.pagination a,
.pagination .current {
    background-color: #DDDDDD;
    margin-right: 4px;
    margin-left: 4px;
    padding: 10px 15px;
    color: #000000;
    text-decoration: none;
    display: inline-block;
}

.pagination a:hover {
    background-color: #BFBFBF;
}

.pagination .current {
    background-color: #474747;
    color: #FFFFFF;
}

/*----------------------------------------------------
　レスポンシブ設定768以下
----------------------------------------------------*/
@media screen and (max-width: 768px) {
    #mv {
        height: 200px;
    }

    #mv h2 {
        font-size: 30px;
    }

    #blog {
        padding-top: 5em;
        padding-bottom: 5em;
    }

    .blog_card {
        width: 100%;
    }

    .blog_box_list {
        gap: 1.5em;
    }
}