h1 {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid #4d4d4d;
}

.container {
    max-width: 720px;
}

input[type=text],
input[type=url],
input[type=tel],
input[type=number],
input[type=email],
textarea {
    width: 100%;
    border: 1px solid #969696;
    font-size: 16px;
    line-height: normal;
}

textarea {
    vertical-align: text-top;
}

input[type=radio] {
    margin-right: 5px;
}

form {
    text-align: center;
}

.form-message {
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 26px
}

.head {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 18px;
    border-bottom: 1px solid #666666;
    padding-bottom: 5px;
}

.head::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #4a4a4a;
    margin-right: 6px;
}

td label {
    margin-right: 5px;
}

td label:last-child {
    margin-right: 0px;
}

#register-form.hidden {
    height: 0;
    overflow: hidden;
}

#confirm {
    margin-bottom: 80px;
    text-align: center;
}

#confirm.hidden {
    height: 0;
    overflow: hidden;
}

table {
    width: 100%;
    margin-bottom: 50px;
}


th, td {
    padding: 10px;
    border: 1px solid #b2b2b2;
    background-color: #ffffff;
}

th {
    width: 220px;
    background-color: #d6d6d6;
}

th.required::after {
    content: '※';
    font-size: 12px;
    color: red;
    position: relative;
    top: -4px;
}

label {
    display: inline-block;
    padding: 8px 0;
}


.types {
    line-height: 25px;
}

.introduction {
    word-break: break-all;
    white-space: pre-wrap;
}

#submit-btn {
    width: 100%;
    height: 50px;
    background-color: #eeeeee;
    border: 1px solid #b2b2b2;
    border-radius: none;
}

#submit-btn {
    width: 100%;
    height: 50px;
    background-color: #eeeeee;
    border: 1px solid #b2b2b2;
    border-radius: none;
    cursor: pointer;
}

#edit-btn,
#register-btn {
    width: 48%;
    height: 50px;
    background-color: #eeeeee;
    border: 1px solid #b2b2b2;
    border-radius: none;
    cursor: pointer;
}

#edit-btn {
    margin-right: 2%;
}

#register-btn {
    color: #ffffff;
    background-color: #44c400;
}

#error-message {
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid red;
    color: red;
    border-radius: 3px;
    background-color: #ffe3e3;
    padding: 20px 15px;
}

.complete {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

.complete .message {
    border: 1px solid #999999;
    padding: 30px 15px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

#image-preview {
    width: 100%;
}

#image-preview img,
.profile-img img {
    margin-top: 10px;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
}

.profile-img img {
    margin-top: 0;
    vertical-align: top;
}

/*for SmartPhone*/
@media screen and (max-width: 767px){
    th, td {
        width: 100%;
        display: block;
        border-bottom: none;
        min-height: 39px;
    }
    
    tr:last-child td {
        display: block;
        border-bottom: 1px solid #b2b2b2;
    }
    
    #edit-btn,
    #register-btn {
        width: 100%;
    }
    
    #edit-btn {
        margin-right: 0;
        margin-bottom: 10px;
    }
}