@charset "utf-8";
/* ======================================================================================================================= */
/* ======================================================= main style ==================================================== */
/* ======================================================================================================================= */

/* 상단 고정 헤더 높이만큼 앵커(탭) 이동 시 여백 확보 - 헤더에 섹션 상단이 가리지 않도록 */
html {
    scroll-padding-top: 100px;
}
@media screen and (max-width: 1200px) {
    html {
        scroll-padding-top: 60px;
    }
}

main {
    position: relative;
}
#wrapper {
    /* overflow: hidden; */
}

.content-slide{
    background-color: #000;
}

/* main-slide-section */
.main-slide-section {
    background-color: #e7dcca;
}

.main-slide {
    
    max-width: 1920px;
    margin: 0 auto;
}

.main-slide .swiper-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
}
.main-slide .swiper-slide .img {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    transition: transform 0.8s ease-in-out;
}

.main-slide .swiper-pagination {
    left: 0;
    bottom: 40px !important;
    top: auto !important;
    width: 100%;
}
.main-slide .swiper-pagination-bullet {
    position: relative;
    margin: 0 4px;
    width: 14px;
    height: 14px;
    background: #f4f2eb;
    opacity: 0.8;
    transition: all 0.4s ease-in-out;
}
.main-slide .swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    border: 1px solid #a38d77;
    border-radius: 999px;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.main-slide .swiper-pagination-bullet-active {
    background: #a38d77;
    opacity: 1;
}
.main-slide .swiper-pagination-bullet-active::after {
    opacity: 1;
}


.main-tit {
    margin-bottom: 40px;
    text-align: center;
}
.main-tit .sub-tit {
    font-weight: 600;
    white-space: pre-line;
}
.main-tit .tit {
    font-weight: 900;
    transform: skew(-0.1deg);
    white-space: pre-line;
}
.main-tit .sub {
    margin-top: 30px;
    white-space: pre-line;
}


/* ===================== Mobile size : 425px ======================= */

@media screen and (max-width: 480px) {
    main {
        margin-top: 55px;
    }

    .main-tit {
        margin-bottom: 20px;
    }
}

/* ===================== Mobile size : 425px ======================= */

@media screen and (max-width: 480px) and (min-height: 720px) {
    
}

@media screen and (max-width: 480px) and (min-height: 850px) {
    .main-slide .swiper-slide {
        height: calc(var(--vh, 1vh) * 100 - 285px);
    }
}

/* ======================================================================================================================= */
/* ======================================================= main style ==================================================== */
/* ======================================================================================================================= */

/* main-video-section */
.main-video-section {
    overflow: hidden;
    max-height: 863px;
    background: #78614e; /* 구형 브라우저 대체용 */
    background: linear-gradient(to bottom, #aa9889, #594535);
}

.m-main-video-section {
    background-color: #000;
    display: none;
}

.video-section-inner{
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video-section .main-pic-box {
    display: flex;
    width: 714px;
    position: relative;
}
.main-video-section .main-pic-box:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(to top, #000000c2, #00000000);
}

.main-video-section .main-pic-box .logo-deco{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
    z-index: 2;
}
.main-video-section .main-pic-box .logo-deco a {
    display: block;
    transition: all 0.5s;
}
.main-video-section .main-pic-box .logo-deco.on a {
    transform: translateY(-5px);
    filter: drop-shadow(-2px -1px 11px rgba(255, 255, 255, 0.75));
}
.main-video-section .main-pic-box .logo-deco2 {
    position: absolute;
    left: 50%;
    bottom: -20px;
    z-index: 1;
    transform: translateX(-50%) scaleY(-1);
    transform-origin: bottom center;
    opacity: 0.4; 
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 80%);
    transition: all 0.5s;
}
.main-video-section .main-pic-box .logo-deco2.on {
    bottom: -25px;
    filter: drop-shadow(-2px -1px 11px rgba(255, 255, 255, 0.75));
}

.main-video-section .main-pic-box .pic-block {
    width: 33.333%;
    height: 600px;
    background-color: #333;
}

.main-video-section .main-pic-box .pic-block.img01{
    background: url(../img/main/pic-block-img_01.jpg)  center/cover no-repeat;
}
.main-video-section .main-pic-box .pic-block.img02{
    background: url(../img/main/pic-block-img_02.jpg)  center/cover no-repeat;
}
.main-video-section .main-pic-box .pic-block.img03{
    background: url(../img/main/pic-block-img_03.jpg)  center/cover no-repeat;
}
.main-video-section .main-pic-box .pic-block.img04{
    background: url(../img/main/pic-block-img_04.jpg)  center/cover no-repeat;
}
.main-video-section .main-pic-box .pic-block.img05{
    background: url(../img/main/pic-block-img_05.jpg)  center/cover no-repeat;
}
.main-video-section .main-pic-box .pic-block.img06{
    background: url(../img/main/pic-block-img_06.jpg)  center/cover no-repeat;
}

.main-video-section .main-pic-box:nth-child(1){    
}
.main-video-section .main-video:nth-child(2){
    width: 487px;
    background-color: #222222;
    height: 100%;
    overflow: hidden;
}
.main-video-section .main-pic-box:nth-child(3){
}

@media(max-width:1330px) {
    .main-video-section .main-video:nth-child(2){
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: 35vw;
        transform: translate(-50%, -50%);
        background-color: unset;
        z-index: 2;
        box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.35);
    }
    .main-video-section .main-pic-box {
        width: 50%;
    }
}

