body {
	height: 100%;
	margin: 0;
	padding: 0;
	background-image: url(octop/oc_top_back.png);
	background-size: auto;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #dcdcdc;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	body {
		width: auto;
	}
	
}
/*スマホ終了*/

#page {
	margin: 10px auto;
  	width: 912px;
  	padding: 0px;
  	overflow: hidden;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#page {
		width: auto;
	}
	
}
/*スマホ終了*/

header {
	margin: 0 auto;
	width: 912px;
	height: 130px;
	padding: 0px;
	
}

/*スマホ開始*/
@media screen and (max-width:479px){
	header {
		width: auto;
		height: auto;
	}
	img {
		max-width: 80%;
		height: auto;
		margin: auto;
	}

	#mail {
		display: none;
	}
	
}
/*スマホ終了*/

#mail {
	float: right;
}


#topmenu {
	margin: 0 auto;
	padding: 0 auto;
	width: 912px;
	/*height: 50px;*/
	overflow: hidden;
	list-style-type: none;
}

nav ul {
	position:relative;

}

nav li {
	
	overflow: hidden;
	width: 140px;
	margin: 0;
	padding: 0;
	float: left;
	text-align: center;

}

nav li a {
	width: auto;
	display: block;
	color: #fff;
	padding: 8px 0;
	font-size: 14px;
	font-weight: bold;
	text-shadow: 0 -1px 0px #333,0 1px 0px #555;
	text-decoration: none;
	font-family: "メイリオ";
	background: #666;
	background-image: -moz-linear-gradient(top, #5656ff 0%, #4747ff 50%, #2d2dff 50%, #4747ff 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5656ff), color-stop(0.50, #4747ff), color-stop(0.50, #2d2dff), color-stop(1, #4747ff));
	border-left: 1px solid #f5f5f5;
	/*box-shadow: 1px 0px 0px rgba(225,225,225,0.3) inset,
				-1px 0px 0px rgba(225,225,225,0.3) inset,
				0px 1px 1px rgba(0,0,0,1) inset,
				0px -1px 1px rgba(0,0,0,3) inset,
				0px 1px 3px #f5f5f5;*/
}


/*nav #current a {
  	background-color: #ffff00

}*/

nav a:hover {
  	background-color: #808080;
  	background-image: -moz-linear-gradient(top, #555 0%, #444 50%, #333 50%, #444 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #555), color-stop(0.50, #444), color-stop(0.50, #333), color-stop(1, #444));
	/*box-shadow: 1px 0px 0px rgba(225,225,225,0) inset,
				-1px 0px 0px rgba(225,225,225,0) inset,
				0px 1px 1px rgba(0,0,0,1) inset,
				0px -1px 1px rgba(0,0,0,3) inset,
				0px 1px 3px #f5f5f5;*/
}


nav li:first-child a{
	/*border-radius:5px 0 0 5px;
	border-left: 0;
	/*box-shadow: -1px 0px 0px rgba(225,225,225,0.3) inset,
				0px 1px 1px rgba(0,0,0,1) inset,
				0px -1px 1px rgba(0,0,0,3) inset,
				0px 1px 3px #666;*/
}

nav li:last-child a{
	/*border-radius:0 5px 5px 0;
	/*box-shadow: 1px 0px 0px rgba(225,225,225,0.3) inset,
				0px 1px 1px rgba(0,0,0,1) inset,
				0px -1px 1px rgba(0,0,0,3) inset,
				0px 1px 3px #666;*/
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#topmenu {
		width: auto;
		height: auto;
	}
	
}
/*スマホ終了*/


#content01 {
	/*margin: 0 auto;*/
	width: 912px;
	 
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#content01 {
		width: auto;
		height: auto;
	}
	
}
/*スマホ終了*/


/*---メイン---*/
#main {
	
	width: 606px;
	height: 302px;
	float: left;
	overflow: hidden;
}



/*----画像切り替え---*/
#slideshow {
   position: relative;
   width:  606px; /* 画像の横幅に合わせて記述 */
   height: 302px; /* 画像の高さに合わせて記述 */
}

#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#main {
		width: auto;
		height: auto;

	}
	#slideshow img {
		max-width: 80%;
		height: auto;
		margin: auto;
	}
		
}
/*スマホ終了*/


#system01 {
	margin: 0 auto;
	width: 300px;
	height: 148px;
	float: right;
	background-color: #00008b;
}

#system01:hover {
  background-color: #000000;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#system01 {
		width: 80%;
		height: auto;
		float: none;
	}

		
}
/*スマホ終了*/


#web02 {
	margin: 0 auto;
	margin-top: 6px;
	width: 300px;
	height: 148px;
	float: right;
	background-color: #006400;
}

#web02:hover {
  background-color: #000000;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#web02 {
		width: 80%;
		height: auto;
		float: none;
	}

		
}
/*スマホ終了*/

#syuppan03 {
	
	margin-top: 6px;
	width: 300px;
	height: 148px;
	float: left;
	background-color: #ff8c00;
}

#syuppan03:hover {
  background-color: #000000;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#syuppan03 {
		width: 80%;
		height: auto;
		float: none;
	}

		
}
/*スマホ終了*/

#tuuhan04 {
	margin-top: 6px;
	margin-left: 6px;
	width: 300px;
	height: 148px;
	float: left;
	background-color: #8b008b;
}

#tuuhan04:hover {
  background-color: #000000;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#tuuhan04 {
		width: 80%;
		height: auto;
		float: none;
	}

		
}
/*スマホ終了*/

#posting05 {
	margin-top: 6px;
	width: 300px;
	height: 148px;
	float: right;
	background-color: #778899;
	overflow: hidden;
}

#posting05:hover {
  background-color: #000000;
}

/*スマホ開始*/
@media screen and (max-width:479px){
	#posting05 {
		width: 80%;
		height: auto;
		float: none;
	}

		
}
/*スマホ終了*/

footer {
	overflow: hidden;
	width: 912px;
	height: 150px;
	margin-top: -10px;
	background-image: url(octop/foback.png); 
	background-repeat: no-repeat;
}


#fo01 li {
	display: block;
	float: left;
	width: 100px;
}

#fo01 li a {
	text-align: center;
	text-decoration: none;
	font-family: "メイリオ";
	font-size: 12px;

}

#fo02 {
	width: 650px;
	height: 65px;
	/*border: 1px solid black;*/
	float: left;
	
}


#jyuusyo {
	margin-right: 10px;
	width: 200px;
	height: 65px;
	float: right;
	background-color: #696969;
	opacity: 0.8;
	font-family: "メイリオ";
}

#jyuusyo p {
	font-family: "メイリオ";
	font-size: 12px;
	color: #ffffff;

}

#fo03 {
	clear: both;
	text-align: center;
}