@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body {
color:#333;
font-size:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#74b4df;text-decoration:none;}
a:hover{color:#006699;}
a:active, a:focus {outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
background:#fff;
}

.inner{
margin:0 auto;
width:100%;
}


/*************
/* ヘッダー
*************/
#header{
 height:auto;
}

#header h1{
padding:5px 0 10px 15px;
font-size:10px;
font-weight:normal;
}

#header_area {
	height: auto;
	margin: 8px auto;
}

/*************
/* ロゴ
*************/

.logo{
/*float:left;*/
	vertical-align: middle;
	display: flex;
/*	margin-bottom: 3%;*/
/*	border: 1px solid #ccc;*/
}

.logo p{float:left;}

.logo img{
width:auto;
/*float:left;*/
padding:2px 10px 0 10px;
}
/*
.logo span{display:block;}
*/
/*************
/* 電話番号
*************/
/*
.info{
float:right;
padding-right:20px;
text-align:right;
}
*/
/*.info .open{font-size:11px;}*/


/*************
/* ロゴ+電話番号
*************/
/*
.logo,.info .tel{
margin-top:6px;
color:#74b4df;
font-size:20px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}
*/

/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin:15px auto 5px;
padding:0;
height: 380px;
/*width:100%;*/
height: auto;
position:relative;

/*line-height:0;*/
}
/*
#mainBanner img{
max-width:100%;
height:320px;
}*/

#subpage #mainBanner img{border:4px solid #f1f1f1;}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:20px;
left:0;
padding:5px 10px;
line-height:1.4;
color:#939393;
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
font-weight:bold;
color:#333;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.box{
margin:0 5px;
padding:10px;
border:1px solid #f1f1f1;
}

.box img{
max-width:100%;
height:auto;
border:4px solid #f1f1f1;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}

.top_image_area {

 width: 100%;
 height: 100%;
 margin-top: 5px;
 padding-left: 3px;
 padding-right: 3px;
}

.swipe-img {
	height: 430px;
}

/*************
メイン コンテンツ
*************/

section#main {margin-bottom: 12px; width: 98%;}
section.content article{
padding:20px;
margin-bottom:5px;
border:1px solid #f1f1f1;
overflow:hidden;
/*width: 95%;*/
margin: 0 auto;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}
section.content article img{border: 3px solid #f1f1f1;}

/*
h3.heading{
font-weight:normal;
padding:0 10px;
line-height:36px;
color:#333;
background:#f1f1f1;
width: 95%;
margin: 0 auto;
}
*/
/*
h3.heading article{
width: 95%;
margin: 0 auto;
}
*/

h3.title {
font-weight:normal;
padding-left: 15px;
margin-top: 2.3%;
line-height:36px;
/*margin-bottom: 11px;*/
color:#333;
background:#f1f1f1;
}

section.content img{
max-width:98%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

#gallery .grid img,.border,ul.list img{border:4px solid #f1f1f1;}

.subtitle {

	font-size: 1.3rem;
	line-height: 1.7;
	padding-bottom: 3px;
	padding-left: 8px;
	font-weight: bold;

}

.topMenu li {
   float: left;
   border-right: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
   text-align: center;
   background: #efefef;
   position: relative;
   z-index: 10;
}

.topMenu li a {
   display: block;
/*   width: 120px;*/
   padding: 3px;
   color: #333;
   text-decoration: none;
}

.topMenu li a:hover {
   background: #dbdbdb;
}

.topMenu li:hover > ul {
   display: block;
   border: none;
}

.topMenu ul {
   display: none;
   position: absolute;
   top: 56px;
   left: 0;
/*   width: 120px;*/
}

.topMenu ul li {
  background: #fff;
  border-left: 1px solid #ddd;
  position: absolute;
}

.topMenu a strong {
	font-size: 0.751rem;
}

.topMenu:after {
  clear: both;
  content: "";
  display: block;
}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}



table#member_list {
	width: 92%;
	border-collapse: collapse;
	padding: 5px auto;
	margin: 0 auto;
/*	font-size: 0.85rem;*/
	align-content: center;

}

#member_list td {
	border: 3px solid #ccc;
}

