/* .top-slider-box-1 */
.top-slider-box-1 {
    position: relative;
}

@media (min-width: 1401px) {
    .top-slider-box-1 {
        height: 676px;
    }
}

@media (max-width: 1400px) and (min-width: 768px) { 
    .top-slider-box-1::after {
        content:"";
        display:block;
        padding-top:50%;
    }
}

@media (max-width: 767px) {
    .top-slider-box-1 {
        height: 350px;
    }
}

.top-slider-box-1 .slides > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 0.3s;
    opacity: 0;
}

.top-slider-box-1 .slides > div.active {
    opacity: 1;
}

.top-slider-box-1 .page-btns {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.top-slider-box-1 .page-btns > li {
    width: 13px;
    height: 13px;
    background-color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    border-radius: 3px;
    cursor: pointer;
    margin: 0 1px;
}

.top-slider-box-1 .page-btns > li.active {
    background-color: white;
}

/* rollingimg-title */
.top-slider-box-1 .slides .tit span {
    position: absolute;
    transform: translateX(-50%) translateY(-50%);
}
.top-slider-box-1 .slides .tit span:nth-child(1) {
    white-space: nowrap;
    top: 24%;
    left: 50%;
    color: white;
    font-size: 5.5rem;
    font-weight: bold;
}
.top-slider-box-1 .slides .tit span:nth-child(2) {
    white-space: nowrap;
    top: 36%;
    left: 50%;
    color: white;
    margin: 15px 0;
    font-size: 2.5rem;
}
.top-slider-box-1 .slides .tit :nth-child(3) {
    top: 63%;
    left: 50%;
    width: 90%;
    color: white;
    font-size: 1rem;
    letter-spacing: 1px;
    text-align: center;
}
@media (max-width: 630px) {
    .top-slider-box-1 .slides .tit span:nth-child(1) {
    white-space: nowrap;
    top: 28%;
    left: 50%;
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
}
    .top-slider-box-1 .slides .tit span:nth-child(2) {
    white-space: nowrap;
    top: 37%;
    left: 50%;
    color: white;
    margin: 15px 0;
    font-size: 1.5rem;
}
.top-slider-box-1 .slides .tit :nth-child(3) {
    top: 63%;
    left: 50%;
    width: 90%;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.7px;
    text-align: center;
}
}
/*아이콘4*/
.box-1.con {
    max-width:700px;
    margin-bottom: 40px;
}

.box-1 > ul > li {
    width:25%;
    margin-top:50px;
}

.box-1 > ul > li > a {
    display:block;
}

.box-1 > ul > li > a > img {
    display:block;
    margin:0 auto;
}

.box-1 > ul > li > a > :last-child {
    display:none;
}

.box-1 > ul > li:hover > a > :last-child {
    display:block;
}

.box-1 > ul > li:hover > a > :first-child {
    display:none;
}
.box-1 > ul > li div {
    font-size:1.2rem;
    text-align:center;
    margin-top:15px;
}

@media ( max-width:550px ) {
    .box-1.con {
        max-width:280px;
    }
    
    .box-1 > ul > li {
        width:50%;
    }
}

/* 하단 사진 5컷 (오버시화몀블랙) */
.main-bottom-pic {
    margin-top:60px;
}

.main-bottom-pic > ul > li {
    width:25%;
    /*padding:0 15px;*/
}

.main-bottom-pic > ul > li:nth-child(3) {
    width:50%;
}


@media (min-width: 851px) {
    .main-bottom-pic > ul {
        position: relative;
    }

    .main-bottom-pic > ul > li:nth-last-child(1), .main-bottom-pic > ul > li:nth-last-child(2) {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .main-bottom-pic > ul > li:nth-last-child(1) {
        left: 25%;
    }
}


@media (max-width: 850px) {
    .main-bottom-pic > ul > li {
        width: 33.3333%;
    }

    .main-bottom-pic > ul > li:nth-child(4n + 3) {
        width: 33.3333%;
    }
}

@media (max-width: 630px) {
    .main-bottom-pic > ul > li {
        width: 50%;
    }

    .main-bottom-pic > ul > li:nth-child(4n + 3) {
        width: 100%;
    }
}

/* 하단5장 이미지 오버시 폰트 */
.main-bottom-pic .row > .cell > .img-box {
    position:relative;
    cursor:pointer;
    overflow:hidden;
}

.main-bottom-pic .row > .cell > .img-box::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0);
    z-index:1;
    transition: background-color .2s;
}

.main-bottom-pic .row > .cell > .img-box:hover::before {
    background-color:rgba(0,0,0,0.5);
}


.main-bottom-pic .row > .cell > .img-box > span {
    position:absolute;
    top:50%;
    left:50%;
    color:white;
    border:1px solid white;
    border-radius:2px;
    padding:6px 15px;
    transform:translateX(-50%) translateY(-50%);
    text-transform:uppercase;
    z-index:2;
    opacity:0;
    transition: opacity .2s;
}

.main-bottom-pic .row > .cell > .img-box:hover > span {
    opacity:1;
}

.main-bottom-pic .row > .cell > .img-box > img {
    transition: transform .2s;
}

.main-bottom-pic .row > .cell > .img-box:hover > img {
    transform:scale(1.1);
}
/* 이미지 위 고정폰트
.main-bottom-pic .row > .cell > .img-box > div {
    position:absolute;
    top:0;
    left:0;
    background-color:black;
    color:#afafaf;
    font-size:1.2rem;
    padding:0.4rem;
    z-index:5;
}

.main-bottom-pic .row > .cell > .img-box > div::after {
    content:"";
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    height:3px;
    background-color:rgba(0,0,0,0.3);
}

.main-bottom-pic .row > .cell > .img-box > div > span {
    color: #96aee1;
}*/

