@charset "UTF-8";


/*******************************
 
topCss
 
*******************************/
header{
}

.wrap-mainImg .mainImg_item img{
	width: 100%;
}

section {
	margin-bottom: 40px;
    padding: 60px 0 40px;
}

section h3{
	display: block;
	text-align: center;
	font-weight: bold;
	color: #938328;
	letter-spacing: .1em;
	margin: 0 0 50px;
}
section h3 span{
	display:block;
	margin: 0 0 10px;
}

@media screen and (max-width: 767px) {
	section{
		padding: 30px 0;
		margin-bottom: 30px;
	}
	section h2 img{
		max-height: 26px;
		width: auto;
	}
	section.box_works h2 img,
	section.media h2 img,
	section.blog h2 img{
		max-height: none;
	}
	
	
	section h3{
		font-size: 22px;
		line-height: 1.5;
		letter-spacing: 0;
		margin: 0 0 30px;
	}
	section ul li{
		margin: 0 auto 20px;
	}
	section .btn{
		width: 100%;
		margin-top: 20px;
		padding: 14px;
	}
	
	
}

/*-----------------------------
安心信頼のやまきのお墓
-------------------------------*/
.about h2{
	height: 400px;
	background: url(../images/top/about_ttl_top@2x.png) no-repeat center top;
	background-size: 97px auto;
}
.about ul li{
	margin-bottom: 40px;
}

.col-md-4n {
    float: left;
	width: 25%;
}

.about ul li a:hover .btn_more{
	opacity: .6;
}
.about ul li p{
	margin: 15px 0;
}
.about .btn_more{
	display: inline-block;
	padding: 10px 40px;
	border-radius: 22px;
	color: #fff;
	transition: all 300ms 0s ease;
}

@media screen and (max-width: 767px) {
	.about h2{
		max-width: 434px;
		height: 26px;
		background: url(../images/common/about_ttl@2x.png) no-repeat center top;
		background-size: contain;
		margin: 0 auto 20px;
	}
	.col-md-4n {
    float: none;
	width: 100%;
	}
}


