.title {
    margin-top: 32px;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    background: #214074;
    color: white;
    font-weight: bold;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.endai-form {
    /* margin-left: 5vw; */
    /* margin-right: 5vw; */
    /* width: 90%; */
    width: 100%;
}

.endai-form div {
    display: inline-block;
    vertical-align: text-top;
}

.endai-form .sect {
    width: 100%;
    margin-bottom: 32px;
}

.endai-form .label {
    padding-top: 6px;
    color: #214074;
    width: 30%;
    max-width: 192px;
}

.endai-form .required {
    width: max(18%, 36px);
    max-width: 64px;
    text-align: center;
}

.endai-form .required div {
    margin-top: 6px;
    border: 2px solid #CC1538;
    border-radius: 4px;
    text-align: center;
    color: #CC1538;
    font-size: 9px;
    width: 32px;
}

.endai-form .input {
    width: 65%;
}

.endai-form .input .player-num{
    margin-top: 6px;
    vertical-align: top;
}

.endai-form .input input[type="text"], .endai-form .input input[type="tel"], .endai-form .input input[type="password"] {
    color: #214074;
    height: 32px;
    border-radius: 2px;
    background: #f8f8f8;
    border: 1px solid #cecece;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-right: 64px;
    max-width: 256px;
}
.endai-form .input input[name="postal"] {
    width: calc(100% -192px);
}

@media screen and (max-width: 960px) {
    .endai-form .label {
        width: 192px;
    }
    .endai-form .input {
        margin-top: 8px;
        width: 90%;
    }

    .endai-form .input input[type="text"], .endai-form .input input[type="tel"] {
        margin-right: 0px;
    }

    .endai-form .input select.player {
        margin-right: 0px;
    }

    .endai-form .input select.category {
        margin-right: 0px;
    }

    .endai-form .input input[name="postal"] {
        width: 100%;
    }

    .endai-form .input textarea {
        margin-right: 0px;
    }

}