.news{
    background-image: url("../images/washi.jpg");
    background-color: #F1F1F199;
    background-blend-mode: soft-light;
    background-position: center;
    background-repeat: round;
}
.news .inner{
    
}

.news .news-list{
    width: 90rem;
    margin: auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.news .news-list .news-item{
    width: 29rem;
    background-image: url(../images/white_bg.jpg);
    background-color: white;
    padding: 1rem;
    box-shadow:5px 3px 3px #bbbbbb;
    border: solid 1px #bbb;
}
.news .news-list .news-item .news-date{
    width: 100%;
    border-bottom: 1px solid gray;
    color: gray;
}
.news .news-list .news-item .news-date small{
    font-size: 1.5rem;
    color: gray;
}
.news .news-list .news-item p:not(.news-date){
    width: 100%;
    height: 5.5rem;
    margin: 2rem 0;
    overflow-y: hidden;
    font-weight: bold;
}
.news .news-item button{
    display: block;
    width: fit-content;
    border-radius: 100vw;
    padding: 0.5rem 3rem;
    text-align: center;
    margin: auto;
    background-color: #7A5684;
    color: white;
}
.news .load-button{
    display: block;
    width: fit-content;
    border-radius: 100vw;
    padding: 0.5rem 5rem;
    text-align: center;
    margin: 3rem auto;
    background-color: #7A5684;
    color: white;
}

.news-window{
    background-image: url(../images/white_bg.jpg);
    background-color: ghostwhite;
    position: fixed;
    z-index: 99999;
    width: 90vw;
    max-height: 90vh;
    padding: 2rem 3rem;
    height: fit-content;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 2px 3px 2px #666;
    border: solid 10px #7A5684;

    overflow-y: scroll;
}
.news-window .scroll-area{
    overflow-y: scroll;
    overflow-x: clip;
    max-height: 65vh;
}
.news-window p{
    color: black;
}
.news-window .news-title{
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
    border-bottom: 1px solid #978477;
}
.news-window .news-date{
    padding: 1rem;
    text-align: right;
}
.news-window .news-detail{
    padding-bottom: 5rem;
    line-height: 2;
}
.news-window button{
    padding: 1rem 10rem;
    border-radius: 100rem;
    border: solid 1px #333;
    width: fit-content;
    margin: auto;
    display: block;
    background-color: #7A5684;
    color: white;
}

@media screen and (max-width: 768px) {
    .news{
        background-image: url("../images/washi.jpg");
        background-color: #F1F1F199;
        background-blend-mode: soft-light;
        background-position: center;
        background-repeat: round;
    }
    .news .inner{

    }

    .news .news-list{
        width: 98vw;
        margin: auto;
        display: flex;
        gap: 1.5vw;
        flex-wrap: wrap;
    }
    .news .news-list .news-item{
        width: 96vw;
        background-color: white;
        padding: 5vw 3vw;
        box-shadow:5px 3px 3px #bbbbbb;
    }
    .news .news-list .news-item .news-date{
        width: 100%;
        border-bottom: 1px solid gray;
    }
    .news .news-list .news-item .news-date small{
        font-size: 2rem;
        color: gray;
    }
    .news .news-list .news-item p:not(.news-date){
        width: 100%;
        height: 5.5rem;
        margin: 2rem 0;
        overflow-y: hidden;
        font-weight: bold;
        font-size: 2rem;
    }
    .news .news-item button{
        display: block;
        width: fit-content;
        border-radius: 100vw;
        padding: 1rem 5rem;
        text-align: center;
        margin: auto;
        background-color: #7A5684;
        color: white;
        font-size: 2rem;
    }
    .news .load-button{
        display: block;
        width: fit-content;
        border-radius: 100vw;
        padding: 0.5vw 5vw;
        text-align: center;
        margin: 3vw auto;
        background-color: #7A5684;
        color: white;
        font-size: 2rem;
    }

    .news-window{
        background-color: ghostwhite;
        position: fixed;
        z-index: 99999;
        width: 90vw;
        max-height: 90vh;
        padding: 2rem 3rem;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        box-shadow: 2px 3px 2px #666;
        border: solid 10px #7A5684;
    }
    .news-window p{
        color: black;
        font-size: 2rem;
    }
    .news-window .news-title{
        text-align: center;
        font-weight: bold;
        font-size: 2.5rem;
        border-bottom: 1px solid #978477;
    }
    .news-window .news-date{
        padding: 1rem;
        text-align: right;
        font-size: 1.5rem;
    }
    .news-window .news-detail{
        padding-bottom: 5rem;
        font-size: 2rem;
        line-height: 2;
    }
    .news-window button{
        padding: 1rem 10rem;
        border-radius: 100rem;
        border: solid 1px #333;
        width: fit-content;
        margin: auto;
        display: block;
        background-color: #7A5684;
        color: white;
        font-size: 2rem;
    }
}