@charset "Shift_JIS";

/*これは独自に設定した勉強用のcssを基本として修正・追加してうつせみ電気のサイト用に作成したものです。

対応するhtmlファイルは、\utsusemiの中のすべてのhtmlファイルです。*/

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
/*全体の表示幅設定*/
#inner
{
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	background-color: #f5efe0; /*Wordpressのメインと同じ色*/
	clear:both;
}

/*ヘッダー部の設定*/
#header
{
	width: 900px;
	height: 150px;
	margin-left: auto;
	margin-right: auto;
	background-color: #ffffff;
}

/*メイン部の設定*/
#main
{
	width: 700px;
	/*height: 300px;*/
	padding-bottom: 50px;
	float: right;
	background-color: #f5efe0; /*Wordpressのメインと同じ色*/

}

/*フッター部の設定*/
#footer
{
	width: 900px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	background-color: #f5f5f5;
	color: #ffffff;
	clear: both;
}

/*左サイド部の設定*/
#hside
{
	width: 200px;
	height: 675px; /*メイン部の長さと同じにする*/
	float: left;
	/*background-color: #f5efe0; メイン部と同じ色*/
	/*background-color: #f4f4f4;*/
}

/*ナビゲーション部の設定*/
#navi
{
	width: 200px;
	/*height: 100px;仮の数字。設定しないと容量に合わせて増える？*/
	float: left;
	overflow: hidden;
	/*background-color: #f5efe0; Wordpressのメインと同じ色 background-color: #ff7f50;*/
	/*background-color: #ff8c00; */
}

/*--------------------------------------------------------
  レイアウトパーツ設定
--------------------------------------------------------*/
/*++++++++++++++++++++++++++
　　ヘッダー内のパーツ
+++++++++++++++++++++++++++*/

#headerMain
{
	height: 19px;
	margin-right: auto;
	margin-left: auto;
}

#headerMain h1 /*ヘッダーメインの中の見出し(h1)の文字の設定*/
{
	margin-top: 10; /*これを設定しても変化なし。意味あるの？*/
	text-align: center;
	font-size: 35px;
	color: #000000;
}

#headerLogo /*ヘッダー内の上部左ボックスの設定（キャッチフレーズ、ロゴなど）*/
{
	width: 400px;
	float: left;
	/*background-color: #dda0dd;この色は、htmlで何か文字を入れないと表示されない*/
}

#headerExtra /*ヘッダー内の上部右ボックスの設定（戻るなど）*/
{
	width: 330px;
	float: right;
	/*background-color: #4169e1;この色は、htmlで何か文字を入れないと表示されない*/
}

#headerExtra p /*同上ボックス内の文字設定*/
{
	font-size: 2 em;
	font-weight: bold;
	color: #33bfd2;
	line-height: 1.0;
	text-align: right;
}

/*++++++++++++++++++++++++++
　　メイン部内のパーツ
++++++++++++++++++++++++++++*/

/*メイン部内のpの文字の設定*/
p
{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #000000;
}

p.left
{
	text-align: left;
}

#mainExtra1 /*トップページのメイン枠内の1つ目のボックスの設定*/
{
	width: 450px;/*空白を配置する場合は、その分小さくする必要がある。*/
	padding-top: 30px;/*内容＝文章の周囲に空白を配置する*/
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
	margin-left: auto;
	margin-right:auto;	
	text-align: center;
	font-size: 20px;
	background-color: #ffffff;

}

#mainBox1 /*トップページのメイン部内の1つ目の枠内のクリック用のボックスの設定*/
{
	width: 100px;
	height: 30px;
	padding-top: 15px;/*内容＝文章の周囲に空白を配置する*/
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 15px;
	margin-left: auto;
	margin-right:auto;	
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #ffffff;
	background-color: #dc143c;
}

#mainExtra2 /*トップページのメイン部内の左のボックスの設定*/
{
	width: 310px;
	margin-top: 50px; /*上にあるボックス枠との空白部分を指定する*/
	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	height: 150px;
	float: left;
	text-align: center;
	font-weight: bold;
	/*background-color: #dda0dd;*/
}

#mainExtra3 /*トップページのメイン部内の右のボックスの設定*/
{
	width: 310px;
	margin-top: 50px; /*上にあるボックス枠との空白部分を指定する*/	padding-top: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	height: 150px;
	float: right;
	text-align: center;
	font-weight: bold;
	/*background-color: #dda0dd;*/
}

#mainBox2 p /*トップページのメイン枠内の２つ目から５つ目のボックス内の文字設定*/
{
	width: 100px;
	height: 30px;
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
	*padding-bottom: 10px;
	margin-left: auto;
	margin-right:auto;	
	border: solid 2px #dc143c;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	color: #dc143c;
}

/*トップページのメインボックス内のクリック用文字のリンク設定*/
#mainBox1 a:link
{
	color: #ffffff;
	text-decoration:none;
}

