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


スマホページ用


-------------------------------------------------------------------------------------*/


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){}


/* ●px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width:768px){

*{box-sizing: border-box;}
body{}

body{
	text-align:left;
	position:static;
	font-size:85%;
	}



/*表示・非表示*/
.sp_none{ display:none !important;}
.sp_only{ display:block;}


body,
#contents
{ padding:0 !important; margin:0 !important;}


	
.footer_menu
{ display:none !important;}
	

/*幅関係*/


html,
body,
#bg_top,
#header,
#container,
#content,
#top,
#top_main,
#left,
#main_image,
#contents,
#main_eidai,
#news,
#maintxt3,
#maintxt,
#maintxt2,
#tamagushi,
#article
{
	width:100% !important;
	padding:0;
	}


#footer{
	height:auto;
}

img{ width:100%; height:auto;}



.txt01,
.txt02,
.txt {
	padding:0 5% 5%  5% ;
}


.sp_on{display:block;}	
.sp_w50 img{ width:49%;}
.img85 img{ width:85%;}




/*----------------------------------------------------------------------------------------

　ヘッダー

----------------------------------------------------------------------------------------*/

#bg_top {
	background:url(../smartphone/images/sp_header_bg.gif) repeat-x scroll top center;
	border-bottom:solid 5px #8E0201;
}

#header{
	width:100%;
	height:auto;
	padding:5px;
	margin:0 auto;
/*	z-index: 100; */
}


h1 {
	width:88%;
    font-size: 2em;
    margin: 0;
    float:left;
	padding-bottom: 0px;
	padding-top: 0px;

}

#header #t_tel {
	background:#942343;
	width:76%;
	margin-left: 30px;
	float: left;
	padding-top: 0px;
	padding-bottom: 0px;
}


#nav{ display:none;}

#header_navi { display:none;}

/*----------------------------------------------------------------------------------------

　ナビ関連

----------------------------------------------------------------------------------------*/


.btn_sp_navi{
z-index: 2;
	display:block;
    position: fixed;
	right:10px;
	top:2px;
	}
.btn_sp_navi img{
	width:50px;
}
.btn_sp_navi:hover{ cursor:pointer;}



.sb-slidebar{ background:#FAFAF0;
padding:5px;
z-index: 2;} 
.sb-slidebar li{ border-bottom:1px solid #8E0201;
list-style-type: none;
}
.sb-slidebar li a{
	color:#8E0201; 
	text-decoration:none;
	font-size:16px;
	line-height:150%;
	font-weight:bold;
	display:block;
	padding:5px 0;}

/*----------------------------------------------------------------------------------------

　メインカラム

----------------------------------------------------------------------------------------*/


#contents{ width:96%; margin:0;}


#catch{ display:none;}

.courseBtn{ display:none;}

.fR ,
.fL {
	width:100%;
	margin-bottom:20px;
}






/*----------------------------------------------------------------------------------------

　トップページ

----------------------------------------------------------------------------------------*/

/* ++++++++++++++++++++スライド++++++++++++++++++++ */




#main_image .btn {
	width:46%;
	margin-top:-5px;
	margin-left:10px;
	position: static;
	float:left;
	top: 0;
	left: 0;
}

#main_image .btn_u {
	width:46%;
	margin-left:10px;
	float:left;
	position: static;
	top: 0;
	left: 0;
}

#main_image .btn_r1 {
	width:46%;
	margin-right:10px;
	float:right;
	position: static;
	top: 0;
	left: 0;
}

#main_image .btn_r2 {
	width:46%;
	margin-top:-5px;
	margin-right:10px;
	float:right;
	position: static;
	top: 0;
	left: 0;
}

/*---- お知らせエリア ----*/
#main_petbull{
	font-size: 12px;

}

#main_eidai{
	padding:5px;
	margin-bottom:20px;
	font-size: 16px;
	line-height: 1.85em;
}
.t25{ font-size:1.10em;}

.sp_right{
	width:30%;
	text-align:right;
	margin-left:5px;
	}

.sp_right_50{
	width:50%;
	text-align:right;
	margin-left:5px;
	}

