/*ここは消さないで下さい!*/
/* Edited with EditCSS */
/*CSSLicense: jp-soft.com Tsunehisa Hazama*/

* {
	margin: 0;
	padding: 0;
}

html{height: 100%;}


/* BODY-------------------------------*/
body {
	background: #FFF799;
	margin: 0;
	padding: 0;
	line-height:150%;
	letter-spacing: normal;
	color: #333;
	list-style: none;
	text-align: center;
	font-weight: normal;
	font-size: 13px;
	font-family: arial, helvetica, hirakakupro-w3, osaka, "ms pgothic", sans-serif;
}

/*デフォルト属性 */
a, p, h1, h2, h3, h4, h5, h6, blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

/* strong */
strong {font-weight: bold;}

/* 画像の属性 */
img {border: none; margin: 0;}

a:link, a:visited, a:active {color: #996633;text-decoration: none;}
a:hover{color : #FF0000;text-decoration:underline;}
	
/* 基本設定 ----------------------------- */
#base{
	width: 820px;
	margin: 0 auto;
	background: url("http://www.e-miyako.jp/img/base_back.gif") repeat-y;
	text-align: center;
	position: relative;
}

#wrapper {
	width: 800px;
	margin: 0 auto;
	text-align: center;
}

#containar {
	width: 760px;
	margin: 10px auto 0 auto;
	text-align: left;
	background: #FFF;
}

/*  ヘッダー  */
#header {
	height:5px;
	margin: 0;
	color: #FFF;
	background: #FFF799 url("http://www.e-miyako.jp/img/header.gif") no-repeat;
	text-align: left;              
}

#header h1 a:link, #header h1 a:visited, #header h1 a:active {
 position: absolute;
 top: 20px;
 left: 30px;
 font-size: 22px;
 font-weight: bold;
 color: #FFF;
 text-decoration: none;
}

#header h1 a:hover {
 color: #FF9900;
 text-decoration: underline;
}

#header2 {
	height:75px;
	margin: 0;
	color: #FFF;
	text-align: left;
	background: #FFDF58 url("http://www.e-miyako.jp/img/header2.jpg") no-repeat;
}

#header2 p{
	position: absolute;
	top: 80px;
	left: 500px;
	width: 280px;
	font-size: 100%;
	color: #333;
	text-align: left;
}

#header a:link, #header a:visited, #header a:active {color: #FFF;text-decoration: underline;}
#header a:hover{color : #FF9900;text-decoration: none;}

#header .ads_header{
	text-align: center;
}


/*  メインメニュー  */
#gmenu{
	position: absolute;
	left:10px;
	top: 55px;
	margin: 0 auto;
	width: 800px;
	height: 25px;
	background: #FEBB57;
	border-top: 1px solid #FFD966;
	border-bottom: 1px solid #FFD966;
}
#gmenu ul{list-style: none; margin: 0; padding: 0;}
#gmenu li{margin: 0; padding: 0; float: left;}
#gmenu li a:link, #gmenu li a:visited, #gmenu li a:active {
	float: left;
	width: 113px;
	height: 25px;
	color: #FFF;
	font-weight: bold;
	text-align: center;
                text-decoration: none;
	line-height: 200%;
	overflow: hidden;
	display: block;
	border-right: 1px solid #FFD966;
}
#gmenu li a:hover{background: #FF6A00;}
#gmenu li.nav1 a:link, #gmenu li.nav1 a:visited, #gmenu li.nav1 a:active {
	float: left;
	width: 113px;
	height: 25px;
	color: #FFF;
	font-weight: bold;
	text-align: center;
                text-decoration: none;
	line-height: 200%;
	overflow: hidden;
	display: block;
	border-right: 1px solid #FFD966;
}
#gmenu li.nav1 a:hover{background: #FF6A00;}








.rss{	
	position: absolute;
	top: 20px;
	right: 25px;
}





/*  パンくずリスト  */
.navi {
	margin :0 0 10px;
	width: 100%;
	font-size: 10px;
	padding: 0 5px;
	text-align: left;
}

.navi a {
	color: #337799;
	text-decoration: none;
}

.navi a:hover {
	color: #FF6633;
	text-decoration: underline;
}


/*  記事枠等の属性  */
#content {
	float: left;
	width: 510px;	
	margin: 0;
	padding: 0;
	background: #FFF;
	overflow: hidden;
}


