*{
    outline:none;
    max-width:100%;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    margin:0;
}
header{
    padding:10px 30px;
    display:flex;
    align-items:center;
}

header .left{
    flex:1;
}

.mobile{
    display:none;
}

.pc{
    width:400px;
}


.right img{
    width:160px;
}

main{
    text-align:center;
}


.form{
    display:inline-block;
    width:580px;
    padding:30px;
    margin:20px 0;
    border-top:4px solid #240f6b;
    border-radius:4px;
    box-shadow:1px 1px  7px #e3e3e3;
}
.title{
    font-size:1.6rem;
    font-weight:bold;
}

.card{
    margin:30px 0;
}

.card img{
    width:200px;
}


.col{
    margin:15px 0;
    position:relative;
    display:inline-block;
    width:340px;
}

.reset img{
    width:340px;
}


button{
    background:#ff5f00;
    color:white;
    border:none;
    border-radius:50px;
    padding:14px 30px;
    font-size:1.1rem;
    font-weight:500;
}

label{
    position:absolute;
    top:-15px;
    left:10px;
    padding:4px;
    background:white;
}

input{
    width:100%;
    padding:16px;
    border-radius:15px;
    border:1Px solid #d5d5d5;
}

.check input{
    width:18px; height:18px;
}

@media (max-width:800px){
    .form{border-top:none; border-radius:none;}
    header{padding:10px;}
    .pc{display:none;}
    .mobile{display:block; width:120px;}
    
}

input.error{
    border:1px solid red;
}

.error{
    color:red;
}