@charset "UTF-8";

/* screens smaller than 768---------------------------------------------------------- */
@media only screen and (max-width:768px) {

.menu-btn {
    position: fixed;
	top: 3.5vmax;
    right: 4.5vmax;
    width: 30px;
    height: 15px;
    line-height: 30px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
	padding-top:15px;
    z-index: 9000;
}
.menu-btn:before{
	content:"";
	width:calc(100% + 16px);
	height:calc(100% + 16px);
	position:absolute;
	left:-8px;
	top:-6px;
	background:rgba(255,255,255,0.8);
	transition:0.6s;
}

.open .menu-btn:before{
	background:rgba(51,51,51,0);
}

.menu-btn span {
    color: #000;
	z-index:9000;
}

.menu-btn span:after {
    content: attr(data-txt-menu);
}

/* 開閉用ボタンがクリックされた時のスタイル */
.open .menu-btn span:after {
    content: attr(data-txt-close);
	    color: #fff;
		z-index:9000;
}

.menu {
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(27,27,27,.9);
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
}

.menu .table {
	display:table;
	margin: 0 auto;
    width: 100vw;
	height:100vh;
}

.menu ul {
    display: table-cell;
    vertical-align: middle;
}

.menu ul::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.menu li {
    text-align: center;
	float:none;
}

.menu li a {
    display: inline-block;
	padding:1rem 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
    font-size: 1.6rem;
    color: #fff;
}

/* 開閉用ボタンがクリックされた時のスタイル */
.open .menu {
    cursor: url(../images/cross.svg),auto;
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
	z-index:8999;
}

.menu-btn-icon {
    position: relative;
    display: block;
    text-indent: -99999px;
}
.menu-btn-icon, .menu-btn-icon:after, .menu-btn-icon:before {
    width: 100%;
    height: 3px;
    -webkit-transition: all .6s cubic-bezier(.19, 1, .22, 1);
    transition: all .6s cubic-bezier(.19, 1, .22, 1);
    background-color: #000;
}
.menu-btn-icon:after, .menu-btn-icon:before {
    position: absolute;
    top: -9px;
    left: 0;
    content: ' ';
}
.menu-btn-icon:after {top: 9px;}
.open .menu-btn-icon { background-color: transparent;}
.open .menu-btn-icon:after,
.open .menu-btn-icon:before {
	top: 0;
	background-color: #fff;
}
.open .menu-btn-icon:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}
.open .menu-btn-icon:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

/*------------------------------------------------------------------------------*/
}