@charset "utf-8";
/* CSS Document敬老観音と蔵山寺 */

/* 寺子屋トップページ */

#box1 {
	float: left;
	margin: 0 30px;
}
*html #box1 {/* IE6用ハック */
    float: left;
	margin: 0 0 0 -20px;
}
#secondary {
     float: left;
	 width: 236px;
}
*html #secondary {/* IE6用ハック */
	 margin: 0 0 0 25px;
}

#secondary2 {/* 詳細ページ用///////////////////// */ 
     float: left; 
	 width: 264px;
	 margin: 0 0 10px 20px;
}
*html #secondary2 {/* 詳細ページ用IE6用ハック*/
     float: left;
	 width: 264px;
	 margin: 0 0 0 30px;
}
*html #secondary2 img {/* IE6用ハック */
    margin-left: 5px;
}
#primary {
     float:right;
	 width: 708px;
}
*html #primary {/* IE6用ハック */
     float:right;
	 width: 708px;
	 padding-right: 33px;
}
#primary2 {/* 詳細ページ用 ////////////////////////////////////////*/
     float:right;	 
	 width: 658px;
}
*html #primary2 {/* 詳細ページ用IE6用ハック */
     float:right;
	 width: 658px;
	 padding-right: 30px;
}
/* 左リンクボタン */
#navi_ranking {
	background:url(../terakoya/img/ranking.jpg) left top no-repeat;
	width: 216px;
	height: auto;
	margin-left: 20px;
}
#navi_ranking ul {
	list-style: none;
	padding: 0;
	margin: 23px 0 0 2px;
}
#navi_ranking li {
	width: 212px;
	height: auto;
	margin: 0;
	padding: 0;
}
#navi_ranking li#top {
	width: 182px;/* 連動して変更 */
	padding-left: 30px;/* 連動して変更 */
	background: #FFF url(../terakoya/img/crown.jpg) left center no-repeat;
}
#navi_ranking li#last {
	height: auto;
	/*background: #FFF url(../terakoya/img/ranking_bottom.gif) left bottom no-repeat;*/
}
#navi_ranking li.siro {
	background: #FFF;
}
#navi_ranking li.iro {
	background: #F0F0F0;
}
#navi_ranking a {
	display: block;
	font-size: 90%;
	vertical-align: middle;
	padding: 10px 0 10px 14px;
}
#navi_ranking a:hover {
	text-decoration: underline;
}
/* 右リンクボタン */
#link {
}
#link a:hover {
	text-decoration: underline;
}
#link img {
	margin: 0;
	padding: 0;
}
#link_tishiki {
	float: left;
	width: 211px;
	height: 300px;
	background-color: #F5E4D0;
	margin: 0 11px;
	
}
#link_jyuku {
	float: left;
	width: 211px;
	height: 300px;
	background-color: #D4EDC3;
	margin: 0 11px;
}

#link_butuzou {
	float: right;
	width: 211px;
	height: 300px;
	background-color: #D8E6EF;
	margin: 0 20px 0 11px;
}
*html #link_butuzou {/* IE6用ハック */
	float: right;
	width: 211px;
	height: 270px;
	background-color: #D8E6EF;
	margin: 0 5px 0 5px;
}
.link_txt {
	margin: 5px 0 0 12px;
	letter-spacing: 2px;
	line-height: 2;
}
#kiji {
	float: left;
	padding: 15px 0 20px 10px;
	width: 700px;
}
#toku {
	float: left;
	width: 429px;
	height: 450px;
	background: #FFF /*url(../terakoya/img/tokusyuu_under.gif) bottom no-repeat*/;
}
*html #toku {/* IE6用ハック */
	float: left;
	width: 429px;
	height: 450px;
	background: #FFF /*url(../terakoya/img/tokusyuu_under.gif) bottom no-repeat*/;
	margin-left: 5px;
}
#new {
	float: right;
	width: 216px;
	height: auto;
	background: #FFF /*url(../terakoya/img/sinchaku_under.gif) bottom no-repeat*/;
	margin-right: 20px;
}
*html #new {/* IE6用ハック */
	float: right;
	width: 216px;
	height: auto;
	background: #FFF /*url(../terakoya/img/sinchaku_under.gif) bottom no-repeat*/;
	margin-right: 5px;
}
#new ul {
	list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
}
#new li {
	height: auto;
	vertical-align: middle;
	border-bottom: #999 1px dashed;
	padding: 10px 0 10px 5px;
}

