@media screen and (max-width: 767px) {

img {
  max-width: 100%;
  height: auto;
  width : auto;
}

main{
	margin-left:0px;
	width: 100%;
}
nav{
	width:0px;
}

.pc{display: none !important;}
.sp{display: block !important;}

#header {
  width:  auto;
  margin-right: 0px;
  margin-left: 100px;
  margin-bottom: 10px;
}

*,*:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing:border-box;
}

.menu {
  display: block;
  overflow: hidden;
  width: 60px;
  max-width:none;
  height: 60px;
  margin: 15px auto;
  cursor: pointer;
  top: 0px;
  left: 15px;
  position: absolute;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border: 3px solid transparent;
  border-radius: 15%;
  background-color: #1b2538;
}
.menu div.menubar {
  width: 30px;
  margin: 17px auto;
}

.menu div.menubar .bar {
  display : block;
  width: 100%;
  height: 5px;
  margin-top: 3px;
  border-radius: 2px;
  background-color: #ffffff;
}

.menu ul li a {
  display: block;
  padding: 0.7em 1.0em;
  -webkit-transition: all 0.1s ease-in;
  transition: all 0.1s ease-in;
  text-decoration: none;
  color: #1b2538;
  border-bottom:4px solid transparent;
  height: 50px;
  line-height: 1em;
}


#cp_navimenuid:checked~.menu {
  width:90%;
  height:auto;
  border: 3px solid #1b2538;
  border-radius:5px;
  background-color:#ffffff;
  overflow:auto;
}

#cp_navimenuid:checked~.menu > ul {
  display:block;
  opacity:1;
}

#cp_navimenuid:checked~.menu > .menubar {
  position:relative;
  width:40px;
  height:40px;
  margin-left:15px;
  margin-top:7px;
  margin-bottom:-3px;
}

#cp_navimenuid:checked~.menu > .menubar > .bar:nth-of-type(1) {
  width:  40px;
  height: 40px;
  background-color:#ffffff;
  border:5px solid #c0c0c0;
  border-radius:15%;
  opacity:0.7;
}
#cp_navimenuid:checked~.menu > .menubar > .bar:nth-of-type(2) {
  width:80%;
  transform: translateX(4px) translateY(-25px) rotate(-45deg);
  background-color:#c0c0c0;

}
#cp_navimenuid:checked~.menu > .menubar > .bar:nth-of-type(3) {
  width:80%;
  transform: translateX(4px) translateY(-33px) rotate(45deg);
  background-color:#c0c0c0;
}

}

