@charset "UTF-8";
/* CSS Document */


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

   common（下層ページ共通）

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

header.is-sub {
  position: fixed;
  top: 0;
}

.page_wrap{
	padding-bottom: 10em;
}


.page_header{
	width: 100%;
	height: 25vh;
	margin-top: 55px;
	margin-bottom: 100px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: relative
}

.page_header:before{
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.3);
}

.page_header h2{
	font-weight: bold;
	font-size: 1.8em;
	letter-spacing: 1px;
	color:#fff;
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
	width: 95%;
	text-align: center;
	margin: 0 auto;
}

@media (min-width:1000px){
	.page_header{
		height: 35vh;
	}
	.page_header h2{
		font-size: 2em
	}
}

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

   header

------------------------------------*/
#page_about .page_header {
	background-image: url("../img/about/header_bg.jpg")
}

#page_grave .page_header {
	background-image: url("../img/grave/header_bg.jpg")
}

#page_event .page_header {
	background-image: url("../img/event/header_bg.jpg")
}

#page_access .page_header {
	background-image: url("../img/access/header_bg.jpg")
}

#page_news .page_header {
	background-image: url("../img/news/header_bg.jpg")
}

#page_contact .page_header,
#page_privacy .page_header,
#page_notfound .page_header{
	background-image: url("../img/contact/header_bg.jpg")
}


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

   about 全超寺について

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

#page_about .page_header {
	background-image: url("../img/about/header_bg.jpg")
}

/*  縁起・歴史のタイトルのフォント指定 */
.history_title {
	font-family: "Yuji Mai", serif;
	font-weight: 400;
	font-style: normal;
}

h3,
h4,
h5 {
	font-weight: normal;
}

.about-history {
	margin-top: 180px;
	position: relative;
	overflow: visible;
}

.about-history-wrap {
	width: 100%;
	writing-mode: vertical-rl;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1em 3em 4em 3em;
}

.about-history__title {
	font-size: 2.7em;
	position: relative;
	height: 100%;
}

.about-history__title.d-mobile {
	display: none;
}

.about-history-wrap h3 {
	font-weight: normal;
	line-height: 2;
	letter-spacing: 0.2em;
}

.about-history__title span {
	font-size: 1.7rem;
	position: relative;
	top: -1em;
	left: -1.5em;
}

.about-history-wrap p {
	margin: 0 2em auto 2em;
	line-height: 2.8;
}

.about-history-wrap::before,
.about-history-wrap::after {
	content: "";
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: -1;
	bottom: 0;
	opacity: 0.9;
}

.about-history-wrap::before {
	background-image: url("../img/about/about_illust1.png");
	width: 570px;
	height: 400px;
	right: 0;
}

.about-history-wrap::after {
	background-image: url("../img/about/about_illust2.png");
	width: 540px;
	height: 370px;
	left: 0;
}

.about-guide {
	align-items: center;
}

.about-guide__image {
	margin: auto;
	max-width: 1150px;
	height: auto;
	padding: 0 3em;
}

.about-guide__image img {
	width: 100%;
	height: auto;
	display: block;
}

.feature_row-item {
	gap: 50px;
	margin-top: 7em;
	justify-content: space-between;
}

.feature_row-item_img,
.feature_row-item_text {
	flex: 1;
	min-width: 0;
	margin: 0;
	position: relative;
}

.feature_row-item_text p {
	line-height: 2.6;
}

.feature_row-item_text p+p {
	margin-top: 2em;
}

.feature_row-item_img {
	display: grid;
	gap: 1em;
	padding-right: 0;
	margin-bottom: auto;
}

.feature_row-item_img>img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.item--with-bg {
	padding-right: 5em;
}

.item--with-bg::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
}

/* 中身の要素を前面に */
.item--with-bg>* {
	position: relative;
	z-index: 1;
}

.item--with-bg.item-bg--sanmon::after {
	width: 320px;
	height: 420px;
	background-image: url("../img/about/sanmon_illust.png");
	transform: translateY(30%);
}

.item--with-bg.item-bg--hondou::after {
	width: 440px;
	height: 310px;
	background-image: url("../img/about/houdou_illust.png");
	transform: translateY(20%);
}

.item--with-bg.item-bg--inaridou::after {
	width: 440px;
	height: 310px;
	background-image: url("../img/about/inaridou_illust.png");
	transform: translateY(30%);
}