.tbl_head {
	background-color: #f5f5f5;
}

#member_list td {
	border: 1px solid #ccc;	
	padding-left: 3px;
	padding-right: 5px;
	line-height: 1.8;
}

#member { width: 24%; }


h3.member_title {
font-weight:normal;
margin-top: 2.8% !important;
line-height: 1.6;
margin: 0 auto;
text-align: center;
/*margin-bottom: 11px;*/
width: 92%;
color:#333;
background:#f1f1f1;
}

.member_info_area {
	display: flex;
	border: 1px solid #f1f1f1;
	width: 92%;
	margin: 0 auto;
}

.count{
	font-size: 0.75rem;
	margin: 3% 2%;
	font-weight: bold;
}

.member_type {

	font-weight: bold;
	font-size: 0.83rem;
	padding-top: 5px;
	padding-bottom: 3px;
}

.member_adult {
	width: 50%;
	padding: 2px 5px;
	border: 1px solid #f1f1f1;	
}

.member_child {
	width: 50%;
	padding: 2px 5px;
	border: 1px solid #f1f1f1;
}


#h_level { width: 17%; }
#b_level { width: 17%; }
#role { width: 20%; }
#s_level { width: 21%; }

.greeting_note {
	margin-bottom: 8px;
	padding-left: 10px;
	padding-right: 10px;
}

.greeting_note p{
	margin-top: 9px;
	margin-bottom: 13px;
}

.greeting_img {
	width: 80%;
	margin: 5px auto 12px;
	text-align: center;

}

/*************
/* サイドバー
*************/
/*
#sidebar ul{padding:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{display:block;}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}
*/

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
overflow:hidden;
margin-top: 6px;
padding:3px 6px 12px 6px;
background:#f3f3f3;
}

/*footer p{font-size: 0.74rem !important;}*/
* html #footer{height:1%;}

.footer_info {
	text-align: center;
	font-size:: 1.95rem;

}

#footer .grid{
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
clear:both;
padding:10px 8px 0 8px;
text-align:left;
}

#footer .logo{font-size:18px;}
/*
#footer .info .tel,#footer .info .tel span,#footer #info .open{
font-size:12px;
color:#333;
}
*/
/*
ul.open {
	clear: both;
	position: relative;
}
*/

.tel, .open, .date{
	width: 180px;
	padding-left: 10px;
	font-size: 0.76rem !important;
}




	.footer_last {
	width: 60%;
	display: flex;
	text-align: center;
/*	border: 1px solid #ccc;*/
	height: auto;
	margin: 0 auto;
	height: 210px;

	}


	.footer_left {
		width: 30%;
/*		border: 1px solid #ccc;*/
		padding: 2px 5px;
		text-align: right;
	}

	.footer_right {
		width: 70%;
/*		border: 1px solid #ccc;*/
		padding-left: 8px;
		padding-right: 8px;
	}

	.footer_left img {
		height: 88%;
		padding-top: 7px;
		margin: 0 auto;
		text-align: center;
	}





















ul.footnav{
float:right;
width:650px;
padding:10px 0;
}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
font-size:11px;	
border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}
#footer a:hover{color:#888;}

address{
clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
background:#dbdbdb;
}


.info-warning {
	color: red;
	font-weight: bold;
	margin-top: 1.2%; /*5px;*/
	margin-bottom: 1.4%;/*7px;*/
	text-align: center:;
	font-size: 0.78rem;
	padding-left: 8px;
	padding-right: 8px;
}






