@charset "UTF-8";

/*
[1]リンク指定
[2]レイアウト指定
[3]#header内の各指定
[4]#contents内の各指定
[5]#sidebar内の各指定
[6]#footer内の各指定
[7]#globalnavi内の各指定
*/

/* 一括で全ての要素の余白をゼロに指定 */
*{padding: 0;	margin: 0;}


/* ####################################

                          [1]リンク指定
                          
####################################### */

a:link{
color: #0000ff;
text-decoration: underline;
}

a:visited{
color: #9900ff;
text-decoration: underline;
}

a:hover{
color: #ff0000;
text-decoration: underline;
}


/* ####################################

                      [2]レイアウト指定
                          
####################################### */
/*--全体のフォントサイズなど--*/
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: 830px;
border: 1px solid silver;
}

/*-- ヘッダー部分*/
#header{
height: 100px;
border-bottom: 1px solid silver;
}

/*-- コンテナー部分 --*/
#container{
width: 100%;
position: relative;
padding: 2em 0 0 0;
}

/*-- コンテナーインナー部分 --*/
#container-inner{
width: 650px;
float: left;
}

/*-- コンテンツ部分 --*/
#contents{
padding: 20px 20px;
width: 428px;
float: right;
border-left: 1px solid silver;
border-right: 1px solid silver;

}

/*-- 左サイドバー部分 --*/
#left-sidebar{
padding: 20px 10px;
width: 160px;
float: left;
}

/*-- 右サイドバー部分 --*/
#right-sidebar{
padding: 20px 10px;
width: 160px;
float: right;
}

/*-- フッター部分 --*/
#footer{
clear: both;
width: 100%;
padding: 0.5em 0px;
border-top: 1px solid silver;
}

/*-- グローバルナビ部分 --*/
#globalnavi{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 15px;
background-color: #ffffff;
}

/* ####################################

                   [3]#header内の各指定
                          
####################################### */

/*-- サイトタイトル --*/
h1{
font-size: 180%;
padding: 20px 0 20px 20px;
}

/*-- その他ヘッダー内の文字 --*/
#header p{padding-left: 20px;}


/* ####################################

                 [4]#contents内の各指定
                          
####################################### */

/*-- 見出し --*/
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;
}

/* ####################################

                  [5]#sidebar内の各指定
                          
####################################### */

#left-sidebar .cds-navi{
list-style-position: inside;
margin-bottom: 1em;
}

#left-sidebar .cds-navi li{
margin-bottom: 0.5em;
}

#left-sidebar .cds-navi li a{
text-decoration: none;
}

#left-sidebar .cds-navi li a:hover{
text-decoration: underline;
}

#left-sidebar .cds-navi ul{
list-style-position: inside;
margin: 0.5em 0 1em 1em;
}


/* ####################################

                  [6]#footer内の各指定
                          
####################################### */

/*-- コピーライト --*/
#footer p{text-align: center;}


/* ####################################

               [7]#globalnavi内の各指定
                          
####################################### */

#globalnavi ul{
list-style-type: none;
width: 100%;
background-color: #FFFFFF;
}

#globalnavi li{
width: auto;
float: left;
border-right: 2px groove #cc33ff;
}

#globalnavi li a{
text-align: center;
padding: 0.5em 1em;
width: auto;
display: block;
background-color: #8080ff;
color: #000000;
}

#globalnavi li a:hover{
background-color: #4040ff;
color: #c02000;
}
