@charset "utf-8";


/* common */
.common{
    margin: 0 auto;
    margin-top: 5.20vw;
    border-radius: 1.56vw;
    overflow: hidden;
    width: 85.9375vw;
    height: 22.39vw;
    position: relative;
    padding-top: 6.25vw;
}
.common .bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.common .bg figure{
    width: 100%;
    height: 100%;
}
.common .text{
    text-align: center;
}
.common .text h1{
    color: #fff;
    font-size: 2.60vw;
    font-weight: 900;
}
.common .text p{
    color: #fff;
    font-size: 0.9375vw;
    margin: 0.52vw 0 2.60vw;
    font-weight: 700;
}
.common .text ul{
    margin: 0 auto;
    display: flex;
    width: max-content;
}
.common .text ul li a{
    padding: 0.78125vw 1.82vw;
    border-radius: 0.52vw;
    background-color: #fff;
    font-size: 0.9375vw;
    color: #B5B5B5;
    font-weight: 700;
    margin-right: 1.04vw;
}
.common .text ul li.on a{
    background-color: #0123B4;
    color: #fff;
}
.common .text ul li:last-child{
    margin-right: 0;
}
/* common */



/* 모바일 */
@media screen and (max-width:500px) {
        /* common */
        .common {
            width: 100%;
            height: 60vw;
            padding-top: 10vw;
            margin-top: 14vw;
            border-radius: 6vw;
        }
        .common .text h1{
            margin: 0 auto;
            font-size: 8vw;
        }
        .common .text p{
            font-size: 3.2vw;
            margin: 4vw 0 10vw;
        }
        .common .text ul {
            width: 100%;
            flex-wrap: wrap;
            justify-content: center;
        }
        .common .text ul li a{
            display: block;
            padding: 2vw 4vw;
            border-radius: 2vw;
            margin-right: 2vw;
            font-size: 2.8vw;
            
        }
        .common .text ul li:last-child a{
            margin-right: 0;
        }
        /* common */
}
/* 모바일 */