@import url('https://cdn.jsdelivr.net/gh/leetaewook/gmarket-sans-dynamic-subset/GmarketSans.css');
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css);
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

body {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

ul, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {
    margin: 0;
    padding: 0;
    border: 0;
}

.section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

#infor_former {
    position: sticky;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    z-index: 9999;
}
/* 하단 정보 입력창 부분 */
.information_form {
    width: 100%;
    position: fixed;
    z-index: 99;
    left: 0;
    bottom: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    background-color: #fff;
}

#infor {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10vw;

}

#infor > a {
    font-size: 4.166vw;
    color: #1d305b;
    font-weight: 700;
    font-family: 'Gmarket Sans';
    margin-right: 3.645vw;
    text-decoration: none;
    display: flex;  
    align-items: center; 
}

.infor_tel {
    width: 4.6875vw;
    margin-right: 1.5625vw;
    display: inline-block;
    vertical-align: middle; 
}

.infor_tel img {
    width: 100%;
    vertical-align: middle; 
}

.infor_form_container {
    display: flex;
}

.bouncing-digit {
    display: inline-block;


}

/* 더 통통 튀는 애니메이션 */
@keyframes bounce {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}
.infor_form_input label {
    font-size: 1.5625vw;
    color : #0e1c3d;
    font-weight: 700;
    text-align: right;
    margin-right: 1.25vw;
    width: 4.6875vw;
    display: inline-block;
}

.infor_form_input input {
    width: 17vw;
    height: 2vw;
    border: 2px solid #00194d;
    border-color : #0e1c3d;
    padding: 0.52vw 1.04vw;
    font-size: 1.3vw;
    font-family: 'NanumSquare', sans-serif;
    font-weight: 700;
}

.infor_form_input input::placeholder {
    color : #a3a3a3;
}

.infor_form_input_name {
    margin-bottom: 7px;
}

.btn_submit {
    margin-left: 2.6vw;
    width: 18vw;
    height: 8vw;
    background-color: #1d305b;
    border-radius: 1vw;
    outline: none;
    position: relative;
}

.btn_submit p {
    text-align: center;
    font-family: 'Gmarket Sans';
    color: #fff;
    font-weight: 500;
    padding-top: 10px;
    font-size: 2.8vw;
    margin: 0 auto;
    white-space: nowrap;
    line-height: 1.2;
}

.btn_submit span {
    width: 4.166vw;
    position: absolute;
    bottom: -1.1vw;
    right: -2vw;
    display: inline-block;
}

.btn_submit span img {
    width: 100%;
}
/* 사이드바 */
.side_bar {
    position: fixed;
    right: 2.5vw;
    top: 45%;
    transform: translateY(-50%);
    z-index: 999;
    max-width: 100px;
    width: 5.2vw;
}

.menu_wrap {
    display: flex;
    flex-direction: column;
    border-radius: 1vw;
    background-color: rgba(255, 255, 255, 0.9);
}

.side_bar .menu_wrap > li:first-child {
    padding-top: 0.83vw;
}

.side_bar .menu_wrap > li {
    padding: 0 1.2vw 0.83vw 1.2vw;
    text-align: center;
}

.side_bar .menu_wrap > li a img {
    width: 100%;
    border-bottom: 1px solid #acb1bb;
    padding-bottom: 1vw;
}

/* 메인 본문 */
.section_container {
    margin: 0;
    padding: 0;
}

.full_image_container {
    margin: 0;
    padding: 0;
}

.full_image_container img {
    display: block;  /* 이미지 간의 공백 없애기 */
    width: 100%;  
    height: auto;  
    margin: 0;  /* 부모 요소와의 간격 없애기 */
}

.image_container img {
    display: block;  /* 이미지 간의 공백 없애기 */
    width: 100%;  
    height: auto;  
    margin: 0;  /* 부모 요소와의 간격 없애기 */
}

.section_map_container {
    margin: 0;
    padding: 0;
    position: relative;
}

.map_container {
    position: absolute;
    width: 75vw;
    height: 45vw;
    z-index: 29;
    left: 50%;
    top: 26%;
    max-width: 1440px;
    max-height: 867px;
    transform: translateX(-50%);
}

#map {
    width: 100%;
    z-index: 29;
    height: 100%;  /* 원하는 높이 설정 */
}


.section_map_container img {
    display: block;  /* 이미지 간의 공백 없애기 */
    width: 100%;  
    height: auto;  
    margin: 0;  /* 부모 요소와의 간격 없애기 */
}


.menu_phone_num > a > img {
    cursor: none;
    border-bottom: 0px !important;
}

