

/*#########################
  modal用
#########################*/
/*
#popup {
	display: none;
}
*/

.modal-content{
	padding: 20px;
	width: 90%;
    max-width: 660px;
}


.modal-content.taishou h5{
    width:inherit;
}
.modal-content.taishou p {
    width:inherit;
}
.modal-content.taishou .modai_inner {
}

.modal-content.taishou .modai_inner ul li + li{
    margin-bottom: 15px;
}

.modal-content.taishou .modai_inner ul li{
    text-align: left;
    line-height: 1.2;
}


.modal-overlay {
    z-index:20;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
	height:100%;    /*for old Safari*/
    height:100vh;
    background-color:rgba(0,0,0,.5);
}
.modal-overlay (:target) {height:100%\9} /* IE9,10 */
a.modal-open:hover {
    cursor:pointer;
}
.modal-content {
    position:fixed;
    display:none;
    z-index:21;
    padding:16px 24px;
    background:#ffffff;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.modal-content .modai_inner{
    width: 100%;
    text-align: center;
}
.modal-content h5{
    margin-left: auto;
    margin-right: auto;
    border:none;
    padding:0;
    text-align:left;
}
.modal-content h6{
    text-align: left;
}
.modal-content .s1_1{
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.6;
    font-size: 80%;
}
.modal-content .s5_5{
    text-indent: -5em;
    padding-left: 5em;
    line-height: 1.6;
    font-size: 80%;
}
.modal-content img {
    width:auto;
    max-height:70vh;
}
.modal-content p {
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
    text-align:left;
}
a.modal-close:before {
	content:none
}
a.modal-close {
	position:absolute;
	top:12px;
	right:18px;
	font-size:35px;
	line-height:1;
	text-decoration:none;
}
a.modal-close:hover {
	cursor:pointer;
	opacity:.5;
}
@media screen and (max-width: 460px) {
	.modal-content img {
        max-height:inherit;
        width:100%;
        height:auto;
    }
	.modal-content p {
        width:100%;
        font-size: 90%;
    }
	a.modal-close:hover {
        opacity:1;
    }
    .modal-content h5 {
        width: 300px;
        margin-left: 0;
    }
}
@media screen and (max-width: 360px) {
    .modal-content h5 {
        width: 248px;
    }
    .modal-content p {
        font-size: 80%;
    }
}

/* 各ページモーダル調整用 */

/* カタログ */
#catalog #price-plus.modal-content{
	overflow-y:auto;
	height:80%;
}

#floor .modal-content img{
    max-width: 350px;
}

@media screen and (max-width: 600px){
/* カタログ */
	#catalog #price-plus.modal-content .table-scroll{
		height: 250px;
	}

/* メンバーズ制度 */
	#members #modal1.modal-content{
		overflow-y:auto;
		height:80%;
	}

/* ご利用案内 */
	#guide #modal1.modal-content{
		overflow-y:auto;
		height:80%;
	}

/* フロアガイド */
	#floor .modal-content{
		overflow-y:auto;
		max-height:80%;
	}
}