@media(max-width:1000px) {
    .main-video-section .main-pic-box .pic-block{
        height: 400px;
    }
}
@media(max-width:769px) {
    .m-main-video-section {
        display: block;
    }
    .main-video-section .main-pic-box .pic-block{
        height: 70vw;
    }
    .main-video-section .main-video:nth-child(2){
        display: none;
    }
}

/* banner-section */
.banner-secttion {
    position: relative;
    background: url(../img/main/banner-secttion-bg.webp) bottom/cover no-repeat;
}

@media (max-width:769px) {
    .banner-secttion {
        background: url(../img/main/m_banner-secttion-bg.webp) bottom/cover no-repeat;
    }
}

/* anyfilm-main-section-common */
.anyfilm-main-section {
    padding: 200px 0;
}

.anyfilm-main-section .inner{
    overflow: hidden;
}
.anyfilm-main-img-box{
    margin: 10px;
    overflow: hidden;
    border-radius: 120px 0 120px 0;
}
.anyfilm-main-img-box img{
    width: 100%;
}

.anyfilm-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: stretch;
}

p.anyfilm-sub-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 1rem;
    opacity: 0.7;
    font-weight: 700;
    font-style: italic;
}

@media(max-width:1000px) {
    .anyfilm-main-section{
        padding: 120px 0;
    }
}
@media(max-width:769px) {
    p.anyfilm-sub-title {
        font-size: 14px;
        letter-spacing: 0.8rem;
    }
    .anyfilm-main-img-box{
        margin: 50px 40px;
        border-radius: 80px 0 80px 0;
    }
}
@media (max-width: 469px) {
    p.anyfilm-sub-title {
        font-size: 10px;
        letter-spacing: 0.4rem;
    }
    .anyfilm-main-img-box{
        margin: 30px 20px;
        border-radius: 40px 0 40px 0;
    }
}

/* anyfilm-main-01 */
.anyfilm-main-01{
    background: url(../img/main/anyfilm-main-01-bg.webp) bottom/cover no-repeat;
    background-attachment: fixed;
}

/* anyfilm-main-02 */
.anyfilm-main-02{
    background: #faf8f6;
}

.anyfilm-main-02 h2{
    font-size: 35px;
}

/* anyfilm-main-03 */
.anyfilm-main-03{
    color: #fff;
    background: #a38d77;
}
.anyfilm-main-03 .anyfilm-box{
    margin-left: 80px;
}

@media(max-width:769px) {
    .anyfilm-main-02 h2{
        font-size: inherit;
    }
    .anyfilm-main-03 .anyfilm-box{
        margin-left: 0px;
    }
    .anyfilm-main-03 .flex {
        flex-direction: column-reverse;
    }
}


/* Made for You */
.mfy-section{
    padding: 120px 0;
    background: url(../img/main/made-foy-you-section-bg.webp) bottom/cover no-repeat;
}
@media(max-width:769px) {
    .mfy-section{
        padding: 120px 0;
        background: url(../img/main/made-foy-you-section-bg.webp) right/cover no-repeat;
    }
}

.mfy-section-box1{
    overflow: hidden;
    border-radius: 30px;
    margin: 10px;
}

