/****************************************
		一般的な設定 
*****************************************/
body {
	color: #333;
	font: 16px/1.6 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fff ;
}
a:link { color: #2254A5; text-decoration: none;}
a:hover { text-decoration: underline;}
a:visited {	color: #2254A5;}



/****************************************
		基本的なレイアウト
*****************************************/
#menubar{
    min-width:900px; /*メニューバーが落ちないように*/
}

#wrapper {
	margin: 0 auto;
	border-left: solid 1px #999;
	border-right: solid 1px #999;	
	background-color: #FFF;
	width: 100%;
	padding:0;
	min-width:900px;
}
#container {
	position: relative;
	clear: both;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	padding: 0;
	margin: 0;
}


/* パンくずリスト */
#nav { color:#333;	width:100%;}
#nav .nav_tp { margin: 10px 20px; font-size: 15px;}
#nav .nav_tp a {text-decoration:none;}
#nav .nav_tp a:hover {text-decoration: underline;}

/****************************************
		ヘッダー, ヘッダーメニュー
*****************************************/
/* header */
header {
	height: 90px;
	line-height: 90px;
	margin:0 auto;
	background: #fff url(images/ban.png) no-repeat top right;
	border-bottom: 1px solid #999;
	overflow: hidden;
}
header h1 {
	font-size: 24px;
	font-weight: bold;
	padding-top:20px;
	padding-left: 20px;
	line-height:1;
}
header h1 a:link { color: #333;	text-decoration: none;/* IE6対策 */}
header h1 a:visited {color: #333;}
header h2 {
	font-size: 15px;
	color: #333;
	font-weight:normal;
	margin: 13px 15px 0 22px;
	line-height:1em;
	height:1em;
	overflow: hidden;
}


/****************************************
		カラムの設定
*****************************************/
/* space_1: 左カラム（サイド・固定） */
#space_1 {
	clear: both;
	text-align: center;
	padding: 0;
	margin-left: 15px;
	overflow: hidden;/* IE6のカラム落ち対策 */
	display: inline;/* IE6のカラム落ち対策 */
	position:absolute;
	width: 300px;
}

#wrapper #container section#space_1,
#wrapper #container section#space_2{
    float:none;
}

#space_1 .box {
	margin-left: auto;
	text-align: left;
	width: auto;
	margin-bottom: 15px;
}

/* space_2: 中央カラム（メイン・フリー） */
#space_2_wrapper {
	margin-left: -360px;
	margin-right: 20px;
    width: 100%;
    float: right;
}
#space_2_wrapper #space_2 {
	margin-left: 360px;
}
#space_2 .box {
	text-align: left;
	margin-bottom: 15px;
	background-color: #FFF;
}


/* space_1 space_2 space_3 (カラーはここで指定) */
.box_menu {
	border-top:solid 1px #999;
	border-bottom:dashed 1px #999;
	background-color: #eee;
	line-height: 22px;
	padding: 2px 5px 2px 10px;
}
.box_menu span { color: #333; font-size: 16px;}
.box_main {	margin: 0;	padding: 15px 10px 30px;}


/****************************************
		サイドメニュー
*****************************************/
.box_main ul.sideMenu, .box_main ol.sideMenu {margin: 5px 0 10px; padding: 0;}
#mod_blog_post ul.sideMenu  {	padding-top: 0; margin-left:0; }
ul.sideMenu  {	padding-top: 0; }
ul.sideMenu li {
	background-color :#F0F0E1;
	margin-bottom: 3px;
	width: 100%;
	list-style: none;
	color:#333;
	font-weight: bold;
}
ul.sideMenu li a {
	display: block;
	padding: 3px 10px 3px 20px;
	color:#333;
	text-decoration: none;/* IE6対策 */
}
ul.sideMenu li a:visited {
	color:#333;
}
ul.sideMenu li a:hover {
	text-decoration: none;
	color:#333;
	background-color:#E4E4CB;
}
ul.tensen li {
	border-bottom: 1px dashed #999;
	margin: 0 10px 5px;
	list-style: none;
	padding-bottom: 3px;
}
ul.sideMenu li{	position: relative;}
ul.sideMenu li::before  {
	content: "";
	border-top: 3px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 6px solid #FF8000;
	position: absolute;
	left: 0;
	top: 20px;
	margin-top: -8px;
	margin-left:8px;	
}

/****************************************
		見出し設定
*****************************************/
/* 「ブログ」「ブロックHTML」のh2（タイトル） */
h2.mod_blog_block_title/* ブログタイトル */ , h2#mod_blog_main_title/* ブログタイトル(個別ページ） */  {
	border-bottom: 1px solid #999;
	padding-bottom:5px;
	margin-bottom: 25px;
	font-size: 17px;
}
h2.m_page_subject/* ブロックHTMLのh2（タイトル） */ {
	border-bottom: 1px solid #999;
	padding:5px 5px 3px;
	margin-bottom: 10px;
	font-size: 17px;
}

