.visual {
    position: relative;
    max-height: 980px;
}

.visual_img img {
    width: 100%;
}

.visual_text {
    position: absolute;
    text-align: center;
}

.visual_text h2 {
    color: #fff;
    font-size: 68px;
    line-height: 86px;
    font-weight: 600;
    letter-spacing: -3px;
}

.visual_text h2 strong {
    color: #36C0FF;
}

.visual_text p {
    margin-top: 48px;
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    font-weight: 300
}

.visual .swiper-slide{
    display:flex;
    justify-content: center;
    align-items: center;
}
.visual_wrap .swiper-slide .visual_text {
    opacity: 1;
}

.visual_wrap .swiper-slide .visual_text h2,
.visual_wrap .swiper-slide .visual_text p {
    opacity: 0;
    transform: translateY(52px);
    transition: none;
}

.visual_wrap .swiper-slide .visual_text.is-in h2 {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.45s ease-out, transform 1.45s ease-out;
    transition-delay: 0.35s;
}

.visual_wrap .swiper-slide .visual_text.is-in p {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.45s ease-out, transform 1.45s ease-out;
    transition-delay: 0.85s;
}

.visual_wrap .option_wrap {
    position: absolute;
    width: 300px;
    height: 30px;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    z-index: 99;
}

.visual_wrap .swiper-scrollbar {
    background: rgba(217, 217, 217, .5);
    bottom: 0 !important;
    width: 140px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.visual_wrap .swiper-scrollbar .swiper-scrollbar-drag {
    background: #fff;
    width: calc(50% - 20px);
}

.visual_wrap .swiper-pagination {
    position: relative;
    top: 5px;
}

.visual_wrap .swiper-pagination-fraction {
    color: #fff;
}

.visual_wrap .swiper-pagination-fraction span {
    position: absolute;

}

.visual_wrap .swiper-pagination-fraction .swiper-pagination-current {
    left: 50px;
}

.visual_wrap .swiper-pagination-fraction .swiper-pagination-total {
    right: 50px;
}

.visual_wrap .arrow_wrap svg{
    display:none;
}
.visual_wrap .swiper-button-next,
.visual_wrap .swiper-button-prev {
    width: 24px;
    height: 24px;
    color: #fff;
    bottom: 3px !important;
    top: auto !important;
}


@media(max-width:1024px) {
    .visual {
        max-width: 100%;
    }
    .visual_text{
        padding: 0 15px;
    }

    .visual_text h2 {
        font-size: 1.65rem;
        line-height: 1.3;
        word-break: keep-all;
    }

    .visual_text p {
        font-size: 1rem;
        line-height: 1.3;
        word-break: keep-all;
    }
}

/* common */
.next_area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 100%;
    border: 2px solid #262626;
    transition: right .5s;
}

.btn_wrap {
    margin-top: 72px;
    text-align: center
}

.btn_wrap a {
    padding: 18px 48px;
    border: 2px solid #262626;
    border-radius: 50px;
    display: inline-block
}
.btn_wrap a i{
    transition:all .3s ease-in-out;
}
.btn_wrap a:hover i{
    margin-left:20px;
}

.btn_wrap a span {
    font-size: 20px;
    line-height: 24px;
    margin-right: 10px;
}

/*  */
.sec00 {
    background: #f8f9f8;
}

.sec00 .bag_text {
    position: absolute;
    right: -820px;
    top: 800px;
    font-size: 190px;
    letter-spacing: 0;
    color: #b1b1b1;
    transform: rotate(-90deg);
    opacity: .1;
}

.sec00 .bag_text strong {
    color: #36C0FF;
}



/* 신세계치과 주요 진료과목 */
.sec01 .inner {
    padding: 140px 0;
}

.sec01 .treatment_wrap .treatment_lst {
    position: relative;
    padding: 66px 0;
    border-top: 1px solid #e3e3e3;
    background: transparent;
    cursor: pointer;
    transition: .5s;
}

.sec01 .treatment_wrap .treatment_lst:last-child {
    border-bottom: 1px solid #e3e3e3
}

