@charset "utf-8";

/* clearfix */
.cf{
	zoom: 1;
}
.cf:before, .cf:after{
	content: "";
	display: table;
}
.cf:after{
	clear: both;
}

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
全デバイス共通のスタイルとスマートフォンおよび小型タブレット向けレイアウトの指定
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/*==================================================
body
====================================================*/

body{
	width: 100%;
	background-color: #fff;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000;
	font-size: 16px;
}

a{
	color: #000;
	text-decoration: underline;
}

a:hover{
	color: #000;
	text-decoration: underline;
}

img{
	vertical-align: middle;
}

.marker{
	color: #559c94;
}

.marker2{
	color: #ffffff;
}

.blue{
	color: #202c9e;
}

.red{
	color: #ff0000;
}

.bold{
	font-weight: bold;
}

.kaig{
	display: none;
}

/*==================================================
header
====================================================*/
header{
	background: url(../img/header_bg2.jpg) left bottom no-repeat;
	background-size: contain;
}

header #headerlogo{
	margin-bottom: 5px;
	margin-left: 10px;
}

header #headerlogo .txt{
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.5;
	margin-bottom: 1px;
}

header #headerbut{
	display: flex;
	padding: 10px;
	line-height: 1.5;
	max-width: 405px;
	margin: 0 auto;
}

header #headerbut p{
	width: 46%;
	max-width: 180px;
	text-align: center;
	border: double 3px #ffffff;
}

header #headerbut p a{
	display: block;
	width: 90%;
	text-decoration: none;
	font-weight: bold;
	color: #ffffff;
	padding: 5%;
}

header #headerbut .jizen{
	background: linear-gradient(to bottom right, #0066c5, #202c9e);
	margin-right: 15px;
}

header #headerbut .isogi{
	background: linear-gradient(to bottom right, #559c94, #276981);
}

header #headerbut .jizen a{
	background: url(../img/headerbut_bg1.png) left bottom no-repeat;
}

header #headerbut .isogi a{
	background: url(../img/headerbut_bg2.png) right bottom no-repeat;
}

header #headertel{
	line-height: 1.5;
	padding: 10px;
	text-align: center;
	text-shadow: 0px 0px 1px #fff,0px 0px 2px #fff,0px 0px 3px #fff,0px 0px 4px #fff,0px 0px 5px #fff,0px 0px 6px #fff;
}

header #headertel .txt span{
	color: #202c9e;
	font-weight: bold;
}

header #headertel .tel a{
	color: #3e827a;
	font-size: 22px;
	font-weight: bold;
}

#menu_pc{
	display: none;
}

/*==================================================
topimg
====================================================*/
#topimg_mb{
	position: relative;
}

#topimg_mb ul li img{
	width: 100%;
	max-width: 770px;
}

#topimg_mb .top_banner{
	background: linear-gradient(to bottom right, #559c94, #276981);
	padding: 15px;
}

#topimg_mb .top_banner li{
	list-style-type: none;
	margin-bottom: 15px;
	border: solid 2px #276981;
}

#topimg_mb p{
	position: absolute;
	top: 24%;
	left: 0;
	transform: translateY(-76%);
	z-index: 10;
}

#topimg_mb p img{
	width: 100%;
	max-width: 770px;
}

#topimg_pc{
	display: none;
}

/*==================================================
top_map
====================================================*/
#top_map{
	margin-top: 60px;
	margin-left: 5%;
	margin-right: 5%;
	margin-bottom: 60px;
}

#top_map h2{
	margin-bottom: 15px;
	text-align: center;
}

#top_map p{
	line-height: 1.5;
	margin-bottom: 15px;
}

#top_map h2 img{
	max-width: 100%;
}

#top_map iframe{
	width: 100%;
}

