@charset "utf-8";
/* @group Reset */
*{ margin: 0;padding: 0}
a { text-decoration : none; color:#FFFFFF;}
a hover{ text-decoration : none; color:#FF0000; opacity:75%;}
ul, ol { list-style : none}
img { vertical-align : top}
/* @end */
/* @group Fluid-img */
img { max-width : 100%}
/* @end */
/* @group HTML */

body{
	background-color:#0C10C3;
	background-image:url(images/background_maguro0918.jpg);
	background-position:top;
	background-repeat:no-repeat;
	}

html {
font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; 
font-size : 100%;
line-height : 1.5;
}
/* @end */
/* @group Heading */
h1,h2,h3,h4,h5,h6 { margin-bottom : 24px}
h1 {
font-size : 48px; 
line-height : 1} /* 48px */
h2 {
font-size : 36px;
line-height : 1.3333} /* 48px */
h3 {
font-size : 24px;
font-weight : bold;
line-height : 155%;} /* 24px */
hgroup h2,h4,h5,h6 {
font-size : 18px; /* 16px */
line-height : 1.5} /* 24px */
/* @end */
/* @group Header */
header { text-align : center; padding-top : 0px;
margin-top:auto;
margin-bottom:auto;
}
header h1 { margin-bottom : 24px}
header h2 { color : #62240b}
/* @end */
/* @group Nav */
nav {
margin-bottom : 24px;
background-color:#FFFFFF;
}
nav ul { overflow : hidden}
nav ul li { width : 12.4%; float : left;}
nav ul li a {
font-size:14px;
display : block;
color : #000000;
font-weight:bold;
padding : 8px 0}

nav ul li a:hover {
color:#FFFFFF;
background-color:#000000;
opacity:75%;
font-weight:bold;
}

/* @end */
/* @group Contents */
#contents {
width : 90%;
margin : 0 auto;
text-align : center}

#contents p { 
margin-bottom : 18px;
font-size:16px;
text-align : left;
color:#FFFFFF;
line-height:155%;}

#contents h3{ 
color:#FFFFFF;
}

#contents img { 
margin-bottom : 24px; 
box-shadow : 0 0 12px #000;}
/* @end */
/* @group Footer */
/*footer {
padding : 24px 0;
color:#3E3B3B;
text-align : center;
width:100%;
clear:both;
} */

footer {
	padding:20px;
	text-align : center;
	color:#FFFFFF;
	border-bottom:#FFFFFF 0px solid; 
	border-top:#FFFFFF 1px solid; 
}

footer h1 {
	padding:0 0 13px 0;
	text-align:center;
}

footer #footHis {
	padding:0 0 40px 0;
	text-align:center;
	font-size:0;
}

footer #footHis li {
	margin:0 7px 4px 7px;
	line-height:0;
	display:inline-block;
}

/* @end */
/*768px*/

#news
{
background-image:url(images/inline.png);
background-position:top;
background-repeat:no-repeat;
	}
	
#news p
{
margin:10px;
padding-top:0px;
padding-bottom:15px;
line-height:175%;
	}
	
#news h3
{
margin:10px;
padding-top:20px;
color:#FFFFFF;
	}

#banner ul li img{
	float:left;
	text-align:center;
}


#banner ul li img{ 
margin-bottom : 24px;
float:left;
}


ul.topnav {
	list-style: none;
	padding: 0 20px;	
	margin: 0;
	float: left;
	width: 920px;
	background: #222;
	font-size: 1.2em;
	background: url(topnav_bg.gif) repeat-x;
}
ul.topnav li {
	float: left;
	margin: 0;	
	padding: 0 15px 0 0;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
}
ul.topnav li a{
	padding: 10px 5px;
	color: #fff;
	display: block;
	text-decoration: none;
	float: left;
}
ul.topnav li a:hover{
	background: url(topnav_hover.gif) no-repeat center top;
}
ul.topnav li span { /*--Drop down trigger styles--*/
	width: 17px;
	height: 35px;
	float: left;
	background: url(subnav_btn.gif) no-repeat center top;
}
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.topnav li ul.subnav li a {
	float: left;
	width: 145px;
	background: #333 url(dropdown_linkbg.gif) no-repeat 10px center;
	padding-left: 20px;
}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
	background: #222 url(dropdown_linkbg.gif) no-repeat 10px center; 
}

#sp_top{
	display:none;
	}
	
#news{ 
margin-bottom : 24px; 
box-shadow : 0 0 15px #000;}

#main_line{
	width:auto;
	margin:auto;
	text-align:center;}
	
#news_line{
	width:100%;
	margin:auto;
	}

#main_line table tr td{
	padding-bottom:20px;
	}


@media screen and (min-width : 768px){
#contents { text-align : left}
}
/*1024px*/
@media screen and (min-width : 1024px) {
/* @group Nav */
nav ul {
width :93.75%;/* 960/1024 */
margin : 0 auto}
/* @end */
/* @group Contents */
#contents {
overflow : hidden;
width : 93.75%}/* 960/1024 */
#contents #main,
#contents #sub { 
float : left;
margin : 0 1.0416667%} /*10/960*/ 
#contents #main { width : 64.5833333%} /*620/960*/
#contents #sub { width : 31.25%} /*300/960*/
/* @end */

/* @group Footer */
footer {
width : 91.796875%; /*940/1024*/
margin : 0 auto}
/* @end */

}

@media screen and (max-width : 640px) {

nav {
margin-bottom : 2px;
background-color:#050303;
}
nav ul { overflow : hidden}
nav ul li { width : 25.0%; float : left;}
nav ul li a {
font-size:9px;
display : block;
color : #FFFFFF;
padding : 8px 0}
nav ul li a:hover {
color : white;
background-color:#000000;
font-weight:bold;
opacity:90%;
}

#mainbanner{
	display:none;
	}

header{
	width:100%;
	text-align:center;
	}
	
header h1 img{
	width:45%;
	}
	
#contents a{
	font-size:9px;
	}

#contents p{
	font-size:12px;
	}
	
body{
	background-image:none;
	}
	
#sp_top{
	display:block;
	width:100%;
	}
	
#main_line a{
	font-size:11px;
	}
	
}


