@charset "utf-8";

/* =====================================
main
===================================== */

#blog {
    padding-bottom: 56px;
}

.blog__contents {
    padding: 32px 12.8%;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog__box {
    box-shadow: 4px 5px 5px 0px rgba(0, 0, 0, 0.25);
    margin-top: 32px;
}


.blog__image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}


.blog__item {
    padding: 19px 0 16.5px 6.4%;
    height: 150px;
}

.blog__detail {
    display: flex;
    gap: 8px;
}

.blog__category {
    color: var(--white);
    background-color: var(--royalblue);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    width: fit-content;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 0 8px;
}

.blog__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 8px;
}


.blog__tab-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.blog__tag-item {
    color: var(--main-blue, #013CA6);
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--main-blue, #013CA6);
    font-size: 1.0rem;
    font-weight: 500;
    width: fit-content;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* blog pc 768 */
@media screen and (min-width: 768px) {
    .blog__box {
        margin-left: 10px;
        margin-right: 10px;
    }
}


@media screen and (min-width: 1280px) {
    #blog {
        padding: 160px;
    }

    .blog__btn-more {
        width: 400px;
        height: 80px;
        font-size: 24px;
        font-weight: 700;
    }

    .blog__contents {
        width: 100%;
        padding: 96px 160px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin: 0 auto;

    }

    .blog__box {
        width: 279px;
    }
}

/* 1280 pc*/


@media screen and (min-width: 1600px) {
    .blog__contents {
        padding: 48px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .blog__box {
        width: 25%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* pc 1600 */