@charset "shift_jis";

body {
	line-height: 180%;
	margin: 0;
	padding: 0;
	font-family:'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	background: #ffffff;
}

h2 {
	font-weight: bold;
	color: #ffffff;
	font-size: 110%;
	margin: 20px 0px 20px 0px;
	padding: 7px 7px 7px 30px;
	text-shadow: glay 0.5px 0.5px 0.5px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #cccccc;
	background: #1e90ff;
	}

h3,h4 {
	font-weight: bold;
	color: #000000;
	font-size: 100%;
	margin: 10px 0px 10px 0px;
	padding: 7px 7px 7px 30px;
	text-shadow: glay 0.5px 0.5px 0.5px;
	background: linear-gradient(transparent 90%, gray 0%);
}

a {
	color:#1e90ff;
	text-decoration:none;
	}

a:hover {
	color:#000080;
	}

#header h1{
	font-size:90%;
	font-weight:normal;
	margin-top:10px;
	}

.intro{
	float:left;
	margin-bottom: 20px;
	margin-top:8px;
	font-size:170%;
	font-weight:bold;
	}

.intro span{
	display:block;
	font-size:60%;
	font-weight:normal;
	}

#headerline {
	clear: both;
	overflow: hidden;
	padding: 0;
	margin:0 auto;
	border-top: 4px solid #ebebeb;
	}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.str {
	width:90%;
	padding: 15px;
	background: #f0f8ff;
	border-radius: 15px;
	box-shadow: 5px 5px 5px #cccccc;
}

.prpf {
	width:100%;
	padding: 15px;
	border-radius: 15px;
	border-style: solid;
	border-width: 2px;
	border-color: #cccccc;
	box-shadow: 5px 5px 5px #cccccc;
}

.ex {
	border: 1px solid #999999;
	padding: 10px;
	background: #000000;
	color:#ffffff;
	margin-bottom: 10px;
	width:auto;
}

img {
	border: none;
	max-width: 399px;
	height: auto;
}

img.ekaeru {
	max-width: 100%;
}

#op {
	text-align: left;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width: 960px;
}

#left {
	float: left;
	width: 65%;
	margin-top: 30px;
	margin-left: auto;
	margin-bottom: 10px;
}

#menu {
	float: right;
	font-size: 90%;
	width: 30%;
	margin-top: 30px;
	margin-bottom: 30px;
	margin-right: auto;
}

#menu li:first-child a {
	border-radius:5px 0 0 5px;  
}  

#menu li:last-child a {  
	border-radius:0 5px 5px 0;  
} 

#menu .ta {
	border: 1px solid #000080;
	padding: 5px;
	background: #f0f8ff;
	margin-bottom: 20px;
	border-radius: 10px;
}

.mmm a {
	text-decoration: none;
	display: block;
	border-bottom: 1px dotted #999999;
	padding-left: 15px;
	zoom: 1;
}

.mmm a:hover {
	background: #1e90ff;
	color: #ffffff;
}

#menu .side {
	margin: 10px 0px 30px 0px;
	padding: 7px 7px 7px 35px;
	box-shadow: gray 1px 1px 1px 1px;
	text-shadow: black 0.5px 0.5px 0.5px;
	background-image:url(img/hlist.jpg);
	background-repeat:no-repeat;
	background-position:left center;
}

.ad {
	border: 1px solid #9999ff;
	font-size: 100%;
	padding: 5px;
	margin-bottom: 30px;
	box-shadow: gray 1px 1px 1px 1px;
	width:auto;
}

#footer {
	clear: both;
	font-size: 90%;
	padding: 15px;
	text-align: center;
	color: #ffffff;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #cccccc;
	background: #1e90ff;
}

#footer li{
	display: inline;
}

#footer li a{
	color: #ffffff;
}

#footer li a:hover {
	background: #666666;
}

@media only screen and (max-width:480px){

body {
	margin: 10px;
}

.navia{
	border-top:0;
	border-bottom:0;
	}

nav#navi ul li{
	clear:both;
	width: 80%;
	background: #1e90ff;
	border-top:5px solid #ffffff;
	box-shadow: gray 2px 2px 2px 0px;
}

nav#navi ul li a{
	width:100%;
	color:#ffffff;
	background:#337fcc;
	font-size:110%;
	font-weight:bold;
	text-shadow:0 -1px 0px #225588,0 -2px 0px #225588;
	text-align:center;
	display:block;
	text-decoration:none;
	border:1px solid #225588;
	padding:12px 0 8px 0;
	border-radius:5px;
	box-shadow:1px 2px 2px rgba(0,0,0,0.3), 0px 1px 0px rgba(255,255,255,0.5) inset, 0px -1px 0px rgba(255,255,255,0.2) inset;
	}

nav#navi ul li a:hover {
	  background:-moz-linear-gradient(rgba(34,85,136,0.4), rgba(34,85,136,0.9));
	  background:-webkit-gradient(linear, 100% 0%, 100% 100%, from(rgba(34,85,136,0.4)), to(rgba(119,170,221,0.9)));
	}

#op {
	width: 100%;
}

#left {
	width: 100%;
}

#menu {
	float: left;
	width: auto;
	margin-top: auto;
}

img {
	max-width: 100%;
}
}

@media only screen and (min-width:480px) and (max-width:1024px){

body {
	margin: 20px;
}

#op {
	width: 100%;
}

nav#navi ul li a{
	font-size: 90%;
	}

img {
	max-width: 100%;
}
}