/* ヘッダ―部　道院名 */
.doinPreName {
	font-size: 1.28rem;
/*	border: 1px solid #ccc;*/

}
.doinName {
	font-size: 1.7rem;
	text-align: center;
/*	border: 1px solid #ccc;*/
}
.doinNameEng {
	font-size: 1.15rem;
	text-align: center;
/*	border: 1px solid #ccc;*/
}
.logo_area {
	width: 80%;
/*	border: 1px solid #ccc;*/
}







/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
/* 追加箇所 */
	.logo_image {
/*		width: 24%;*/
		margin: 3px 5px;
	}

	.logo_area {
		display: block;
/*		border: 1px solid #ccc;*/
	}

	.logo_title {
		width: 76%;
		flex-grow: 1;
		display: grid;
		font-size: 1.35rem;
/*		border: 1px solid #ccc;*/
		margin: 3px 5px;
		align-content: center;
	}


	img.shorinji-logo {width: 45px, height: 45px;}
/*	.logo_title {font-size: 1.35rem; }*/
    .doinPreName {
		font-size: 1.28rem;
/*		border: 1px solid #ccc;*/

    }
    /*
	.doinName {
		font-size: 1.7rem;
		border: 1px solid #ccc;
		text-align: center;
	}
	.doinNameEng {
		font-size: 1.15rem;
		text-align: center;
		border: 1px solid #ccc;
	}
	.logo_area {
		width: 80%;
		border: 1px solid #ccc;
	}
	*/

/* 追加箇所 */


	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow: visible;
	position:relative;
	}
	
	nav#mainNav .inner{
	width:932px;
	padding:0 14px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	float:left;
	font-size:13px;
	width:125px;
/*	width:154px;*/
	height:45px;
	padding-top:9px;
	color:#333;
	border-left:1px dotted #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
  background:#f9f9f9;
	padding-top:9px;
	}
	
	/*
	#mainBanner{margin-left:15px;}
    */
	#subpage #mainBanner{margin:17px auto;}
	
	#main{
	float:right;
	padding-right:10px;
	padding-left: 10px;
	}
	/*
	#sidebar{
	float:left;
	width:245px;
	padding:17px 0 0 15px;
	overflow:hidden;
	}
	*/
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #f1f1f1;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px; border: 0px solid;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}

	.l_pic_unit {
		margin: 0 auto;
	}

	.l_pic_area {
		width: 75%;
		margin: 0 auto;
	}

	.btn_mail {
		margin-top: 20px auto 35px auto;
		padding: 12px 60px;
	}


	.button_solid005 a{
		padding: 14px 20px !important;
	}

}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	

/* 追加箇所 */
	.logo_image {
		width: 30%;
		vertical-align: middle;
		text-align: center;
		margin: 3px 5px;
/*		border: 2px solid #ff0000;*/
	}

	.logo_area {
		display: block;
/*		border: 2px solid #00ff00;*/
	}

	.logo_title {
		width: 70%;
		font-size: 1.8rem;
		margin: 3px 5px;
		float: right;
		align-content: center;
/*		border: 2px solid #0000ff;*/
		margin: auto;
	}


	section#main {
		font-size: 16px;
	}
	h3.title {font-size: 0.8rem;}

	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

    .menu {
    	margin: 2px auto;
    }

#main {
	margin: 2px auto;
	padding-top: 1px;
}
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#006699; width: 100%;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{max-width:668px;}

	ul.sublink {
		top:0;
		position: relative;
		display: block;
	}

	ul.sublink a{
		width: 100%;
	}


	ul.sublink li {
		top: 0;
		position: relative;
		color: red;
	}
/*
	ul.sublink li:before {
		content: "→ ";
	}
*/
	.logo {
	/*
		display: inline-block;
		margin-bottom: 3%;
	*/
		width: 100%;
/*		border: 1px solid #ccc;*/
/*		border: 2px solid #006688;*/
	}
	
	.doinName {font-size: 1.9rem;}
	.doinPreName {font-size: 0.96rem;}
	.doinNameEng {font-size: 0.8rem;}

	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}


	section article {
		padding: 7px 8px !important;
	}




	.l_note {
/*		font-size: 0.68rem;*/
		margin-top: 5px;
		height: 43% !important;
	}


	.l_pic_img {
		height: 57% !important;
		padding-bottom: 6px;
	}


	.g_pic_img { 
		max-width: 240px !important;
		padding: 1px auto;
	}

	
	table#member_list {
