@charset "Shift_JIS";

/* 一括で全ての要素の余白をゼロに指定 */
*{padding: 0;	margin: 0;}

a:link{
color: #0000ff;
text-decoration: underline;
}

a:visite{
color: #cc00cc;
text-decoration: underline;
}

a:hover{
color: #ff0000;
text-decoration: underline;
}

body{
font-size: 80%;
text-align: center;
font-family: "MS UI Gothic",sans-serif;
padding: 0;
margin: 0;
}

/*---------------------------------------全体を囲んでいます*/
#wrapper{
text-align: left;
margin: 1em auto 0 auto;
width: 95%;
border: 1px solid silver;
}

/*---------------------------------------ヘッダー部分*/
#header{
height: 100px;
border-bottom: 1px solid silver;
}

/*
----- サイトタイトル -----
*/
h1{
font-size: 180%;
padding: 20px 0 20px 20px;
}

/*
----- その他ヘッダー内の文字 -----
*/
#header p{padding-left: 20px;}

/*---------------------------------------コンテナー部分*/
#container{
width: 100%;
position: relative;
padding: 2em 0 0 0;
}

/*---------------------------------------コンテナーインナー部分*/
#container-inner{
width: 100%;
float: left;
margin-right: -180px;
}

/*---------------------------------------コンテンツ部分*/
#contents{
width: 100%;
float: right;
margin-left: -180px;
}

/*---------------------------------------コンテンツインナー部分*/
#contents-inner{
margin: 0 180px;
padding: 20px 50px;
border-left: 1px solid silver;
border-right: 1px solid silver;
}

/*---------------------------------------左サイドバー部分*/
#left-sidebar{
width: 160px;
padding: 20px 10px;
float: left;
}

/*---------------------------------------右サイドバー部分*/
#right-sidebar{
width: 160px;
padding: 20px 10px;
float: right;
}

/*---------------------------------------フッター部分*/
#footer{
clear: both;
width: 100%;
padding: 0.5em 0px;
border-top: 1px solid silver;
}

/*
----- コピーライト -----
*/
#footer p{text-align: center;}


/*
----- CDS -----
*/
#cds{ display: none;}
/*---------------------------------------グローバルナビ部分*/
#globalnavi{
position: absolute;
top: 0;
left: 0;
width: 100%;
background-color: #0099ff;
}

#globalnavi ul{
list-style-type: none;
width: 100%;
background-color: #0099ff;
}

#globalnavi li{
width: auto;
float: left;
border-right: 2px groove #cccccc;
}

#globalnavi li a{
text-align: center;
padding: 0.5em 1em;
width: auto;
display: block;
background-color: #0099ff;
color: #000000;
}

#globalnavi li a:hover{
background-color: #99ffff;
color: #ff0000;
}


/*---------------------------------------コンテンツ内の要素*/

/*
----- 見出し -----
*/
h2,h3{
font-size: 120%;
margin-bottom: 1.5em;
padding: 5px 0 5px 5px;
border-left: 10px solid #000000;
}

h3{margin-top: 2em;}

/*
----- 文字 -----
*/
#contents p{
line-height: 1.5;
margin-bottom: 1em;
}
