@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: 640px; 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: 16px; }
.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: 12px; height: 12px; background: url(../images/main/modal-close.png) center no-repeat; background-size: contain; border: none; position: absolute; right: 50px; top: 60px; }
.ws-modal-inner.wt { max-width: 1080px; padding: 50px; padding-bottom: 60px; }

/* 상담신청 form 공통 */
.ws-contact-head { display: flex; padding: 34px 40px; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; }
.ws-contact-head h2 { color: #2c2c2c; font-size: var(--font-size24); font-weight: 600; line-height: 1.66em; }
.ws-contact-head .ws-modal-close { position: relative; right: auto; top: auto;}
.ws-contact-body { padding: 40px; }
.ws-contact-body .flex { padding-bottom: 30px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.ws-contact-body .flex dl { display: flex; align-items: center; margin-bottom: 20px; }
.ws-contact-body .flex dl dt { width: 100px; font-weight: 500; color: #2c2c2c; line-height: 1.5em; }
.ws-contact-body .flex dl dt .required { color: var(--color-primary); }
.ws-contact-body .flex dl dd { flex:1 1 auto; min-width: 0; width: 1%; }
.ws-contact-body .flex dl dd .input { width: 100%; padding: 10px 20px; height: 60px; border-radius: 8px; border-color: #eee; }
.ws-contact-body .flex dl dd .input::placeholder { color: #a8a8a8; font-weight: 400; }
.ws-contact-body .flex dl dd textarea.input { padding: 16px 20px; }
.ws-contact-body .flex dl dd .tel { position: relative; height: 100%; }
.ws-contact-body .flex dl dd .tel span { position: absolute; left: 20px; top: 0; bottom: 0; margin: auto; color: #676767; font-weight: 500; display: inline-flex; align-items: center;}
.ws-contact-body .flex dl dd .tel input { padding-left: 55px; }
.ws-contact-body .flex dl dd.fx { display: flex; gap: 8px; }
.ws-contact-body .flex dl dd.fx>div { width: calc(100%/2 - 4px); position: relative; }
.ws-contact-body .flex dl dd.fx>div span { position: absolute; right: 20px; top: 0; bottom: 0; margin: auto; color: #676767; font-weight: 500; display: inline-flex; align-items: center;}
.ws-contact-body .flex dl dd.fx>div .input { text-align: right; }
.ws-contact-body .flex dl dd.fx>div .input.pr1 { padding-right: 80px; }
.ws-contact-body .flex dl dd.fx>div .input.pr2 { padding-right: 50px; }
.ws-contact-body .flex dl dd .captcha-wrap { height: 60px; }
.ws-contact-body .flex dl:last-child { margin-bottom: 0; }
.ws-contact-body .btn-fx { display: flex; align-items: center; justify-content: space-between;}
.ws-contact-body .check { color:#505050; font-size:16px; line-height:1.5em; }
.ws-contact-body .check a {display:inline-block; background:#fff; margin-left:6px; padding:0 8px; font-size:12px; line-height:26px; letter-spacing:-.03em; border:1px solid #ddd; font-weight: 500; position: relative; top: -3px; }
.ws-contact-body .submit-btn { display: inline-block; padding: 16px 40px; border-radius: 8px; background: var(--color-primary); color: #fff; border: none; font-size: var(--font-size18); font-weight: 600; line-height: 1.77em; }

/* 합격수기 상세 */
.review { display: flex; align-items: flex-start;}
.review .thumb { width: 180px; margin-right: 60px; }
.review .thumb>div { position: relative; padding-bottom: 133%; display: block; overflow: hidden; border-radius: 8px; }
.review .thumb img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover;}
.review .info { flex:1 1 auto; min-width: 0; width: 1%; padding-right: 30px; }
.review .info .tt { font-size: var(--font-size28); line-height: 1.5em; font-weight: 600; color: #2c2c2c; }
.review .info .spanbox { padding: 8px 0 20px; margin-bottom: 30px; border-bottom: 1px dashed #eee; }
.review .info .spanbox span { display: inline-block; padding-right: 20px; color: #676767; font-size: var(--font-size18); line-height: 1.77em; font-weight: 500; position: relative; }
.review .info .spanbox span::after { content: ""; position: absolute; right: 7px; top: 11px; width: 1px; height: 10px; background: #dfdfdf; }
.review .info .spanbox span:last-child { padding-right: 0; }
.review .info .txt p { margin-bottom: 30px; font-size: var(--font-size18); line-height: 1.77em; font-weight: 400; }
.review .info .txt p:last-child { margin-bottom: 0; }

/* 반응형 */
@media (max-width: 1200px) {
    .ws-modal-inner.wt { padding: 25px 15px; border-radius: 5px; }
    .ws-modal-close { right: 15px; top: 25px; }

    /* 합격수기 상세 */
    .review .thumb { margin-right: 25px; }
    .review .info { padding-right: 25px; }
    .review .info .spanbox { padding: 6px 0 12px; margin-bottom: 15px; }
    .review .info .spanbox span { padding-right: 15px; }
    .review .info .spanbox span::after { right:5px; top: 8px; }
    .review .info .txt p { margin-bottom: 15px; }
}
@media (max-width: 640px) {
    .ws-modal-inner {  border-radius: 5px; }

    /* 상담신청 form 공통 */
    .ws-contact-head { padding: 20px 15px;}
    .ws-contact-head h2 { font-size: 20px; }
    .ws-contact-body { padding: 20px 15px; }
    .ws-contact-body .flex { padding-bottom: 15px; margin-bottom: 15px; }
    .ws-contact-body .flex dl { margin-bottom: 20px; display: block; }
    .ws-contact-body .flex dl dt { width: 100%; margin-bottom: 5px;}
    .ws-contact-body .flex dl dd { width: 100%; }
    .ws-contact-body .flex dl dd .input { height: 40px; border-radius: 4px; padding: 10px 12px; }
    .ws-contact-body .flex dl dd textarea.input { padding: 12px; }
    .ws-contact-body .flex dl dd .tel span { left: 12px; top: 1px; }
    .ws-contact-body .flex dl dd .tel input { padding-left: 43px; }
    .ws-contact-body .flex dl dd.fx { flex-wrap: wrap;}
    .ws-contact-body .flex dl dd.fx>div { width: 100%; }
    .ws-contact-body .flex dl dd.fx>div span { right: 12px; top: 1px; }
    .ws-contact-body .flex dl dd.fx>div .input.pr1 { padding-right: 63px; }
    .ws-contact-body .flex dl dd.fx>div .input.pr2 { padding-right: 40px; }
    .ws-contact-body .flex dl dd .captcha-wrap { height: 40px; }
    .ws-contact-body .btn-fx { display: block; text-align: center; }
    .ws-contact-body .check { font-size: 14px; text-align: center; margin: 15px 0;}
    .ws-contact-body .submit-btn { padding: 10px 20px; border-radius: 4px; }

    /* 합격수기 상세 */
    .review { display: block; }
    .review .thumb { margin-right: 0; margin: auto; }
    .review .thumb>div { border-radius: 4px; }
    .review .info { width: 100%; text-align: center; margin-top: 25px; }
}