@charset "UTF-8";

/*----------------------------------------
	目次
-----------------------------------------*/
/*
	■CSSの初期化
	■CSSの初期化２
	■基本設定（htmlやbodyとか）
		■見出し
		■フォント
	■全体のレイアウト
	■ヘッダー
	■グローバルナビゲーション
	■サブナビゲーション（横のメニュー）
	■フッター
	■エラーページ
*/

/*----------------------------------------
	CSSの初期化（reset.css）
-----------------------------------------*/
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.0
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym {border:0;}

/*----------------------------------------
	CSSの初期化２（clearfix・その他細々）
-----------------------------------------*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*¥*//*/
	height: auto;
	overflow: hidden;
	/**/
}

html {	/*　中身があまり無くても高さを設ける */
	height: 100%;
	margin-bottom: 1px;
}

table {	/* セルの重なり設定 */
	border-collapse:collapse;
	border-spacing:0;
}

/*----------------------------------------
	基本設定
-----------------------------------------*/

html {
	background: #e6e3c8;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: url(img/bg.gif) repeat-y 50% 50%;
}

h1,h2 { margin: 0; padding: 0; overflow: hidden; }

p { margin: 0.5em 0; }

div#main table {
	width: 510px;
	margin: 1.25em 0;
}

div#main table tr th {
	background: #fc9 url(img/bg-table.gif) no-repeat 0 0;
	text-align: center;
}

div#main table tr th,
div#main table tr td {
	padding: 5px 8px;
	border: 1px solid #999;
	font-size: 13px;
}

/*----------------------------------------
	見出しのレイアウト（フォントは別項）
-----------------------------------------*/

h1 {
	width: 760px;
	height: 55px;
}

h2 img {
	margin-bottom: 18px;
}

/*
div#main h2 {	/* 扉画像。サイズを決めておく。 */
	width: 520px;
	height: 80px;
	background: #09c;
	color: #fff;
	margin-bottom: 18px;
}
*/

h3 {
	margin: 10px 0;
	padding: 5px 0 3px 15px;
	background: url(img/head-normal.gif) no-repeat left center;
}

div#main div#head {
	background: url(img/head-bottom.gif) no-repeat left bottom;
}

div#main div#head h2 {
	margin-bottom: 18px;
	padding: 6px 15px 5px 15px;
	background: url(img/head-top.gif) no-repeat 0 0;
}

/*----------------------------------------
	フォントサイズ（行間の指定もここで）
-----------------------------------------*/

div#main {
	font-size: 15px;
	line-height: 1.4;
}

div#main-single {
	font-size: 92%;
	line-height: 1.5;
}

div#main dl dt {
	font-weight: bold;
}

div#subnavi {
	font-size: 13px;
}

h2 {
	font-size: 17px;
	font-weight: bold;
}

/*----------------------------------------
	全体のレイアウト
-----------------------------------------*/

div#container {
	width: 760px;
	margin: 0 auto;
	text-align: left;	/* IEセンタリング修正 */
}

div#container-inner {
	background: #fff;
/*	background: #fdfdf6;
*/
}

div#content {
	clear: both;
	width: 760px;
}

div#content-inner {
	background: url(img/bg-cover.gif) repeat-y;
	margin: 0 15px; /* コンテンツ内部縦のマージンを下記に */
}

div#navi {
	height: 40px;	/* コンテンツ内・上のマージン＝height-（画像25px） */
}

div#footer {
	margin-top: 15px;	/* コンテンツ内・下のマージン（上と揃える） */
}

div#main {
	margin-right: 15px;
	display: inine;	/* IE bugfix */

	float: left;
	width: 520px;
}

div#main-single {	/* ワンカラム用 */
	width: 760px;
}

div#subnavi {
	float: right;
	width: 195px;
}

/*----------------------------------------
	ヘッダー部
-----------------------------------------*/

div#header {
	position: relative;
	width: 760px;
	height: 55px;
	background: #d4bc70 url(img/head-bg.gif) repeat-x 0 0;
}

div#header h1 {

}

/*----------------------------------------
	定義リスト（わりと重要）
-----------------------------------------*/

div#main dl dt {
	margin: 8px 0;
	padding: 5px 0 3px 15px;
	background: url(img/head-normal.gif) no-repeat left center;
}

div#main dl dd {
	margin: 0 0 20px 8px;
}

div#main dl dd img {
	margin-top: 10px;
}

div#main dl dl {
	margin-left: 20px;
}

/*----------------------------------------
	検索フォーム
-----------------------------------------*/

div#header form {
	position: absolute;
	top: 21px;
	left: 580px;
}

input.search {
	position: absolute;
	width: 110px;
	height: 16px;
	top: 0;
    border: 0 solid #fff;
	background: #fff url(img/bg-form.gif) no-repeat left top;
}

input.button {
	position: absolute;
	top: 0;
	left: 110px;
}

