body{
	background-color: #000;
	width: 100%;
}
img{
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
  }
#wrapper{
	width: 100%;
	background-color: #1f1f30;
	background-image: url(../images/wrap_bg.jpg);
	background-repeat: repeat-x;
	background-position: center bottom;
}
#header{
	width: 950px;
	margin-right: auto;
	margin-left: auto;
}
#nav{
	display: none;
}

#g-navi{
	background-image: url(../images/global_navi_bg.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
}
#containar{
	width: 950px;
	margin-right: auto;
	margin-left: auto;
	background-color: #0F9;
}
#content{
	background-color: #CCC;
	float: left;
	width: 76.821%;
}
#menu{
	background-color: #F0F;
	float: right;
	width: 22.105%;
}
#footer{
	background-color: #63F;
	clear: both;
}
/*グローバルナビゲーション*/
#g-navi ul{
	display: block;
	width: 950px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 11px;
	background-image: url(../images/global_navi_line.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
#g-navi li{
	width: 20%;
	display: block;
	height: 55px;
	float: left;
	background-repeat: no-repeat;
	background-image: url(../images/global_navi.jpg);
}

#g-navi li#nav-news{
	background-position: center 0px;
}
#g-navi li#nav-business{
	background-position: center -110px;
}
#g-navi li#nav-service{
	background-position: center -220px;
}
#g-navi li#nav-about{
	background-position: center -330px;
}
#g-navi li#nav-contact{
	background-position: center -440px;
}
#g-navi li#nav-news:hover{
	background-position: center -55px;
}
#g-navi li#nav-business:hover{
	background-position: center -165px;
}
#g-navi li#nav-service:hover{
	background-position: center -275px;
}
#g-navi li#nav-about:hover{
	background-position: center -385px;
}
#g-navi li#nav-contact:hover{
	background-position: center -495px;
}
#g-navi li a{
	text-indent: -9999px;
	display: block;
	width: auto;
	height: 55px;
	background-image: url(../images/global_navi_line.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
}
#g-navi a:hover{
}

#slide-btn{
	display: none;
}

@media only screen and (min-width: 789px) and (max-width: 970px){
#wrapper{
}
#header{
	width: auto;
}
#g-navi{
}
#containar{
	width: auto;
}
#content{
}
#menu{
}
#footer{
}
/*グローバルナビゲーション*/
#g-navi ul{
	width: auto;
}
#g-navi li{
}
#g-navi a{
}
#g-navi a:hover{
}
#pageslide #g-navi{
	display: none;
}
}
@media only screen and (min-width: 501px) and (max-width: 788px){
#wrapper{
}
#header{
	width: 95%;
}
#header img{
	height: auto;
	width: 70px;
}

#g-navi{
}
#containar{
	width: 95%;
}
#content{
	float: none;
	width: auto;
}
#menu{
	float: none;
	width: auto;
}
#footer{
}
/*グローバルナビゲーション*/
#g-navi ul{
	width: auto;
}
#g-navi li{
}
#g-navi a{
}
#g-navi a:hover{
}
}
@media only screen and (min-width: 501px){
#pageslide{
	visibility: hidden;
}
#pageslide #g-navi ul,#pageslide #g-navi a{
	margin: 0px;
	padding: 0px;
	height: 0px;
	width: 0px;
	display: none;
}
}
@media only screen and (max-width: 500px){
#wrapper{
}
#header{
	width: 95%;
}
#header img{
	height: auto;
	width: 60px;
}
#nav{
	display: block;
	height: 40px;
	width: 40px;
	position: absolute;
	position: fixed;
	top: 20px;
	right: 0px;
}
#nav a{
	text-decoration: none;
	text-align: center;
	display: block;
	height: 35px;
	width: 40px;
	font-weight: bold;
	color: #FFF;
	padding-top: 5px;
	background-color: #333;
	background-image: url(../images/menu_btn.png);
	background-repeat: no-repeat;
	background-position: center 1.5em;
}
#g-navi{
	display: none;
	background-image: none;
}
#containar{
	width: 95%;
}
#content{
	float: none;
	width: auto;
}
#menu{
	float: none;
	width: auto;
}
#footer{
}
/*グローバルナビゲーション*/
#g-navi ul{
	position: relative;
	width: auto;
}
#g-navi li{
	float: none;
	width: auto;
	background-image: none;
	text-indent: 0px;
	height: auto;
}
#g-navi li a{
	background-image: none;
	text-indent: 0;
	font-size: 1.2em;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	height: 1.2em;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-top-color: #999;
	border-right-color: #999;
	border-bottom-color: #999;
	border-left-color: #999;
	width: auto;
	padding: 10px;
}
#g-navi li a:hover{
	background-color: #333;
}
#pageslide {
	/* These styles MUST be included. Do not change. */
	display: none;
	position: absolute;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 999999;
	/* Specify the width of your pageslide here */
	width: 80%;
	padding: 10px;
	/* These styles are optional, and describe how the pageslide will look */
	background-color: #1E1E1E;
	color: #FFF;
	-webkit-box-shadow: inset 0 0 5px 5px #222;
	-moz-shadow: inset 0 0 5px 5px #222;
	box-shadow: inset 0 0 5px 5px #222;
	filter: alpha(opacity=95);
	-moz-opacity: 0.95;
	-khtml-opacity: 0.95;
	opacity: 0.95;
	visibility: visible;
}
#slide-btn{
	display: block;
}
#slide-btn a{
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	display: inline;
	margin: 5px;
}
}
