body {
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  font-family: 'Noto Sans JP', sans-serif;
  background: #f6f5f4;
}
header {
  width: 100%;
  height: 10%;
  background: #b3d874;
  display: flex; /* flexboxを作る */
  flex-wrap: wrap; 
  align-items: center; /* 上下中央に揃える */
  justify-content: space-between; /* 両端に配置 */
  padding-left: 30px;
  padding-right: 30px;
  position: fixed;
  top: 0;
  box-sizing: border-box;
}
h1 a {
  color: #1a1a1a;
  font-size: 30px;
  text-decoration: none;
}

/*アイコン用*/
.icon{
  width: 100%;
  height: auto;
}

/*ハンバーガーメニュー用CSS↓*/

/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  flex-wrap: wrap; 
  height: 60px;
  width: 60px;
  justify-content: center;
  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: 10px;
  width: 50px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 20px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 20px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#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 {
  padding-top: 5em;
  padding-left:6em;
  width: 60%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  transition: .5s;
  color: #1a1a1a;
}

/* メニューの中身のデザイン */
.nav_item a{
  text-decoration: none;
  font-size: 27px;
  color: black;
  vertical-align:middle;
}

.nav_item{
  margin-bottom: 1em;
  padding-left: 2em;
}

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

/* ハンバーガーメニュー用CSS ↑ */

@media screen and (max-width:799px){
  .mobile-menu {
    display: block ;
  }
}

@media screen and (min-width:800px){
  .mobile-menu{
    display: none;
  }
}

