@charset "Shift_JIS";

/*************************

[1] 下層ページの指定部分
[2] トップページの指定部分

**************************/

*{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;
}

/*
----- CDS -----
*/
#footer #cds{
text-align: right;
color: #cccccc;
margin-top: 0.5em;
}

#footer #cds a{
text-decoration: none;
color: #cccccc;
}

#footer #cds a:hover{
text-decoration: none;
color: #666666;
}

body{
font-size: 80%;
text-align: center;
font-family: "MS UI Gothic",sans-serif;
padding: 0;
margin: 0;
}

/*

[1] 下層ページの指定部分

*/

/*---------------------------------------全体を囲んでいます*/
#wrapper{
text-align: left;
margin: 1em auto 0;
width: 600px;
}

/*---------------------------------------ヘッダー部分*/
#header{
height: 8em;
padding: 1em;
background: url(../img/bg-image.jpg) no-repeat 0 80%;
}

/*
----- サイトタイトル -----
*/
h1{
font-size: 150%;
height: 2em;
padding-left: 40px;
background: url(../img/bg-title.gif) no-repeat 0 0;
}

/*
----- その他ヘッダー内の文字 -----
*/
#header p{ margin-bottom: 0.5em; }

/*---------------------------------------コンテナー部分*/
#container{
position: relative;
padding-top: 4em;
}

/*---------------------------------------コンテンツ部分*/
#contents{
width: 100%;
padding: 1em 0;
border-top: 10px double #cccc99;
border-bottom: 10px double #cccc99;
}

/*---------------------------------------フッター部分*/
#footer{ padding: 0.5em 0px; }

/*
----- コピーライト -----
*/
#footer p{text-align: center;}


/*---------------------------------------グローバルナビ部分*/
#globalnavi{
position: absolute;
top: 0;
left: 0;
z-index: 100;
}

#globalnavi ul{
list-style-type: none;
width: 100%;
}

#globalnavi li{
width: 150px;
float: left;
}

#globalnavi li a,
#globalnavi ul ul li a{
text-align: center;
padding: 1em 0;
width: 100%;
display: block;
background: url(../img/bg-globalnavi.jpg) no-repeat 0 50%;
color: #000000;
}

#globalnavi li a:hover,
#globalnavi ul ul li a:hover{
background: url(../img/bg-globalnavi.jpg) no-repeat -150px 50%;
color: #ff0000;
}

#globalnavi ul ul{
list-style-type: none;
width: 150px;
}

#globalnavi ul ul li{
width: 150px;
float: none;
}

#globalnavi ul li.menu ul{display: none;}
#globalnavi ul li.menuOn ul{display: block;}

/*---------------------------------------コンテンツ内の要素*/

/*
----- 見出し -----
*/
h2,h3,h4,h5,h6{
font-size: 120%;
margin-bottom: 1em;
padding: 5px 1em;
border-top: 1px solid #cccc99;
border-right: 1px solid #cccc99;
border-bottom: 1px solid #cccc99;
border-left: 15px solid #cccc99;
}

h3,h4,h5,h6{
margin-top: 2em;
}

/*
----- 文字 -----
*/
#contents p{
line-height: 1.3;
margin-bottom: 0.5em;
}

/*
----- 各リスト -----
*/
#contents dl{
margin: 1em 0 2em;
}

#contents dl dt{
font-weight: bold;
margin-bottom: 5px;
}

#contents dl dd{
line-height: 1.5;
margin-left: 2em;
margin-bottom: 1.5em;
}

#contents ul{
list-style-position: inside;
line-height: 1.5;
margin: 1em 0 2em 2em;
}

/*

[2] トップページの指定部分

*/

/*---------------------------------------全体を囲んでいます*/
#index-page #wrapper{
text-align: left;
margin: 100px auto 0;
width: 640px;
position: relative;
}

/*---------------------------------------グローバルナビ部分*/
#index-page #globalnavi{
width: 630px;
position: absolute;
top: 50px;
left: 0;
}

#index-page #globalnavi ul{
list-style-type: none;
width: 100%;
}

#index-page #globalnavi li{
width: 150px;
float: left;
background-image: url(../img/bg-image.jpg);
background-repeat: no-repeat;
}

#index-page #globalnavi li a{
padding: 15px 0 0 0;
width: 150px;
height: 285px;
display: block;
background-image: url(../img/bg-image.jpg);
background-repeat: no-repeat;
color: #ffffff;
}

#index-page #globalnavi #menu01{background-position: 0 -300px;margin-right: 10px;}
#index-page #globalnavi #menu02{background-position: -150px -300px;margin-right: 10px;}
#index-page #globalnavi #menu03{background-position: -300px -300px;margin-right: 10px;}
#index-page #globalnavi #menu04{background-position: -450px -300px;}

#index-page #globalnavi #menu01 a{background-position: 0 0;}
#index-page #globalnavi #menu02 a{background-position: -150px 0;}
#index-page #globalnavi #menu03 a{background-position: -300px 0;}
#index-page #globalnavi #menu04 a{background-position: -450px 0;}

#index-page #globalnavi li a:hover{
background-color: transparent;
background-image: none;
color: #ff0000;
}

/*---------------------------------------フッター部分*/
#index-page #footer{ padding: 330px 0 0; }

/*
----- コピーライト -----
*/
#index-page #footer p{text-align: right;}