body {
  margin:auto;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 1000px;
  background-attachment: fixed;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  animation-name:fadeInAnime;
  animation-duration:3s;
  animation-fill-mode:forwards;
  opacity:0;
}
@keyframes fadeInAnime{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

.menu-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  display: flex;
  height: 48px;
  width: 48px;
  justify-content: center;
  align-items: center;
  z-index: 90;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 4px;
  width: 32px;
  border-radius: 4px;
  background-color: white;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu-btn-check {
  display: none;
}
.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  text-align: center;
  z-index: 80;
  background-color: #282020;
  transition: all 0.5s;
  opacity:0.9;
}
.menu-content ul {
  width:360px;
  margin:auto;
  padding: 70px 10px 0;
}
.menu-content ul li {
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 20px;
  box-sizing: border-box;
  color:#fff;
  text-decoration: none;
  padding: 24px 16px;
  font-weight: bold;
  position: relative;
  transition: color 0.8s ease; 
}

.menu-content ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.5s; /*変形の時間*/
  }
  
  .menu-content ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
  }

#menu-btn-check:checked ~ .menu-content {
  left: 0;/*メニューを画面内へ*/
}


#menu-btn-check_left:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check_left:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check_left:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu-btn-check_left {
  display: none;
}
#menu-btn-check_left:checked ~ .menu-content_left {
  right: 0px;/*メニューを画面内へ*/
}
.menu-btn_left {
  position: fixed;
  top: 16px;
  left: 16px;
  display: flex;
  height: 48px;
  width: 48px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  border:4px #fff solid;
}
.menu-btn_left span,
.menu-btn_left span:before,
.menu-btn_left span:after {
  content: '';
  display: block;
  height: 4px;
  width: 32px;
  border-radius: 4px;
  background-color: #fff;
  position: absolute;
}
.menu-btn_left span:before {
  bottom: 8px;
}
.menu-btn_left span:after {
  top: 8px;
}
#menu-btn-check_left:checked ~ .menu-btn_left span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check_left:checked ~ .menu-btn_left span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check_left:checked ~ .menu-btn_left span::after {
  top: 0;
  transform: rotate(-45deg);
}
.menu-content_left {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 100%;
  text-align: center;
  z-index: 80;
  background-color: #282020;
  transition: all 0.5s;
  opacity:0.9;
}
.menu-content_left ul {
  width:360px;
  margin:auto;
  padding: 70px 10px 0;
}
.menu-content_left ul li {
  list-style: none;
}
.menu-content_left ul li a {
  display: block;
  width: 100%;
  font-size: 24px;
  box-sizing: border-box;
  color:#fff;
  text-decoration: none;
  padding: 32px 16px;
  font-weight: bold;
  position: relative;
  transition: color 0.8s ease; 
}

.menu-content_left ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.5s; /*変形の時間*/
  }
  
  .menu-content_left ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
  }

#menu-btn-check:checked ~ .menu-content_left {
  left: 0;/*メニューを画面内へ*/
}










@media screen and (max-width: 960px){

  body {
    background-image: none;
  }

}

@media screen and (max-width: 480px) {
  .menu-btn {
    top: 8px;
    right: 8px;
    height: 32px;
    width: 32px;

  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    height: 4px;
    width: 24px;
  }

  
}