


a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: #FF5959;
}

ul,li {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
}

ul li {
	display: inline-block;
}

header,section,.navcontainer,.box {
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
}

header {
	background: #FFF;
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);*/
	height: 60px;
	left: 0;
	/* position: fixed; */
	right: 0;
	top: 0;
	width: initial;
	z-index: 9;
	-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
	-moz-transform: matrix(1, 0, 0, 1, 0, 0);
	transform: matrix(1, 0, 0, 1, 0, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

html.active header,html.active_sub header {
	-webkit-transform: matrix(1, 0, 0, 1, -320, 0);
	-moz-transform: matrix(1, 0, 0, 1, -320, 0);
	transform: matrix(1, 0, 0, 1, -320, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

header .box {
	display: none;
	height: 40px;
	line-height: 40px;
	margin: 0 80px;
	padding: 10px;
}

header .box > ul {
	display: flex;
}

header .box > ul li {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}

#overlay {
	background: #000;
	bottom: 0;
	height: 100%;
	left: 0;
	opacity: 0;
	overflow: hidden;
	position: fixed;
	right: 0;
	top: 0;
	visibility: hidden;
	width: 100%;
	z-index: 99;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

html.active #overlay,html.active_sub #overlay {
	opacity: .65;
	visibility: visible;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}


.sign-up {
	background: #FF5959;
	border: 1px solid #FF5959;
	color: #FFF;
	font-family: 'Abel', sans-serif;
	font-size: 16px;
	font-weight: bold;
	height: 40px;
	letter-spacing: 1px;
	line-height: 40px;
	margin: 10px;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: center;
}

.sign-up:hover {
	background: #FFF;
}

.sign-up a {
	display: block;
}

.sign-up span {
	margin: 0 auto 0 8px;
}

#close-menu {
	border: 1px solid;
	border-radius: 20px;
	color: #333;
	cursor: pointer;
	display: block;
	height: 20px;
	line-height: 20px;
	margin: 15px 20px 15px auto;
	padding: 4px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 20px;
}

section {
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	z-index: 2;
	-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
	-moz-transform: matrix(1, 0, 0, 1, 0, 0);
	transform: matrix(1, 0, 0, 1, 0, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

#intro {
	background-image: url('https://goo.gl/BlNbJE');
}

#portfolio {
	background-image: url('https://goo.gl/Uwkg0I');
}

#blog {
	background-image: url('https://goo.gl/Wy3PSL');
}

html.active,html.active body,html.active_sub,html.active_sub body {
	overflow: hidden;
}