.habataku{
	max-width: 340px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

.habataku img{
	max-width: 100%;
}

/*20240509追加*/
.kuyou{
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	margin-top: 50px;
}

.kuyou img{
	max-width: 100%;
}
/**/

.shouhinken{
	width: calc(90% - 40px);
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
	border: solid 2px #cccccc;
	padding: 20px;
	margin-bottom: 3rem;
	max-width: 1000px;
}

.shouhinken h4{
	margin-bottom: 1rem;
}

.shouhinken ul{
	margin-left: 25px;
}

.shouhinken ul li{
	margin-bottom: 1rem;
}

.shouhinken p{
	margin-top: 1rem;
}

/*==================================================
footnav
====================================================*/
#footnav{
	line-height: 1.5;
	margin-bottom: 10px;
}

#footnav ul li{
	list-style-type: none;
	margin-left: 15px;
}

/*==================================================
footer
====================================================*/
footer{
	background: linear-gradient(to bottom right, #559c94, #276981);
	padding-top: 30px;
	padding-bottom: 90px;
}

footer .footlogo{
	margin-bottom: 15px;
	margin-left: 5%;
	margin-right: 5%;
}

footer .footlogo img{
	max-width: 100%;
}

footer #foot_bx{
	background: url(../img/footer_bg.png) 10px bottom no-repeat;
	background-size: contain;
}

footer #address_bx{
	line-height: 1.5;
	margin: 5%;
}

footer #address_bx .address{
	margin-bottom: 30px;
}

footer .address .name{
	color: #ffffff;
	font-weight: bold;
}

footer .blog a{
	display: block;
	margin: 5%;
	border: double 3px #ffffff;
}

footer .blog img{
	max-width: 100%;
}

footer .sitelink{
	line-height: 1.5;
	padding: 5px;
	border: solid 1px #559c94;
	margin-top: 5px;
}

footer .sitelink a{
	display: block;
	width: 96%;
	background: linear-gradient(to bottom right, #0066c5, #202c9e);
	color: #ffffff;
	text-decoration: none;
	border-radius: 3px;
	text-align: center;
	padding: 2%;
	margin-top: 5px;
}

footer #cor{
	background: #ffffff;
	padding: 5px;
	line-height: 1.5;
}

#foot_link{
	position: fixed;
	z-index: 10000;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: #ffffff;
	height: 60px;
	padding-top: 20px;
}

#foot_link ul{
	display: flex;
	width: 100%;
}

#foot_link ul li{
	text-align: center;
	width: 50%;
}

#foot_link ul li a{
	text-decoration: none;
	font-size: 12px;
	color: #559c94;
}

#foot_link ul li.tel{
	border-right: dotted 1px #559c94;
}

#foot_link ul li.tel a img{
	width: 20px;
}

#foot_link ul li.mail a img{
	width: 30px;
	padding-top: 5px;
}



/*==================================================
pagetop
====================================================*/

.pagetop {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 15px;
	z-index: 10001;
}
.pagetop a {
    display: block;
    /*background-color: #ccc;*/
    text-align: center;
    color: #222;
    font-size: 24px;
    text-decoration: none;
}
 
