/* */

#ctt .sec-inner {
    max-width: 1200px;
    margin: 0 auto;
}

#ctt .line-bottom {
    border-bottom: 1px solid #ccc !important;
}

/* 서브 비주얼 */

.sub-visual {
    position: relative;
    overflow: hidden;
    height: 470px;
}

.sub-visual .bg {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transform: scale(1.3);
}

.sub-visual.active .bg {
    opacity: 1;
    transform: scale(1) rotate(0.01deg);
    transition: transform 5s ease .3s, opacity 2s ease 1s;
}

.sub-visual._introduction .bg {
    background-image: url(../img/page/visual_1.jpg);
}

.sub-visual._clinic .bg {
    background-image: url(../img/page/visual_2.jpg);
}

.sub-visual._online .bg {
    background-image: url(../img/page/visual_3.jpg);
}

.nav-online {
    display: none !important;
}

.sub-visual._community .bg {
    background-image: url(../img/page/visual_4.jpg);
}

.inner {
    width: 1240px;
    margin: 0 auto;
}

.sub-visual .txt {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.sub-visual.active .txt {
    -webkit-mask-image: linear-gradient(-70deg, rgba(0, 0, 0, 0) 47.5%, rgba(0, 0, 0, 1) 52.5%);
    -webkit-mask-size: 250% 100%;
    animation: reveal 7s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

.sub-visual h2 {
    font-size: 54px !important;
    font-weight: 600;
}

/* category */

.nav-pills.d-flex.line-bottom {
    border-bottom: 1px solid #eee !important;
    column-gap: 15px;
}

/* 임플란트 */

.number-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    background-color: #000;
    color: white;
    font-size: 16px;
    border-radius: 50%;
}

.card-text {
    line-height: 1.6 !important;
}

/* 의료진소개 */

.custom-border {
    border: 10px solid #ffffff;
}

/* 진료안내 */

.ctt_medical ._1 .grid._fir {
    margin: 0 auto;
    background: url(../img/page/visual_4.jpg);
    background-size: cover;
    padding: 70px 100px;
    color: #fff;
}

.ctt_medical ._1 .grid-wrap {
    margin: 0 auto;
    padding: 40px 100px;
}

/* 진료비용안내 */

.ctt_cost .table {
    text-align: center;
}

/* 오시는길 */

.ctt_direction ._1 iframe {
    width: 100%;
    height: 500px;
}

/* */

@keyframes reveal {
    0% {
        -webkit-mask-position: 100%;
        opacity: 0;
    }

    100% {
        -webkit-mask-position: 0;
        opacity: 1;
    }
}