/* main_banner */
.main_before {
    height: 0px;
    width: 100%;
}


/* con1 */
.con1 {
    background: url('../img/con1_bg.png') no-repeat 50% 50% / cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}

.c1_wrap {
    display: flex;
    gap: 80px;
}

.c1_img {
    flex: 5;
    line-height: 0;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    width: 100%;
}

.c1_img img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.c1_txt {
    flex: 6;
    width: 100%;
    align-self: center;
}

.c1_txt .inner {
    width: 100%;
    padding-right: calc(calc(100vw - 1280px) / 2);
}

.c1_tit {
    font-family: 'ONE_Mobile_Title';
    font-size: 50px;
    margin-bottom: 50px;
}

.c1_tit i {
    color: #25a27e;
}

.c1_txt p:not(:last-child) {
    margin-bottom: 20px;
}

/*  */
h2.c {
    align-items: center;
}

h2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
}

h2 span {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3em;
}

h2 b {
    font-family: 'ONE_Mobile_Title';
    font-size: 50px;
    font-weight: normal;
}

h2 i {
    color: #223974;
}

h2 em {
    color: #476bb2;
}

/*  */
.con2 {
    background: url('../img/con2_bg.png') no-repeat 50% 50% / cover;
    background-attachment: fixed;
    position: relative;
}

.doctor_slider_wrap {
    border-radius: 20px;
    background: #fff;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.doctor_slider_wrap .doctor_li>* {
    width: 100%;
}

.doctor_slider_wrap .swiper-button-next,
.doctor_slider_wrap .swiper-button-prev {
    color: #b3b3b3;
    /* background: #33a6d1; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* padding: 10px; */
    overflow: hidden;
}

.doctor_slider_wrap .swiper-button-next:after,
.doctor_slider_wrap .swiper-button-prev:after {
    font-size: 25px;
}

