@charset "UTF-8";


#header_bar {
    margin: 0 auto;
    height: 15px;
    background: url(../images/top_bar.gif) repeat-x;
}
#toggle-button{
    display: none;
	}
#header_contents{
    width: 960px;
    margin: 0 auto;    
}
#title_box{
    float: left;
    width: 400px;
    height: 280px;
    margin: 0 0 0 80px;
}
#title_box img{
    margin-top: 65px;
}
nav.sp-none ul li{
    float: left;
    margin: 28px 38px 0 0;
}

#keyvisual{
    text-align: center;
    height: 420px;
    background: url(../images/key_bg.jpg) repeat-x;
}

#wrapper{
    width: 960px;
    margin: 0 auto;
}
#main{
    margin-top: 50px;
}
#contents{
    width: 705px;
    float: left;
}
.midashi{
    width: 705px;
	height: 35px;
	border-bottom:1px dotted #d96804;
	margin-bottom: 20px;
}
@media screen and ( max-width:479px ){
    .midashi{
	    height: 100%; }
}
.midashi img{
	position: relative;
	top: 3px;
}
h3{
	display: inline;
}
.midashi h3 span{
	font-size: 22px;
	padding-left: 5px;
    color: #d96804;
}
.midashi h3 span a{
    color: #d96804;
    text-decoration: none;
    font-weight: bold;
}
.honbun p{
    width: 690px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}
#photo_area ul li{
    float: left;
}
#photo_area ul li{
    margin-right: 22px;
}
#photo_area ul li:last-child {
    margin-right: 0px;
}
.access_midashi{
    width: 705px;
	height: 35px;
	border-bottom:1px dotted #d96804;
	margin: 50px 0 20px 0;
    color: #d96804;
}
.access_midashi h3{
    font-size: 22px;
}
.access_midashi h3 a{
    color: #d96804;
    text-decoration: none;
}
.access_midashi:before{
    content: "\f041";
    margin-right: 8px;
    font-size: 25px;
    font-family: "FontAwesome";
    color: #273f89;
    padding-left: 5px;
}
.access_honbun p{
    padding-left: 5px;
    margin-bottom: 20px;
}
.access_honbun img{
    margin-bottom: 20px;
}


#access_button a{
    display: block;
    width: 705px;
    margin: 16px 0 20px 0;
    padding: 10px 0;
    background-color: #ed862b;
    text-align: center;
    color: #fff;
    border-radius: 2px 2px 0 0;        /* CSS3草案 */  
    -webkit-border-radius: 2px 2px 0 0;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 2px 2px 0 0;   /* Firefox用 */  
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
#access_button {
    box-shadow: 0 3px 0 #be6414;
}

 /*
#access_button a:before{
    content: url(images/foot_mark.gif);
    position: relative;
    top: 7px;
}
*/
#access_button:hover{
    position: relative;
    top: 3px;
	box-shadow: none;
}
.pagetop{
    float: right;
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}
.pagetop i{
    position: relative;
    top: 3px;
    left: 3px;
    color: #d96804;
}
.pagetop span{
    font-size: 12px;
}
.pagetop a{
    text-decoration: none;   
}
#sidebar{
    width: 220px;
    float: right;
}
.banner_button {
    margin-bottom: 30px;
    line-height: 0;
}
.bnr_haka_txt{
    padding-bottom: 5px;
    padding-left: 2px;
}
.bnr_haka_txt img{
    position: relative;
    top: 2px;
    padding-left: 4px;
    width: 15px;
}
.bnr_haka img{
    width: 100%;
}
.bnr_haka{
    margin-bottom: 16px;
}
#f_nav_box{
    width: 960px;
    margin: 0 auto;
    
}
#f_nav {
    width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#f_nav li{
    float: left;
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    border-bottom: 2px solid #a2a2a2;
    margin: 0 20px;
    height: 25px;
}
#f_nav li a{
    color: #d96804;
    text-decoration: none;
}
#f_nav li:hover{
    height: 25px;
    border-bottom: 2px solid #2342c8;
}

