﻿
/*ボタン形成*/

.menu-s label,
.menu-s label span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
z-index:200;
}

.menu-s label {
cursor :pointer;
width:100%;
position:absolute;
  width: 60px;
  height: 60px;
  position: fixed;
  right: 10px;
  top: 10px;
background:#fff;
border-radius:5px;
}

.menu-s label span {
  position: absolute;
  left: 7px;
  width: 75%;
  height: 4px;
  background-color:#333;
  border-radius: 3px;
}

.menu-s menu{
position:absolute;
bottom:-3px;
color:#333;
left:7px;
}


.menu-s label span:nth-of-type(1) {
  top: 5px;
}
.menu-s label span:nth-of-type(2) {
  top: 20px;
}
.menu-s label span:nth-of-type(3) {
  top: 35px;
}

/*ボタン終わり*/

.menu-s {
display:block;
margin: 0;
padding: 0;
width:100%;
position:fixed;
right:0px;
}

.menu-s input {
display: none;
}

.menu-s .accshow-s {
height: 0;
padding: 0;
padding-top:40px;
overflow: hidden;
opacity: 0;
transition: 0.5s;
background:url('../img/header-bk.png');
width:100%;
-webkit-box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
box-shadow: 0px 0px 6px rgba(0,0,0,0.4);
margin-top:-40px;
}

.menu-s .accshow-s a{
color:#fff;
font-size:19px;
}

.cssacc-s:checked + .accshow-s{
opacity: 1;
height:100vh;
}

.cssacc-s:checked + label span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
}

#menu-s{
position:relative;
height:100vh;
}


.menu-s {
display:none;
}

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

.menu-s {
z-index:700;
}


.menu-s {
display:block;
}

}