/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.97);
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 30px;
	top: 60px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100000;
}
@media only screen and (max-width: 860px){
	.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 10px;
	top: 60px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100000;
}
}

.overlay .inner{ width: 70%; margin: 16% auto;}

.sns{
	width: 10%;
	margin: 0;
	display: -webkit-flex; /* Safari */ 
	display: flex;
	-webkit-justify-content: space-between; /* Safari */
	justify-content: space-between;
    -webkit-align-items: center; /* Safari */
    align-items: center;
}
.sns li{ width: 33.33333%; margin: 0; padding: 0 6%;opacity: 0.5; -webkit-transition: all 1s;-moz-transition: all 1s;-o-transition: all 1s;transition: all  1s;}
.sns li:hover{ width: 33.33333%; margin: 0; padding: 0 6%;opacity: 1; -webkit-transition: all 1s;-moz-transition: all 1s;-o-transition: all 1s;transition: all  1s;}

@media only screen and (max-width: 860px){
	.overlay .inner{ width: 80%; margin: 38% auto;}
	.sns{
		width: 50%;
		margin: 0 auto;
		display: -webkit-flex; /* Safari */ 
		display: flex;
		-webkit-justify-content: space-between; /* Safari */
		justify-content: space-between;
		-webkit-align-items: center; /* Safari */
		align-items: center;
	}
	.sns li{ width: 33.33333%; margin: 0; padding: 0 6%;}
}

/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 50%;
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul.menu01{
	list-style: none;
	padding: 0;
	margin: 4% auto;
	height: 100%;
	position: relative;
}

.overlay ul li {
	text-align: left;
	height: calc(100% / 5);
	min-height: 34px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.overlay ul li a {
	font-size: 25px;
	font-weight: 300;
	display: block;
	color: rgba(103,103,103,0.58);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	font-family: 'Cormorant Garamond', serif;
}
@media only screen and (min-width: 860px){
.overlay ul li a:hover {
	font-size: 18px;
	font-weight: 300;
	display: block;
	color: rgba(103,103,103,0.98);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
}

.overlay ul .shop_link{
	text-align: left;
	height: calc(100% / 5);
	min-height: 54px;
	color: rgba(103,103,103,0.68);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	font-family: 'Cormorant Garamond', serif;
}
.overlay ul .shop_link a {
	display: block;
	font-size: 28px;
	font-weight: 300;
	color: rgba(103,103,103,0.58);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	font-family: 'Cormorant Garamond', serif;
}
@media only screen and (min-width: 860px){
.overlay ul .shop_link a:hover{
	display: block;
	font-size: 49px;
	font-weight: 500;
	color: rgba(103,103,103,0.98);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
}
@media only screen and (max-width: 860px){
.overlay ul .shop_link a {
	display: block;
	font-size: 39px;
	font-weight: 300;
	color: rgba(103,103,103,0.58);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	font-family: 'Cormorant Garamond', serif;
}
}


/* Effects */
.overlay-scale {
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
	transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
}

.overlay-scale.open {
	    z-index: 999;
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);	
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}