.hed_page_img {
  background-image: url(../img/about_fv.jpg);
  filter: brightness(0.8);
}

.about_main {
	&::before {
		content: "";
		display: block;
		position: fixed;
		background-image: url(../img/about_main_bgimg.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		width: 100%;
		height: 100vh;
		top: 0;
		left: 0;
		opacity: 0.9;
		z-index: -10;
	}
}

/*  ■セクション　*/
/*  妙経寺についての冒頭　*/
.about_header_flex {
	max-width: 128rem;
	width: 100%;
	display: flex;
	position: relative;
	padding-top: 10.5rem;
}

.about_header_flex::before {
	content: ''; 
	position: absolute;
	top: 3rem;
	left: 0rem;
	max-width: 30.7rem;
	width: 100%;
	height: 36.7rem;
	background: url('../img/about_kinpuu.png') center / cover no-repeat;
	z-index: -2; 
}

.about_header_title {
	max-width: 14.8rem;
	width: 100%;
	padding: 3.5rem 3rem 0 0;
	writing-mode: vertical-rl; /* 縦書き右から左 */
	color: #333333;
	font-size: 3.0rem;
	font-family: var(--ZenMincho);
	font-weight: 700;
	line-height:calc(39 / 30);
	text-shadow: 0rem 0.2rem 0.1rem #00000029;
}

.about_header_textbox {
	max-width: 113.2rem;
	width: 113.2rem;
	min-height: 52.8rem;
	background-image: url('../img/about_summary_bg.png'); 
	background-size: cover; 
	background-position: center; 
	padding: 8.1rem 14.5rem 9.6rem 16.3rem;
	position: relative;
	font-size: 1.8rem;
	font-family: var(--ZenMincho);
	font-weight: 700;
	line-height:calc(35 / 18);
}

.about_vertical-line {
	position: absolute;
	top: 9rem;
	left: 14rem;
	width: 0.1rem; 
	height: 37.0rem; 
	background-color: #989898;
}


/*  ■セクション　*/
/*  画像ギャラリー　*/
.about_gallery_container {
	max-width: 128rem;
	margin: 5rem auto 0;
	display: flex;
	justify-content: center;
}

.about_gallery_flex {
	max-width: 114.1rem;
	display: flex;
	flex-wrap: wrap;
	list-style:none;
	column-gap: 3.3rem;
	row-gap: 3.3rem;
}

.about_gallery_image {
	max-width: 55.4rem;
	width: 100%;
	height: 32.9rem;
}


/*  ■セクション　*/
/*  お題目　*/
.about_theme_erea {
	margin: 0 auto;
	max-width: 110.8rem;
	width: 100%;
	text-align: center;
	margin-top: 6.4rem;
	margin-bottom: 16.3rem;
}

.about_theme_title {
	display: flex;
	align-items: center;
  justify-content: space-between;
}

.about_theme_label {
	height: 13.2rem;
	display: block;
	writing-mode: vertical-rl; 
	font-size: 3rem;
	font-family: var(--ZenMincho);
	font-weight: 700;
	color: #333333;
	margin: 0 2rem;
	letter-spacing: 0.9rem;
  text-shadow: 0rem 0.2rem 0.1rem #00000029;
}

.about_titleline {
	max-width: 51.6rem;
	flex-grow: 1; /* 左右に均等に広げる */
	height: 0.1rem;
	background-color: #8AA357; 
}

.about_theme_flex {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding: 0;
	max-width: 118.0rem;
	width: 100%;
}

.about_theme_imagebox {
	width: 50%;
	position: relative; 
	display: inline-block;
}

.about_theme_imagebox::before {
	content: ''; 
	position: absolute;
	bottom: -4rem;
	left: 8rem;
	max-width: 34.6rem;
	width: 100%;
	height: 30.1rem;
	background: url('../img/about_theme_bgimg.png') center / cover no-repeat;
	z-index: -2; 
}

.about_theme_image {
	max-width: 32.6rem;
	width: 100%;
	height: 49.4rem;
	margin-left: 5rem;
}

.about_theme_textbox {
	max-width: 55.4rem;
	width: 50%;
	font-size: 1.8rem;
	font-family: var(--ZenMincho);
	font-weight: 700;
	color: #333333;
	line-height:calc(35 / 18);
	text-align: left;
	margin-top: 2rem;
}


/*  ■セクション　*/
/*  御朱印　*/
.about_stamp_erea {
	margin-top: 12rem;
}

.about_stamp_2ndflex {
	max-width: 110.8rem;
	margin-top: 4.5rem;
}

.about_stamp_2ndimgbox {
	max-width: 55.4rem;
	width: 100%;
	height: 33.7rem;
	margin-top: 1.5rem;
}

.about_stamp_2ndtextbox {
	max-width: 50.0rem;
}



/* ----------------------------------- */
/* レスポンシブ　700以下 */
@media screen and (max-width: 699.98px) {

  .hed_page_img {
    background-position: center;
  }

	/*  妙経寺についての冒頭　*/
	.about_header_flex {
		max-width: 37.5rem;
		margin-top: 4rem;
		padding-top: 0;
	}

	.about_header_flex::before {
		content: ''; 
		position: absolute;
		top: -4.7rem;
		left: 0rem;
		max-width: 14.0rem;
		width: 100%;
		height: 16.7rem;
		background: url('../img/about_kinpuu_sp.png') center / cover no-repeat;
		z-index: -1; 
	}


	.about_header_title {
		max-width: 6.7rem;
		padding: 1rem 2rem 0 0;
		font-size: 2.5rem;
		line-height: calc(34 / 25);
		letter-spacing: 0.1rem;
	}

	.about_header_textbox {
		max-width: 30.8rem;
		width: 30.8rem;
		padding: 2.9rem 1.8rem 1.7rem 2.76rem;
		font-size: 1.6rem;
		line-height:calc(35 / 16);
	}

	.about_vertical-line {
		top: 3rem;
		left: 1.8rem;
		height: 48.2rem;
	}

	/*  画像ギャラリー　*/
	.about_gallery_container {
		max-width: 33.5rem;
		margin: 4rem auto 0 auto;
		padding: 0;
	}

	.about_gallery_flex {
		row-gap: 2rem;
	}

	.about_gallery_image {
		max-width: 33.5rem;
		width: 100%;
		height: 19.9rem;
	}

	/*  お題目　*/
	.about_theme_erea {
		max-width: 100%;
		margin-top: 3.5rem;
    margin-bottom: 8.6rem;
	}

	.about_theme_title {
		max-width: 33.5rem;
		margin: 0 auto;
	}

	.about_titleline {
		max-width: 14.8rem;
	}

	.about_theme_label {
		font-size: 1.8rem;
		margin: 0 1.1rem;
		letter-spacing: 0.8rem;
	}

	.about_theme_flex {
		display: block;
		max-width: 100%;
		margin-top: 1.4rem;
	}

	.about_theme_imagebox {
		width: 37.5rem;
	}

	.about_theme_imagebox::before {
		max-width: 17.8rem;
		height: 15.5rem;
		bottom: -1rem;
		left: 7rem;
	}

	.about_theme_image {
		max-width: 17.3rem;
		width: 100%;
		height: 26.2rem;
		margin-left: 0rem;
	}

	.about_theme_textbox {
		max-width: 33.5rem;
		width: 100%;
		margin: 2.5rem auto 0 auto;
		font-size: 1.6rem;
		line-height: calc(35 / 16);
	}

	/*  御朱印　*/
	.about_stamp_erea {
		height: auto;
		margin: 7.5rem 0 10rem 0;
	}

	.about_stamp_2ndflex {
		margin-top: 4rem;
	}

	.about_stamp_2ndimgbox {
		margin: 0 auto;
		max-width: 33.5rem;
		height: 20.4rem;
	}

	.about_theme_2ndimage {
		max-width: 33.5rem;
		width: 100%;
		height: 20.4rem;
	}

}