.item-bg--inaridou {
	margin-bottom: 12em;
}

.item--triple {
	grid-template-columns: 1fr 1fr;
}

.item--triple>img:first-of-type {
	grid-column: 1 / -1;
	aspect-ratio: auto;
	object-fit: contain;
}

.item--triple>img:nth-of-type(n+2) {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.about-facilities hr {
	margin: 12em 0 8em;
	border-top: 1px solid #909090;
}

.item__inaridou {
	background-color: #ECE9F5;
	padding: 3em;
}

.item__inaridou h5 {
	font-size: 1.3em;
	margin-top: 0;
}

.item__inaridou p {
	font-size: .8em;
}

.about-facility-erxta {
	margin: 15em auto 400px;
}

.column-wrap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1em;
	align-items: stretch;
	margin-top: 8em;
}

.feature_column-item {
	display: flex;
	flex-direction: column;
	gap: 1em;
	height: 100%;
}

.feature_column-item_img,
.feature_column-item_text {
	flex: 1;
}

.feature_column-item_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width:1200px) {

	.about-history-wrap {
		writing-mode: horizontal-tb;
		display: flex;
	}

	.about-history__title {
		font-size: 2.7em;
		position: relative;
		height: 100%;
	}

	.about-history__title span {
		top: 1.6em;
		left: 0;
	}

	.about-history-wrap p {
		margin: 0 1em 2em 1em;
		line-height: 2.5;
	}

	.about-history-wrap::before {
		width: 300px;
		aspect-ratio: 57 / 40;
		right: 0;
		top: 7em;
	}

	.about-history-wrap::after {
		width: 300px;
		aspect-ratio: 54 / 37;
		right: 0;
		left: auto;
		bottom: 0;
	}

	.feature_row-item_text p {
		line-height: 2.5;
	}

	.item--with-bg {
		padding-right: 2em;
		padding-bottom: 300px;
	}

	.item__inaridou {
		padding: 2em;
	}

	.text-item__inaridou {
		padding: 2em;
	}

	.item--with-bg.item-bg--sanmon::after {
		transform: translateY(100%);
	}

	.item--with-bg.item-bg--hondou::after {
		transform: translateY(80%);
		right: auto;
		left: 0;
	}

	.item--with-bg.item-bg--inaridou::after {
		transform: translateY(80%);
		right: auto;
		left: 0;
	}

	.item-bg--inaridou {
		margin-bottom: 3em;
	}

}

@media screen and (max-width: 900px) {
	.column-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2em;
	}

	.item--with-bg {
		padding-right: 1em;
	}

	.item--with-bg.item-bg--sanmon::after {
		width: 250px;
		aspect-ratio: 57 / 40;
		transform: translateY(150%);
	}

	.item--with-bg.item-bg--hondou::after {
		width: 350px;
		aspect-ratio: 57 / 40;
		right: auto;
		left: 0;
		transform: translate(50% 50%);
	}

	.item--with-bg.item-bg--inaridou::after {
		width: 350px;
		aspect-ratio: 57 / 40;
		right: auto;
		left: 0;
		transform: translate(50% 75%);
	}
}

@media screen and (max-width: 667px) {
	.feature_row-item {
		flex-direction: column;
		padding-inline: 1em;
		box-sizing: border-box;
	}

	.about-history-wrap::after {
		content: none;
	}

	/* 左を非表示 */
	.about-history-wrap::before {
		width: 300px;
		height: 210px;
		aspect-ratio: 57 / 40;
		right: 0;
		top: auto;
		bottom: -9em;
	}

	.about-history-wrap {
		padding: 1em;
		margin: 0 auto 12em auto;
	}

	.about-history__title {
		font-size: 2em;
		position: relative;
		height: 100%;
	}

	.about-history__title span {
		top: 1em;
		left: 0;
	}

	.about-history-wrap p {
		margin: 0 0 2em 0;
		font-size: .9em;
		line-height: 1.8;
	}

	.about-guide__image {
		padding: 1em;
	}

	.feature_row-item_text p {
		line-height: 2;
	}

	.item--with-bg.item-bg--sanmon::after {
		width: 200px;
		aspect-ratio: 57 / 40;
		transform: translateY(120%);
	}

	.item-bg--inaridou {
		margin-bottom: 3em;
	}

	.column-wrap {
		grid-template-columns: 1fr;
		gap: 5em;
	}

	.item--triple {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.item--triple>img {
		grid-column: auto;
		width: 100%;
		aspect-ratio: 3 / 2;
		object-fit: cover;
		display: block;
	}

	.about-facilities hr {
		margin: 9em 0 6em;
	}

	.item--with-bg {
		padding-right: 0;
	}

	.item__inaridou {
		padding: 1em;
	}
}



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

   grave　お墓・永代供養

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




.title1--margin {
	padding-top: 3em;
}

.grave_content-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2em;
	flex-wrap: nowrap;
	padding-inline: 1em;
}

