/* =======================================================================
   共通項目
========================================================================== */
html {
	font-size: 10px;
}

body {
	font-family: "yu-mincho-pr6n", serif;
	font-weight: 400;
	font-style: normal;
	line-height: 1.7;
	box-sizing: border-box;
	font-family: "fot-tsukuardgothic-std", sans-serif;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

.horizontal_center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* JavaScriptで、.drop-menu-item aに「is-active」クラスを付加して、display: block;で非表示の状態を表示させる */
.drop-menu-item.is-active {
	display: block;
}


@media (max-width:1023px) {
	.pc_only {
		display: none;
	}
}

@media (min-width:1024px) {
	.sp_only {
		display: none;
	}
}


/* ========== バーガーメニュー ========== */
.drawer-hidden {
	display: none;
}

.drawer-open {
	background-color: rgba(240, 145, 153, 0.8);
	display: flex;
	right: 10px;
	top: 10px;
	height: 70px;
	width: 70px;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 1000;
	cursor: pointer;
}

/* バーガーメニューのアイコン */
.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
	content: '';
	position: absolute;
	display: block;
	height: 3px;
	width: 35px;
	border-radius: 3px;
	background: #fff;
	transition: 0.3s;
}

/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
	bottom: 12px;
}

/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
	top: 12px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer-check:checked~.drawer-open span {
	background-color: rgba(240, 145, 153, 0);
}

#drawer-check:checked~.drawer-open {
	background-color: rgba(240, 145, 153, 0.8);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer-check:checked~.drawer-open span::before {
	bottom: 0;
	transform: rotate(45deg);
}

#drawer-check:checked~.drawer-open span::after {
	top: 0;
	transform: rotate(-45deg);
}

/* メニューのデザイン*/
.drawer-content {
	width: 70vw;
	height: 100vh;
	position: fixed;
	top: 0;
	right: -70vw;	/* メニューを画面の外に飛ばす */
	z-index: 999;
	background: rgba(0, 0, 0, 0.7);
	transition: 0.3s;
	color: #fff;
	padding: 25px;
	overflow-y: scroll;
}

.drawer-content-block {
	font-size: 1.6rem;
}

.drawer-list span {
	display: block;
	font-size: 2rem;
	margin-bottom: -10px;
}