.sec01 .treatment_wrap .treatment_lst .treat_cont {
    position: relative;
    max-width: 1440px;
    margin: auto;
    display: flex;
    align-items: center;
}

.sec01 .treatment_wrap .treatment_lst .treat_cont h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    width: 250px;
}

.sec01 .treatment_wrap .treatment_lst .treat_cont .over_img {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 350px;
    height:350px;
    left: 250px;
    transition: opacity 1s;
    z-index: 1;
}

.sec01 .treatment_wrap .treatment_lst .treat_cont p {
    font-size: 24px;
    line-height: 40px;
    color: #767676;
    margin-left: 63px;
    transition: margin-left .5s
}

.sec01 .treatment_wrap .treatment_lst .treat_cont a {
    position: absolute;
    margin-left: auto;
    right: 0;
    opacity: 0;
    top: -7px;
}

.sec01 .treatment_wrap .treatment_lst:hover {
    background: linear-gradient(to right, #36C0FF, #F0FAFF);
}

.sec01 .treatment_wrap .treatment_lst:hover h2 {
    color: #fff;
}

.sec01 .treatment_wrap .treatment_lst:hover .treat_cont a {
    opacity: 1;
    right: -20px;
}

.sec01 .treatment_wrap .treatment_lst:hover .treat_cont .over_img {
    opacity: 1;
    visibility: visible;
}

.sec01 .treatment_wrap .treatment_lst:hover .treat_cont p {
    margin-left: 23%;
}

/* 미디어 센터 */
.sec02 {
    background: #f8f9fb;
}

.sec02 .inner {
    padding: 140px 0;
}

.sec02 .media_wrap {
    padding-left: 240px;
}

.sec02 .media_wrap .media_lst .img_area {
    width:342px;
    height: 342px;
    border: 1px solid #ededed;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: auto 1/1;
}
.sec02 .media_wrap .media_lst .img_area img {
    transform:scale(1);
    transition:transform .3s ease-in-out
}
.sec02 .media_wrap .media_lst:hover .img_area img{
    transform:scale(1.1)
}

.sec02 .media_wrap .media_lst .text_area {
    margin-top: 24px;
}

.sec02 .media_wrap .media_lst .text_area h4 {
    font-size: 16px;
    line-height: 26px;
}

.sec02 .media_wrap .media_lst .text_area .data {
    font-size: 20px;
    line-height: 24px;
    color: #bdc5c9;
    margin-top: 16px;
}

/* 치료사례 */
.sec03 {
    background: #1E292F;
}

.sec03 .inner {
    text-align: center
}

.sec03 .title_wrap h2 {
    color: #fff;
}

.sec03 .title_wrap .info {
    color: #d2d2d2;
}

.sec03 .flex_box {
    gap: 46px
}

.sec03 .flex_box .example_lst {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.sec03 .flex_box .example_lst .img_area {
    --pos: 50%;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sec03 .flex_box .example_lst .img_area img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec03 .flex_box .example_lst .img_area .after_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 var(--pos));
    filter: blur(4px);
    transform: scale(1.02);
}

.sec03 .flex_box .example_lst .img_area .after_notice {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    clip-path: inset(0 0 0 var(--pos));
    background: linear-gradient(to left, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15));
    pointer-events: none;
}

.sec03 .flex_box .example_lst .img_area::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: rgba(255, 255, 255, .9);
    transform: translateX(-1px);
    pointer-events: none;
}

.sec03 .flex_box .example_lst .img_area .compare_handle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: var(--pos);
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    border: 2px solid #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    transform: translate(-50%, -50%);
    pointer-events: none;
    cursor: pointer;
}

.sec03 .flex_box .example_lst .img_area .compare_handle p {
    width: 24px;
    height: 24px;
}

.sec03 .flex_box .example_lst .img_area .compare_range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.sec03 .flex_box .example_lst .img_area .compare_range:focus-visible {
    outline: 2px solid #36C0FF;
    outline-offset: 4px;
}


