@charset "utf-8";
/*==================================================
	スマホのみに適用
==================================================*/
@media only screen and (max-width: 640px){
	body { font-size: 85%; }
	.dsp_hp, .dsp_hpt { display: none; }

	/* コンテナ */
	#wrap, #footer {
		min-width: 320px;
	}
	#container h3.sub {
		margin-bottom: 50px;
		font-size: 20px;
		letter-spacing: 2.3px;
	}
	#container h3.sub02 {
		font-size: 20px;
		left: 15px;
	}
	#container h3.sub02::before {
		height: 150px;
	}
	/* フッター */
	#footer .box {
		padding: 30px;
	}
	#footer .box dt img {
		width: 180px;
	}
	#footer p.txt {
		font-size: 14px;
	}
	#footer .transportation dl {
		font-size: 14px;
		letter-spacing: 2.3px;
	}
	#copyright {
		height: auto;
		line-height: 1.6;
		padding: 5px 0;
	}
	/* 枠のマージン・パディング */
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
	.mb02 { margin-bottom: 30px; }
	.pt02 { padding-top: 30px; }
	.pb02 { padding-bottom: 30px; }
	/*--------------------------------------------------
		トップページ
	--------------------------------------------------*/
	#top_info dl {
		font-size: 14px;
		letter-spacing: 2.3px;
	}
	#top_msg .txt_box {
		width: 100%;
		padding: 15px 15px 15px 60px; 
	}
	#top_guid .txt_box .waku {
		font-size: 16px;
		margin: 0 auto 20px;
	}
	#top_guid .txt_box {
		width: 100%;
	}
	#top_contents .contents_box .box {
		width: calc(100% / 2);
	}
	#top_contents .contents_box .box .txt_box {
		font-size: 14px;
		min-height: 25px;
	}
	#top_guid .img_box {
		width: 80%;
		margin: 30px auto;
	}
	#top_schedule .schedule_box dl {
		width: 48%;
		margin: 60px 0;
	}
	#top_schedule .schedule_box dl::before {
		width: 150px;
	}
	#top_schedule .schedule_box dt {
		font-size: 14px;
	}
	#top_schedule .schedule_box dd {
		font-size: 18px;
	}
	#top_schedule .schedule_box dd span {
		font-size: 14px;
	}
	#top_schedule .btn_box {
		flex-direction: column;
	}
	#top_schedule .btn_box .btn01 {
		text-align: center;
	}
		@media only screen and (max-width: 320px) {
			#top_schedule .schedule_box dl {
				margin: 40px 0;
			}
			#top_schedule .schedule_box dl::before {
				width: 130px;
			}
	}
	/*--------------------------------------------------
		主なお祭り
	--------------------------------------------------*/
	#festivals .sec {
		margin-bottom: 20px;
	}
	#festivals .sec h3 {
		-ms-writing-mode: unset;
		writing-mode: unset;
		width: auto;
		padding: 5px;
		border-bottom: 1px solid #EB5C3C;
		font-size: 25px;
	}
	#festivals .sec h3:before {
		display: none;
	}
	#festivals .sec .info {
		width: 100%;
	}
	#festivals .sec .info dl dt {
		font-size: 18px;
		line-height: 1.8;
		padding: 10px 0 10px 15px;
	}
	#festivals .sec .info dl dt .day {
		font-size: 16px;
	}
	#festivals .sec .info dl dd .imgs li {
		width: 49%;
		margin-bottom: 2%;
	}
	#festivals .sec .info dl dd .txt {
		font-size: 15px;
	}
	#festivals .sec .info dl dd .days .days_txt {
		width: 100%;
	}

	/*--------------------------------------------------
		御朱印
	--------------------------------------------------*/
	#goshuincho p.txt01 {
		font-size : 20px;
		letter-spacing: 2.3px;
	}
	#goshuincho p.txt02 {
		font-size : 18px;
		line-height: 1.5;
	}
	#goshuincho p.img_yoko {
		width: 90%;
		margin: 0 auto;
	}
	#goshuincho p.img_tate {
		width: 65%;
		margin: 0 auto;
	}
	/*--------------------------------------------------
		サブページ
	--------------------------------------------------*/
	
/*------------------------------------------------*/
}
