@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: 440px; margin: 0 auto; overflow: hidden; opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease 0.05s, transform 0.25s ease 0.05s; text-align: center; padding: 72px 0; padding-bottom: 0; }
.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; }

/* PDF 다운로드 */
.ws-modal-close { display: inline-block; width: 48px; height: 48px; background: url(../images/sub/modal-close.png) center no-repeat; background-size: contain; border: none; position: absolute; right: 0; top: 0; }
.ws-modal-inner.pdf-inner { max-width: 740px;}
.ws-modal-inner .thumb { max-height: 700px; background: #fff; padding: 25px; overflow: auto;}
.ws-modal-inner .thumb img { max-width: 100%; display: block; margin-bottom: 30px; }
.ws-modal-inner .pdf-btn { width: 148px; height: 58px; border-radius: 6px; background: var(--color-primary); color: #fff; line-height: 1.5em; font-weight: 600; font-size: var(--font-size18); display: flex; align-items: center; justify-content: center; margin: 24px auto 0;}

/* 프로모션 신청폼 */
.ws-modal-inner.apply-inner { max-width: 640px; padding: 0; border-radius: 24px; background: #fff; }
.ws-header { padding: 34px 40px; display: flex; justify-content: space-between; align-items: center;}
.ws-header h4 { font-size: var(--font-size24); font-weight: 600; line-height: 1.66em; color: #2c2c2c; }
.ws-header .ws-modal-close { position: relative; right: auto; top: auto; width: 20px; height: 20px; background-image: url(../images/sub/modal-close2.png);}
.ws-gray { padding: 40px; border-bottom: 1px solid #eee; border-top: 1px solid #eee; background: #fafafa; text-align: left; }
.ws-gray .ctr { line-height: 1.5em; color: var(--color-primary); font-weight: 500; margin-bottom: 12px; }
.ws-gray .tit { font-size: var(--font-size28); line-height: 1.5em; color: #2c2c2c; font-weight: 600; }
.ws-gray ul { margin: 40px 0;}
.ws-gray ul li { display: flex; line-height: 1.5em; margin-bottom: 12px; font-weight: 500; }
.ws-gray ul li:last-child { margin-bottom: 0; }
.ws-gray ul li .tt { color: #a8a8a8; width: 75px; }
.ws-gray ul li .txt { flex: 1 1 auto; min-width: 0; width: 1%; }
.ws-gray .date { font-size: var(--font-size18); color: #878787; line-height: 1.55em; font-weight: 400; }
.ws-form { padding: 40px; display: flex; flex-wrap: wrap; gap: 20px; text-align: left; }
.ws-form dl { width: calc(100%/2 - 10px); }
.ws-form dl.w100 { width: 100%; }
.ws-form dl dt { line-height: 1.25em; font-weight: 600; color: #2c2c2c; margin-bottom: 12px; }
.ws-form dl dt .required { color: var(--color-primary); }
.ws-form dl dd .input { width: 100%; height: 60px; border-radius: 8px; border: 1px solid #eee; padding: 0 20px; font-size: var(--font-size16); color: #505050; }
.ws-form dl dd .input::placeholder { color: #a8a8a8; }
.ws-form .captcha-wrap {display:flex; gap:6px; height:60px;}
.ws-form .check { margin-top: 30px; font-size: 14px; font-weight: 500; color: #2c2c2c; line-height: 1.14em; display: block; width: 100%; margin-bottom: 0; }
.ws-form .check a { color: #a8a8a8; text-decoration: underline; text-underline-position: under; position: relative; top: -2px; }
.ws-form .buttons { width: 100%; }
.ws-form .submit-btn { width: 100%; height: 66px; border-radius: 33px; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: var(--font-size20); font-weight: 700; line-height: 1.7em; border: none; cursor: pointer;}

/* 반응형 */
@media (max-width: 640px) {
    .ws-modal-inner.apply-inner { border-radius: 5px; }
    .ws-header { padding: 15px;}
    .ws-gray { padding: 15px; }
    .ws-gray .ctr { margin-bottom: 7px; }
    .ws-gray ul { margin: 15px 0;}
    .ws-gray ul li { margin-bottom: 8px; }
    .ws-gray ul li .tt { width: 63px; }
    .ws-gray .date { font-size: 12px; }
    .ws-form { padding: 15px; gap: 20px 10px;}
    .ws-form dl { width: 100%;}
    .ws-form dl dt { margin-bottom: 5px; }
    .ws-form dl dd .input { height: 40px; border-radius: 4px; padding: 0 10px;}
    .ws-form .captcha-wrap { height: 40px; }
    .ws-form .check { margin-top: 20px; font-size: 13px; }
    .ws-form .submit-btn { height: 40px; }
}
@media (max-width: 580px) {
    .ws-modal-inner { padding: 40px 0;}
    .ws-modal-close { width: 30px; height: 30px; }
}
