@charset "utf-8";
@import url("font.css");
@import url("reset.css");
@import url("base.css");
@import url("popup.css");
@import url("login.css");

/* login */
body:has(.wrap.login){
    background-color: #F4F6F9;
}
.inner-layer{
    max-width: 1300px;
    margin: 0 auto;
}
#header{
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #E0E5EC;
}
.header-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}
.header-logo > a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    line-height: 1.2;
    word-break: keep-all;
}
.header-logo strong{
    padding-left: 25px;
    border-left: 1px solid #E0E5EC;
    font-size: 1.8rem;
    font-weight: 600;
    color: #354359;
}
.header-wrap .external-link{
    font-size: 14px;
    color: #536074;
}
.external-link .icon{
    display: inline-block;
    margin-top: -5px;
    margin-left: 20px;
    font-size: 2.2rem;
    vertical-align: middle;
}

.footer-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border-top: 1px solid #DBE1E9;
    text-align: center;
}
.footer-wrap .copy{
    color: #88919E;
    font-size: 12px;
    line-height: 1.3;
}

.wrap.login #container{
    padding: 60px 0;
}
.sub-tab-wrap{
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    border: 1px solid #E0E5EC;
}
.sub-tab-menu{
    display: flex;
    background-color: #fff;
}
.sub-tab-menu > li{
    display: block;
    flex: 1;
    border-left: 1px solid #E0E5EC;
}
.sub-tab-menu > li:nth-child(6n+1){
    border-left: 0;
}
.sub-tab-menu > li > a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 140px;
    padding: 0 10px;
    text-align: center;
    transition: 0.3s ease;
}
.sub-tab-menu > li:hover > a:before,
.sub-tab-menu > li.on > a:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 7px solid #fff;
}
.sub-tab-menu > li .icon{
    transition: 0.3s ease;
}
.sub-tab-menu > li:hover > a .icon{
    transform: translateY(-3px);
}
.sub-tab-menu > li.on > a svg,
.sub-tab-menu > li.on > a svg path{
    stroke: #fff !important;
}
.sub-tab-menu > li:nth-child(1).on .icon path{
    fill: #fff;
}
.sub-tab-menu > li:nth-child(6) .icon img{
    width: 46px;
}
.sub-tab-menu > li:nth-child(6).on .icon img{
    content: url('../image/login/img_logo_on.png');
}
.con-wrap.user-type6 .img-login img{
    width: 90px;
}
.sub-tab-menu > li.on > a,
.sub-tab-menu > li.on > a p{
    color: #fff ;
}
.sub-tab-menu > li.user-type1:hover > a{
    background-color: #eef4ff;
}
.sub-tab-menu > li.user-type1.on > a{
    background-color: #245bc2;
}
.sub-tab-menu > li.user-type2:hover > a{
    background-color: #FFF3E7;
}
.sub-tab-menu > li.user-type2.on > a{
    background-color: #DE6A19;
}
.sub-tab-menu > li.user-type3:hover > a{
    background-color: #eef9f3;
}
.sub-tab-menu > li.user-type3.on > a{
    background-color: #227449;
}
.sub-tab-menu > li.user-type4:hover > a{
    background-color: #f2f0ff;
}
.sub-tab-menu > li.user-type4.on > a{
    background-color: #6350bc;
}
.sub-tab-menu > li.user-type5:hover > a{
    background-color: #F8FCF2;
}
.sub-tab-menu > li.user-type5.on > a{
    background-color: #6CA43E;
}
.sub-tab-menu > li.user-type6:hover > a{
    background-color: #f2f5f8;
}
.sub-tab-menu > li.user-type6.on > a{
    background-color: #38475e;
}

