@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: 1015px; 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; padding: 48px; border-radius: 32px; padding-top: 100px; }
.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: 23px; height: 23px; background: url(../images/common/modal-close.png) center no-repeat; background-size: contain; border: none; position: absolute; right: 50px; top: 35px; }

/* 퀵메뉴 문의하기 */
.quick-form dl { display: flex; align-items: center; margin-bottom: 20px; }
.quick-form dl dt { width: 100px; font-size: var(--font-size18); font-weight: 600; line-height: 1.5em; color: #222; }
.quick-form dl dt .required { color: var(--color-primary);}
.quick-form dl dd { flex: 1 1 auto; min-width: 0; width: 1%; }
.quick-form dl dd .input { height: 48px; border-radius: 8px; }
.quick-fx { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.quick-fx .check {text-align:center; color:#484848; font-size:16px; line-height:1.5em; }
.quick-fx .check a {display:inline-block; background:#fff; margin-left:6px; padding:0 10px; font-size:12px; line-height:26px; letter-spacing:-.03em; border:1px solid #ddd; font-weight: 500; position: relative; top: -.2em;}
.quick-fx button { width: 118px; height: 51px; background: var(--color-primary); border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; line-height: 1.5em; border: none; }
.quick-fx .rel { display: flex; align-items: center; gap: 15px; }
.quick-fx .rel a { display: inline-block; font-weight: 600; color: #2c2c2c; font-size: var(--font-size18); line-height: 1.2em; }

/* 반응형 */
@media (max-width: 1024px) {
    .ws-modal-inner { padding: 25px 15px; border-radius: 5px; padding-top: 60px;}
    .ws-modal-close { width: 16px; height: 16px; right: 20px; top: 20px; }
    .quick-form dl dd .input { height: 40px; border-radius: 4px; }
}
@media (max-width: 640px) {
    .quick-form dl { display: block; }
    .quick-form dl dt { width: 100%; margin-bottom: 7px; }
    .quick-form dl dd { width: 100%; }
    .quick-fx { display: block; margin-top: 20px; }
    .quick-fx button { margin: 0 auto 0; border-radius: 4px; }
    .quick-fx .rel { display: block; }
    .quick-fx .rel a { display: block; text-align: center; margin: 10px 0;}
}