@charset "utf-8";
/* CSS Document */
/*
Theme Name: 別府八幡宮
*/
/* この下に通常のcssを書いていく */
@charset "utf-8";
/* CSS Document */
body{
	font-family: 'Noto Sans JP', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	font-size:17px;
	margin: 0;
	line-height:1.7;
}
/* SP_css */
@media screen and (min-width:320px) {
/* 共通 */
	main {
		display: flex;
		flex-direction: column;
	}
	.section_main {
		display: flex;
		flex-direction: column;
		gap: 50px;
	}
	.toukou_box {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 50px;
	}
	.toukou_box_title {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 80%;
		max-width:800px;
		margin:0 10%;
	}
	a {
		text-decoration: none;
	}
	ul{
		padding: 0;
	}
	li {
		list-style: none;
	}
	p {
		margin: 0;
		max-width:760px;
	}
	h2 {
		font-size: 26px;
	}
	h3 {
		font-size: 16px;
	}
	body {
		position: relative;
	}
/* タイトル_椿 */	
	.tubaki_title_t {
		width: 35px;
		height: 35px;
	}
	.tubaki_title_t img {
		width: 100%;
	}	
	.tubaki_title_y {
		width: 35px;
		height: 35px;
	}
	.tubaki_title_y img {
		width: 100%;
	}	
/* タイトル_三つ巴 */	
	.mitu_title_t {
		width: 25px;
		height: 25px;
	}
	.mitu_title_t img {
		width: 100%;
	}	
	.mitu_title_y {
		width: 25px;
		height: 25px;
	}
	.mitu_title_y img {
		width: 100%;
	}	
/* ページTOPに戻るボタン */	
	#page_top {
		width: 60px;
		height: 60px;
		position: fixed;
		z-index: 999;
		border-radius: 50%;
		background: #555;
		right: 10px;
		bottom: 15px;
	}
	#page_top a {
		position: relative;
		display: block;
		text-decoration: none;
		line-height: 1.2;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#page_top a::before {
		content: "";
        width: 15px;
        height: 15px;
        border-top: 2px solid white;
        border-right: 2px solid white;
        transform: rotate(-45deg);
        position: absolute;
        border-radius: 1px;
		top: 25px;
	}
/* top_sns表示 */
	.top_sns img {
		width: 100%;
		height: 100%;
	}
	.top_sns {
		width: 10%;
		display: flex;
		flex-direction: column;
		position: absolute;
		right: 20px;
		bottom: 10px;
		gap: 5px;
	}
/* top_画像 */	
	/* 複数画像切り替え---------------------------------------------- */
	.slider-container {
		position: relative; /* コンテナ内でスライド位置を相対的に設定 */
		width: 100%; /* コンテナ幅を100%に */
		height: 650px; /* コンテナの高さを固定 */
		overflow: hidden; /* スライドがコンテナ外に出ないように非表示 */
	}
	.slideimg {
		position: absolute; /* 位置を絶対指定で重ねて配置 */
		width: 100%; /* スライド画像の幅を100%に */
		height: 100%; /* スライド画像の高さを100%に */
		top: 0; /* 上からの位置を0に */
		left: 0; /* 左からの位置を0に */
		opacity: 0; /* 初期状態で透明に */
		background-size: cover; /* 画像をスライド全体にカバー */
		background-position: center;
		animation: slideAnime 30s infinite; /* 15秒で1サイクルのアニメーションを無限ループ */
	}
	@keyframes slideAnime {
		0%, 30%, 100% { opacity: 0; } /* 非表示のタイミングを設定 */
		10%, 20% { opacity: 1; } /* 表示されるタイミングを設定 */
	}
/* 各スライドのアニメーションタイミングを均等にずらす */
	.slideimg:nth-of-type(1){
		background-image: url("/wp-content/uploads/top-1.webp"); /* 1枚目の画像を指定 */
		animation-delay: 0s; /* アニメーション開始を0秒遅延 */
	}
	.slideimg:nth-of-type(2) {
		background-image: url("/wp-content/uploads/top2_2.webp"); /* 2枚目の画像を指定 */
		animation-delay: 5s; /* アニメーション開始を3秒遅延 */
	}
	.slideimg:nth-of-type(3) {
		background-image: url("/wp-content/uploads/top3.webp");; /* 3枚目の画像を指定 */
		animation-delay: 10s; /* アニメーション開始を6秒遅延 */
	}
	.slideimg:nth-of-type(4) {
		background-image: url("/wp-content/uploads/top4.webp");; /* 4枚目の画像を指定 */
		animation-delay: 15s; /* アニメーション開始を9秒遅延 */
	}
	.slideimg:nth-of-type(5) {
		background-image: url("/wp-content/uploads/top5.webp");; /* 5枚目の画像を指定 */
		animation-delay: 20s; /* アニメーション開始を12秒遅延 */
	}
	
	
/* 重要なお知らせ_css */		
	.zyuuyou_oshirase {
		width: 170px;
		height: 200px;
		background-color: white;
		display: flex;
		bottom: 0;
	}
	.zyuuyou_title {
		width: 170px;
		height: 50px;
		background-color: #ac1b1b;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.zyuuyou_title p {
		color: white;
		margin: 0;
		font-size: 20px;
	}
	.zyuuyou_naiyou {
		padding: 5px;
		display: flex;
		flex-direction: column;
	}
	.zyuuyou_naiyou p {
		margin: 0;
		font-size: 20px;
	}
	.zyuuyou_naiyou {
		padding: 10px;
	}
	.zyuuyou_naiyou p {
		margin: 0;
		font-size: 16.5px;
	}
/* top_spのみ表示 */
	.top_sp_title {
		width: 100px;
		height: 300px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: rgba(0,0,0,0.5);
		position: absolute;
		z-index: 1;
	}
	.top_sp_title_img {
		width: 55%;
	}
	.top_sp_title_img img {
		width: 100%;
	}
	.top_sp_title_text {
		width: 65%;
	}
	.top_sp_title_text img {
		width: 100%;
	}