.sec03 .flex_box .info_text {
    position: absolute;
    top: 20px;
    background: rgba(255, 255, 255, .3);
    padding: 3px 15px;
    border-radius: 20px;
}

.sec03 .flex_box .info_text p {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0;
    color: #fff;
}

.sec03 .flex_box .info_text.before {
    left: 20px;
}

.sec03 .flex_box .info_text.after {
    right: 20px;
}


.sec03 .btn_wrap a {
    border-color: #fff;
}
.sec03 .btn_wrap a span,
.sec03 .btn_wrap a i {
    color: #fff;
}

/* 둘러보기 */
.tour {
    position:relative;
}
.tour .title_wrap{
    position:absolute;
    margin-top:18px;
    margin-bottom:0;
    top:140px;
    left:240px;
    z-index: 3;
}
.tour .title_wrap h2{
    text-align:left;
    display:flex;
    align-items:center;
}
.tour .title_wrap h2 a{
    margin-left:10px;
    cursor:pointer;
    transition:margin-left .3s ease-in-out
}
.tour .title_wrap h2:hover a{
    margin-left:20px;
}
.tour .title_wrap p{
    text-align:left;
}
.tour .tour_img_wrap .swiper-wrapper{
    transform:translateX(100px);
    transition-timing-function:linear;
    margin-left:-150px;
    align-items:flex-end
}
.tour .tour_img_wrap .swiper-slide{
    width:400px !important;
    height:400px;
    transform:translateY(0);
    transition:height .7s ease, transform .7s ease;
}
.tour .tour_img_wrap .swiper-slide-next + .swiper-slide + .swiper-slide{
    height:630px;
    transform:translateY(0);
    transition:height, transform .5s ease-in-out;
} 



@media(max-width:1024px){
    /* common */    
    .btn_wrap{
        margin-top:40px;
    }
    .btn_wrap a{
        padding:10px 20px;
    }
    .btn_wrap a span{
        font-size:0.875rem;
    }

    .next_area {
        width:40px;
        height:40px;
    }
    
    /* visual */
    .visual{
        height:95vh;
    }
    .visual .visual_wrap,
    .visual_img {
        height:100%;
    }
    .visual_img img{
        height:100%;
        object-fit: cover;
    }

    /*  */
    .sec00 .inner{
        padding:0;
    }
    .sec00 .bag_text {
        font-size: 7rem;
        right: -480px;
        top: 480px;
    }


    /* 신세계치과 주요 진료과목 */
    .sec01 .inner {
        padding: 5rem 0
    }

    .sec01 .treatment_wrap .treatment_lst {
        padding: 1rem 20px;
    }


    .sec01 .treatment_wrap .treatment_lst .treat_cont h2 {
        width: 13%;
        font-size: 1.125rem;
        line-height:1.5
    }

    .sec01 .treatment_wrap .treatment_lst .treat_cont p {
        font-size: 1rem;
        margin-left: 1rem;
        line-height:1.5
    }

    .sec01 .treatment_wrap .treatment_lst .treat_cont .over_img {
        width: 120px;
        left: 7rem;
    }

    .sec01 .treatment_wrap .treatment_lst:hover .treat_cont p {
        margin-left: 13%
    }
    .sec01 .treatment_wrap .treatment_lst .treat_cont a{
        top:50%;
        transform:translateY(-50%);
    }
    .sec01 .treatment_wrap .treatment_lst:hover .treat_cont a{
        right:20px;
    }

    /* 미디어 센터 */
    .sec02 .inner {
        padding: 5rem 0;
    } 

    .sec02 .media_wrap {
        padding:0 15px;
    }
    .sec02 .media_wrap .media_lst .img_area{
        width:100%;
        height: auto;
    }
    .sec02 .media_wrap .media_lst .text_area{
        margin-top:16px;
    }
    .sec02 .media_wrap .media_lst .text_area h4{
        font-size:.875rem;
        line-height:1.3
    }
    .sec02 .media_wrap .media_lst .text_area .data{
        font-size:1rem;
        margin-top:8px;
    }

    /* 치료사례 */
    .sec03 .title_wrap .sec_sub_title{
        font-size:1rem;
        line-height:1.3;
        margin-top:16px;
    }

    .sec03 .flex_box{
        gap:24px;
    }
    .sec03 .flex_box .example_lst .img_area .after_notice{
        font-size:1rem
    }
    .sec03 .flex_box .info_text p{
        font-size:12px;
        font-weight:500
    }

    /* 신세계 둘러보기 */
    .tour .title_wrap{
        position:relative;
        top:0;
        left:0;
        padding:0 15px;
    }
    .tour .tour_img_wrap .swiper-slide{
        width:230px !important;
        height:230px;
    }
    .tour .tour_img_wrap .swiper-slide-next + .swiper-slide + .swiper-slide {
        height:300px;
    }

}

