/* main_banner */
.main_banner {
    position: relative;
    z-index: 1;
    background-color: #fff;
}
.main_banner_line {
    position: absolute;
    left: 0px;
    bottom: 27px;
    width: 100%;
    height: 1px;
    background-color: #fff;
}

/* convention */
.convention {
    position: relative;
    padding-top: 120px;
    padding-bottom: 100px;
    margin: 0 auto;
    text-align: center;
    background: rgba(246, 246, 246, 1);
}
.convention::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 295px;
    height: 356px;
    display: inline-block;
    background: url('../img/convention_bg.svg') no-repeat center;
}
.convention h2 {
    position: relative;
    margin-bottom: 36px;
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    color: #333;
}
.convention h2 > span {
    color: #bb2a4b;
}
.convention h2 > span::after {
    content: '';
    position: absolute;
    top: -35px;
    width: 50px;
    height: 56px;
    margin-left: -10px;
    display: inline-block;
    background: url('../img/convention_title_deco.svg') no-repeat center;
}

.convention > .convention_slide {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* height: 300px; */
    background: #fff;
}
.convention .swiper-wrapper {
    padding: 40px 52px;
}
.convention > .convention_slide .swiper-slide {
    position: relative;
}
.convention > .convention_slide .swiper-slide > div {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
    width: 100%;
    height: 80px;
}

/* .convention_slide_page_wrap {
  position: absolute;
  bottom: 40px;
  display: flex;
  width: 100%;
  height: 8px;
  justify-content: center;
}
.convention_slide_page {
  width: auto;
}
.convention_slide_page .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #bb2649;
  opacity: 0.39;
  margin: 0px 9px;
  border: 1px solid blue;
}
.convention_slide_page  .swiper-pagination-bullet-active {
  opacity: 1;
} */

/* main_logo */
.main_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 266px;
    background-color: #bb2649;
    color: rgba(255, 255, 255, 0.38);
    font-family: 'Noto Serif KR';
    font-weight: 200;
    font-size: 21px;
}
.main_logo img {
    margin: 0 142px 0 225px;
}
.main_logo p {
    letter-spacing: 10px;
}

/* main_title */
.main_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.main_title h2 {
    padding-top: 188px;
    margin-bottom: 31px;
    font-family: 'Noto Serif KR';
    font-size: 48px;
    font-weight: 400;
    color: #333;
}
.main_title h2 > span {
    font-weight: 600;
}
.main_title > p {
    margin-bottom: 117px;
    font-size: 22px;
    line-height: 32px;
    color: #333;
}

.main_title > div {
    display: flex;
    padding-bottom: 240px;
}
.main_title > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 375px;
    height: 375px;
    border: 1.5px solid #c3c3c3;
    border-radius: 50%;
}
.main_title > div > div:nth-child(2) {
    background: #888;
    color: #fff;
    margin: 0 -20px;
    z-index: 1;
}
.main_title > div > div > h3 {
    width: 33px;
    height: 33px;
    margin-bottom: 25px;
    border-radius: 50%;
    background: #888;
    line-height: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
}
.main_title > div > div:nth-child(2) > h3 {
    background: #fff;
    color: #888;
}
.main_title > div > div > h4 {
    margin-bottom: 34px;
    font-size: 30px;
    font-weight: 600;
}
.main_title > div > div > p {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 35px;
}

/* main_subtitle */
.main_subtitle {
    display: flex;
    align-items: center;
}
.main_subtitle > div {
    position: relative;
}
.subtitle_L_line {
    width: 110px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 53px;
}
.subtitle_L > div {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    padding-top: 157px;
    padding-left: 240px;
}
.subtitle_L p {
    font-size: 20px;
    line-height: 36px;
    color: #fff;
}