.mfy-section-box2{
    overflow: hidden;
    border-radius: 30px;
    margin: 10px;
    height: stretch;
    background-color: #fff;
    color: #000;
    text-align: center;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.mfy-section-box2 strong {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    background-color: #a38d77;
    padding: 0 30px;
    min-width: 250px;
    border-radius: 999px;
}
.mfy-section-box2 p {
    font-weight: 500;
}

.move_text_box .text { display: flex; flex: 0 0 auto; white-space: nowrap; overflow: hidden; transition: 0.3s;  color: #8b7563; opacity: 0.2;}
.move_text_box .text p { letter-spacing: 0;animation: textLoop 20s linear infinite; padding-right: 7.3rem; line-height: 1.4; font-weight: 700; font-size: 8rem;font-family: "NanumSquare", sans-serif;}
.move_text_box .text p img { display: block; height: 12rem; width: auto; max-width: none; }

@keyframes textLoop {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	100% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}

@media(max-width:769px) {
    .mfy-section-box2 strong {
        font-size: 18px;
        border-radius: 15px;
    }
    .mfy-section-box1, .mfy-section-box2{
        border-radius: 15px;
        padding: 10px;
    }
}

/* Film Your Smile */
.fys-section{
    padding: 120px 0;
    background: url(../img/main/fys-section-bg.webp) bottom/cover no-repeat;
}

.fys-section-box{
    margin: 10px;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 94px;
    padding: 10px 30px;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.05);
}
.fys-section-box p{
    font-size: 24px;
    font-weight: 500;
}
.fys-section-box strong{
    color: #a38d77;
    font-size: 35px;
    font-weight: 700;
    font-style: italic;
}

@media(max-width:769px) {
    .fys-section-box{
        border-radius: 15px;
        height: auto;
        padding: 10px 20px;
        gap: 20px;
    }
    .fys-section-box strong{
        font-size: 24px;
    }
    .fys-section-box p{
        font-size: 18px;
    }
}

@media(max-width:425px) {
    .fys-section-box{
    }
    .fys-section-box strong{
        font-size: 20px;
    }
    .fys-section-box p{
        font-size: 16px;
    }
}

/* Digital Guided Veneer */
.dgv-section{
    padding: 120px 0;
    background: url(../img/main/dgv-section-bg.webp) bottom/cover no-repeat;
}
@media(max-width:769px) {
    .dgv-section{
        background: url(../img/main/m_dgv-section-bg.webp) bottom/cover no-repeat;
    }
}
/* doctor-info */
.doctor-info {
    padding: 120px 0;
    background: url(../img/main/doctor-info-bg.webp) bottom/cover no-repeat;
}

.doctor-info p.anyfilm-sub-title {
    color: #333333;
    opacity: 0.3;
}

.doctor-info .info-box{
    height: stretch;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.doctor-info .info-box strong *{
    display: inline-block;
}
.doctor-info .info-box strong span{
    font-size: 24px;
    margin-left: 10px;
}

.info-detail{
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #000000;
}

.info-detail .disc-list {
    list-style-type: disc;
    margin-left: 20px;
}
.info-detail .disc-list li {
    line-height: 1.8;
}

@media(max-width:769px) {
    .doctor-info .info-box strong span{
        font-size: 14px;
        margin-left: 8px;
    }
    .doctor-info {
        background: url(../img/main/doctor-info-bg.webp) right/cover no-repeat;
    }
    .info-detail .disc-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media(max-width:425px) {
    .info-detail .disc-list li {
        font-size: 14px;
    }
}

/* tp-section */
.tp-section {
    padding: 150px 0;
    background-color: #f4f2eb;
}

.tp-box-con{
    display: flex;
    flex-wrap: wrap;
}

.tp-box-con .tp-box {
    height: 325px;
    margin: 10px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s;
}
.tp-box-con .tp-box:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background-color: #ffffff00;
    background: linear-gradient(to top, #a38d77, #a38d7700);
}
.tp-box-con .tp-box .tq-box-sub {
    white-space: nowrap;
    position: absolute;
    color: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
    bottom: 30px;
    left: 20px;
    gap: 15px;
    line-height: 1.4;
    transform: translateY(20px);
    z-index: 2;
}

.tp-box-con .tp-box .tq-box-sub p:nth-child(1) {
    font-size: 40px;
    opacity: 0.3;
    font-style: italic;
}
.tp-box-con .tp-box .tq-box-sub strong:nth-child(2) {
    font-weight: 700;
    font-size: 20px;
}
.tp-box-con .tp-box .tq-box-sub p:nth-child(3) {
    transition: all 0.3s;
    font-size: 16px;
    opacity: 0;
}

.tp-box-con li{
    width: 16.666%;
    transition: all 0.5s;
}
.tp-box-con li.on{
    width: 33%;
}
.tp-box-con li.on .tq-box-sub{
    transform: translateY(0);
}
.tp-box-con li.on .tq-box-sub p:nth-child(3){
    opacity: 1;
}

.tp-box-con li:nth-child(1) .tp-box {
    background: url(../img/main/tp-box_01.jpg) center/cover no-repeat;
}
.tp-box-con li:nth-child(2) .tp-box {
    background: url(../img/main/tp-box_02.jpg) center/cover no-repeat;
}
.tp-box-con li:nth-child(3) .tp-box {
    background: url(../img/main/tp-box_03.jpg) center/cover no-repeat;
}
.tp-box-con li:nth-child(4) .tp-box {
    background: url(../img/main/tp-box_04.jpg) center/cover no-repeat;
}
.tp-box-con li:nth-child(5) .tp-box {
    background: url(../img/main/tp-box_05.jpg) center/cover no-repeat;
}

@media (max-width:1100px) {
    .tp-box-con .tp-box {
        border-radius: 15px;
    }
    .tp-box-con li.on .tp-box {
        box-shadow: 5px 5px 24px 0px rgba(0, 0, 0, 0.25);
        transform: translateY(-10px);
    }
    .tp-box-con li{
        width: 33.333%;
    }
    .tp-box-con li.on{
        width: 33.333%;
    }
    .tp-box-con .tp-box .tq-box-sub {
        top: 115px;
        bottom: auto;
        left: 10px;
        line-height: 1.4;
    }
}

@media (max-width:769px) {
    .tp-box-con .tp-box {
        border-radius: 15px;
    }
    .tp-box-con li.on .tp-box {
        box-shadow: 5px 5px 24px 0px rgba(0, 0, 0, 0);
        transform: translateY(0px);
    }
    .tp-box-con li{
        width: 100%;
    }
    .tp-box-con li.on{
        width: 100%;
    }
    .tp-box-con .tp-box .tq-box-sub p:nth-child(3) {
        opacity: 1;
    }
    .tp-box-con .tp-box .tq-box-sub {
        top: 90px;
        bottom: auto;
        left: 10px;
        line-height: 1.5;
        transform: translateY(0px);
    }
}

    /* ba-section */
    .ba-section{
      color: #fff;
       padding: 180px 0;
       background: url(../img/main/ba-section-bg.jpg) bottom/cover no-repeat;
    }

   .ba-section .case-box {
        margin: 40px 50px;
        text-align: center;
    }

    .case-box h4 {
      font-weight: 700;
    }

    .case-box img{
      pointer-events: none;
    }

    /* 컨테이너: 이미지 비율에 맞춰 크기 설정 */
    .compare-container {
        position: relative;
        width: 100%;
        margin: 0 auto;
        user-select: none; /* 드래그 시 텍스트 선택 방지 */
        cursor: grab;
        margin-top:20px;
    }
    .compare-container:after {
        content: '';
        position: absolute;
        display: block;
        background-color: #e7dcca;
        left: 0;
        right: 0;
        bottom: -5px;
        height: 5px;
        z-index: 2;
    }

    /* 이미지 레이어 공통 */
    .img-layer {
        box-shadow: 10px 10px 15px 0px rgba(0,0,0,0.23);
        border-radius: 10px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden; /* 핵심: 이미지가 잘리도록 설정 */
    }

    /* 이미지가 찌그러지지 않도록 설정 */
    .img-layer img {
        display: block;
        width: 100%; 
        height: auto;
        max-width: none; 
    }

    /* Before 레이어 (초기값 50%) */
    .img-before {
        width: 50%; /* JS로 제어될 값 */
        z-index: 2;
        position: absolute;
        border-right: 1px solid white;
    }

    .img-before img{
        position: absolute;
        right: 0;
        left: 0;
    }

    /* After 레이어 (배경 역할) */
    .img-after {
        position: relative; /* 높이를 잡기 위해 relative */
        width: 100%;
        z-index: 1;
    }

    /* 핸들 스타일 */
    .handle {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%; /* JS로 제어될 값 */
        width: 4px;
        z-index: 3;
        background-color: #dcdcdc;
        transform: translateX(-50%); /* 중앙 정렬 보정 */
        pointer-events: none; /* 핸들이 마우스 이벤트를 가로채지 않도록 설정 (부드러운 조작) */
    }

    /* 핸들 중앙 아이콘 꾸미기 */
    .handle-circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        background: #808080;
        border: 5px solid #dcdcdc;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        line-height: 36px; /* 이미지 수직 중앙 정렬 보정 */
        font-weight: bold;
        box-shadow: 0 0 5px rgba(0,0,0,0.3);

        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .handle-circle img {
        vertical-align: middle;
    }

    /* 라벨 텍스트 (전/후) */
    .label {
        position: absolute;
        bottom: 10px;
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        /* background: rgba(0,0,0,0.3);  */
        border-radius: 4px;
    }
    .img-before .label { left: 10px;     z-index: 3;}
    .img-after .label { right: 10px;     z-index: 3;}

    /* 의료법상 시술 전후 사진(AFTER)은 로그인 전에는 가려서 보여줍니다 */
    /* AFTER 레이어는 컨테이너 전체 너비(100%)이지만 BEFORE 레이어가 그 위에서 왼쪽 절반을 덮으므로,
       로그인 안내 문구는 실제로 보이는 오른쪽(후) 영역인 50%~100% 구간에만 배치하여
       가운데 정렬 시 문구가 잘리지 않도록 고정합니다. */
    /* ba-login-cover: 블러 배경 전체 (클릭/드래그를 가로채지 않는 순수 배경) */
    .laminate-case-section .img-after .ba-login-cover {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 50%;
        width: 50%;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.25);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(20px);
    }
    /* ba-login-link: 자물쇠 아이콘 + 문구만 감싸는 실제 클릭 영역 (로그인 페이지로 이동) */
    .laminate-case-section .img-after .ba-login-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }
    .laminate-case-section .img-after .ba-login-link img {
        width: auto;
        max-width: 36px;
        flex-shrink: 0;
        height: auto;
    }
    .laminate-case-section .img-after .ba-login-link p {
        letter-spacing: 0;
        margin: 0;
        padding: 0 10px;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        white-space: nowrap;
    }

    @media(max-width: 769px) {
        .label {
            font-size: 18px;
        }
        .laminate-case-section .img-after .ba-login-cover {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(15px);
        }
        .laminate-case-section .img-after .ba-login-link {
            gap: 8px;
        }
        .laminate-case-section .img-after .ba-login-link img {
            max-width: 26px;
        }
        .laminate-case-section .img-after .ba-login-link p {
            font-size: 11px;
        }
    }

    @media(max-width:469px) {
        .label {
            font-size: 14px;
        }
    }

    .case-sub{
        text-align: center;
        margin-top:40px;
        opacity: 0.1;

        transition: all 1s;
    }

    .case-sub.active{
        opacity: 1;
    }

    /* 1400px */
    @media(max-width: 1400px){
        .ba-section{
            padding: 80px 0;
        }
    }

    /* 1200 */
    @media(max-width: 1200px){
        .ba-section .case-box{
            margin: 20px;
        }
        .case-sub{
            font-size: 12px !important;
        }
        .compare-container{
            margin-top: 20px;
        }
    }

    /* 769 */
    @media(max-width: 769px){
       .ba-section .case-box {
          margin: 40px;
       }
        .sub-list p{
            font-size: 14px;
        }
    }

    /* 페이지네이션이 들어갈 하단 공간 확보 */
.laminate-swiper-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 50px; /* 상하 20px, 좌우 50px 여백 (화살표 공간) */
    position: relative;
}

    /* 고유 클래스 스타일링 */