.drawer-list li a {
	display: block;
	margin: 15px 15px 5px 15px;
	color: #fff;
	border-bottom: 1px dashed rgba(240, 145, 153, 0.8);
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.drawer-list li a:hover {
	background: rgba(240, 145, 153, 0.8);

}

.drawer-list-category {
	margin-bottom: 30px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked~.drawer-content {
	right: 0;
	/* メニューを画面に入れる */
}






/* =======================================================================
   index.html
========================================================================== */


/* ヘッダー部 */
.top_img {
	margin: 1.5vw auto;
	width: 97vw;
	height: 85vh;
	background-image: url(../img/top-img.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 70px;
}

.header {
	display: flex;
	justify-content: space-around;
	margin-bottom: 7%;
}

.header_img {
	width: 25%;
	min-width: 200px;
}

.header_img img {
	width: 90%;
	min-width: 200px;
}

.header_menu {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: clamp(1.6rem, 1vw + 1rem, 2.2rem);
	font-weight: bold;
	color: #7F7160;
	position: relative;
	top: 50%;
}

.header_menu_list a {
	margin-right: 2em;
	transition: 0.3s;
}

.header_menu_list a:hover {
	color: #F27979;
	opacity: 0.7;
}

/* コンテンツ全体 */
.contents {
	margin: 0 auto;
	padding: 0 15px 0 15px;
	width: 1280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #7F7160;
}


/* お知らせ部 */
.news {
	margin-bottom: 7%;
}

.news_title img {
	width: 75%;
	margin-bottom: 7%;
}

.news_contents {
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.news_contents_topics {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 4%;
}

.news_contents_topic {
	width: 100%;
	display: flex;
	justify-content: center;
	font-size: clamp(1.2rem, 1vw + 1rem, 2.0rem);
	padding: 0 1em 1em 1em;
}


.news_contents_topic_day {
	white-space: nowrap;
}


.news_contents_topic_category img {
	width: 95px;
	margin: 0 1em;
}

.news_contents_other {
	width: 20%;
	display: flex;
	flex-direction: column;
}

.news_contents_other_sns {
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

.news_contents_other_sns a {
	width: 60px;
	transition: 0.3s;
}

.news_contents_other_sns a:hover {
	transform: scale(1.2);
	opacity: 0.7;
}

.news_contents_other_sns img {
	width: 60px;
	margin-bottom: 15px;
}

.news_contents_other_lsitpage {
	display: flex;
	justify-content: left;
}

.news_contents_other_lsitpage a {
	transition: 0.3s;
}

.news_contents_other_lsitpage a:hover {
	transform: translateY(25px);
}

.news_contents_other_lsitpage img {
	width: 180px;
}


/* 社紋 */
.shamon_img {
	margin-bottom: 7%;
}

.shamon_img img {
	width: 100px;
}


/* メインコンテンツ部 */
.main_contents {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin-bottom: 7%;
	background-image: url(../img/decoration_mizuhiki.png);
	background-repeat: no-repeat;
	background-size: cover;
}

.main_contents_block {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 500px;
}

.main_contents_block_img img {
	width: 100%;
}

.main_contents_block_text p {
	text-align: center;
	padding: 5px;
	font-size: clamp(2.0rem, 1vw + 1rem, 2.4rem);
}

.main_contents_block_text span {
	font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
	margin-bottom: 4%;
	height: 120px;
}

.main_contents_block_button img {
	width: 480px;
}

.main_contents_block_button a {
	transition: 0.3s;
	border-radius: 50px;
}

.main_contents_block_button a:hover {
	background-color: #ffcccc;
	opacity: 0.5;
}

.main_contents_juyohin {
	margin-left: 50px;
}


/* サブコンテンツ部 */
.sub_contents {
	width: 100%;
	height: auto;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	justify-content: center;
	align-items: center;
	margin-bottom: 7%;
}

.sub_contents a {
	transition: 0.3s;
}

.sub_contents a:hover {
	transform: scale(1.1);
}

.sub_contents_block_text p {
	text-align: center;
	font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
}

.sub_contents_block_img {
	display: flex;
	justify-content: center;
}

.sub_contents_block_img img {
	width: 320px;
}


/* ご祈祷問い合わせ */
.otoiawase_annai {
	background-image: url(../img/gokitou_otoiawase.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	height: 275px;
	margin-bottom: 7%;
	/* display: flex;
	justify-content: center;
	align-items: center;
	font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
	font-weight: bold;
	transition: 0.3s; */
}

/* .otoiawase_annai:hover {
	background-image: url(../img/gokitou_otoiawase_hover.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
	width: 100%;
	height: 250px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
	font-weight: bold;
	margin-bottom: 7%;
} */


/* ご祈祷部 */

.gokitou_uketsuke {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom:7%;
}

.gokitou_uketsuke_text {
	width: 50%;
}

.gokitou_uketsuke_text p {
	font-size: clamp(2.0rem, 1vw + 1rem, 2.4rem);
	font-weight: bold;
}

.gokitou_uketsuke_text span {
	font-size: clamp(1.6rem, 1vw + 1rem, 1.8rem);
	padding-left: 1em;
}

.gokitou_uketsuke_text a {
	transition: 0.3s;
	font-weight: bold;
}

.gokitou_uketsuke_text a:hover {
	display: block;
	color: #F27979;
	transform: translateX(25px);
}

.gokitou_uketsuke_img {
	width: 50%;
	margin-left: 5%;
}

.gokitou_uketsuke_img img {
	width: 100%;
}


/*　===== レスポンシブ対応 ===== */
@media (max-width:1280px) {
	.contents {
		width: 100%;
	}

	.main_contents_block {
		width: 450px;
	}
	
	.main_contents_block_button img {
		width: 430px;
	}

	.gokitou_uketsuke {
		flex-direction: column;
	}

	.gokitou_uketsuke_text {
		width: 100%;
		margin-bottom: 4%;
	}

	.gokitou_uketsuke_img {
		width: auto;
		margin-left: 0;
	}

	.gokitou_uketsuke_img img {
		max-height: 400px;
	}

}

@media (max-width:1024px) {
	.news_contents {
		display: flex;
		flex-direction: column;
	}

	.news_contents_topic {
		width: 100%;
	}

	.news_contents_other {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}

	.news_contents_other_lsitpage {
		margin-left: 30px;
	}

	.news_contents_other_sns {
		margin: 0;
	}

	.main_contents {
		flex-direction: column;
		align-items: center;
	}

	.main_contents_juyohin {
		margin: 4% 0 0 0;
	}

	.main_contents_block_text span {
		height: auto;
	}

	.main_contents_block {
		width: 90%;
	}
	
	.main_contents_block_button img {
		width: 100%;
	}
}

@media (max-width:649px) {
	.top_img {
		width: 100vw;
	}

	.header {
		justify-content: center;
	}

	.news_contents_topic {
		display: flex;
		flex-direction: column;
	}

	.news_contents_topic_category img  {
		margin: 0;
	}

}





/* =======================================================================
   2ndページのフッター
========================================================================== */
.second_header_img {
	width: 25%;
	min-width: 200px;
}

.second_header_img img {
	width: 90%;
	min-width: 200px;
}

footer.second{
    width:100%;
    margin:40px 0;
    padding:0;
}
footer.second .footer-img{
    height:200px;
    background:url(../img/second-footer-img.jpg) no-repeat center center;
    background-size: cover;
    opacity: 0.7;
    padding:40px 0;
}
footer.second .footer-contents{
    width:1100px;
    display: flex;
	justify-content: space-between;
	align-items: flex-start;
    padding:40px 0;
    margin:0 auto;
}
.footer_menu{
    margin-left:20px;
}
footer.second ul.footer_menu_list{
    display: flex;
	justify-content:flex-start;
    align-items:flex-start;
    flex-wrap: wrap;
}
footer.second ul.footer_menu_list > li{
    font-size: 1.8em;
    margin:10px;
    box-sizing: border-box;
    width:240px;
}
footer.second ul.footer_menu_list > li a{
    border-bottom:2px solid #f4b3c2;
}
footer.second ul.footer_menu_list li > ul li a{
    font-size: 0.9em;
    border-bottom:#7F7160 dashed 1px;
}

footer.second ul.footer_menu_list li > ul li a:hover{
    color:#f4b3c2;
    border-bottom: #f4b3c2 dashed 1px;
}


@media (max-width: 1100px){
    footer.second .footer-contents{
    width:92%;
}
    footer.second ul.footer_menu_list > li{
    width:200px;
}
}

@media (max-width: 414px){
    .footer_menu{
    margin-top:20px;
}
    footer.second .footer-contents{
    display: inherit;
}
    footer.second ul.footer_menu_list > li{
    font-size: 1.4em;
    margin:5px;
    box-sizing: border-box;
    width:44%;
}

}
