@charset "utf-8";
html{
	height: 100%;
}
body{
	margin: 0;
	padding: 0;
	height: 100%;
	background: #efefef;
	background-position: center top;
}
h1{
	margin: 0;
	padding: 0px;
	background-image: url("../img/header.jpg");
	background-repeat: no-repeat;
	background-position: left top;
	width: 780px;
	height: 60px;
}
h2{
	font-size: 1em;
	background-image: url("../img/h2.gif");
	background-repeat: repeat-x;
	margin-top: 20px;
	padding-top: 10px;
	padding-left: 35px;
	width: 510px;
	height: 50px;
	color: #004080;
}
h3{
	font-size: 0.8em;
	background-image: url("../img/h3.gif");
	background-repeat: no-repeat;
	margin-top: 10px;
	margin-bottom: 5px;
	padding-left: 20px;
}
p.indent{
	text-indent: -1em;
	padding-left: 1em;
}
img{
	border-style: none;
}
dl{
	margin: 0;
	padding: 0;
}
dt{
	width: 80px;
	float: left;
	clear: left;
}
dd{
	width: 450px;
	float: left;
}
td{
	padding-left: 5px;
}
a{
	text-decoration: none;
	color: #0080ff;
}
a:hover{
	color: #4d4d4d;
}

/*----- container -----*/
#container{
	width: 780px;
	background-color: #ffffff;
	margin: 0 auto;
	font-family: "ＭＳ ゴシック", "MS GOTHIC", sans-serif;
	color: #4d4d4d;
	line-height: 1.5;
}

/*----- content -----*/
.txt{
	font-size: 80%;
	line-height: 1.8;
}
.align{
	text-align: right;
	vertical-align: top;
}
.em{
	font-weight: bold;
}
.toppage{
	background-image: url("img/bgimg.jpg");
	background-repeat: no-repeat;
}

/*----- menu -----*/

/* Basic code - don't modify */
#nav{
	display: block;
	margin: 0;
	padding: 0;
	position: relative;
}
#nav li{
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
}
#nav a{
	display: block;
}
#nav ul{
	display: none;
	position: absolute;
	left: 0;
	margin: 0;
	padding: 0;
}
* html #nav ul{		/* IE6 "fix" */
	line-height: 0;
}
#nav ul a{				/* IE6/7 fix */
	zoom: 1;
}
#nav ul li{
	float: none;
}
#nav ul ul{
	top: 0;
}
    
/* Essentials - configure this */
#nav ul{
	width: 135px;
}
#nav ul ul{
	left: 131px;
}

/* Everything else is theming */
#nav{
	background-color: #004080;
	height: 24px;
}
#nav *:hover{
	background-color: none;
}
#nav a{
	border-right: 1px solid white;
	color: #ffffff;
	font-size: 12px;
	padding: 6px;
	line-height: 1;
	text-decoration: none;	/* add */
	text-align: center;			/* add */
}
#nav li.hover a{
	background-color: #5E5A5A;
}
#nav ul{
	top: 25px;
}
#nav ul li a{
	background-color: #5E5A5A;
}
#nav ul a.hover{
	background-color: #2fbbff;
}
#nav ul a{
	border-bottom: 1px solid white;
	border-right: none;
	opacity: 0.9;
	*filter: alpha(opacity=70);
}
/* #nav ul a { border-bottom: none; } - I also needed this for IE6/7 */

/*----- sub -----*/
.side_h2{
	background-color: #d6e7ef;
	font-size: small;
	font-weight: bold;
	color: #004080;
	padding: 5px 10px;
	border-left: solid 4px #004080;
	border-bottom: solid 1px #004080;
	width: 188px;
}
.side_h3{
	font-size: small;
	font-weight: normal;
	margin-left: 20px;
	margin-top: 5px;
	color: #0080ff;
}
.side_a{
	text-decoration: none;
}
.side_img{
	border: solid 1px #cccccc;
	padding: 5px;
}

/*----- footer -----*/
#footer{
	clear: both;
	border-top: solid 3px #5378c9;
	margin-top: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
	text-align: center;
	font-size: small;
}

/*----- mail form -----*/
#mailform table{
	width: 530px;
	border-collapse: collapse;
	border: solid 1px #b9b9b9;
}
#mailform td{
	border: solid 1px #b9b9b9;
	padding: 3px;
}
.tdcolor{
	background-color: #cee7ff;
}
.required{
	font-size: 0.8em;
	color: #ff0000;
}
#mailform li{
	list-style-type: none;
	color: #ff0000;
	
}
#mailform textarea{
	font-size: 1em;
}
#m1{
	width: 200px;
}
#m2_1{
	width: 30px;
}
#m2_2{
	width: 40px;
}
#m2_3{
	width: 80px;
}
#m2_4, #m2_5{
	width: 300px;
}
#m3_1, #m3_2, #m3_3{
	width: 40px;
}
#m4{
	width: 370px;
}
#m5{
	width: 370px;
}
#m6{
	width: 370px;
	height: 300px;
}
#m7_1, #m7_2, #m7_3{
	width: 200px;
}
#m8{
	width: 370px;
	height: 150px;
}
.btn{
	width: 100px;
	height: 25px;
	font-size: 120%;
}