@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,.5); 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: 1200px; margin: 0 auto; background: #fff; overflow: hidden; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s;}
.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-close { display: inline-block; width: 18px; height: 18px; background: url(../images/sub/modal-close.png) center no-repeat; background-size: contain; border: none; }

.ws-modal-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 17px 30px; background: #121212; color: #fff; }
.ws-modal-head h2 { font-size: var(--font-size24); font-weight: 700; line-height: 1.3em; }
.ws-modal-list { background: #fff; padding: 0 30px 30px; }
.ws-modal-list li { border-bottom: 1px dashed #ccc; display: flex; padding: 30px 0;}
.ws-modal-list li:last-child { border: none; }
.ws-modal-list li .num { width: 32px; height: 32px; display: flex; border-radius: 32px; background: #505050; color: #fff; line-height: 1em; font-size: 14px; font-weight: 700; line-height: 1em; margin-right: 10px; align-items: center; justify-content: center; }
.ws-modal-list li .tit { flex: 1 1 auto; min-width: 0; width: 1%; font-size: var(--font-size20); line-height: 1.3em; padding-top: 3px; }
.ws-modal-list li .tit strong { font-weight: 700; color: #121212; }

/* 반응형 */
@media (max-width: 1024px) {
    .ws-header { padding: 15px; }
    .ws-modal-list { padding: 0 15px 15px;}
    .ws-modal-list li { padding: 15px 0;}
    .ws-modal-list li .tit { padding-top: 6px; }
}