@charset "UTF-8";
@media (max-width : 960px){
#navArea{ position:relative; z-index:9999; width: 100%; height: 50px; position: fixed; top: 0; left: 0; background-color: #138b6aa3;}
#navArea .sp-logo{width: 40px; padding: 5px 0px 5px 10px;}
#navArea .sp-main-title{ position: absolute;top: 16px; right: 0; bottom: 0; left: 0; margin: auto; text-align: center; font-size: 16px; color: #ffffff;}

nav {
  display: block;
  position: fixed;
  top: 50px;/*上からの距離*/
  right: -400px;/*左から出すか右から出すか*/
  bottom: 0;
  width: 300px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 3;
  opacity: 0;
}
.open nav {
  right: 0;  /*左から出すか右から出すか*/
  opacity: 1;
  top:50px;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid #333;
}
#navArea nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1em !important;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: #e4e4e4;
}

/*============
.toggle_btn
=============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 50px;
  height: 50px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
  background:#138b6aa3;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 10px;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 13px;
}
.toggle_btn span:nth-child(2) {
  top: 23px;
}
.toggle_btn span:nth-child(3) {
  top: 33px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}
/*============
#mask
=============*/
#mask {
  display: none;
  transition: all .5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 2;
  cursor: pointer;
}
}