@charset "utf-8";

html, body {
    position: relative;
    height: 100%;
  }

#top > p:nth-of-type(1){
    margin-bottom: 2px;
}

#dr{
    background: linear-gradient(to bottom, rgba(188,164,212,1) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 60%,rgba(188,164,212,1) 100%);
    height: 750px;
    padding-top: 90px;
    overflow: hidden;
}
.top_slide .swiper-wrapper{
    align-items: stretch;
}
.top_slide .swiper-wrapper .swiper-slide{
    height: 600px;
}
.mi_drr{
    align-items: center;
    display: flex;
    background: #F7E2EF;
    box-shadow: 0px 5px 3px rgba(0,0,0,0.5);
    border-radius: 40px;
    padding: 11px 5px 20px 75px;
    height: 100%;
    box-sizing: border-box;
}
.mi_drr > figure{
    width: 40%;
}
.mi_drr > figure > img{
  /*   transform: scale(1.1); */
}
.sm{
    width: 60%;
}
.sm > p{
    font-size: 20px;
    margin: 0 30px;
}
.sm > p:nth-of-type(1){
    margin-top: 50px;
}

.sm > .sm_btn{
    margin-top: 50px;
    border: 1px solid #fff;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background: #fff;
    max-width: 130px;
    box-shadow: 0px 5px 6px rgba(0,0,0,0.2);
}
.sm > p > a{
    color: #555555;
    display: block;
    font-size: 16px;
}

.top_slide {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }
    .swiper-slide img{
        width: 100%;  /* 틀에 맞춰서 넣어주기위해 꼭 100%로 넣어주기 */
        height: auto;
    } 

#t_bott > ul{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
#t_bott > ul > li{
    font-size: 16px;
}
#t_bott > ul > li:nth-child(2){
    font-weight: 700;
    color: #581666;
    position: relative;
    margin-left: 20px;
    margin-right: 15px;
    margin-top: 20px;
}
#t_bott > ul > li:nth-child(2)::after{
    content: '';
    position: absolute;
    right: -9px;
    top: 8px;
    height: 8px;
    border: 1px solid #646464;
}
#t_bott > ul > li:nth-child(3){
    font-weight: 300;
    margin-right: 20px;
    margin-top: 20px;
}
#t_bott > ul > li > img{
    transform: scale(0.7);
}






#top_b{
    margin-top: 100px;
}

/* 사진 부분 */
#con > a > figure{
    box-shadow: none;
    position: relative;
}
#con > a > figure > img{
    width: 100%;
    height: 395px;
    object-fit: cover;
    vertical-align: top;
    filter: none;
    position: relative;
}
#con > a > p{
    margin-bottom: 70px;
    color: #000;
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#con > a:nth-child(10) > figure > img{
    object-position: center left;
}
#con > a:nth-child(14) > figure > img{
    object-position: center bottom;
}

#con{
    display: flex;
    margin-top: 50px;
    flex-wrap: wrap;
}
#con > a{
    width: 22%;
    display: block;
    margin: 0 1.5%;
    
}
.ov_text{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.69);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}
.ov_text span{
    display: inline-block;
    padding: 10px;
    border: 1px solid #fff;
    color: #fff;
}
#con > a:hover .ov_text{
    opacity: 1;
}


@media screen and (max-width:880px) {
    #con > a{
        width: 30%;
    }
    #con1 > a{
        width: 30%;
    }
    .top_slide .swiper-wrapper .swiper-slide{
        height: auto;
    }
    #dr{
        height: auto;
        padding-top: 60px;
    }
    .mi_drr{
        padding: 20px 5px 20px 75px;
    }
    .sm > p:nth-of-type(1){
        margin-top: 0px;
    }
    .sm > p{
        font-size: 16px;
    }
    #con > a > figure > img{
        height: auto;
    }
}
@media screen and (max-width: 500px) {
    .ov_text{
        background: none;
    }
    .ov_text span{
        display: none;
    }
}

@media screen and (max-width:467px) {
    #top > p{
        margin-top: -5px;
    }
    #con > a{
        width: 46%;
    }
    #con > a > figure > img{
        filter: none;
    }
/*     #dr{
        height: 1000px;
    } */
    .mi_drr{
        padding: 20px;
        display: block;
    }
    .mi_drr > figure{
        width: 100%;
    }
    .sm{
        width: 105%;
    }
    .sm > .sm_btn{
        margin-left: auto;
        margin-right: auto;
    }
    #t_bott > ul{
        margin-top: 0px;
        padding-top: 30px;
    }
    #b_dr{
        transform: translateY(-70%);
    }
    #top_b > h3{ 
        margin-top: 19px;
        margin-bottom: 5px;
    }
    .top_slide{
        margin-bottom: 50px;
    }


}
