@charset "utf-8";
/* CSS Document */

a {
	text-decoration: none;
	color: #000;
}

a:hover{
	color: #000000;
	text-decoration: underline;
}


/*-----------BASE LAYOUT------------*/
/*body{
	background: #C33;	
}*/

#container{
	width: 100%;
	max-width: 1280px;
	background: #fff;
	
}
/*----------HEADER------------*/

header {
	padding-top: 35px;
	padding-left: 35px;
	width: 29%;
	z-index: 10000;
	position: fixed;
	
}

header img{
	height: 23px;
}

header img:first-child{
	margin-right: 5px;
}


@media screen and (max-width: 815px) {
header{
width: 20%;
}

header img{
	display:block;
	padding-bottom:5px;
}

}

@media screen and (max-width: 600px) {
header {
	padding: 14px 0px 12px 0px;
	margin:0px 15%;
	width: 70%;
	text-align:center;
	background:#FFF;
}

header img{
	display:inline;
	height: 19px;
	padding-left: 5px;
}

}

@media screen and (max-width: 305px) {
header img{
	height: 15px;
}
}

/*----------CONTENTS------------*/
#contents{
	width: 61.71875%;
	float: right;
	padding-right: 4.5%;
	padding-top:30px;
	min-height:88vh;

}
#about #contents{
	padding-top:90px;
}

@media screen and (max-width: 600px) {
#contents, #about #contents{
	width:100%;
	float:none;
	padding: 50px 0px 50px 0px;

}
}
/*----------GLOVAL NAVIGATION------------*/
nav{
	padding-left: 36px;
	font-size: 118.75%;
	line-height: 1.7em;
	padding-top: 80px;
	width: 130px;;
	clear: both;
	position: fixed;
}

@media screen and (max-width: 815px) {
nav{
	padding-top: 100px;
}
}

/*----------GLOVAL NAVIGATION------------*/
/*----------SPバーガーメニューの設定------------*/
#top-nav {
	top: -100px;
	position: absolute;
	width: 100%;
	margin-top: 100px;
	z-index: 1000;
}

#top-nav .inner {
	position: relative;
}

/*-----------スマホのトグルボタンのCSS-------------*/
#nav-toggle {
	display: none;
	position: absolute;
	left: 5px;
	top: 15px;
	width: 22px;
	height: 22px;
	cursor: pointer;
	z-index: 1000;
}
#nav-toggle div {
	position: relative;
}

#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #000;
	left: 10px;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}

#nav-toggle span:nth-child(2) {
	top: 8px;
}

#nav-toggle span:nth-child(3) {
	top: 16px;
}

/*---------gnav sp バーガーメニュー--------------*/
/*-----------スマホ-------------*/
@media screen and (max-width: 600px) {
.head-inner{
	display:none;
}

.slick-next {
	right: 0;
}
#top-nav, .inner {
	background:#FFF;
	width: 100%;
	padding: 0;
}
	
#top-nav {
	top: 0px;
	position: fixed;
	margin-top: 0;
}	
	
#mobile-head {
	width: 100%;
	height: 50px;
	z-index: 999;
	position: relative;
}
	
	
#global-nav {
	position: absolute;
	/* 開いてないときは画面外に配置 */
	top: -500px;
	background: #fff;
	width: 100%;
	text-align: center;
	padding:0;
	transition: .5s ease-in-out;
}

#global-nav ul {
	position: static;
	right: 0;
	bottom: 0;
	font-size: 14px;
}

#global-nav ul li {
	float: none;
	position: static;
	padding: 10px 0;
	color: #fff;
}
#global-nav ul li{
	border-top: 1px solid #eee;	
}

#nav-head #global-nav ul li a,
#nav-head.fixed #global-nav ul li a {
	width: 100%;
	display: block;
	color: #000;
	padding: 18px 0;
	}

#nav-toggle {
	display: block;
}
  /* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
	top: 8px;
	transform: rotate(225deg);
}

.open #nav-toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}

.open #nav-toggle span:nth-child(3) {
	top: 8px;
	transform: rotate(-225deg);
}

/* #global-nav スライドアニメーション */
.open #global-nav {
/* #global-nav top + #mobile-head height */
transform: translateY(550px);
}

}

/*----------FOOTER------------*/

footer {
	clear: both;
	padding: 10px 0px 20px 33.78125%;

}
footer ul{
	margin-bottom:0.1%;
}

footer ul li {
	display: inline;
	font-size: 87.5%;
}

footer ul li+li::before {
	content: " | ";
}
footer small {
	font-size: 70%;
}

@media screen and (max-width: 600px) {
footer {
	height: 30px;
	width: 100%;
	background-color:#FFF;
	text-align:center;
	padding: 5px 0px 8px 0px;
	position:fixed;
	left:0px;
	bottom:0px;
}	

footer ul li {
		font-size: 80%;
}
footer small {
	font-size: 65%;
}

}

/*----------カレント設定------------*/
#portfolio nav .nav1 a,
#about nav .nav2 a,
#class nav .nav3 a,
#contact nav .nav4 a,
#portfolio footer .nav1 a,
#about footer .nav2 a,
#class footer .nav3 a,
#contact footer .nav4 a{
	text-decoration:underline;
}




/* ↓↓↓↓jquary pageTop */
#page-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 10000;
	background: #666666;
	opacity: 0.8;
	border-radius: 30px;
	width: 60px;
}
#page-top a {
	text-decoration: none;
	color: #fff;
	opacity: 1;
	padding: 15px 0px;
	text-align: center;
	display: block;

}
#page-top a:hover {
	opacity: 0.5;
}

@media screen and (max-width: 600px) {
#page-top {
	position: fixed;
	bottom: 40px;
	right: 10px;
}
}
/* ↑↑↑↑jquary pegeTop */


