@charset "utf-8";
/* CSS Document */

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

a {
	text-decoration: none ;
}







/* ここから */

#global-head{
	pointer-events: none;}

#sidebar{
	background-color:#FFF;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	line-height:0px;/* メニューの行間 */
	}



#global-head {
	position: fixed;
	width: 260px;
	text-align: center;
	padding-top: 60px;
	z-index: 100;

}
	/* 縦方向のスクロールバーを表示 */
#sidebar {
	font-size: 15px;
	padding-top: 33px;
	width: 260px;
	height: 100%;
	position: fixed;
	color: #674e3f;
	background: #FFF;
	padding-left:35px;

  overflow-y: scroll;
line-height:5px;
scrollbar-width: none;

}

.slider-pro	{
	padding-bottom:1%;}


#sidebar::-webkit-scrollbar {
      display: none;
      -webkit-appearance: none;
}



#global-nav ul {
	list-style: none;
	margin-left: 0;
}
#global-nav > ul > li {
	position: relative;
	text-align: left;
	margin-left:40px;
}

#global-nav a {
	color: #684f3f;
	text-decoration: none;
	display: block;
	padding: 0px 0px 15px 0px; 
	font-weight: 500;

}

#global-nav .sub-menu-nav a,
#global-nav .sub-menu:hover .sub-menu-nav {
	width: 230px;
}

/* sub-menu icon */
#global-nav .sub-menu-head {
	position: relative;
}
#global-nav .sub-menu-head:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);

}

.link {
	background-color:#FFF;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	line-height:0px;/* メニューの行間 */
	}

.submenu{
	padding-left:25px;
}


/* sub-menu */
#global-nav .sub-menu-nav {
	position: fixed;
	background: #fff;
	color: #70523B;
	top: 0;
	padding-top: 90px;
	left: 260px;
	width: 0;
	height: 100%;
	overflow: hidden;

	-moz-transition: width .2s ease-out;
	-webkit-transition: width .2s ease-out;
	transition: width .2s ease-out;
}
#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
	border-color: #fff;
}
#global-nav .sub-menu-nav a {
	color: #333;
}
#global-nav .sub-menu-nav a:hover {
	color: ;
	background:;
}


/* nav-toggle */
#nav-toggle {
	display: none;
	position: fixed;
	top: 30px;
	right: 15px;
	height: 32px;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #694f3e;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: -10px;
}
#nav-toggle span:nth-child(2) {
	top: 1px;
}
#nav-toggle span:nth-child(3) {
	top: 13px;
}


#overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}








@media screen and (max-width: 1200px) {

/* ヘッダー */

#global-head{
	pointer-events:auto;}
	
	#global-head {
		width: 100%;
		height:62px;
		padding: 5px 20px 20px 0px;
		background:#FFF; 
		display: -webkit-flex;
		display: flex;
	}

	#sidebar {
		/*display: none;*/
		position: fixed;
		right: -300px;
		top: 0;
		height: 100%;
		width: 280px;
		color: #333;
		background: #fff;
		-webkit-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
		padding-top: 60px;
	}

	/* サブメニューは開けない */
	#global-nav .sub-menu-head:after,
	#global-nav .sub-menu-nav {
		display: none;
	}
	#nav-toggle {
		display: block;
	}

	/* nav open */
	.open {
		overflow: hidden;
	}
	.open #overlay {
		display: block;
	}

	.open #sidebar  {
		-webkit-transform: translate3d(-300px,0,0);
		transform: translate3d(-300px,0,0);
	}
	/* #nav-toggle close */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* z-index */
	#overlay {
		z-index: 200;
	}
	#sidebar {
		z-index: 300;
	}
	#nav-toggle {
		z-index: 400;
	}
	
	#side-menu{
		margin-top:-50px;}
		
}


@media screen and (max-width: 500px) {
	#sidebar {
		right: -300px;
		width:280px;
		padding-top: 60px;
	}
/*	.open #sidebar  {
		-webkit-transform: translate3d(-300px,0,0);
		transform: translate3d(-280px,0,0);
	}
*/		
}





/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 1200px) {
.pc { display: none !important; }
.sp { display: block !important; }
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc500 { display: block !important; }
.sp500 { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される500px用 */
@media only screen and (max-width: 500px) {
.pc500 { display: none !important; }
.sp500 { display: block !important; }
}
