@font-face {
    font-family: myfont;
    src: url("../font/HennyPenny-Regular.ttf");
  }

  html {
    font-size: 100%;
}

body {
    display: flex;
}

a {
    text-decoration: none;
    color: #fff;
}

#sheet2  {
    color: white;
}

.sheet {
    width: calc(100%/3);
}



/*********** sheet1,3 (img.rock) ***********/
.backgroud_rock {
    color: black;
    position: fixed;
    height: 30rem;
}

#sheet1 {
    color: black;
    position: fixed;
}

#sheet3 {
    position: fixed;
    left: 66%
}
/*********** sheet2 (on) ***********/
#sheet2 {
    background-color: black; 
    position: absolute;
    left: calc(100%/3);
}
  
#header_parts {
    width: 100%;
}

main {
    letter-spacing: 0.1em;
}
/*header*/
#header {
    position: fixed;
    display: flex;
    width: calc(100%/3);
    height: 5rem;
    margin-top: -10px;
    z-index: 999;
    background-color: black;
}

#header.invert {
    background-color: white;
    height: 3rem;
    transition: .5s;
}

.flex_header {
    width: 15rem;
    display: flex;
    margin: 1rem;    
}

#header_img {
    width: 3rem;
    transition: .5s;
}

#header_img.invert {
    width: 2rem;
    margin-top: -0.45rem;
    transition: .5s;
}

.header_menu a {
    font-family: myfont;
    height: 5rem;
}

#name_header {
    position: absolute;
    display: inline-block;
    font-size: 2em;
    top: -15px;
    transition: .5s;
}

#name_header.invert {
    color: black;
    font-size: 1.5em;
    transition: .5s;
}

#position {
    width: 6rem;
    text-align: right;
	font-size: 0.4rem;
	margin-top: 1.8rem;
	margin-left: 1rem;
    transition: .5s;
}

#position.invert {
    color: black;
	margin-top: 0.5rem;
    transition: .5s;
}


/*header_menu*/
    /* ここから下がハンバーガーメニューに関するCSS */
    .nav {
    display: block;
    margin-left: auto;
    }  
    /* チェックボックスを非表示にする */
    .drawer_hidden {
    display: none;
    }
    
    /* ハンバーガーアイコンの設置スペース */
    #drawer_open {
        margin-top: 1rem;
    }

    #drawer_open.invert {
        margin-top: 0;
    }

    .drawer_open {
    display: flex;
    height: 60px;
    width: 50px;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
    }
    
    /* ハンバーガーメニューのアイコン */
    .drawer_open span,
    .drawer_open span:before,
    .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: rgb(179, 179, 179);
    transition: 0.5s;
    position: absolute;
    }
    
    /* 三本線の一番上の棒の位置調整 */
    .drawer_open span:before {
    bottom: 8px;
    }
    
    /* 三本線の一番下の棒の位置調整 */
    .drawer_open span:after {
    top: 8px;
    }
    
    /* アイコンがクリックされたら真ん中の線を透明にする */
    #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
    }
    
    /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
    #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
    }
    
    #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
    }
    
    /* メニューのデザイン*/
    #nav_content {
        margin-top: 30px;
    }

    #nav_content.invert {
        margin-top: -3px;
    }

    .nav_content {
    width: 100%;
    height: 350px;
    position: fixed;
    top: 3rem;
    left: 200%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: 0.3s;
    opacity: 0.95;
    }
    
    /* メニュー黒ポチを消す */
    .nav_list {
    list-style: none;
    }
    
    /* アイコンがクリックされたらメニューを表示 */
    #drawer_input:checked ~ .nav_content {
    left: calc(100%/3);/* メニューを画面に入れる */
    }

    .nav_item {
    margin: 50px 0;
    }

    .nav_item p{
    display: inline-block;
    }

    .nav_item a {
    color: black;

    }


