@charset "utf-8";
@font-face {
    src: url("../css/font/강원교육모두-Light.woff");
    font-family:"edu";
}

@font-face {
    font-family: 'GangwonEdu_OTFBoldA';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEdu_OTFBoldA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body{
    scroll-behavior: smooth;
    -webkit-overflow-scrolling:touch;
min-height:-webkit-fill-available;
height: fill-available;
}
.roommap{
    width: 85%;
    height: 75vh;
    background-image: url('/images/roommap/roommap.jpg');
    margin: 0 auto;
    background-size: cover;
    position: relative;
    margin-bottom: 5%;
    margin-top: 2%;
}

.roommap .title{
    
    position: absolute;
    top: 12%;
    right: 8%;
    text-align: center;
}
.roommap .maplogo{
    width: 62px;
    height: 62px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    background-image: url('/images/common/mark.png');
}
.specialbox{
    display: inline-block;
    width: 33%;
    text-align: left;
    margin-left: 1%;
    margin-bottom: 2%;
}
.m-click{
display: none;
}
.specialbox .photo::before{
    content:'More';
    color: #000;
    font-size: 24px;
    font-family: 'GangwonEdu_OTFBoldA';
    line-height: 135px;
    text-align: center;
    width: 100%;
    height: 135px;
    border-radius: 100px;
    overflow: hidden;
    position: absolute;
    top: 50%;left: 50%;
    transform: translate(-50%,-50%);
    display: block;
    background-color: rgba(255,255,255,0.4);
}
.specialbox .photo img{
    border-radius: 100%;
        image-rendering: -moz-crisp-edges;         /* Firefox */
        image-rendering: -o-crisp-edges;         /* Opera */
        image-rendering: -webkit-optimize-contrast;/* Webkit 표준 X */
        image-rendering: crisp-edges;
        -ms-interpolation-mode: nearest-neighbor;  /* IE 표준 X */
        transition: filter 1.5s;
}
.specialbox .photo img:hover {
    filter: brightness(1.1);
}
.specialbox .photo {
    margin-left: 10%;
    margin-bottom: 4%;
    display: inline-block;
    position: relative;
}

.roommap .specialbox .text{
    border-left: 2px solid #fff;
    text-align: left;
    padding-left: 4%;
    width: 75%;
}
.roommap .specialbox .text h3{
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}
.roommap .specialbox .text p{
    font-size: 15px;
    line-height: 18px;
    color:#fff;
    font-family:"edu";
    word-break: keep-all;
}
.roommap .specialboxwrap{
    width: 60%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    top: 33%;
    left: 33%;
    transform: translate(-50%,-55%);
}
.roommap .title img{
    margin-bottom: 25px;
}
.roommap .title h3{
    font-size: 30px;
    color: #fff;
    margin-top: 25%;
}
.specialboxwrap .specialbox .photo a{
  
    display: inline-block;
}
@media(max-width:768px){
    .m-click{
       display: inline-block;
       font-size: 14px;
        margin-right: 15%;
        }
    .specialbox .photo{
        margin-left: 15%;
    }
    .roommap .maplogo{
        width: 62px;
        height: 62px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%,-50%);
        background-image: url('/images/common/mark2.png');
    }
    .specialbox .photo::before{
        display: none;
    }
    .specialbox .photo img{
        width: 100%;
    }
    .roommap .title h3{
        color:#623e2a;
        margin-top: 12%;

    }
    .roommap .specialboxwrap{
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
        margin-top: 21%;
    }
    .roommap{
        width: 100%;
       min-height: 900px;
       height: auto;
        background-image: url('/images/roommap/m/roommap.jpg');
        background-position: center;
        position: relative;
    }
    .roommap .title{
        left: 50%;
        transform: translate(-50%,0);
        top: 7%;
        width: 100%;
    }
    .specialbox{
        width: 100%;
        margin-bottom: 20%;
    }
    .specialbox .photo{
        text-align: center;
    }
    .roommap .specialbox .text{
        width: 100%;
        margin: 0 auto;
        border-left:3px solid rgb(0, 38, 23);
    }
    .roommap .specialbox .text p{
        font-size: 15px;
        line-height: 15px;
        color: #505050;
    }
    .roommap .specialbox .text h3{
        font-size: 20px;
        color: #505050;
        display: inline-block;
        width:100%;
        display: flex;
        justify-content: space-between;
    }

    .cover{
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(255,255,255,0.7);
    }

}

@media(max-width:420px){ 
    .roommap .specialboxwrap{
        margin-top: 24%;
    }
}


@media(max-width:390px){
    .roommap .specialbox .text{
        width: 100%;
    }
    .specialbox .photo{
        margin-bottom: 10%;
    }
    .thirdblock{
        height:100%;
    }
}


@media(max-width:380px){
    .secondblock .textflex-m{
        line-height: 1.5;
    }
    .secondblock .bg04{
        bottom: 12%;
        right: 5%;
    }
    .thirdblock{
    height: 100%
    }
    .roommap .specialbox .text{
        width: 100%;
    }
    .specialbox .photo{
        margin-bottom: 8%;
    }
    .roommap .specialboxwrap{
        margin-top: 20%;
    }
 
}

@media(max-width:370px) and (min-height:800px){
    .thirdblock .inner .title-m{
        padding-top: 8%;
    }
    .secondblock .bg04{
        bottom: 18%;
    }
    .thirdblock{
        height: 100%;
    }
}


@media(max-width:320px){
.secondblock .bg04{
    bottom: 0%;
    right: 3%;
}
.thirdblock{
    height: 100%;
}
.roommap .specialboxwrap{
    margin-top: 25%;
}
.roommap .title{
    top: 5%;
}
}

