@charset "utf-8";
/* CSS Document */

/* html,bodyタグの設定 */
html, body{
    margin: 0;         /* 余白の削除 */
    padding: 0;        /* 余白の削除 */
    width:100%;
    height:100%;
}

div#header-fixed
{
    position: fixed;            /* ヘッダーの固定 */
    top: 0px;                   /* 位置(上0px) */
    left: 0px;                  /* 位置(右0px) */
    width: 100%;                /* 横幅100%　*/
    height: 156px;              /* 縦幅140px */
	background:url(../images/home/back.jpg) left top repeat-x;
}

/*ヘッダー*/
header {
	height: 96px;
	width: 960px;
	padding:11px 0 0 0;
	margin:0 auto;
	background:#000;
	color:#FFF;
}

#logo {
		float:left;
		padding:5px 0 0 10px;
		width:600px;
}

img.kana {
	padding:34px 0 5px 10px;
}

/*ヘッダー右側*/
p.address {
	padding:0 0 0 10px;
	width:230px;
	float:left;
}

#hrbox {
		width:230px;
		float:right;
}

#tel {
		float:right;
		padding:26px 5px 10px 0;
		width:226px;
}

#access {
	float:left;
}

#contact {
		float:right;
		padding:0 5px 0 0;
}

/*画像リンク透過*/
a img {
	transition: 0.6s ;
}

a img:hover {
	opacity: 0.5 ;
}

/*回り込み解除*/
.clearfix:after { /*floatの解除*/
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	content:".";
}

/*リンク設定*/
a:link {
	color:#333;
	text-decoration:underline;
}

a:visited {
	color:#333;
	text-decoration:underline;
}

a:hover {
	color:#7D4699;
	text-decoration:none;
}

a:active {
	color:#7D4699;
	text-decoration:none;
}


/*グローバルメニュー*/
nav#global-navigation {
	width:960px;
	height:49px;
	margin:0 auto;
	background:url(../images/home/gmenu.jpg) left top no-repeat;
}

nav#global-navigation ul li {
	float:left;
}

/*各メニュー設定*/
a#gmenu1 {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu.jpg) left top no-repeat;
}
a#gmenu1:hover {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu_on.jpg) left 0px no-repeat;
}

a#gmenu2 {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu.jpg) -192px top no-repeat;
}
a#gmenu2:hover {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu_on.jpg) -192px 0px no-repeat;
}

a#gmenu3 {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu.jpg) -384px top no-repeat;
}
a#gmenu3:hover {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu_on.jpg) -384px 0px no-repeat;
}

a#gmenu4 {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu.jpg) -576px top no-repeat;
}
a#gmenu4:hover {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu_on.jpg) -576px 0px no-repeat;
}

a#gmenu5 {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu.jpg) -768px top no-repeat;
}
a#gmenu5:hover {
	width:192px;
	height:49px;
	display:block;
	background:url(../images/home/gmenu_on.jpg) -768px 0px no-repeat;
}

/*メインコンテンツ*/
#main {
	width:960px;
	margin:156px auto 0;
	xbackground:#060;
}

/*コンテンツ*/
#contents {
	width:790px;
	padding:30px 10px 10px 20px;
	float:left;
}

/*サブページ　コンテンツ*/
#section_box {
	width:820px;
	xheight:500px;
	xbackground:#F00;
	float:left;
}

#sub_contents {
	width:588px;
	padding:30px 10px 80px 0px;
	float:right;
	xbackground:#093;
}


#sideimage {
	xbackground:#0F0;
	padding:30px 10px 10px 20px;
	width:192px;
	xheight:500px;
	float:left;
}

/*各タイトル*/
h2.h2_title {
	padding-bottom:10px;
	padding-left:15px;
}

/*住職からのお話 h3,h4*/
h3.story_no {
	font-size:1.0em;
	font-weight:bold;
	padding:10px 0 5px 10px;
	border-bottom: dotted 1px #7D4699;
	width:550px;
	margin:0 auto 15px;
}

h4.story_title {
	font-weight:bold;
	font-size:1.2em;
	padding:0 0 10px 10px;
	letter-spacing:0.1em;
}

.story_box {
	width:558px;
	margin:0 auto 15px;
	font-size:0.9em;
	border: 1px dotted #CCCCCC;
}

ul.jstory {
}

ul.jstory li {
	width:91px;
	xborder:1px solid #F00;
	float:left;
	padding:5px 0;
	text-align:center;
	letter-spacing:0.2em;
}



/*年間行事*/

h3.month {
	font-size:1.0em;
	font-weight:bold;
	padding:10px 0 5px 10px;
	border-bottom: dotted 1px #7D4699;
	width:550px;
	margin:0 auto 15px;
}

dl.events {
	padding:0 5px 20px 20px;
}

dl.events dt {
	font-weight:bold;
	padding:0 0 0 11px;
}

