body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #E2ECF8;
}
header {
    background-color: #fff;
}
header + .container {
    padding-top: 3rem!important;
    padding-bottom: 3rem!important;
}

footer ,
footer.fixed-bottom {
    background-color: #fff;
    padding: 1rem 0;
    border-top: 1px solid #b6c9db;
}
footer .footer__copyright {
    margin-bottom: 0;
    font-size: 1rem;
}
.container-fluid.mb-5,
.container-fluid.pb-5 {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}


dl {
    /*border-bottom: 1px solid #b6c9db;*/
    margin-bottom: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

dt {
    text-align: right;
    font-weight: normal;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 0;
}
@media ( max-width:767px) {
    dt {
        text-align: left;
    }
}

dd {
    width: 70%;
    text-align: left;
    padding-left: 1rem;
    margin-bottom: 0;
}

label:hover {
    cursor: pointer;
}

input[type=radio]:hover, input[type=checkbox]:hover {
    cursor: pointer;
}

.choice_img {
    max-height: 100px;
    display: block;
}

.conf_control {
    display: none;
}

.err_msg {
    color: crimson;
    background-color: #f8d7da;
    border: 1px solid crimson;
    padding: 5px 12px;
    border-radius: 3px;
    margin-top: 3px;
    display: none;
    width: 100%;
    font-size: 80%;
}

input, textarea, select {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input[type=radio],input[type=checkbox]{
    display: inline;
    width: unset;
    height: unset;
    padding: unset;
}

input:focus, textarea:focus, select:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, .25);
}

.custom_contents{
    height: 100px;
}
input[name="zip"],select[name="pref"]{
    width: 200px;
    display: inline;
}
input[name="last_name"],input[name="first_name"]{
    display: inline;
}
.font80{
    font-size: 80%;
}

#year-of-construction {
    width: 20%;
}
.js_input_control p {
    margin-bottom: 0;
    margin-left: 8px;
}
.js_input_control.w-100 {
    /*width: 70% !important;*/
    width: 100% !important;
}

#year-of-construction + span + span + span {
    width: 70% !important;
}

@media ( max-width:767px) {
    .js_input_contro.w-100 {
        width: 70% !important;
    }

}

@media (min-width: 576px) {
    .container {
        max-width: 100% !important;
    }
    .d-flex {
        display: block !important;
    }
    .col-sm-4,
    .col-sm-8 {
        max-width: 100% !important;
        text-align: left;
    }
    .col-12 .col-12 {
        padding-right: 0;
        padding-left: 0;
    }

    /*お問い合わせ*/
    form .d-flex:nth-child(10) textarea.form-control {
        height: 200px !important;
    }

    /*築年数*/
    form .d-flex:nth-child(12) dd {
        display: flex !important;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 720px !important;
    }
    .d-flex {
        display: block !important;
    }
    .col-sm-4,
    .col-sm-8 {
        max-width: 100% !important;
        text-align: left;
    }
    .col-12 .col-12 {
        padding-right: 0;
        padding-left: 0;
    }

    /*お問い合わせ*/
    form .d-flex:nth-child(10) textarea.form-control {
        height: 200px !important;
    }

    /*築年数*/
    form .d-flex:nth-child(12) dd {
        display: flex !important;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 720px !important;
    }
    /*dl {
        border-bottom: 1px solid #b6c9db;
    }*/
    .d-flex {
        display: block !important;
    }

    .col-sm-4,
    .col-sm-8 {
        max-width: 100% !important;
        text-align: left;
    }
    .col-12 .col-12 {
        padding-right: 0;
        padding-left: 0;
    }

    /*お問い合わせ*/
    form .d-flex:nth-child(10) textarea.form-control {
        height: 200px !important;
    }

    /*築年数*/
    form .d-flex:nth-child(12) dd {
        display: flex !important;
    }
}

.d-flex dt {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem !important;
}
.font80 {
    font-size: 100%;
}
.form-control {
    font-size: 1.2rem !important;
}
select,label {
    font-size: 1.2rem !important;
}

input[type="file"] {
    background: none !important;
    border: none !important;
    padding-right: 0;
    padding-left: 0;
}


/*contact-info*/
.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #fff;
    margin: 0 15px 40px;
    padding: 40px;
    border: 1px solid #b6c9db;
    border-radius: .25rem;
}
.contact-info a {
    display: block;
    line-height: 1;
}
.contact-info a img {
    width: auto;
    height: 115px;
    vertical-align: bottom;
    line-height: 1;
}
@media (max-width: 767px) {
    .contact-info {
        flex-direction: column;
        margin-bottom: 20px;
        padding: 20px;
    }
    .contact-info a img {
        width: 100%;
        height: auto;
    }
}
