@charset "utf-8";
@import "heading.css";

/**
 * トップページ用スタイル
 * home.css
 *
 */

* {
	margin: 0;
	padding: 0;
}

html {
	overflow-y: scroll;
}

body {
	font-size: small;
	font-family: sans-serif;
	text-align: center;
	color: gray;
}

p {
	margin: 0 0 1em;
}

img {
	border: 0;
}


/**
 * コンテナー構造
 *
 * |<--            800px            -->|
 *  -----------------------------------
 * | container                         |
 * | --------------------------------- | 
 * ||header                           ||
 * | --------------------------------- |
 * ||contents                         ||
 * | -------------------------------- || 
 * ||footer                           || 
 * | --------------------------------- |
 *  -----------------------------------
 */

#container {
	width: 800px;
	margin: 0 auto;
}

#header {
	width: 800px;
	height: 610px;
	/*height: 530px;*/
}

#header h1 {
	height: 0;
	margin: 0;
	font-size: 0;
	line-height: 0;
}

#contents {
	width: 800px;
}

#menu {
	margin: 0 auto;
	width: 690px;
	height: 480px;
	text-align: left;
}

#menu h2 {
	width: 110px;
	height: 20px;
}

#menu .item {
	float: left;
	width: 220px;
	height: 80px;
	margin-top: 10px;
	margin-right: 10px;
	padding-bottom: 10px;
	background: #F2F9FB;
	text-align: center;
}

/*
#menu .item2 {
	float: left;
	width: 440px;
	height: 100px;
	margin-top: 20px;
	background-color: #DBFAF3;
}

#menu .item3{
	float: left;
	width: 110px;
	height: 80px;
	margin-left: 20px;
}
*/

#menu .dialy {
	float: left;
	width: 460px;
	height: 190px;
	margin-top: 10px;
}

#blogBox {
	width: 440px;
	height: 140px;
	margin-top: 34px;
	padding-top: 10px;
	padding-left: 10px;
	border: 1px solid #9ED0E8;
}

#menu .news {
	position: relative;
	float: left;
	width: 190px;
	height: 190px;
	margin-top: 10px;
	text-align: left;
}

#menu a,
#menu a:link,
#menu a:visited {
	display: block;
	width: 190px;
	height: 30px;
	padding-top: 10px;
	padding-left: 10px;
	background: url(../images/m_bg1.gif) no-repeat 0 2px;
	color: #000000;
	font-size: 1.2em;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

#menu a:hover {
	background: url(../images/m_bg2.gif) no-repeat 0 2px;
}

#menu a.dialy,
#menu a.dialy:link,
#menu a.dialy:visited {
	height: 20px;
	padding-top: 0;
	padding-left: 24px;
	text-align: left;
}

#menu a.blog,
#menu a.blog:link,
#menu a.blog:visited {
	display: block;
	width: 100%;
	height: 20px;
	background: none;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
}

#menu a.blog:hover {
	text-decoration: underline;
}

#menu a.news,
#menu a.news:link,
#menu a.news:visited {
	width: 150px;
	height: 134px;
	margin-top: 40px;
	margin-left: 20px;
	_margin-left: 10px;	/* IE6のみ*/
	background: none;
	padding: 0;
}

#menu p {
	margin-top: 10px;
	margin-left: 14px;
	color: #000000;
	font-size: 12px;
	line-height: 14px;
	text-align: left;
}
/*
#menu span {
	margin-left: 5px;
	color: #000000;
}

#menu a.sub,
#menu a.sub:link,
#menu a.sub:visited {
	margin-right: 20px;
	padding-left: 10px;
	background: url(../images/m_bg5.gif) no-repeat 0 2px;
	color: #000000;
	font-size: 1.0em;
	font-weight: bold;
	text-decoration: none;
}

#menu a.sub:hover {
	background: url(../images/m_bg3.gif) no-repeat 0 2px;
}
*/
#kaitori{
	clear: both;
	/*margin: 0 auto 46px auto;*/
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 46px;
	border: 1px solid #595757;
	height:216px;
	width:610px;
	position:relative;
}

#kaitori p{
	text-align:left;
	padding: 10px 0 0 20px;
	color: #333;
}

#kaitori_message {
	position: absolute;
	float: left;
	width: 146px;
	height: 24px;
	padding-top: 5px;
	padding-bottom: 4px;
	top: -34px;
	left: -1px;
	background: #00276c;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	z-index: 1;
}
#kaitori_message2 {
	position: relative;
	width: 270px;
	height: auto;
	float:left;
}

#kaitori_message2 p {
	font-size: 12px;
	letter-spacing: 0.02em;
	line-height: 16px;
}

#kaitori_message2 .principle {
	position: absolute;
	top: 162px;
	left: 8px;
}
	
#kaitori li{
	position: relative;
	top: -6px;
	left: 5px;
	float: left;
	list-style-type: none;
}

#kaitori a.blog,
#kaitori a.blog:link,
#kaitori a.blog:visited {
	margin-left: 15px;
	padding-left: 10px;
	background: url(../images/m_bg7.gif) no-repeat 0 2px;
	color: #000000;
	font-size: 1.0em;
	font-weight: bold;
	text-decoration: none;

}

#kaitori a.blog:hover {
	background: url(../images/m_bg8.gif) no-repeat 0 2px;
}

#message {
	margin: 0 auto;
	width: 800px;
	height: 220px;
}

#message p{
	color: #333333;
	font-size: 1.0em;
	font-weight: bold;
	line-height: 1.0em;
}

#banner{
	width: 400px;
	float: left;
	position: absolute;
	z-index: 1;
	right: -40px;
	top: -12px;
	
}

#banner img {
	margin: 0 4px 5px 0;
}

#gyosya {
	margin: 0 auto 10px auto;
	border: 1px solid #595757;
	height:52px;
	width:610px;
	position:relative;
}

#gyosya p{
	text-align:left;
	padding: 10px 0 0 20px;
	color: #333;
}

#gyosya_message {
	position: absolute;
	float: left;
	width: 141px;
	height: 24px;
	padding-top: 5px;
	padding-bottom: 4px;
	top: -34px;
	left: -1px;
	background: #00276c;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	z-index: 1;
}

#gyosya_message2 {
	position: relative;
	width: 610px;
	height: 52px;
	text-align: left;
}

#gyosya_message2 .click {
	position: absolute;
	top: 2px;
	left: 8px;
}

#gyosya_message2 p {
	margin-left: 80px;
	font-size: 12px;
	letter-spacing: 0.02em;
	line-height: 16px;
}

#footer {
	clear: both;
	width: 800px;
	
}
