/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: absolute;
  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: #333;
  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 {
  width: 480px;
  height: auto;
/*  position: fixed;*/
  left: 0;
  right: 0;
/*  bottom: 120%; /* メニューを画面の外に飛ばす */
  top: -100%;
  z-index: 99;
  background: #488a9e;
  color: white;
  border: 0 1px 1px 1px solid #ccc;
  border-radius: 0 0 10px 10px;
  position: absolute;
  box-shadow: 0px 1px 10px #333;
  opacity: 0.95;
  transition: .5s;
  padding: 0;
}
.nav_content a {
  color: white;
  display: block;
}

@media screen and (min-width: 480px) {
  .nav_content {
    width: 480px;
    margin: 0 auto;
  }
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
  margin: 80px 60px;
}

/* メニューテキスト */
.nav_title {
  font-size: 20px;
  text-decoration: bold;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 20px 0;
  padding: 5px;
  font-weight: bold;
}
.nav_item {
  border-bottom: 1px solid #ccc;
/*  border-radius: 10px;*/
  margin: 10px 20px;
  padding: 5px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
/*  right: 0%;/* メニューを画面に入れる */
  top: 0;
  transition: .5s;
}
/* △ hamburger memu △ */