.pagetop a:hover {
    display: block;
    /*background-color: #1b608c;*/
    text-align: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

/*==================================================
eminfo
====================================================*/

.eminfo{
	border: solid 2px #ff0000;
	margin: 45px auto 15px auto;
	padding: 30px;
	line-height: 1.5;
	width: calc(100% - 90px);
	max-width: 1040px;
}

.eminfo ul{
	margin-left: 25px;
}

.eminfo ul li{
	margin-bottom: 15px;
}

.eminfo h2{
	font-size: 18px;
	background: none;
	margin-bottom: 15px;
}

.eminfo .pho{
	display: flex;
	border-top: dotted 1px #cccccc;
	margin-top: 15px;
	padding-top: 15px;
	padding-bottom: 10px;
}

.eminfo .pho p{
	width: 50%;
}

.eminfo .pho img{
	max-width: 100%;
}

/*==================================================
newstopic
====================================================*/
.newstopic{
	border: solid 2px #cccccc;
	margin: 45px auto 15px auto;
	padding: 30px;
	line-height: 1.5;
	width: calc(100% - 90px);
	max-width: 1040px;
}

.newstopic .pho img{
	max-width: 100%;
}

.newstopic .txt{
	margin-top: 2rem;
}

.newstopic .txt p{
	margin-bottom: 1rem;
}

.newstopic .txt p:last-child{
	margin-bottom: 0;
}



/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
メディアクエリによる切り替え
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/* PC向けおよび大型タブレット向けのレイアウトの指定：769px～1340px */
@media only screen and (min-width: 769px){
	

	
	/* header */
	
	#header_bx{
		position: absolute;
		top: 0; 
		left: 0;
		z-index: 100;
		width: 100%;
		background: #ffffff;
	}
	
	header{
		background: url(../img/menu_bg3.jpg) right bottom no-repeat;
	}
	
	header #headerlogo{
		float: left;
		width: 240px;
	}
	
	header .headerbutel{
		float: right;
		width: 500px;
	}
	
	header #headerbut{
		width: 280px;
		float: left;
		justify-content: space-between;
	}
	
	header #headertel{
		float: right;
		width: 180px;
	}
	
	/* menu */
	
	#menu{
		display: none;
	}
	
	#menu_pc{
		display: block;
		background: url(../img/menu_bg2.jpg) left top repeat-x;
	}
	
	#menu_pc nav{
		background: url(../img/menu_bg4.png) right top no-repeat;
	}
	
	#menu_pc ul{
		display: flex;
		text-align: center;
	}
	
	#menu_pc ul li.moji3{
		width: 10%;
	}
	
	#menu_pc ul li.moji4{
		width: 13.5%;
	}
	
	#menu_pc ul li.moji5{
		width: 14%;
	}
	
	#menu_pc ul li.moji8{
		width: 18%;
	}
	
	#menu_pc ul li a{
		display: block;
		width: 100%;
		color: #ffffff;
		text-decoration: none;
		height: 50px;
		line-height: 3.4;
	}
	
	#menu_pc ul li a:hover{
		background-color: rgba(255,255,255,0.1);
	}
	
	/* topimg */
	#topimg_mb{
		display: none;
	}
	
	#topimg_pc{
		display: block;
		height: 100vh;
		position: relative;
	}
	
	#topimg_pc .top_banner{
		display: flex;
		justify-content: space-between;
		position: absolute;
		bottom: 30px;
		left: 50%;
		transform: translateX(-50%);
		width: 80%;
	}
	
	#topimg_pc .top_banner li{
		list-style-type: none;
		width: 30%;
		border: double 3px #276981;
	}
	
	#topimg_pc .top_banner li img{
		max-width: 100%;
	}
	
	#topimg_pc p{
		position: absolute;
		top: 48%;
		transform: translateY(-52%);
		width: 100%;
		text-align: center;
	}
	
	#topimg_pc p img{
		max-width: 100%;
	}
	
	/* footnav */
	#footnav ul li{
		float: left;
	}
	
	/* footer */
	footer{
		padding-bottom: 0;
	}

	footer .footlogo{
		margin-left: 2%;
	}
	
	footer #foot_bx{
		display: flex;
		justify-content: space-between;
	}
	
	footer #foot_bx #address_bx{
		width: 70%;
		margin: 2%;
	}
	
	footer #foot_bx .blog{
		width: 30%;
		max-width: 200px;
		margin-right: 2%;
	}
	
	footer #foot_bx #address_bx{
		display: flex;
		justify-content: start;
		flex-wrap: wrap;
	}
	
	footer #foot_bx #address_bx .address{
		width: 48%;
	}
	
	footer #foot_bx #address_bx .address:nth-child(odd){
		margin-right: 4%;
	}
	
	footer .sitelink{
		display: flex;
		justify-content: space-between;
	}
	
	footer .sitelink span{
		display: block;
		width: 70%;
		margin-top: 1%;
	}
	
	footer .sitelink a{
		display: block;
		width: 28%;
		padding: 1%;
		margin-top: 0;
		max-width: 200px;
	}
	
	footer #cor{
		text-align: center;
	}

	#foot_link{
		display: none;
	}

	.pagetop{
		bottom: 15px
	}

	/* newstopic */
	.newstopic{
		display: flex;
		justify-content: space-between;
	}

	.newstopic .pho{
		width: 30%;
	}

	.newstopic .txt{
		width: 67%;
	}
