@charset "utf-8";

.news-box{
    margin: 0 10%;
    padding: 0 4%;
}

.news-list{
    padding: 2%;
}

.news-item:first-child{
    border-top: 2px solid #333;
}

.news-item{
    padding: 5px 0;
    border-bottom: 2px solid #333;
}

.news-item-info{
    display: flex;
    padding: 5px 0 0 20px;
}

.news-item-date{
    display: block;
}

.news-item-category-box{
    display: block;
    margin: 0 5px;
}

.news-item-category{
    margin: 0 5px;
    padding: 2px 5px;
    background-color: #F09397;
    border-radius: 10px;
    font-size: 1.0rem;
    color: #fff;
    box-shadow: 0 0 4px gray;
    transition: all 0.3s ease;
}

.news-item-category:hover{
    opacity: 0.7;
}

.news-item>a{
    display: inline-block;
}

.news-item-title{
    padding: 5px 0;
    width: fit-content;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-item-title:hover{
    color: #F09397;
}

@media screen and (max-width: 480px) {
    .news-box{
        margin: 0 0;
        padding: 0 0;
    }
    .news-item-info{
        flex-direction: column-reverse;
        padding: 5px 0 0 0;
    }
    .news-item-date{
        text-align: end;
    }
}