body{
    display: flex;
    position: relative;
    background-color: #e4e4e4;
    flex-flow: column;
    min-height: 100vh;
}
#main {
    flex: 1;
}
#mypage_contents{
    justify-content: center;
}
button{
    margin: 0 10px;
    width: 250px;
}

h1.contact_title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

h2.contact_sub {
    color: #575457;
    padding-top: 10px;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

input[type="text"].title_contact,input[type="email"].title_contact{
    font-size: 18px;
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid  #c0c0c0;
    color: #575457;
}

.honbun_contact{
    width: 100%;
    resize: none;
    padding: 12px;
    border:  1px solid #c0c0c0;
    font-size: 18px;
}

.button_contact{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
p.error{
    color: #ff5555;
    margin-bottom: 14px;
}

.contact_info {
    margin-bottom: 30px;
}

#form p .backframe{
    color: #fff;
    background: #cd0a0a;
    border: 1px solid #cd0a0a;
    border-radius: 5px;
    margin: 2px 2px;
    padding: 0px 10px;
}

#form p .backframe_s{
    color: #fff;
    background: #cd0a0a;
    border: 1px solid #cd0a0a;
    border-radius: 5px;
    margin: 2px 2px;
    padding: 0px 10px;
    font-size: 12px;
}
#form .privacy_link{
    margin-top: 20px;
    margin-bottom: -20px;
}
#form .privacy_link a{
    color: #54c5f3;
    font-weight: 600;
}

.contact_table{
    border-collapse: collapse;
    border-color: #c0c0c0;
    border-width: 1px;
    border-style: solid;
}
.contact_table .contact_th{
    width: 30%;
}
.contact_table td{
    vertical-align: center;
    border: 1px solid #c0c0c0;
    padding: 5px 10px 5px 10px;
}
.contact_table th{
    vertical-align: middle;
    border: 1px solid #c0c0c0;
}

input[type="text"].title_contactst,input[type="email"].title_contactst{
    font-size: 18px;
    width: 100%;
    /*margin-bottom: 20px;*/
    padding: 12px;
    border: 1px solid  #c0c0c0;
    color: #575457;
}

.honbun_contactst{
    width: 100%;
    resize: none;
    padding: 12px;
    border:  1px solid #c0c0c0;
    font-size: 18px;
}

.sub_check{
    display: none;
    width: 20%;
}
.sub_checkbtn{
    display: inline-block;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dedede;
    position: relative;
    padding: 8px 15px 8px 40px;
    border-radius: 5px;
    /* margin-right: 30px; */
    margin: 5px 5px 5px 0px;
    vertical-align: middle;
}

.sub_checkbtn::before{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #919191;
    border-radius: 5px;
    margin-left: 10px;
    background-color: #fff;
    vertical-align: middle;
}

.sub_checkbtn.qualification{
    width: 150px;
}
.sub_check:checked + .sub_checkbtn{
    background-color: #ff6069;
    color: #fff;
}

.sub_check:checked + .sub_checkbtn::after{
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 16px;
    width: 7px;
    height: 14px;
    transform: rotate(45deg) translate(-75%, -45%);
    border-bottom: 3px solid #ff6069;
    border-right: 3px solid #ff6069;
}