#new a:hover {
	text-decoration: underline;
}
/* 詳細ページ */
#modoru {
	font-size: 14px;
	margin: 0 0 10px 55px;
	padding: 0;
}
*html #modoru {/* IE6用ハック */
	font-size: 14px;
	margin: 0 0 10px 100px;
	padding: 0;
}
#modoru a:hover {
	text-decoration: underline;
}
/*///擬似フレーム//*/
#navi_menyu {
	 /*float: left;*/	 
	 scrollbar-base-color: #EFEFED;
	 scrollbar-track-color: #FFFFFF;
	 scrollbar-face-color: #EFEFED;
	 scrollbar-shadow-color: #FFFFFF;
	 border: none;
	 width: 254px;
	 height: 700px;
	 background-color: #FFF;
	 margin-left: 5px;
	 overflow: auto;
}

#navi_menyu ul {
	list-style: none;
	background-color: #FFF;
	margin: 8px 0 0 0;
	padding: 0;
	width: 235px;
}
#navi_menyu a:hover {
	text-decoration: underline;
}
/* 豆知識ページ */
.mame {
	width: 195px;/* 254マイナスpadding_left */
	height: auto;
	background: #FFF url(../terakoya/mametishiki/img/yajirusi_y.gif) left center no-repeat;
	border-bottom: #999 1px dashed;
	margin: 0;
	padding: 10px 0 10px 32px;;
}

/* 仏教塾ページ */
.buxtukyou {
	width: 195px;/* 254マイナスpadding_left */
	height: auto;
	background: #FFF url(../terakoya/buxtukyou/img/yajirusi_g.gif) left center no-repeat;
	border-bottom: #999 1px dashed;
	margin: 0;
	padding: 10px 0 10px 32px;;
}

/* 仏像塾ページ */
.butuzou {
	width: 195px;/* 254マイナスpadding_left */
	height: auto;
	background: #FFF url(../terakoya/butuzou/img/yajirusi_b.gif) left center no-repeat;
	border-bottom: #999 1px dashed;
	margin: 0;
	padding: 10px 0 10px 32px;;
}

#img_right {
	float: right;
	width: 200px;
	margin-right: 20px;
}
*html #img_right {/* IE6用ハック */
	float: right;
	width: 200px;
	margin-right: 10px;
}
#img_left {
	float: left;
	width: 416px;
	margin-left: 10px;
	margin-bottom: 10px;
}
*html #img_left {/* IE6用ハック */
	float: left;
	width: 416px;
	margin-left: 5px;
	margin-bottom: 10px;
}
#con_txt {
	clear: both;
	width: 618px;
	background-color: #EDEDED;
	margin: 0 20px 10px 20px;
	padding-bottom: 10px;
}
.center {
	text-align: center;
	margin: 0;
	padding: 0;
}
#txt_in {
	width: 556px;
	background-color: #FFF;
	margin: 0 0 0 16px;
	padding: 5px 10px 10px 20px;
}
#txt_in p {
	letter-spacing: 2px;
	line-height: 2;
}
#midasi1 {/* 豆知識ページ見出し*/
	width: 550px;
	color: #C3681C;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	border-bottom: 3px #C3681C solid;
}
#midasi2 {/* 仏教塾ページ見出し*/
	width: 550px;
	color: #22791F;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	border-bottom: 3px #22791F solid;
}
#midasi3 {/* 仏像塾ページ見出し*/
	width: 550px;
	color: #5D82CA;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	border-bottom: 3px #5D82CA solid;
}
.style1 {
	color: #666;
}