@charset "utf-8";

.seminar-news-list .content_area.seminar-news {
    padding-bottom: 0;
}

.seminar-news-list #footer_wrap::after {
    background-color: #FFF8FA;
}

.news_bg {
    padding: 51px 0 141px;
    position: relative;
}

.news_bg::before {
    position: absolute;
    content: "";
    width: 100vw;
    height: 100%;
    background: #FFF8FA;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
}

.news_box {
    display: none;
    text-align: center;
}

.news_box.all_cate {
    display: block;
}

.news_list {
    text-align: left;
    background: #FFF;
    border-radius: 5px;
    padding: 0 19px;
}

.news_item {
    border-bottom: 1px solid rgba(242, 136, 158, 0.239);
}

.news_item:last-child {
    border-bottom: none;
}

.news_link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-decoration: none;
    min-height: 93px;
    padding: 8px 6px;
}

.news_cate {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    color: #FFF;
    width: 114px;
    padding: 3px 0 0;
    margin-right: 34px;
    background: #F2889E;
    border-radius: 20px;
    transition: all .3s ease;

}

.seminar_tag {
	background: #88CCF6;
}

.news_date {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0;
    color: #F2889E;
    width: 145px;
    margin-right: 25px;
    transition: all .3s ease;
}

.news_ttl {
    font-size: 2.0rem;
    font-weight: bold;
    color: #222;
    margin: 0;
    max-width: calc(100% - 330px);
    transition: all .3s ease;
}

.news_ttl::after {
    content: url(/niigata-hellowork/content/contents/jmc_arrow_p.svg);
    position: absolute;
    right: 20px;
}

/* hover */
.news_link:hover .news_cate {
    background: #ffaec0;
}

.news_link:hover .seminar_tag {
	background: #adddfa;
}

.news_link:hover .news_date,
.news_link:hover .news_ttl {
    color: #D83155;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
    margin-top: 40px;
}

.pagination a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3em;
    height: 3em;
    border-radius: 25px;
    background-color: #fff;
    color: #d83155;
    font-weight: 500;
}

.pagination a:not(:hover) {
    text-decoration: none;
}

.pagination a:hover {
    background: #d83155;
    color: #fff;
    transition: all .3s ease;
}

.pagination .current a {
    background-color: #d83155;
    color: #fff;
    pointer-events: none;
}

.pagination li {
    list-style: none;
}

/*------------ single ------------*/
.news_cate_date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.news_cate_date .news_cate {
    margin-right: auto;
}

.news_cate_date .news_date {
    margin-right: 0;
}

@media screen and (max-width:767px) {
    .news_tab_item {
        font-size: 1.5rem;
        width: calc((100% - 2px) / 3);
        padding: 12px 10px 8px;
    }
    .seminar_tab{
        font-size: 1.5rem;
        width: calc((100% - 2px) / 3);
        padding: 12px 10px 8px;

    }

    .news_bg {
        padding: 25px 0 80px;
    }

    /* .news_list {
        padding: 0 20px;
        margin: 0 0 23px;
    } */

    .news_link {
        min-height: auto;
        padding: 20px 0 15px;
    }

    .news_cate {
        font-size: 1.2rem;
        line-height: 2;
        width: 88px;
        margin-right: 0;
    }

    .news_date {
        font-size: 1.3rem;
        text-align: left;
        width: 90px;
        margin-right: 0;
    }

    .news_ttl {
        font-size: 1.3rem;
        line-height: 1.6;
        max-width: none;
        width: 100%;
        margin: 2px 0 0;
        padding-right: 1.5em;
    }

    .news_cate_date .news_date {
        font-size: 1.3rem;
    }
}