@charset "utf-8";
/* CSS Document */
.button_container {
  position: fixed;
	top: 40px;
	right: 20px;
  height: 40px;
  width: 25px;
  cursor: pointer;
  z-index: 9998;
  -webkit-transition: opacity .25s ease;
  transition: opacity .25s ease;
}
.button_container:hover {
  opacity: .7;
}
.button_container.active .top {
  -webkit-transform: translateY(8px) translateX(0) rotate(45deg);
          transform: translateY(8px) translateX(0) rotate(45deg);
  background: #ababab;
	 width: 100%;
	box-shadow: none;
}
.button_container.active .middle {
  opacity: 0;
  background: #ababab;
}
.button_container.active .bottom {
  -webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
          transform: translateY(-8px) translateX(0) rotate(-45deg);
  background: #ababab;
	 width: 100%;
	box-shadow: none;
}
.button_container span {
  background: #fff;
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
	box-shadow: 2px 2px 2px #333;
}
.button_container span:nth-of-type(2) {
  top: 8px;
width: 100%;
text-align: right;
}
.button_container span:nth-of-type(3) {
  top: 16px;
width: 100%;
}

.overlay {
  position: fixed;
  background:rgba(255,255,255,0.97);
  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: scroll;
	z-index: 999;
}
.overlay.open {
  opacity: 1.0;
  visibility: visible;
  height:100%;
}

.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
	text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.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: #404040!important;
  text-decoration: none;
  overflow: hidden;
	font-size: 14px;
}
.overlay ul li a span{
color: rgba(171,171,171,1.0)!important;
}
.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;
}
/*ここからスマホ用（667px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
.button_container {
	right: 20px;
}
.overlay ul li a span{
	display: none;
}
}
