@charset "utf-8";

.leaflet-background-pane {
    z-index: 100 !important;
}

#map_wrapper {
    width: 100%;
    max-width: 100%;
    height: 600px; /* 横幅が768pxより大きい場合(PC)、地図表示エリアの高さを設定 */
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

#mapcontainer {
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #c5c4bf; /* 元画像の背景色を設定 */
    z-index: 0;
}

.mapmask{
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; 
    pointer-events:none;
    /*background: rgba(0, 0, 0, 0.7);*/
    opacity: 0; 
    transition: .3s; 
    text-shadow: #3f4b36 1px 0 3px;
}

.mapshow{
    opacity: 1;
}

#mapinfo{
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}
:lang(ja) #mapinfo .en {
	display: none;
}
:lang(en) #mapinfo .jp {
	display: none;
}

/* モーダル */
.modal_area {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    /*width: 100%; 202507 */
    /*height: 100%; 202507 */
    text-align: center;
    background: rgba(0,0,0,0); /* 202507 */
    z-index: 9999;
}

.modal_area .inner {
    max-width: 100%; /* 202507 */
    max-height: 100%; /* 202507 */
    /* height: 100vh; */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,.6);
}

.modal_area .modal_close {
    position: fixed;
    top: 30px;
    right: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1;
}
.modal_area .modal_close::before,
.modal_area .modal_close::after {
    display: block;
    width: 50px;
    height: 1px;
    content: '';
    transition: .3s;
    background: #fff;
    margin-top: 26px;
}
.modal_area .modal_close::before {
    transform: rotate(-45deg);
}
.modal_area .modal_close::after {
    transform: rotate(45deg);
    margin-top: -2px;
}
/* modal_txt */
.modal_area .modal_txt {
    display: none;
}
.modal_area .modal_txt.course { /* course（コース動画） */
    /*width:380px; 202507 */
    width: 342px; /* 202507 */
    max-width: 100%;
}
.modal_area .modal_txt.course .movie { /* course（コース動画） */
    padding:177.78% 0 0 0;
    position:relative;
}
.modal_area .modal_txt.course .movie iframe { /* course（コース動画） */
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.modal_area .modal_txt.course .movie_overlay { /* コース動画、再生ボタンを押す前の表示制御用 202507 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1; 
}

.modal_area .modal_txt.course .movie_overlay .movie_overlay_btn { /* 202507 */
    position:absolute;
    top: 289px;
    left: 145px;
    width: 59px;
    height: 33px;
    z-index: 2;
    cursor: pointer;
}

.modal_area .modal_txt.facility { /* facility（施設） */
    /*width:680px; 202507 */
    width:612px; /* 202507 */
    max-width: 100%;
    background: #dddeda;
}
.modal_area .modal_txt.facility .lead_box { /* facility（施設） */    
    padding: 20px 40px 40px;
}
.modal_area .modal_txt.facility .lead_box .ttl { /* facility（施設） */
    font-size: 2.8rem;
    line-height: 1.6;
    color: #657568;
}
.modal_area .modal_txt.facility .lead_box .lead { /* facility（施設） */
    font-size: 1.4rem;
    text-align: left;
    margin-top: 0.2em;
}
@media screen and (max-height: 750px) { /* ブラウザの高さ調整 */
    .modal_area .modal_txt.course { /* course（コース動画） */
        /*width:300px; 202507 */
        width: 270px; /* 202507 */
    }
}
@media screen and (max-width: 768px) {
    #map_wrapper {
        width: 100%; /* 横幅が768pxより小さい場合(mobile)、地図表示エリアの幅を設定 */
        height: 500px; /* 横幅が768pxより小さい場合(mobile)、地図表示エリアの高さを設定 */
    }
    
    .mapmask{
        width: 100%;
        height: 500px;
    }

    /* モーダル */	
    .modal_area { /* 202507 */
        width: 100%;
        height: 100%;
    }
    .modal_area .inner { /* 202507 */
        max-width: 90%;
        max-height: 90%;
    }

    .modal_area .modal_close {
        top: 20px;
        right: 5%;
        width: 30px;
        height: 30px;
    }
    .modal_area .modal_close::before,
    .modal_area .modal_close::after {
        width: 30px;
        margin-top: 14px;
    }
    .modal_area .modal_close::after {
        margin-top: -2px;
    }
    /* modal_txt */
    .modal_area .modal_txt {
        display: none;
    }
    .modal_area .modal_txt.course { /* course（コース動画） */
        width:380px;
        max-width: 100%;
    }
    .modal_area .modal_txt.course .movie { /* course（コース動画） */
        padding:177.78% 0 0 0;
        position:relative;
    }
    .modal_area .modal_txt.facility { /* facility（施設） */
        width:680px;
    }
	.modal_area .modal_txt.facility .lead_box { /* facility（施設） */
        padding: 10px 5% 20px;
	}
    .modal_area .modal_txt.facility .ttl { /* facility（施設） */
        font-size: 2.2rem;
    }
}
