/*
　全体のレイアウト構成に関する設定
　ヘッダ、フッタ、コンテンツ領域
　必要に応じてサイドメニュー用CSSを読み込むこと
*/

* {
 margin: 0;
 padding: 0;
}

html>/**/body {
    font-size: 13px; /* モダンブラウザ向け */
}

body {
background-image: url(img/bg.png);
 font-size: small !important; /* IE 7向け */
/* font-size: x-small;  IE 6以下 */
font-size: small; /* IE 6以下 */
}

a {
 text-decoration: none;
}

div#container {
 width: 800px;
 margin-top: 0;
 margin-bottom: 0; 
 margin-left: auto;
 margin-right: auto;
 background-color: #ffffff;
}

/* ヘッダ */
div#header {
 float: left;
 height: 150px;
 width: 800px;
 margin-bottom: 15px;
 background-image: url(img/header.jpg);
 background-repeat: no-repeat;
}

div#header h1 {
 margin-top: 20px;
 margin-left: 40px;
 font-size: 180%;
 color: #ffffff;
}

div#header h2 {
 margin-left: 40px;
 font-size: 150%;
 color: #ffffff;
}

div#header a {
 color: #ffffff;
}

/* フッタ */
div#footer {
 width: 800px;
 padding-top: 5px;
 padding-bottom: 20px;
 clear: both;
}

div#footer address {
 font-size: 90%;
 font-style: normal;
 text-align: center;
 margin: 5px 0 0 0;
 border-top: solid 2px #808080;
}

/*
　サイドバー用スタイル
*/

/* サイドバー用にコンテンツ領域を狭める */
div#contents {
 width: 550px;
 float: right;
 margin-left: auto;
 margin-right: 20px;
 margin-bottom: 20px;
 padding-right: 10px;
}

/* 以下サイドバー定義 */
div#sidebar {
 width: 200px;
 float: left;
 margin-bottom: 20px;
}

div#sidebar h2 {
 font-size: 120%;
 color: #696969;
 border-left: solid 16px #6a5acd;
 padding-left: 5px;
}

div#sidebar ul.sidemenu {
 font-size: 90%;
 line-height: 0;
 margin-bottom: 10px;
}

div#sidebar ul.sidemenu li {
 list-style-type: none;
}

div#sidebar ul.sidemenu li a {
 display: block;
 line-height: 28px;
 color: #ffffff;
 background-color: #005087;
 border-bottom: solid 1px #ffffff;
 padding-left: 7px;
}

div#sidebar ul.sidemenu li a:hover {
 background-color: #017acd;
}

div#sidebar ul.sidemenu li.selected a {
 background-color: #c71585;
}


/* contents 内の基準設定 */

div#contents h2 {
 font-size: 150%;
 color: #606060;
 text-align: center;
 border-top: solid 5px #8b0000;
 border-bottom: double 3px #8b0000;
 padding-top: 3px;
 padding-bottom: 2px; 
 padding-left: 10px;
 margin-bottom: 10px;
 clear: both;
}

div#contents h3 {
 font-size: 120%;
 color: #202020;
 text-align: left;
 border-bottom: solid 2px #606060;
 margin-top: 5px;
 margin-bottom: 10px;
 clear: both;
}

div#contents p {
 margin-top: 0px;
 margin-bottom: 15px;
 line-height: 1.7;
}

div#contents ul {
 margin-left: 2em;
 line-height: 1.5;
}

div#contents dl {
 margin-bottom: 10px;
}

div#contents dl dt {
 font-weight: bold;
}

div#contents dl dd {
 margin-left: 1em;
}

