@charset "utf-8";

#route_map .guide_tabs {
    column-gap: 20px;
}
#route_map .guide_tabs .tab_btn {
    position: relative;
    background-color: #e6cfb2;
    padding: 20px 0;
}
#route_map .guide_tabs .tab_btn.active {
    background-color: #ea5521;
    color: #Fff;
}
#route_map .guide_tabs .tab_btn::after {
    content: "";
    position: absolute;
    top: 0;
    right: -40px;
    border-width: 46px 20px;
    border-color: transparent transparent transparent #e6cfb2;
    border-style: solid;
}
#route_map .guide_tabs .tab_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-width: 46px 20px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
}
#route_map .guide_tabs .tab_btn:last-child:after {
    display: none;
}
#route_map .guide_tabs .tab_btn:first-child:before {
    display: none;
}
#route_map .guide_tabs .tab_btn.active::after {
    border-color: transparent transparent transparent #ea5521;
}
#route_map .guide_tabs .tab_btn svg {
    display: block;
    width: auto;
    height: 20px;
    margin: 0 auto 5px;
}
#route_map .guide_tabs .tab_btn.active svg {
    fill: var(--c-white);
}

.tab_content {
    overflow-x: scroll;
}
.map_wrap {
    position: relative;
    width: 100%;
}
.map_btn {
    position: absolute;
}
#map_btn_temma {
    top: min(26px,2vw);
    right: min(18px,1.2vw);
    width: min(320px,21.5vw);
}
#map_btn_hachikenyahama {
    bottom: min(320px,21vw);
    right: min(386px,26vw);
    width: min(380px,25vw);
}
#map_temma_btn_temma {
    top: min(26px,2vw);
    right: min(18px,1.2vw);
    width: min(320px,21.5vw);
}
#map_temma_btn_hachikenyahama {
    bottom: min(30px,2.2vw);
    right: min(650px,43.5vw);
    width: min(380px,25.6vw);
}
#map_hachikenyahama_btn_hachikenyahama {
    bottom: min(470px,32vw);
    right: min(58px,5vw);
    width: min(384px,26vw);
}
.map_point {
    position: absolute;
    cursor: pointer;
}
#map_point_01 {
    top: min(240px,17vw);
    left: min(56px,10vw);
    width: min(300px,20vw);
}
#map_point_02 {
    bottom: min(130px,13vw);
    left: min(27px,10vw);
    width: min(410px,27vw);
}
#map_point_03 {
    bottom: min(265px,20vw);
    right: min(250px,19vw);
    width: min(350px,22vw);
}
#map_point_04 {
    top: min(370px,25vw);
    right: min(5px,3vw);
    width: min(435px,29vw);
}
#map_point_05 {
    bottom: min(210px,14vw);
    right: 0;
    width: min(360px,25vw);
}
#map_point_06 {
    bottom: min(110px,8vw);
    left: min(400px,26.8vw);
    width: min(270px,18.5vw);
}
#map_point_07 {
    bottom: min(575px,38vw);
    left: min(440px,28.8vw);
    width: min(300px,21vw);
}
#tab_hachikenyahama #map_point_07 {
    bottom: min(750px,50vw);
    right: min(180px,10.5vw);
    width: min(290px,20vw);
    left: auto;
}
#map_point_08 {
    bottom: min(470px,31vw);
    left: min(130px,9vw);
    width: min(230px,16vw);
}
#tab_hachikenyahama #map_point_08 {
    bottom: min(60px,4vw);
    left: min(120px,5.5vw);
    width: min(215px,15.5vw);
}
#map_point_09 {
    bottom: min(100px,7vw);
    right: min(10px,1vw);
    width: min(230px,16vw);
}
.map_area {
    position: absolute;
}
#map_area_01 {
    top: min(320px,21.5vw);
    right: min(26px,25vw);
    width: min(450px,31vw);
}
#map_area_02 {
    top: min(360px,24vw);
    left: min(42px,3vw);
    width: min(600px,40vw);
}
#map_area_03 {
    top: min(1033px,70vw);
    left: min(40px,63.5vw);
    width: min(236px,16vw);
}
#map_area_04 {
    bottom: min(40px,3vw);
    right: min(100px,6.5vw);
    width: min(327px,22vw);
}