.laminate-swiper-container {
    width: 100%;
    /* max-width: 1600px; */
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0;
}

.laminate-swiper-container .swiper-wrapper {
    cursor: grab;
    list-style: none;
    margin: 0;
    padding: 0;
}

.laminate-swiper-container .swiper-slide {
    height: auto;
}

/* 화살표 기본 크기 및 하얀색 설정 */
.laminate-swiper-container {
    --swiper-navigation-color: #ffffff; /* 하얀색 화살표 */
    --swiper-navigation-size: 30px;     /* 화살표 크기 (원하는 대로 조절 가능) */
}

/* 좌우 화살표 위치 세부 조정 */
.laminate-button-prev {
    left: 15px !important;
}

.laminate-button-next {
    right: 15px !important;
}

/* 진료과목 */
/* 원 안에 아이콘 없는 박스 */
.anyfilm-department-section .circle-box {color: #fff;}
.anyfilm-department-section .circle-box img {
    display: inline-block;
}
.anyfilm-department-section .circle-box > div > div {border-radius: 50%; background-color: #8b7563;}
.anyfilm-department-section .circle-box > div > div::after {content: ''; display: block; padding-bottom: 100%;}
.anyfilm-department-section .circle-box p {position: absolute; width: 100%; height: auto; bottom: 50%; transform: translate(0, 50%); text-align: center; white-space: pre-line; line-height: 1.4;}
.anyfilm-department-section .circle-box h5 {position: absolute; white-space: pre-line; text-align: center; bottom: 50%; transform:translateY(50%); display: inline-block; width: 100%;	}

@media(max-width:469px) {
    .anyfilm-department-section img {
        max-width: 70px;
    }
}
/* info-equipment */
.info-equipment {
    color: #fff;
    background-color: #333333;
}
.info-equipment .info-equipment-sub{
    display: flex;
    flex-direction: column;
    width: 620px;
}
.info-equipment .info-equipment-sub{
    display: flex;
    flex-direction: column;
    height: 700px;
}
.info-equipment .info-equipment-sub #eq-title{
    display: inline-block;
    height: 140px;
}
.info-equipment .info-equipment-sub #eq-title h3 {
    font-size: 32px;
}
.info-equipment .info-equipment-sub #eq-desc{
    display: inline-block;
    height: 120px;
}
.info-equipment .info-equipment-sub .section-logo{
    margin-top: 190px;
}
.info-equipment .info-equipment-con{
    display: flex;
    width: 100%;
}
.info-equipment .info-equipment-con > div:nth-child(1) {
    width: 40%;
    display: flex;
    justify-content: end;
}
.info-equipment .info-equipment-con > div:nth-child(2) {
    width: 60%;
    overflow: hidden;
}
.info-equipment .equipment-swiper-area .swiper-slide {
    padding-bottom: 90px;
    cursor: grab;
}
.equipmentSwiper .swiper-scrollbar {
    background-color: #ffffff60;
    height: 2px !important;
}

