@charset 'utf-8';

body{
    background-color: #151e24;
}
header{
    padding: 24px 32px;
    position: static;
}
.bg{
    display: none;
}
/*02. 콘텐츠영역*/
.contents{
    padding-top: 100px;
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 100px;
}
.contents ul{
    width: 80%;
    margin: 0 auto;
}
.contents ul li{
    margin-bottom: 28px;
}
.contents ul li:hover .img_wrap img{
    transform: scale(1.2);
}
.contents ul .img_wrap{
    border: 5px solid #fff;
    overflow: hidden;
}
.contents ul .img_wrap img{
    width: 100%;
    transition: all .6s;
}
.contents .title{
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    padding: 20px 0 40px 20px;
    background-color: #488bb7;
}
.contents ul li:last-child{
    background-color: #488bb7;
}
.contents ul li:last-child a{
    display: block;
    width: 100%;
    padding: 40px 0;
}
.contents ul li:last-child .title{
    padding: 0;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    background: none;
}
.contents ul li:last-child p{
    width: 220px;
    margin: 0 auto;
    margin-top: 36px;
    padding: 12px 0;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
    transition: all .4s;
}
.contents ul li:last-child p:hover{
    background-color: #fff;
    color: #488bb7;
}




@media all and (min-width:768px){
    body{
        /*포지션*/
        position: fixed;
        width: 100%;
        height: 100%; 
    }
    .bg{
        display: block;
        /*포지션*/
        position: absolute;
        bottom: 0;
    }
    .bg img{
        width: 100%;
    }
    .contents ul{
        /*포지션*/
        position: absolute;
        /*플렉스*/
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .contents ul li{
        width: 48%;
    }
    .contents ul li:nth-child(3),
    .contents ul li:last-child{
        margin-bottom: 0;
    }
    .contents ul li:last-child a{
        height: 100%;
        padding: 0;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
    }
}




@media all and (min-width:1132px){
    header{
        padding-left: 0;
    }
    .contents ul{
        width: 1132px;
    }
    .contents ul li{
        width: 32%;
    }
    .contents ul li:last-child{
        width: 100%;
    }
    .contents ul li:last-child a{
        width: 100%;
        height: 200px;
        padding: 52px;
        display: block;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        
    }
    .contents ul li:last-child .title{
        width: 400px;
        text-align: left;
        font-size: 40px;
    }
    .contents ul li:last-child p{
        width: 220px;
        height: 46px;
        font-size: 18px;
        line-height: 46px;
        padding: 0;
        margin-right: 0;
        margin-top: -68px;
    }
}