.section_wrap {
    text-align: center;
    margin: 0;
    padding: 0;
}

#section_2 {
    background-color: #f7f7f7;
}
#section_5 {
    padding-top: calc(92vw / 19);
    padding-bottom: calc(124vw / 19);
    background-color: #f7f7f7;
}
#section_7 {
    padding-top: calc(92vw / 19);
    padding-bottom: calc(124vw / 19);
    background-color: #f7f7f7;
}
#section_3 {
    padding-top: calc(92vw / 19);
    padding-bottom: calc(124vw / 19);
    background-color: #f7f7f7;
}
#section_11 {
    background-color: #f1f1f1;
    padding-bottom: 30px;
}

#section_13 {
    padding-bottom: 10vw;
}

.video_container {
    display: block;
}


.video_container iframe {
    width: calc(1400vw / 19);
    height: calc(790vw / 19);
    max-width: 1400px;
    max-height: 790px;
    border-radius: 30px;
    overflow: hidden;
}

.thumb_list_wrap_pc {
    display: block;
    margin-left: 5%;  /* 좌측 여백 */
    margin-right: 5%; /* 우측 여백 */
}

/* 3단: 썸네일 이미지 */
.thumbnails_container {
    display: flex;
    justify-content: center; 
    gap: 35px;
    margin-top: calc(40vw / 19);
}

.thumbnail_detail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;  /* 썸네일에 마우스 올렸을 때 애니메이션 */
}

.thumbnail_detail img:hover {
    transform: scale(1.05);  /* 마우스 오버시 썸네일 확대 */
}

.thumbnail_detail {
    display: flex;
    align-items: center;
    width: calc(475vw / 19);
    height: calc(265vw / 19);
    overflow: hidden;
    border-radius: 30px;
    cursor: pointer;
}

.section_wrap_m {
    display: none;
}


#section10 .section_wrap > div {
    position: relative;
}

#section10 .section_wrap > div > img {
    width: 100%;
}

#section12 .section_wrap > div #secion_10_map {
    position: absolute;
    width: 41.45vw;
    height: 34.74vw;
    right: 10.5vw;
    bottom: 6vw;
}

.before_after_wrap {
    display: flex;
    justify-content: space-between;
    padding: 0px 160px 0px 160px;
    gap: 20px;
}

.total_implant_m {
    display: none;
}

.implant_image {
    margin-top: 120px;
    margin-bottom: 60px;
}

.implant_image_next {
    margin-top: 140px;
    margin-bottom: 60px;
}

.tooth_extraction {
    margin-top: 120px !important;
}

.before_after_list {
    display: flex;
    justify-content: space-between;
    padding: 0px 160px 0px 160px;
    gap: 20px;
}

