body.error-body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    background: none;
    overflow-x: hidden;
}

body.error-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("../image/error/error-background.jpg");
    background-image: image-set(
      url("../image/error/error-background.webp") type("image/webp"),
      url("../image/error/error-background.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.error-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.6);
}

.error-hero {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 16px 40px;
}

.error-hero__content {
    max-width: 800px;
}

.error-hero__code {
    font-weight: 800;
    font-size: clamp(140px, 26vw, 260px);
    line-height: 1;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 30px;
}

.error-hero__text {
    max-width: 640px;
    margin-bottom: 30px;
}

@media (max-width: 1199px) {
    .error-hero__code {
        margin-bottom: 25px;
    }

    .error-hero__text {
        margin-bottom: 25px;
    }
}

@media (max-width: 991px) {
    .error-hero__code {
        margin-bottom: 20px;
    }

    .error-hero__text {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .error-hero__code {
        margin-bottom: 15px;
    }

    .error-hero__text {
        max-width: 500px;
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {
    .error-hero__code {
        margin-bottom: 15px;
    }

    .error-hero__text {
        max-width: 350px;
        margin-bottom: 15px;
    }
}