@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%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,.7);
    z-index: 9999;
}

.modal_area .inner {
    max-width: 90%;
    max-height: 90%;
    /* height: 100vh; */
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.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;
    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.facility { /* facility（施設） */
	width:680px;
	max-width: 100%;
	padding: 40px;
    background: #dddeda;
}
.modal_area .modal_txt.facility .ttl { /* facility（施設） */
    font-size: 2.8rem;
    line-height: 1.6;
    color: #657568;
    margin-top: 0.5em;
}
.modal_area .modal_txt.facility .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;
	}
}
@media screen and (max-width: 768px) {
    #map_wrapper {
        width: 100%; /* 横幅が768pxより小さい場合(mobile)、地図表示エリアの幅を設定 */
        height: 500px; /* 横幅が768pxより小さい場合(mobile)、地図表示エリアの高さを設定 */
    }
    
    .mapmask{
        width: 100%;
        height: 500px;
    }

	/* モーダル */	
	.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;
		padding: 20px 5%;
	}
	.modal_area .modal_txt.facility .ttl { /* facility（施設） */
		font-size: 2.2rem;
	}
}