/*-----------------------------
おすすめ定額プラン
-------------------------------*/
.plan h2{
	margin-bottom: 50px;
}
.plan .txt_intro{
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.8;
}
.plan .list_plan{
	margin-bottom: 30px;
}
.plan .list_plan li{
	margin-bottom: 20px;
}
.plan .list_plan li a{
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	padding: 15px 30px; 
}
.plan .list_plan li a:hover{
	background: #fffcf5;
}
.plan .list_plan li a:before{
	content: "";
	display: block;
	width: 12px;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #6d7c9e;
}
.plan .list_plan li.item02 a:before{ background: #e07c7e; }
.plan .list_plan li.item03 a:before{ background: #9e6d9e; }
.plan .list_plan li.item04 a:before{ background: #67b9c8; }
.plan .list_plan li.item05 a:before{ background: #7bb596; }
.plan .list_plan li.item06 a:before{ background: #ae997e; }
.plan .list_plan li a span{
	display: block;
	font-weight: bold;
	color: #6d7c9e;
	margin-bottom: 15px;
}
.plan .list_plan li.item02 a span{ color: #e07c7e; }
.plan .list_plan li.item03 a span{ color: #9e6d9e; }
.plan .list_plan li.item04 a span{ color: #67b9c8; }
.plan .list_plan li.item05 a span{ color: #7bb596; }
.plan .list_plan li.item06 a span{ color: #ae997e; }

@media screen and (max-width: 767px) {
	.plan{
		padding-bottom: 30px;
	}
	.plan h2 {
		margin-bottom: 30px;
	}
	.plan .txt_intro{
		text-align: left;
	}
	.plan .list_plan{
		margin-bottom: 0;
	}
}



/*-----------------------------
便利サービス
-------------------------------*/
.service .list_service{
	max-width: 800px;
	margin: 40px auto 0;
}
.service .list_service li{
	background: #fff;
	border-radius: 44px;
	margin-bottom: 35px;
}
.service .list_service li a{
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}
.service .list_service li a:hover{
	opacity: .6;
}
.service .list_service li a:before{
	content: "";
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #fff;
	background-image: url(../images/top/service_ico01.png);
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: solid 3px #7bb596;
	margin-right: 20px;
}
.service .list_service li a.ico_02:before{ background-image: url(../images/top/service_ico02.png);}
.service .list_service li a.ico_03:before{ background-image: url(../images/top/service_ico03.png);}
.service .list_service li a.ico_04:before{ background-image: url(../images/top/service_ico04.png);}
.service .list_service li a.ico_05:before{ background-image: url(../images/top/service_ico05.png);}

.service .list_service li a:before,
.service .list_service li .ttl{
	display: inline-block;
	vertical-align: middle;
}
.service .list_service li .ttl{
	font-size: 30px;
	font-weight: bold;
	color: #000;
}
.service .list_service li .ttl span{
	font-size: 22px;
	color: #7bb596;
	margin-right: 10px;
}
.service .list_service li a:after{
	content: "";
    display: block;
    width: 43px;
    height: 33px;
    background: url(../images/common/sprite_ico@2x.png) no-repeat;
    background-position: -43px -93px;
    background-size: 246px auto;
	position: absolute;
	top: 26px;
	right: 30px;
}
@media screen and (max-width: 767px) {
	.service .list_service li{
		border-radius: 10px;
		border: solid 3px #7bb596;
		margin-bottom: 15px;
	}
	.service .list_service li a {
		padding: 5px 46px 5px 5px;
	}
	.service .list_service li a:before{
		width: 20%;
		height: 40px;
		border: none;
		margin: 0 8px 0 0;
		background-size: contain;
		border-radius: 0;
	}
	.service .list_service li .ttl {
		width: 75%;
		font-size: 20px;
	}
	.service .list_service li .ttl span{
		font-size: 14px;
		display: block;
	}
	.service .list_service li a:after {
		width: 36px;
		height: 27px;
		background-position: -33px -74px;
		background-size: 196px auto;
		top: 0;
		bottom: 0;
		right: 10px;
		margin: auto;
	}
}

/*-----------------------------
施工日誌
-------------------------------*/
.box_works h2{
	margin: 0 0 -20px 20px;
}





/*-----------------------------
メディア掲載・つれづれ道
-------------------------------*/
.news h2{
	margin-bottom: 0;
}
.news .list_news{
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}
.news .list_news ul{
	padding: 25px 25px 50px;
}
.news .list_news .item{
	border-bottom: dotted 2px #999999;
	margin-bottom: 20px;
	padding-bottom: 20px;
	overflow: hidden;
}
.news .list_news .item .photo,
.news .list_news .item .txt{
	width: 45%;
	float: left;
}
.news .list_news .item .txt{
	width: 55%;
}

.media h2{
	/*margin: ;*/
}
.blog h2{
	margin: -6px 0 0 20px;
}

.news .list_news .btn{
	border-radius: 0;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
}
@media screen and (max-width: 767px) {
	.news .list_news .item .photo{
		width: 40%;
	}
	.news .list_news .item .txt{
		width: 55%;
		margin-left: 3%;
	}
	.news .list_news .btn{
		max-width: none;
	}
}


/*-----------------------------
お墓通信バナー
-------------------------------*/
.bnt_info{
	position: relative;
	margin-bottom: 50px;
}
.bnt_info a {
	overflow: hidden;
	display: block;
	width: 100%;
	border: solid 3px #9e6d9e;
	background: url(../images/top/bnr_bg02.jpg);
	padding: 10px;
}
.bnt_info a:hover{
	opacity: .6;
}
.bnt_info h2{
	margin-bottom: 0;
}
.bnt_info h2:before{
	content: url(../images/top/bnr_info_ico_pc.png);
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
}
.bnt_info p{
	margin-top: 10px;
}
.bnt_info a:after{
	content: url(../images/top/bnr_info_txt02.png);
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	line-height: 0;
}


@media screen and (max-width: 767px) {
	.bnt_info h2{
		text-align: center;
	}
	.bnt_info h2:before{
		content:"";
		display: block;
		width: 94px;
		height: 30px;
		background: url(../images/top/bnr_info_ico_sp.png) no-repeat;
		background-size: contain;
		margin: 0 auto 6px;
	}
	.bnt_info a:after{
		display: none;
	}
	
}



/*-----------------------------
インスタグラム
-------------------------------*/
.box_insta {
	margin-bottom: 80px;
	padding: 80px 0 0;
}
.list_insta{
	overflow: hidden;
	margin: 30px -10px 50px 0;
}
.list_insta figure{
	width: 25%;
	max-width: 190px;
	float: left;
	position: relative;
	margin: 0 9px 9px 0;
}
.list_insta figure figcaption{
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(92,57,92,0.7);
    color: #fff;
    font-size: 12px;
    padding: 20px;
	opacity: 0;
	transition: all 300ms 0s ease;
}
.list_insta figure:hover figcaption,
.list_insta figure:active figcaption{
	opacity: 1;
}
.box_insta .btn{
	max-width: none;
	width: auto;
}


@media screen and (max-width: 767px) {
	.box_insta {
		padding: 50px 0 0;
	}
	.list_insta {
		overflow: hidden;
		margin: 30px 0;
	}
	.list_insta figure {
		width: 50%;
		max-width: none;
		margin: 0;
		display: none;
	}
	.list_insta figure img{
		width: 100%;
		height: auto;
	}
	.list_insta figure:nth-child(1),
	.list_insta figure:nth-child(2),
	.list_insta figure:nth-child(3),
	.list_insta figure:nth-child(4){
		display: block;
	}
	
}