.sp_right_40{
	width:40%;
	text-align:right;
	margin-left:5px;
	}


/*お知らせ*/


#news {
	width:100%;
	background-image: url(../images/top/bg_news.png);
	background-color: #fff;
}


#news h2 {
	width:100%;
	margin: 0px;
	text-align: center;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

#news .scroll {
	width:100%;
	height: 240px;
	overflow: auto;
	padding:5px;
	border-bottom: 8px solid #fff;	
}

#news .scroll .sub {
	width:100%;
	margin-top: 8px;

}

#news .scroll .sub .txt {
	width:100%;
	font-size: 13px;
	font-weight: normal;
}

#news .scroll .sub .txt p {
	margin: 0px;
	line-height: 1.5em;
}

#news .scroll .sub h3 {
	font-family: "Century Gothic";
	font-size: 16px;
	margin: 0px;
}


table.tblnews{
	width:100%;
	font-size: 13px;
	line-height: 1.5em;
}

table.tblnews td{
	width:25%;
}



/*写経会について*/

#maintxt3{
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;
}


/*挨拶*/

#maintxt{
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;
}


/*葬儀について*/
#maintxt2{
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;
}



/*右バナーエリア*/


#right {
	float: right;
	background-image: url(../images/top/top_access.png) ;
	background-repeat: no-repeat;
	background-size:100% auto;
	height: auto;
	width: 98%;
	padding-left:3px;
}
#right .right_box1 p {
	width: 98%;
	margin-top: 30px;
	margin-bottom: 0px;
}
#right .right_box1 {
	width: 98%;
	margin-top: 60px;
	margin-bottom:20px;
}



#right2 {
	float: right;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 40px;
	height: auto;
	width: 96%;
}
#right2_2{
	float: right;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 20px;
	height: auto;
	width: 96%;
}

#sp_kuchikomi{
	width: 80%;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 30px;
	height: auto;
	padding: 10px 5px;
	background:#fff;
	border: solid 1px #BBB9B9;
}
	
	
#sp_base{
	width: 80%;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
	height: auto;
}
	
#sp_insta{
	width: 96%;
    margin: 0 auto;
	padding:5px;
	background:#fff;
}

.insta_sp1{
	width:46%;
	margin-right:40%;
	margin-left:10px;
}	

.insta_box{
	 display: flex;
	}
.insta_sp2{
	width:46%;
	margin-top:10px;
	margin-left:10px;
}	

.insta_sp3{
	width:46%;
	margin-top:10px;
	margin-right:10px;
}	


#sp_tw{
	width: 96%;
    margin: 0 auto;
	margin-top:20px;
	margin-bottom: 20px;
	padding:5px;
	background:#fff;
}

.tw_box{
	 display: flex;
	}
.tw_sp1{
	width:46%;
	margin-left:10px;
}	

.tw_sp2{
	width:46%;
	margin-left:10px;
}	

.tw_sp3{
	width:46%;

	margin-top:10px;
	margin-left:10px;
}	

.tw_sp4{
	width:46%;
	margin-top:10px;
	margin-left:10px;
}	





/*フッターバナー*/


#top_main .top_course_bnr {
	clear: both;
}
#top_main .top_course_bnr ul li {
	width: 96%;
	margin-left: 5px;
}




/* フッター　============================================================= */

#footer {
	clear: both;
	width: 100%;
	height: 100px;
    overflow: hidden;
}


#footer .page_top {
	width:72%;
	margin-left:40px;
}

#bg_bottom {
	height: 80px;
}
#bg_bottom .cc_txt {
	padding-top:5px;
	width:100%;

}




/*----------------------------------------------------------------------------------------

　下層ページ

----------------------------------------------------------------------------------------*/

/* 下層共通　*/

#content h2 {
	width: 100%;
	padding-top:15px;
	padding-bottom:10px;
	background-color:#fffacd;
}


#article h3{
	width: 100%;
	height:auto;
	font-size:24px;
	font-weight:normal;
}




h3 {
	width: 100%;
}

#article p {
	width: 96%;
	margin-left: 8px;
	line-height: 1.6em;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 18px;
}

