@charset "utf-8";
/* CSS Document */
.button_container {
  position: fixed;
  right: 20px;
  top:20px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  z-index: 9999;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
  border-radius: 5px 0px 0px 5px / 5px 0px 0px 5px;
}

.button_container.active{
	  background-color: transparent;
}
.button_container.active .top {
  -webkit-transform: translateY(10px) translateX(0) rotate(45deg);
          transform: translateY(10px) translateX(0) rotate(45deg);
  background: #111;
	 width: 35px;
}
.button_container.active .middle {
  opacity: 0;
  background: #111;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
          transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #111;
	 width: 35px;
}
.button_container:hover span {
  opacity: .6;
}
.button_container span {
  background: #fff;
  border: none;
  height: 1px;
  width: 35px;
  position: absolute;
  top: 15px;
  right: 7px;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 25px;
  width: 28px;
  text-align: right;
}
.button_container span:nth-of-type(3) {
  top: 35px;
  width: 21px;
}

.overlay {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  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 .overlay-menu {
	position: relative;
    height: 70%;
    top: 10%;
}
.overlay nav {
  position: absolute;
  height: 80%;
  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: 60%;
  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: #333;
  text-decoration: none;
  overflow: hidden;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
    padding-bottom: 10px;
	line-height: 1.2;
}
/*.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 50%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 0%;
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
  height: 1px;
	background-color: #f6b370;

  -webkit-transition: .5s;
  transition: .5s;
}*/
/*ここからスマホ用（667px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
.button_container {
    top: 10px;
}
.overlay ul {
    width: 90%;
}
}