#mainBox1 a:visited
{
	color: #ffffff;
	text-decoration:none;
}
#mainBox1 a:hover
{
	color: #ffffff;
	text-decoration:underline;
}
#mainBox1 a:action
{
	color: #ffffff;
	text-decoration:none;
}

/*トップページのメインボックス内のクリック用文字のリンク設定*/
#mainBox2 a:link
{
	text-decoration:none;
}

#mainBox2 a:visited
{
	text-decoration:none;
}
#mainBox2 a:hover
{
	/*color: #dc143c;*/
	text-decoration:underline;
}
#mainBox2 a:action
{
	text-decoration:none;
}

#mainExtra4 /*トップページ以外のページの表示枠の設定*/
{
	width: 650px;/*空白を配置する場合は、その分小さくする必要がある。*/
	padding-top: 30px;/*内容＝文章の周囲に空白を配置する*/
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
	margin-left: auto;
	margin-right:auto;	
	text-align: left;
	font-size: 20px;
	/*background-color: #ffffff;*/

}


/*++++++++++++++++++++++++++++
　　ナビゲーションの設定
++++++++++++++++++++++++++++++*/

#navi ul 
{
    margin-top: 10px;/*リスト部分を少し下げるのに必要*/
    /*margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;*/
	padding-left: 0;/*これを設定しないとリストのマーク部分が空白になり、表示が小さくなる*/
    padding-bottom: 0;
	list-style-type: none;
	text-align: left;
}

#navi ul:after
{
	content: ".";
	display: block;
	clear:both;
	visibility: hidden;
}

#navi li /*ナビゲーションのリストの設定*/
{
	display: block;  /*ブロックを表示*/
	font-size: 15px;
	line-height: 38px;
	height: 37px;
	border-right-width: 1px; /*ブロックの枠線の設定*/
	border-right-style: solid;
	border-right-color: #cccccc;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #cccccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #cccccc;
}

.ccc
{
	background-image: url(navi_menu_in.png);
	font-weight: bold;
	background-position: top left;
	background-repeat: no-repeat;
}

#navi li a
{
	display: block; /*ブロック全体をリンクにする。これがないと文字だけ*/
	height: 37px;
	padding-left: 27px;
	padding-right: 10px;
}

#navi li a /*ナビのリストのリンク全体の文字設定*/
{
	font-weight: bold;
	text-decoration: none;
	color: #666666;
}

#navi li a:hover /*マウスが上にある時の文字の色設定*/
{
	color: #ffffff;
}

#navi a:link
{
	background-image: url(navi_menu.png);
	background-position: top left;
	background-repeat: no-repeat;
}

#navi a:visited
{
	background-image: url(navi_menu_on.png);
	background-position: top left;
	background-repeat: no-repeat;
}
#navi a:hover
{
	background-image: url(navi_menu_on.png);
	background-position: top left;
	background-repeat: no-repeat;
}
#navi a:active
{
	background-image: url(navi_menu_on.png);
	background-position: top left;
	background-repeat: no-repeat;
}

/*++++++++++++++++++++++++++++
　　サイドブロック内のパーツ
++++++++++++++++++++++++++++++*/

#banner
{
	margin-top: 0px;
	/*background-color: #f4f4f4;*/
	padding-top: 5px;
}

#banner ul
{
	padding-left: 0px;
	list-style-type: none;
}

#banner li
{
	padding-bottom: 10px;
	overflow: hidden;
}

#banner li a
{
	display: block;
	width: 200px;
	height: 70px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

#banner a#banner-com
{
	background-image: url(banner-com.png);/*コミュニティ広場のバナー*/
	background-position: top left;
	background-repeat: no-repeat;
}

#banner a#banner-blog
{
	background-image: url(banner-info.png);/*会社情報のバナー*/
	background-position: top left;
	background-repeat: no-repeat;
}
#banner a#banner-news
{
	background-image: url(banner-news.png);/*電気関連ニュースのバナー*/
	background-position: top left;
	background-repeat: no-repeat;
}


/*++++++++++++++++++++++++++++
　　フッター内のパーツ
++++++++++++++++++++++++++++++*/

#footerMain /*フッターメインのボックスの設定*/
{
	width: 600px;
	float: right;
	color: #000000;
	/*background-color: #00ffff;*/
}

p.footer
{
	font-size: 15px;
	font-weight: normal;
}

/*++++++++++++++++++++++++++++
　　テーブルの設定
++++++++++++++++++++++++++++++*/

/*#tbl-bdr table, #tbl-bdr td*/
table, td, th
{
	border-collapse: collapse;
	border: 1px solid #333;
}

td, th
{
	width: 150px;
	text-align: center;
	empty-cells: hide;	
} 

.takai
{
	height: 75px;
}

th.hiroi
{
	width: 200px;
}