/* 投稿内の見出し*/
#mod_blog_post h1, .mod_blog_list_body h1, .m_page_body h1{
	background-color: #F0F0E1;
	padding: 2px 5px;
	margin: 5px 0;
}
#mod_blog_post h2, .mod_blog_list_body h2, .m_page_body h2 {
	border-bottom: 1px dashed #999;
	padding-bottom:3px;
	margin: 10px 0 5px;
	padding-left: 5px;
	background-color: #fff;
}
#mod_blog_post h3, .mod_blog_list_body h3, .m_page_body h3 {
	position: relative;
	margin: 10px 0 5px 17px;
	padding-left:4px; 
}
#mod_blog_post h3::before, .mod_blog_list_body h3::before, .m_page_body h3::before {
	content: "";
	border-top: 5px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #FF8000;
	position: absolute;
	left: -10px;
	top: 15px;
	margin-top: -8px;
}
#mod_blog_post h4, .mod_blog_list_body h4, .m_page_body h4 {
	position: relative;
	padding-left:16px; 
	margin: 10px 0 0 6px;
}
#mod_blog_post h4::before, .mod_blog_list_body h4::before, .m_page_body h4::before {
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 13px;
	width: 9px;
	height: 9px;
	margin-top:  -5px;
	border-radius: 50%;
	background: #FF8000;	
}
#mod_blog_post h5, .mod_blog_list_body h5, .m_page_body h5 { margin:10px 0 5px 10px;}
#mod_blog_post h6, .mod_blog_list_body h6, .m_page_body h6 { margin:10px 0 5px 10px;}
#mod_blog_post h7, .mod_blog_list_body h7, .m_page_body h7 { margin:10px 0 5px 10px;}
#mod_blog_post ul, .mod_blog_list_body ul, .m_page_body ul { margin-left: 30px; margin-bottom: 5px;}
#mod_blog_post ol, .mod_blog_list_body ol, .m_page_body ol { margin-left: 33px; margin-bottom: 5px;}
#mod_blog_post p, .mod_blog_list_body p, .m_page_body p { margin: 0 10px;}


/****************************************
		フッター
*****************************************/
footer {
	width: 100%;
	clear: both;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	height: 30px;
	line-height: 30px;
	text-align: center;
	position: fixed;
	bottom:0;
	background-color:#ddd;
	font-size: 13px;
	margin-top: -30px;
	border-top: #999 1px solid;
}
#footer_wr { height:0px;clear: both;}


/****************************************
		その他
*****************************************/
/* 「ページの上部へ」ボタン */
.pagetop_wr {
	width:400px; 
	margin:0 auto;
	position: fixed;
    bottom: 50px;
	right: 0;
    z-index: 9999;
	float:right;
}
.pagetop {
	display: block;
	width:100%;
	line-height: 24px;
	font-size: 12px;
	font-weight:bold;
	text-align: center;		
}
.pagetop a:link {
	display: block;
	width:125px;
	padding: 1px 0 0;
	text-decoration: none;
	color:#333;
	background-color: #ddd;
	float: right;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
}
.pagetop a:visited {color:#333;} 
.pagetop a:hover {text-decoration: none; background-color: #ccc;}
#space_2 .btn_entry { width:50% !important;}