/*20230406追加*/
	.banner {
    width: 700px;
    margin: auto;
  }

  .banner p {
    max-width: inherit;
  }
  .banner p.habataku {
    width: 55%;
	max-width: 370px;
    float: left;
    margin-top: 0;
  }
  .banner p.saiyo {
    width: 43.5%;
    float: right;
    margin-top: 17px;
    margin-bottom: 0;
}

/*20241211追加*/
.banner2 {
    width: 980px;
    margin: auto;
  }

  .banner2 p {
    max-width: inherit;
  }
  .banner2 p.voiceA {
    width: 50%;
    float: left;
    margin-top: 0;
  }
  .banner2 p.voiceB {
    width: 50%;
    float: right;
    margin-top: 0;
}
 .banner2 p.jizensodanA {
    width: 69%;
    float: left;
    margin-top: 0;
  }
  .banner2 p.jizensodanB {
    width: 31%;
    float: right;
    margin-top: 0;
	  margin-right: 7%;
}
	.subttl{
		font-size: 1.5em;
		font-weight: 600;
		letter-spacing: 5px;
	}

}

/* PC向けレイアウトの指定：1341px以上では固定レイアウト */
@media only screen and (min-width: 1341px){
	
	body{
		font-size: 14px;
	}
	
	.kaig{
		display: inline;
	}
	
	header{
		padding-bottom: 5px;
	}
	
	header .headerbutel{
		width: 680px;
	}
	
	header #headerbut{
		padding: 0;
	}
	
	header #headerbut .jizen, header #headerbut .isogi{
		border-top: none;
	}
	
	header #headertel{
		padding: 15px 0 0 0;
		width: 390px;
	}
	
	header #headertel .txt{
		float: left;
		width: 180px;
	}
	
	header #headertel .tel{
		float: left;
		width: 170px;
		padding-top: 5px;
	}
	
	/* menu */

	#menu_pc ul{
		width: 1300px;
		margin: 0 auto;
	}
	
	#menu_pc ul li a{
		line-height: 3.5;
	}

	/* footer */
	footer #foot_bx #address_bx{
		width: 80%;
	}
	
	footer #foot_bx .blog{
		width: 20%;
	}

	footer #foot_bx #address_bx .address{
		width: 23%;
		margin-right: 1.5%;
	}

	footer #foot_bx #address_bx .address:nth-child(odd){
		margin-right: 1.5%;
	}
	
	footer #foot_bx #address_bx .honsya{
		border-right: solid 1px #559c94;
	}
/*20230406追加
	.banner p.saiyo {
    margin-top: 68px;
}
*/
}


/*20230406追加*/
.banner p {
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}
.banner img{
	max-width: 100%;
}
/*20241211追加*/
.banner2 p {
	max-width: 450px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}
.banner2 img{
	max-width: 100%;
}

/*20250519追加　人形供養チラシ*/
.banner3 p {
	max-width: 970px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 30px;
	padding-left: 0;
	padding-right: 0;
}
.banner3 img{
	max-width: 100%;
}
@media (max-width: 768px) {
  .banner3 img {
    object-fit: contain; /* 親要素に収めつつアスペクト比を維持 */
    width: 98%; /* 画像が親要素を超えないように */
    padding-left: 1%; /* 左の余白 */
    padding-right: 1%; /* 右の余白 */
  }
}
/* iPad向け：768px〜1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .banner3 {
    padding-left: 40px;  /* 左に多めの余白 */
    padding-right: 40px; /* 右に多めの余白 */
    text-align: center;  /* 画像を中央寄せ */
  }

  .banner3 img {
    display: inline-block; /* 中央寄せを適用するために必要 */
    width: 100%;           /* もしくは必要に応じて max-width: 600px; 等に制限 */
    height: auto;
    object-fit: contain;   /* 画像の切れを防ぐ */
  }
}
