@charset "UTF-8";
/*
 * cmn_layout.css
 *
 */


/* !HTML5 elements
---------------------------------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{ display: block;}


/* 共通
---------------------------------------------------------- */
body , html {
	margin: auto;
	height: 100%;
}

html {
	overflow-y: scroll;
}

.BGwhite{
	background: #fff;
}
.BGblack{
	background: #000;
}


#contents {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

h1 {
	display:block;
	float:left;
	height:40px;
}

h2 {
}

h3 {
}

h4 {
}

h5 {
}

h6 {
}


/* !wrapper
---------------------------------------------------------- */
#wrapper {
	width: 100%;
	position: relative;
	height: auto !important;
	min-height: 100%;

}




/* !header
---------------------------------------------------------- */	
#header {
	height: 40px;
	background:#000;
}


	
/*-------------------
      accordion
-------------------*/

	
#menu_box {
    margin: 0;
    float: right;
}


/* !モバイル用nav
---------------------------------------------------------- */


#gnavM{
	z-index: 9999;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
    left: 0px;
	margin-top: 40px;
	background-color: #000;
	background-color: rgba( 0, 0, 0, .8 );
    float: left;
}

#gnavM ul li{
	border-bottom: 1px solid #959595;
	width: 100%;
	/*float: left;*/
	font-size: 18px;
	text-align: center;
	}

#gnavM ul li a {
	color: #FFFFFF;
	text-decoration: none;
	display: block;
	vertical-align: middle;
	/*height: 44px;*/
	line-height:50px;
	width:100%
	}

#gnavM ul li a:hover {
	opacity: 0.3;
	}


	
/* !footer
---------------------------------------------------------- */
#footer {
	position: absolute;
	background-color: #000;
	/*height: 40px;*/
	width: 100%;
	bottom: 0px;
	border-top-width: 0px;
	color: #fff;
	padding-top: 1%;
	padding-right: 0%;
	padding-left: 0%;
	padding-bottom: 1%;
	text-align: right;
}
	
	

/*-------------------------------------------------------------------------------------------------------------
	768px以上
-------------------------------------------------------------------------------------------------------------*/


@media (min-width: 768px){
    #footerIn p, #footerIn img {
	display: block;
	float: right;
	}
}


/*-------------------------------------------------------------------------------------------------------------
	767px以下
-------------------------------------------------------------------------------------------------------------*/

@media (max-width: 767px){


#sp_menu {
    display: block;
}
    

#footerIn p {
	display:none;
}

#footerIn img {
    
}
	
#footerIn p, #footerIn img {
	margin:1% auto !important;
    clear: both ;
	}
    
    #footer {
	position: absolute;
        text-align: center;

}


}
