@charset "UTF-8";
/* コンテンツ */

.bg1 {
    position: relative;
    background-color: #ffe511;
    background-image: url("../img/bg1.webp");
    background-position: center top;
    background-size: 100% auto;
    overflow: hidden;
}
.bg1_top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.bg_town {
    position: absolute;
    left: 0;
    bottom: -2em;
    width: 100%;
    text-align: center;
}
.bg_town img {
    width: 70%;
    max-width: 1000px;
}

.main_title {
    width: 70%;
    margin: -1em auto 1em;
}

.event {
    margin-bottom: 10em;
}
.event img {
    width: 95%;
}
.event ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.event ul li {
    text-align: center;
    /*filter: drop-shadow(0 0 20px rgba(0,0,0,0.2));*/
}
.event ul li:nth-child(1) {
    width: 50%;
}
.event ul li:nth-child(2) {
    width: 45%;
}
.event ul li:nth-child(3) {
    width: 45%;
}
.event ul li:nth-child(4) {
    width: 45%;
}
.event ul li:nth-child(5) {
    width: 40%;
}
.event ul li:nth-child(6) {
    width: 40%;
}
.event ul li:nth-child(7) {
    width: 40%;
}
.event ul li:nth-child(8) {
    width: 35%;
}

.tx1 {
    padding: 3em;
    line-height: 0;
}
.tx1 img {
    width: 100%;
    max-width: 800px;
}

.bg2 {
    position: relative;
    background-color: #def1fc;
    background-image: url("../img/bg2.webp");
    background-position: left top;
    background-size: 50% auto;
    background-repeat: no-repeat;
    overflow: hidden;
}

.area_map {
    position: relative;
}
.area_map section img {
    width: 100%;
}
.swipe {
    display: none;
}

.tx2 {
    margin-bottom: 2em;
}
.tx3 {
    width: 40%;
    margin: 0 auto 4em;
}
.copy_tx {
    line-height: 1.7;
}
.copy_tx h2 {
    color: #245c96;
    font-size: 1.32em;
    margin-bottom: 1em;
}
.copy_tx h3 {
    color: #e4007f;
    font-size: 1.6em;
}

.map_img {
    position: relative;
    z-index: 1;
    width: 800px;
    margin: 0 auto 0.5em;
}
.map_img img {
    width: 100%;
}

.leaflet-container {
	background: #def1fc !important;
	outline-offset: 0 !important;
}
/*.leaflet-left .leaflet-control {
  margin-left: 0 !important;
}
.leaflet-top .leaflet-control {
  margin-top: 0 !important;
}*/

.carnavi {
    width: 800px;
    margin: 0 auto;
}

.tx5 {
    margin-bottom: 3em;
}

.maker {
    pointer-events: none;
    margin-bottom: 3em;
}
.maker img {
    width: 100%;
}
.maker ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: -2em;
}
.maker ul li {
    box-sizing: border-box;
    padding: 0 10px;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    width: 222px;
    margin-left: -1px;
    margin-bottom: 2em;
}

.outline {
    font-size: 0.84em;
    line-height: 1.7;
}

@media screen and (max-width: 1490px) and (min-width: 1260px) {
    .maker {
        margin-left: 9%;
        margin-right: 9%;
    }
}

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

.main_title {
    width: 80%;
    margin: -1em auto 1em;
}

.bg_town {
    bottom: -2vw;
}
.bg_town img {
    width: 90%;
    max-width: none;
}

.event {
    margin-bottom: 20vw;
}

.tx1 {
    padding: 2em 2.5em;
    line-height: 0;
}
.tx1 img {
    width: 100%;
    max-width: 700px;
}

.tx2 {
    margin-bottom: 2em;
}
.tx3 {
    width: 60%;
    margin: 0 auto 3em;
}
.copy_tx {
    line-height: 1.7;
}
.copy_tx h2 {
    font-size: 1.32em;
    margin-bottom: 1em;
}
.copy_tx h3 {
    font-size: 1.4em;
    margin-bottom: 1em;
}

.map_img {
    width: 100%;
}
.carnavi {
    width: 100%;
}

.maker {
        margin-left: 0;
        margin-right: 0;
    }
}


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

.main_title {
    width: 90%;
    margin: -1em auto 1em;
}
.event img {
    width: 90%;
}
.event ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.event ul li:nth-child(1) {
    width: 90%;
    text-align: right;
    margin-bottom: 1em;
}
.event ul li:nth-child(2) {
    width: 90%;
    text-align: left;
    margin-bottom: 0.5em;
}
.event ul li:nth-child(3) {
    width: 80%;
    text-align: right;
}
.event ul li:nth-child(4) {
    width: 90%;
    text-align: left;
    margin-bottom: 1em;
}
.event ul li:nth-child(5) {
    width: 85%;
    text-align: right;
}
.event ul li:nth-child(6) {
    width: 80%;
    text-align: left;
}
.event ul li:nth-child(7) {
    width: 80%;
    text-align: right;
    margin-bottom: 1em;
}
.event ul li:nth-child(8) {
    width: 75%;
    text-align: left;
}

.area_map section {
    overflow: auto;
}
.area_map section img {
    width: 750px;
}
.swipe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.swipe img {
    width: 70px;
}

.tx2 {
    margin-bottom: 2em;
}
.tx3 {
    width: 60%;
    margin: 0 auto 2em;
}
.copy_tx {
    line-height: 1.7;
}
.copy_tx h2 {
    font-size: 1.16em;
    margin-bottom: 1em;
}
.copy_tx h3 {
    font-size: 1.32em;
    margin-bottom: 1em;
    line-height: 1.6;
}

.maker {
    pointer-events:auto;
}
.maker img {
    width: 100%;
}
.maker ul {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: -2em;
}
.maker ul li {
    padding: 0 10px;
    border-left: 1px solid #333;
    border-right-width: 0;
    width: 50%;
    margin-left: 0;
    margin-bottom: 2em;
}
.maker ul li:nth-child(even), .maker ul li:last-child {
    border-right: 1px solid #333 !important;
}

}
