@charset "utf-8";

/* modal */
/* .ws-modal-open,
.ws-modal-open body { overflow: hidden; } */

.ws-modal-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 100%; overflow: hidden; background: rgba(0,0,0,.7); opacity: 0; transition: opacity 0.25s ease;}
.ws-modal-wrap.ws-modal-visible { opacity: 1; }
.ws-modal-wrap.ws-modal-leave { opacity: 0; }

.ws-modal-outer {position:relative; flex:0 0 auto; width:100%; max-height:100%; padding:20px; overflow:auto; -ms-overflow-style:none;/* IE and Edge */ scrollbar-width:none;/* Firefox */}
.ws-modal-outer::webkit-scrollbar {display:none;}

.ws-modal-inner { position: relative; width: 100%; max-width:1000px; margin: 0 auto; overflow: hidden; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s; background: #fff; border-radius: 24px; text-align: center; }
.ws-modal-wrap.ws-modal-visible .ws-modal-inner { opacity: 1; transform: scale(1); }
.ws-modal-wrap.ws-modal-leave .ws-modal-inner { opacity: 0; transform: scale(0.85); transition-delay: 0s; }

.ws-modal-header {padding: 34px 40px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.ws-modal-close { display: inline-block; width: 20px; height: 20px; background: url(../images/sub/modal-close.png) center no-repeat; background-size: contain; border: none; }
.ws-modal-header h2 { font-size: var(--font-size28); font-weight: 600; line-height: 1.5em; color: #2c2c2c; }

.ws-modal-body { padding: 40px; padding-bottom: 54px; display: flex; align-items: flex-start; text-align: left;}
.ws-modal-body .info { flex: 1 1 auto; min-width: 0; width: 1%; padding-left: 40px; }
.ws-modal-body .info .group { margin-bottom: 40px; }
.ws-modal-body .info .group:last-child { margin-bottom: 0; }
.ws-modal-body .info .group .subtit2 { font-size: 22px; margin-bottom: 12px; font-weight: 500; line-height: 1.63em; }
.ws-modal-body .info .group .subtit2::before { top: 10px; }
.ws-modal-body .info .group p { font-size: var(--font-size18); line-height: 1.77em; color: #676767; }
.ws-modal-body .info .jum-txt p::before { top: 13px; }

/* 반응형 */
@media (max-width: 1000px) {
    .ws-modal-inner { border-radius: 5px; }
    .ws-modal-header { padding: 20px 15px;}
    .ws-modal-body { padding: 25px 15px; padding-bottom: 35px; }
    .ws-modal-body .info { padding-left: 25px; }
    .ws-modal-body .info .group { margin-bottom: 25px; }
    .ws-modal-body .info .group .subtit2 { font-size: 20px; }
    .ws-modal-body .info .jum-txt p::before { top: 11px; }
}
@media (max-width: 640px) {
    .ws-modal-body { display: block; }
    .ws-modal-body .img { text-align: center; }
    .ws-modal-body .info { padding-left: 0; width: 100%; padding-top: 20px; }
    .ws-modal-body .info br { display: none; }
}