/* --------------------------------------------------- お問い合わせ */
.contact_content form {
    margin: 0 auto;
}
.contact_input_content .row {
    display: block;
}
.contact_input_content .row label {
    text-align: right;
    margin: 0;
    align-items: flex-start;
    padding-right: 0;
    line-height: 14px;
 }
.contact_input_content .row label:before {
    clear: both;
}
.contact_input_content .error {
    color: red;
}
.contact_button {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
}
.contact_input_content>.row>div {
    align-items: flex-start;
}

.contact_table {
    display: table;
    border-collapse: collapse;
    width: 100%;
}
.contact_tr {
    display: table-row;
}
.contact_label {
    display: table-cell;
    text-align: right;
}
.contact_list {
    display: table-cell;
}
.contact_list input[type=email],
.contact_list input[type=text] {
    padding: 8px;
    font-size: 16px;
    max-height: 32px;
    max-width: 500px;
    width: 100%;
}
.contact_list select {
    font-size: 16px;
    height: 30px;
    max-width: 500px;
    width: 100%;
}
.contact_list textarea {
    padding: 8px;
    font-size: 16px;
    max-width: 500px;
}
.contact_input_content hr {
}
.contact_input_content hr:last-child {
    padding-bottom: 0;
}

.contact_content .button_submit {
    width: 230px;
    height: 40px;
    background-color: #f6821f;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin: 30px 0 0 0;
    padding: 0;
    border: none;
}
.contact_content .button_submit:hover {
   opacity: 0.7;
}
.contact_content .button_back {
    width: 230px;
    height: 40px;
    background-color: #898989;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin: 30px 42px 0 0;
    padding: 0;
    border: none;
}
.contact_content .button_back:hover {
    opacity: 0.7;
 }

.contact_list input::-webkit-input-placeholder {
    color: #bcbcbc;
    font-weight: normal;
}
.contact_list input:-ms-input-placeholder {
    color: #bcbcbc;
    font-weight: normal;
}
.contact_list input::-moz-placeholder {
    color: #bcbcbc;
    font-weight: normal;
}

.contact_content .control-label.required:after {
    background: url("../images/page/contact/ico_required.png");
    margin-left: 20px;
    position: relative;
    top: 5px;
    width: 34px;
    height: 20px;
    content:" ";
    display:inline-block;
    background-size:contain;
}

.contact_privacy_info {
    padding-top: 10px;
    font-size: 12px;
}

.contact_ul {
    padding-top: 15px;
    padding-left: 0;
    font-size: 12px;
    margin: 0;
    padding-left: 13px;
}

.contact_description {
    padding-bottom: 33px;
}

.contact_input_content .error {
    font-size: 11px;
}

.contact_input_content .error_message {
    text-align: left!important;
}

.contact_content .mwform-checkbox-field-text {
    margin-left: 10px;
}

/* ---------- 確認画面 ---------- */
.contact_confirmation .control-label.required:after {
    background:none;
    margin-left: 0;
    top: 0;
    width: 0;
    height: 0;
    content:" ";
}

.contact_confirmation .contact_privacy_info {
    display: none;
}

/* ---------- レティーナディスプレイ ---------- */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .contact_content .control-label.required:after {
        width: 34px;
        height: 20px;
        background: url("../images/page/contact/ico_required@2x.png");
        margin-left: 20px;
        content:" ";
        display:inline-block;
        background-size:contain;
    }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 767px) {
    .contact_input_content input[type=email],
    .contact_input_content input[type=text]
    .contact_input_content select,
    .contact_input_content textarea {
        width: 100%;
    }
    .contact_tr div:first-child {
        text-align: left;
    }
    .contact_input_content .row label {
        padding-bottom: 17px;
    }
    .contact_content .button_back {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
    .contact_content .button_submit {
        margin-top: 30px;
    }

}
/* ---------- タブレット ---------- */
@media (min-width: 768px) {
    .contact_tr>.col-sm-6,
    .contact_tr>.col-sm-12 {
        float: none;
    }
    .contact_list textarea {
        width: 530px;
    }
}
/* ---------- PC ---------- */
@media (min-width: 992px) {
    .contact_content .error {
        padding-left: 5px;
    }
}


.contact_link_area {
    padding: 5px 0;
}
a.contact_link {
    display: block;
    width: 230px;
    height: 33px;
    margin: 0;
    background-color: #ff7800;
    font-size: 14px;
    line-height: 33px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}
@media screen and (max-width: 767px) {
    a.contact_link {
        margin: auto;
    }
}
a.contact_link:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
}