@charset "utf-8";

/* 공통 */
/* intro */
.intro{
    background-image: url(../img/orthodontics/intro-orthodontics.jpg);
    background-position: right center;
}



/* 성장기 교정 페이지 */
/* growth */
.growth{
    padding: 20rem 0 15rem;
}
.growth .card{
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.growth .card .t_name{
    display: flex;
    height: 6.1rem;
    justify-content: space-between;
}
.growth .card .t_name button{
    flex: 1;
    display: flex;
    justify-content: center;
    border-bottom: 7px solid #D9D9D9;
    color: var(--grey2);
    cursor: pointer;
    transition: .5s;
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}
.growth .card .t_name button.on{
    color: var(--dark2);
    border-bottom-color: var(--main);
}
.growth .card .card_contents{
    position: relative;
    width: 100%;
    height: 50rem;
}
.growth .card .card_contents article{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #F7F7F7;
    justify-content: space-between;
    display: none;
}
.growth .card .card_contents article.on{
    display: flex;
}
.growth .card .card_contents article .l_box{
    flex: 1;
    height: auto;
    max-width: 57.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 14rem;
    animation: growth_fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes growth_fadeIn{
    0%{transform: translateY(3rem); opacity: 0;}
    100%{transform: translateY(0); opacity: 1;}
}
.growth .card .card_contents article .l_box p{
    color: var(--grey1);
}
.growth .card .card_contents article .l_box p:first-of-type{
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}
.growth .card .card_contents article img{
    width: 500px;
    height: 100%;
    max-width: 42.5%;
    object-fit: cover;
    object-position: 75% 35%;
}


/* xray */
.xray{
    padding: 15rem 0;
    background: var(--dark2);
}
.xray .title h2{
    color: #fff;
}
.xray .mark{
    width: fit-content;
    display: block;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1.27;
    letter-spacing: -0.02em;
    padding: 1.5rem 3.1rem 1.4rem 2.5rem;
    background: url(../img/about/gold_marker.svg) no-repeat;
    background-size: cover;
    margin: 0 auto;
}
.xray .container{
    margin-top: 4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}
.xray .container article{
    width: 100%;
    max-width: 980px;
    height: 40rem;
    border: 1px solid #5d5d5d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}
.xray .container article>img{
    width: 40%;
    max-width: 380px;
    height: 100%;
    object-fit: cover;
}
.xray .container article .r_box{
    flex: 1;
    height: 100%;
    padding: 0 6rem 0 8.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.xray .container article .r_box span{
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.89;
    letter-spacing: -0.02em;
    color: var(--main);
}
.xray .container article .r_box b{
    font-weight: 500;
    font-size: 2.6rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fff;
}
.xray .container article .r_box p{
    color: #d9d9d9;
}
.xray .container article .r_box p:nth-of-type(1){
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}


/* benefit */
.benefit{
    padding: 15rem 0 20rem;
}  
.benefit .container{
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 4%;
}  
.benefit .container div{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}  
.benefit .container div img{
    width: 100%;
    object-fit: contain;
}  
.benefit .container div h3{
    margin-top: 1.4rem;
    font-weight: 700;
    margin-top: 4rem;
    line-height: 2.5;
    letter-spacing: 0;
    color: var(--dark1);
}  
.benefit .container div p{
    margin-top: 1.4rem;
    color: var(--grey1);
    letter-spacing: 0;
    text-align: center;
} 


/* case */
.case{
    padding: 0 0 20rem;
}
.case .title small{
    font-weight: 300;
    font-size: 14px;
    line-height: 1.57;
    color: var(--grey1);
}
.case .title small:first-of-type{
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.case .container{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.case .container .case_box{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
}
.case .container .case_box:last-child {
    margin-bottom: 0;
}
.case .container .case_box img{
    position: relative;
    width: 50%;
    object-fit: cover;
    object-position: 90% top;
    display: block;
}
@media (max-width: 767px) {
    .case .container .case_box {
        margin-bottom: 10px;
    }
    .case .container .case_box:last-child{
        margin-bottom: 0;
    }
}


/* 성인 교정 페이지 */
.safe{
    padding: 20rem 0 15rem;
}
.safe .container{
    width: 90%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin: 0 auto;
}
.safe .container div{
    flex: 1;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: .4rem solid var(--main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: content-box;
}
.safe .container div b{
    margin-top: 1.4rem;
    font-family: "roboto", sans-serif;
    font-weight: 800;
    font-size: 9.6rem;
    line-height: 0.36;
    color: var(--dark1);
}
.safe .container div strong{
    margin-top: 3.5rem;
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 1.4;
    color: #838383;
}


/* treatment */
.treatment{
    padding: 15rem 0;
    background: var(--dark2);
}
.treatment .title h2{
    color: #fff;
}
.treatment .treatment_slide{
    width: 100%;
    overflow: visible;
}
.treatment .treatment_slide .swiper-slide{
    width: 48rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.treatment .treatment_slide .swiper-slide img{
    width: 100%;
    object-fit: contain;
}
.treatment .treatment_slide .swiper-slide .text_box{
    width: 81.25%;
    margin-top: -5.4rem;
    background: #222;
    border: 2px solid var(--main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 0 3.7rem;
    color: #fff;
    opacity: 0;
    transition: .4s ease-out;
}
.treatment .treatment_slide .swiper-slide-active .text_box{
    opacity: 1;
    transition-delay: .2s;
}
.treatment .treatment_slide .swiper-slide .text_box i{
    margin-top: 1rem;
    font-family: "parlare", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.67;
    letter-spacing: -0.02em;
    color: var(--main);
}
.treatment .treatment_slide .swiper-slide .text_box p{
    margin-top: 2rem;
    letter-spacing: 0;
}
.treatment .treatment_slide button{
    position: absolute;
    top: 30%;
    width: 6.8rem;
    height: 6.8rem;
    z-index: 2;
}
.treatment .treatment_slide button img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.treatment .treatment_slide button.prev{
    left: 0;
}
.treatment .treatment_slide button.next{
    right: 0;
}


/* explain */
.explain{
    padding: 15rem 0 20rem;
}
.explain .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10rem;
}
.explain .container>img{
    width: 50%;
    max-width: 580px;
    object-fit: cover;
    border-radius: 1.6rem;
    object-position: 34% top;
}
.explain .container .r_box{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.explain .container .r_box h3{
    margin-top: 7rem;
    letter-spacing: 0;
    color: var(--dark1);
}
.explain .container .r_box .checklist{
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.explain .container .r_box .checklist div{
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 1.55;
}
.explain .container .r_box .checklist div img{
    margin-top: .4rem;
    width: 2rem;
    object-fit: contain;
}
.explain .container .r_box p{
    margin-top: 5rem;
    color: var(--grey1);
    letter-spacing: 0;
}



/* 부분 교정 페이지 */
/* part */
.part{
    padding: 20rem 0 15rem;
}
.part .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    border: 1px solid #d9d9d9;
    border-radius: .8rem;
    overflow: hidden;
}
.part .container img{
    width: 50%;
    object-fit: cover;
    object-position: 68% center;
}
.part .container .r_box{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10rem;
}
.part .container .r_box h3{
    color: var(--dark1);
    letter-spacing: 0;
    margin-top: -9px;
}
.part .container .r_box p{
    color: var(--grey1);
    letter-spacing: 0;
}
.part .container .r_box p:first-of-type{
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* need */
.need{
    padding: 15rem 0;
    background: url(../img/orthodontics/need_back.jpg) no-repeat;
    background-size: cover;
}
.need .wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.need .title h2{
    color: #fff;
}
.need .title p{
    color: #fff;
    letter-spacing: 0;
}
.need .container{
    width: 106%;
    max-width: 1248px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}
.need .container div{
    aspect-ratio: 1 / 1;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.need .container div h3{
    margin-top: -.4rem;
    line-height: 1.375;
    color: #fff;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0;
}
.need .container div h3:first-child{
    margin-bottom: 1.5rem;
}

/* benefits */
.benefits{
    padding: 15rem 0;
}
.benefits .title{
    margin-bottom: 10rem;
}
.benefits .container{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10rem;
}
.benefits .container>div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10rem;
}
.benefits .container>div:nth-child(2){
    flex-direction: row-reverse;
}
.benefits .container>div:nth-child(2) .text_box{
    padding-left: 18rem;
}
.benefits .container>div img{
    width: 40%;
    object-fit: contain;
    max-width: 480px;
}
.benefits .container>div .text_box{
    flex: 1;
}
.benefits .container>div .text_box b{
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 1.375;
    color: var(--grey2);
}
.benefits .container>div .text_box h3{
    margin-top: 1rem;
    letter-spacing: 0;
}
.benefits .container>div .text_box p{
    letter-spacing: 0;
    color: var(--grey1);
}
.benefits .container>div .text_box p:first-of-type{
    margin: 3rem 0 1rem
}




/* 재교정 페이지 */
/* redo */
.redo .container img{
    object-position: center center;
}
.m_b{
    margin-bottom: 15rem;
}