div.matsurinavi_wrap{
	width: 100%;
}
ul.matsurinavi{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding-left: 0;
	margin-top: 20px;
	border-bottom: solid 1px #900700;
}
ul.matsurinavi li{
	list-style-type: none;
	text-align: center;
	margin-top: 0;
	padding: 5px 15px 4px 15px;
	border-radius: 18px;
	background-color: #ffffff;
	margin-bottom: 20px;
}
ul.matsurinavi li a{
	color: #990700;
	display: block;
}
ul.matsurinavi li.active {
	background-color: #900700;
}
ul.matsurinavi li.active a{
	color: #ffffff;
	display: block;
}
.bn_area{
	display: block;
	justify-content: center;
	flex-wrap: wrap;
}
p.to_ayakasahoko {
    margin-bottom: 0;
}
p.to_ayakasahoko a {
    display: block;
}
p.to_juyo a {
    display: block;
    width: 240px;
    height: 80px;
    text-indent: -9999999px;
    background: url(/asets/special/gionmatsuri/img/to_juyobg.jpg);
    background-repeat: no-repeat;
    background-position: 0 0;
    margin-left: 10px;
}
ul{
	padding: 0;
}
ul.mikoshi li{
	list-style-type: none;
	margin-bottom: 30px;
}
ul.mikoshi li p{
	margin-bottom: 10px;
}
div.column{
	padding: 15px;
	box-sizing: border-box;
	background-color: #EEEEDD;
    border: 1px solid #DCDCB8;
    margin-top: 30px;
}
div.column h3{
	margin-top: 10px;
	padding-bottom: 10px;
	border-bottom: solid 1px #DCDCB8;
}
div.toyamahokomap {
}
div.toyamahokomap img{
    max-width: 100%;
    height: auto;
}
div.toyamahokomap ul{
    margin:0;
}
div.toyamahokomap li {
    list-style-type: none;
}
div.toyamahokomap p {
    margin: 0;
}
div.toyamahokomap p.sakimatsuri a {
    display: block;
    background-position: 0px -17px;
}
div.toyamahokomap p.atomatsuri a {
    display: block;
    background-position: 0px -17px;
}
.arrow{
    position: relative;
    display: inline-block;
    padding: 0 16px 0 0;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.arrow::before {
    left: 46px;
    box-sizing: border-box;
    width: 6px;
    height: 6px;
    border: 6px solid transparent;
    border-left: 6px solid #7a0;
    transform: rotate(90deg);
    top: 8px;
}
.arrow::after {
    left: 48px;
    width: 8px;
    height: 6px;
    border-left: 4px solid #7a0;
    transform: rotate(90deg);
    top: -2px;
}
.dl{
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}
.dl p{
	display: inline-block;
}
.dl ul{
	display: flex;
}
.dl ul li{
	margin: 0 0 0 20px;
}

/*日程*/
h3.eventname,h3.mikoshiname{
    font-size: 2rem;
    background-color: #f3f2ed;
    padding: 0.5rem;
}
.schedule_flex{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.eventcomm {    
    line-height: 1.6;
}
.eventcomm dl div{    
    display: flex;
    flex-wrap: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px #ededed;
    align-items: center;
}
.eventcomm dl dt{
    margin: 0;
    line-height: 1.6;
    min-width: 100px;
}
.eventcomm dl dd{
    margin: 0 0 0 30px;
    line-height: 1.6;
}
.schedule_flex img{
    align-self: flex-start;
    width: 100%;
    max-width: 200px!important;
    height: auto;
    margin-left: 30px;
}
img.root_img{
    display: block;
    margin: 0 auto;
}
/*山鉾巡行*/
ul#yh_nav2{
    display: flex;
    width: 100%;
    margin: 0!important;
    margin: 0 auto;
    justify-content: center;
    border-bottom: solid 1px #cccccc;
    align-items: center;
    margin-left: -4px;
}
ul#yh_nav2 li{
    list-style-type: none;
    width: 32%;
    box-sizing: border-box;
    text-align: center;
    border: solid 1px #cccccc;
    margin:0;
    padding: 1%;
    margin-bottom: -1px;
    margin-left: 2px;
}
ul#yh_nav2 li:first-of-type{
    margin-left: 0;
}
ul#yh_nav2 li:first-of-type{
    border-left: solid 1px #cccccc;
}
ul#yh_nav2.cur li.t0{
    border-bottom: solid 1px #ffffff;
    border-top: solid 4px #900700;
    height : -webkit-calc(100% + 5px) ;
    height : calc(100% + 5px) ;
}
ul#yh_nav2.cur li.t1,ul#yh_nav2.cur li.t2{
    border-bottom: none;
    margin-bottom: -3px;
}
ul#yh_nav2.cur1 li.t0,ul#yh_nav2.cur1 li.t2{
    border-bottom: none;
    margin-bottom: -3px;
}
ul#yh_nav2.cur2 li.t0,ul#yh_nav2.cur2 li.t1{
    border-bottom: none;
    margin-bottom: -3px;
}
ul#yh_nav2.cur1 li.t1{
    border-bottom: solid 1px #ffffff;
    border-top: solid 4px #900700;
    height : -webkit-calc(100% + 5px) ;
    height : calc(100% + 5px) ;
}
ul#yh_nav2.cur2 li.t2{
    border-bottom: solid 1px #ffffff;
    border-top: solid 4px #900700;
    height : -webkit-calc(100% + 5px) ;
    height : calc(100% + 5px) ;
}
ul#yh_nav2 li a{
    display: block;
}
h3.yamahokoname{
    font-size: 2rem;
    background-color: #f3f2ed;
    padding: 0.5rem;
}
.hokoflex{
    display: flex;
    justify-content: space-between;
}
.hokoflex p.adrs{
    color: #aaaaaa;
    font-size: 1.4rem;
    margin: 5px 0 0 0;
}
.hokoflex p.dscr{
    border-bottom: solid 1px #ededed;
    padding-bottom: 10px;
}
.hokoflex .hoko_dscr{
    width: 70%;
}
.hokoflex .hoko_dscr dl div{
    display: flex;
    padding-bottom: 10px;
    align-items: center;
}
.hokoflex .hoko_dscr dl div dt{
    margin: 0;
    line-height: 1.6;
    width: 30%;
}
.hokoflex .hoko_dscr dl div dt p{
    display: inline-block;
    border-bottom: solid 2px #000000;
    padding-bottom: 5px;
}
.hokoflex .hoko_dscr dl div dd{
    margin: 0;
    width: 68%;
    line-height: 1.6;
}
.hokoflex .photo{
    width: 27%;
}
.hokoflex .photo img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.yamahoko dl dt{
    padding-bottom: 10px;
    border-bottom: solid 1px #cccccc;
}
.yamahoko dl dd{
    margin: 0 0 30px 0;
}
/*駒形*/
h3.komagata span{
    font-size: 1.6rem;
}
#komagata_list{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
#komagata_list > div.komagata_unit{
    width: 32%;
    box-sizing: border-box;
    border: solid 1px #cccccc;
    margin-bottom: 10px;
    margin-right: 2%;
}
#komagata_list > div.komagata_unit:nth-of-type(3n){
    margin-right: 0!important;
}
#komagata_list > div.komagata_unit h4{
    font-size: 1.6rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2% 0 2%;
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}
#komagata_list > div.komagata_unit img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
#komagata_list > div.komagata_unit p.gotolist{
    font-size: 1.25rem;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
    margin: 5px auto!important;
    text-align: center;
    border-radius: 4px;
    border: solid 1px #1E99D5;
    width : -webkit-calc(100% - 4%) ;
    width : calc(100% - 4%) ;
}
div.column_p.flex{
    display: flex;
    align-items: flex-start;
}
div.column_p.flex img{
    display: block;
    margin-left: 20px;
}
/*屏風祭*/
.byobu_img{
    display: flex;
    justify-content: space-between;
}
.byobumap_wrap{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.byobumap_wrap > .left{
    width: 58%;
}
.byobumap_wrap > .left dl{
    width: 100%;
}
.byobumap_wrap > .left dl dd{
    border-bottom: solid 1px #cccccc;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 10px;
    margin-left: 0;
}
.byobumap_wrap > img{
    width: 40%;
    max-width: 270px!important;
    box-sizing: border-box;
    padding-left: 20px;
    display: block;
}
/*授与品*/
#juyo_list{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
#juyo_list > div.juyo_unit{
    width: 32%;
    box-sizing: border-box;
    border: solid 1px #cccccc;
    margin-bottom: 10px;
    margin-right: 2%;
}
#juyo_list > div.juyo_unit:nth-of-type(3n){
    margin-right: 0!important;
}
#juyo_list > div.juyo_unit h4{
    font-size: 1.8rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2% 0 2%;
    margin-top: 10px!important;
    margin-bottom: 10px!important;
    border-bottom: solid 1px #cccccc;
    box-sizing: border-box;
    padding-bottom: 8px;
}
#juyo_list > div.juyo_unit h4 span{
    font-size: 1.4rem;
}
#juyo_list > div.juyo_unit h5{
    margin: 0;
    box-sizing: border-box;
    padding: 8px;
    border-top: solid 1px #cccccc;
    font-size: 1.4rem;
}
#juyo_list > div.juyo_unit h5 span{
    margin: 0;
    box-sizing: border-box;
    border: solid 1px #cccccc;
    padding: 5px;
    display: inline-block;
    border-radius: 4px;
}
#juyo_list > div.juyo_unit img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
#juyo_list > div.juyo_unit p{
    margin: 0;
    box-sizing: border-box;
    padding: 0 8px;
}
.aya_item_flex{
    display: flex;
    justify-content: center;
}
.aya_item_flex img{
    width: 48%;
    max-width: 100%;
    height: auto;
    max-width: 280px!important;
}
.aya_item_flex img:last-of-type{
    margin-left: 4%;
}
a.ayakasabn{
    display: block;
    margin: 0 auto;
    text-align: center;
}
a.ayakasabn img{
    max-width: 100%;
}
table.bofurisch {
    border-collapse: collapse;
    width: calc(100% - 28px );
    border: solid 1px #cccccc;
    font-size: 14px;
}
table.bofurisch tbody{
    border-top: 1px solid #ccc;
}
table.bofurisch tbody{
    border-top: 1px solid #ccc;
}
table.bofurisch tr th.day {
    background-color: #eeeeee;
    text-align: center;
}
table.bofurisch tr td,
table.bofurisch tr th {
    padding: 10px;
    border-right: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
    text-align: left;
}
@media screen and (max-width: 600px) {
    #content .section {
    margin: 2rem auto 4rem;
    padding: 0;
    }
    h1{
        font-size: 2.4rem!important;
    }
    #content .singleContent .cont_header{
        margin: 2rem auto 3rem;
    }
    h2{
        font-size: 1.8rem;
        margin: 2.5rem 0 1.5rem;
    }
    h3{
        font-size: 1.6rem!important;
        margin: 2.5rem 0 1.5rem;
    }
    h4{
        font-size: 1.6rem!important;
        margin: 2.5rem 0 1.5rem;
    }
    #content p {
    font-size: 1.4rem!important;
    }
    div.column h3 {
    margin-bottom: 0!important;
    }
    ul#yh_nav2 li a{
        font-size: 70%;
    }
    .schedule_flex{
        display: block;
    }
    .schedule_flex img{
        width: 100%;
        max-width: 100%!important;
        height: auto;
        margin-left: 0;
    }
    /*日程*/
    .eventcomm {
    font-size: 1.4rem;
    }
    .hokoflex{
        display:block;
    }
    .hokoflex .hoko_dscr{
        width: 100%;
    }
    .hokoflex .photo{
        width: 100%;
    }
    .hokoflex .hoko_dscr dl div{
        display: block;
        padding-bottom: 10px;
    }
    .hokoflex .hoko_dscr dl div dt{
        width: 100%;
    }
    .hokoflex .hoko_dscr dl div dd{
        width: 100%;
    }
    .hokoflex .hoko_dscr dl div dt p{
        margin: 0;
        padding-bottom: 0;
    }
    .hokoflex .hoko_dscr dl div dd p{
        margin: 5px 0 0 0;
        padding-bottom: 0;
    }
    h3.komagata span{
        font-size: 1.3rem;
    }
    #komagata_list > div.komagata_unit{
        width: 48%;
        box-sizing: border-box;
        border: solid 1px #cccccc;
        margin-bottom: 10px;
        margin-right: 2%;
    }
    #komagata_list > div.komagata_unit:nth-of-type(2n){
        margin-right: 0!important;
    }
    #komagata_list > div.komagata_unit:nth-of-type(3n){
        margin-right: 2%!important;
    }
