.page-bg  {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page-bg__div {
    position: absolute;
}

.page-bg__full {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-bg__header {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    max-width: min(calc(100vw - 230px), 1620px);
    height: 160px;
    background-size: contain;
    background-position: center;
}

.page-bg__left {
    left: max(calc((100vw - 1620px) / 4), 55px);
    transform: translateX(-50%);
    top: 0;
    width: max(calc((100vw - 1620px) / 2), 150px);
    height: 100%;
    background-repeat: repeat-y;
    background-size: contain;
    background-position: left top;
}

.page-bg__right {
    right: max(calc((100vw - 1620px) / 4), 55px);
    transform: translateX(50%);
    top: 0;
    width: max(calc((100vw - 1620px) / 2), 150px);
    height: 100%;
    background-repeat: repeat-y;
    background-size: contain;
    background-position: right top;
}

.page-bg__left .page-bg__img {
    width: auto;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left;
}
.page-bg__right .page-bg__img {
    width: auto;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: right;
}

#app.hasfon div.hasfon-container {
    position: relative;
    max-width: min(calc(100vw - 230px), 1620px);
    /*max-width: 1080px;*/
}

.page-bg__header-mobile {
    display: none;
}

@media (max-width: 1620px) {
    .page-bg__header {
        height: 60px;
    }
}
@media (max-width: 1480px) and (min-width: 961px) {
    .hasfon-container .flex.md4 {
        -webkit-flex-basis: 33.33333333333333%;
        -ms-flex-preferred-size: 33.33333333333333%;
        flex-basis: 33.33333333333333%;
        -webkit-box-flex: 0;
        -webkit-flex-grow: 0;
        -moz-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        max-width: 33.33333333333333%;
    }
}
@media (max-width: 1280px) {
    #app.hasfon div.hasfon-container {
        max-width: calc(100vw - 140px);
    }
    .page-bg__header {
        max-width: calc(100vw - 140px);
    }
    .page-bg__right {
        right: 37px;
        width: 100px;
    }
    .page-bg__left {
        left: 37px;
        width: 100px;
    }
}
@media (max-width: 900px) {
    #app.hasfon div.hasfon-container {
        max-width: 100%;
    }
    .page-bg__right {
        opacity: 0;
    }
    .page-bg__left {
        opacity: 0;
    }
    .page-bg__header {
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .page-bg__header {
        display: none;
    }
    .page-bg__header-mobile {
        display: block;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        width: 100%;
        height: 100px;
        background-size: contain;
        background-position: center;
    }
}
/* #checkModal{
    display: none!important;
} */