/* sp_メニューの記述 */	
.nav_toggle {
	display: block;
	position: fixed;
	right: 0px;
	top: 0px;
	z-index: 500;
	width: 60px;
	height: 60px;
	border-radius: 0px;
	background: #cfa151;
	text-align: center;
	cursor: pointer;
	z-index: 11;
}
.nav_toggle span {
	display: block;
	position: absolute;
	width: 30px;
	border-bottom: solid 3px white;
	transition: .35s ease-in-out;
	left: 17px;
}
.nav_toggle span:nth-child(1) {
	top: 18px;
}
.nav_toggle span:nth-child(2) {
	top: 27px;
}
.nav_toggle span:nth-child(3) {
	top: 36px;
}
.nav_toggle.show span:nth-child(1) {
	transform: translateY(10px) rotate(-45deg);
}
.nav_toggle.show span:nth-child(2) {
	opacity: 0;
}
.nav_toggle.show span:nth-child(3) {
	transform: translateY(-8px) rotate(45deg);
}
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height:100vh;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s, visibility .5s;
	background: #952623;
	z-index: 10;
}
.nav.show {
	opacity: 1;
	visibility: visible;
}
.nav_menu_ul {
	position:relative;
	display: flex;
	flex-direction: column;
	gap: 9px;
	height:91svh;
	margin-top: 20px;
	padding:12px 38px 25px 38px;
	background:#fff;
	border-radius:10px;
	box-sizing:border-box;
}

.nav_menu_ul::after {
	content: "";
	width: 158px;
	height: 158px;
	position: absolute;
	top:-108px;
	left: 50%;
    transform: translateX(-50%);
	background:#952623;
	border-radius: 100px;
}
	

.nav_menu_ul_title a {
	width: 100%;
	height: auto;
	margin:-35px 0 7px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	text-align:center;
}
.nav_menu_ul_title p {
	font-size: 17px;
	color: #fff;
	font-weight:bold;
	line-height:1;
	margin:-6px 0 0 0;
	z-index:100;
}
.nav_menu_ul_title_img {
	width: 15%;
	z-index:100;
}
.nav_menu_ul_title_img img {
	width: 100%;
}
.nav_menu_li {
	position:relative;
	height: auto;
	border: 1px solid #aaa;
	border-radius:4px;
	display: flex;
	align-items: center;
}
.nav_menu_li::after {
			content: "";
	width: 10px;
	height: 10px;
	border-top: 4px solid #aa514f;
	border-right: 4px solid #aa514f;
	transform: rotate(45deg) translateY(-50%);
	position: absolute;
	top:26px;
	right: 30px;
	border-radius: 1px;
}
.nav_menu_li a {
	color: black;
	width: 100%;
	padding:12px 15px 11px 20px;
	box-sizing:border-box;
}	
	.pc_menu {
		display: none;
	}
