* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
    color: black;

}

body{

background-image: url("img/news_background.png");
background-color: black;
background-size: cover;

}

hr{
  color: white;}
}

.wrapper {
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeUpTrigger {
    opacity: 0;
}

.news-section h1 {
    font-size: 6em;
    color: #ffd700;
    text-align: left;
    margin-bottom: 50px;
    margin-top: 50px;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    padding-left: 100px;
}

.news-section ul {
    list-style-type: none;
    display: flex;
 flex-direction: column;
 font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
 color: #cecece;
}

.news-section a {
    font-size: 2em;
    margin-bottom: 30px;
    padding-top: 30px;
    line-height: 1.5;
    text-align: left;
    margin-left: 50px;
    color:white;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;

}

#g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: all 0.6s;
}

#g-nav.panelactive {
    right: 0;
}

#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

#g-nav-list ul {
    list-style-type: none;
    padding: 0;
}

#g-nav-list ul li {
    margin-bottom: 10px;
    color: black;
}

#g-nav-list ul li a {
    font-size: 2em;
    text-decoration: none;
    color: black;
    display: block;
    padding: 40px;
}

.openbtn1 {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    margin-right: 50px;
}

.openbtn1 span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 70%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

@media screen and (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        line-height: 0;
        color: #000B00;

    }

    body {
        background-image: url("img/news_back_mobile.png");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .wrapper {
        overflow: hidden;
        display: flex;
        justify-content: center;
    }

    .fadeUp {
        animation-name: fadeUpAnime;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes fadeUpAnime {
        from {
            opacity: 0;
            transform: translateY(100px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fadeUpTrigger {
        opacity: 0;
    }


    .news-section h1 {
        font-size: 4em;
        color: #a08c61;
        text-align: center;
        padding-left: 4px;
        margin-top: 60px;
        margin-bottom: 40px;
        font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    }

    .news-section ul {
        list-style-type: none;
        padding-left: 0;
        padding-top: 40px;
        font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;

    }

    .news-section a {
        font-size: 1em;
        margin-bottom: 10px;
        line-height: 3;
        text-align: left;
        margin-left: 5px;
        color:#cecece;
        font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
        text-decoration: none;
    }



    #g-nav {
        position: fixed;
        z-index: 999;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: all 0.6s;
    }

    #g-nav.panelactive {
        right: 0;
    }

    #g-nav.panelactive #g-nav-list {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav ul {
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav li {
        list-style: none;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    #g-nav-list ul {
        list-style-type: none;
        padding: 0;
    }

    #g-nav-list ul li {
        margin-bottom: 10px;
        color: black;
    }

    #g-nav-list ul li a {
        font-size: 2em;
        text-decoration: none;
        color: black;
        display: block;
        padding: 40px;
    }

    .openbtn1 {
        position: fixed;
        z-index: 9999;
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        margin-right: 50px;
    }

    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 70%;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}
