h2.obon{
	box-sizing: border-box;
	padding: 10px 10px 10px 10px;
	background-color: #113D62;
	color: #ffffff;
}
h2.obon span:first-of-type{
	box-sizing: border-box;
	background-color: #113D62;
	padding-bottom: 5px;
	border-bottom: solid 1px #ffffff;
	display: block;
	font-size: 16px;
}
h2.obon.secound_event span:first-of-type{
	box-sizing: border-box;
	background-color: #113D62;
	padding-bottom: 5px;
	border-bottom: solid 1px #ffffff;
	display: block;
	font-size: 2.8rem;
}
h2.obon span:last-of-type{
	padding-top: 5px;
	display: block;
}
h2.obon#mokuji{
	font-size: 1.8rem;
	color: #ffffff;
	margin-bottom: 0!important;
}
h3{
	border-bottom: solid 1px #000000;
	padding-bottom: 5px;
}
h3 a{
	color: #000000;
}
h3 a span{
	color: #1E99D5;
}
h3 span{
	display: inline-block;
	font-size: 1.6rem;
	margin-left: 10px;
}
#event_list{
	padding: 15px;
	box-sizing: border-box;
	border: solid 1px #1E99D5;
}
#event_list li{
	list-style-type: none;
	font-size: 1.4rem;
}
p.okuribi_date{
	padding-bottom: 5px;
	border-bottom: solid 1px #113D62;
	font-size: 2.4rem;
	text-align: center;
}
.photo_on > div{
	display: flex;
	justify-content: space-between;
}
.photo_on > div img{
	margin-top: 15px;
	margin-left: 20px;
	box-sizing: border-box;
}
.photo_on > dl > div {
	margin-top: 10px;
	display: flex;
	padding-bottom: 5px;
	border-bottom: solid 1px #dddddd;
}
.photo_on > dl > div dt{
	margin: 0!important;
	line-height: 1.6;
}
.tomakairokudo{
	text-align: center;
}
#map{
	text-align: center;
}
#map > img{
	max-width: 100%;
	height: auto;
}
#shoko{
	padding: 15px;
	box-sizing: border-box;
	border: solid 1px #E9EDD4;
	background-color: #F7F9EE;
}
#shoko h4{
	margin-top: 1rem;
}
p#sonota_event{
	text-align: center;
}
#sonota_event a{
	display: inline-block;
	padding: 5px 10px 4px 10px;
	background-color: #5315CC;
	color: #ffffff;
	border-radius: 4px;
}
@media screen and (max-width: 600px){
h1{
    font-size: 2.4rem!important;
}
#content .singleContent .cont_header{
    margin: 2rem auto 3rem;
}
h2.obon{
    font-size: 1.8rem!important;
    margin: 2.5rem 14px 1.5rem 14px!important;
}
h3{
    font-size: 1.6rem!important;
    margin: 2.5rem 0 1.5rem!important;
}
h4{
    font-size: 1.6rem!important;
    margin: 2.5rem 0 1.5rem!important;
}
h2.obon{
	box-sizing: border-box;
	padding: 5px 5px 3px 5px;
}
h2.obon span:first-of-type {
    font-size: 1.2rem!important;
}
h2.obon.secound_event span{
	font-size: 1.6rem!important;
	border: none!important;
}
p{
	font-size: 1.4rem!important;
}
.time{
	font-size: 1.4rem!important;
}
h3{
	box-sizing: border-box;
	padding: 5px 20px 3px 10px;
}
.photo_on > dl > div dt,
.photo_on > dl > div dd {
    font-size: 1.4rem!important;
}
}

@media screen and (max-width: 400px){

.g_body_wrap > .g_img > ul > li{
	list-style-type: none;
	width: 49%;
	margin-right: 2%;
}
.g_body_wrap > .g_img > ul > li:nth-of-type(4n){
	margin-right: 2%!important;
}
.g_body_wrap > .g_img > ul > li:nth-of-type(3n){
	margin-right: 2%!important;
}
.g_body_wrap > .g_img > ul > li:nth-of-type(2n){
	margin-right: 0!important;
}
}