@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: 980px; margin: 0 auto; background: #fff; border-radius: 16px; 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; }

/* 구성원 상세이력 */
.tc-header { display: flex; align-items: center; justify-content: space-between; padding: 34px 40px; border-bottom: 1px solid #eee;}
.tc-title { font-size: var(--font-size28); font-weight: 700; color: #2c2c2c; line-height: 1.5em; font-family: var(--gmarket);}
.ws-modal-close { display: inline-block; width: 14px; height: 14px; background-size: contain; background: url(../images/sub/modal-close.png) center no-repeat; border: none; }
.tc-detail { padding: 60px 40px; }
.tc-detail .fx { display: flex; margin-bottom: 60px; align-items: center;}
.tc-detail .fx .image { width: 240px; margin-right: 60px; }
.tc-detail .fx .image>div { border-radius: 64px 8px 64px 8px; overflow: hidden; padding-bottom: 141%; display: block; position: relative; }
.tc-detail .fx .image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-detail .fx .info { flex: 1 1 auto; min-width: 0; width: 1%; }
.tc-detail .fx .info .tt { font-size: var(--font-size28); line-height: 1.5em; font-family: var(--gmarket); color: #a8a8a8; font-weight: 500; display: inline-block; position: relative; }
.tc-detail .fx .info .tt::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 8px; background: var(--color-primary); top: -2px; right: -18px; }
.tc-detail .fx .info .tt .name { color: #2c2c2c; }
.tc-detail .fx .info .position { margin: 4px 0 24px; line-height: 1.5em; font-family: var(--gmarket); color: #676767; font-weight: 500; }
.tc-detail .fx .info .txt p { line-height: 1.66em; font-size: var(--font-size18); margin-bottom: 16px; }
.tc-detail .fx .info .txt p:last-child { margin-bottom: 0; }
.tc-info-tit { font-size: var(--font-size20); font-weight: 700; color: var(--color-primary); padding: 12px 24px; background: #ecf7f0; border-radius: 8px; margin-bottom: 30px; }
.tc-info-list { display: flex; flex-wrap: wrap; gap: 12px 0;}
.tc-info-list li { width: calc(100%/2); padding-left: 24px;}
.tc-info-list li span { position: relative; padding-left: 36px; font-size: var(--font-size18); font-weight: 500; line-height: 1.55em; display: block; }
.tc-info-list li span::before { content: ""; position: absolute; left: 0; width: 19px; height: 16px; background: url(../images/sub/modal-chk.png) center no-repeat; background-size: contain; top: 5px; }

/* 반응형 */
@media (max-width: 1024px) {
    .ws-modal-outer { padding: 15px;}
    .tc-header { padding: 20px 15px; padding-bottom: 15px; }
    .tc-detail { padding: 20px 15px; padding-bottom: 30px; }
    .tc-detail .fx { margin-bottom: 40px; }
    .tc-detail .fx .image { width: 180px; margin-right: 25px; }
    .tc-detail .fx .image>div { border-radius: 5px; }
    .tc-detail .fx .info .tt::after { width: 5px; height: 5px; right: -12px; }
    .tc-detail .fx .info .position { margin: 4px 0 14px;}
    .tc-detail .fx .info .txt p { margin-bottom: 10px; }
    .tc-info-tit { margin-bottom: 15px; padding: 8px 15px;}
    .tc-info-list { gap: 8px; }
    .tc-info-list li { padding-left: 0; width: calc(100%/2 - 4px);}
    .tc-info-list li span { padding-left: 20px; }
    .tc-info-list li span::before { width: 13px; height: 11px; }
}
@media (max-width: 640px) {
    .tc-detail .fx { align-items: flex-start;}
    .tc-detail .fx .image { width: 130px; margin-right: 15px; }
    .tc-info-list li { width: 100%; }
}