@charset "utf-8";

section {
    border-radius: 0 !important;
}

#contact-form a {
    text-decoration: revert;
    color: revert;
}

form#mailformpro label {
    display: block !important;
    white-space: normal !important;
}

select#input-subect {
    height: 1.625rem;
    padding: 1px 2px;
}

#contact-img>h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

#rdbtn-container {
    flex-direction: row;
    text-align: center;
    margin-bottom: 0.5rem;
    justify-content: space-around;
}

#rdbtn-container>div {
    width: 10rem;
}

#rdbtn-container>div input {
    margin-right: 0.5rem;
}

/* style.css からの抜粋、改変 */
/* form */
#contents .form-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    padding: 0 0.5rem;
}

.input-row-wrapper {
    margin: 0 1%;
    display: flex;
    flex-direction: column;
    display: -ms-flex;
    display: -ms-flexbox;
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    flex: 1 0 auto;
    /* justify-content: center; */
}



.input-row-wrapper>input,
.input-row-wrapper>select,
.input-row-wrapper>textarea {
    width: 100%;
    display: block;
}

#contact-form .button-submit {
    color: #ffffff;
    background: #707070;
    border-style: none;
    border-radius: 0;
    width: 85px;
    height: 36px;
    margin: 2rem auto;
}

#contact-form .button-submit:hover {
    opacity: 0.7;
}

.button-submit:disabled {
    background-color: #d5d5d5;
}

@media (max-width: 768px) {

    .input-row-wrapper {
        flex-direction: column;
        padding-bottom: 0.5rem;
    }

    #rdbtn-container>div {
        width: 8rem;
    }

    .input-row-wrapper>input,
    .input-row-wrapper>select,
    .input-row-wrapper>textarea {
        width: 100%;
    }

    select#input-subect {
        height: 1.375rem;
    }
}