@charset "UTF-8";

/* #news_list{
    margin: auto;
} */

#news_list .wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60%;
    margin: auto;
    margin-bottom: 10rem;
}

#news_list .wrap .nam{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#news_list .wrap .nam p{
    width: 20rem;
    text-align: center;
    border-right: 1px solid #707070;
    line-height: 150%;
}

#news_list .wrap .nam a{
    width: calc(100% - 45rem);
    font-size: 2rem;
    padding-left: 5rem;
}

#news_list .wrap .nam a:hover{
    background: lightgray;
}

@media screen and (max-width:1024px){
    #news_list .wrap{
        width: 80%;
    }
}

@media screen and (max-width: 767px){

    #news_list .wrap .nam{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 1rem;
        border-bottom: 1px solid #707070;
        position: relative;
    }

    #news_list .wrap .nam::after{
        content: ">";
        position: absolute;
        color: #707070;
        font-size: 2rem;
        font-weight: 300;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        right: 0;
        margin-left: -50%;
        transform: translate(-50%, -50%);
        top: 50%;
    }

    #news_list .wrap .nam p{
        border-right: none;
        text-align: left;
        margin-bottom: .5rem;
    }

    #news_list .wrap .nam a{
        width: 100%;
        padding-left: 0;
    }
}