/* -----------------------------------
 * Slidebars
 * Version 0..10
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, .slidebar-wrap, .sb-slidebar {
	/* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html, body {
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
	height: auto;
	position: relative; /* Required for static Slidebars to function properly. */
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
	overflow: hidden; /* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
}

/* ----------
 * 002 - Site
 */

#container, .slidebar-wrap {
	/* You may now use class .slidebar-wrap instead of #container and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
	width: 100%;
	position: relative;
	z-index: 1; /* Site sits above Slidebars */
	background-color: #ffffff; /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 0; /* Slidebars sit behind container. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #2a475e; /* Default Slidebars background colour, overwrite this with your own css. */
	-webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
	left: 0; /* Set Slidebar to the left. */
}

.sb-right {
	right: 0; /* Set Slidebar to the right. */
}

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
	display: none; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
	z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
	-webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

/* Slidebar widths for browsers/devices that don't support media queries. */
	.sb-slidebar {
		width: 30%;
	}
	
	.sb-width-thin {
		width: 15%;
	}
	
	.sb-width-wide {
		width: 45%;
	}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
	.sb-slidebar {
		width: 70%;
	}
	
	.sb-width-thin {
		width: 55%;
	}
	
	.sb-width-wide {
		width: 85%;
	}
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
	.sb-slidebar {
		width: 55%;
	}
	
	.sb-width-thin {
		width: 40%;
	}
	
	.sb-width-wide {
		width: 70%;
	}
}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
	.sb-slidebar {
		width: 40%;
	}
	
	.sb-width-thin {
		width: 25%;
	}
	
	.sb-width-wide {
		width: 55%;
	}
}

@media (min-width: 992px) { /* Slidebar widths on large screens. */
	.sb-slidebar {
		width: 30%;
	}
	
	.sb-width-thin {
		width: 15%;
	}
	
	.sb-width-wide {
		width: 45%;
	}
}

@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */
	.sb-slidebar {
		width: 20%;
	}
	
	.sb-width-thin {
		width: 5%;
	}
	
	.sb-width-wide {
		width: 35%;
	}
}



/* カスタム ここから */