/*		font-size: 12px;*/
		line-height: 1.9;
		margin-top: 7px;
		margin-bottom: 12px;
	}

	.subtitle {
		font-size: 0.82rem !important;
	}

	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer .logo,#footer .info{
/*	width:100%;*/
	float:none;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
	#footer


/*

	.footer_left {
		width: 35%;
		border: 1px solid #ccc;
	}

	.footer_right {
		width: 65%;
		border: 1px solid #ccc;
	}

	.footer_right img {
		height: 58%;
		padding-top: 10px;
		margin: 0 auto;
		text-align: center;
	}

	.footer_last {
	width: 98%;
	display: flex;
	text-align: center;
	border: 1px solid #ccc;
	height: auto;
	margin: 0 auto;
	}

*/




}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:3px;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.doinPreName {	font-size: 0.68rem;}
	.doinName {	font-size: 1.2rem;}
	.doinNameEng { font-size:0.68rem }

	.logo {margin-bottom: 3%; float: left;}
	.logo,.info{
		clear:both;
		width:100%;
		display: block;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

.top_image_area {

 width: 100%;
 height: 100%;
 margin-top: 5px;
 padding-left: 3px;
 padding-right: 3px;
}


  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
	.g_pic_img {
		max-width: 90px;
	}


	.footer_left {
		width: 30%;
/*		border: 1px solid #ccc;*/
		padding: 2px 5px;
	}

	.footer_right {
		width: 70%;
/*		border: 1px solid #ccc;*/
	}

	.footer_left img {
		height: 85%;
		padding-top: 15px;
		margin: 0 auto;
		text-align: center;
	}

	.footer_last {
	width: auto;
	display: flex;
	text-align: center;
/*	border: 1px solid #ccc;*/
	height: auto;
	margin: 0 auto;
	height: 210px;

	}

	.info-warning {
		margin-top: 6px;
		margin-bottom: 5px;
		font-size: 0.70rem;
	}



}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner, p{font-size:80%;}


#mainBanner{
	margin:7px auto 5px;
	padding:0;
	height: 168px;
}


	.top_image_area {

	 width: 100%;
	 height: 160px;
	 margin-top: 5px;
	 padding-left: 3px;
	 padding-right: 3px;
	}

	.swipe-img {
		padding: 2px 3px;
		height: 100%;

	}

	.subtitle {

		font-size: 0.70rem !important;
		line-height: 1.7;
		padding-bottom: 3px;
		padding-left: 8px;
		font-weight: bold;

	}

	img.shorinji-logo {width: 98px; height: 98px;}
	
	.logo_image {width: 100%;}
	.logo_title {font-size: 0.68rem; float: initial;}
	.doinName {font-size: 1.12rem;}
	.doinPreName {font-size: 0.8rem;}
	.doinNameEng { font-size:0.53rem }
	
	.logo_area {width: auto;}

	.info-warning {font-size: 0.70rem;}

	.footer_left {
		width: 30%;
/*		border: 1px solid #ccc;*/
	}

	.footer_right {
		width: 70%;
/*		border: 1px solid #ccc;*/
		padding: 2px 5px;
	}

	.footer_left img {
		height: 85%;
		padding-top: 15px;
		margin: 0 auto;
		text-align: center;
	}

	.footer_last {
	width: auto;
	display: flex;
	text-align: center;
/*	border: 1px solid #ccc;*/
	height: auto;
	margin: 0 auto;
	padding-top: 7px;
	height: 210px;
	}



}