/* .doctor_slider_wrap .swiper-button-next,
.doctor_slider_wrap .swiper-button-prev{
    top: calc( 50% + 70px) ;
} */
.doctor_top {
    display: flex;
    align-items: center;
    gap: 40px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.doctor_name {
    font-family: 'ONE_Mobile_Title';
    font-size: 40px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.doctor_name b {
    font-weight: normal;
}

.doctor_name i {
    font-size: .5em;
    color: #476bb2;
}

.doctor_more {
    background: #223974;
    border: 1px solid #223974;
    border-radius: 30px;
    line-height: 1;
    padding: 10px 15px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.doctor_more:hover {
    background: #fff;
    color: #223974;
}

.doctor_txt_wrap {
    background: #fff;
    padding: 50px 100px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.doctor_txt_wrap::before {
    content: 'BUPYUNG\A SAMSAN\A PAIN CLINIC';
    white-space: pre;
    position: absolute;
    bottom: 30px;
    left: 50px;
    font-weight: 800;
    font-size: 120px;
    pointer-events: none;
    letter-spacing: -0.04em;
    line-height: 1;
    z-index: 1;
    /* color: #476bb2; */
    background: linear-gradient(to right top, #476bb2, #393a39);
    color: transparent;
    -webkit-background-clip: text;
    opacity: 5%;
}

.doctor_txt_wrap>* {
    width: 100%;
}

.doctor_txt_wrap li:not(:last-child) {
    margin-bottom: 10px;
}

.doctor_img_wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f2f2;
}

.doctor_img_wrap img {
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
}

/*  */
.doctor_view.on {
    display: block;
}

.doctor_view_bg {
    display: none;
}

.doctor_view_bg.on {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.doctor_view {
    display: none;
    position: fixed;
    background: #fff;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 600px;
    height: 70vh;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.doctor_view .closeButton {
    line-height: 1;
}

.doc_view_li>li {
    display: none;
    overflow-y: scroll;
    height: 100%;
    width: 100%;
}

.doc_view_li>li.on {
    display: block;
}

.doc_view_li {

    height: 100%;
    width: 100%;
}

.doctor_tit {
    background: url('../img/doctor_view_bg.png') no-repeat 50% 50% / cover;
    padding: 50px 6%;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
}

.doctor_tit img {
    max-width: 320px;
    width: 70%;
}

.doc_name_wrap {
    background: url('../img/doctor_logo_bg.png') no-repeat 50% 50% / cover;
    width: 100%;
    padding: 50px 6% 0;
    display: flex;
    justify-content: center;
}

.doc_name {
    padding: 30px 6% 0;
}

.doc_name b {
    font-size: 36px;
    font-weight: 700;
    color: #16325f;
}

.doc_name i {
    font-size: 18px;
    font-weight: 400;
}

.doc_img {
    line-height: 0;
}

.doc_txt_wrap {
    padding: 30px 6% 50px;
    font-size: 17px;
    color: #666666;
}

.doc_txt_wrap .doc_tit {
    background: linear-gradient(45deg, #203458, #3b69a4);
    display: inline-block;
    color: #fff;
    padding: 5px 6%;
    font-weight: 700;
    font-size: 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.doc_txt_wrap ul:not(:last-child) {
    margin-bottom: 40px;
}

.doc_txt_wrap li:not(:last-child) {
    margin-bottom: 5px;
}

/*  */
.con3 {
    background: url('../img/con3_bg.png') no-repeat 50% 50% / cover;
    background-attachment: fixed;
    position: relative;
}

.con3::before {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    width:
        45%;
    height: 100%;
    background: url('../img/con3_logo_bg.png') no-repeat right center / contain;
}

.c3_tab {
    font-family: 'ONE_Mobile_Title';
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.c3_tab li.on,
.c3_tab li:hover {
    background-color: #476bb2;
}

.c3_tab li {
    width: 100%;
    font-size: 25px;
    color: #fff;
    background: #cccccc;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    border-radius: 35px;
    transition: background .3s;
}

ul.c3_wrap>li.on {
    display: flex;
}

ul.c3_wrap>li {
    display: flex;
    display: none;
    gap: 0;
    background: #f7f7f7;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-radius: 30px;

}


.c3_img {
    flex: 2;
    line-height: 0;
    width: 100%;
}

.c3_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    line-height: 0;
}

.c3_txt {
    flex: 3;
    width: 100%;
    padding: 70px 50px;
}

.c3_tit {
    font-family: 'ONE_Mobile_Title';
    font-size: 40px;
    color: #223974;
    margin-bottom: 20px;
}

.c3_tit+p {
    letter-spacing: -0.06em;
}

.c3_wrap ol {
    letter-spacing: -0.06em;
    margin-top: 30px;
    display: flex;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    flex-wrap: wrap;
}

.c3_wrap ol li {
    background: #223974;
    color: #fff;
    padding: 5px 20px;
    border-radius: 30px;
}

/* con4/비수술 클리닉 */
.con4 {
    position: relative;
    background: #fff;
    display: flex;
}

.s4_left {
    width: 100%;
    background: url('../img/s4_left_bg.png') no-repeat 50% 100% / cover;
    position: relative;
}

.s4_left .s4_arr {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    line-height: 0;
    z-index: 1;
    cursor: pointer;
}

.s4_left_inner {
    margin-left: calc(calc(100vw - 1280px) / 2);
    margin-right: 80px;
}

.con4 h2 {
    color: #fff !important;
}

.con4 h2 * {
    color: #fff !important;
}

.con4 .main_tit b {
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
}

.con4 .main_tit b .copy {
    font-weight: 800;
    color: rgba(255, 255, 255, 1);
}

.s4_left_ul li {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 30px;
    font-size: 20px;
    font-weight: 400;
    line-height: 3;
    cursor: pointer;
}

.s4_left_ul li span:before {
    content: '';
    margin-right: 0px;
    transition: .3s;
}

.s4_left_ul li .line {
    width: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.s4_left_ul li.on {
    color: #fff;
    font-weight: 600;
}

.s4_left_ul li.on .line {
    background: #fff;
}

.s4_left_ul li.on span:before {
    content: '·';
    margin-right: 10px;
    transition: .3s;
}

/*  */
.s4_right {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.s4_right::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to right, #fff, rgba(247, 247, 247, 0));
    pointer-events: none;
}

/* .s4_right_inner{
    margin-right: calc( calc(100vw - 1280px) / 2 );
} */
.s4_right_swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.s4_right_swiper .swiper-slide>* {
    width: 90%;
    height: auto;
    max-width: 570px;
}

.s4_img_wrap {
    width: 100%;
    line-height: 0;
    border-radius: 20px;
    overflow: hidden;
}

.s4_tit {
    font-family: 'ONE_Mobile_Title';
    font-size: 45px;
    color: #223974;
    margin: 30px 0 15px;
}

.s4_txt {
    font-size: 20px;
}













/* con5 */
.con5 {
    background: url('../img/con5_bg.png') no-repeat 50% 50% / cover;
    background-attachment: fixed;
    position: relative;
}

.c5_swiper_wrap {
    overflow: initial;
    position: relative;
    width: 100%;
    padding-bottom: 50px
}

.c5_swiper_wrap .swiper-wrapper .swiper-slide {
    max-width: 450px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 30px;
    /* box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15); */
}

.c5_swiper_wrap .swiper-slide>* {
    opacity: 0.6;
}

.c5_swiper_wrap .swiper-slide-active>* {
    opacity: 1;
}

.c5_name {
    color: #223974;
    font-size: 30px;
    font-family: 'ONE_Mobile_Title';
    margin: 30px 0 5px;
}

.c5_name+i {
    font-size: 20px;
    letter-spacing: -0.06em;
    text-align: center;
}


.item_pagination.swiper-pagination-progressbar {
    position: relative;
    margin-top: 70px;
    background: rgba(71, 107, 178, 0.2);
}

.item_pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #223974;
}

/* 둘러보기 */
.tour_wrap {
    background: url('../img/c5_bg.png') no-repeat 50% 50% / cover;
    /* background-attachment: fixed; */
    position: relative;
}

.tour_swiper .swiper-slide {
    width: auto;
    height: auto;
    line-height: 0;
    max-width: 60%;
}

.tour_pagination {
    text-align: center;
    margin-top: 50px;
}

.tour_pagination .swiper-pagination-bullet-active {
    background: #476bb2;
}

/*  */
.con7 {
    position: relative;
}

.con7::before {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    content: '';
    width: 45%;
    height: 100%;
    background: url(../img/con3_logo_bg.png) no-repeat right center / contain;
}

.map_wrap .root_daum_roughmap .cont {
    display: none;
}

.map_wrap .root_daum_roughmap .wrap_controllers {
    display: none;
}

.map_wrap .root_daum_roughmap .wrap_map {
    width: 100%;
    height: 100%;
}

.map_wrap .root_daum_roughmap {
    width: 100%;
    height: 100%;
}

.map_flex {
    display: flex;
}

.map_flex>* {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.map_txt {
    flex: 1;
    background: #eff4f9;
    padding: 40px;
    letter-spacing: -0.06em;
}

.map_wrap {
    flex: 1.5;
    border-radius: 20px;
    overflow: hidden;
}

.map_txt address {
    font-size: 20px;
    font-weight: 600;
}

.map_tit {
    font-family: 'ONE_Mobile_Title';
    font-size: 30px;
    color: #476bb2;
    margin-bottom: 10px;
}

.map_tit.tel {
    font-size: 45px;
    margin: 20px 0;
    color: #223974;
}



.time_last {
    color: #5e5e5e;
    font-size: 16px;
}

.map_txt ul li {
    display: flex;
    gap: 40px;
    align-items: start;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    padding: 0 10px;
}

.map_txt ul li.night_li {
    background: #223974;
    color: #fff;
}

.map_txt ul li b {
    font-weight: 400;
}

.map_txt ul li span {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}












/* site_bg */
.site_bg.on {
    display: block;
}

.site_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999999;
}

.site_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 1000px;
    width: 90%;
    height: 80%;
    position: relative;

}

.closeButton:hover {
    background-color: #c1272d;
}

.closeButton {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 2rem;
    font-weight: 600;
    background: #333;
    color: #fff;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
}