.equipmentSwiper .swiper-scrollbar-drag {
    background-color: #e7dcca;
    cursor: grab;
}

.equipmentSwiper .swiper-scrollbar-drag:active {
    cursor: grabbing;
}

@media(max-width:1400px) {
    .info-equipment .info-equipment-sub #eq-title h3 {
        font-size: 28px;
    }
    .info-equipment .info-equipment-sub{
        height: 500px;
    }
    .info-equipment .info-equipment-sub .section-logo {
        margin-top: 40px;
    }
}
@media(max-width:900px) {
    .info-equipment .info-equipment-sub .section-logo {
        margin-top: 40px;
        max-width: 200px;
    }
}

@media(max-width:769px) {
    .info-equipment .info-equipment-sub #eq-title h3 {
        font-size: inherit;
    }
    .info-equipment-con {
        flex-direction: column;
    }
    .info-equipment .info-equipment-con > div:nth-child(1) {
        width: 100%;
    }
    .info-equipment .info-equipment-con > div:nth-child(2) {
        width: 100%;
    }
    .info-equipment .info-equipment-sub #eq-title {
        height: 80px;
    }
    .info-equipment .info-equipment-sub #eq-desc {
        height: 80px;
    }
    .info-equipment .info-equipment-sub .section-logo{
        margin-top: 20px;
    }
    .info-equipment .info-equipment-sub{
        height: auto;
        padding-bottom: 20px;
    }
    .info-equipment .equipment-swiper-area .swiper-slide {
        padding-bottom: 30px;
    }
}

