@charset "utf-8";
/* CSS Document */
#nav_menu{
	right: 40px;
	top:45px;
	height: 40px;
	width: 30px;
	cursor: pointer;
	z-index: 9999;
	-webkit-transition: opacity .25s ease;
	transition: opacity .25s ease;
}
.button_container{
	position: absolute;
	right: 0px;
	top:0px;
	height: 40px;
	width: 30px;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
          transform: translateY(10px) translateX(0) rotate(45deg);
  background: #41b25d;
	 width: 100%;
}
.button_container.active .middle {
  opacity: 0;
  background: #41b25d;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #41b25d;
	 width: 100%;
}
.button_container span {
  background: #41b25d;
  border: none;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 10px;
width: 100%;
text-align: right;
}
.button_container span:nth-of-type(3) {
  top: 20px;
width: 100%;
}

.overlay {
  position: fixed;
      background: rgba(0,0,0,0.9);
  top: 0;
  right: 0;
  width: 100%;
  height: 0%;
  opacity: 1;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
	z-index: 999!important;
}
.overlay.open {
  opacity: 1.0;
  visibility: visible;
  height:100%;
}

.overlay nav {
  position: absolute;
  height: 70%;
  top: 50%;
	left: 0;
	right:0;
	margin: auto;
  -webkit-transform: translateY(-50%) translateX(0%);
  transform: translateY(-50%) translateX(0%);
  text-align: left;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
 width: 50%;
    max-width: 200px;
  position: relative;
  height: 100%;
	text-align: center;
}
.overlay ul li {
  display: block;
  height: 10%;
  height: calc(100% / 10);
  min-height: 35px;
  position: relative;
  opacity: 1;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
	font-size: 14px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
    padding-bottom: 7px;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 2px;
  background: #FFF;
  -webkit-transition: .35s;
  transition: .35s;
}


/*ここからタブレット用（768px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){
#nav_menu{
	top:35px;
}	
}



/*ここからスマホ用（667px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
#nav_menu{
	right: 20px;
	top:35px;
}
}