.grave_content-links>.btn_wrap {
	margin: 0;
	/* marginをリセット */
}

.feature_row-item {
	gap: 50px;
	margin-top: 7em;
}

.feature_row-item_img,
.feature_row-item_text {
	flex: 1;
	min-width: 0;
	margin: auto 0;
}

.feature_row-item_text p {
	line-height: 2.6;
}

.feature_row-item_text p+p {
	margin-top: 2em;
}

.feature_detail {
	background-color: #fff;
	border: 1px solid var(--bg-color);
	padding: 50px;
	gap: 50px;
	margin-top: 7em;
	justify-content: space-between;
}

.feature_detail_text,
.feature_detail_img {
	flex: 1;
	min-width: 0;
}


.feature_detail_text p {
	margin-bottom: 1em;
}

.feature_detail_text p+p {
	margin-top: 2em;
}

.feature_detail_text .highlight {
	background: linear-gradient(to right, var(--main-color), #9485CB);
	color: white;
	font-size: 1.5em;
	display: inline-block;
	padding: 0.2em 0.6em;
	margin: 0.4em 0;
}

ul.custom-circle {
	list-style: none;
	padding-left: 0;
	font-size: 1.2em;
	margin-bottom: 0.8em;
}

ul.custom-circle li::before {
	content: "〇";
	margin-right: 0.5em;
}

.feature_detail_text .small {
	font-size: 0.8em;
	margin: 1em 0;
}

.feature_detail_text hr {
	border: none;
	border-top: 1px solid #D3D3D3;
	margin: 2em auto;
}

.feature_detail_text h5 {
	font-size: 1.2em;
	font-weight: bold;
	color: #A8946C;
	margin: 0.8em 0;
}

.feature_detail_text h5>.small {
	color: black;
}

.price-row {
	display: flex;
	align-items: center;
	gap: .75em;
}

.price-row_label {
	font-size: 1.2em;
	margin-right: 0;
	white-space: nowrap;
}

.price-row_label-detail {
	font-size: 0.9em;
	margin-right: .75em;
	white-space: nowrap;
}

.price-row_line {
	flex: 1;
	border-bottom: 1px solid #D3D3D3;
	height: 0;
}

.price-row_price {
	font-size: 1.2em;
	margin-left: .75em;
	white-space: nowrap;
}

.feature_detail_img {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: auto 0;
	padding-right: 0;
}

.feature_detail_img img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-right: 0;
	margin-left: auto;
}

#page_grave hr {
	width: 90%;
	border: none;
	border-top: 1px solid #DBCBAB;
	margin-top: 7em;
}

@media screen and (max-width: 667px) {

	.grave_content-links,
	.feature_row-item,
	.feature_detail {
		flex-direction: column;
		padding-inline: 1em;
		box-sizing: border-box;
	}

	.feature_row-item_text p {
		line-height: 2;
	}

	.feature_detail_text {
		text-align: left;
		max-width: 100%;
	}

	.price-row {
		gap: .25em;
	}
}

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

   event　年間行事

------------------------------------*/
.event_pdf{
	background: var(--main-color);
	color: #fff;
	margin: 3em auto;
	padding: 1em;
}
.event_pdf .btn_wrap{
	margin-bottom: 0;
}

.event_month{
	margin-bottom: 8em;
}
.event_title{
	font-weight: bold;
	font-size: 2em;
	border-bottom: solid 2px var(--main-color);
	padding-bottom: .5em;
	margin-bottom: 1em;
}

.event_list .title2{
	margin-bottom: 0;
}


