@charset "utf-8";
/**************************
モーダル内
***************************/

.no-scroll {
    overflow: hidden !important;
}

.hidden {
    display: none
}

.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

/**************************
simple-modal-overlay
***************************/

.simple-modal-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: #ebe9e9;
    opacity: .8;
    z-index: 666;
    cursor: pointer;
}

.simple-modal-overlay[data-background-click="disabled"] {
    cursor: auto
}

.simple-modal {
    position: fixed;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 90%;
    max-width: 640px;
    max-height: 98vh;
    border: 1px solid #c1c1c1;
    background: #fff;
    z-index: 667;
    padding: 16px;
    right: auto
}

.simple-modal-title {
	margin: 0 0 10px 0 !important;
    font-size: 1.3rem;
	font-weight: normal;
}

.simple-modal-close {
    float: right;
    background: #f5f5f5;
    color: #000;
    padding: 5px 10px;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
	border: 1px solid #ABA8A8;
	font-size: 18px;
	margin-top: 6px;
}

.simple-modal-close:focus,.simple-modal-close:hover,.simple-modal-close:active {
	border: 1px solid #000;
}

/* add 2024Oct */
.simple-modal iframe {
	width: 640px;
	height: 360px;	
}

@media screen and (max-width: 710px) {
	.simple-modal {
		width: 88vw;
		padding: 15px 1vw 1vw;
		max-height: 80vh;
		top: calc(40% + 50px);
	}
	.simple-modal iframe {
		width: 100%;
		height: calc(100vw* 0.48);
	}
}