#article .753{
	width: 100%;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5em;
}

/*---- 1年の行事 ----*/
	
.tbl_event{
	width: 100%;}

.tbl_event td{
	font-size: 12px;
	padding:10px;
	}

.tbl_event th{
	padding:10px;
	}

	
/*---- 神社内でのご祈祷 ----*/


#pray_yaku{
	width:100%;
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;
}


#pray .txt{
	width:100%;
	margin-left: 5px;
	}
	
	
.left {
	width:100%;
	margin-left: 0px;
}
.bnr_yaku{
	width:100%; 
	
}


.kigan {
	width:100%;
}


.kigan_photo {
	width:100%;
}

.kigan_photo .btn {
	position: static;
	width: 80%;
	top: 10%;
	left: 10%;
}


/*---- 神葬祭・供養・永代供養 ----*/



#tamagushi{
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;

}

/*---- 地鎮祭・外祭 ----*/


#jitin_net{
	width:100%;
	font-size: 16px;
	line-height: 1.8em;
	padding:5px;
	margin: 0;
}

#jitin_net p{
	padding-left: 0;
}

#jitin_net .t_jitin{
	font-size: 20px;
}


#gaisai{
	margin: 0;
	padding:5px;
	font-size: 16px;
	font-weight: bold;
}


/*---- ペット葬儀 ----*/
.pet{
	width: 100%;
	margin-bottom: 30px;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.4em;
}	

.pet ul li {
margin-bottom:10px;
}


.pet2{
	width: 100%;
	margin-bottom: 30px;
	font-size: 18px;
	line-height: 1.4em;
}	

.pet2 ul li {
margin-bottom:10px;
}


table.pettbl{
	width:100%;
	margin-left: 0px;
}


table.pettbl th,td{
	width:33%;
}

.pet_st{
    background-color:#DB6A1E;
	color:#fff;
	font-size:20px;
	font-weight:bold;
	padding:10px;
	

}

/*---- アクセス ----*/

.ggmap {
width:100%;
margin-left: 0px;
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}




#access { display:none;}


#access_sp{
	width:100%;
	background-color: #F9F8F3;
	margin-right: auto;
	margin-left: auto;
	padding:10px;
}
	

#access_sp p{
    font-size:16px;
}



/*---- お問い合わせ ----*/

#pp p{
	font-size:16px;
}



table.tbl_contact{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0px;
    margin-left:0px;
    table-layout: fixed;
}


table.tbl_contact th{
    text-align:justify;
    text-justify:inter-ideograph;
	text-align:left;
	vertical-align: middle;
	padding:12px;	
	border:solid #CCC;
	border-width:0 0 1px 0;
	font-size:20px;
	width: 100%;
	background:#E5E5E5;
	display: block;

}


.tbl_contact td{
	padding:6px;
	border:solid #CCC;
	border-width:0 0 1px 0;
	vertical-align: middle;
	font-size:22px;
	background:#fff;
	width: 100%;
	display: block;

	}
.tbl_contact td p{
	margin:2px;
	padding:0;
}

.fonmBtn{
	text-align:center;
	margin:0px auto 20px auto;
	}
.fonmBtn input{
	padding:10px;
	width:180px;
	font-size:14px;
	cursor:pointer;
	}
	
.txtbox {
	height: 36px;
	width:100%;
}



input[type=radio] {
    width: 15px;
    height: 15px;
    vertical-align: middle;
	padding:10px;
}

#submit_button {
	display: block;
	width: 320px;
	height: 60px;
	line-height: 60px;
	background: #FF9326;
	padding: 0;
	color: #fff;
	border-radius: 6px;
	text-align: center;
	font-size: 24px;
	margin: 30px auto 0;
	border: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
}












}

/* タブレット系　*/

/* 幅600px以下から  
------------------------------------------------------------*/
@media only screen and (max-width: 600px){

	

	

}




/* 幅414px以下から iphone6& plus
------------------------------------------------------------*/
@media only screen and (max-width: 414px){





	

}




/* 幅320x以下から ヘッダー等微調節 iphone5
------------------------------------------------------------*/
@media only screen and (max-width: 320px){





}