@charset "UTF-8";
html,body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    // scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: $font-family-base;
}


p {
    font-family: $font-family-base;
}

.wrapper {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    max-width: 640px;
    margin: 0 auto;
    color: $c-black;
    background-color: $c-blue-bg;
}

.wrapper__line-scroll-fixed {
    position: relative;
    width: 100%;
    height: calc(100% + 10px);
    z-index: 1;
}

.main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.formLoadingIcon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/loading.gif);
    background-size: auto 80%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    display: none;
}

.wapper-loading {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #817b72!important;
    font-size: em(20)!important;
    font-weight: 400!important;
    z-index: 1;
}

.backform {
    position: absolute;
    left: 3em;
    top: 2em;
    color: $c-blue-bright;
    font-weight: 500;
    z-index: 1;
    span {
        display: inline-block;
        font-size: 1.5em;
        transform: scaleY(2);
        margin-right: 0.5em;
    }
    p {
        display: inline-block;
        font-size: 1.8em;
        margin-bottom: 0;
    }
}


@media (min-height: 992px) {
    .wrapper {
        min-height: 992px;
    }
}

@media screen and (min-width: 641px) {
    .main {
        height: calc(100% - 9.4375em);
        padding-bottom: em(151);
    }
}
