/* CSS */

/*  ---------- from ---------- */

.form_title {
    font-size: 150%;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px 0;
    border-radius: 50px;
    margin-bottom: 50px;
}

/* -------- swiper ------- */
.swiper-slide img{
    width: auto;
    height: 480px!important;
    margin: 0 auto;
    object-fit:contain;
}

.swiper-thumbs img {
    width: auto;
    height: auto!important;
}

.main_box .swiper-container {
    margin: 30px 0;
    width: 100%;
    height: 100%;
    padding-bottom: 15px;
}
.main_box .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f5f4ef;
    /* Center slide text vertically */
    display: flex;
    align-items: center;
    width: auto;
    margin-bottom: 30px;
    padding: 30px;
    box-sizing: border-box;
    overflow:hidden;
}

.main_box .swiper-thumbs .swiper-slide {
    padding: 0;
    margin-bottom: 0;
}

.main_box .swiper-container-horizontal > .swiper-pagination-bullets{
    bottom:0;
}





/*  ---------- .tochi ---------- */

.tochi .main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tochi .main .visual {
    width: 57%;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.tochi .main .right_box {
    width: 40%;
}

.tochi .main .right_box table{
    width:100%;
    font-size: 13px;
}

.tochi .main .right_box table tr{
    border-bottom:1px dotted #000;
}
.tochi .main .right_box table td{
    padding-bottom:5px

}
.tochi .main .right_box table th{
}
.tochi .main .right_box table td{
    text-align:right;
    width:5em;
}

.tochi .main .right_box .map iframe {
    width: 100%;
}

/* ----- table info ----- */

#event.sub section#subContainer div.main_box .tochi .tochi_info {
    width: 100%;
    margin-top:30px;
    border-top: 1px dotted #ccc;
}


#event.sub section#subContainer div.main_box .tochi .tochi_info table{
    margin-top:30px;
	width: 100%;
}

#event.sub section#subContainer div.main_box .tochi .tochi_info table th {
    background: #f5f4ef;
    padding: 5px 10px;
    width: 10%;
}

#event.sub section#subContainer div.main_box .tochi .tochi_info table tr {
    border: 3px solid #fff;
}

#event.sub section#subContainer div.main_box .tochi .tochi_info table td {
    padding: 0 20px;
}

#event.sub section#subContainer div.main_box .tochi .tochi_info table td span {
    color: #d8356c;
    font-size:120%;
    font-weight: bold;
}

.sub section#subContainer div.main_box .tochi .tochi_info h3 {
    text-align: left;
    margin: 10px 0 10px;
    font-size: 22px;
}

.sub section#subContainer div.main_box .tochi .tochi_info > p {
    line-height: 2;
}

.tochi .main .visual .img_box{
    margin: 0 auto;
    padding: 25px 60px;
    background: #f5f4ef;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}




/* ---- .other_box ----- */

.sub section#subContainer div.main_box .tochi .other_box ul li {
    position: relative;
    padding: 5px 0 5px  20px;
}

.sub section#subContainer div.main_box .tochi .other_box ul li::before {
    content: "ÃƒÂ¢Ã¢â‚¬â€œÃ‚Â¶ÃƒÂ¯Ã‚Â¸Ã…Â½";
    font-size: 80%;
    position: absolute;
    left: 0;
    color: #d8356c;
}

.sub section#subContainer div.main_box .other_box .flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.sub section#subContainer div.main_box .other_box .flex > div {
    width: 48%;
}

.sub section#subContainer div.main_box .right_box h4 {
    border: none;
    text-align: center;
    margin: 0;
	color: #fff;
    background: #588105;
    font-size: 100%;
    line-height: 1em;
    padding: 5px;
    font-weight: bold;
    margin: 20px 0 10px;
}


/* ---- title ----- */

#event.sub section#subContainer div.main_box .tochi .right_box h3 {
    box-sizing: border-box;
    position: relative;
    padding: 10px 30px;
    display: block;
    margin:0 0 20px;
}

#event.sub section#subContainer div.main_box .tochi .right_box h3::before {
    border-left: solid 2px #000000;
    border-top: solid 2px #000000;
    top: 0;
    left: 0;
}

#event.sub section#subContainer div.main_box .tochi .right_box h3::after {
    border-right: solid 2px #000000;
    border-bottom: solid 2px #000000;
    bottom: 0;
    right: 0;
}


#event.sub section#subContainer div.main_box .tochi .right_box h3::before, #event.sub section#subContainer div.main_box  .tochi  .right_box h3::after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
}

#event.sub section#subContainer div.main_box .tochi .right_box h3 span{
    color: #d8356c;
}


@media screen and (max-width: 959px) {
    #event.sub section#subContainer div.main_box .tochi .right_box h3 {
        font-size:180%;
    }
    .tochi .main .right_box {
        width: 95%;
        margin: 30px auto 0;
    }
    .tochi .main .right_box .map iframe{
        height:450px;
    }
    .swiper-slide img {
        height: 50vh!important;
    }

    .swiper-thumbs img {
        height: 70px!important;
    }

    .tochi .main .visual, .tochi .main > .text {
        width: 100%;
    }

    #event.sub section#subContainer div.main_box h4 {
        margin: 0px 0 10px;
        padding: 6px;
        width: 100%;
        box-sizing: border-box;
        font-size: 100%;
    }

    .main_box .swiper-slide {
        margin-bottom: 15px;
    }

    #event.sub section#subContainer div.main_box .tochi .tochi_info {
        width: 95%;
        margin: 30px auto 0;
    }  

    #event.sub section#subContainer div.main_box .tochi .tochi_info table th, #event.sub section#subContainer div.main_box .tochi .tochi_info table td {
        display: block;
    }

    #event.sub section#subContainer div.main_box .tochi .tochi_info table th {
        width: 20%;
        border-bottom: 2px solid #fff;
    }

    #event.sub section#subContainer div.main_box .tochi .tochi_info table td {
        width: 74%;
        box-sizing: border-box;
    }

    #event.sub section#subContainer div.main_box .tochi .tochi_info table tr {
        display: flex;
        flex-wrap: wrap;
        border: none;
    }

    .tochi .main .right_box table {
        max-width: 280px;
    }
    
}


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

    .sub section#subContainer div.main_box .other_box .flex {
        display: block;
    }

    .sub section#subContainer div.main_box .other_box .flex > div {
        width: 100%;
    }
    #event.sub section#subContainer div.main_box h4{
        margin-top:15px;
    }
    .tochi .main .right_box table {
        max-width: unset;
        width:100%;
    }
    .tochi .main .right_box table tr{

    }

}

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

  
}