@charset "UTF-8";
html{
    background-color: #F2EBE1
}

html,body{
    margin:0;padding:0;
}

a {
    text-decoration:none;
}

/*ヘッダー*/
#header-img-sm{
    display: none;
}

.hamburger-wrap{
    display: none;
}

#header-img {
    margin-top: -50px;
}

.nav-list {
    display: flex;
    justify-content: center;

    font-family: "Rubik Mono One", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 45px;

    margin-bottom: -66px;
}

.nav-list-item {
    margin-top: 7px;
    margin-left: 50px;
    list-style-type: none;
}

.nav-list-item a{
    color: #AA231A;
}

.nav-list-item a:hover{
    color: #4d1a0e;
}

/*メインレイアウト*/
.border{
    border-bottom:40px solid #4d1a0e;
    margin: auto;
    width: 1500px;
}

.space {
    margin-bottom: 15vh;
}

.wall{
    border-left: 40px solid #4d1a0e;
    border-right: 40px solid #4d1a0e;
    width: 1330px;
    margin-left: 20px;
    margin-right: 20px;
    position: fixed;
    top:0;
    z-index: -1;
    height: 100%;
}

.wall-wrap{
    display: flex;
    justify-content: center;
}

/*フッター*/
.footer-contents{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #4d1a0e;
    height: 80px;
}

.footer-contents p{
    color: white;
    margin-top: 30px;
}

.footer-img{
    display: flex;
    justify-content: right;
    position: absolute;
    left: 50%;
    margin-left: 400px;
}

.footer-img img{
    margin-left: 10px;
}

/* モバイル版　*/
@media (max-width: 600px) {
    .wall{
        width: 80%;
        border-left: 30px solid #4d1a0e;
        border-right: 30px solid #4d1a0e;
    }

    .border{
        width: 100%;
    }

    .nav-list{
        display: none;
    }

    .footer-img{
        margin-left: 0;
    }

    .github-logo-f{
        margin-top: -10px;
    }

    /* ハンバーガーボタン　*/
    .hamburger {
        display : block;
        position: absolute;
        z-index : 5;
        right : 20px;
        top   : 20px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }
    .hamburger span {
        display : block;
        position: absolute;
        width   : 30px;
        height  : 2px ;
        left    : 6px;
        background : #000000;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition   : 0.3s ease-in-out;
        transition        : 0.3s ease-in-out;
    }
    .hamburger span:nth-child(1) {
        top: 10px;
    }
    .hamburger span:nth-child(2) {
        top: 20px;
    }
    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* スマホメニューを開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top : 16px;
        left: 6px;
        background :#fff;
        -webkit-transform: rotate(-45deg);
        -moz-transform   : rotate(-45deg);
        transform        : rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 16px;
        background :#fff;
        -webkit-transform: rotate(45deg);
        -moz-transform   : rotate(45deg);
        transform        : rotate(45deg);
    }

    /* メニュー背景　*/
    nav.globalMenuSp {
        position: fixed;
        z-index : 4;
        top  : 0;
        left : 0;
        color: #fff;
        background: rgba(26,26,26);
        text-align: center;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        transition: all 0.6s;
    }

    nav.globalMenuSp ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: .4s all;
    }
    nav.globalMenuSp ul li:last-child {
        padding-bottom: 0;
    }
    nav.globalMenuSp ul li:hover{
        background :#ddd;
    }

    nav.globalMenuSp ul li a {
        display: block;
        color: #fff;
        padding: 3rem 0;
        text-decoration :none;
        font-size: 50px;
        font-family: "Rubik Mono One", monospace;
        font-weight: 400;
        font-style: normal;
    }

    /* クリックでjQueryで追加・削除 */
    nav.globalMenuSp.active {
        opacity: 100;
        display: block;
        transform: translateX(0%);
    }

}