@charset "utf-8";

/* ---------- NEWS ---------- */
.news__wrap {}
.news-area {
    border-left: 1px #fff solid;
}
.news-area ul.news__items {}
.news-area ul.news__items li > a,
.news-area ul.news__items li > div {
    color: #000;
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.news-area ul.news__items li > a:hover p.news__title {
    text-decoration: underline;   
}

.news-area ul.news__items li time { color: #bfbfbf; }

/* all link */
p.news__all-link {
    text-align: right;
}
p.news__all-link > a {
    color: #fff;
    position: relative;
}
p.news__all-link > a::after {
    content: '>';
    display: inline-block;
    margin-left: 4px;
    position: absolute;
    top: -5px;
    right: -12px;
    transition: ease 0.3s;
}
p.news__all-link > a:hover::after {
    content: '>';
    display: inline-block;
    right: -15px;
}

/* category */
p.news__cat {
    background: #fff;
    border: 1px #bfbfbf solid;
    border-radius: 15px;
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1;
    padding: 6px 24px;
    text-align: center;
    width: 160px;
}

/* category change */
p.news__cat.news__cat--blue { color: #01abd3; }
p.news__cat.news__cat--green { color: #02b354; }
p.news__cat.news__cat--pink { color: #d768cc; }
p.news__cat.news__cat--purple { color: #876ed6; }


/* archive */
.news-header { padding-top: 4rem; padding-bottom: 4rem; }
.news-header h1 {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 8rem;
    letter-spacing: 1rem;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

/* archive tab */
ul.news-tab__wrap {
    font-size: 1.5rem;
    margin-bottom: 4rem;
}
ul.news-tab__wrap li.news-tab__item {}
ul.news-tab__wrap li {
    float: left;
    background: #fff;
    border: 1px solid #0093c4;
    transition: ease 0.3s;
}
ul.news-tab__wrap::after {
    content: '';
    display: block;
    clear: both;
    width: 100%;
}
ul.news-tab__wrap li a {
    color: #0093c4;
    padding: 6px 18px;
    display: block;
    transition: ease 0.3s;
}
/* active */
ul.news-tab__wrap li.active,
ul.news-tab__wrap li:hover {
    background-color: #0093c4;
}
ul.news-tab__wrap li.active a,
ul.news-tab__wrap li:hover a {
    color: #fff;
}


@media screen and (max-width: 768px) {
    /* ---------- NEWS ---------- */
    .news__wrap {
        flex-wrap: wrap;
    }
    .news__wrap  > .news__title {
        font-size: 8rem;
    }
    .news-area {}
    .news-area ul.news__items li.news__item { 
        border-bottom: 1px solid #bfbfbf;
        margin-bottom: 20px;
        padding-bottom: 30px;
    }
    .news-area ul.news__items li > a,
    .news-area ul.news__items li > div {
        flex-wrap: wrap;
    }
    .news-area ul.news__items li time {
        font-size: 1.5rem;
        margin-right: 4%;
    }
    .news-area ul.news__items li p.news__title {
        font-size: 1.6rem;
        line-height: 1.5;
        width: 100%;
        margin: 0;
    }
    p.news__all-link {
        font-size: 1.6rem;
    }
}