@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

*{
    margin:0;
    padding:0;
}    

.header{
    display: block;
    text-align: center;
    color:#fff;
    padding: 30px 0;
    font-size: 40px;
    text-shadow: 0px 3px 6px black;
    text-decoration: none;
    font-weight: bold;
}

body{
    background-image: url(img/banksy_collage.jpg);
    background-attachment: fixed;
    font-family: 'Noto Sans JP', sans-serif;
}

.menu-btn {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 10px;
    right: 10px;
    height: 96px;
    width: 96px;
    z-index: 90;
    background-image: url(img/button/menu.png);
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 42px;
    border-radius: 10px;
    background-color: #ffffff;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/*ここからメニューデザイン*/
.menu-content {
    width: 670px;
    height: 600px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #d12c1e;
}

.menu-content ul {
    padding: 120px 10px 0;
}

.menu-content ul li {
    list-style: none;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 40px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    text-align:end;
    padding: 15px 15px 15px 0px;
    position:relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 0px;
}

.menu-content ul li a:hover {
    background: #fff;
    color: #d12c1e;
}

.menu-content {
    width: 400px;
    height: 600px;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #d12c1e;
    transition: all 0.5s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: calc(100% - 400px);/*メニューを画面内へ*/
}

.top{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    width: 90px;
    font-size:50px;
    right: 15px;
    bottom: 15px;
    text-decoration: none;
    background-color: #d12c1e;
    color:#fff;
    z-index: 79;
}

#container{
    background:#fff;
    width :1000px;
    margin :0 auto;
    padding-bottom: 30px;
}



/*-----------------------------------------------------------------------*/

@media screen and (max-width: 768px) {
/*max-widthの数値以内の幅のときの指示(要はスマホ用)*/

.header{
    display: block;
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
    color:#000;
    text-shadow: none;
    font-weight: bold;
}

.top{
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    font-size: 14px;
    text-decoration: none;
    background-color: #d12c1e;
    color:#fff;
    z-index: 79;
}

    body{
        width: 100%;
        background-size:contain;
    }


    .menu-btn {
        height: 40px;
        width: 40px;
        background-image: url(img/button/s_menu.png);
    }

    .menu-btn span{
        height: 2px;
        width: 16px;
        margin-top: 0;
    }
    
    .menu-btn span:before{
        height: 2px;
        width: 16px;
        margin-bottom: -2px;
    }

    .menu-btn span:after {
        height: 2px;
        width: 16px;
        margin-top: -2px;
    }
    
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 2px;
    }
    
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 2px;
    }
   
    /*ここからメニューデザイン*/
    .menu-content {
        width: 100%;
        height: 100%;
    }

    .menu-content ul li a {
        text-decoration: none;
        text-align:center;
        padding: 15px 10px 20px 10px;
        font-size: 30px;
    }


    .menu-content {
        width: 100%;
        height: 100%;
    }

    #menu-btn-check:checked ~ .menu-content {
        left: calc(100% - 100%);/*メニューを画面内へ*/
    }

    #container{
        width: 100% !important;
    }

}