@charset "utf-8";

/* CSSコード */
.header {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 20px;
    background: #fff;
    position: relative;
  }
  
  .logo {
    font-size: 24px;
  }

   /* チェックボックスを非表示にする */
   .drawer_hidden {
    display: none;
  }
@media screen and (max-width: 767px){

  
  /* ここから下がハンバーガーメニューに関するCSS */
    
 
  
  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: block;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
    margin-left: 17px;
    margin-top: 40px;
   margin-left: 10px; 
  }
  
  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }

  .nav_list{
    margin-top: 100px
  }
  
  /* 三本線の一番上の棒の位置調整 */
  .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 {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 100%;
    left: 0%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #029eb3;
    transition: .5s;
    text-align: center;
    padding-top: 30px;
  }
  
  /* メニュー黒ポチを消す */
  .nav_list {
    list-style: none;
  }
  
  .nav_item a {
    color: #fff;
    text-decoration: none;
  }
  
  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav_content {
    bottom: 0;/* メニューを画面に入れる */
    
  }

}