@media(max-width:429px) {
    .info-equipment .info-equipment-sub .section-logo{
        max-width: 80px;
    }
}

/* brand-video-section */
.brand-video-section {
    background-color: #f1f1ef;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* info-interior */
.info-interior {
    background-color: #f1f1ef;
  overflow: hidden;
}
/* ===== 상단 라벨 pagination ===== */
.info-interior .top-pagination {
  position: relative;
  margin: 24px auto 22px auto;
  /* overflow: auto; */
  top: -20px;
  /* 스크롤 힌트 감추기용 */
  scrollbar-width: none;
}

.info-interior .top-pagination .swiper-pagination {
    display: flex;
    align-items: center;
    /* gap: 28px; */
    min-width: max-content;
    /* margin: 0 auto; */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    padding: 0 6px;
    justify-content: space-between;
}

/* 연결선 */
.info-interior .top-pagination .swiper-pagination::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 2px;
  background: #9f9f9f;
  z-index: 0;
}

/* 각 라벨(불릿) */
.info-interior .top-pagination .swiper-pagination-bullet {
  position: relative;
  z-index: 1;
  opacity: 1;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  justify-content: center;

    background-color: #9f9f9f;
}
.top-pagination .swiper-pagination-bullet .label {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  color: #7a7a7a;
  transition: color 0.25s ease;
}
.info-interior .top-pagination .swiper-pagination-bullet .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9f9f9f;
  box-shadow: 0 0 0 6px #fff inset; /* 라인 위에 살짝 떠 보이게 */
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
/* 활성 라벨 */
.info-interior .top-pagination .swiper-pagination-bullet-active .label {
  color: #a38d77;
}
.info-interior .top-pagination .swiper-pagination-bullet-active .dot {
  background: #a38d77;
  transform: scale(1.1);
}

/* ===== 메인 슬라이더 ===== */
.info-interior .gallery {
  position: relative;
}
.info-interior .swiper {
  width: 100%;
  border-radius: 24px;
  overflow: visible;
  /* background: #ddd; */
  cursor: grab;
}
.info-interior .swiper-slide {
  /* min-height: 240px; */
  border-radius: 30px;
  overflow: hidden;
}
.info-interior .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 네비 버튼 */
.info-interior .swiper-button-prev,
.info-interior .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.info-interior .swiper-button-prev::after,
.info-interior .swiper-button-next::after {
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
.info-interior .swiper-button-prev {
  left: 18px;
}
.info-interior .swiper-button-next {
  right: 18px;
}
.info-interior .swiper-button-disabled {
  opacity: 0.35;
}
.info-interior
    .top-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #a38d77;
  }