/* top01_御由緒 */	
	.top01 {
		height: auto;
		display: flex;
		align-items: center;
		flex-direction: column-reverse;
		background-color: white;
		gap: 50px;
		padding: 0 20px;
	}
	.top01_img {
		width: 100%;
		height: 300px;
	}
	.top01_img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.top01_naiyou {
		width: 100%;
		height: 400px;
		display: flex;
		flex-direction: row-reverse;
		justify-content: center;
		gap: 15px;
		padding-right: 50px;
	}
	.naiyou_title {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		gap: 10px;
		height: auto;
	}
	.naiyou_title h2 {
		margin: 0;
		writing-mode: vertical-rl;
	}
	.naiyou_text {
		margin-top: 40px;
	}
	.naiyou_text p {
		display:block;
		width:170px;
		font-size: 16px;
		margin: 0;
		writing-mode: vertical-rl;
		line-height: 33px;
		
	}
	.top01_btn {
		writing-mode: vertical-rl;
		width: 45px;
		height: 200px;
		margin-top: 200px;
		background-color: white;
		color: black;
		border: 1px solid #000000;
		transition: 0.7s ease;
	}
	.top01_btn p {
		width: 100%;
		height: 100%;
		margin: 0;
		color: black;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.top01_btn:hover {
		background-color: black;
	}
	.top01_btn p:hover {
		color: white;
	}
	.top01_btn a {
		width: 100%;
		color: black;
		display: flex;
		justify-content: center;
		align-items: center;
	}
/* top02_お知らせ */	
	.top02 {
		height: auto;
		display: flex;
		flex-direction: column-reverse;
		justify-content: space-between;
		align-items: center;
		background-color: white;
		padding: 0 20px;
	}
	.top02_img {
		width: 100%;
		height: 300px;
	}
	.top02_img img {
		width: 100%;
		height: 100%;
		object-fit: cover;	
	}
	.top_news_box_item {
		display: flex;
		flex-direction: row;
		gap: 50px;
	}
	.top02_naiyou {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.top_news_box_item_title {
		display: flex;
		flex-wrap:wrap;
		width:96%;
		margin:0 4% 0 0;
	}
	.top_news_box_ul {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}
	.osirase_title {
		display: flex;
		align-items: center;
		gap: 30px;
	}
	.osirase_title h2 {
	}	
	.osirase_tag {
		width: 100px;
		height: 35px;
		background-color: #cfa151;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.osirase_tag p {
		margin: 0;
		color: white;
	}
	.osirase_box {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 50px;
		padding: 0 14px;
		padding-bottom: 50px;
	}
	.osirase_box_item {
		width: 100%;
		list-style: none;
		display: flex;
		flex-direction: column;
		gap: 25px;
		padding: 0;
		margin: 0;
	}
	.osirase_box_item_list {
		width: 100%;
		border-bottom: 0.5px solid #A3A3A3;
	}
	.osirase_box_item_list a {
		color: black;
		display: flex;
		flex-direction: column;
		margin-bottom: 15px;
	}
	.osirase_box_item_list a:hover {
		color: #db2020;
	}
	.date {
		width: 150px;
	}
	.top02_btn {
		width: 250px;
		height: 45px;
		color: black;
		background-color: white;
		border: 1px solid black;
		display: flex;
		align-items: center;
		text-align: center;
		transition: 0.7s ease;
		margin: 0 auto;
	}
	.top02_btn p {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		color: black;
	}
	.top02_btn:hover {
		background-color: black;
	}
	.top02_btn p:hover {
		color: white;
	}
	.top02_btn a {
		width: 100%;
		height: 100%;
	}
/* お知らせ_x_表示 */	
.sns_X_box_pc {
	display: none;
}	
/* top_アニメーション */	
		.animation_box {
			width: 100%;
			height: auto;
		}
		.animation_box_contents img {
			width: 100%;
		}
		.animation_box_contents li {
			list-style: none;
		}
		.animation_box_animation ul {
			margin: 0;
			padding: 0;
		}
		.animation_box_animation {
			display: flex;
			gap: 5px;
			overflow: hidden;
		}
		.animation_box_animation li {
			width: 200px;
		}
		.animation_box_contents {
			display: flex;
			gap: 5px;
			animation: loopAnimation 85s linear infinite;
		}
		@keyframes loopAnimation {
			0% {
				transform: translate(0%);
			}
			100% {
				transform: translate(-100%);
			}
		}
/* top04_各項目メニュー */
		.top04 {
			width: 100%;
			height: auto;
			display: flex;
			justify-content: center;
			align-items: center;
			background-color: #fff5e3;
		}
		.top04_box {
			width: 1200px;
			height: auto;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			padding: 30px 0;
		}
		.top04_box_item img {
			width: 100%;
		}
		.top04_box_item {
			width: 100%;
			height: 130px;
			object-fit: cover;
			position: relative;
			overflow: hidden;
			list-style-type: none;
		}
		.top04_box_item a {
			width: 100%;
			height: 100%;
		}
		.top04_box_item h3 {
			width:100%;
			height: 100%;
			margin: 0;
			writing-mode: vertical-rl;
			color: white;
			position: absolute;
			display: flex;
			align-items: center;
			justify-content: center;
		}
/* top08_css_各項目メニュー */
	.top08 {
		height: auto;
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: #fff5e3ce;
		padding: 50px 20px;
	}
	.top08_box {
		width: 100%;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap:15px;
	}
	.top08_box_item {
		width: 100%;
		height: auto;
		position: relative;
	}
	.top08_box_item img {
		width: 100%;
		vertical-align: top;
	}
	.top08_box_item h3 {
		width: 65px;
		height: auto;
		position: absolute;
		writing-mode: vertical-rl;
		color: white;
		background: rgba(0,0,0,0.5);
		margin: 0;
		display:flex;
		justify-content: center;
		align-items: center;
		z-index: 0;
		padding: 20px 0;
	}
	.top08_box_item a {
		position: absolute;
		z-index: 1;
		padding: 10px;
	}
	.top08_btn {
		position: absolute;
		width: 100%;
		height: auto;
		display: flex;
		align-items: flex-end;
		justify-content: flex-end;
		bottom: 0;
	}
	.top08_btn a {
		position: absolute;
		width: 150px;
		height: 25px;
		background-color: #732626;
		color: white;
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.top08_btn a:hover {
		background-color: #b46b6b;
	}
	.top08_btn a::after {
		content: "";
		width: 10px;
		height: 10px;
		border-top: 2px solid white;
		border-right: 2px solid white;
		transform: rotate(45deg) translateY(-50%);
		position: absolute;
		top: 50%;
		right: 20px;
		border-radius: 1px;
		transition: 0.3s;
	}
	.top08_btn a:hover::after {
		right: 15px;
	}
/* top05_css_雅楽 */
	.top05 {
			height: auto;
			background-color: #c22f2f;
			display: flex;
			align-items: center;
			justify-content: center;
		padding: 0 20px;
		}
		.top05_box {
			width: 100%;
			height: auto;
			display: flex;
			flex-direction: column;
			align-items: stretch;
			justify-content: center;
			padding: 50px 20px;
		}
		.top05_box_item01 {
			width: 100%;
			height: 250px;
			background-image: url(/wp-content/uploads/yokobue.jpg);
			background-size: cover;
			background-repeat: no-repeat;
			object-position: 100% 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
	}
	.top05_box_item01 p {
			font-size: 25px;
			margin: 0;
			color: white;
	}
	.top05_box_item01_title {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
		.top05_box_item01_title_box {
			width: 200px;
			height: 40px;
			background-color: white;
			display: flex;
			align-items: center;
			justify-content: center;
		}
		.top05_box_item01_title_box span {
			color: black;
			font-size: 25px;
		}
		.top05_box_item02 {
			width: 100%;
			height: auto;
			background-color: white;
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: center;
			padding-bottom: 30px;
		}
		.top05_box_item02 p {
			margin: 0;
		}
		.top05_item02_text {
			padding-right: 35px;
			padding-left: 35px;
			padding-top: 40px;
		}
		.top05_box_item02_btn {
			width: 250px;
			height: 45px;
			color: black;
			background-color: white;
			border: 1px solid black;
			display: flex;
			align-items: center;
			text-align: center;
			transition: 0.7s ease;
		}
		.top05_btn {
			width: 250px;
			height: 45px;
			color: black;
			background-color: white;
			border: 1px solid black;
			display: flex;
			align-items: center;
			text-align: center;
			transition: 0.7s ease;
			margin: 30px;
		}
		.top05_btn a {
			width: 100%;
			height: 100%;
		}
		.top05_btn p {
			width: 100%;
			height: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			margin: 0;
			color: black;
		}
		.top05_btn:hover {
			background-color: black;
		}
		.top05_btn p:hover {
			color: white;
		}		
/* フッター_css */	
		footer {
			width: 100%;
			height: auto;
			background: #eff2ff;
			display: flex;
			flex-direction: column;
		}
		.footer-box {
			width: 100%;
			height: 100%;
			display: flex;
			flex-direction: column;
		}
		.footer-container {
			width: 100%;
			display: flex;
			flex-direction: column;
			align-content: center;
			padding-top: 80px;
		}
		.footer-info {
			width: 100%;
			height: auto;
			display: flex;
			flex-direction: column;
			align-items: center;
			border-right: 1.3px solid #bec1cd;
			box-sizing: border-box;
		}
		.footer-logo {
			width: 50%;
		}
		.footer-logo img {
			width: 100%;
			height: 100%;
		}
		.footer-address {
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 12px;
		}
		.footer-address p {
			margin: 0;
		}
		.footer-navi {
			width: 100%;
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: center;
			gap: 50px;
		}
		.footer-navi li a {
			width: 100%;
			color: black;
			display: block;
		}
		.footer-navi ul {
			list-style-type: none;
			display: flex;
			flex-direction: column;
			gap: 10px;
			padding: 0;
		}
		.footer-sns {
			width: 10%;
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 8px;
		}
		.footer-sns img {
			width: 100%;
			height: auto;
		}
		.footer-img {
			width: 100%;
			height: 350px;
			background-image: url("/wp-content/uploads/footer_img.webp");
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center;
		}
		.footer-copy p {
			text-align: center;
			margin: 20px 0;
			font-size: 12px;
		}
/* header_各項目 */
		.kyoutu_header {
			display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			height: 450px;
			border-bottom:10px solid #c88e8c;
		}
		.kyoutu_header h1 {
			margin: 0;
			padding:20px 35px 19px 35px;
			color: white;
			font-size: 23px;
			letter-spacing: 3px;
			background:rgba(0,0,0,0.5);
			border:1px solid #ddd;
			line-height:1.0;
		}
/* header画像内のロゴ */
	.kyoutu_header_title {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 9px;
		background-color: white;
		height: 60px;
		padding-left: 21px;
	}
	.kyoutu_header_img {
		width: 40px;
		margin:7px 0 0 0;
	}
	.kyoutu_header_img img {
		width: 100%;
	}
	.kyoutu_header_title p {
		font-size: 24.5px;
		margin: 0;
		color: #444;
		font-weight:bold;
		letter-spacing: 0.045em;
	}	
/* 別府八幡宮について */
	/* ABOUT_header */
	.about_img {
		background-image: url("/wp-content/uploads/h-about.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 30% 150%;
	}
	/* ABOUT01 */
	.about01 {
		padding: 0 20px;
	}
	.goyuisyo_box_title {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0 5px;
	}
	.goyuisyo_box_title h2 {
		position:relative; 
		margin: 0;
	}

	.goyuisyo_box_title span {
		color: #d62d2d;
	}
	.goyuisyo_box_text {
		width: 100%;
		margin-top: 25px;
		padding:0 20px;
		box-sizing:border-box;
	}
	.goyuisyo_box_text p {
		margin: 0;
	}
	/* ABOUT02 */
	.about02 {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		gap: 50px;
	}
	.gosaizin_img {
		width: 100%;
		height: 300px;
	}
	.gosaizin_img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.gosaizin_box_text {
		height: auto;
		object-fit: cover;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		gap: 25px;
	}
	.gosaizin_box_title {
		height: auto;
		display: flex;
		align-items: center;
		gap: 20px;
		padding: 0 5px;
	}	
	.gosaizin_box_title h2 {
		position:relative; 
		margin: 0;
	}
	.gosaizin_box_title span {
		color: #d62d2d;
	}
	.gosaizin_text_box {
		display: flex;
		flex-direction: column;
		gap: 40px;
		padding: 0 20px;
	}
	.gosaizin_text {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.gosaizin_text_item {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}
	.gosaizin_text_item p {
		font-size: 25px;
		margin: 0;
	}
	.gosaizin_text_item span {
		font-size: 14px;
		margin: 0;
	}
	.gosaizin_haishishi_text span {
		font-size: 15px;
	}
	.gosaizin_haishishi_text p {
		font-size: 14px;
	}
	.gosaizin_haishishi_text {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
	/* ABOUT03 */
	.about03 {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 50px;
	}
	.keidai_box_title {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding: 0 20px;
	}
	.keidai_box_title h2 {
		writing-mode: vertical-rl;
		margin: 0;
		position:relative; 
	}
	.keidai_box_title h2 span {
		color: #d62d2d;
	}
	.keidai_img_box {
		width: 100%;
		height: auto;
	}
	.keidai_img_box a {
		width: 100%;
		height: auto;
	}
	.keidai_img_box_text {
		width: 95%;
		height: 300px;
		margin: 0 2.5%;
		border:4px solid #aa5151;
		background-image: url("/wp-content/uploads/h-keidai.webp");
		background-repeat: no-repeat;
		background-size: cover;
		box-sizing:border-box;
		position: relative;
	}
	.keidai_img_box_text p {
		position: absolute;
		height: 70px;
		background: #aa5151;
		color: white;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		bottom: 0;
		padding: 16px 40px 16px 20px;
	}
	.keidai_img_box_text p::after {
		content: "";
		width: 10px;
		height: 10px;
		border-top: 2px solid white;
		border-right: 2px solid white;
		transform: rotate(45deg) translateY(-50%);
		position: absolute;
		top: 50%;
		right: 20px;
		border-radius: 1px;
		transition: 0.3s;
	}
	
	
	
	
	
	/* ABOUT04 */
	.about04 {
		height: auto;
		display: flex;
		flex-direction: column;
		background-color: #fff5e3;
		padding: 60px 20px;
		gap: 50px;
	}
	.garaku_box_title {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.garaku_box_title h2 {
		writing-mode: vertical-rl;
		margin: 0;
		position:relative; 
	}
	.garaku_box_title h2 span {
		color: #d62d2d;
	}
	.garaku_box {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
		position: relative;
	}
	.garaku_box_text p {
		margin: 0;
	}
	.garaku_box_text_box {
		width: 100%;
		height: auto;
		background-color: white;
		display: flex;
		flex-direction: column;
		position: relative;
	}
	.garaku_box_text_box_img {
		width: 30%;
		right: 0;
		bottom: 0;
		margin-right: 20px;
		position: absolute;
	}
	.garaku_box_text_box_img img {
		width: 100%;
	}
	.garaku_box_text_box h3 {
		width: 150px;
		height: 50px;
		background-color: black;
		color: white;
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.garaku_box_text_box_text {
		padding: 20px;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.garaku_box_text_box_text_item03 {
		width: 170px;
	}
	.garaku_box_text_box_text_item01 p {
		margin: 0;
	}
	.garaku_box_text_box_text li p {
		margin: 0;
	}
	.garaku_box_text_box_text_item02 {
		list-style: none;
		padding: 0;
	}
/* 年間行事 */
	/* EVENT_header */
	.event_img {
		background-image: url("/wp-content/uploads/event_header-scaled.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
	.event {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 0 20px;
	}
	.event_box_title {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	.event_box_title h2 {
		writing-mode: vertical-rl;
		margin: 0;
		position:relative; 
	}
	.event_box_title h2 span {
		color: #d62d2d;
	}
	.event_box {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.event_box_text {
		width: 90%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		border-bottom: 1px dotted #888;
		margin:0 5%;
		padding: 40px 0;
	}
	.event_box_text:last-child {
		border: none;
	}
	.event_box_text span {
		width: 244px;
		margin-bottom:6px;
		padding-bottom:8px;
		font-size: 22.65px;
		font-weight:bold;
		text-align: center;
		line-height:1.27;
		border-bottom:1px solid #bf7d7b;
	}
	.event_box_text h3 {
		width: 228px;
		margin: 0 0 8px 0;
		padding:10px 0;
		font-size: 20px;
		text-align: center;
		background:#fefbee;
		border:1px solid #c3c3c3;
		border-radius:2px;
	}
	.event_box_text p {
		width: 88%;
		margin: 0 6%;
	}
	.event03 {
		display: flex;
		flex-direction: column;
		gap: 50px;
		margin-bottom: 50px;
		padding: 0 20px;
	}
	.event03_box_title {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	.event03_box_title h2 {
		writing-mode: vertical-rl;
		margin: 0;
		position:relative; 
	}
	.event03_box_title h2 span {
		color: #d62d2d;
	}
	/* 御祈祷 */
	/* GOKITO_header */
	.gokito_img {
		background-image: url("/wp-content/uploads/h-gokito.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 75% 30px;
	}
	.gokitou_kyoutu_box {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 0 20px;
	}
	.gokitou_kyoutu_box_img {
		width: 100%;
		height: auto;
		margin:20px 0 0 0;
	}
	.gokitou_kyoutu_box_img img {
		object-fit: cover;
		width: 100%;
		height:190px;
	}
	.gokitou_kyoutu_text {
		font-size: 17px;
		margin: 0;
		padding: 0 20px;
		margin-top: 15px;
	}
	/* GOKITO01 */
	.gokitou {
		height: auto;
		padding: 0 20px;
	}
	.gokkitou_etc_box {
		margin-bottom: 150px;
		display: flex;
		flex-direction: column;
		gap: 50px;
	}
	.gokitou_box {
		height: auto;
		padding: 0 20px;
	}
	.gokitou_box_naiyou {
		width: 100%;
		height: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 20px 6px;
	}
	.gokitou_box_naiyou li {
		width: 126px;
		padding:11px 0 11px 0;
		margin-top: 0;
		margin-bottom: 0;
		background:#fef5f0;
		border:1px solid #d4c2c1;
		border-radius:4px;
		font-size: 18px;
		text-align:center;
	}
	.yaku_item {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 30px;
	}
	.yaku_item_box {
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
		padding: 0 20px;
	}
	.yaku_item_box_text_title p {
		margin: 0;
	}
	.yaku_box_text_item_box {
		width: 100%;
		max-width:720px;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		border:1px solid #999;
	}
	.yaku_item_box_text {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 30px;
	}
	.yaku_item_box_text_item_box_men {
		width: 100%;
		height: 46px;
		background-color: #c5d0f3;
		border-bottom:1px solid #999;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.yaku_item_box_text_item_box_men p {
		margin: 0;
		font-size: 20px;
	}
	.yaku_item_box_text_item_box_women {
		width: 100%;
		height: 46px;
		background-color: #f0b8b8;
		border-bottom:1px solid #999;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.yaku_item_box_text_item_box_women p {
		margin: 0;
		font-size: 20px;
	}
	.yaku_item_box_text_item_box_text {
		width: 100%;
		height: auto;
		background-color: #fffaf0;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 10px;
		padding:10px;
		box-sizing:border-box;
	}
	.kyoutu_yaku_box {
		width: 55%;
		height: auto;
	}
	.yaku_title {
		width: 100%;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.yaku_text {
		width: 100%;
		height: auto;
		background-color: white;
		border: 1px solid #aaa;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-bottom: 12px;
		padding: 5px 0;
	}
	.yaku_text p {
		margin: 0;
		text-align:center;
		line-height:1.2;
	}
	.hon_yaku_box {
		width: 55%;
		color: red;
	}
	.yaku_item_box_img {
		width: 100%;
		height: 300px;
	}
	.yaku_item_box_img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	/* 授与品・御守 */
	/* OMAMORI_header */
	.omamori_img {
		background-image: url("/wp-content/uploads/omamori_header-scaled.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}	
	.zyuyohin_box {
		padding: 0 20px;
	}
	.ohuda_box_item_box {
		width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
		margin-top: 50px;
		margin-bottom: 150px;
	}
	.ohuda_box_item {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.ohuda_box_img {
		width: 140px;
        height: 140px;
        display: flex;
        flex-direction: column;
		background: #D1D1D1;
	}
	.omamori_box_item_box {
		width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
		margin-top: 50px;
	}
	.omamori_box_item {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.omamori_box_img {
		width: 140px;
        height: 140px;
        display: flex;
        flex-direction: column;
		background: #D1D1D1;
	}
	/* 交通アクセス */
	/* ACCESS_header */
	.access01 {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-bottom: 50px;
		padding: 0 20px;
	}
	.access_img {
		background-image: url("/wp-content/uploads/h-access.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 37% 21px;
	}
	.access_box_menu {
		width: 100%;
		height: auto;
		display: flex;
		justify-content: center;
		gap: 30px;
	}
	.access_box_item {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 20px;
	}
	.access_box_item_img {
		width: 25px;
		height: 25px;
		display: flex;
	}

	.access_box_item_img img {
		width: 100%;
	}
	.gmap_iframe {
    aspect-ratio: 7 / 9;
    width: 100%;
    height: 480px;
}
	.access_box_menu_box {
		display: flex;
		flex-direction: column;
		gap: 15px;
		padding:16px 50px;
		border:4px solid #dfbdbd;
		border-radius:4px;
	}
	.access_box_address {
		margin-top: 40px;
		text-align:left;
	}
	.sp{display:block;}
	.pc{display:none;}
	/* お知らせ_内容 */
	/* NEWS_header */
	.news_img {
		background-image: url("/wp-content/uploads/news_header-scaled.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
	.title_border {
		width: 100%;
		height: 2px;
		background-color: #B8B8B8;
	}
	.news_box_item_img img {
		width: 300px;
	}
	.news_box {
		width: 100%;
		margin-top: 120px;
		margin-bottom: 100px;
	}
	.news_box_ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 50px;
	}
	.news_box_item {
		width: 300px;	
		gap: 30px;
	}
	.single_content {
		margin-top: 50px;
	}
	.wp-block-image {
		margin-top: 50px;
		display: flex;
		justify-content: center;
	}
	.card__title {
		margin:8px 0;
		color: #333;
		font-size: 17px;
	}
	.card__time {
		display: block;
		justify-content: flex-end;
		width:100%;
		padding-bottom:8px;
		border-bottom:1px solid #af9e81;
		color: #333;
		font-weight:bold;
	}
	/* ページネーションの配置 */
	.pnavi {
		display: flex;
		justify-content: center;
	}
	/* ページ中央に設置 */
.pnavi {
    text-align: center;
	padding: 0 20px;
	gap: 10px;
}

/* 現在開いている以外のページのボタン */
.pagination .page-numbers {
    display: inline-block;
    padding: 0;
	width: 40px;
    height: 40px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    color: #732626;
    border: 1px solid #732626;
    background: #fff;
    font-weight: bold;
    font-size: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* マウスが乗った時の、ボタンの背景の色と文字の色 */
.pagination a.page-numbers:hover {
    color: #FFF;
    background-color: #999;
    border-color: #999;
}
/* 現在のページのボタン */
.pagination .current {
    padding: 0;
    background: #732626;
    color: #FFFFFF;
    font-size: 12px;
}

/* 前へ、次へ */
.pagination .prev,
.pagination .next {
    border: 1px solid #732626;
    color: #732626;
    position: relative;
    font-size: 12px;
}

.pagination a.next.page-numbers {
    margin-right: 0;
}
// 「次へ」の前の線
.pagination .next::before {
    left: -15px;
}

// 「前へ」の後の線
.pagination .prev::after {
    right: -15px;
}

/* 数字の間のドット */
.pagination .dots {
    background: transparent;
    border: none;
}
	/* ページネーションの配置 */
	.pnavi {
		margin-top: 50px;
	}
	
/* 境内案内 */
	.keidai_img {
		background-image: url("/wp-content/uploads/h-keidai.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: 23% 35px;
	}
	.keidai_tizu_box {
		height: auto;
		padding: 0 20px;
		display: flex;
		justify-content: center;
	}
	.keidai01_img {
		width: 100%;
	}
	.keidai01_img img {
		width: 100%;
	}
	.keidai_kyoutu_box {
		width: 100%;
		height: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px;
	}
	.keidai_kyoutu_box_item {
		width: 300px;
		height: auto;
		display: flex;
		flex-direction: column;
	}
	/*アニメーション追加*/
	.keidai_kyoutu_box_item_img {
		width: 100%;
		height: auto;
	}
	.keidai_kyoutu_box_item_img.is-show {
		transform: translate(0,0);
		opacity: 1;
	}
	.box {
		width: 100%;        /* 横幅いっぱい */
		height: 300px;      /* 高さを300pxに指定 */
		background: #aaa;   /* 背景色を灰色にする */
		margin: 0 0 30px;   /* 下方向に適度な余白 */
		opacity: 0;         /* 初期値は透明にしておく */
		transition: 2s;    /* 動くスピードを0.5秒に指定 */
		position: relative; /* 相対位置の設定 */
		top: 50px;          /* 事前に下に50pxずらしておく */
	}
	.active {
		opacity: 1;         /* 透明度を元に戻す */
		top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
	}
	/* ここまで */
	.keidai_kyoutu_box_item_img img {
		width: 100%;
		object-fit: cover;
	}
	.keidai_kyoutu_box_item_text {
		display: flex;
		flex-direction: column;
	}
	.keidai_kyoutu_box_item_text h3 {
		border-bottom: 1px solid #bbb;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 15px;
		margin: 0 0 15px 0;
		padding: 10px 0 10px 0;
		font-size: 22px;
		line-height:1.22;
	}
	.keidai_kyoutu_box_item_text span {
		width: 48px;
		height: 48px;
		background-color: #093290;
		color: white;
		border-radius: 150px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.keidai_kyoutu_box_item_text p {
		margin-top: 15px;
	}
	.keidai_kyoutu_box_item_text h3 p {
		width: 40px;
		height: 40px;
		background-color: #c30d23;
		color: white;
		border-radius: 100px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
	}
	.goenmairi_text {
		padding: 20px;
	}
	.goenmairi_text p {
		margin: 0;
		margin-top: 20px;
	}
	.tyusya_box {
		padding: 0 20px;
	}
	.tyusya_box_img {
		width: 100%;
		display: flex;
		justify-content: center;
	}
	.tyusya_box_img_item {
		width: 100%;
	}
	.tyusya_box_img_item img {
		width: 100%;
	}	
/* お問い合わせ */
	.contact_img {
		background-image: url("/wp-content/uploads/contact_header.webp");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
	}
	.contact_box {
		height: auto;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
		margin-bottom: 30px;
	}
	.contact_box_item {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.contact_box_item_01 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 20px;
	}
	.contact_box_item h3 {
		margin: 0;
	}
	.contact_box_item p {
		font-size: 20px;
		color: #DC832C;
	}
	.contact_box_item_img {
		width: 7%;
	}
	.contact_box_item_img img {
		width: 100%;
	}	
}
/* PC_css */
@media screen and (min-width:1024px) {
/* 共通項目 */
	.container {
		display: flex;
	}
	li {
		list-style: none;
	}
	ul {
		padding: 0;
		margin: 0;
	}
	h2 {
		font-size: 36px;
	}
	h3 {
		font-size: 23px;
	}
/* タイトル_椿 */	
	.tubaki_title_t {
		width: 45px;
		height: 45px;
	}
	.tubaki_title_y {
		width: 45px;
		height: 45px;
	}
/* タイトル_三つ巴 */		
	.mitu_title_y {
		width: 35px;
		height: 35px;
	}
	.mitu_title_t {
		width: 35px;
		height: 35px;
	}
	.sp_menu {
		display: none;
	}
/* pc_メニューの記述 */		
	.pc_menu {
		width: 300px;
		position: sticky;
		top:0;
		height: 870px;
		background-color: #fff;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		padding-bottom: 30px;
	}
	.pc_menu h1 img {
		width: 92%;
	}
	.pc_menu h1 {
		width: 44%;
		display: block;
		margin:5px 0;
	}
	.pc_menu nav {
		width: 100%;
		height: auto;
		list-style: none;
		display: flex;
		justify-content: center;
	}
	.pc_menu li {
		margin: 25px 0;
	}
	.pc_menu li a {
		width: 100%;
		text-decoration: none;
		color: #000;
		display: block;
		padding-right: 20px;
	}	
	.slider-container {
		height: 780px;
	}
	.top-nav_list a {
		width: 190px;
		position: relative;
		display: block;
		color: #000000;
		font-size: 16px;
	}
	.top-nav_list a::after {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		margin: auto;
		content: "";
		width: 15px;
		height: 15px;
		aspect-ratio: 1;
		border-top: 1.3px solid #333333;
		border-right: 1.3px  solid #333333;
		transform: rotate(45deg);
	}
	.otoiawase {
		background: #fff;
		color: #000;
		text-decoration: none;
		letter-spacing: 2px;
		width: 200px;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 10px;
		border: 1px solid #333333;
	}
	.otoiawase a {
		width: 100%;
		color: #000;
		display: block;
		text-align: center;
	}
	main {
		width: calc(100% - 300px);
	}
	.section_main {
		gap: 70px;
	}
	.toukou_box {
		margin-bottom: 150px;
	}
/* header画像内のロゴ */
	.kyoutu_header_title {
		display: none;
	}
/* TOP */
	.top {
		position: relative;
	}
	.top_sns {
		width: 3%;
		gap: 10px;
		bottom: 180px;
	}
	.top_sp_title {
		display: none;
	}
/* top01_css */	
	.top01 {
		flex-direction: row;
		gap: 100px;
		padding: 0;
	}
	.top01_img {
		width: 55%;
		height: 80%;
	}
	.top01_naiyou {
		width: 360px;
		height: auto;
		gap: 50px;
		justify-content: flex-start;
	}
	.naiyou_text {
		margin-top: 80px;
		height: 380px;
	}
/* top02_css */	
	.top02 {
		flex-direction: row-reverse;
		gap: 0px;
		padding: 0;
	}
	.top02_img {
		width:35%;
		height: 80%;
	}
	.top02_btn {
		margin-top: 60px;
	}
	.top02_naiyou {
		flex-wrap:wrap;
		width: 100%;
		max-width:800px;
		flex-direction: row;
		padding-left: 50px;
		box-sizing:border-box;
	}
	.osirase_title{
		width:100%;
		max-width:800px;
	}
	.osirase_box {
		width: 100%;
		padding: 20px 0 40px 0;
		padding-bottom: 0;
	}
	.osirase_box_item_list {
		border: none;
	}
	.osirase_box_item_list a {
		flex-direction: row;
		gap: 50px;
		margin-bottom: 0;
	}
/* お知らせ_X */	
.sns_X_box {
	padding: 0;
	margin-right: 200px;
}
.sns_X_box_pc {
	display: block;
	height: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding-right: 30px;
}
.sns_X_box_sp {
	display: none;
}	
/* animation_css */	
	.animation_box_animation li {
			width: 500px;
		}
	.animation_box_contents {
			animation: loopAnimation 150s linear infinite;
		}
/* top04_css */
	.top04_box {
		padding: 100px 0;
	}
	.top04_box_item {
		width: 600px;
		height: 250px;
	}
	.top04_box_item::before {
		position: absolute;
		content: "";
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		outline: 1px solid white;
		outline-offset: -15px;
	}
	.top04_box_item:hover::before {
		background-color: rgba(70,70,70,0.5);
		transition: 0.6s;
		transform:scale(1.02,1.02);
	}
	.top04_box_item h3 {
		letter-spacing: 5px;
	}
	.top08 {
		padding: 150px 0;
	}
	.top08_box {
		width: 1250px;
	}
	.top08_box_item {
		width: 600px;
	}
	.top08_box_item h3 {
		width: 80px;
		height: 180px;
	}
	.top08_btn {
		height: 250px;
	}
	.top08_btn a {
		width: 200px;
		height: 40px;
	}
/* top05_css */		
	.top05_box {
		flex-direction: row;
		padding: 50px 150px;
	}
	.top05_box_item01{
		width: 100%;
		height: auto;
	}
	.top05_box_item01 p {
		font-size: 45px;
	}
	.top05_box_item01_title_box {
		width: 300px;
		height: 60px;
	}
	.top05_box_item02 {
		padding: 0;
	}
/* フッター_css */
	.footer-info  {
		height: 70%;
	}
	.footer-box {
		gap: 100px;
		flex-direction: row;
	}
	.footer-navi {
		display: block;
		margin-left: 30px;
	}
	.footer-navi ul {
		gap: 25px;
	}
	.footer-container {
		flex-direction: row;
		gap: 70px;
	}
	.footer-sns {
		width: 50%;
		gap: 30px;
		flex-direction: row;
		margin-top: 50px;
	}
	.footer-img {
		height: auto;
	}
	.footer-copy p {
		font-size: 16px;
	}
	/* 各共通_header */
	.kyoutu_header {
		height: 510px;
	}
		.kyoutu_header h1 {
			font-size: 38px;
			/*letter-spacing: 10px;*/
		}
/* about */
	.about01 {
		height: auto;
		padding: 0 100px;
	}
	.goyuisyo_box_text {
		width: 100%;
	}
	.goyuisyo_box_text p {
		padding-left: 150px;
		padding-right: 50px;
	}
	.goyuisyo_box_title {
		width: 500px;
		height: auto;
		gap: 20px;
		padding: 0;
	}
	.goyuisyo_box_title h2::after {
		position: absolute;
		content: "";
		top: 50%;
		margin-left: 50px;
		width: 300px;
		height: 1px;
		background-color: #f56868;
	}
	.about02 {
		flex-direction: row;
		gap: 100px;
	}
	.gosaizin_img {
		width: 30%;
		height: auto;
	}
	.gosaizin_box_title {
		padding: 0;
		height: auto;
	}
	.gosaizin_box_title h2::after {
		position: absolute;
		content: "";
		top: 50%;
		margin-left: 50px;
		width: 250px;
		height: 1px;
		background-color: #f56868;
	}
	.gosaizin_text_box {
		margin-left: 50px;
		gap: 80px;
		padding: 0;
	}
	.gosaizin_box_text {
		padding: 0 50px;
	}
	.gosaizin_text_item p {
		font-size: 25px;
	}
	.gosaizin_text_item {
		align-items: center;
		flex-direction: row;
		gap: 20px;
	}
	.gosaizin_text_item span {
		font-size: 17px;
	}
	.gosaizin_haishishi_text span {
		font-size: 17.5px;
	}
	.gosaizin_haishishi_text p {
		font-size: 16.5px;
	}
	.about03 {
		flex-direction: row;
		gap: 100px;
	}
	.keidai_box_title {
		margin: 0 50px;
	}
	.keidai_box_title h2::after {
		margin: 0;
		position: absolute;
		content: "";
		width: 1px;
		height: 320px;
		background-color: #f56868;
		margin-right: 22px;
		top: 130px;
	}
	.keidai_img_box_text {
		height: 500px;
		border:4px solid #aa5151;
		box-sizing:border-box;
	}
	.about04 {
		padding: 60px;
		padding-bottom: 130px;
		flex-direction: row;
		justify-content: center;
		gap: 100px;
	}
	.garaku_box {
		margin-top: 0;
	}
	.garaku_box_title h2::after {
		margin: 0;
		position: absolute;
		content: "";
		width: 1px;
		height: 200px;
		background-color: #f56868;
		margin-right: 22px;
		top: 170px;
	}
	.garaku_box_text_box_text {
		padding-top: 50px;
		padding-left: 50px;
		padding-bottom: 50px;
		padding-right: 160px;
	}
	.garaku_box_text_box_img {
		width: 17%;
	}
	.garaku_box_text_box_text_item01 {
		width: 100%;
	}
	.garaku_box_text_box_text_item03 {
		width: 100%;
	}
/* event */
	.event {
		padding: 0 80px 0 46px;
		flex-direction: row;
		box-sizing:border-box;
	}
	.event_box_text h3 {
		width: 290px;
		padding: 10px 14px;
	}	
	.event_box_text {
		gap: 40px;
		flex-direction: row;
		padding:50px 0;
	}
	.event_box_text span {
		width:300px;
		font-size: 23px;
	}
	.event_box_text p{
		width:60%;
		margin:0;
	}
	.event_box_title h2::after {
		margin: 0;
		position: absolute;
		content: "";
		width: 1px;
		height: 200px;
		background-color: #f56868;
		margin-right: 22px;
		top: 170px;
	}
	.event03 {
		padding: 0 150px 0 46px;
		flex-direction: row;
		gap: 50px;
		margin-bottom: 150px;
	}
	.event03_box_title h2::after {
		margin: 0;
		position: absolute;
		content: "";
		width: 1px;
		height: 130px;
		background-color: #f56868;
		margin-right: 22px;
		top: 110px;
	}
	/* 御祈祷 */
	.gokitou {
		padding: 0 100px 40px 100px;
	}
	.gokitou:first-child{
		padding:0 100px 0 100px;
	}
	.gokitou_box {
		max-width: 1200px;
		margin-left: 100px;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 30px;
	}
	.gokitou_kyoutu_box {
		padding-left: 100px;
		padding-right: 0;
	}
	.gokitou_box_naiyou {
		justify-content: flex-start;
		gap:19px 13px;
	}
	.gokitou_box_naiyou li {
		width: 130px;
		padding:10px 0 10px 0;
		font-size: 19px;
	}
	.gokitou_kyoutu_box_img {
		width: 100%;
		max-width:750px;
	}
	.gokitou_kyoutu_text {
		padding: 0;
	}
	.yaku_item {
		margin-left: 100px;
	}
	.yaku_item_box {
		flex-direction: row;
		padding: 0;
	}
	.yaku_box_text_item_box {
		flex-direction: row;
	}
	.yaku_item_box_text_item_box_men {
		width: 19%;
		height: 438px;
		padding: 0;
		border-bottom:none;
		border-right:1px solid #999;
	}
	.yaku_item_box_text_item_box_men p {
		writing-mode: vertical-rl;
		letter-spacing: 30px;
	}
	.yaku_item_box_text_item_box_women {
		width: 19%;
		height: 438px;
		padding: 0;
		border-bottom:none;
		border-right:1px solid #999;
	}
	.yaku_item_box_text_item_box_women p {
		writing-mode: vertical-rl;
		letter-spacing: 30px;
	}
	.yaku_item_box_text_item_box_text {
		flex-direction: row;
		padding: 0;
		height: 438px;
	}
	.yaku_item_box_img {
		width: 70%;
		height: 100%;
	}
	.kyoutu_yaku_box {
		width: 27%;
	}
	.hon_yaku_box {
		width: 27%;
	}
/* 御守 */
	.zyuyohin_box {
		padding: 0;
	}
	.ohuda_box_img {
		width: 300px;
        height: 300px;
	}
	.omamori_box_img {
		width: 250px;
        height: 250px;
	}	
/* ACCESS */
	/* ACCESS_header */
	.access01{
		margin-bottom: 150px;
		padding: 0 50px;
	}
	.access_box {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 90px;
		align-items: center;
	}
	.access_box_item {
		gap: 50px;
	}
	.access_box_item_img {
		width: 35px;
		height: 35px;
	}
	.gmap_iframe {
		width: 88%;
		max-width:820px;
		height:530px;
		aspect-ratio: 7 / 4;
	}
	.access_box_menu_box {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin:-40px 0 0 0;
	}
/* NEWS */
	.news_item {
		width: 1150px;
		gap: 110px;
		justify-content: flex-start;
	}
	.news_item_list_img {
		width: 300px;
		height: 300px;
	}
	.news_item_list {
		width: 300px;
	}
/* NEWS_詳細 */
	.news_item_box {
		padding: 0;
	}
	.news_item_box_text {
		width: 1150px;
	}
/* 境内案内 */
	.keidai_box {
		padding: 0 120px;
	}
	.goenmairi_box {
		padding: 0 120px;
	}
	.keidai_kyoutu_box {
		justify-content:flex-start;
		gap: 25px;
	}
	.keidai01_img {
		width: 50%;
	}
	.goenmairi_text {
		padding-left: 100px;
		padding-bottom: 50px;
		padding-top: 20px;
	}
	.tyusya_box {
		padding: 0 100px;
		margin-bottom: 0px;
	}
	.tyusya_box_img_item {
		width: 59%;
	}
/* お問い合わせ */
	.contact_box {
		margin-bottom: 150px;
	}
	.contact_box_item p {
		font-size: 30px;
	}
/* add */
	.access_box_address {
		margin-top: -20px;
		font-size:19px;
		line-height:1.5;
	}
	.sp{display:none;}
	.pc{display:block;}
	
}
	