.modal {
    display: none;
    place-content: center;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(245,235,222,0.9);
    transition: opacity 0.5s, visibility 0.5s;
    z-index: 1;
}
.modal-box {
    background-color: #fff;
    margin: 10% auto;
    max-width: 500px;
    width: 90%;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-sizing: border-box; 
}
.modal-box.large {
    max-width: 720px;
}
.modal-box img {
    width: 90%;
    padding: 5%;
}
.modalClose {
    position: absolute;
    top: -50px;
    right: 0;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}
.modal-box.gallery {
    min-width: 90%;
}
.modal-gallery .swiper-pagination {
    bottom: 0;
}
.modal-gallery .swiper-pagination-bullet {
    background:#e6cfb2;
    opacity: 1;
}
.modal-gallery .swiper-pagination-bullet-active{
    background: #ea5521;
}
.modal-description img {
    padding: 3% 5% 5% 5%;
}




@media screen and (max-width: 766px) {
    .map_wrap {
        width: 1200px;
    }
    #map_btn_temma {
        top: 10px;
        right: 10px;
        width: 280px;
    }
    #map_btn_hachikenyahama {
        bottom: 266px;
        right: 320px;
        width: 340px;
    }
    #map_temma_btn_temma {
        top: 10px;
        right: 10px;
        width: 280px;
    }
    #map_temma_btn_hachikenyahama {
        bottom: 20px;
        right: 550px;
        width: 330px;
    }
    #map_hachikenyahama_btn_hachikenyahama {
        bottom: 410px;
        right: 45px;
        width: 340px;
    }
    #map_point_01 {
        top: 240px;
        left: 56px;
        width: 300px;
    }
    #map_point_02 {
        bottom: 130px;
        left: 27px;
        width: 410px;
    }
    #map_point_03 {
        bottom: 193px;
        right: 220px;
        width: 340px;
    }
    #map_point_04 {
        top: 315px;
        right: 5px;
        width: 435px;
    }
    #map_point_05 {
        bottom: 180px;
        right: 0;
        width: 360px;
    }
    #map_point_06 {
        bottom: 90px;
        left: 310px;
        width: 270px;
    }
    #map_point_07 {
        bottom: 490px;
        left: 385px;
        width: 277px;
    }
    #tab_hachikenyahama #map_point_07 {
        bottom: 740px;
        right: 40px;
        width: 280px;
        left: auto;
    }
    #map_point_08 {
        bottom: 340px;
        left: 130px;
        width: 220px;
    }
    #tab_hachikenyahama #map_point_08 {
        bottom: 30px;
        left: 50px;
        width: 220px;
    }
    #map_point_09 {
        bottom: 100px;
        right: 3px;
        width: 220px;
    }
    #map_area_01 {
        top: 270px;
        right: 23px;
        width: 446px;
    }
    #map_area_02 {
        top: 314px;
        left: 15px;
        width: 580px;
    }
    #map_area_03 {
        top: 890px;
        left: 20px;
        width: 235px;
    }
    #map_area_04 {
        bottom: 40px;
        right: 78px;
        width: 280px;
    }
    #route_map .guide_map_wrap, #route_map .tab_content {
        height: 665px;
        overflow-y: hidden;
    }
    #route_map .map_wrap {
        transform: scale(0.5);
        transform-origin: 0 0;
    }
    #route_map .guide_tabs {
        column-gap: 10px;
    }
    #route_map .guide_tabs .tab_btn {
        padding: 15px 0;
        font-size: 3vw;
    }
    #route_map .guide_tabs .tab_btn::after {
        right: -20px;
        border-width: 32px 10px;
    }
    #route_map .guide_tabs .tab_btn::before {
        border-width: 32px 10px;
    }
    #route_map .guide_tabs .tab_btn svg {
        height: 2.3vw;
    }
    #close {
        top: 1vw;
        right: 4vw;
        font-size: 8vw;
    }
    .modal-gallery .swiper-pagination {
        bottom: -1vw;
    }

}