/********* modal *********/
#modal .func-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
#modal .func-modal-zoom {
    background-color: #fff;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 85%;
    height: 85%;
    max-width: 630px;
	max-height: 520px;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
    position: relative;
	overflow: hidden;
}
/*#modal .func-modal-close {
    z-index: 999;
    color: #aaa;
    float: right;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
	position: absolute;
    right: 10px;
    top: 5px;
}
#modal .func-modal-close:hover,
#modal .func-modal-close:focus {
    color: black;
}*/
.func-modal-close{display: block;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--bs-gray-800);
    position: relative;
	width: 35px;
	height: 35px;
	cursor: pointer;
    text-decoration: none;
	z-index: 3;
	position: absolute; right: 12px; top: 13px;
	}
.func-modal-close::before, .func-modal-close::after {
    content: "";
    width: 50%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
}
.func-modal-close::before {transform: translate(-50%, -50%) rotate(45deg);}
.func-modal-close::after {transform: translate(-50%, -50%) rotate(-45deg);}

@keyframes zoomIn {
    from {
    transform: scale(0.5);
    opacity: 0;
    }
    to {
    transform: scale(1);
    opacity: 1;
    }
}
/*==============================================
  SP
==================================================*/
@media screen and (max-width: 767px) {
	.func-modal-close {position: absolute; right: 6px; top: 7px;}
	#modal .func-modal-zoom {margin: 4% auto 0; padding: 5% 4% 5%; width: 90%; height:auto; max-width: inherit; max-height: inherit; overflow-x: hidden;}
	.func-modal-close{width: 33px; height: 33px;}
}