html.active section,html.active_sub section {
	-webkit-transform: matrix(1, 0, 0, 1, -320, 0);
	-moz-transform: matrix(1, 0, 0, 1, -320, 0);
	transform: matrix(1, 0, 0, 1, -320, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

section > h1 {
	color: #FFF;
	font-size: 2em;
	left: 0;
	margin: 0 10%;
	position: absolute;
	right: 0;
	text-align: center;
	text-transform: uppercase;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

section > h1 > span {
	display: block;
	font-family: 'Cabin', cursive;
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
	text-transform: none;
}

menu {
	background: #FFF;
	bottom: 0;
	margin: 0;
	padding: 0;
	position: fixed;
	left: -320px;
	top: 0;
	width: 320px;
	z-index: 1;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

menu .navcontainer {
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	width: 258px;
	-webkit-transform-origin: 0% 50% 0px;
	-moz-transform-origin: 0% 50% 0px;
	transform-origin: 0% 50% 0px;
	-webkit-transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	-moz-transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

menu .navcontainer .box {
	border-top: 3px solid;
	height: calc(100% - 33px);
	overflow: visible;
	overflow-Y: scroll;
	padding: 0 17px 30px 0;
	position: relative;
	width: 275px;
}

menu .box ul:nth-child(1) {
	border-bottom: 3px solid;
}

menu .box ul {
	padding: 10px 0;
}

menu ul li {
	border-bottom: 1px solid #EDEDED;
	display: block;
	font-size: 13px;
	font-weight: bold;
	height: 39px;
	letter-spacing: 0.12em;
	line-height: 39px;
	text-transform: uppercase;
}

menu ul:nth-child(2) li {
	/* font-size: 10px; */
}

menu ul:nth-child(2) li:last-child {
	border-bottom: 1px solid #EDEDED;
}

menu ul:nth-child(3) li {
	border: 0;
	display: inline-block;
}

menu ul.sns li > a {
	border: 1px solid;
	border-radius: 100%;
	color: #898989;
	display: block;
	font-size: 22px;
	height: 24px;
	line-height: 24px;
	margin: 2px 4px;
	padding: 3px 4px 5px 5px;
	text-align: center;
	width: 24px;
}

menu ul li:last-child {
	border: 0;
}

html.active menu {
	left: 0;
	z-index: 999;
}

html.active menu .navcontainer {
	-webkit-transform-origin: 0% 50% 0px;
	-moz-transform-origin: 0% 50% 0px;
	transform-origin: 0% 50% 0px;
	-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
	-moz-transform: matrix(1, 0, 0, 1, 0, 0);
	transform: matrix(1, 0, 0, 1, 0, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

/*************************************/

#close-submenu {
	border: 1px solid;
	border-radius: 20px;
	color: #333;
	cursor: pointer;
	display: block;
	height: 20px;
	line-height: 20px;
	margin: 15px 20px 15px auto;
	padding: 4px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 20px;
}

submenu {
	background: #FFF;
	bottom: 0;
	margin: 0;
	padding: 0;
	position: fixed;
	right: -320px;
	top: 0;
	width: 280px;
	z-index: 1;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

submenu .navcontainer {
	height: 100%;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	width: 258px;
	-webkit-transform-origin: 0% 50% 0px;
	-moz-transform-origin: 0% 50% 0px;
	transform-origin: 0% 50% 0px;
	-webkit-transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	-moz-transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	transform: matrix(0.8, 0, 0, 0.9, 40, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

submenu .navcontainer .box {
	border-top: 3px solid;
	height: calc(100% - 33px);
	overflow: visible;
	overflow-Y: scroll;
	padding: 0 17px 30px 0;
	position: relative;
	width: 275px;
}

submenu .box ul {
	border-bottom: 3px solid;
}

submenu .box ul {
	padding: 10px 0;
}

submenu ul li {
	border-bottom: 1px solid #EDEDED;
	display: block;
	font-size: 13px;
	font-weight: bold;
	height: 39px;
	letter-spacing: 0.12em;
	line-height: 39px;
	text-transform: uppercase;
}

submenu ul.sns li > a {
	border: 1px solid;
	border-radius: 100%;
	color: #898989;
	display: block;
	font-size: 22px;
	height: 24px;
	line-height: 24px;
	margin: 2px 4px;
	padding: 3px 4px 5px 5px;
	text-align: center;
	width: 24px;
}

submenu ul li:last-child {
	border: 0;
}



html.active_sub submenu {
	right: 0;
	z-index: 999;
}

html.active_sub submenu .navcontainer {
	-webkit-transform-origin: 0% 50% 0px;
	-moz-transform-origin: 0% 50% 0px;
	transform-origin: 0% 50% 0px;
	-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
	-moz-transform: matrix(1, 0, 0, 1, 0, 0);
	transform: matrix(1, 0, 0, 1, 0, 0);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}



@media all and (min-width: 0px) and (max-width: 520px) {
	.head_screen,.profile_left {display: none;}

	#menu {
		/*cursor: pointer;*/
		/*display: block;*/
		font-size: 30px;
		height: 40px;
		line-height: 40px;
		margin: 5px 3px;
		text-align: center;
		top: 0;
		width: 40px;
		position: fixed;
		/* float:left; */
	}

	.top_iconbtn {
		top: 0;
		right:0;
		position: fixed;
	}
	.top_iconbtn .icon{
		float: left;
		/* display: contents; */
		width: 32px;
		height: 32px;
		font-size: 30px;
		line-height: 40px;
		margin: 5px 0px;
		text-align: center;
	}


	#home,.logo > a {
	/*width:188px;*/
	/*border-radius: 8px;*/
	/*box-shadow: inset 0 0 0 2px #FFF, inset 0 0 0 3px #FF5959;*/
	/*color: #FF5959;*/
	/*display: block;*/
	/*font-size: 32px;*/
	/*height: 36px;*/
	/*left: 0;*/
	/*line-height: 36px;*/
	/*margin: 10px 20px 10px 30px;*/
	/*overflow: hidden;*/
	/*padding: 2px;*/
	/*position: fixed;*/
	/*text-align: center;*/
	/*top: 0;*/
	/*width: 36px;*/
	}

	.logo {
    height: 47px;
    /* line-height: 40px; */
    margin: 0px auto;
    /* overflow: hidden; */
    padding: 6px 0px;
    /* position: relative; */
    width: 145px;
    /* float: left; */
 }

	.logo > a {
		/*display: inline-block;*/
		/*margin: 0 auto 0 10px;*/
		/*position: relative;*/
	}

}

@media all and (min-width: 520px) {
	.head_screen {display: block;}

	header { display:none;}

	header .navcontainer {
		/*max-width: 640px*/
	}

	#menu,.logo {display:none;}

	header .box {
		display: block;
	}
	section > h1 {
		font-size: 3em
	}
}
