@charset "utf-8";

@media only screen and (max-width:850px) {

    * {
        -webkit-tap-highlight-color: transparent;
    }



    .maintitlebx {
        padding: 0 20px;
        box-sizing: border-box;
        max-width: unset;
        width: 100%;
        max-height: 100%;
    }

    .mMod2 {
        padding: 0px 20px;
        box-sizing: border-box;
        overflow: hidden;
        height: -webkit-fill-available;
    }

    .mMod0 {
        font-size: 15px;
    }

    .mMod3 {
        margin-top: 23px;
        -webkit-line-clamp: 24;

    }

    .mMod3 h2 {
        width: auto;
        font-size: 25px;
    }

    .mMod3 .txt {
        width: auto;
        margin-top: 20px;
        font-size: 14px;
    }

    .mMod1 {
        position: absolute;
        width: 60px;
        height: 60px;
        margin-top: 0;
        bottom: 30px;
        z-index: 1;
    }

    .scroll {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0px;
        text-indent: -9999px;
        background-image: url(../images/scroll.png);
        width: 12px;
        height: 16px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .web {
        display: none;
    }

    .mobile {
        display: block;
    }
}



/* mod3 라인 수 조정 */

@media only screen and (max-width:850px) and (max-height:760px) {
    .mMod3 {
        -webkit-line-clamp: 18;
    }
}

@media only screen and (max-width:850px) and (max-height:568px) {
    .mMod3 {
        -webkit-line-clamp: 14;
    }
}

@media (orientation:landscape) and (max-height:430px) {
    .mMod3 {
        -webkit-line-clamp: 5;
    }
}


/* nest hub */
@media only screen and (width:1024px) and (height:600px) {
    .mMod3 {
        -webkit-line-clamp: 3;
    }
}