@charset "utf-8";

/* 공통레이아웃 */
*{
    margin: 0;padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
html{font-size: 62.5%; height: 100%;}
a{text-decoration: none;color: #000;}
ul,ol,li{list-style: none;}
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}
address,
cite,
code,
em {
    font-style: normal;
    font-weight: normal;
}
label,
img,
input,
select,
textarea,
button,
a, svg {
    vertical-align: middle;
}
button{
    border: none;
    outline: none;
    background-color: transparent;
}
a, button:hover, input[type=checkbox]:hover, select:hover, input[type=file]:hover {
    cursor: pointer;
}
fieldset, img {
    border: 0 none;
}
input:focus, select:focus, option:focus, textarea:focus, button:focus{
    outline: none;
}
p, a, h1, h2, h3, h4, h5, h6 {
    transform: skew(-0.1deg);
}

/* FONT 폰트 */
/* font-family: 'Noto Sans KR', sans-serif; */

/* ----- index Style시작 ----- */
body{
    height: 100%; min-width: 320px;
    font-family: 'Noto Sans KR', sans-serif;
    scroll-behavior: smooth;
    font-size: 1.4rem;
    font-weight: normal;
    color: #222;
    -webkit-font-smoothing: antialiased;
    /* background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('../images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; */
    background-color: #f5f5ff;
    overflow: hidden;
    letter-spacing: -0.5px;
    word-break: keep-all;
}

.wrapper{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
    min-width: 319px;
}

/* --- index 공통요소 --- */
.header-title, .section-title{
    color: #222;
    font-family: 'Noto Sans KR';
    font-weight: 700;
    font-size: 2rem;
}
.black{color: #222;}
label, button{cursor: pointer;}
input{padding: 0 10px;}

/* login-box */
.login-box{
    max-width: 480px; min-width: 300px;
    width: 85%;
    /* height: 70%; */
    max-height: 600px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(48, 48, 48, 0.15);
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
/* header */
.header{
    height: 105px;
    flex: none;
    /* background-color: #d0cec2; */
    border-radius: 15px 15px 0 0;
}
.header-inner{
    text-align: center;
    line-height: 105px;
}
.logo{height: 50px; margin-top: 15px;}
.logo img{height: 100%;}
.header-inner .text {
    color: #888888;
    font-size: 1.8rem;
    letter-spacing: 0.4px;
}

/* section */
.section-inner{
    padding: 45px 20px;
    padding-bottom: 20px;
}
.content{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
#id, #password{
    height: 50px;
    border: 1px solid #d2d2d2;
    width: 100%;
}
#id:focus, #password:focus{
    border: 2px solid #433af5;
    outline: none;
}
input::placeholder{
    color: #999;
    font-size: 1.6rem;
}
#id{margin-bottom: 1.5rem;}
#password{margin-bottom: 1rem;}
.password {
    position: relative;
}
.check-save{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
}
.password .icon {
    width: 25px;
    position: absolute;
    top: 13px; right: 12px;
    cursor: pointer;
}
.password .icon .show {display: none;}

.check-save input{margin-bottom: 0;}
#save{margin-right: 5px;}
.login-bt{
    margin-top: 3.2rem;
    height: 58px;
    color: white;
    background-color: #433af5;
    font-weight: 300;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 0;
}

/* footer */
.footer{
    margin-bottom: 50px;
}
.footer-inner{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    font-size: 1.45rem;
    /* height: 20px; */
    padding: 0 20px;
    line-height: 1.6;
}
.footer-inner .number {color: #404040;}
.signUp, .searchId, .searchPw{
    width: 200px;
    cursor: pointer;
}
.signUp:hover, .searchId:hover, .searchPw:hover{
    text-decoration: underline;
    text-underline-offset : 2px;
}
.searchId{
    border-left: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2;
}
.link {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    position: absolute;
    bottom: 35px; left: 50%;
    transform: translateX(-50%);
}
.link .logo-link img {width: 40px; margin-right: 10px;}
.link a {font-size: 1.8rem; color: #4dafcc;}


/* max-width: 580px */
@media screen and (max-width: 580px) {
    .section-inner {
        padding: 40px 20px;
    }
    .header{
        height: 100px;
    }
    .header-inner{
        line-height: 100px;
    }
    .logo{height: 100px;}
    .logo img{height: 115px;}
    
    #id, #password {
        height: 48px;
        font-size: 1.5rem;
    }
    input::placeholder{
        font-size: 1.5rem;
    }
    .footer {
        margin-bottom: 60px;
    }
    .login-bt{
        font-size: 2.6rem;
        margin-top: 3rem;
        height: 55px;
    }
}
/* max-width:480px */
@media screen and (max-width:480px) {
    .header{
        height: 95px;
    }
    .header-inner{
        line-height: 95px;
    }
    .logo{height: 95px;}
    .logo img{height: 110px;}
}
/* max-width:460px */
@media screen and (max-width:460px) {
    #id, #password {
        height: 45px;
        font-size: 1.4rem;
    }
    input::placeholder{
        font-size: 1.4rem;
    }
    .login-bt {
        font-size: 2.4rem;
        height: 52px;
    }
    .check-save label{
        font-size: 1.3rem;
    }
    #save {
        margin-right: 4px;
    }
    .footer-inner{font-size: 1.35rem;}
}
/* max-width:420px */
@media screen and (max-width:420px) {
    .header{
        height: 85px;
    }
    .header-inner{
        line-height: 85px;
    }
    .logo{height: 85px;}
    .logo img{height: 100px;}
    #id, #password {
        height: 42px;
    }
    .login-bt {
        font-size: 2.2rem;
        height: 48px;
    }
    .check-save label{
        font-size: 1.2rem;
    }
    .footer-inner{font-size: 1.3rem;}
}