/*------------------------------------
　
   event sub　坐禅会・梅花講

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


#page_zazenkai .page_header {
	background-image: url("../img/zazenkai/header_bg.jpg")
}

#page_baikakou .page_header {
	background-image: url("../img/baikakou/header_bg.jpg")
}


.feature_row-item {
	gap: 50px;
	margin-top: 7em;
	justify-content: space-between;
}

.feature_row-item_img,
.feature_row-item_text {
	flex: 1;
	min-width: 0;
	margin: 0;
	position: relative;
}

.feature_row-item_text p {
	line-height: 2.6;
}

.feature_row-item_text p+p {
	margin-top: 2em;
}

.feature_row-item_img {
	display: grid;
	gap: 1em;
	padding-right: 0;
	margin-bottom: auto;
}

.feature_row-item_img>img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.feature_row-item_text--extra {
	width: 100%;

	& .item__table-title {
		font-size: 1.1em;
		color: var(--main-color);
		margin-top: 1em;
	}

	& .item__table-body {
		width: 100%;
		line-height: 2.6;
		text-align: left;
		font-size: 1em;
		margin-right: 2em;

		& td,
		& th {
			padding: 2em;
			border: 1px solid #707070;
		}

		& th {
			background-color: #ECE9F5;
			width: 8em;
		}

		& .small {
			font-size: 0.8em;
		}
	}
}

.event-table_margin {
	margin-top: 8em;
}

.item--triple {
	grid-template-columns: 1fr 1fr;
}

.item--triple>img:first-of-type {
	grid-column: 1 / -1;
	aspect-ratio: auto;
	object-fit: contain;
}

.item--triple>img:nth-of-type(n+2) {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.about-facilities hr {
	margin: 12em 0 8em;
	border-top: 1px solid #909090;
}

.text-item__inaridou {
	background-color: #ECE9F5;
	padding: 3em;
}

.text-item__inaridou h5 {
	font-size: 1.3em;
	margin-top: 0;
}

.text-item__inaridou p {
	font-size: .8em;
}

@media screen and (max-width:1200px) {
	.feature_row-item_text--extra {

		& .item__table-body {
			line-height: 1.7;

			& td,
			& th {
				padding: 1em;
			}
		}
	}

	.event-table_margin {
		margin-top: 6em;
	}
}

@media screen and (max-width: 800px) {
	.feature_row-item_text p {
		line-height: 2;
	}
}

@media screen and (max-width: 667px) {
	.feature_row-item {
		flex-direction: column;
		padding-inline: 1em;
		box-sizing: border-box;
	}

	.feature_row-item_text p {
		line-height: 1.8;
	}

	.item--triple {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.item--triple>img {
		grid-column: auto;
		width: 100%;
		aspect-ratio: 3 / 2;
		object-fit: cover;
		display: block;
	}

}


/*------------------------------------
　
   access　交通アクセス

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

#page_access .page_header{
	background-image: url("../img/access/header_bg.jpg")
}







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

   link　リンク集

------------------------------------*/
#page_link .page_header{
	background-image: url("../img/link/header_bg.jpg")
}

#link_wrap{
	margin: 8em auto;
}

.link_list_wrap{
	background: #fff;
	border: solid 1px var(--bg-color);
	padding: 1em;
	width: 100%;
}

.link_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border-bottom: solid 1px #ccc;
	padding: 1em .5em;
	gap:.5em;
}


.link_list h4{
	font-size: 1em;
	margin: 0;
	letter-spacing: 1px;
}
.link_list a{
	color: var(--main-color);
}
.link_list a:hover{
	text-decoration: underline;
}
@media (max-width:767px){
	.link_list > *{
		width: 100%;
	}
}
@media (min-width:768px){
	.link_list_wrap{
		padding: 2em;
	}
	.link_list > *{
		flex:1 2
	}
}



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

   privacy　個人情報保護方針

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

#privacy > p{
	margin-bottom: 2em;
}

.privacy_wrap dl{
	border-bottom: solid 1px #ccc;
	padding: 1em 0 2em;
	margin-bottom: 2em;
}

.privacy_wrap dd p{
	font-size: 1em;
	font-weight: 400;
	line-height: 2;
	margin-bottom: 1em
}

.privacy_wrap ul,
.privacy_wrap ol{
	margin: 1em auto;
	padding-left: 2em
}
.privacy_wrap li{
	list-style: disc;
	margin-bottom: .5em
}
.privacy_wrap ol li{
	list-style: decimal
}



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

   404 　Not Found

------------------------------------*/
#notf .wrap{
	padding: 3em 0
}
#notf .wrap h2{
	margin-bottom: 1em;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.6
}

#notf a{
	margin-top: 2em
}
#notf a:after{
	display: none!important
}



