/*全体の設定
-------------------------------------------------------------------------------------
■文字サイズは75%部分で変更できます。%指定でなく、pxなどでもOK。
■文字色（白）は#FFFFFF部分で変更できます。
-------------------------------------------------------------------------------------*/
body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 90%;
	line-height: 2;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background: #2e2e2e url(http://d1ji224s9lh5x.cloudfront.net/cbk/bg.gif) repeat-x top;
}



/*細々の設定（あまり変更する部分はありません）
-------------------------------------------------------------------------------------*/

h1,h2,h3,p,ul,li{
	margin: 0px;
	padding: 0px;
}

ul{
	list-style-type: none;
}

img {
	border: none;
	vertical-align: bottom;
}

.look {
	color: #FF0000;
	background: #333333;
}

.look2 {
	color: #FFFFFF;
	background: #666666;
}

.redbox {
	color: #163399;
}

table {
	text-indent: 0px;
}


/*リンクカラー設定
-------------------------------------------------------------------------------------
■aの部分がリンクですよ〜という部分の設定。下線を外したいなら、「text-decoration: none;」を
1行追加すればOK。
■a:hoverはカーソルが乗った時の設定。ここでは文字色を赤にして背景を黒にしています。
-------------------------------------------------------------------------------------*/
a:link {color: #5af;}
a:visited {color: #5b2;}
a:hover {color: #7af;}
a:active {color: #cc0;}
/*
a {
	color: #FFFFFF;
}

a:hover {
	color: #0a5fad;
	background: #000000;
}
*/


/*コンテナー（特に変更する必要はありません）
-------------------------------------------------------------------------------------*/
#container {
	background: #2e2e2e url(http://d1ji224s9lh5x.cloudfront.net/cbk/container_bg.gif) no-repeat center top;
	text-align: left;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 4px;
	padding-left: 4px;
	width: 860px;
}



/*ヘッダー
-------------------------------------------------------------------------------------*/
#header {
	position: relative;
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/header_bg.gif) repeat-x;
}
#header h1 {
	font-size: 11px;
	font-weight: normal;
	line-height: 13px;
	position: absolute;
	left: 10px;
	top: 15px;
}
#header #logo {
	vertical-align: top;
	padding-top: 40px;
	padding-bottom: 20px;
	padding-left: 20px;
}




/*右上のナビメニュー
-------------------------------------------------------------------------------------*/
#nav {
	position: absolute;
	top: 7px;
	right: 10px;
	line-height: 1.2;
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/nav_bg.gif) no-repeat left top;
	padding-left: 30px;
	height: 22px;
	font-size: 11px;
}
#nav li {
	float: left;
	width: 9em; /*IE7のメイリオフォントだと6em（6文字）分にしか表示されないので注意*/
}
#nav li a {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/arrow1.gif) no-repeat left center;
	padding-left: 20px;
}



/*メインメニュー
-------------------------------------------------------------------------------------
■メニューの背景部分は#menu部分で行います。
■メニュー同士の境界線は「#menu li」のbackgroundで入れています。
■メニューのリンク設定が「#menu li a」部分。文字色を#000000(黒)で文字サイズを13pxで固定。
最大文字数(8文字)というのは「width: 8em;」部分で決めています。自分が使うメニューの文字数の
最大文字数に合わせて変更するといいでしょう。最大文字数が5文字だったら5emとするわけです。
■カーソルオーバー時は「#menu li a:hover」で設定。ここでは背景画像と文字色を変えています。
-------------------------------------------------------------------------------------*/
#menu {
	background: #CCCCCC url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg.gif) no-repeat;
	height: 40px;
}
#menu li {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg_line.gif) no-repeat right;
	float: left;
	height: 40px;
}
#menu li a {
	color: #000000;
	text-decoration: none;
	font-size: 13px;
	display: block;
	width: 8em;
	text-align: center;
	padding-right: 5px;
	padding-left: 5px;
	line-height: 40px;
}
#menu li a:hover {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg_over.gif);
	color: #FFFFFF;
}


#menu_short {
	background: #CCCCCC url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg.gif) no-repeat;
	height: 40px;
}
#menu_short li {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg_line.gif) no-repeat right;
	float: left;
	height: 40px;
}
#menu_short li a {
	color: #000000;
	text-decoration: none;
	font-size: 13px;
	display: block;
	width: 11em;
	text-align: center;
	padding-right: 5px;
	padding-left: 5px;
	line-height: 40px;
}
#menu_short li a:hover {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/menu_bg_over.gif);
	color: #FFFFFF;
}




/*コンテンツ枠
-------------------------------------------------------------------------------------*/
#contents {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/contents_bg.gif) repeat-y;
}
#contents_long {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/contents_bg_long.gif) repeat-y;
}