/*御輿*/
    .mikoshiroot dl dt {
        margin-bottom: 10px!important;
    }
    .mikoshiroot dl dt h3{
        margin-bottom: 5px!important;
    }
    .mikoshiroot dl dd{
        font-size: 1.4rem!important;
    }
/*山鉾一覧*/
    p.dscr{
        margin-top: 5px;
    }
    .yamahoko dl{
        font-size: 1.4rem;
    }
    .yamahoko dl dt{
        margin-bottom: 10px;
    }
/*屏風祭*/
    .byobu_img{
        display: block;
        justify-content: space-between;
    }
    .byobumap_wrap{
        display: block;
        justify-content: space-between;
        align-items: flex-start;
    }
    .byobumap_wrap > .left{
        width: 100%;
    }
    .byobumap_wrap > .left dl{
        width: 100%;
    }
    .byobumap_wrap > .left dl dd{
        border-bottom: solid 1px #cccccc;
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 10px;
    }
    .byobumap_wrap > img{
        width: 270px;
        margin: 0 auto;
    }
/*授与品*/
    #juyo_list > div.juyo_unit{
        width: 48%;
        box-sizing: border-box;
        border: solid 1px #cccccc;
        margin-bottom: 10px;
        margin-right: 2%;
    }
    #juyo_list > div.juyo_unit:nth-of-type(2n){
        margin-right: 0!important;
    }
    #juyo_list > div.juyo_unit:nth-of-type(3n){
        margin-right: 2%!important;
    }
    div.column_p.flex{
        display: block;
    }
    div.column_p.flex img{
        margin-left: 0;
    }
}
@media screen and (max-width: 400px){
    #komagata_list > div.komagata_unit{
        width: 100%;
        box-sizing: border-box;
        border: solid 1px #cccccc;
        margin-bottom: 10px;
        margin-right: 0;
    }
    #komagata_list > div.komagata_unit:nth-of-type(2n){
        margin-right: 0!important;
    }
    #komagata_list > div.komagata_unit:nth-of-type(3n){
        margin-right: 0!important;
    }
    #juyo_list > div.juyo_unit{
        width: 100%;
        box-sizing: border-box;
        border: solid 1px #cccccc;
        margin-bottom: 10px;
        margin-right: 0;
    }
    #juyo_list > div.juyo_unit:nth-of-type(2n){
        margin-right: 0!important;
    }
    #juyo_list > div.juyo_unit:nth-of-type(3n){
        margin-right: 0!important;
    }
}
ul.gosyuin_list > li{
    display: flex;
    flex-wrap: nowrap;
    border-bottom: solid 1px #D3D3D3;
    margin-top: 50px;
    padding-bottom: 30px;
}
ul.gosyuin_list > li > .gosyuin_img{
    margin-right: 20px;
    width: 30%;
    max-width: 120px;
    min-width: 80px;
} 
ul.gosyuin_list > li > .gosyuin_dscr > h3{
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0;
}
ul.gosyuin_list > li > .gosyuin_dscr > p{
    font-size: 1.6rem;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.4!important;
}
ul.gosyuin_list > li > .gosyuin_dscr > .price{
    font-size: 2.4rem;
}
ul.gosyuin_list > li > .gosyuin_dscr > .price > span{
    font-size: 1.6rem;
}
ul.gosyuin_list > li > .gosyuin_dscr > ul > li{
    list-style-type: none;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0;
}
.a_to_bass{
  display: block;
}
.gosyuin_mihiraki{
  margin-bottom: 30px;
}
@media screen and (max-width: 600px){
  ul.gosyuin_list > li > .gosyuin_dscr > ul.size{
      margin-top: 0;
  }
  ul.gosyuin_list > li > .gosyuin_dscr > ul > li{
      list-style-type: none;
      line-height: 1.4;
      margin-bottom: 0;
      font-size: 1.4rem;
  }
}