main{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}


.title{
    
    margin-bottom: 54px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.sub-title{
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--black);
}
.sub-title span{
    color: #B1B8C7;
}
.sub-title span.red{
    color: #F12C01;
}

input:focus{
    outline: none;
}
.input-component{
    margin-bottom: 52px;
    display: grid;
    gap: 8px;
}
.input-box{
    position: relative;
    padding: 16px 24px;
    border: 1px solid #B1B8C7;
    border-radius: 10px;
}
.input-box input{
    font-size: 16px;
}
.input-box.certification-check-box,
.input-box.phone-check-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 24px;   
}
.error-message{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    color: #F12C01;
    font-size: 12px;
    font-weight: 500;
}
.wrong{
    margin-top: 2px;
    color: var(--red);   
    font-size: 13px;
    font-weight: 500;
}
.ok{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(-50% , -50%);
}

.agreement{
    display: grid;
    gap: 8px;
    margin-bottom: 40px;
}

.submit-button{
    width: 346px;
    height: 48px;
    background: #B1B8C715;
    border: 1px solid #B1B8C7;
    border-radius: 10px;
}
.submit-button.action{
    background:var(--blue);
    color: #fff;
    border: 1px solid var(--blue);
}
.agreement-list{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    border-radius: 10px;
    background: #B1B8C715;
}
.agreement-list a{
    color: var(--black50);
    font-size: 12px;
    text-decoration: underline;
}
.agreement-list span{
    color: #B1B8C7;
}
.agreement-all{
    padding: 0 12px;
}

.auto-text{
    position: absolute;
    top: 50%;
    right: -8%;
    transform: translate(-50%, -50%);
    color: #B1B8C7;
}

.main-page-button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    color: #B1B8C7;
    font-size: 13px;
    text-decoration: underline;
}


.easy-login{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}
.easy-login button{
    width: 48px;
    height: 48px;
}
.kakao-login{
    background-image: url(../../image/login/kakao-button.png);
}
/* .naver-login{
    background-image: url(../../image/login/naver-button.png);
}
.google-login{
    background-image: url(../../image/login/google-button.png);
}
 */

.certification{
    padding: 16px 10px;
    background: #B1B8C715;
    color: #172B4D60;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}
.certification.action{
    background: #FD3E3E;
    color: var(--white);
}
.certification{
    width: 340px;
    cursor: pointer;
}
.certification:hover{
    background: #d72525;
}

@media screen and (max-width: 812px) {
    main{
        width:  360px;
        padding: 10px;
    }
    .title{
        width: 320px;
        margin: 100px auto 60px;
    }
    .submit-button{
        margin: 0 auto;
        width: 300px;
    }
    .certification {
        font-size: 12px;
    }
    .submit-button-box{
        display: flex;
        justify-content: center;
    
    }
    .phone{
        width: 180px;
    }
}
@media screen and (max-width: 360px) {
    main{
        width:  100%;
        padding: 10px;
       
    }
    .title{
        width: 260px;
        margin: 100px auto 60px;
        font-size: 20px;
    }
    .submit-button{
        width: 250px;
    }
    .input-box{
        padding: 10px;
    }
    .input-box.certification-check-box, 
    .input-box.phone-check-box{
        padding: 10px;
    }
    .phone{
        width: 150px;
    }
    .input-box input{
        font-size: 13px;
    }
    .agreement{
        font-size: 12px;
    }
    .agreement-all{
        font-size: 16px;
    }
}