/*メインコンテンツ（文章が入っているブロック）
-------------------------------------------------------------------------------------
■見出しの設定は「#main h2」で行います。ここでは文字サイズを13pxに固定し、背景の画像を
入れています。
■メイン写真は「#main-img」で設定。ここで設定しているのは、写真本体の設定でなく、
下に入っている9pxのグラデーション部分の設定になります。なので、html側のメイン写真に
id="main-img" を追加すれば画像本体に加工する事なくグラデーションが入るというわけです。
-------------------------------------------------------------------------------------*/
#main {
	float: left;
	width: 590px;
	display: inline;
	margin-top: 0px;
	margin-bottom: 50px;
	margin-left: 12px;
	text-indent: 1em;
}

#main h2 {
	font-size: 13px;
	line-height: 31px;
	background: #000000 url(http://d1ji224s9lh5x.cloudfront.net/cbk/midashi_bg.gif) no-repeat;
	height: 33px;
	width: 575px;
	padding-left: 15px;
	margin-top: 2em;
	margin-bottom: 1em;
}
#main h3{
	font-size:1.35em;
	font-family:Verdana;
	letter-spacing: 0.2em;
	padding-top: 1em;
}
#main h4{
	font-size:1.2em;
	font-family:Verdana;
	letter-spacing: 0.2em;
	text-indent:1.5em; 
	border-left: solid 5px #444;
	border-color: #33a;
}

#main p {
	margin: 1.0em 0px 0px 0.2em;
	text-indent: 0px;
}

#main-img {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/main_img_bottom.gif) no-repeat bottom;
	padding-bottom: 9px;
}

#main_long {
	float: left;
	width: 810px;
	display: inline;
	margin-top: 20px;
	margin-bottom: 50px;
	margin-left: 12px;
	text-indent: 1em;
}

#main_long h2 {
	font-size: 13px;
	line-height: 31px;
	background: #000000 url(http://d1ji224s9lh5x.cloudfront.net/cbk/midashi_bg_long.gif) no-repeat;
	height: 33px;
	width: 795px;
	padding-left: 15px;
	text-indent: 0px;
	margin-top: 2em;
	margin-bottom: 1em;
}
#main_long h3{
	font-size:1.35em;
	font-family:Verdana;
	letter-spacing: 0.2em;
	padding-top: 1em;
	text-indent:0px; 
}
#main_long h4{
	font-size:1.2em;
	font-family:Verdana;
	letter-spacing: 0.2em;
	text-indent:1.5em; 
	border-left: solid 5px #444;
	border-color: #44d;
}
#main_long p {
	margin: 0.5em 10px 1em;
}

#main_long-img {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/main_img_bottom_long.gif) no-repeat bottom;
	padding-bottom: 9px;
}



/*サブコンテンツ（右側のブロック）
-------------------------------------------------------------------------------------
■サブコンテンツの見出しは「#sub h3」で行います。背景色が「#151515」で線の設定が
「border: 1px solid #353535;」部分。1pxの直線(solid)を#353535の色で入れているという事になります。
■サブコンテンツのメニューパーツは「.sub-menu a」で行います。左の矢印をbackgroundで設定。
「display: block」にしておくと、文字の上にカーソルがのらなくてもブロック内でリンクの
反応をするようになるので来訪者に親切です。「.sub-menu a:hover」でカーソルオーバー時の
背景色変更と矢印の位置調整しています。
-------------------------------------------------------------------------------------*/
#sub {
	float: right;
	width: 220px;
	margin-top: 20px;
	margin-bottom: 50px;
	display: inline;
	margin-right: 12px;
	color: #CCCCCC;
}

#sub p {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

#sub h3 {
	font-size: 100%;
	background: #151515;
	border: 1px solid #353535;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
}

.sub-menu a {
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/arrow2.gif) no-repeat 10px top;
	padding-left: 30px;
	text-decoration: none;
	display: block;
	border-right: 1px solid #353535;
	border-bottom: 1px solid #353535;
	border-left: 1px solid #353535;
	padding-right: 10px;
	width: 178px;
}

.sub-menu a:hover {
	background: #151515 url(http://d1ji224s9lh5x.cloudfront.net/cbk/arrow2.gif) no-repeat 13px top;
}



/*フッター
-------------------------------------------------------------------------------------*/
#footer {
	clear: both;
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/footer_bg.gif) no-repeat center;
	height: 80px;
	padding-top: 70px;
	font-size: 11px;
	width: 868px;
	margin-right: auto;
	margin-left: auto;
}
#footer_long {
	clear: both;
	background: url(http://d1ji224s9lh5x.cloudfront.net/cbk/footer_bg_long.gif) no-repeat center;
	height: 80px;
	padding-top: 70px;
	font-size: 11px;
	width: 868px;
	margin-right: auto;
	margin-left: auto;
}



/*clearfix（変更しない）
-------------------------------------------------------------------------------------*/
#contents:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

#contents { display: inline-block; }

/* Hides from IE-mac \*/
*html #contents { height: 1%; }
#contents { display: block; }


#contents_long:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

#contents_long { display: inline-block; }

/* Hides from IE-mac \*/
*html #contents_long { height: 1%; }
#contents_long { display: block; }
/* End hide from IE-mac */