@media(max-width:780px){
    /* command */
    /*  */
    .sec00 .inner{
        padding:0 15px;
    }
    .sec00 .bag_text{
        font-size: 5rem;
        right: -350px;
        top: 390px;
    }
    
    /* 진료과목 */
    .sec01 .treatment_wrap .treatment_lst .treat_cont {
        max-width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .sec01 .treatment_wrap .treatment_lst .treat_cont h2{
        font-size:1rem;
        width:auto;
    }
    .sec01 .treatment_wrap .treatment_lst .treat_cont p{
        font-size:.875rem;
        margin-left:0;
        width: calc(100% - 50px);
        word-break: keep-all;
    }
    .sec01 .treatment_wrap .treatment_lst:hover .treat_cont p{
        margin-left:0;
    }
    .sec01 .treatment_wrap .treatment_lst .treat_cont .over_img{
        display:none;
    }
    .sec01 .treatment_wrap .treatment_lst .treat_cont a{
        opacity: 1;
        transition:none
    }
    .sec01 .treatment_wrap .treatment_lst:hover .treat_cont a{
        right:0;
    }

    /* 치료사례 */
    .sec03 .flex_box{
        flex-direction: column;
    }

    /* 둘러보기 */
    .tour .title_wrap{
        position:relative;
        text-align:left;
    }
    .tour .tour_img_wrap{
        padding:0 15px;
        margin-top:40px;
    }
    .tour .tour_img_wrap .swiper-wrapper{
        margin-left:0;
    }
    .tour .tour_img_wrap .swiper-slide{
        width:100% !important;
        height:40vh;
    }
    .tour .tour_img_wrap .swiper-slide-next + .swiper-slide + .swiper-slide{
        height:40vh;
    }
}

/*메인 팝업 ---------------------------------------------------------------------- */

#popupArea {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    margin: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 40px 20px;
    overflow-y: auto;
  }
  
  #popupArea.is-visible {
    display: flex;
  }
  
  #popupArea .item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: min(420px, 92vw);
    flex: 0 0 auto;
  }
  
  #popupArea.size-l .item { width: min(550px, 92vw); }
  #popupArea.size-m .item { width: min(550px, 44vw); }
  #popupArea.size-s .item { width: min(350px, 30vw); }
  
  #popupArea .item .popup-image {
    display: block;
    text-decoration: none;
    line-height: 0;
  }
  
  #popupArea .item .popup-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  #popupArea .item .button_group {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    background: #1a1a1a;
  }
  
  #popupArea .item .button_group button {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-family: 'Pretendard-Medium', 'Noto Sans', sans-serif;
    cursor: pointer;
    line-height: 1.4;
  }
  
  #popupArea .item .button_group button + button {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  #popupArea .item .button_group button:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  @media (max-width: 768px) {
    #popupArea {
      padding: 0;
      gap: 0;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
  
    #popupArea .item,
    #popupArea.size-l .item,
    #popupArea.size-m .item,
    #popupArea.size-s .item {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 86vw;
      max-width: 400px;
      transform: translate(-50%, -50%);
    }
  
    #popupArea .item .button_group button {
      flex: 1 1 auto;
      padding: 12px 14px;
      font-size: 12px;
      text-align: center;
    }
  }