/* -----------#idSearch----------- */
.redT{color: #ef4551;font-weight: 500;font-size: 1.8rem;}
#idSearch, #pwSearch{text-align: center; letter-spacing: -.7px;}
#idSearch .section-inner, #pwSearch .section-inner{padding: 40px 20px 45px 20px;}
#idSearch .header-title, #pwSearch .header-title{
    font-size: 3.4rem;
    letter-spacing: -0.8px;
    color: #fff;
}
#idSearch .explain, #pwSearch .explain{
    font-size: 1.8rem;
    margin-bottom: 40px;
    width: 100%;
    background-color: rgb(247, 247, 247);
    line-height: 40px;
    padding: 1.5px 0;
}
#idSearch .email-box, #pwSearch .email-box{
    width: 100%;
    text-align: left;
}
#idSearch .email-box input, #pwSearch .email-box input{
    width: 100%; height: 40px;
    margin-top: 5px;
}
#idSearch .email-box label, #pwSearch .email-box label{
    font-size: 1.6rem;
}
#idSearch .email-box input:focus, #pwSearch .email-box input:focus{
    border: 2px solid #5e5357;
    outline: none;
}
#idSearch .login-bt, #pwSearch .login-bt{
    font-size: 2.6rem;
    margin-top: 1.2rem;
    height: 55px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
#idSearch .footer, #pwSearch .footer{margin-bottom: 25px;}
#idSearch .footer-inner, #pwSearch .footer-inner{justify-content: left;}
#idSearch .back, #pwSearch .back{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    width: 75px;
}
.back-text:hover{
    text-decoration: underline;
    text-underline-offset: 2px;
}


@media screen and (max-width: 640px) {
    #idSearch .explain, #pwSearch .explain{
        font-size: 1.6rem;
    }
}
@media screen and (max-width: 540px) {
    #idSearch .header-title, #pwSearch .header-title{
        font-size: 3rem;
    }
    #idSearch .login-bt, #pwSearch .login-bt{
        font-size: 2.4rem;
    }
}
@media screen and (max-width: 480px) {
    #idSearch .explain, #pwSearch .explain{
        /* font-size: 1.4rem; */
    }
    #idSearch .login-bt, #pwSearch .login-bt{
        font-size: 2.2rem;
        height: 48px;
    }
}
@media screen and (max-width: 460px) {
    .login-box{
        width: 100%; height: 100vh;
        min-width: 320px;
        top: 0;
        transform: translateX(-50%);
        max-height: 100vh;
    }
    #idSearch .header, #pwSearch .header{
        border-radius: 0;
    }
}
@media screen and (max-width: 420px) {
    #idSearch .explain, #pwSearch .explain{
        font-size: 1.5rem;
        letter-spacing: -0.8px;
    }
    #idSearch .login-bt, #pwSearch .login-bt{
        font-size: 2.2rem;
        height: 48px;
    }
    #idSearch .section-inner, #pwSearch .section-inner {
        padding: 40px 10px 65px 10px;
    }
}
@media screen and (max-width: 380px) {
    #idSearch .explain, #pwSearch .explain{
        font-size: 1.45rem;
    }
}
@media screen and (max-width: 340px) {
    #idSearch .explain, #pwSearch .explain{
        font-size: 1.4rem;
    }
}