.sub-tab-menu strong{
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}
.sub-tab-menu p{
    margin-top: 10px;
    font-size: 12px;
    color: #6B7480;
}
.sub-tab-con{
    display: none;
}
.con-wrap{
    overflow: hidden;
    display: flex;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    border: 1px solid #E0E5EC;
    border-top: 0;
    box-shadow: 0 18px 45px 0 rgba(33, 62, 98, 0.06);
}
.left-con,
.right-con{
    padding: 50px 3%;
}
.left-con{
    flex: 0 0 auto;
    width: 62%;
}
.login-info{
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
}
.login-info .img-login{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 125px;
    height: 127px;
}
.img-login:before,
.img-login:after{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    z-index: -1;
    box-sizing: border-box;
}
.img-login:before{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 54px 54px 12px 12px;
    transform: rotate(-8deg);
}
.img-login:after{
    top: -10px;
    right: -10px;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    opacity: 0.16;
}
.img-login svg{
    width: 60px;
    height: auto;
}
.login-info .tit{
    display: block;
    margin-bottom: 15px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}
.login-info p{
    font-size: 14px;
    line-height: 1.4;
    color: #536176;
}
.login-info p + p{
    margin-top: 15px;
}
.menu-info-list{
    margin-top: 100px;
    border-top: 1px solid rgba(46, 109, 224, 0.17);
}
.menu-info-list > li{
    display: flex;
    gap: 25px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(46, 109, 224, 0.17);
}
.menu-info-list strong{
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    color: #273B57;
}
.menu-info-list .text-wrap p{
    margin-top: 10px;
    font-size: 14px;
    color: #5E6B7E;
}
.menu-info-list + .help-text{
    margin-top: 20px;
}
.login-info .help-text{
    font-size: 12px;
    color: #68768B;
}
.right-con{
    width: 100%;
}
.login-conbox{
    font-size: 14px;
    color: #677488;
}
.login-conbox .tit{
    display: block;
    margin-bottom: 15px;
    font-size: 2.9rem;
    font-weight: 800;
    color: #1C2E4A;
}
.login-conbox .input-box{
    margin-top: 50px;
}
.login-conbox .form-group{
    display: block;
}
.login-conbox .form-tit{
    display: block;
    width: 100%;
    color: #314057;
    font-weight: 700;
}
.login-conbox .form-con{
    width: 100%;
    margin-top: 10px;
}
.login-conbox .form-item{
    width: 100%;
    height: 56px;
    padding: 0 15px;
    font-size: 1.5rem;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #D3DAE4;
}
.form-item::placeholder{
    color: #9099A6;
}
.login-conbox .form-group + .form-group{
    margin-top: 20px;
}
.form-con{
    position: relative;
}
.form-con input[type="password"]{
    padding-right: 50px;
}
.form-con .btn-pw{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: 0.3s ease;
}
.form-con .btn-pw:hover{
    background-color: #f2f5f8;
}
.login-menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.login-menu ul > li{
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.login-menu ul > li + li{
    padding-left: 10px;
    margin-left: 6px;
}
.login-menu ul > li + li:before{
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 1px;
    left: 0;
    width: 1px;
    height: 10px;
    background-color: #D5DCE5;
}
.login-menu ul > li > a{
    display: block;
    font-size: 12px;
    color: #667184;
}
.login-menu .checkbox-group{
    font-size: 13px;
}
.login-conbox .btn-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.login-conbox .btn.btn-login,
.login-conbox .btn.btn-login-finger,
.login-conbox .btn.btn-signup{
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    padding: 18px 15px;
    padding-right: 20px;
    border-radius: 5px;
    font-size: 1.7rem;
    font-weight: 700;
}
.btn.btn-login .arr{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    display: inline-block;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1;
    vertical-align: top;
}
.btn-wrap .btn{
    width: calc((100% - 10px)/2);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #D7DEE8;
    background-color: #fff;
    font-size: 13px;
    color: #5A687C;
    text-align: center;
    white-space: nowrap;
}
.btn.btn-login-finger{
    background-color: #334FB4;
    border-color: #334FB4;
    color: #fff;
}
.btn.btn-signup{
    background-color: #26966E;
    border-color: #26966E;
    color: #fff;
}
.btn-login-finger svg,
.btn-signup svg{
    display: inline-block;
    margin-top: -3px;
    margin-right: 5px;
    width: 24px;
    vertical-align: middle;
}
.login-conbox .notice{
    display: flex;
    gap: 8px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #E8EDF3;
    font-size: 12px;
    line-height: 1.5;
    color: #7C8899;
}
.login-menu .checkbox-group input[type="checkbox"]:before{
    border-color: #fff !important;
}

/* 전공의 */
.user-type1 .left-con{
    background-color: #EEF4FF;
}
.user-type1 .point-color{
    color: #1D4EA3;
}
.user-type1 .img-login:before{
    background-color: #DCE9FF;
}
.user-type1 .img-login:after{
    border: 6px solid #2E6DE0;
}
.user-type1 .checkbox-group input[type="checkbox"]:checked{
    border-color: #1d4ea3;
    background-color: #1d4ea3;
}
.user-type1 .btn-login{
    background-color: #1D4EA3;
    background-color: #1D4EA3;
    color: #fff;
}
.user-type1 .btn-pw:hover svg,
.user-type1 .btn-pw:hover path{
    stroke: #1d4ea3;
}

/* 지도전문의 */
.user-type2 .left-con{
    background-color: #FFF3E7;
}
.user-type2 .point-color{
    color: #DE6A19;
}
.user-type2 .img-login:before{
    background-color: #FFE3C8;
}
.user-type2 .img-login:after{
    border: 6px solid #F28A3C;
}
.user-type2 .checkbox-group input[type="checkbox"]:checked{
    border-color: #DE6A19;
    background-color: #DE6A19;
}
.user-type2 .btn-login{
    background-color: #DE6A19;
    background-color: #DE6A19;
    color: #fff;
}
.user-type2 .menu-info-list .icon svg,
.user-type2 .menu-info-list .icon path{
    stroke: #DE6A19;
}
.user-type2 .btn-pw:hover svg,
.user-type2 .btn-pw:hover path{
    stroke: #DE6A19;
}

/* 수련병원 */
.user-type3 .left-con{
    background-color: #eef9f3;
}
.user-type3 .point-color{
    color: #206d48;
}
.user-type3 .img-login:before{
    background-color: #d9eee2;
}
.user-type3 .img-login:after{
    border: 6px solid #2d9a66;
}
.user-type3 .checkbox-group input[type="checkbox"]:checked{
    border-color: #206d48;
    background-color: #206d48;
}
.user-type3 .btn-login{
    background-color: #206d48;
    background-color: #206d48;
    color: #fff;
}
.user-type3 .menu-info-list .icon svg,
.user-type3 .menu-info-list .icon path{
    stroke: #2d9a66;
}
.user-type3 .btn-pw:hover svg,
.user-type3 .btn-pw:hover path{
    stroke: #206d48;
}

/* 학회 */
.user-type4 .left-con{
    background-color: #f2f0ff;
}
.user-type4 .point-color{
    color: #473fa8;
}
.user-type4 .img-login:before{
    background-color: #e1ddff;
}
.user-type4 .img-login:after{
    border: 6px solid #6c63dc;
}
.user-type4 .checkbox-group input[type="checkbox"]:checked{
    border-color: #473fa8;
    background-color: #473fa8;
}
.user-type4 .btn-login{
    background-color: #473fa8;
    background-color: #473fa8;
    color: #fff;
}
.user-type4 .menu-info-list .icon svg,
.user-type4 .menu-info-list .icon path{
    stroke: #6c63dc;
}
.user-type4 .btn-pw:hover svg,
.user-type4 .btn-pw:hover path{
    stroke: #473fa8;
}

/* 인턴 */
.user-type5 .left-con{
    background-color: #F8FCF2;
}
.user-type5 .point-color{
    color: #4F7D34;
}
.user-type5 .img-login:before{
    background-color: #DFF0CC;
}
.user-type5 .img-login:after{
    border: 6px solid #50C81D;
}
.user-type5 .checkbox-group input[type="checkbox"]:checked{
    border-color: #4F7D34;
    background-color: #4F7D34;
}
.user-type5 .btn-login{
    background-color: #4F7D34;
    background-color: #4F7D34;
    color: #fff;
}
.user-type5 .menu-info-list .icon svg,
.user-type5 .menu-info-list .icon path{
    stroke: #4F7D34;
}
.user-type5 .btn-pw:hover svg,
.user-type5 .btn-pw:hover path{
    stroke: #4F7D34;
}

/* 대한의학회 */
.user-type6 .left-con{
    background-color: #f2f5f8;
}
.user-type6 .point-color{
    color: #334255;
}
.user-type6 .img-login:before{
    background-color: #e1e7ee;
}
.user-type6 .img-login:after{
    border: 6px solid #4b5c74;
}
.user-type6 .checkbox-group input[type="checkbox"]:checked{
    border-color: #334255;
    background-color: #334255;
}
.user-type6 .btn-login{
    background-color: #334255;
    background-color: #334255;
    color: #fff;
}
.user-type6 .menu-info-list .icon svg,
.user-type6 .menu-info-list .icon path{
    stroke: #4b5c74;
}
.user-type6 .btn-pw:hover svg,
.user-type6 .btn-pw:hover path{
    stroke: #334255;
}

.popup-wrap.pop-login .popup-contents{
    margin: 6vh auto;
    border-radius: 16px;
}
.pop-login .popup-tit-wrap{
    padding: 25px 20px;
    padding-right: 50px;
    border-bottom: 1px solid #dce4ef;
    font-size: 1.8rem;
    text-align: left;
}
.pop-login .popup-conbox{
    padding: 20px 20px 30px;
}
#pop-signup .write-wrap{
    display: block;
    border-top: 0;
}
#pop-signup .write-wrap .form-tit,
#pop-signup .write-wrap .form-con{
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    font-size: 14px;
    color: #333;
}
#pop-signup .write-wrap .form-con{
    margin-top: 5px;
}
#pop-signup .write-wrap li{
    border: 0;
}
#pop-signup .write-wrap li + li{
    margin-top: 15px;
}
#pop-signup .form-tit .fz-small{
    font-size: 12px;
    font-weight: 400;
}
#pop-signup .notice{
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #f4da79;
    background-color: #fffbec;
    border-radius: 8px;
    color: #99500b;
    font-size: 13px;
    line-height: 1.5;
}
#pop-signup .notice .icon{
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}
.btn-wrap.n2{
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.btn-wrap.n2 .btn{
    width: calc((100% - 10px)/2);
    min-width: initial;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
}
#pop-signup .btn.btn-signup{
    background-color: #af5513;
    border-color: #af5513;
    color: #fff;
    box-shadow: 0 5px 12px #af551326;
}
.pop-login .btn-pop-close{
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-size: 18px;
}
.pop-login .popup-con{
    font-size: 1.6rem;
}
.pop-login .popup-contit-wrap{
    margin-bottom: 20px;
}
.pop-login .popup-contit{
    font-size: 2.4rem;
}
.pop-login .btn.btn-confirm{
    margin: 0;
    width: 100%;
    background-color: #334255;
    border-color: #334255;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
}
.popup-wrap#pop-info .popup-contents{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
}
.btn.btn-wba,
.btn.btn-menual{
    padding-inline: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.btn.btn-wba{
    border-color: #58687D;
    background-color: #58687D;
}
.btn.btn-menual{
    border-color: #894BBF;
    background-color: #894BBF;
}
.btn-wba .icon,
.btn-menual .icon{
    display: inline-block;
    margin-top: -3px;
    margin-right: 5px;
    vertical-align: middle;
}
.btn-wba .icon svg,
.btn-menual .icon svg{
    vertical-align: middle;
}

#pop-wba .popup-contents{
    max-width: 1000px;
}
#pop-wba .popup-conbox{
    padding: 0;
}

