header {
    background-color: #000000;
}


header.acitve {
    background-color: rgb(0, 0, 0, 0.7);
}


header menu ul li {
    text-align: center;
    margin: 3vh 0;
    font-size: 25px;
}

header menu a {
    color: #fff;
}

header menu .box span {
    background-color: #fff;
}


section#news {
    height: auto;
    min-height: 75vh;
    padding: 10vh 0 15vh;
    position: relative;
}

a.button {
    border: #000000 1px solid;
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
}

.wrapper {
    margin: 0 auto;
    width: 80%;
    max-width: 1480px;
}

#news h2 {
    font-size: 120px;
    writing-mode: vertical-rl;
    font-weight: 400;
    rotate: 180deg;
    margin: 0;
    text-align: right;
    padding-bottom: 30px;
    margin-right: 50px;
}

#news .flex {
    display: flex;
    width: 100%;
}

#news li {
    padding: 10px 20px;
    border-bottom: #000000 1px solid;
    margin-bottom: 10px;
    width: calc(80vw - 222px);
    max-width: 1124px;
    overflow-y: hidden;
    transition: 0.5s;
}

#news span {
    display: inline-block;
}

#news span.date {
    width: 100px;
}

#news span.tags {
    width: 120px;
    background-color: #000000;
    color: #fff;
    text-align: center;
    font-size: 11px;
    padding: 1px 0 3px;
    margin-top: 0;
}

#news h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 10px 0;
}

#news li a {
    color: #000000;
}

#news li a:hover {
    opacity: 0.7;
}

#news li.hide {
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    padding-left: 20px;
}

#news.detail ul {
    border-bottom: #000000 1px solid;
    height: 75vh;
}

#news.detail ul .cnt {
    overflow-y: auto;
    padding: 0 20px;
    max-height: 580px;
}
.totop {
    display: none;
}

@media screen and (max-width:897px) {

    section#news {
        height: auto;
        min-height: 75vh;
        padding: 5vh 0;
        position: relative;
    }

    header.acitve {
        background-color: rgb(0, 0, 0, 0.7);
    }

    #news h2 {
        font-size: 60px;
        writing-mode: horizontal-tb;
        font-weight: 400;
        rotate: 0deg;
        margin: 0;
        text-align: left;
        padding-bottom: 30px;
        margin-right: 50px;
    }

    #news .flex {
        display: block;
        width: 100%;
    }

    .wrapper {
        width: 90%;
    }

    #news ul {
        margin-bottom: 50px;
    }

    #news li {
        padding: 10px 20px;
        border-bottom: #000000 1px dotted;
        margin-bottom: 10px;
        width: calc(100% - 40px);
        max-width: 1124px;
        overflow-y: hidden;
        transition: 0.5s;
    }

    #news h3 {
        font-size: 18px;
        font-weight: 400;
        margin: 10px 0;
    }

    #news.detail ul {
        border-bottom: #000000 1px solid;
        height: auto;
    }

    #news.detail ul .cnt {
        overflow-y: auto;
        padding: 0 20px;
        max-height: 100%;
    }

    a.button {
        border: #000000 1px solid;
        position: absolute;
        bottom: 5vh;
        left: auto;
        right: 5%;
        transform: translateX(0);
        font-size: 16px;
    }

    footer {
        background-color: #fff;
        height: 30vh;
    }

    .totop {
        display: block;
        position: fixed;
        right: 5%;
        bottom: 10px;
        z-index: 99;
    }

        .totop img{
        width: 80px;
    }

}
