

/* Debug */



/* 変数定義 */
:root {
    --color-main: rgba(109, 206, 219, 1);
    --color-main-deep: rgba(8, 132, 149, 1);
    --color-accent: red;
    --color-base: rgba(255, 218, 146, 1);
}

/* サイト内共通部 */
html{
    background-color: var(--color-base)
}


body{
    margin: 0 auto;
    width: 100%;
    z-index: -100;
    /* container-type: inline-seize; */
}

h2{
    padding: 20px;
    margin: 0;
    animation: SlideIn 1.6s;
}
/* @keyframes SlideIn {
    0% {
    opacity: 0;
    transform: translateX(64px);
    }
    100% {
    opacity: 1;
    transform: translateX(0);
    }
}  */



/* ヘッダー */

header{
    height: 70px;
    width: 100%;
    /*layout*/
    position:fixed;
    top: 0;
    left: 0;
    z-index:10000 ;
    /*style*/
    background-color: var(--color-main);
    color: azure;
}

#header_hide{
    height: 70px;
    width: 100%;
}

#headerDiv{
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex : 1;
    padding: 0 10px;
}


h1{
    text-align: center;
    line-height: 70px;
    margin: 0;
}


#header_nav{
    height: 70px;
    width: 70%;
    margin: 0 0 0 0;
    /*style*/
    /* background-color: white;
    color: black; */
}

#header_nav_list{
    height: 70px;
    margin: 0 0 0 0;
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
}

li{
    /*layout*/
    flex : 1;
    text-align: center;
    height: 70px;
    margin: 0 auto;
    display: block;
    
    /*style*/
    font-size: 20px;
    /* Debug */
    /* padding: 10px 20px; */
    background-color: var(--color-main);
    color: #3e3d3c;
    border-bottom: 5px solid transparent;
    border: black;
}
/* li:hover, li:focus{
    background-color: var(--color-main-deep);
    color: aliceblue;
    height: 65px;
    border-bottom: 5px solid transparent;
    border-color: azure;
} */
a.navlist{
    display: block;
    height: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
    text-decoration: none;
    color: azure;
}
a.navlist:hover, a.navlist:focus{
    background-color: var(--color-main-deep);
    color: aliceblue;
    padding-bottom: 15px;
    border-bottom:  5px solid transparent;
    border-color: azure;
}


#hamburger_menu{
    height: 70px;
    margin: 0;
    /* display: none; */
    z-index:10001 ;
}
#sidemenu{
    position: absolute;
    display: none;
}
.close_sidemenu{
    position: absolute;
    display: none;
}
.hamburger_icon{
    display: none;
    height: 75px;
    width: auto;
    margin: 0 0 0 0;
    font-size: 60px;
    font-weight: 80;
    text-align: center;
    line-height: 75px;
}
@media screen and (max-width: 500px) {
    header{
        height: 70px;
        width: 100%;

    }
    #headerDiv{
        width: 100%;
    }
    h1{
        font-size: 30px;
        line-height: 70px;
        padding-left: 5px;
    }
    #header_nav{
        width: 0px;
    }

    #header_nav_list{
        display: inline;
        width: 100%;
        position: absolute;
        top: -300px;
        left: 0px;
        padding: 0;
    }
    .hamburger_icon{
        display: block;
        position: absolute;
        top: 0;
        right: 0;

    }
    input[type="checkbox"]:checked ~ #header_nav_list{
        width: 100%;
        top: 70px;
        left: 0px;
        
    }
    input[type="checkbox"]:checked ~ .hamburger_icon{
        display: none;
    }
    input[type="checkbox"]:checked ~ .back_sidemenu{
        position: fixed;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0,0,0,0.6);
    }
    input[type="checkbox"]:checked ~ .close_sidemenu{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        font-size: 50px;
        z-index:10005 ;
    }
}

/* ヘッダー　終了 */

/* フッター */
footer{
    width: 100%;
    height: 300px;
    background-color: var(--color-main);
    margin: 0 auto;

}
/* フッター　終了 */
/* サイト内共通部　終了 */


