@charset "utf-8";
/*==================================================
	タブレットのみ適応
==================================================*/
@media only screen and (max-width: 768px) and (min-width: 641px){
	.dsp_smt { display: none; }
}
/*==================================================
	タブレット・スマホに適応
==================================================*/
@media only screen and (max-width: 768px) {
	.dsp_hp { display: none; }

	/* ベースカラー*/
	#switchBtnArea #switchBtn { background: #998675; }
	#header .contact .tel a { background: #f9eed2; }
	#header .contact .btn a { background: #f9eed2; }
	#rwdMenuWrap { background: #998675; }

	/* ヘッダ */
	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		padding: 0;
		background: #fff;
		z-index: 9997;
	}
	#header h1.title {
		height: 50px;
		padding-left: 10px;
	}
	#header h1.title img {
		width: auto;
		max-height: 30px;
	}
	/* お問合せ */
	#header .contact .tel a,
	#header .contact .btn a {
		width: 46px;
		height: 50px;
		padding: 0 11px;
		box-sizing: border-box;
		/* 縦方向中央揃え */
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#header .contact .btn {
		padding-right: 46px;
		padding-left: 2px;
	}
	#header .contact .txt,
	#header .contact .tel span,
	#header .contact .btn span {
		display: none;
	}
	/* コンテナ */
	#container {
		padding-top: 50px;
	}
	#container h3.sub {
		margin-bottom: 60px;
		font-size: 23px;
	}
	#container h3.sub:before {
		bottom: -15px;
	}
	#container h3.sub02 {
		font-size: 23px;
		top: -30px;
		left: 25px;
	}
	.main {
		padding-left: 15px;
		padding-right: 15px;
	}
	#main, #navi {
		clear: both;
		padding-bottom: 30px;
	}
	/* フッター */
	#footer .footer_box {
		flex-direction: column;
	}
	#footer .box,#footer .map {
		width: 100%;
	}
	#footer .box dt {
		margin-bottom: 20px;
	}
	#footer .box dt img {
		width: 210px;
	}
	#footer p.txt {
		line-height: 1.8em;
	}
	#footer .map iframe {
		height: 250px;
	}
	#copyright {
		width: 100%;
		height: 30px;
		line-height: 30px;
		font-size: 10px;
		text-align: center;
	}
	/* パンくずリスト */
	#page_navi {
		margin-bottom: 20px;
		padding-top: 15px;
		font-size: 11px;
	}
	/* 枠のマージン・パディング */
	.mb { margin-bottom: 80px; }
	.pt { padding-top: 80px; }
	.pb { padding-bottom: 80px; }
	.mb02 { margin-bottom: 40px; }
	.pt02 { padding-top: 40px; }
	.pb02 { padding-bottom: 40px; }
	/* アンカーリンク用上部スペース */
	.pad_anchor {
		margin-top: -50px;
		padding-top: 50px;
	}
	
	.btn01 a {
		font-size: 20px;
		width: 280px;
		height: 100%;
	}
	
	/*--------------------------------------------------
		トップページ
	--------------------------------------------------*/
	#top_info {
		width: 100%;
	}
	#top_info dl {
		padding: 15px;
	}
	#top_info dl {
		font-size: 16px;
	}
	#top_msg::before {
		top: 0;
	}
	#top_msg::after {
		bottom: 0;
	}
	#top_msg .txt_box {
		width: 85%;
		margin: 0 auto;
		padding: 25px 25px 25px 80px;
	}
	#top_msg .txt_box .txt {
		font-size: 14px;
		line-height: 1.8em;
	}
	#top_guid .txt_box {
		width: 60%;
	}
	#top_guid h3.sub {
		width: 100%;
	}
	#top_guid .txt_box .waku {
		font-size: 18px;
		height: 30px;
	}
	#top_guid .txt_box table {
		width: 100%;
	}
	#top_guid .txt_box tr {
		font-size: 14px;
	}
	#top_guid .img_box {
		width: 35%;
	}
	#top_contents .contents_box .box .txt_box {
		font-size: 18px;
	}
	#top_schedule .schedule_box dl {
		position: relative;
		width: 32%;
		height: auto;
		margin: 50px 0;
	}
	#top_schedule .schedule_box dt {
		font-size: 18px;
	}
	#top_schedule .schedule_box dd {
		font-size: 22px;
	}
	#top_schedule .schedule_box dt.pt_2l {
		padding-top: 0;
	}
	#top_schedule .btn_box {
		width: 100%;
	}
	
	/*--------------------------------------------------
		サブページタイトル
	--------------------------------------------------*/
	#page_title .sub_page {
		height: 215px;
	}
	#page_title .sub_page span {
		width: 65px;
		height: 162px;
		font-size: 20px;
		margin-top: 26px;
	}
	/*--------------------------------------------------
		主なお祭り
	--------------------------------------------------*/
	#festivals .sec {
		margin-bottom: 30px;
	}
	#festivals .sec:last-of-type {
		margin-bottom: 0;
	}
	#festivals .sec h3 {
		font-size: 30px;
		width: 50px;
	}
	#festivals .sec .info {
		width: calc(100% - 80px);
	}
	#festivals .sec .info {
		padding-top: 30px;
	}
	#festivals .sec .info dl {
		margin-bottom: 30px;
	}
	#festivals .sec .info dl dt {
		line-height: 50px;
		padding-left: 20px;
		font-size: 20px;
		margin-bottom: 15px;
	}
	#festivals .sec .info dl dt .day {
		font-size: 18px;
		margin-right: 15px;
	}
	#festivals .sec .info dl dd .txt {
		font-size: 16px;
	}
	#festivals .sec .info dl dd .imgs li {
		width: 32.5%;
		margin-bottom: 1%;
	}
	#festivals .sec .info dl dd .days {
		margin-bottom: 30px;
	}
	#festivals .sec .info dl dd .days .one {
		font-size: 16px;
		width: 210px;
	}
	#festivals .sec .info dl dd .days .days_txt {
		width: calc(100% - 225px);
		font-size: 15px;
	}
	#festivals .sec .info dl dd .days .one span {
		margin-right: 15px;
	}
	/*--------------------------------------------------
		御朱印
	--------------------------------------------------*/
	#goshuincho p.txt01 {
	font-size : 23px;
}
	#goshuincho p.txt02 {
		width: 100%;
		padding: 5px 0px;
	}
	/*--------------------------------------------------
		お問い合せ
	--------------------------------------------------*/
	
	#mailform .tbl {
		border-bottom: 1px solid #BBB;
	}
	#mailform .tbl th,
	#mailform .tbl td {
		display: block;
		width: auto;
		border-bottom: none;
	}
	#mailform .tbl input[type="text"],
	#mailform .tbl textarea {
		font-size: 120%;
	}
	#mailform .btn input {
		width: 120px;
	}
	#mailform .btn {
		width: 280px;
	}

/*------------------------------------------------*/
}