#footer_bg{
    margin: 16px auto 0 auto;
    background: url(../images/footer_bar.jpg) repeat-x;
    height: 132px;
}
@media screen and ( max-width:479px ){
    #footer_bg{
    background: url(../images/footer_bar.jpg) repeat;
    height:  250px; }
}
#footer_inner{
    width: 960px;
    margin: 0 auto;
}
#f_logo{
    width: 135px;
    height: 89px;
    margin: 26px 0 0 35px;
    float: left;
}
@media screen and ( max-width:479px ){
    #f_logo{
        float: none;
        margin: 26px auto;
        padding-top: 30px;}
}
#f_address{
    width: 320px;
    margin: 40px 0 0 60px;
    color: #000;
    float: left;
}
#temple_name{
    font-size: 17px;
    margin-bottom: 6px;
    border-bottom: 1px dotted #000;
    padding-bottom: 2px;
}
#temple_address{
    font-size: 13px;
}
#f_link{
    width: 211px;
    float: right;
    margin-top: 35px;
}
@media screen and ( max-width:479px ){
    #f_address{
    margin: 0 0 0 20px;}
    #f_link{
    float: none;
    margin: 50px auto 0;}  
}
.f_bnr{
    display: none;
}
@media screen and ( max-width:479px ){
    .f_bnr{
        display: block;
        padding: 40px 15px 0;
    }
    .f_bnr_haka_box{
        display: flex;
    }
    .f_bnr_haka_txt{
        text-align: center;
        padding-bottom: 8px;
    }
    .f_bnr_haka_txt img{
        position: relative;
        top: 2px;
        padding-left: 4px;
        width: 15px;
    }
    .f_bnr .bnr_haka img{
        line-height: 0;
    }
    #copyright{
/*        text-align: center;*/
        padding-bottom: 10px;
    }
}
#copyright{
    color: #000;
    font-size: 9px;
    display: inline-block;
    text-align: center;
    padding-top: 20px;
    margin: 0 auto;
    width: 100%;
}

@media screen and ( min-width:480px ){
/* PC非表示 */
    .pc-none { display: none; }
}

/* PC表示 */
/*.pc { display: block !important; }
.sp { display: none !important; }*/

/* ウィンドウ幅が0〜479pxの場合に適用するCSS */
@media screen and ( max-width:479px ){
	/*  SP非表示 */
	.sp-none { display: none; }
	/*.sp { display: block !important; }*/
	.wrapper{
		padding: 0 10px;
		width: auto;
	}
	#header_bar{
		width: auto;
        padding: 0;
	}
    #keyvisual,#wrapper,#main,#contents,#about_joukeiin,.midashi,.honbun p,#access,.access_midashi,#access_button a,footer,#f_nav_box,#f_nav,#footer_inner{
        width: auto;
        float: none;
    }
    #title_box{
        margin-left: 10px;
        width: 100%;
        height: 100%;
    }
    #title_box img{
        width: 30%;
        height: 100%;
        margin-top: 12px;
    }
    #sidebar{
        display: none;
    }
	#header_contents{
		width: auto ;
	}
	#sp-nav{
		width: auto;
		display: flex;
        flex-wrap : wrap;
        justify-content:space-between;
	}
    #sp-nav li a{
        padding: 14px 26px;
        height: 40px;
        display: block;
        background-color: #ed852c;
        color: #FFF;
        border: 1px solid #fff;
    }  
	#keyvisual h2 img{
		width: 100% ;
		padding: 0;
	}
    #photo_area{
        text-align: center;
    }
    #about_joukeiin #photo_area ul{
        display: flex;
    }
    #about_joukeiin #photo_area ul img{
        width: 90%;
        height: 100%;
    }
    .access_honbun a img{
        width: 100%;
    }
    .access_honbun iframe{
        width: 100%;        
    }
	#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
    }
    #page-top a {
        background: #d96804;
        opacity: 0.8;
        text-decoration: none;
        color: #fff;
        width: 100px;
        padding: 30px 0;
        text-align: center;
        display: block;
        border-radius: 5px;
    }
    #page-top a:hover {
        text-decoration: none;
        background: #999;
    }	
}