.subtitle_R > div {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    padding-top: 165px;
    padding-left: 265px;
    color: #fff;
}
.subtitle_R > div > div {
    display: flex;
}
.subtitle_con {
    width: 300px;
    margin-right: 100px;
    margin-bottom: 65px;
}
.subtitle_con h3 {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 500;
}
.subtitle_con h4 {
    margin-bottom: 25px;
    font-size: 26px;
    font-family: 'Noto Serif KR';
    font-weight: 500;
    color: #ffecd4;
}
.subtitle_con p {
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

/* main_docter */
.main_doctor {
    position: relative;
    width: 100%;
    padding-top: 172px;
}
.main_doctor > .main_doctor_wrap {
    display: flex;
    padding-left: 190px;
    margin: 0;
}
.main_doctor h2 {
    margin-bottom: 65px;
    font-size: 50px;
    line-height: 72px;
    font-weight: 600;
    word-spacing: -5px;
    color: #333;
}
.main_doctor h2 > span {
    color: #bb2649;
}
.main_doctor > .main_doctor_wrap > div.title > p {
    margin-bottom: 239px;
    font-size: 22px;
    line-height: 32px;
    color: #333;
    word-spacing: -2px;
}
.main_doctor > .main_doctor_wrap > .title {
    margin-right: 30px;
}

/* 우측 의료진 이미지 */

.main_doctor .ment {
    display: block;
    position: absolute;
    width: 100%;
    line-height: 63px;
    height: 63px;
    color: #fff;
    font-size: 26px;
    border: 1px solid red;
}
.main_doctor_right > .btn {
    padding-left: 295px;
    display: flex;
    gap: 210px;
    width: 100%;
}
.main_doctor_right > .btn > .doc1_btn {
    z-index: 500;
}
.main_doctor_right > .btn > .doc2_btn {
    z-index: 500;
}
.main_doctor_right > .btn > .doc3_btn {
    z-index: 500;
}
.main_doctor_right > .btn > .doc4_btn {
    z-index: 500;
}
.main_doctor_right > .btn > .doc3_btn > span {
    right: 470px;
}
.main_doctor_right > .btn > .doc4_btn > span {
    right: 200px;
}
.main_doctor_right > .btn > div.on {
    z-index: 600;
    opacity: 1 !important;
}
.main_doctor_right > .btn > div > span {
    border-radius: 50%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.16);
    position: absolute;
    top: 220px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 1;
}
.main_doctor_right > .btn > div > span.close_btn {
    z-index: -1;
    transform: rotate(45deg);
    opacity: 0;
    border: 1px solid #fff;
}
.main_doctor_right > .btn > div > span.close_btn.on {
    opacity: 1;
    z-index: 500;
}
.main_doctor_right .blur {
    filter: blur(2px);
}
.main_doctor_right > .btn > div > span.on_btn {
    opacity: 1;
}
.main_doctor_right > .btn > div > span.on_btn {
    opacity: 1;
}
.main_doctor01 {
    left: -48px;
    z-index: 206;
}
.main_doctor01.on {
    z-index: 401;
}
.main_doctor02 {
    left: -166px;
    z-index: 205;
    bottom: 3px;
}
.main_doctor02.on {
    z-index: 401;
}
.main_doctor03 {
    left: 50px;
    z-index: 203;
}
.main_doctor03.on {
    z-index: 401;
}
.main_doctor04 {
    right: 134px;
    z-index: 202;
}
.main_doctor04.on {
    z-index: 401;
}
.main_doctor_right {
    position: absolute;
    right: 0px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.main_doctor_right > .main_doctors {
    display: flex;
    align-items: flex-end;
}
.main_doctor_right > .main_doctors > div {
    position: relative;
    margin-bottom: -3px;
}

/* modal */
html.modal-active,
body.modal-active {
    overflow: hidden;
}
.modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 220;
}
.modal-container.on {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on .modal-background .modal {
    transform: scale(0);
    animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out .modal-background .modal {
    animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container .modal-background {
    display: table-cell;
    background: rgba(206, 195, 187, 0.8);
    vertical-align: middle;
}
.viewMore {
    cursor: pointer;
}
.viewMore > img {
    transition: all 0.2s;
}
/* .viewMore:hover > img {
    margin-left: 50px;
} */

@keyframes unfoldIn {
    0% {
        transform: scaleY(0.005) scaleX(0);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(1) scaleX(1);
    }
}
@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(0.005) scaleX(0);
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@media (max-width: 1580px) {
    .modal-container .modal-background .modal {
        width: 90%;
        padding: 40px 4vw;
        padding-right: 2vw;
    }
}

/* 의료진_하단 decoration */
.main_doctor_bot {
    position: relative;
}
.main_doctor::before {
    content: '';
    position: absolute;
    /* top: -63px; */
    bottom: 0;
    width: 85%;
    height: 63px;
    background: #cec3bb;
    z-index: -1;
}
.main_doctor::after {
    content: '일산에서 자라며 여러분께 받은 사랑, 최고의 진료로 보답하겠습니다.';
    display: block;
    position: absolute;
    right: 240px;
    bottom: 0;
    z-index: 206;
    font-size: 26px;
    color: #fff;
    line-height: 63px;
}
.main_doctor_bot .red {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 110px;
    width: 100%;
    height: 138px;
    padding-right: 325px;
    background: #bb2649;
    color: #fff;
    word-spacing: -5px;
    font-size: 30px;
    font-weight: 500;
}
.main_doctor_bot .red span {
    font-size: 22px;
    font-weight: 400;
}

/* main_nopain_01 */
.main_nopain_01 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 150px 0 116px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.main_nopain_01 img {
    width: 1140px;
    height: 325px;
}
.main_nopain_01 > div {
    position: absolute;
}
.main_nopain_01 h3 {
    margin-bottom: 30px;
    font-size: 38px;
    font-weight: 400;
}
.main_nopain_01 h3 > span {
    color: #efe6df;
    font-weight: 600;
}
.main_nopain_01 h4 {
    margin-bottom: 33px;
    font-family: 'Noto Sans KR';
    font-size: 20px;
    line-height: 28px;
}
.main_nopain_01 p {
    font-family: 'Noto Sans KR';
    font-size: 18px;
}

/* main_nopain_02 */
.main_nopain_02 {
    display: flex;
    background: rgba(32, 32, 32, 1);
    color: #fff;
}
.nopain_02_L {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 97px;
    padding-left: 240px;
    padding-right: 130px;
}
.nopain_02_L h3 {
    width: 160px;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    border-bottom: 1px solid #fff;
}
.nopain_02_L h4 {
    margin-bottom: 45px;
    font-size: 48px;
    font-weight: 300;
    line-height: 66px;
}
.nopain_02_L h4 > span {
    font-weight: 600;
    color: #efe6df;
}
.nopain_02_L p {
    margin-bottom: 140px;
    font-size: 24px;
    line-height: 36px;
}
.nopain_02_L > div {
    position: relative;
    margin-bottom: 150px;
}
.nopain_02_L div > img {
    width: 70px;
    height: 13.5px;
}
.nopain_02_L img.main_nopain_02_prev {
    left: 0;
    margin-right: 39px;
}
.nopain_02_L img.main_nopain_02_next {
    left: 100px;
}
.nopain_02_L .swiper-button-disabled {
    opacity: 0.3;
}
.nopain_02_L p.watermark {
    opacity: 0.3;
}
.main_nopain_02_nav > img {
    cursor: pointer;
}
.nopain_02_R {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin-top: 92px;
}
.nopain_02_R h5 {
    margin-top: 20px;
    margin-bottom: 24px;
    font-family: 'Noto Sans KR';
    font-size: 30px;
    font-weight: 400;
}
.nopain_02_R p {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 32px;
}
.nopain_02_R div.main_nopain_02_page {
    width: 720px;
    height: 4px;
    left: 0;
    bottom: 107px;
    top: auto;
    background: rgba(255, 255, 255, 1);
}
.nopain_02_R span.swiper-pagination-progressbar-fill {
    background-color: #bb2649;
}

/* main_nopain_03 */
.main_nopain_03 {
    padding-bottom: 207px;
    text-align: center;
    background: rgba(243, 243, 243, 1);
}
.main_nopain_03 > img {
    margin: 156px 0 59px;
}
.main_nopain_03 h2 {
    margin-bottom: 37px;
    font-size: 50px;
    font-weight: 400;
    color: #1d1919;
}
.main_nopain_03 h2 > span {
    font-weight: 600;
    color: #bb2649;
}
.main_nopain_03 > p {
    margin-bottom: 114px;
    font-size: 22px;
    color: #727272;
    line-height: 36px;
}
.main_nopain_03 > p > span {
    font-weight: 600;
    color: #bb2649;
}

.main_nopain_03 > div {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.main_nopain_03 > div.gap {
    margin-bottom: 32px;
}
.main_nopain_03 > div > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* width: 460px;
    height: 260px;
    padding-left: 40px; */
    text-align: left;
    background: #fff;
    transition: all 0.2s;
}
.main_nopain_03 > div > div h3 {
    margin-bottom: 13px;
    font-size: 28px;
    font-weight: 500;
    line-height: 30px;
    border-bottom: 2px solid #000;
}
.main_nopain_03 > div > div h4 {
    margin-bottom: 29px;
    font-size: 28px;
    font-weight: 500;
}
.main_nopain_03 > div > div p {
    font-size: 20px;
    line-height: 32px;
    color: #717171;
}
.main_nopain_03 > div > div img {
    /* position: absolute;
    right: 30px;
    bottom: 30px; */
}
/* .main_nopain_03 > div > div:hover img {
    filter: brightness(200%);
}

.main_nopain_03 > div > div:hover {
    background: #bb2649;
    color: #fff;
}
.main_nopain_03 > div > div:hover h3 {
    border-bottom: 2px solid #fff;
}
.main_nopain_03 > div > div:hover p {
    color: #fff;
} */

/* main_nopain_04 */
.main_nopain_04 div.slide {
    position: relative;
}
.main_nopain_04 .swiper-wrapper div.nopain04_01 {
    flex-direction: row;
}
.main_nopain_04 div.slide > div {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 210px;
    padding-left: 260px;
    color: #fff;
}
.nopain_04_conL h3 {
    position: relative;
    margin-bottom: 23px;
    font-size: 21px;
    font-weight: 400;
    color: #cebda7;
}
.nopain_04_conL h3::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 120px;
    width: 240px;
    height: 1.5px;
    background: #cebda7;
}
.nopain_04_conL h4 {
    margin-bottom: 66px;
    font-family: 'Noto Serif KR';
    font-size: 44px;
    line-height: 59px;
    font-weight: 400;
}
.nopain_04_conL h4 > span {
    font-weight: 600;
    color: #cebda7;
}
.nopain_04_conL p {
    font-size: 24px;
    font-weight: 300;
    line-height: 38px;
    color: #b0b0b0;
}
.nopain_04_conR {
    padding-left: 290px;
}
.nopain_04_conR > div {
    width: 393px;
    height: 52px;
    padding-left: 40px;
    margin-bottom: 22px;
    border: 1.5px solid #fff;
    border-radius: 999999px;
    font-size: 24px;
    line-height: 52px;
    font-weight: 300;
    color: #b0b0b0;
}
.nopain_04_conR > div > span {
    margin-right: 42px;
}
.nopain04_slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.main_nopain_04 img.button {
    width: 67px;
    height: 65px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}
.main_nopain_04 img.next {
    right: 140px;
}
.main_nopain_04 img.prev {
    left: 140px;
}
.main_nopain_04 div.main_nopain_04_page_wrap {
    position: absolute;
    bottom: 52px;
    z-index: 1;
    text-align: center;
    display: flex;
    width: 100%;
    justify-content: center;
}
.main_nopain_04 div.main_nopain_04_page {
    width: auto;
}
.main_nopain_04 .nopain04_slide .main_nopain_04_page_wrap .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.39;
    margin: 0px 9px;
}
.main_nopain_04 .nopain04_slide .main_nopain_04_page_wrap .swiper-pagination-bullet-active {
    opacity: 1;
}

/* main_category */
.main_category {
    padding-top: 148px;
}
.main_category > h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 73px;
}
.main_category_con {
    display: flex;
    width: 100%;
}
.main_category_con > div {
    width: 20%;
    position: relative;
    cursor: default;
}
.main_category_con > div:hover > img {
    filter: none;
}
.main_category_con > div > img {
    filter: grayscale(1) brightness(0.5);
    transition: all 0.2s;
    width: 100%;
}
.main_category_con > div:hover > div {
    padding-bottom: 178px;
}
.main_category_con > div > div {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 215px;
    transition: all 0.2s;
}
.main_category_con > div > div::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: #f3eeea;
    opacity: 0.8;
    transition: all 0.2s;
}
.main_category_con > div:nth-of-type(1) > div::before,
.main_category_con > div:nth-of-type(3) > div::before,
.main_category_con > div:nth-of-type(5) > div::before {
    background-color: #efe6df;
}
.main_category_con > div > div:hover::before {
    opacity: 0;
}
.main_category_con > div:hover img {
    opacity: 1;
}
.main_category_con > div > div > img {
    opacity: 0;
    transition: all 0.2s;
}
.main_category_con > div:hover h3 {
    font-size: 35px;
    color: #dbd0c2;
    margin-top: 32px;
    margin-bottom: 22px;
}
.main_category_con > div > div > h3 {
    font-size: 26px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 16px;
    transition: all 0.2s;
    position: relative;
}
.main_category_con > div:hover p {
    font-size: 23px;
    color: #fff;
}
.main_category_con > div > div > p {
    font-size: 18px;
    font-weight: 400;
    color: #a4a4a4;
    transition: all 0.2s;
    position: relative;
}