dl.events dd {
	line-height:1.3em;
	font-size:0.9em;
	padding:10px 5px 15px 13px;
}

p.txt {
	line-height:1.7em;
	padding:5px 5px 15px 20px;
	xborder:1px solid #F00;
}


/*カラー、余白設定*/

.fl {
	float:left;
}

.fr {
	float:right;
}

.txt_right {
		text-align:right;
}

.pr15 {
	padding-right:15px;
}

.pt20 {
	padding-top:20px;
}

.mb20 {
	margin-bottom:0px;
}

hr {
		display:none;
}

.fs8 {
	font-size:0.8em;
}

/*TOP画像*/
#slider {
	width:530px;
	float:left;
}

/*更新情報*/
#news {
	width:230px;
	float:right;
}

#news dl {
	padding:5px 10px 10px 10px;
}

#news dl dt{
	font-size:0.8em;
	padding-top:10px;
	padding-bottom:3px;
	padding-left:5px;
}

#news dl dd{
	font-size:0.9em;
	padding-bottom:10px;
	padding-left:5px;
	border-bottom:1px dotted #CCCCCC;
	line-height:1.2em;
}

/*TOP下部写真*/	
.pictimage {
	padding:15px 0 100px;
	margin-bottom:100px;
}

.pictimage img {
	float:left;
}


/*サイドバー*/
aside {
		float:right;
		width:120px;
		padding:30px 10px 10px;
		xbackground:#F0F;
		xheight:500px;
}

aside img {
	padding-bottom:10px;
}


/*テーブル*/

table.company{
	border-collapse:collapse;
	border-spacing: 0px;
	margin:15px auto;
	width:540px;
	
}
.company th{
	padding: 15px 15px;
	width:180px;
	text-align:left;
	font-weight:normal;
	background-color:#ECE6F7;
	border: 1px solid #ccc;
	vertical-align:middle;
	font-weight:bold;
}
.company td{
	padding: 10px 20px 10px 20px;
	background-color: #fafafa;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align:middle;
	line-height:1.4em;
}

/*本寺について*/
ul.sample {
	padding:0 0 0 30px;
	line-height:1.6em;
}

ul.sample li {
	list-style:disc;
	list-style:inside;
}

ul.astory {
	padding-left:10px;
}

ul.astory li {
	width:140px;
	xborder:1px solid #F00;
	float:left;
	padding:15px 0;
	text-align:center;
	letter-spacing:0.2em;
}


/*アクセス*/
#map {
	padding:10px;
}


/*お問合せ*/
table.contactform {
	border-collapse:collapse;
	border-spacing: 0px;
	margin:0 auto ;
}

table.contactform th{
	padding: 10px 0px 10px 10px;
	font-weight:normal;
	background-color:#E7E7E7;
	border: 1px solid #ccc;
	vertical-align:middle;
	font-size:0.9em;
	text-align:left;
}

table.contactform td{
	width:320px;
	padding: 10px 10px 15px 10px;
	background-color: #fafafa;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align:middle;
}

/*お問合せmailphp内*/
#formWrap {
	width:560px;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:85%;
	margin:10px auto 30px;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}

#formWrap p.error_messe{
	padding:10px;
	margin:10px ;
	color:red;
}

p.kojin {
	width:600px;
	line-height:1.4em;
	padding:20px 10px;
	margin:0 auto;
	font-size:0.8em;
}


/*フッター*/
footer {
	background:#DCDDDD;
	height:120px;
	border-bottom:15px solid #333;
}

#fotter_in {
	width: 960px;
	margin:0 auto ;
	font-size:0.9em;
	line-height:1.2em;
}

/*フッターメニュー設定*/

nav#fmenu {
	width:700px;
	margin:0 auto 10px;
}

nav#fmenu ul {
	padding:10px 0 0 0;
	font-size:0.9em;
}

nav#fmenu ul li {
	list-style-position:inside;
	padding:0 15px 15px 15px;
	float:left;
}

nav#fmenu ul li.tatesen {
	background:url(../images/home/line.gif) right 1px no-repeat;
}

/*リンク設定*/
nav#fmenu  a:link {
	color:#666;
	text-decoration:underline;
}

nav#fmenu  a:visited {
	color:#666;
	text-decoration:none;
}

nav#fmenu  a:hover {
	color:#7D4699;
	text-decoration:none;
}

nav#fmenu  a:active {
	color:#7D4699;
	text-decoration:none;
}

/*フッター会社情報*/

.f_company {
	width:280px;
	padding:0 0 0 55px;
	background:url(../images/home/flogo.png) left 5px no-repeat;
	float:right;
}

p.f_address {
	padding:5px 0 0 0;
	width:280px;
}

p.f_tel {
		width:280px;
}

/*コピーライト*/
p.copyright {
	color:#666;
	float:left;
	padding:40px 0 0 0;
}


