/*Modal window
----------------------------------------*/
body.active{
    overflow:hidden;
}
.modal-switch_cover{
    position:relative;
    line-height:0;
}
.modal-switch_cover >a{
    display:block;
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
/*    margin:auto;*/
    width:100%;
    height:100%;
    z-index: 10;
    background:rgba(0,0,0,0);
}
#modal{
	position: fixed;
	width:100%;
	height:100%;
	clear:both;
	top:0;
	left:0;
	z-index:10000;
	line-height:0;
	display:none;
}
#modal .m_overlay{
	position: fixed;
	width:100%;
	height:100vh;
	top:0;
	left:0;
	background:#d2ddfc;
	opacity:0.9;
}
#modal .modal_content{
	position:relative;
/*
	transform:translateY(-50%);
	top:50%;
	right:0;
    left:0;
*/
}
#modal .close_btn{
    position: absolute;
    cursor: pointer;
}
#modal .close_btn >span{
	display:block;
	width:100%;
	height:3px;
	background:#444344;
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	margin:auto;
}
#modal .close_btn >span:first-child{
	transform:rotate(45deg);
}
#modal .close_btn >span:last-child{
	transform:rotate(-45deg);
}
#modal .movie_wrap{
	max-width:980px;
	margin:auto;
	border:2px solid #444344;
	padding:1px;
	background: linear-gradient(0deg, rgba(41,41,41,1) 0%, rgba(112,112,112,1) 100%);
	box-sizing:border-box;
}
#modal .movie{
	background:linear-gradient(70deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(92,92,92,1) 50%, rgba(0,0,0,1) 100%);
}
#modal .movie >div{
	position:relative;
	padding-bottom: 56.4516%;
	height: 0;
	overflow: hidden;
	background:linear-gradient(90deg, rgba(57,57,57,1) 0%, rgba(0,0,0,1) 100%);
}
#modal iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#modal .modal_top{
    position:relative;
}
#modal .movie_title{
    text-align:center;
    font-weight:500;
    line-height:1em;
    top:0;
    right:0;
    left:0;
    margin:auto;
    color:#2089c5;
    letter-spacing: 0.075em;
    min-height:1.5em;
}
.stylecondact{
    height:100vh;
    overflow-y:auto;
}
/*PC
----------------------------------------------------*/
@media screen and (min-width:1081px),print{
    #modal .modal_content{
        width:1000px;
        margin:0 auto;
    }
    #modal .close_btn{
        width:45px;
        height:45px;
        right:-980px;
        left:-25px;
/*        top:0;*/
        bottom:0;
        margin:auto;
    }
    #modal .movie{
        padding:20px;
    }
    #modal .modal_top{
        margin-bottom:15px;
    }
    #modal .movie_title{
        width:918px;
        font-size:1.714em;
        padding-bottom:0.5em;
        padding-top: 1em;
    }
}
/*PC and Tablet
----------------------------------------------------*/
@media screen and (min-width:751px),print{
    
}
/*Tablet
----------------------------------------------------*/
@media screen and (min-width:751px) and (max-width:1080px){
}

/*Tablet und Phone
----------------------------------------------------*/
@media screen and (max-width:1080px){
    .modal-switch_cover{
        width:100%;
        height:0;
        padding-top: 56.25%;
    }
    .modal-switch_cover iframe{
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
    }
    #modal .modal_content{
        width:75%;
        margin-right:auto;
        margin-left:auto;
        margin-top:2%;
        margin-bottom:2%;
    }
    #modal .close_btn{
        right:0;
        top:0;
        bottom:0;
        margin:auto;
        width:2em;
        height:2em;
        font-size: calc(0.625rem + ((1vw - 3.2px) * 1.7671));
   }

    #modal .movie{
        padding:2%;
    }
    #modal .movie_title{
        padding: 0 2.5em;
        font-size: calc(0.625rem + ((1vw - 1px) * 1.6));
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }
}

/*Phone
----------------------------------------------------*/
@media screen and (max-width:750px){
    #modal .movie_title{
        padding: 0 1.5em;
        font-size: calc(0.625rem + ((1vw - -1.8px) * 1.6));
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }
}