/*===　ハンバーガー・スライド・メニュー　===*/

.hamburger_box {
  display:inline-block;
  margin-left:auto;
  padding:5px;
  background-color:#fff;
  width:40px;
  text-align:center;
  /* position: fixed; */
  /* bottom:0; */

}

.hamburger_text{
 font-size:7pt;
 color:#463000;
 bottom: 3px;
 /* letter-spacing: -2px; */
 width: 100%;
}

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 100%;
  /* height: 50px; */
  padding:0px 0px 0px 0px;
  margin:0px 0px 0px 0px;
  vertical-align: top;
text-align:center;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  left:0;
  width:100%;
  z-index:999;
  border-top:2px solid #463000;
  border-bottom:2px solid #463000;
  top:-30px;
  -moz-top:-30px;
  -webkit-top:-30px;
  height:20px;
}
#nav-open span:after {
  left:0;
  width:100%;
  z-index:999;
  border-top:2px solid #463000;
  top:-19px;
  -moz-top:-19px;
  -webkit-top:-19px;
  height:0;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 320px;/*最大幅（調整してください）*/
  height: 100%;
  background: #efefef;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
/*===============================================
●スマホ用（700px未満）
===============================================*/
@media screen and (max-width:699px) {
  .hamburger_text{
   /* bottom: 3px; */
   bottom: 0;
  }

  /*アイコンのスペース*/
  #nav-open {
    /* height: 50px; */
    height: 40px;
  }

  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span:before {
    top:-24px;
    -moz-top:-24px;
    -webkit-top:-24px;
    height:20px;
  }
  #nav-open span:after {
    top:-13px;
    -moz-top:-13px;
    -webkit-top:-13px;
  }

}

/*===============================================
●PC・タブレット用（700px以上）
===============================================*/
@media screen and (min-width:700px){
  .hamburger_text{
   /* bottom: 7px; */
   bottom: 0;
  }
  /*アイコンのスペース*/
  #nav-open {
    /* height: 70px; */
    height: 60px;
  }

  /*ハンバーガーアイコンをCSSだけで表現*/
  #nav-open span:before {
    top:-40px;
    -moz-top:-40px;
    -webkit-top:-40px;
    height:24px;
  }
  #nav-open span:after {
    top:-27px;
    -moz-top:-27px;
    -webkit-top:-27px;
  }

}
