.rebreastTopImg {
    background-image: url('../img/resurgery/rebreast/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.imbalanceTopImg {
    background-image: url('../img/resurgery/relight_imbalance/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.thickTopImg {
    background-image: url('../img/resurgery/relight_thick/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.correctionTopImg {
    background-image: url('../img/resurgery/relight_correction/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.outintoTopImg {
    background-image: url('../img/resurgery/relight_outinto/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.relightfatTopImg {
    background-image: url('../img/resurgery/relight_fat/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.inflammaionTopImg {
    background-image: url('../img/resurgery/rerhino_inflammation/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.prosthesisTopImg {
    background-image: url('../img/resurgery/rerhino_prosthesis/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.ribcartilageTopImg {
    background-image: url('../img/resurgery/rerhino_ribcartilage/head01pc.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .rebreastTopImg {
        background-image: url('../img/resurgery/rebreast/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .inflammaionTopImg {
        background-image: url('../img/resurgery/rerhino_inflammation/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .thickTopImg {
        background-image: url('../img/resurgery/relight_thick/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .correctionTopImg {
        background-image: url('../img/resurgery/relight_correction/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .outintoTopImg {
        background-image: url('../img/resurgery/relight_outinto/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .relightfatTopImg {
        background-image: url('../img/resurgery/relight_fat/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .imbalanceTopImg {
        background-image: url('../img/resurgery/relight_imbalance/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .prosthesisTopImg {
        background-image: url('../img/resurgery/rerhino_prosthesis/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }
    .ribcartilageTopImg {
        background-image: url('../img/resurgery/rerhino_ribcartilage/head02mo.jpg');
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
    }


    
}




/* 비대칭눈재수술 */
.relightImbalBox {margin-top: 50px;}
.relightImbal img {max-width: 460px; width: 100%; height: auto;}
.relightImbal > div {
    text-align: center;
    border-radius: 50px;
    margin: 10px;
    box-shadow: 0px 3px 20px 1px rgba(0, 0, 0, 0.03);
    /* border: 1px solid red; */
}
.relightImbal > div span:first-child {
    color: white;
    background: #FFA35D;
    line-height: 50px;
    border-radius: 50px 50px 0 0;
}
.relightImbal > div > div {
    padding: 20px;
    background: white;
}
.relightImbal > div span:nth-of-type(2) {
    background: white;
    padding: 20px 40px 40px 40px;
    border-radius: 0 0 50px 50px;
    word-break: keep-all;
}


@media screen and (max-width: 767px) {
    .relightImbal > div {
        border-radius: 25px;
    }
    .relightImbal > div span:first-child {
        border-radius: 25px 25px 0 0;
    }
    .relightImbal > div span:nth-of-type(2) {
        border-radius: 0 0 25px 25px;
        padding: 14px 26px 26px 26px;
    }
    .relightImbalBox {
        margin-top: 20px;
    }
}



/* 자가진단 */
.selfConditionBox {
    max-width: 1200px;
    width: 100%;
    margin: 50px auto 0 auto;
}
.selfConditionBox img {
    display: block;
    max-width: 500px;
    width: 100%;
    height: 260px;
    margin: 0 auto;
    transition: all 0.3s;
}
.outLight {
    max-width: 540px;
    width: 100%;
    border: 2px solid #FFBB74;
    background: white;
    border-radius: 50px;
    padding: 20px;
}
.outLight > div:first-child, .inLight > div:first-child {
    overflow: hidden;
    border-radius: 25px;
}
.outLight:hover, .inLight:hover {
    box-shadow: 1px 1px 20px 20px rgba(0, 0, 0, 0.03);
    transition-duration : 0.3s;
}
.outLight:hover img, .inLight:hover img {
    transform: scale(1.2);
    transition: all 0.3s;
}
.outLight .selfContitionTitle {
    background: #FFBB74;
    border-radius: 50px;
    padding: 5px 20px;
    width: fit-content;
    margin: 20px auto 20px auto;
    color: white;
}
.outLight, .inLight {
    margin: 20px auto;
}
.outLight .SelfcheckList {
    /* border: 1px solid red; */
    max-width: 400px;
    width: 100%;
    margin: 10px auto;
}
.outLight .SelfcheckList > div {
    width: 100%;
    display: flex;
}
.outLight .SelfcheckList > div span {
    padding: 0 10px 16px 0;
}
.inLight {
    max-width: 540px;
    width: 100%;
    border: 2px solid #DB7C66;
    background: white;
    border-radius: 50px;
    padding: 20px;
}
.inLight .selfContitionTitle {
    background: #DB7C66;
    border-radius: 50px;
    padding: 5px 20px;
    width: fit-content;
    margin: 20px auto 20px auto;
    color: white;
}    
.inLight .SelfcheckList {
    /* border: 1px solid red; */
    max-width: 400px;
    width: 100%;
    margin: 10px auto;
}
.inLight .SelfcheckList > div {
    width: 100%;
    display: flex;
}
.inLight .SelfcheckList > div span {
    padding: 0 10px 16px 0;
}

@media screen and (max-width: 767px) {
    .selfConditionBox {
        margin: 20px auto 0 auto;
    }
}


/* 늑연골이란 */
.whatisrib img {border-radius: 50px; max-width: 710px; width: 100%; height: auto;}
.whatisrib .whatBox {display: flex; flex-wrap: nowrap; flex-direction: row;}
.whatisrib .whatImg, .whatisrib .whatCom {width: 50%;}
.whatisrib .whatCom {padding: 200px 0 0 20px;}
.whatisrib .whatCom span {font-size: 1rem; font-family: 'Paperlogy-5Medium'; color: #EE7B38;}
.whatisrib .whatCom h2 {font-size: 3.2rem; margin-bottom: 60px; font-family: 'Paperlogy-8ExtraBold';}
.whatisrib .whatCom p {font-size: 1.2rem; font-family: 'Paperlogy-3Light';}

@media screen and (max-width: 1400px) {
    .whatisrib .whatCom {padding: 150px 0 0 20px;}
}
@media screen and (max-width: 1199px) {
    .whatisrib .whatCom {padding: 70px 0 0 20px;}
}
@media screen and (max-width: 991px) {
    .whatisrib .whatCom {padding: 20px 0 0 20px;}
}


@media screen and (max-width: 767px) {
    .whatisrib img {border-radius: 25px;}
    .whatisrib .whatBox {display: block;}
    .whatisrib .whatImg, .whatisrib .whatCom {width: 100%;}
    .whatisrib .whatCom {padding: 7% 0 0 0;}
    .whatisrib .whatCom span {font-size: 0.8rem;}
    .whatisrib .whatCom h2 {font-size: 2rem; margin-bottom: 30px;}
    .whatisrib .whatCom p {font-size: 1rem;}
}