#content h2{	
                margin: 0px 0 10px 0px;
	font-size: 95%;
	color: #664433;
	font-weight: bold;
	text-align: left;
	text-indent: 10px;
	line-height: 150%;
	border-left: 2px solid #CCCCCC;
                border-right: 2px solid #CCCCCC;
                border-top: 2px solid #CCCCCC;
                border-bottom: 3px solid #CCCCCC;
                background-color: #FAFAFA;

		
}

#content h3 {
	margin: 10px 0 0 10px;
	padding: 0;
	border-bottom: 1px dotted #DDD;
	color: #BF6A40;
	font-weight: bold;
	font-size: 100%;
	line-height: 150%;
	display: block;
	text-align: left;
	text-indent: 0;
}

#content h3.post {
	margin: 10px 5px 0 5px;
	border: 0px;
	color: #664433;
	font-weight: bold;
	font-size: 108%;
	line-height: 150%;
	display: block;
	text-align: left;
	text-indent: 20px;
	background: url("http://www.e-miyako.jp/img/h3_back.gif") no-repeat top left;
}
			
#content h3.post a {
	color: #664433;
	text-decoration: none;
}
					
#content h3.post a:hover {
	color: #FF0000;
	text-decoration: underline;
}





#content h4 {
	margin: 10px 10px 10px 0;
	border-bottom: 1px solid #DDD;
	color: #BF6A40;
	font-weight: bold;
	font-size: 108%;
	line-height: 150%;
	display: block;
	text-align: left;
}

#content h5 {
	margin: 10px 10px 10px 0;
	color: #666;
	font-weight: normal;
	font-size: 100%;
	line-height: 150%;
	display: block;
	text-align: left;
}

#content h6 {
	margin: 10px 10px 10px 0;
	border-bottom: 1px solid #DDD;
	color: #BF6A40;
	font-weight: bold;
	font-size: 108%;
	line-height: 150%;
	display: block;
	text-align: left;
}


#content .posted {
	text-align: right;
	font-size: 10px;
	margin: 0px 20px 10px 0;
}

#content .doc{
	margin: 0 10px 20px 20px;
	text-align: left;
}

#content .doc p{
	padding: 5px 0;
}










#content_ss {
	float: left;
	width: 750px;	
	margin: 0;
	padding: 0;
	background: #FFF;
	overflow: hidden;
}


#content_ss h2{	
                margin: 10px 0 5px 0px;
	font-size: 95%;
	color: #664433;
	font-weight: bold;
	text-align: left;
	text-indent: 10px;
	line-height: 150%;
	border-left: 2px solid #CCCCCC;
                border-right: 2px solid #CCCCCC;
                border-top: 2px solid #CCCCCC;
                border-bottom: 3px solid #CCCCCC;
                background-color: #FAFAFA;

		
}

#content_ss h3 {
	margin: 10px 0 0 10px;
	padding: 0;
	border-bottom: 1px solid #DDD;
	color: #BF6A40;
	font-weight: bold;
	font-size: 100%;
	line-height: 150%;
	display: block;
	text-align: left;
	text-indent: 0;
}

#content_ss h3.post {
	margin: 10px 5px 0 5px;
	border: 0px;
	color: #664433;
	font-weight: bold;
	font-size: 108%;
	line-height: 150%;
	display: block;
	text-align: left;
	text-indent: 20px;
	background: url("http://www.e-miyako.jp/img/h3_back.gif") no-repeat top left;
}
			
#content_ss h3.post a {
	color: #664433;
	text-decoration: none;
}
					
#content_ss h3.post a:hover {
	color: #FF0000;
	text-decoration: underline;
}





#content_ss h4 {
	margin: 10px 10px 10px 0;
	border-bottom: 1px solid #DDD;
	color: #BF6A40;
	font-weight: bold;
	font-size: 108%;
	line-height: 150%;
	display: block;
	text-align: left;
}

#content_ss h5 {
	margin: 10px 10px 10px 0;
	color: #666;
	font-weight: normal;
	font-size: 100%;
	line-height: 150%;
	display: block;
	text-align: left;
}

#content_ss h6 {
	margin: 10px 10px 10px 10px;
	border-left: 4px solid #BF6A40;
	color: #BF6A40;
	font-weight: bold;
	font-size: 108%;
	display: block;
                line-height: 110%;
	text-align: left;
}



#content_ss .posted {
	text-align: right;
	font-size: 10px;
	margin: 0px 20px 10px 0;
}

#content_ss .doc{
	margin: 0 10px 20px 20px;
	text-align: left;
}

