@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 400;
    src: url("https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2") format('woff2'),
    url("https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff") format('woff'),
    url("https://fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf") format('opentype');
}

#app{
    font-family: GmarketSansMedium;
    background-color: #5b2386;
    color: white;
    text-align: center;
    padding-bottom:70px;
}

.tit-law{
    display: inline-block;
    position: relative;
    margin-top:194px;
}


.tit-law .img-tit {
    position: relative;
    z-index: 10;
}


.tit-law::after{
    display: block;
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:225px;
    height:225px;
    margin:-112px 0 0 -112px;
    background-image: url("../images-law/title_bg.png");
    background-position: center;
}

.img-txt{
    max-width:486px;
    margin:125px auto 84px;
}

.txt-desc{
    position: relative;
    max-width:475px;
    margin:0 auto 96px;
    line-height: 30px;
    font-size: 18px;
}
.txt-desc .tit-desc{
    font-size: 24px;
    font-weight:bold;
}
.txt-desc::before, .txt-desc::after{
    position:absolute;
    top:50%;
    display: block;
    content:'';
    width:37px;
    height:32px;
    margin-top:-16px;
}
.txt-desc::before{
    left:0;
    background-image: url("../images-law/txt-left.png");
}

.txt-desc::after{
    right:0;
    background-image: url("../images-law/txt-right.png");
}

.cont-inp, .cont-result{
    display: none;
}
.cont-inp, .cont-result.on{
    display: block;
    font-size: 24px;
    line-height: 24px;
}
.cont-inp .txt-wannabe{
    margin-bottom:30px;
}
.cont-inp .txt-time{
    margin-bottom:116px;
}
.cont-inp .txt-wannabe input, .cont-inp .txt-time input{
    width:224px;
    height:53px;
    margin:0 10px;
    border:none;
    border-radius: 7px;
    text-align: center;
    font-size: 24px;
    vertical-align: 4px;
}


.cont-inp .btn-exc, .btn-go, .btn-share{
    padding:21px 49px;
    margin-bottom:150px;
    font-size: 24px;
    line-height: 24px;
    font-family: GmarketSansBold;
    color:#5B2386;
    background-color: #FCEE21;
    border-radius: 56px;
    cursor:pointer;
    border:none;
}
.btn-go, .btn-share{
    margin-bottom:0;
}
.cont-inp .btn-exc{
    position: relative;
}
.cont-inp .btn-exc::after{
    display: block;
    position:absolute;
    right: -72px;
    bottom: -20px;
    content:'';
    width:64px;
    height:72px;
    background-image: url("../images-law/hand.png");
}

.cont-result .txt-wannabe, .cont-result .txt-time{
    line-height:68px;
}
.cont-result{
    margin-bottom:130px;
}
.cont-result .txt-wannabe{
    margin-bottom:22px;
}
.cont-result .txt-time{
    margin-bottom:127px;
}
.cont-result .txt-wannabe strong, .cont-result .txt-time strong{
    font-size:72px;
    vertical-align:top;
    font-family: GmarketSansBold;
}

.btn-share{
    margin-left:18px;
    background-color: #fff;
}

.cont-footer{
    font-family: Noto Sans KR;
    font-size: 12px;
    line-height: 17px;
}

.cont-footer .img-footer{
    width:125px;
    height:25px;
    margin:0 auto 20px;
}

@media screen and (max-width:360px){
    #app{
        padding:0 24px 32px;
    }
    .tit-law{
        width: 267px;
        height: 57px;
        margin-top:76px;
    }
    .tit-law::after{
        width:106px;
        height:106px;
        margin: -53px 0 0 -53px;
        background-size:106px;
    }

    .img-txt{
        max-width:297px
    }
    .txt-desc{
        margin-bottom:62px;
        font-size:14px;
    }
    .txt-desc .tit-desc{
        font-size:16px;
    }
    .txt-desc::before, .txt-desc::after{
        width:18px;
        height:15px;
        background-size: 18px 15px;
    }
    .cont-inp, .cont-result{
        font-size: 14px;
        line-height:14px;
    }
    .cont-inp .txt-wannabe input, .cont-inp .txt-time input{
        width:156px;
        height:37px;
        font-size:14px;
        margin:0 2px;
        padding:0;
    }
    .cont-inp .txt-wannabe{
        margin-bottom:17px;
    }
    .cont-inp .txt-time input{
        margin-top:17px;
    }
    .cont-inp .btn-exc{
        width:280px;
        padding: 19px 36px;
        font-size:17px;
        line-height: 17px;
        border-radius: 13px;
    }
    .cont-inp .btn-exc::after{
        width:43px;
        height:48px;
        background-size: 43px 48px;
        right:-40px;
        top:30px;
    }
    .cont-result .txt-wannabe strong, .cont-result .txt-time strong{
        font-size:24px;
        line-height:24px;
        vertical-align: -4px;
    }
    .cont-result .txt-wannabe, .cont-result .txt-time{
        line-height:14px;
    }
    .cont-inp .btn-exc, .btn-go, .btn-share{
        font-size:14px;
        padding:12px 17px;
    }
    .btn-share{
        margin-left:14px;
    }
    .cont-footer .img-footer{
        width:91px;
        height:18px;
    }
    .cont-footer{
        font-size:9px;
    }
    .img-txt{
        margin: 69px auto 62px;
    }
    .cont-inp .txt-time{
        margin-bottom:49px;
    }
    .cont-inp .btn-exc{
        margin-bottom:64px;
        padding: 12px 54px;
    }
    .cont-result .txt-time{
        margin-bottom:55px;
    }
    .cont-result{
        margin-bottom:83px;
    }
    
}