@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=M+PLUS+1p');
a{
    color: orange;
    text-decoration: none;
}
li{
    list-style:none
}
html{
    height: 100%;
    font-family: 'M PLUS 1p', sans-serif;
}
body{
    margin: 0;
    background-color: #fff1a454;
}
header{
    height:80px;
    background-color:white;
    display: flex;
    align-items: center;
    padding: 0 24px;
}
header nav{
    margin:0 0 0 auto;
}
.logo img{
    height:80px;
}
.nav_header{
    display:flex;
    align-items: center;
    gap:40px;
}
.nav_header{
    font-size: 20px;
}
.menu{
    width: 40px;
    height: 40px;
    background-image: url(../img/menu.svg);
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 0 0 60px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: none;
}
.menu_contents li{
    text-align: center;
    margin-bottom: 50px;
    margin: 0 auto 50 auto;
    font-size: 20px;
    opacity: 1;
    color: white;
}
.menu:hover{
    background-color: #ddd;
    border-radius: 4px;
}
.menu.active{
    background-image: url(../img/close.svg);
}
.menu.active:hover{
    background-color: #ddd;
    border-radius: 4px;
}
.menu_contents{
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: none;
}
.menu_contents.active{
    display:flex;
}
.main{
    margin-top: 80px;
}
.main h1{
    color: #f8a065;
}
.main h2{
    text-align: center;
    color:#f8a065;
}
.main h4{
    text-align: center;
    color:gray;
}
.register{
    width:15%;
    margin:20px;
    background-color:#f7ae7e;
    padding:10px 20px;
    box-sizing:border-box;
    margin:0px 3px;
    color:white;
    text-decoration-line:none;
    font-size:30px;
}
.none{
    border-bottom: solid 1px #fd7755;
}
.box{
    display: inline-block;
    width:200px;
}
.pvRanking{
    text-align: center;
}
.recentPosts{
    text-align: center;
}
h1{
    text-align: center;
}
/* フッター */
footer{
    justify-content: space-between;
    box-sizing: border-box;
    height: 50px;
    width:100%;
    background-color:#918d8b;
    color:white;}
#copy{
    margin:10px;
    float:right;
}

@media screen and (max-width: 767px){
    .nav_header{
        display:none;
    }
    .menu{
        display: flex;
    }

}
@media screen and (max-width: 480px){
    .contents{
        width:350px;
    }
    .nav_header{
        display:none;
    }
    .menu{
        display: flex;
    }

}