@charset "UTF-8";

:root {
    --primary-white: #F1E7DF;
    --primary-black: #46332F;
    --primary-pink: #E38B75;
    --primary-beige: #E6CCB5;
    --contentWidth: 83.6%;
    --contentPadding: 8.2%;
 }

.news{
    text-align: center;

}
.news__mainImg__SP{
    width: 100%;
}

.news__mainImg__PC{
    display: none;
}

.news__title{
    width: 60%;
}

.newsCopy{
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary-black, #46332F);

    border-top: 3px solid var(--primary-beige, #E6CCB5);
    border-bottom: 3px solid var(--primary-beige, #E6CCB5);
    padding: 20px;
    margin: 20% 10% 
}

.news__list {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary-white, #F1E7DF);
    border-radius: 30px;
    padding: 0 10%;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
}

.news content{
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.news__item:last-child {
    border-bottom: none;
}

.news__img{
    max-width: 40%;
    border-radius: 10px; 
}

.news__item{
    display: flex;
    align-items: center; 
    padding: 6% 0; 
    border-bottom: 2px solid var(--primary-beige, #E6CCB5);
    width: 100%;
}



.item__txt{
    gap: 8px;
    font-size: 14px;
    text-align: left;
}

.news__time{
    font-size: 1.4rem;
}

.news__topic{
    font-size: 1.6rem;
}


/* news PC */
@media screen and (min-width: 960px){
    .news__title{
        width: 20%;
    }

    .news__mainImg__SP{
        display: none;
    }
    
    .news__mainImg__PC{
        width: 100%;
        display: block;
    }
    .news__title{
        width: 20%;
    }

    .newsCopy{
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        text-align: center;
        font-size: 1.8rem;
        color: var(--primary-black, #46332F);
    
        border-top: 3px solid var(--primary-beige, #E6CCB5);
        border-bottom: 3px solid var(--primary-beige, #E6CCB5);
        padding: 30px;
        margin: 10% 20% 
    }

    .news__list{
        display: flex;
        background-color: var(--primary-white, #F1E7DF);
        border-radius: 30px;
        padding: 0 20% 10%;
        flex-direction: row;
        gap: 0;
        margin-top: 2%;
        align-items: flex-start;
        gap:2%;
        height: auto;
        justify-content: space-between;
    }

    
    .news__list li{
        width: 30%;
        border-bottom: none;
    }


    .news__list a{
        display: flex;
        gap: 8px;
        flex-direction: column;
        height: 100%;
    }
    

    .news__img{
        display: flex;
        max-width: 100%;
        height: 50%;
        width: 100%;
    }

    .item__txt{
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: left;
        width: 100%;
        padding-left: 8px;
    }

    .news__time{
        font-size: 1.4rem;
    }
    
    .news__topic{
        font-size: 1.6rem;
    }
    

}