/*----------------------------------------
	グローバルナビゲーション
-----------------------------------------*/

div#navi {
	width: 760px;
	background: url(img/navi-over.gif) right top no-repeat;
	line-height: 1;
}

div#navi ul li {
	display: inline;
	text-align: left;
}

div#navi ul li a {
	display: block;
	float: left;

	text-indent: -9999px;
	background-repeat: repeat-x;
	text-decoration: none;

	outline-width: 0;	/* firefoxのリンク残像対策 */
}

/* 画像サイズ設定 */
div#navi ul li.home a,
div#navi ul li.css a,
div#navi ul li.shogi a,
div#navi ul li.mj a,
div#navi ul li.mail a,
div#navi ul li.other-a a {
	width: 100px;
	height: 25px;
}

div#navi ul li.home a {
	background: url(img/navi-home.gif) 0 0 no-repeat;
}

div#navi ul li.css a {
	background: url(img/navi-css.gif) 0 0 no-repeat;
}

div#navi ul li.shogi a {
	background: url(img/navi-shogi.gif) 0 0 no-repeat;
}

div#navi ul li.mj a {
	background: url(img/navi-mj.gif) 0 0 no-repeat;
}

div#navi ul li.mail a {
	background: url(img/navi-mail.gif) 0 0 no-repeat;
}

/* ホバー切り替わり画像 */

div#navi ul li.home a:hover {
	background: url(img/navi-home.gif) 0 -25px no-repeat;
}

div#navi ul li.css a:hover {
	background: url(img/navi-css.gif) 0 -25px no-repeat;
}

div#navi ul li.shogi a:hover {
	background: url(img/navi-shogi.gif) 0 -25px no-repeat;
}

div#navi ul li.mj a:hover {
	background: url(img/navi-mj.gif) 0 -25px no-repeat;
}

div#navi ul li.mail a:hover {
	background: url(img/navi-mail.gif) 0 -25px no-repeat;
}

/* アクティヴカラー */

div#navi ul li.other-a a {
	background: url(img/other-a.gif) 0 0 no-repeat;
}

/*----------------------------------------
	メインコンテンツ部
-----------------------------------------*/


/*----------------------------------------
	サブナビゲーション部
-----------------------------------------*/

div#subnavi a {
	text-decoration: none;
}

div#subnavi dl dt {
	clear: both;
	background: #d4bc70 url(img/head-subnavi.gif) left bottom;
	padding: 8px 8px 7px 9px;
}

div#subnavi dl dd {
	background: #ece3c6 url(img/bg-subnavi.gif) 0 0 repeat-y;
}

div#sidebar dl dd div {
	padding: 1px 8px;
	padding-bottom: 0; /* border1px分広く見えるため(-1px) */
}

div#subnavi dl dd ul li {
	display: inline; /* IE6.0の上下隙間対策 */
}

div#subnavi dl dd ul li a {
	display: block;
	padding: 7px 0 7px 20px;
	background: url(img/list-subnavi.gif) no-repeat left center;
	border-bottom: 1px solid #d8c072;
	position: relative;
}

div#subnavi dl dd ul li a:hover {
	background: #eee url(img/list-subnavi.gif) no-repeat left center;
}

/*----------------------------------------
	フッター部
-----------------------------------------*/

div#footer {	/* 既にmaring-topの設定しているので上書きしないように */
	clear: both;
	margin-left: auto;
	margin-right: auto;
	width: 760px;
	background: #e6dab3;
	text-align: right;

}

div#footer-inner {
	padding: 12px 20px 5px 15px;
}

/*----------------------------------------
	ほとんど使わない共通タグ
-----------------------------------------*/

.ex {
	background: #ffe8d0;
	margin: 4px 0;
	padding: 6px 20px;
	font-size: 0.92em;
}

cite {
	display: block;
}

hr.hide {
	display: none;
}

/*----------------------------------------
	エラーページ（フォント設定もここで）
-----------------------------------------*/

h2.error-page {
	margin: 8px 0 10px 0;
	color: #900;
	font-size: 130%;
	font-weight: bold;
}

dl.error-msg {
	margin: 20px 0;
}

dl.error-msg dt {
	margin-bottom: 8px;
}

dl.error-msg dd {
	margin-left: 30px;
}

dl.error-msg dd ul li {
	list-style-type: disc;
}

/*----------------------------------------
	メールページ
-----------------------------------------*/

#mailbox {
	margin-bottom: 100px;
}

#mailbox table {
	width: 510px;
	margin: 1.25em 0;
}

#mailbox table tr th {
	background: #fc9 url(img/bg-table.gif) no-repeat 0 0;
	text-align: center;
}

#mailbox table tr th {
	width: 60px;
	text-align: left;
}

#mailbox table tr th,
#mailbox table tr td {
	padding: 5px 8px;
	border: 1px solid #999;
	font-size: 13px;
}
}