@media (max-width: 1024px) {
  .info-interior .swiper-slide {
    max-height: 620px;
    border-radius: 28px;
  }
  .info-interior .top-pagination {
    overflow: visible;
  }
  .info-interior .top-pagination .swiper-pagination-bullet .label {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .info-interior .top-pagination .swiper-pagination {
    gap: 38px;
  }
  .info-interior .top-pagination .swiper-pagination::before {
    top: 7px;
  }
  .info-interior .top-pagination .swiper-pagination-bullet {
    height: 16px;
    width: 16px;
  }
  .info-interior .swiper-button-prev,
  .info-interior .swiper-button-next {
    width: 48px;
    height: 48px;
  }
  .info-interior .swiper-slide {
    border-radius: 15px;
  }
}

/* 모바일 커스텀 */
.info-interior-name_m{
  display: none;
  text-align: center;
}
.info-interior-name_m h3{
  font-size: 20px;
  font-weight: 700;
  display: inline-block;
  position: relative;
}
.info-interior-name_m h3::after{
  content: '';
  position: absolute;
  transform: translateY(50%);
  top: 25%;
  right: -20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #a38d77;
}
.info-interior-name_m h3::before{
  content: '';
  position: absolute;
  transform: translateY(50%);
  top: 25%;
  left: -20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #a38d77;
}

@media(max-width:769px) {
  .info-interior-name_m{
    display: block;
  }
  .top-pagination .swiper-pagination-bullet .label{
    display: none;
  }
  .info-interior .top-pagination{
    top: 0;

    display: none;
  }

  .info-interior .title {
    margin-bottom: 20px !important;
  }
}

/* info-map */

/* 카카오맵 설명 숨김 */
.root_daum_roughmap .cont .section_address {
  display: none;
}

.info-map {
    overflow: hidden;
  padding: 150px 0;
  color: #fff;
  background-color: #70444b;
  background: url(../img/main/info-map-bg.webp) bottom/cover no-repeat;
}
.info-map h4.info-map-title-con {
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.info-map p {
  font-size: 18px;
}

.info-map h4.info-map-title-con > span:first-child {
  flex-shrink: 0;
}
.info-map h4.info-map-title-con img {
  height: 35px;
  width: 35px;
  flex-shrink: 0;
}
.info-map .info-map-sub {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: 600;
    gap: 4px;
}
.info-map h5.info-map-sub {
  font-weight: 500;
  margin: 0.2em 0;
}
.info-map-tel{
  font-size: 35px !important;
}

/* --- 진료시간 자간 및 양쪽 정렬 수정 영역 --- */
.info-map-sub .info-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 420px;
}
.info-map-sub .info-time.night {
    position: relative;
    color: #8b7663;
    z-index: 2;
}
.info-map-sub .info-time.night::after {
    content: '';
    position: absolute;
    background-color: #e7dcca;
    border-radius: 4px;
    top: -2px;
    left: -8px;
    right: -8px;
    bottom: -2px;
    z-index: -1;
}
/* 첫 번째 li (요일/제목) 영역 자간 균등 배분 */
.info-map-sub .info-time li:nth-child(1) {
    width: 150px;                   /* 폰트 크기(24px) 대비 적절한 너비로 조정 */
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-character;  /* ★ 한글 글자 단위 자간 균등 배분 핵심 속성 */
    flex-shrink: 0;                 /* 너비 줄어듦 방지 */
    white-space: nowrap;
}
/* ------------------------------------------- */

/* 카카오 지도 박스 높이 등 레이아웃 보정 */
.info-map .root_daum_roughmap {
  width: 100% !important;
  overflow: hidden;
}

/* 오시는 길 카테고리 카드 */
.info-map-category .info-map-category-box {
  text-align: center;
  background-color: #fff;
  color: #000;
  box-shadow: 9px 10px 21px -3px #1a6db617;
  border-radius: 30px;
  padding: 20px;
}
.info-map-category .info-map-category-box h4 {
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}
.info-map-category .info-map-category-box > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  height: 150px;
}
.info-map-category .info-map-category-box > div:first-child {
  border-bottom: 1px solid #00000010;
}

.info-map-btn{
    margin: 10px;
}
.info-map-btn a {
    background-color: #e7dcca;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.info-map-btn a strong {
    width: 130px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    color: #8b7563;
    display: inline-block;
}
.info-map-btn a .search-box{
    width: 300px;
    padding: 10px 15px;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 15px;
}
.info-map-btn a > div:first-child {
    flex-shrink: 0;
    max-width: 40px;
}
.info-map-btn a .search-box > span {
    display: flex;
    justify-content: center;
    align-items: center;
}
.info-map-btn a .search-box > span:last-child{
    font-size: 24px;
    width: 80%;
    text-align: center;
}

