.err_main_box_inner {
    text-align: center;
}

.err_box_inner {
    font-size: 120px;
    line-height: 1.2;
    color: #222;
    font-weight: 600;
}

.err_btn_box_inner {
    display: flex;
    justify-content: center;
}

.err_text_box {
    padding-bottom: 20px;
}

/* thank you  */
.thank_box_inner {
    font-size: 100px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    line-height: 1.2;
}

.thanks_main_box_inner {
    text-align: center;
}

.thanks_btn_box {
    display: flex;
    justify-content: center;
    padding: 20px 0 0;
}

.thanks_text_box_inner {
    line-height: 1.5;
}

.thanks_text_box_inner span {
    display: block;

}

/* thank you end */
.page-id-448 div#main-content,
.error404 div#main-content {
    margin: 0 !important;
}

.page-id-448 header,
.error404 header {
    border-bottom: 1px solid #ddd;
}

.thank_section,
.err_section {
    border-bottom: 1px solid #ddd;
}

@media all and (min-width: 320px) and (max-width: 767px) {
    .err_box_inner {
        font-size: 70px;
    }

    .thank_box_inner {
        font-size: 39px;
    }
}

@media all and (min-width: 768px) and (max-width: 980px) {
    .thank_box_inner {
        font-size: 70px;
    }
}

@media only screen and (min-width: 981px) and (max-width: 1024px) {}

@media all and (min-width: 1025px) and (max-width: 1140px) {}

@media all and (min-width: 1141px) and (max-width: 1280px) {}

@media all and (min-width: 1281px) and (max-width: 1440px) {}

@media all and (min-width: 1441px) and (max-width: 1680px) {}

@media all and (min-width: 1681px) and (max-width: 1880px) {}