@charset "UTF-8";
/* 八代宮 style */

* {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: 1em;
	margin: 0px;
	padding: 0px;
}
dl,dd,dt {
	margin:0;
	padding:0;
}
img {
	border: 0px;
}
ul {
	list-style-type:none;
}
address {
	font-style:normal;
	display:inline;
}
.clear {
	clear:both;
}

/* for modern browser */
.clearfix {
  display: inline-block;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  line-height:0;
  font-size:0;
}

/* Hides from IE-mac ¥*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

body {
	width:100%;
	line-height:170%;
	background:url(../../images/bg_black.gif) repeat left top;
	color:#444444;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	background-color:#000000;
}
a:link,
a:visited {
	color:#000000;
	text-decoration:underline;
}
a:hover,
a:active {
	color:#bb2a09;
	text-decoration:underline;
}

/* 段落関連 */
p.top3 {
	padding-top:3px;
}
p.top15 {
	padding-top:15px;
}
p.top20 {
	padding-top:20px;
}
p.top30 {
	padding-top:30px;
}
p.bottom20 {
	padding-bottom:20px;
}
p.bottom30 {
	padding-bottom:30px;
}
p.bottom40 {
	padding-bottom:40px;
}
p.bottom45 {
	padding-bottom:45px;
}
p.bottom55 {
	padding-bottom:55px;
}

/* サブタイトル */
h3.h3_subtitle {
	padding-bottom:9px;
	border-bottom:1px #dfdfdf solid;
}
h3.h3_subtitle2 {
	padding-bottom:9px;
	border-bottom:1px #bbbbbb solid;
	padding-top:30px;
}
h3.h3_subtitle3 {
	padding-bottom:5px;
	border-bottom:1px #dfdfdf solid;
}

/* トップイメージ */
div#topImage {
	height:435px;
	background:url(../../images/img_top.jpg) no-repeat center top;
	margin:0 auto;
}
div#topWrapper {
	width:802px;
	margin:0 auto;
	padding-top:39px;
}

/* グローバルナビゲーション */
div#grobalNaviWrapper {
	background:url(../../images/bg_globalnavi.jpg) no-repeat center top;
}
ul#grobalNavi {
	width:550px;
	margin:0 auto;
	padding-top:25px;
}
ul#grobalNavi li {
	float:left;
	padding-right:38px;
}
ul#grobalNavi li.li_last {
	padding-right:0;
}

/* コンテンツ */
div#container {
	background:url(../../images/bg_white.gif) repeat-y center top;
	margin:0 auto;
	text-align:center;
	padding-top:35px;
	font-size:93%;
}
div#wrapper {
	width:760px;
	background-color:#ffffff;
	margin:0 auto;
	text-align:left;
}
div.sectionBox {
	padding-bottom:55px;
	clear:both;
}
h2.h2_titleBox {
	width:105px;
	float:left;
}
div.sectionContents {
	width:655px;
	float:right;
	padding-top:51px;
}
div.sectionContentsWrapper {
	padding-right:105px;
}

/* 八代宮について */
div#aboutImg {
	width:270px;
	float:left;
}
div#aboutTxt {
	width:280px;
	float:right;
	line-height:180%;
}

/* 歴史について */
div#historyBox {
	background:url(../../images/bg_history.jpg) repeat left top;
	padding:0 20px;
}
table#historyTable {
	width:485px;
	margin:0 auto;
}
table#historyTable th {
	width:147px;
	font-weight:normal;
	text-align:left;
	color:#333333;
	vertical-align:top;
	padding-top:20px;
	background:url(../../images/dot.gif) repeat-x left bottom;
}
table#historyTable th span {
	font-size:77%;
	color:#666666;
}
table#historyTable th.th_last {
	background:none;
}
table#historyTable td {
	padding-top:20px;
	padding-bottom:20px;
	background:url(../../images/dot.gif) repeat-x left bottom;
}
table#historyTable td.td_last {
	padding-bottom:40px;
	background:none;
}
p#historyTxt {
	width:485px;
	margin:0 auto;
	border-top:1px #bbbbbb solid;
	padding:18px 0 30px 0;
}

/* 境内のご案内 */
div#photoBox {
	padding-bottom:60px;
}
div#photoBox img {
	border:1px #bfbfbf solid;
	margin-right:4px;
	margin-bottom:4px;
}
div#photoBox a:hover img {
	border:1px #555555 solid;
	margin-right:4px;
	margin-bottom:4px;
}
div#interestBox {
	background:url(../../images/bg_matsu.jpg) repeat left top;
	padding:20px 25px 22px 25px;
}
div#toriiBox {
	background:url(../../images/dot2.gif) repeat-x left bottom;
	padding-bottom:25px;
}
h3#h3_torii {
	width:170px;
	float:left;
}
p#toriiTxt {
	width:320px;
	float:left;
}
div#matsuBox {
	padding-top:25px;
	clear:both;
}
div#matsuImg {
	width:255px;
	float:left;
}
div#matsuTxt {
	width:235px;
	float:left;
	line-height:180%;
}
div#matsuTxt h3 {
	padding-top:3px;
	padding-bottom:20px;
}
div.line {
	height:78px;
	background:url(../../images/line.gif) no-repeat center bottom;
	clear:both;
}
div.line2 {
	height:13px;
	background:url(../../images/line.gif) no-repeat center top;
	clear:both;
}
div.line hr,
div.line2 hr {
	display:none;
}
div#springLeft {
	width:290px;
	float:left;
}
div#springLeft h3 {
	padding-top:10px;
	padding-left:20px;
}
div#springLeft p {
	padding-top:40px;
	padding-left:20px;
}
div#springRight {
	width:245px;
	float:right;
}
div#springRight p {
	padding:13px 5px 14px;
}

/* 交通アクセス */
div#mapBox {
	border:1px #cccccc solid;
}
div#map {
	width:548px;
	height:288px;
}
div#accessBox {
	padding-top:35px;
}
div#accessTxt {
	width:285px;
	float:left;
}
div#accessImg {
	width:230px;
	float:right;
	text-align:right;
}

/* ページトップ */
p.pagetop {
	padding-top:40px;
	text-align:right;
	padding-right:8px;
	clear:both;
}

/* フッター */
div#footer {
	height:155px;
	background:url(../../images/bg_footer.jpg) no-repeat center top;
	margin:0 auto;
	clear:both;
}
div#footer p {
	width:248px;
	margin:0 auto;
	padding-top:75px;
}
