@charset "utf-8";

@media only screen and (max-width:850px) {

    .mMod5.on {
        display: none !important;
    }

    .forMobile {
        display: block;
    }

    .forWeb {
        display: none;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }

    #wrap {
        position: relative;
        -webkit-overflow-scrolling: touch;
    }

    #wrap.on {
        overflow: hidden;
        /* -webkit-overflow-scrolling: auto; */
    }



    body {
        -webkit-overflow-scrolling: touch;
    }

    body.on {
        overflow: hidden;
        /* -webkit-overflow-scrolling: auto; */
    }


    ::-webkit-scrollbar {
        width: 0;
    }

    .gnb {
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        padding: 10px;
        height: 50px;
    }

    .gnb1.on {
        display: none;
    }

    .gnb2.on {
        display: flex;
        position: fixed !important;
    }

    /* 
    .gnb.sticky {
        position: sticky;
        position: -webkit-sticky;
    } */


    .mMod1 {
        width: 36px;
        height: 36px;
    }

    .mMod0 {
        font-size: 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 50%;
        text-align: center;
    }

    .btn_dot {
        width: 30px;
        height: 6px;
    }

    .topmenu {
        background-color: #000;
        flex-direction: column;
        box-sizing: border-box;
        justify-content: unset;
        padding: 100px 0;
        height: 100vh;
        overflow-y: auto;
    }

    .topsbx {
        left: unset;
        transform: translateY(-50%);
        width: 100%;
        padding-top: 50px;
        max-height: 90vh;
        box-sizing: border-box;
    }

    .topsbx a {
        width: 100%;
        height: auto;
        padding: 20px;
        font-size: 18px;
        padding-right: 48px;
        margin: 0;
    }


    .topsbx a::after {
        border: none;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .mMod7 a::after {
        background-size: 10px 20px;
    }

    .mMod10 a::after {
        background-size: 16px 20px;
    }

    .topsbx a+a {
        margin: 0;
        margin-top: 10px;
    }

    .mMod10 a {
        margin: 0;
        margin-top: 50px;
    }



    .mMod7,
    .mMod10 {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .mMod6 {
        top: 60px;
        width: 90%;
        left: 20px;
        text-align: left;
        bottom: auto;
        padding: 50px 18px 20px 18px;
    }

    .mMod6 .tel {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .mMod6 .txt {
        font-size: 15px;
    }

    .btn_tel,
    .btn_QR {
        display: inline-block;
        width: 46px;
        height: 46px;
        font-size: 0;
        text-indent: -9999px;
        background-image: url(../images/btn_tel.svg);
        background-size: 18px 18px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .btn_tel::before,
    .btn_QR::before {
        display: none;
    }

    .btn_QR {
        background-image: url(../images/btn_QR.svg);
        margin-left: 10px;
    }


    .contact {
        top: 60px;
        right: 10px;
        left: auto;
        width: 46px;
        height: 46px;
        line-height: 46px;
    }

    .content {
        padding: 0 20px;
        padding-top: 148px;
        padding-bottom: 50px;
        box-sizing: border-box;
    }

    .mMod3 {
        margin-bottom: 99px;
    }

    .mMod3 h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .mMod3 .txt {
        font-size: 15px;
    }


    .mMod8 {
        position: relative;
        height: 0;
        padding-top: 57%;

        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
    }

    .mMod8 iframe {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .mMod9 .swiper-slide img {
        height: 300px;
    }

    .mMod9 .swiper-slide p {
        font-size: 14px;
    }


    .mMod4 .tit {
        font-size: 20px;
    }

    .mMod4 .txt {
        font-size: 14px;
    }

    .mMod4 {
        height: auto;
        margin-top: 73px;
    }

    .mMod4 .swiper-container {
        padding: 30px;
        text-align: left;
    }

    .mMod4 .tit {
        padding-right: 0;
    }

    .mMod4 .txt {
        padding-right: 0;
    }


    .mag {
        display: none;
    }

    footer {
        display: none;
    }


    .mMod5.forMobile {
        display: block;
        padding: 50px 20px;
        position: relative;
        border-radius: 0;
        height: auto;
        bottom: 0;
        margin-top: 74px;
    }

    .gMap {
        position: relative;
        width: 100%;
        height: 300px;
        /* padding-top: 100%; */
    }

    .map {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .txtbx2 {
        padding: 0;
        margin-top: 20px;
    }

    .navi {
        font-size: 0;
        text-indent: -9999px;
        background-image: url(../images/navi.svg);
        width: 46px;
        height: 46px;
        background-position: center;
        background-size: 19px 19px;
        background-repeat: no-repeat;
        border-radius: 50%;
        position: unset;
        display: block;
        margin-top: 20px;
    }

    .navi::before {
        display: none;
    }

    .ti .t {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ti span {
        font-size: 15px;
    }

    .tx {
        font-size: 15px;
        margin-top: 12px;
    }


    .lMod9 .swiper-container {
        margin: 0;
        height: 100vh;
    }


    .lMod9 .swiper-slide {
        max-height: 100vh;
        line-height: 100vh;
    }

    .lMod9 .btn_close {
        left: 88%;
    }

    .qrpopup {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .qrbx {
        width: 70%;
        padding: 20px 0;
        box-sizing: border-box;
        max-height: 100%;
    }

    .qrbx .mMod3 h2 {
        font-size: 25px;
    }

    .qrbx .mMod3::after {
        display: none;
    }

    .close2 {
        top: 30px;
        left: auto;
        right: 30px;
        transform: none;
        width: 40px;
        height: 40px;
    }
}