/* 미디어 쿼리 (반응형) */
@media(max-width:1200px) {
  .info-map .info-map-sub {
    font-size: 20px;
  }
  .info-map-btn a {
    border-radius: 8px;
    font-size: 18px;
    padding: 8px;
  }
  .info-map .inner {
    padding: 0 30px;
  }
  .info-map-btn a strong{
    width: 80px;
    font-size: 18px;
  }
  .info-map-btn a .search-box{
    width: 250px;
    white-space: nowrap;
    border-radius: 8px;
  }
  .info-map-btn a .search-box > span:last-child{
    font-size: 18px;
  }
  .info-map-sub .info-time{
    justify-content: start;
    gap: 40px;
    width: fit-content;
  }
}

@media(max-width:769px) {
    .info-map .inner{
        padding: 0 10px;
    }
  .info-map h4.info-map-title-con{
    font-size: 16px;
  }
  .info-map {
    padding-bottom: 80px;
  }
  .info-map-btn {
    max-width: 100%;
  }
  .info-map-btn a {
    justify-content: start;
    font-size: 18px;
    padding: 8px 24px;
  }
  .info-map-btn a .search-box{
    width: 100%;
  }
  .info-map .info-map-sub {
    font-size: 18px;
  }
  .info-map-sub .info-time {
    gap: 20px;
  }
  
  /* 모바일 화면에서 요일 항목 너비 자동 조정 */
  .info-map-sub .info-time li:nth-child(1) {
    width: 95px;
  }

  .info-map-category .info-map-category-box{
    border-radius: 15px;
  }

  .info-map-category .info-map-category-box .info-map-category-box-con > div {
    max-height: 170px;
    height: auto;
  }
  .info-map-category .info-map-category-box p {
    font-size: 16px;
    font-weight: 700;
  }
}

@media(max-width:469px) {
    .info-map-tel{
        font-size: 24px !important;
    }
    .info-map-category .info-map-category-box > div{
        height: 130px;
        padding: 0;
    }
    .info-map-sub .info-time{
        width: 100%;
        max-width: none;
        justify-content: space-between;
    }
    .info-map-sub .info-time li:nth-child(1) {
        width: 60px;
    }
    .info-map-btn a{
        padding: 4px 10px;
    }
    .info-map-btn a strong {
        font-size: 18px;
    }
    .info-map-btn a .search-box img{
        max-width: 24px;
    }
    .info-map-btn a .search-box > span:last-child{
        font-size: 16px;
    }
}
@media(max-width:425px) {
    .info-map-sub .info-time li:nth-child(1) {
        width: 30px;
    }
    .info-map-btn a > div:first-child {
        max-width: 30px;
    }
    .info-map-btn a{
        padding: 4px 10px;
        gap: 5px;
    }
    .info-map-btn a strong {
        font-size: 14px;
    }
    .info-map-btn a .search-box img{
        max-width: 18px;
    }
    .info-map-btn a .search-box > span:last-child{
        font-size: 14px;
    }
}

/* 비디오박스 */
.main-video-box {
    overflow: hidden;
    margin: 150px auto 0 auto;
    border-radius: 30px;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-video-box > video{
    transform: scale(1.02) !important;
}

.main-video-box > div{
    background-color: #000;
    width: 100%;
    height: 100%;
}

.main-video-box2 {
    overflow: hidden;
    margin: 10px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-video-box2 > video{
    transform: scale(1.02) !important;
}

.main-video-box2 > div{
    background-color: #000;
    width: 100%;
    height: 100%;
}

@media(max-width:769px) {
    .main-video-box {
        border-radius: 15px;
    }

    .main-video-box2 {
        border-radius: 15px;
    }
}

/* 치료사례 로그인 레이어 팝업 (자물쇠 클릭 시 페이지 이동 없이 로그인 처리) */
.ba-login-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.ba-login-modal.active {
    display: block;
}
.ba-login-modal-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.ba-login-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 44px 30px 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
.ba-login-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.ba-login-modal-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 16px;
}
.ba-login-modal-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 20px;
}
.ba-login-modal-input {
    display: block;
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 16px;
    margin-bottom: 10px;
    font-size: 15px;
    box-sizing: border-box;
}
.ba-login-modal-error {
    min-height: 18px;
    color: #e0483e;
    font-size: 13px;
    margin: 4px 0 10px;
}
.ba-login-modal-submit {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: #a38d77;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.ba-login-modal-submit:disabled {
    opacity: 0.6;
    cursor: default;
}
.ba-login-modal-join {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
    text-decoration: underline;
}
body.ba-modal-open {
    overflow: hidden;
}