@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(17px,1.25vw);
    right: min(13px,0.96vw);
    width: min(326px,23.29vw);
}
#map_btn_hachikenyahama {
    bottom: min(300px,21.43vw);
    right: min(362px,25.86vw);
    width: min(420px,30.04vw);
}
#map_temma_btn_temma {
    top: min(28px,2vw);
    right: min(26px,1.89vw);
    width: min(326px,23.29vw);
}
#map_temma_btn_hachikenyahama {
    bottom: min(24px,1.71vw);
    right: min(648px,46.32vw);
    width: min(420px,30.04vw);
}
#map_hachikenyahama_btn_hachikenyahama {
    bottom: min(472px,33.71vw);
    right: min(34px,2.43vw);
    width: min(420px,30.04vw);
}
.map_point {
    position: absolute;
    cursor: pointer;
}
#map_point_01 {
    top: min(242px,17.32vw);
    left: min(40px,2.86vw);
    width: min(362px,25.89vw);
}
#map_point_02 {
    bottom: min(124px,8.89vw);
    left: min(67px,4.79vw);
    width: min(381px,27.25vw);
}
#map_point_03 {
    bottom: min(236px,15.18vw);
    right: min(223px,15.68vw);
    width: min(260px,19.43vw);
}
#map_point_04 {
    top: min(368px,26.29vw);
    right: min(13px,0.96vw);
    width: min(408px,29.14vw);
}
#map_point_05 {
    bottom: min(203px,14.5vw);
    right: 0;
    width: min(359px,25.64vw);
}
#map_point_06 {
    bottom: min(116px,8.29vw);
    left: min(384px,27.43vw);
    width: min(289px,20.64vw);
}
#map_point_07 {
    bottom: min(575px,38vw);
    left: min(440px,28.8vw);
    width: min(270px,20vw);
}
#tab_hachikenyahama #map_point_07 {
    bottom: min(880px,57vw);
    right: min(180px,3.5vw);
    width: min(290px,20vw);
    left: auto;
}
#map_point_08 {
    bottom: min(410px,26vw);
    left: min(160px,11vw);
    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(343px,24.54vw);
    right: min(26px,1.89vw);
    width: min(501px,35.79vw);
}
#map_area_02 {
    top: min(356px,25.46vw);
    left: min(38px,2.71vw);
    width: min(644px,46vw);
}
#map_area_03 {
    top: min(1042px,70.86vw);
    left: min(40px,0.25vw);
    width: min(290px,16.93vw);
}
#map_area_04 {
    bottom: min(38px,2.39vw);
    right: min(91px,6.5vw);
    width: min(332px,23.71vw);
}
.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;
}
.modal-box.large {
    max-width: 640px;
    display: flex;
    padding: 3%;
}
.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%;
    width: 80%;
}


@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: 120px;
        right: 190px;
        width: 270px;
    }
    #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: 900px;
        left: 22px;
        width: 245px;
    }
    #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-box.large {
        flex-direction: column;
        width: 70%;
    }
    .modal-box.large > p,
    .modal-box.large > .large_img {
        width: 70%;
        margin: 0 auto;
    }
    .modal-gallery .swiper-pagination {
        bottom: -1vw;
    }
}