@media screen and (max-width: 767px) {
/* 	overlay
.sb-init.sb-active #container:before {
width: 100%;
height: 100%;
position: fixed;
top: 0;
z-index: 100;
background: rgba(0,0,0,0.5);
content:"";
display:block;
}
	*/

	.sb-slidebar.sb-active {
	display: block; 
}

		
	.sb-slidebar a:hover{
		opacity: 1;
	}	
		
.sb-slidebar .menu_flat li{
border-bottom: 1px solid #233d52;
/* padding: 14px 20px; */
position: relative;
}

.sb-slidebar .menu_flat li a{
text-decoration: none;
padding: 14px 20px 14px 35px;
color: #fff;
font-size: 14px;
display: block;
position: relative;
}
	
	/* 大アイコンmenu */
	
	.sb-slidebar .menu_large{
		overflow: hidden;
		clear: both;
	}
	
	.sb-slidebar .menu_large li{
		width: 50%;
		float: left;
		border-bottom: 1px solid #233d52;
	}	
	
	.sb-slidebar .menu_large li:first-of-type,
	.sb-slidebar .menu_large li:nth-of-type(3){
		border-right: 1px solid #233d52;
	}
	
	.sb-slidebar .menu_large li a{
		display: block;
		height: 130px;
		padding:20px 0;
		text-align: center;
		color: #fff;
		position: relative;
		font-size: 14px;
	}	
	
	.sb-slidebar .menu_large li a:before{
		content:"";
		width:60px;
		height:60px;
		display: block;
		margin:0 auto;
		padding-bottom: 10px;
	}
	
	.sb-slidebar .menu_large li:first-of-type a{
		color: #43c5b7;
	}
	
	.sb-slidebar .menu_large li:nth-of-type(2) a{
		color: #f38f55;
	}
	
	.sb-slidebar .menu_large li:first-of-type a:before{
		background:url(../images/icon_sp01.svg) no-repeat;
		background-size: contain;
	}
	
	.sb-slidebar .menu_large li:nth-of-type(2) a:before{
		background:url(../images/icon_sp02.svg) no-repeat;
		background-size: contain;
	}
	
	.sb-slidebar .menu_large li:nth-of-type(3) a:before{
		background:url(../images/icon_sp03.svg) no-repeat;
		background-size: contain;
	}
	
	.sb-slidebar .menu_large li:nth-of-type(4) a:before{
		background:url(../images/icon_sp04.svg) no-repeat;
		background-size: contain;
	}
	
	@media screen and (max-width: 375px) {
			.sb-slidebar .menu_large li a{
			height: 120px;
		}	

		.sb-slidebar .menu_large li a:before{
			width:55px;
			height:55px;
		}
	}
	
		@media screen and (max-width: 320px) {
			.sb-slidebar .menu_large li a{
			height: 105px;
				padding: 15px 0;
				
		}	

		.sb-slidebar .menu_large li a:before{
			width:45px;
			height:45px;
		}
	}

	
	/* small icons */
	
	.sb-slidebar .menu_flat li a i,
	.trigger_side i{
		color: #43c5b7;
		display: inline-block;
		position: absolute;
		left: 12px;
		top:50%;
		margin-top:-8px;
		font-weight: normal;
	}	
	
	i.fa{
		font-family: FontAwesome!important;
	}
	
		.sb-slidebar	.icon-menu_list{
		font-size: 13px;
		margin-top: -7px;
		margin-left: 1.5px;
	}

	
	.sb-slidebar	.icon-list{
		font-size: 13px;
		margin-top: -7px;
		margin-left: 1.5px;
	}
	
	.sb-slidebar	.icon-sun{
		font-size: 16px;
	}
	
	.sb-slidebar	.icon-beginner{
		font-size: 16px;
		margin-left: 1.5px;
	}
	
	.sb-slidebar .icon-history{
		font-size: 15px;
	}
	
	.sb-slidebar .fa-lightbulb-o{
		font-size: 18px;
		left: 13px;
	}
	
	.sb-slidebar .fa-building-o{
		font-size: 14px;
		margin-left: 1px;
	}

	
/* 子メニュー */
	
	.trigger_side{
	padding: 14px 20px 14px 35px;
	cursor: pointer;
	color: #fff;
	font-size: 14px;
	position: relative;
	}
	
	.toggle_container_side ul{
		padding:14px 0;
		background: #233c52;
	}
		
	.sb-slidebar .menu_flat li .toggle_container_side li a{
		padding: 7px 20px 7px 35px;
		background: #233c52;
		font-size: 13px;
	}
	
	.sb-slidebar .menu_flat li a:after{
		font-weight: normal;
		color: rgba( 255, 255, 255, 0.7 );
	}
	
		.trigger_side:after{
			content:"\f055";	
			font-family: FontAwesome;
		color: rgba( 255, 255, 255, 0.7 );
		font-size: 16px;
		top: 50%;
		right: 13px;
		margin-top: -8px;
		position: absolute;
		display: inline-block;
		line-height: 1;
	}
	
	.trigger_side.active:after{
			content:"\f056";	
			color: rgba( 67, 197, 183, 0.8 );
	}
	
	.trigger_side.active{
		background: #1e364b;
		color: #43c5b7;
	}
	
	/* ハンバーガー */
	
.sb-toggle-right,
.sb-toggle-right span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}

#header .sb-toggle-right { /* SPメニュー PCでは非表示 */
	float: right;
	width: 25px;
	height: 22px;
	position: absolute;
	z-index: 99;
	display: block;
	right: 17px;
	top:17px;
}
	
.sb-toggle-right span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #333;
}
.sb-toggle-right span:nth-of-type(1) {
	top: 0;
}
.sb-toggle-right span:nth-of-type(2) {
	top: 10px;
}
.sb-toggle-right span:nth-of-type(3) {
	bottom: 0;
}	









/* ---------------
 * 004 - Animation
 */

.sb-slide, #container, .slidebar-wrap, .sb-slidebar {
	-webkit-transition: -webkit-transform 400ms ease;
	   -moz-transition: -moz-transform 400ms ease;
	     -o-transition: -o-transform 400ms ease;
	        transition: transform 400ms ease;
	-webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
}

/* --------------------
 * 005 - Helper Classes
 */
 
.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}