/* responsive */
@media screen and (max-width: 1300px){
    .inner-layer{
        padding-inline: 20px;
    }
}
@media screen and (max-width: 1024px){
    html,
    body{
        font-size: 9px;
    }
}
@media screen and (max-width: 768px){
    html,
    body{
        font-size: 8px;
    }

    .wrap.login #container{
        padding: 30px 0;
    }
    .header-logo > a{
        gap: 15px;
        font-size: 12px;
    }
    .header-logo > a img{
        width: 100px;
    }
    .header-logo strong{
        padding-left: 15px;
    }
    .header-wrap .external-link{
        font-size: 0;
    }
    .external-link .icon{
        display: block;
        font-size: 24px;
    }
    .footer-wrap{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 15px 0 30px;
        text-align: center;
    }

    .sub-tab-menu{
        flex-wrap: wrap;
    }
    .sub-tab-menu > li{
        flex: inherit;
        border-top: 1px solid #E0E5EC;
        border-left: 1px solid #E0E5EC;
        width: 33.33%;
    }
    .sub-tab-menu > li:nth-child(3n+1){
        border-left: 0;
    }
    .sub-tab-menu > li:nth-child(-n+3){
        border-top: 0;
    }
    .sub-tab-menu > li > a{
        height: 80px;
        padding: 15px;
        word-break: keep-all;
    }
    .sub-tab-menu .icon svg{
        width: auto;
        height: 24px;
    }
    .sub-tab-menu > li:nth-child(4) .icon svg{
        height: 20px;
    }
    .sub-tab-menu > li:nth-child(6) .icon img{
        width: 30px;
    }
    .sub-tab-menu p{
        display: none;
    }
    .sub-tab-menu strong{
        margin-top: 7px;
        font-size: 14px;
    }
    .con-wrap{
        flex-direction: column-reverse;
    }
    .left-con,
    .right-con{
        width: 100%;
        padding: 25px 20px;
    }
    .login-conbox .tit{
        margin-bottom: 10px;
        font-size: 25px;
    }
    .login-conbox .input-box{
        margin-top: 20px;
    }
    .login-conbox .form-item{
        height: 50px;
        padding: 0 10px;
        font-size: 14px;
    }
    .form-con .btn-pw{
        right: 10px;
    }
    .btn-wrap .btn{
        font-size: 13px;
    }
    .login-conbox .btn.btn-login,
    .login-conbox .btn.btn-login-finger, 
    .login-conbox .btn.btn-signup{
        padding: 15px;
        font-size: 16px;
    }
    .btn.btn-login .arr{
        margin-top: -2px;
        font-size: 23px;
    }
    .login-conbox .notice{
        padding-top: 15px;
        margin-top: 15px;
        font-size: 11px;
    }
    .login-conbox .notice br{
        display: none;
    }
    .login-info .tit{
        font-size: 26px;
    }
    .login-info p{
        font-size: 13px;
    }
    .login-info p + p{
        margin-top: 10px;
    }
    .menu-info-list{
        margin-top: 30px;
    }
    .menu-info-list > li{
        gap: 15px;
    }
    .menu-info-list strong{
        font-size: 16px;
    }
    .menu-info-list .text-wrap p{
        font-size: 13px;
    }
    .login-info .img-login{
        display: none;
    }
    .btn-login-finger svg, 
    .btn-signup svg{
        width: 20px;
        height: 20px;
    }

    .pop-login .popup-tit-wrap{
        padding: 20px;
        padding-right: 50px;
        font-size: 16px;
    }
    #pop-signup .btn-pop-close{
        top: 13px;
        right: 12px;
    }
    .btn-wrap.n2 .btn{
        padding: 10px 15px;
        font-size: 14px;
    }
    .write-wrap .form-item{
        height: 40px;
    }

    .popup-contit-wrap{
        padding-right: 30px;
    }
    .pop-login .popup-contit{
        font-size: 16px;
    }
    .pop-login .popup-con{
        font-size: 14px;
    }
    .pop-login .btn.btn-confirm{
        padding: 10px 15px;
        font-size: 14px;
    }
    #pop-info.popup-wrap .btn-pop-close{
        top: 16px;
    }
    .btn.btn-wba, .btn.btn-menual{
        padding-inline: 0;
        font-size: 12px;
    }
    .btn-wba .icon, .btn-menual .icon{
        display: none;
        margin-top: -2px;
        margin-right: 3px;
    }
    .btn-wba .icon svg, 
    .btn-menual .icon svg{
        width: 18px;
        height: auto;
    }
}