/* main_digital */
.main_digital {
    display: flex;
    padding-top: 216px;
    padding-left: 240px;
    padding-bottom: 184px;
    background: rgba(57, 57, 57, 0.07);
}
.digital_L {
    padding-right: 170px;
}
.digital_L h2 {
    margin-bottom: 21px;
    color: #bb2649;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Pretendard';
}
.digital_L h3 {
    margin-bottom: 77px;
    color: #333;
    font-size: 42px;
    line-height: 60px;
}
.digital_L p {
    font-size: 20px;
    line-height: 32px;
    color: #606060;
}
.digital_R {
    width: 100%;
    max-width: 1053px;
}
.digital_R h4 {
    margin-top: 20px;
    margin-bottom: 60px;
    font-size: 24px;
    font-weight: 300;
    color: #727272;
}
.digital_R div.swiper-pagination-progressbar {
    width: 813px;
    height: 4px;
    left: 0;
    bottom: 0;
    top: auto;
    background: rgba(114, 114, 114, 0.3);
    margin-top: 60px;
    position: relative;
}
.digital_R span.swiper-pagination-progressbar-fill {
    background-color: #727272;
}

/* main_come */
.main_come {
    position: relative;
    padding-top: 164px;
}
.main_come > h2 {
    font-size: 44px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 13px;
    text-align: center;
}
.main_come > p {
    font-size: 22px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 69px;
    text-align: center;
}
.main_come_time > div {
    display: flex;
    justify-content: space-between;
}
.main_come_time > div > div {
    display: flex;
    border-bottom: 1px solid #d8d8d8;
    max-width: 357px;
    width: 100%;
    justify-content: space-around;
}
.main_come_time {
    max-width: 756px;
    margin: 0 auto 87px;
}
.main_come_time span {
    font-size: 21px;
    font-weight: 400;
    color: #333333;
    line-height: 63px;
}
.main_come_time p {
    font-size: 20px;
    font-weight: 400;
    color: #333333;
    line-height: 63px;
}
.main_come_time_right span {
    color: #ff0000;
}
.main_come_map {
    position: relative;
    width: 100%;
}
.main_come_map > img {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}
