.top_image {
    height: 8.625rem;
}
@media screen and (max-width:63.9375rem) {
    .top_image {
        height: 4rem;
        padding-top: 0;
    }
}

.top_image .headline {
    padding-left: 1.75rem;
}
@media screen and (max-width:63.9375rem) {
    .top_image .headline {
        margin: 0 0.5rem;
        padding-left: 0;
        text-align: left;
    }
}

.top_image .text_main {
    font-size: 3.75rem;
}
@media screen and (max-width:63.9375rem) {
    .top_image .text_main {
        font-size: 1.25rem;
    }
}

@media screen and (max-width:63.9375rem) {
    .top_image .text_sub {
        margin-left: 0.875rem;
    }
}

.main_container {
    display: flex;
    width: 61.375rem;
    margin: 3.125rem auto;
    justify-content: space-between;
}
@media screen and (max-width:63.9375rem) {
    .main_container {
        display: block;
        margin: 1.875rem 0.5rem;
        width: calc(100% - 1rem);
    }
}

.main_message {
    width: 30rem;
    text-align: left;
}
@media screen and (max-width:63.9375rem) {
    .main_message {
        width: 100%;
        margin-bottom: 1.875rem;
    }
}

.main_message .body {
    font-size: 1.875rem;
    font-weight: bold;
}
@media screen and (max-width:63.9375rem) {
    .main_message .body {
        font-size: 1.125rem;
    }
}

.remark {
    font-size: 1.125rem;
    margin-top: 0.625rem;
}
@media screen and (max-width:63.9375rem) {
    .remark {
        font-size: 0.875rem;
    }
}


.inquiry_form {
    width: 29.25rem;
}
@media screen and (max-width:63.9375rem) {
    .inquiry_form {
        width: 100%;
    }
}

#inquiry_entry_form {
    margin-block-end: 0;
}

.inquiry_content {
    text-align: left;
    margin-bottom: 0.625rem;
}

.inquiry_header {
    font-size: 1.125rem;
    display: flex;
    margin-bottom: 0.375rem;
}
@media screen and (max-width:63.9375rem) {
    .inquiry_header {
        display: block;
    }
}

.spacer {
    margin: 1.25rem 0 9rem;
}
@media screen and (max-width:63.9375rem) {
    .spacer {
        margin-bottom: 1.875rem;
    }
}

.full_input {
    background-color: #ECECEC;
    border: none;
    width: 100%;
    height: 2.25rem;
    padding: 0.375rem 0.625rem;
    font-size: 1rem;
}

input[type="text"].error, textarea.error {
    background-color: #FBEAEA !important;
    border: 1px solid #EBB6B6 !important;
}

#phone {
    background-color: #ECECEC;
    border: none;
    width: 50%;
    height: 2.25rem;
    padding: 0.375rem 0.625rem;
    font-size: 1rem;
}

#content_type {
    padding-inline-start: 0;
    margin-block-start: 0;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
}
@media screen and (max-width:63.9375rem) {
    #content_type {
        padding-inline-start: 0;
        list-style: none;
        padding-left: 0;
        display: block;
    }
}

#content_type li, #content_type label {
    white-space: nowrap;
}

#content_type li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 1rem;
}

#message {
    background-color: #ECECEC;
    border: none;
    width: 100%;
    height: 11rem;
    padding: 0.375rem 0.625rem;
    font-size: 1rem;
}

.button {
    font-size: 1rem;
    color: #FFF;
    width: 100%;
    padding: 0.75rem 0;
    border-radius: 1.5rem;
    transition: .3s;
    border: none;
}

.button.confirm.disable {
    background-color: #8CB5D6;
}
.button.confirm.enable {
    background-color: #2B7AB9;
}

.button.send {
    background-color: #2B7AB9;
    margin-bottom: 2.375rem;
}
.button.send:hover {
    background-color: #0A487A;
}

.button.back {
    background-color: #B5B5B5;
}
.button.back:hover {
    background-color: #D4D4D4;
}

.confirm_container {
    width: 28rem;
    margin: 3.125rem auto;
    text-align: left;
    font-size: 1.125rem;
}
@media screen and (max-width:63.9375rem) {
    .confirm_container {
        width: calc(100% - 1rem);
        margin: 1.875rem 0.5rem;
    }
}

.form_conf_content {
    margin: 2.125rem 0 6.25rem;
}
@media screen and (max-width:63.9375rem) {
    .form_conf_content {
        margin: 1.875rem 0;
    }
}

.confirm_content {
    margin-bottom: 1.25rem;
}

.confirm_header {
    margin-bottom: 0.375rem;
}
@media screen and (max-width:63.9375rem) {
    .confirm_header {
        margin-bottom: 0;
    }
}

.input_confirm {
    margin-left: 1rem;
    min-height: 1em;
    word-break: break-word;
}

.complete_container {
    width: 28rem;
    margin: 3.125rem auto;
    text-align: left;
    font-size: 1.125rem;
}
@media screen and (max-width:63.9375rem) {
    .complete_container {
        width: calc(100% - 1rem);
        margin: 1.875rem 0.5rem;
    }
}

@media screen and (max-width:63.9375rem) {
    .complete_container .button.send {
        margin-bottom: 0;
    }
}

.complete_text {
    line-height: 2;
    margin-bottom: 5rem;
}

.asta {
    color: #ff0000;
}

.emphasis {
    font-size: 1.125rem;
    color: #ff0000;
    margin-left: 1rem;
}

@media screen and (max-width:63.9375rem) {
    #to_top {
        display: none !important;
    }
}