.before_after_wrap_detail {
    position: relative;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.before_after_wrap_detail > div:first-child {
    font-size: 20px;
    text-align: center;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;

    background-color : #0e1c3d;
    color: #ffffff;
    padding: 14px 10px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.image-comparison {
    max-width: 700px;
    overflow: hidden;
  }
  
  .image-comparison img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  
  .image-comparison .images-container {
    position: relative;
    display: flex;
  }
  
  .image-comparison .images-container .before-image {
    position: absolute;
    top: 0;
    width: 50%;
  }
  
  .image-comparison .slider {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  
  .image-comparison .slider-line {
    position: absolute;
    height: 100%;
    width: 4px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .image-comparison .slider-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    color: #fff;
    transform: translate(-50%, -50%);
  }

  .text-comparison {
    display: flex;
    justify-content: space-between;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    width: 100%;
  }

  .text-comparison > span {
    width: 100%;
    font-size: 14px;
    background-color : #8991a4;
    color: #ffffff;
    padding: 8px;
  }

  .text-comparison-left {
    border-right: 2px solid #f1f1f1;
  }

  .text-comparison-right {
    border-left: 2px solid #f1f1f1;
  }

  .precaution_container {
    margin : 80px 0px 40px 0px;
    padding-left: 160px;
    text-align: left;
  }

  .precaution_container > li {
    color : #777777;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 20px;
    line-height: 26px;
  }

  .footer_container {
    text-align: center;
    display: flex;
    padding: 20px;
    justify-content: flex-end;
    gap: 10px;
    flex-direction: column;
  }


  .footer_logo {
    padding-top: 10px;
    width: 100px;
    margin: 0 auto;
  }

  .footer_logo > img {
    width: 100%;
  }

  .footer_font {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 28px;
    font-size: 20px;
    color : #171717;
    }

    .footer_infor_la {
        font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
        line-height: 24px;
        font-size: 17px;
        color : #b1b1b1;

    }

    .menu_phone_num {
        padding-bottom: 0px !important;
    }

    .b_f_wrap_br {
        display: none;
    }

@media (min-width:1200px) and (max-width: 1919px) {
    .implant_image {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    .implant_image_next {
        margin-top: 120px;
        margin-bottom: 50px;
    }

    .tooth_extraction {
        margin-top: 100px !important;
    }
}

@media (min-width:1200px) and (max-width: 1550px) {
    .b_f_wrap_br {
        display: block;
    }
}

@media (min-width:801px) and (max-width: 1219px) {
    .implant_image {
        margin-top: 80px;
        margin-bottom: 40px;
    }

    .implant_image_next {
        margin-top: 140px;
        margin-bottom: 40px;
    }

    .tooth_extraction {
        margin-top: 100px !important;
    }

    .total_implant_m {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .total_implant_pc {
        display: none;
    }
}

@media (max-width: 800px) {
    .implant_image {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .implant_image_next {
        margin-top: 70px;
        margin-bottom: 20px;
    }

    .tooth_extraction {
        margin-top: 50px !important;
    }

    .total_implant_m {
        display: block;
        margin: 0 auto;
        width: 100%;
    }

    .total_implant_pc {
        display: none;
    }
}

  @media screen and (max-width: 1200px) {
    .side_bar {
        display: none;
    }
    
    #section_13 {
        padding-bottom: 47vw;
        margin-bottom: 5vw;
    }

    @keyframes bounce {
        0% { transform: translateY(0); opacity: 1; }
        50% { transform: translateY(-3vw); }
        100% { transform: translateY(0); }
    }
    /* 유투브 */
    #section_3 {
        padding-top: calc(130vw / 11);
        padding-bottom: calc(130vw / 11);
    }

    .section_wrap_m {
        display: block;
    }

    .video_list_pc {
        display: none;
    }
    
    .video_list_m {
        display: flex;
        flex-direction: column;
        gap: calc(40vw / 11);
        justify-content: center;
        text-align: center;
    }

    .video_detail iframe {
        width: calc(819vw / 11);
        height: calc(461vw / 11);
        border-radius: 17px;
        overflow: hidden;
    }

    .tooth_extraction_list {
        gap: 5vw !important;
    }

    /* 전후 사진 */
    .before_after_list {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding: 0vw 12vw 0vw 12vw;
        gap: 10vw;
    }
    .before_after_wrap {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding: 0vw 12vw 0vw 12vw;
        gap: 10vw;
    }

    .before_after_wrap_detail > div:first-child {
        font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
        font-size: 3.4vw;
        padding: 2vw 0;
    }

    .image-comparison {
        max-width: 1020px;
        overflow: hidden;
    }

    .text-comparison > span {
        width: 100%;
        font-size: 3vw;
        padding: 1vw;
    }

    .precaution_container {
        margin-bottom: 20px;
        padding: 3vw 12vw 4vw 12vw;
    }

    .precaution_container > li {
        font-size: 3vw;
        padding-left: 2.5vw;
        text-indent: -2.5vw;
        line-height: 1.4;
    }

    .infor_tel {
        margin-right: 2vw !important;
    }

    /* 하단 정보 */
    #infor {
        padding: 4.5vw 0vw 4.5vw 0vw;
        height: 100%;
        flex-direction: column;
    }

    #infor > a {
        font-size: 6vw;
        margin-left: 5vw;
        margin-bottom: 2.3vw;
    }

    #infor > a span {
        width: 4vw;
        /* margin-right: 1vw; */
    }

    .infor_form_container {
        flex-direction: column;
    }

    .infor_form_input {
        width: fit-content;
        margin: 0 auto;
    }

    .infor_form_input label {
        font-size: 4.4vw;
        margin-right: 2.77vw;
        width: 13vw;
    }

    .infor_form_input input {
        width: 57.8vw;
        height: 3.4vw;
        padding: 2vw 1.85vw;
        font-size: 4vw;
    }

    .infor_form_input_name {
        margin-bottom: 15px;
    }

    .btn_submit {
        width: 86vw;
        margin-top: 26px;
        height: 10vw;
    }

    .br_pc {
        display: none;
    }

    .btn_submit p {
        font-weight: 600;
        font-size: 4.8vw;
        padding-top: 1.5vw;
        line-height: 1.2;
    }

    .btn_submit span {
        width: 8vw;
        bottom: -2.1vw;
        right: 5vw;
    }

    .footer_logo > img {
        width: 60%;
    }

    .footer_font {
        font-size: 14px;
        line-height: 20px;
    }

    .footer_infor_la {
        font-size: 14px;
        line-height: 20px;
    }
}