@charset "Shift_JIS"; /* [1]全体のリンク指定 [2]CSS.DesignSampleへのリンク指定 [3]レイアウトに関する指定 [4]ヘッダー内の各部分指定 [5]コンテンツ内の各部分指定 [6]サイドバー内の各部分指定 [7]フッター内の各部分指定 */ /* 一括で全ての要素の余白をゼロに指定 */ *{padding: 0; margin: 0;} /*++++++++++++++++++++++++++++++++++++++++ [1]全体のリンク指定 */ a:link{ color: #0000ff; text-decoration: underline; } a:visited{ color: #cc00cc; text-decoration: underline; } a:hover{ color: #ff0000; text-decoration: underline; } /*++++++++++++++++++++++++++++++++++++++++ [2]CSS.DesignSampleへのリンク指定 */ #footer #cds{ font-size: 90%; text-align: right; margin-right: 1.5em; color: #cccccc; } #footer #cds a{ text-decoration: none; color: #cccccc; } /*++++++++++++++++++++++++++++++++++++++++ [3]レイアウトに関する指定 */ body{ font-size: 80%; text-align: center; font-family: "MS UI Gothic",sans-serif; padding: 0; margin: 0; } /*-- 全体を囲んでいます --*/ #wrapper{ text-align: left; margin: 0 auto; padding: 20px 50px 0; width: 730px; background: url(../img/side_green.jpg) repeat-y 0 50%; position: relative; } /*-- ヘッダー部分 --*/ #header{ height: 150px; margin-bottom: 2em; background: url(../img/top_green.jpg) no-repeat 220px 100%; } /*-- コンテナー部分 --*/ #container{width: 100%;} /*-- コンテンツ部分 --*/ #contents{ float: right; width: 500px; padding-right: 10px; } /*-- サイドバー部分 --*/ #sidebar{ float: left; width: 180px; padding-left: 10px; } /*-- フッター部分 --*/ #footer{ clear: both; width: 100%; padding: 2em 0 1em; } /*-- トップナビ部分 --*/ #globalnavi{ position: absolute; top: 3em; right: 60px; } #globalnavi ul{ list-style-type: none; } #globalnavi li{ display: inline; background: url(../img/listmark.gif) no-repeat 0 50%; } #globalnavi li a{ padding: 0.5em 5px 0.5em 15px; } #globalnavi li a:hover{ text-decoration: underline; } /*++++++++++++++++++++++++++++++++++++++++ [4]ヘッダー内の各部分指定 */ /*-- サイトタイトル --*/ h1{ font-size: 170%; margin-left: 10px; padding: 20px 30px; background: url(../img/logo2.jpg) no-repeat 0 50%; } /*++++++++++++++++++++++++++++++++++++++++ [5]コンテンツ内の各部分指定 */ /*-- 見出し --*/ h2,h3,h4,h5,h6{ font-size: 120%; margin-bottom: 1em; padding: 0.5em 0 0.5em 25px; background: #ffffff url(../img/bg-h.gif) no-repeat 0 50%; color: #009900; } h3,h4,h5,h6{margin-top: 3em;} /*-- 文字 --*/ #contents p{ line-height: 1.5; margin-bottom: 1em; } /*-- 定義リスト --*/ #contents dl{ width: 90%; margin: 1.5em auto; } #contents dt{ margin-bottom: 0.5em; font-weight: bold; border-bottom: 1px solid #330000; } #contents dd{margin-bottom: 1.5em;} /*-- 定義リスト内の文字 --*/ #contents dd p{ line-height: 1.5; margin-bottom: 1em; } #contents dd span{color: #ff0000;} /*-- リスト --*/ #contents ul{margin: 1em 0 2em 20px;} #contents ul li{margin: 0 0 1em 0;} /*++++++++++++++++++++++++++++++++++++++++ [6]サイドバー内の各部分指定 */ /*-- サイドバータイトル --*/ .p_sidetitle{ font-weight: bold; padding-bottom: 2px; border-bottom: 1px solid #99cc00; } /*-- ローカルナビ --*/ .localnavi{ list-style-position: inside; color: #99cc00; margin: 1em 0 2em; } .localnavi li{ padding: 5px 0; border-bottom: 1px solid silver; } .localnavi li a{ text-decoration: none; } .localnavi li a:hover{ text-decoration: underline; padding-right: 10px; border-right: 10px solid #ff0000; } /*++++++++++++++++++++++++++++++++++++++++ [7]フッター内の各部分指定 */ /*-- コピーライト --*/ #footer p{text-align: center;}