#content_ss .doc p{
	padding: 5px 0;
}











/* ---- 関連記事リスト属性----- */
#content ol{
	margin: 0px 0px 0px 30px;
}

#content li{
	margin: 0;
	font-size: 100%;
	line-height: 19px;
}

/*----- trackbacks & Comments-----*/

#content #trackbackdata, #content #commentdata{
	font-size: 12px;
	color: #888;
	margin: 10px 0 10px 10px;
}

#content #trackbackdata .post1{
	font-size: 10px;
	color: #888;
	margin: 0;
	border-bottom: 1px solid #888;
}

#content #commentdata .post2{
	margin-bottom: 10px;
	font-size:10px;
	text-align: right;
}

#content .error {
	font-size : 14px;
	color: red;
	border: 1px solid red;
	margin: 10px 20px;
	padding: 5px;
	text-align: center;
}

#content .next{
	text-align: right;
}

/*  サイドメニュー等の属性  */
#sidebar {
	float: right;
	width: 240px;
	margin: 0;
	padding: 0;
	background: #FFF;
	overflow: hidden;
}

#sidebar h2{
	margin: 10px 0 0 0;
 	background: url("http://www.e-miyako.jp/img/sh2_back.gif") no-repeat top left;
	font-weight: bold;
	font-size: 100%;
	line-height: 170%;
	color: #664433;
	text-align: left;
	text-indent: 5px;


}





#sidebar .search{	
	margin: 0;
	border-left: 1px solid #CC9933;
	border-right: 1px solid #CC9933;
	border-bottom: 1px solid #CC9933;
}

/*　検索窓　*/
#sidebar .search div {
	padding: 10px;
	text-align: left;
}

/* カテゴリ指定 */
#sidebar .cat{
	margin: 0;
}

#sidebar .cat h2{
	margin: 5px 5px 0 10px;
	border: 1px solid #555;
	background: #33663B;
	font-weight: bold;
	font-size: 108%;
	line-height: 170%;
	color: #FFF;
	text-align: left;
	text-indent: 5px;
}

#sidebar ul.menu{
	display: block;
	margin: 0 0 10px 0;
	list-style-type: none;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	text-align: left;
}

#sidebar ul.menu li.c1 a {
	display: block;
 	height: 45px;
 	list-style: none;
 	padding: 0 0 0 20px;
 	text-decoration: none;
 	font-size: 100%;
 	line-height: 170%;
 	overflow: hidden;
	background: #FFF url("http://www.e-miyako.jp/img/menu01.gif") no-repeat;
}

#sidebar ul.menu li.c1 a:hover {
	background: #FFF url("http://www.e-miyako.jp/img/menu02.gif") no-repeat;
	text-decoration: underline;
}










#sidebar ul.menu li a {
	display: block;
 	height: 25px;
 	list-style: none;
 	padding: 0 0 0 40px;
 	text-decoration: none;
 	font-size: 100%;
 	line-height: 170%;
 	overflow: hidden;
	background: #FFF url("http://www.e-miyako.jp/img/menu03.gif") no-repeat;
}

#sidebar ul.menu li a:hover {
	background: #FFF url("http://www.e-miyako.jp/img/menu04.gif") no-repeat;
	text-decoration: underline;
}

#sidebar ul.arch li a {
 	height: 25px;
 	list-style: none;
 	padding: 0;
 	text-indent: 20px;
 	text-decoration: none;
 	font-size: 100%;
 	line-height: 200%;
 	display: block;
	background: #FFF url("http://www.e-miyako.jp/img/arch01.gif") no-repeat;
}

#sidebar ul.arch li a:hover {
	background: #FFF url("http://www.e-miyako.jp/img/arch02.gif") no-repeat;
}

/*フッターナビ*/
.f_navi {
	clear: both;
	text-align: right;
	margin: 0px;
	padding: 10px 280px 15px 15px;
	font-size: 85%;
}

.f_navi img{margin: 0 3px;border-style: none; vertical-align: middle;}

/*フッター*/
#footer{
 	clear: both;
 	width: 820px;
 	height: 60px;
 	margin: 0;
 	color: #999;
 	padding: 0;
 	text-align: left;
	background: url("http://www.e-miyako.jp/img/footer_back.gif") no-repeat;
                }

#footer .copyright{
	text-align: center;
	padding: 40px 0 0 0;
	font-size: 12px;
	line-height: 120%;
}

