/* -----------------------------------
 * Slidebars
 * Version 0.10.3
 * 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, #sb-site, .sb-site-container, .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. */
}

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

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

#sb-site, .sb-site-container {
	/* You may now use class .sb-site-container instead of #sb-site 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%;
	min-height: 100vh;
	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. */
	overflow-y: hidden;
}

/* Micro clearfix by Nicolas Gallagher, ensures the site container hits the top and bottom of the screen. */
#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
	content: ' ';
	display: table;
}

#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
    clear: both;
}

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

.sb-slidebar {
	width: 250px;
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 0; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */
	overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.sb-slidebar, .sb-slidebar * {
	-webkit-transform: translateZ( 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: block; /* 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. */
}



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

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
	-webkit-transform: translate( 0px );
	   -moz-transform: translate( 0px );
	     -o-transform: translate( 0px );
	        transform: translate( 0px );
	
	-webkit-transition: -webkit-transform 0.3s ease-in-out;
	   -moz-transition:    -moz-transform 0.3s ease-in-out;
	     -o-transition:      -o-transform 0.3s ease-in-out;
	        transition:         transform 0.3s ease-in-out;
	
	-webkit-transition-property: all; /* 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. */
	
	-webkit-overflow-scrolling: touch;
}

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

/* ナビゲーションアイコン */
.menu_area .navBtn {
        display: block;
        width: 26px;
        position: absolute;
        top: 25px;
        right: 19px;
        cursor: pointer;
}
.menu_area .navBtn span {
        display: block;
        height: 4px;
        width: 100%;
        background: #B4B4B4;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
}
.menu_area .navBtn span:nth-of-type(2),
.menu_area .navBtn span:nth-of-type(3) {
        margin-top: 5px;
}
/* ナビゲーションアイコン：アクティブ */
.menu_area.navOpen .navBtn span:nth-of-type(1) {
        -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
        -ms-transform: translateY(9px) translateX(0) rotate(45deg);
        transform: translateY(9px) translateX(0) rotate(45deg);
}
.menu_area.navOpen .navBtn span:nth-of-type(2) {
        margin-top: 5px;
        opacity: 0;
        -webkit-transform: translateY(9px);
        -ms-transform: translateY(9px);
        transform: translateY(9px);
}
.menu_area.navOpen .navBtn span:nth-of-type(3) {
        -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
        -ms-transform: translateY(-9px) translateX(0) rotate(-45deg);
        transform: translateY(-9px) translateX(0) rotate(-45deg);
}

/* メニュー内 */
.search_box{
	background-color: #000;
    box-sizing: border-box;
	height: 50px;
}

.sb-slidebar .nav{
    width: 267px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
	padding-right: 17px;
}
	
.sb-slidebar ul {
    background-color: #000;	
	color: #fff;
    transition: 0s ease;
	-moz-transition: 0s ease;
	-webkit-transition: 0s ease;
	-o-transition: 0s ease;
	-ms-transition: 0s ease;	
	display: inline-block;
    width: 100%;
}
.sb-slidebar > ul {
	border-left: 1px solid #fff;
}
.sb-slidebar > ul > li {
    border-bottom:1px solid #fff;
}
.nav > li > ul > li{
	opacity: 0;
}
.open_sub li{
	opacity: 1!important;
}
.sb-slidebar ul li a,.sb-slidebar ul li > span{
    position:relative;
    display:block;
    padding:1em;
    color:#fff;
    text-decoration:none;
	cursor: pointer;
}
.sb-slidebar > ul > li > a:before{
  position: absolute;
  top: 50%;
  right: 1.5em;
  display: inline-block;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  margin-right: -4px;
  vertical-align: middle;
  border-top: 2px solid #FFFF00;
  border-right: 2px solid #FFFF00;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transition-duration: 0.3s;
}
.arrow_upward:before {
  -webkit-transform: rotate(135deg)!important;
  transform: rotate(135deg)!important;
  -ms-transform: rotate(135deg)!important;	
}
.to_home > a:before, .spmenu_contact > a:before, .about > a:before, .spmenu_contact > a:before {
  border-top-width: 0px!important;
  border-right-width: 0px!important;
}
.sb-slidebar ul li ul li {
	border-top: 1px solid #646464;
    margin: 0 20px;	
}
.sb-slidebar ul li ul li a{
	padding: 1em 0 1em 5px;
}

@media screen and (min-width: 902px) {
.headerLine, #sb-site{
    -webkit-transform: translate( 0px )!important;
    -moz-transform: translate( 0px )!important;
    -o-transform: translate( 0px )!important;
    transform: translate( 0px )!important;	
}
.sp_sidemenu{
	display: none!important;
}
}