img {
    max-height: 200px;
    width: auto;
}

.red_color_text {
    color: #d32d25;
}

body div.main_container {
    max-width: 960px;
    margin: auto;
}
body div.main_container_vote {
    max-width: 1200px;
    margin: auto;
}

.flex_container {
    display: flex;
    align-items: flex-start;
}

.form_container {
    margin: 85px 0 85px 0;
    padding-top: 50px;
}

/*フォーム用*/

h1.form_title_head {
    font-size: 1rem;
    font-weight: bold;
    margin: 1rem 0;
}

.form_user_info ul {
    margin: 1rem 1rem 2rem 0;
}

.form_user_info ul li {
    font-size: 1rem;
    font-weight: 600;
}

.form_photo_area, .form_theme_area {
    padding-left: 2rem;
}

.form_photo_area {
    margin-bottom: 1rem;
}

.form_photo_area p {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form_photo_area p span {
    margin-left: 1rem;
}

.form_photo_area label {
    font-size: .8rem;
    font-weight: 600;
    padding: .5rem 3rem;
    border-radius: 20px;
    color: #ffffff;
    background-color: #000;
    cursor: pointer;
    margin-right: 1rem;
}

.form_photo_area input[type="file"] {
    display: none;
}

.form_theme_area {
    margin: 2rem 0;
}

.form_theme_area p {
    display: inline-block;
    font-weight: 600;
}

.form_mail_info {
    margin: .5rem 0;
    text-align: center;
    position: relative;
    padding-top: 1.2rem;
}

.form_mail_info::before {
    content: 'メールアドレス';
    font-size: .8rem;
    font-weight: 600;
    position: absolute;
    top: 0;
}

.form_mail_info.confirm_mail::before {
    content: 'メールアドレス(確認用)';
}

.form_mail_info p {
    display: inline-block;
    width: 100%;
    font-size: .8rem;
    font-weight: 600;

}

.form_mail_info input {
    width: 80%;
    max-width: 320px;
    font-size: 1.2rem;
}

.form_terms_area {
    margin: 2rem 0;
    text-align: center;
}

.form_terms_area a {
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid;
    transition: .3s;
}

.form_terms_area a:hover {
    color: #787878;
}

.form_submit_area {
    text-align: center;
}

.form_submit_area input[type="submit"] {
    font-size: .8rem;
    font-weight: 600;
    padding: .5rem 3rem;
    color: #ffffff;
    background-color: #000;
    cursor: pointer;
    width: 80%;
    max-width: 320px;
}

.form_submit_area input[type="submit"].form_submit_switch {
    background-color: #aaa;
}

.form_submit_area input[type="submit"].form_submit_switch.activate {
    background-color: #000;
}

input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] { 
    -moz-appearance:textfield;
}

#theme_flg {
    font-size: 1rem;
}

.loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #fffa;
    z-index: 9999;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }
    to{
        transform: rotate(359deg);
    }
}
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #211816;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin .5s linear 0s infinite;
}

/*/フォーム用*/

/*メディア*/
@media (max-width: 767px) {
    body div.main_container {
        padding: 0 10px;
    }
    body div.main_container_vote {
        padding: 0 10px;
    }

    .mordal_inner {
        width: 80%;
    }
}

@media (max-width: 400px) {
    img {
        max-height: 100px;
    }

    .form_submit_area input[type="submit"] {
        font-size: 1.2rem;
        margin: 1rem;
    }
}
/*メディア*/