/* common */

/* 서브페이지 배너 */
.banner-bg-01.banner-bg {
  background: url(../img/sub/banner_01.jpg) center/cover no-repeat;
}
.banner-bg-02.banner-bg {
  background: url(../img/sub/banner_02.jpg) center/cover no-repeat;
}
.banner-bg-03.banner-bg {
  background: url(../img/sub/banner_03.jpg) center/cover no-repeat;
}
.banner-bg-04.banner-bg {
  background: url(../img/sub/banner_04.jpg) center/cover no-repeat;
}
.banner-bg-05.banner-bg {
  background: url(../img/sub/banner_05.jpg) center/cover no-repeat;
}
.banner-bg-06.banner-bg {
  background: url(../img/sub/banner_06.jpg) center/cover no-repeat;
}

/* common */
.banner-bg {
    padding: 320px 0;
}
.banner-bg h2 {
    color: #fff;
    text-align: center;
}
.banner-bg p {
    color: #fff;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.6rem;
}


/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
  .banner-bg {
    padding: 220px 0;
  }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .banner-bg {
      padding: 120px 0;
    }

    .banner-bg p {
        font-size: 10px;
        letter-spacing: 0.1rem;
    }
  
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
  .banner-bg {
    padding: 80px 0;
  }
}

/*========================================================================================================================================= */
/*================================================================ banner ================================================================= */
/*========================================================================================================================================= */


/* ===== 상단 라벨 pagination ===== */
.info-interior{
  background-color: #f3f6f9;
  overflow: hidden;
}

.info-interior .top-pagination {
  position: relative;
  margin: 0 auto 22px;
  overflow: auto;
  top: -50px;
  /* 스크롤 힌트 감추기용 */
  scrollbar-width: none;
}

.info-interior .top-pagination .swiper-pagination {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: max-content;
  padding: 0 6px;
  justify-content: space-between;
}
/* 연결선 */
.info-interior .top-pagination .swiper-pagination::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  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;
}
.top-pagination .swiper-pagination-bullet .label {
  font-size: 15px;
  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: #23305b;
}
.info-interior .top-pagination .swiper-pagination-bullet-active .dot {
  background: #3d3337;
  transform: scale(1.1);
}

/* ===== 메인 슬라이더 ===== */
.info-interior .gallery {
  position: relative;
}
.info-interior .swiper {
  width: 100%;
  border-radius: 24px;
  overflow: visible;
  /* background: #ddd; */
}
.info-interior .swiper-slide {
  height: 56vw; /* 모바일에서 세로 비율 */
  max-height: 540px; /* 데스크톱 상한 */
  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 {
  /* transform: translateY(-50%); */
  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;
}

/* 반응형 미세 조정 */
@media (min-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;
    background-color: #9f9f9f;
  }
  .info-interior
    .top-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #23305b;
  }
  .info-interior .top-pagination .swiper-pagination-bullet .label {
    font-size: 16px;
    transform: translateY(-25px);
  }
  .info-interior .swiper-button-prev,
  .info-interior .swiper-button-next {
    width: 48px;
    height: 48px;
  }
}
@media (min-width: 1024px) {
  .info-interior .swiper-slide {
    max-height: 620px;
    border-radius: 28px;
  }
  .info-interior .top-pagination {
    overflow: visible;
  }
}


/* 모바일 커스텀 */
.info-interior-name_m{
  display: none;
  text-align: center;
}
.info-interior-name_m h3{
  font-size: 24px;
  font-weight: 800;
  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: #3d3337;
}
.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: #3d3337;
}
@media(max-width:769px) {
    .info-interior-name_m{
        display: block;
    }
}



/* =========== info-dentist======== */
/* 탭 메뉴 스타일 */
.dentist .tab-btn {
    display: flex;
    margin: 20px 0 40px;
}
.dentist .tab-btn input {
    display: none;
}
.dentist .tab-btn label {
    display: inline-block;
    padding: 15px 25px;
    text-align: center;
    border: 1px solid #ccc;
    color: #bbb;
    background-color: #fff;
}
.dentist .tab-btn label:hover {
    color: #3d3337;
    cursor: pointer;
    transition: all ease 0.3s;
}
.dentist .tab-btn input:checked + label {
    color: #fff;
    background-color: #3d3337;
    transition: all ease 0.3s;
}

/* 탭 메뉴 내용 스타일 */
.dentist .tab-content {
}
#tab-content2,
#tab-content3,
#tab-content4,
#tab-content5 {
    display: none;
}
.dentist .tab-content > ul {
    display: flex;
    width: 100%;
    background: url(../img/sub/logo.png) no-repeat;
    background-position: right bottom;
    background-size: auto;
}
.dentist .tab-content > ul > li {
    width: 50%;
}
.dentist .tab-content > ul > li:last-child {
    margin-left: 30px;
}
.dentist .tab-content .tab-name {
    border-bottom: 2px dotted #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.dentist .tab-content .tab-name > div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.dentist .tab-content .tab-name > div h3 {
    font-weight: 900;
}
.dentist .tab-content .tab-name > div span {
    font-size: 0.6em;
    font-weight: 800;
}
.dentist .tab-content .tab-name p {
    font-weight: 700;
}
.dentist .tab-content .disc-list {
    list-style-type: disc;
    margin-left: 20px;
}
.dentist .tab-content .disc-list li {
    line-height: 1.8;
}

/* =========== info-interior ======== */
.gallery-top {position: relative; height: 80%; width: 100%; overflow: hidden;}
.gallery-thumbs {position: relative; height: 20%; padding: 10px 0; overflow: hidden;}
.gallery-thumbs .swiper-slide {width: 20%; height: 100%; opacity: 0.4;}
.gallery-thumbs .swiper-slide-thumb-active {opacity: 1;}

#gallery img {width: 100%;}
#gallery .swiper-button-prev,
#gallery .swiper-button-next {position: absolute; top: 50%; transform: translateY(-50%); margin: 0; width: 50px; height: 50px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.8); color: #333;
text-align: center; line-height: 30px; cursor: pointer; transition: all 0.4s ease-in-out;}
#gallery .swiper-button-prev:after,
#gallery .swiper-rtl .swiper-button-next:after {display: none;}
#gallery .swiper-button-next:after,
#gallery .swiper-rtl .swiper-button-prev:after {display: none;}
#gallery .swiper-button-prev i,
#gallery .swiper-button-next i {font-size: 16px;}
#gallery .swiper-button-prev {left: 10px;}
#gallery .swiper-button-next {right: 10px;}
#gallery .swiper-button-prev:hover,
#gallery .swiper-button-next:hover {background-color: rgba(22, 22, 22, 0.8); color: #fff;}

/* =========== info-equipment ======== */
#equipment li:nth-child(n+4):nth-child(-n+99) {margin-top: 20px;}
#equipment li h5 {margin-top: 10px; font-family: 'NanumSquare',san-serif; transform: skew(-0.1deg); font-weight: 800;}
#equipment li .sub {margin-top: 15px; line-height: 1.5;}
#equipment li img {width: 100%; border: 1px solid #eee;}

/* =========== info-time ======== */
.time-table{
    background: url(../img/sub/time-table-deco.jpg) right bottom/contain no-repeat;
}
.time-table * {text-align: center;}
.time-table ul {display: flex; justify-content: center; align-items: center; max-width: 1000px; width: 100%; margin: 40px auto 0;}
.time-table ul li {width: 100%;}
.time-table ul li:last-child {margin-left: 50px;}
.time-table h6 {padding: 5px 0; font-family:'NanumSquare',san-serif; font-weight: 700; transform: skew(-0.1deg); font-size: 20px;}
.time-table h6:nth-of-type(2n) {padding: 10px 0;}
.time-table h6:nth-of-type(2n-1) {background-color: #f0f0f0; font-weight: 800;}
.time-table h6.night-time {background: linear-gradient(to right, #1f3d74, #022859); color: #fff;}
.time-table article {margin-top: 80px;}
.time-table article img {margin-right: 20px;}

/* ========= info-map ========= */
.map ul.flex > li > div {
    padding: 50px 0;
    height: 330px;
    border: 1px solid #dfdfdf;
}
.map ul.flex h5 {
    margin-top: 10px;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
    transform: skew(-0.1deg);
}
.map ul.flex p {
    position: relative;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 700;
}
.map ul.flex p::before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ddd;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.map .root_daum_roughmap {
    width: calc(100% - 20px) !important;
    margin: 0 auto;
}

.map li img {
    height: 60px;
}


/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width:1500px) {

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
.time-table article {margin-top: 40px;}
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {
.dentist .tab-content > ul {background-size: 30%;}

#equipment li {width: 33.3%;}
#equipment li:nth-child(n+4):nth-child(-n+99) {margin-top: 20px;}
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {

}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
/* =========== info-dentist ======== */
.dentist .tab-btn {margin: 20px auto 40px; flex-direction: column; max-width: 350px;}
.dentist .tab-btn label {padding: 8px 15px;}

.dentist .tab-content .tab-name > div{display: block;}
.dentist .tab-content img {max-width: 350px; width: 100%;}
.dentist .tab-content > ul {display: block; background: none;}
.dentist .tab-content > ul > li {width: 100%; text-align: center;}
.dentist .tab-content > ul > li:last-child{margin: 20px 0 0 0;}
.dentist .tab-content .disc-list {display: flex; flex-direction: column; align-items: flex-start; max-width: 400px; margin: 0 auto; text-align: left;}

/* =========== info-time ======== */
.time-table{
    background: none;
}
.time-table ul {display: block; max-width: 500px; margin: 0 auto;}
.time-table ul li img {width: 70%;}
.time-table ul li:last-child {margin: 40px auto 0;}
.time-table h6 {font-size: 18px;}

/* ========= info-map ========= */
    .map ul.flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .map ul.flex > li {
        width: 100%;
    }
    .map ul.flex > li > div {
        height: auto;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {
/* =========== info-equipment ======== */
#equipment li {width: 50%;}
#equipment li:nth-child(n+3):nth-child(-n+99) {margin-top: 20px;}

/* =========== info-time ======== */
.time-table ul li:last-child {max-width: 320px;}
.time-table article img {max-width: 50px;}
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:480px) {
/* =========== info-dentist ======== */
.dentist .tab-btn {margin: 10px auto 30px;}

.dentist .tab-content .tab-name > div h3 {font-size: 32px;}
.dentist .tab-content .tab-name p {font-size: 14px;}
.dentist .tab-content .disc-list {max-width: 260px;}
.dentist .tab-content .disc-list li {font-size: 14px;}
.dentist .tab-content img {max-width: 250px;}

/* =========== info-equipment ======== */
#equipment li .sub {margin-top: 10px;}

/* =========== info-time ======== */
.time-table ul {width: 100%;}
.time-table h6 {font-size: 16px;}
.time-table article {margin-top: 30px;}
.time-table article img {max-width: 40px; margin-right: 15px;}

/* ========= info-map ========= */
.map ul.flex > li > div {padding: 30px 0;}
.map ul.flex > li p {margin-top: 5px; padding-top: 15px;}
.map ul.flex > li img {max-height: 50px;}
}

@media screen and (max-width:425px) {
#equipment li h5 {font-size: 17px;}
#equipment li .sub {font-size: 12px;}

/* ========= info-map ========= */
    .map ul.flex > li > div {
        padding: 30px 0;
    }
    .map ul.flex > li p {
        margin-top: 5px;
        padding-top: 15px;
    }
    .map ul.flex > li img {
            max-width: 50px;
    }
}


/*============================================================================================================================================= */
/*================================================================ sub1 style ================================================================= */
/*============================================================================================================================================= */


/*========================================================================================================================================= */
/*======================================================== sub etc style ================================================================== */
/*========================================================================================================================================= */


/* ============= imp-navigation ============ */
.imp-navi-area1 article {margin-top: 60px; text-align: center;}
.imp-navi-area1 article * {white-space: pre-line;}
.imp-navi-area1 article h5 {position: relative; display: inline-block; margin: 0 auto; border-bottom: 5px solid #d9dfee; border-top: 5px solid #d9dfee; padding: 30px 100px; font-weight: 500; }
.imp-navi-area1 article h5::before, .imp-navi-area1 article h5::after {position: absolute; font-size: 80px; font-weight: 600; line-height: 1;}
.imp-navi-area1 article h5::before {content: '“'; left: 0; top: 0;}
.imp-navi-area1 article h5::after {content: '”'; right: 0; top: 0;}

/* ============= imp-highlevel ============ */
.imp-high-area1 ul.flex > li > div img {border: 1px solid #ccc; border-radius: 50%;}

/* ============= imp-denture ============ */
.imp-den-area1 .line-box li > div {height: 200px;}

.imp-den-area2 table {width: 100%;}
.imp-den-area2 table tr {display: flex;}
.imp-den-area2 table tr td {width: 20%; text-align: center;}
.imp-den-area2 table tr td:first-child, .imp-den-area2 table tr td:last-child {width: 40%;}
.imp-den-area2 table tr td:nth-child(2) p {font-weight: 800;}
.imp-den-area2 table tr:first-child td {background: #fff}
.imp-den-area2 table tr:first-child td:not(:nth-child(2)) p {color: #fff;}
.imp-den-area2 table tr td:last-child p {color: #022859; font-weight: 800;}
.imp-den-area2 table tr:not(:first-child) td{padding: 15px 5px;}

.imp-den-area2 .middle-title p {display: inline-block; padding: 4px 14px; color: #fff; background: #022859;}


.senior-num {
    background-color: #23305b;
    box-shadow: 1px 1px 1px 1px #adadad;
    color: #fff;
    width: 50px;
    height: 50px;
    font-weight: 800;
    line-height: 50px;
    margin: 0 auto 20px auto;
    letter-spacing: -2px;
    font-size: 30px;
}

.senior-box{
    text-align: center;
    max-width: 800px;
    margin: 80px auto 0 auto;
    overflow: hidden;
}


.text-bar {
  display: inline-block;
  color: #fff;
  background-color: #4e9e9a;
  padding: 0 4px;
  line-height: 1.4;
  font-weight: 800;
}

@media(max-width:769px) {
    .senior-num {
        font-size: 24px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .senior-box{
        border-radius: 20px;
    }
}

/* ============= imp-oneday ============ */
.oneday-circle-box {color: #000;}
.oneday-circle-box > div > div {border-radius: 50%; background-color: #ffdd9c;}
.oneday-circle-box:nth-child(2n-1) > div > div {background-color: #f2bf5e;}

.imp-oneday-area1 .line-box li > div {height: 250px;}
.imp-oneday-area1 h5{
    font-weight: 800;
}

/* ============= imp-caution ============ */
.imp-caution-area1 .line-box li > div {height: 300px;}


/* ============= imp-insurance ============== */
.imp-insurance {text-align: center;}

.insurance-box {border: 2px solid #eee; padding: 60px 0; background: url(../img/sub/imp_insurance.jpg) no-repeat; background-size: cover; background-position: center bottom;}
.insurance-box .point {display: flex; align-items: flex-end; justify-content: center;}
.insurance-box .point li:nth-child(2) {margin: 0 20px;}
.insurance-box .point li h1 {font-size: 90px; font-family: 'GmarketSansMedium'; transform: skew(-0.1deg); letter-spacing: -3px;}
.insurance-box .point li p {display: inline-block; padding: 2px 10px; font-weight: 600; background-color: #f5f5f5; }
.insurance-box .point li:last-child h1 {font-family: "GmarketSansBold"; transform: skew(-0.1deg);}
.insurance-box .point li:last-child p {background-color: #d9dfee;}

.insurance-box .info {position: relative; margin: 40px auto 0; padding: 15px 30px 15px 40px; width: 100%; max-width: 550px; border: 2px solid #eee; text-align: left; background: #fff;}
.insurance-box .info::before {position: absolute; content: ''; display: block; left: 0; top: 0; width: 15px; height: 100%; background-color: #022859;}
.insurance-box .info li {display: flex; align-items: center; padding: 20px 0; border-bottom: 2px solid #eee;}
.insurance-box .info li:last-child {border-bottom: none;}
.insurance-box .info li h6 {margin-right: 30px; font-weight: 500;}
.insurance-box .info li p {white-space: pre-line;}



/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box li:first-child {text-align: center;}
.gum-therapy-area2 .basic-box li:last-child {flex: 2;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 20px;}
.root-canal-area2 ul.flex img{max-width: 90px;}


/* =========== replantation =========== */
.rep-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 30px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 30px;}
.chin-area1 ul.flex img {width: 100%;}


/* =========== prosthetic =========== */
.prosthetic-area1 img {max-width: 350px;}


/* =========== whitening =========== */
.whitening-area1 {background: #ebf4f2 !important;}


/* =========== children =========== */
.children-area1 .middle-title{background-color: #f6f4f5; border-radius:30px; padding: 40px 20px;}
.children-area2{background-color: #f5faff; padding: 80px 0;}
.children-area3{background: linear-gradient(to right, #c4dcf9, #e3f1ff 20%);border-radius:30px; padding: 40px 20px;}
.children-area4 > li > div{padding: 20px 5px; border: 2px solid #007cfb; border-radius:15px;}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width:1500px) {

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
.navi h5::before, .navi h5::after {font-size: 60px;}

}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {
    
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
/* =========== prosthetic =========== */
.prosthetic-area1.table-wrap table {min-width: 700px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 article h5 {padding: 10px 0; display: block; width: 100%; max-width: 600px;}
.imp-navi-area1 article h5::before, .imp-navi-area1 article h5::after {font-size: 50px; height: 40px; position: relative; width: 100%; display: block; top: 0;}
.imp-navi-area1 article h5::after {margin-top: 5px;}


/* ============= imp-denture ============ */
.imp-den-area2 table tr:not(:first-child) td {display: flex; justify-content:center; align-items:center; padding: 0; height: 60px;}


/* ============= imp-insurance ============= */
.insurance-box {padding: 40px 10px;}
.insurance-box .point li h1 {font-size: 70px;}
.insurance-box .info::before {width: 10px;}


/* ============= imp-caution ============ */
.imp-caution-area1 .line-box .num::before {margin: 0;}
.imp-caution-area2 .num-list {max-width: 400px; margin: 20px auto 0;}


/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box img {max-width: 250px;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== replantation =========== */
.rep-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== aesthetic =========== */
.aesthetic-area1 .num-list {max-width: 400px; margin: 0 auto;}

}


/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 ul.flex > li {width: 100%;}
.imp-navi-area1 ul.flex > li:not(:first-child) {margin-top: 20px;}


/* =========== gum-therapy =========== */
.gum-therapy-area1 ul.flex > li {width: 50%;}


/* =========== root-canal =========== */
.root-canal-area2 ul.flex img{max-width: 50px;}



}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:480px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 article::before, .imp-navi-area1 article:after {font-size: 35px; height: 25px;}


/* ============= imp-highlevel ============ */
.imp-high-area2.table-wrap table {min-width: 550px;}
.imp-high-area2.table-wrap table td {padding: 10px 5px;}


/* ============= imp-denture ============ */
.imp-den-area2 table tr:not(:first-child) td {height: stretch;}


/* ============= imp-insurance ============= */
.insurance-box {}
.insurance-box .point li h1 {font-size: 50px;}
.insurance-box .info {padding: 10px 20px; margin: 20px auto 0;}
.insurance-box .info::before {width: 5px;}
.insurance-box .info li {padding: 15px 0;}
.insurance-box .info li h6 {margin-right: 20px;}


/* ============= imp-caution ============ */
.imp-caution-area2 .num-list {max-width: 280px; margin: 10px auto 0;}


/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box img {max-width: 180px;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 0;}
.root-canal-area2 ul.flex > li > div {margin: 5px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 5px;}
.chin-area1 ul.flex > li > div {margin: 5px;}


/* =========== prosthetic =========== */
.prosthetic-area1 img {max-width: 200px;}
.prosthetic-area1.table-wrap table {min-width: 500px;}


/* =========== aesthetic =========== */
.aesthetic-area1 .num-list {max-width: 260px;}


/* =========== children =========== */
.children-area1 .middle-title{padding: 30px 15px;}
.children-area2{padding: 40px 0;}
.children-area3{padding: 30px 15px;}
.children-area4 > li > div{padding: 10px 5px; margin: 5px !important;}

}


/*========================================================================================================================================= */
/*======================================================== sub etc style ================================================================== */
/*========================================================================================================================================= */


/* ============= imp-navigation ============ */
.imp-navi-area1 article {
    margin-top: 60px;
    text-align: center;
}
.imp-navi-area1 article * {
    white-space: pre-line;
}
.imp-navi-area1 article h5 {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    border-bottom: 5px solid #d9dfee;
    border-top: 5px solid #d9dfee;
    padding: 30px 100px;
    font-weight: 500;
}
.imp-navi-area1 article h5::before,
.imp-navi-area1 article h5::after {
    position: absolute;
    font-size: 80px;
    font-weight: 600;
    line-height: 1;
}
.imp-navi-area1 article h5::before {
    content: '“';
    left: 0;
    top: 0;
}
.imp-navi-area1 article h5::after {
    content: '”';
    right: 0;
    top: 0;
}

/* ============= imp-highlevel ============ */
.imp-high-area1 ul.flex > li > div img {
    border: 1px solid #ccc;
    border-radius: 50%;
}


/* ============= imp-denture ============ */
.imp-den-area1 .line-box li > div {
    height: stretch;
}

.imp-den-area2 table {
    width: 100%;
}
.imp-den-area2 table tr {
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    display: flex;
}
.imp-den-area2 table tr td {
    border-right: 1px solid #eee;

    width: 40%;
    text-align: center;
}
.imp-den-area2 table tr:last-child td {
    border-bottom: 1px solid #eee;
}
.imp-den-area2 table tr:first-child td {
    background: #f5f5f5;
    font-weight: 800;
}
.imp-den-area2 table tr:first-child td:nth-child(2) {
    background: #feeadf;
}
.imp-den-area2 table tr td:first-child {
    width: 20%;
    background: #f5f5f5;
    font-weight: 800;
}
.imp-den-area2 table tr:first-child td:not(:nth-child(2)) p {
    color: #fff;
}
.imp-den-area2 table tr td:last-child p {
    color: #314e42;
    font-weight: 800;
}
.imp-den-area2 table tr:not(:first-child) td {
    padding: 25px 5px;
}

.imp-den-area2 .middle-title p {
    display: inline-block;
    padding: 4px 14px;
    color: #fff;
    background: #314e42;
}

/* ============= imp-oneday ============ */
.imp-oneday-area1 .line-box li > div {
    height: 250px;
}

/* ============= imp-caution ============ */
.imp-caution-area1 .line-box li > div {
    height: 300px;
}

/* ============= imp-insurance ============== */
.imp-insurance {
    text-align: center;
}

.insurance-box {
    border: 2px solid #eee;
    padding: 60px 0;
    background: url(../img/sub/imp_insurance.jpg) no-repeat;
    background-size: cover;
    background-position: center bottom;
}
.insurance-box .point {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.insurance-box .point li:nth-child(2) {
    margin: 0 20px;
}
.insurance-box .point li h1 {
    font-size: 90px;
    font-family: 'GmarketSansMedium';
    transform: skew(-0.1deg);
    letter-spacing: -3px;
}
.insurance-box .point li p {
    display: inline-block;
    padding: 2px 10px;
    font-weight: 600;
    background-color: #f5f5f5;
}
.insurance-box .point li:last-child h1 {
    font-family: 'GmarketSansBold';
    transform: skew(-0.1deg);
}
.insurance-box .point li:last-child p {
    background-color: #e2eeee;
}

.insurance-box .info {
    position: relative;
    margin: 40px auto 0;
    padding: 15px 30px 15px 40px;
    width: 100%;
    max-width: 550px;
    border: 2px solid #eee;
    text-align: left;
    background: #fff;
}
.insurance-box .info::before {
    position: absolute;
    content: '';
    display: block;
    left: 0;
    top: 0;
    width: 15px;
    height: 100%;
    background-color: #4d4e52;
}
.insurance-box .info li {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
}
.insurance-box .info li:last-child {
    border-bottom: none;
}
.insurance-box .info li h6 {
    margin-right: 30px;
    font-weight: 700;
}
.insurance-box .info li p {
    white-space: pre-line;
}

/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box li:first-child {
    text-align: center;
}
.gum-therapy-area2 .basic-box li:last-child {
    flex: 2;
}

/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n + 4):nth-child(-n + 5) {
    margin-top: 20px;
}
.root-canal-area2 ul.flex img {
    max-width: 90px;
}

/* =========== replantation =========== */
.rep-area1 ul.flex > li:nth-child(n + 4):nth-child(-n + 5) {
    margin-top: 30px;
}

/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n + 4):nth-child(-n + 5) {
    margin-top: 30px;
}
.chin-area1 ul.flex img {
    width: 100%;
}

/* =========== prosthetic =========== */
.prosthetic-area1 img {
    max-width: 350px;
}

/* =========== whitening =========== */
.whitening-area1 {
    background: #ebf4f2 !important;
}

/* =========== children =========== */
.children-area1 .middle-title {
    background-color: #f6f4f5;
    border-radius: 30px;
    padding: 40px 20px;
}
.children-area2 {
    background-color: #f5faff;
    padding: 80px 0;
}
.children-area3 {
    background: linear-gradient(to right, #c4dcf9, #e3f1ff 20%);
    border-radius: 30px;
    padding: 40px 20px;
}
.children-area4 > li > div {
    padding: 20px 5px;
    border: 2px solid #022859;
    border-radius: 15px;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    .navi h5::before,
    .navi h5::after {
        font-size: 60px;
    }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
    /* =========== prosthetic =========== */
    .prosthetic-area1.table-wrap table {
        min-width: 700px;
    }
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    /* ============= imp-navigation ============ */
    .imp-navi-area1 article h5 {
        padding: 10px 0;
        display: block;
        width: 100%;
        max-width: 600px;
    }
    .imp-navi-area1 article h5::before,
    .imp-navi-area1 article h5::after {
        font-size: 50px;
        height: 40px;
        position: relative;
        width: 100%;
        display: block;
        top: 0;
    }
    .imp-navi-area1 article h5::after {
        margin-top: 5px;
    }

    /* ============= imp-denture ============ */
    .imp-den-area2 table tr:not(:first-child) td {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        height: stretch;
    }

    /* ============= imp-insurance ============= */
    .insurance-box {
        padding: 40px 10px;
    }
    .insurance-box .point li h1 {
        font-size: 70px;
    }
    .insurance-box .info::before {
        width: 10px;
    }

    /* ============= imp-caution ============ */
    .imp-caution-area1 .line-box .num::before {
        margin: 0;
    }
    .imp-caution-area2 .num-list {
        max-width: 400px;
        margin: 20px auto 0;
    }

    /* =========== gum-therapy =========== */
    .gum-therapy-area2 .basic-box img {
        max-width: 250px;
    }

    /* =========== root-canal =========== */
    .root-canal-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 5) {
        margin-top: 20px;
    }

    /* =========== replantation =========== */
    .rep-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 5) {
        margin-top: 20px;
    }

    /* =========== chin =========== */
    .chin-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 5) {
        margin-top: 20px;
    }

    /* =========== aesthetic =========== */
    .aesthetic-area1 .num-list {
        max-width: 400px;
        margin: 0 auto;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    /* ============= imp-navigation ============ */
    .imp-navi-area1 ul.flex > li {
        width: 100%;
    }
    .imp-navi-area1 ul.flex > li:not(:first-child) {
        margin-top: 20px;
    }

    /* =========== gum-therapy =========== */
    .gum-therapy-area1 ul.flex > li {
        width: 50%;
    }

    /* =========== root-canal =========== */
    .root-canal-area2 ul.flex img {
        max-width: 50px;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
    /* ============= imp-navigation ============ */
    .imp-navi-area1 article::before,
    .imp-navi-area1 article:after {
        font-size: 35px;
        height: 25px;
    }

    /* ============= imp-highlevel ============ */
    .imp-high-area2.table-wrap table {
        min-width: 550px;
    }
    .imp-high-area2.table-wrap table td {
        padding: 10px 5px;
    }

    /* ============= imp-denture ============ */
    .imp-den-area2 table tr:not(:first-child) td {
                height: 80px;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 800;
    }

    /* ============= imp-insurance ============= */
    .insurance-box {
    }
    .insurance-box .point li h1 {
        font-size: 50px;
    }
    .insurance-box .info {
        padding: 10px 20px;
        margin: 20px auto 0;
    }
    .insurance-box .info::before {
        width: 5px;
    }
    .insurance-box .info li {
        padding: 15px 0;
    }
    .insurance-box .info li h6 {
        margin-right: 20px;
    }

    /* ============= imp-caution ============ */
    .imp-caution-area2 .num-list {
        max-width: 280px;
        margin: 10px auto 0;
    }

    /* =========== gum-therapy =========== */
    .gum-therapy-area2 .basic-box img {
        max-width: 180px;
    }

    /* =========== root-canal =========== */
    .root-canal-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 5) {
        margin-top: 0;
    }
    .root-canal-area2 ul.flex > li > div {
        margin: 5px;
    }

    /* =========== chin =========== */
    .chin-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 5) {
        margin-top: 5px;
    }
    .chin-area1 ul.flex > li > div {
        margin: 5px;
    }

    .chin-area2 ul.flex img {
        max-width: 250px;
    }
    .chin-area2 ul.flex > li:not(:first-child) {
        margin-top: 20px;
    }

    /* =========== prosthetic =========== */
    .prosthetic-area1 img {
        max-width: 200px;
    }
    .prosthetic-area1.table-wrap table {
        min-width: 500px;
    }

    /* =========== aesthetic =========== */
    .aesthetic-area1 .num-list {
        max-width: 260px;
    }

    /* =========== children =========== */
    .children-area1 .middle-title {
        padding: 30px 15px;
    }
    .children-area2 {
        padding: 40px 0;
    }
    .children-area3 {
        padding: 30px 15px;
    }
    .children-area4 > li > div {
        padding: 10px 5px;
        margin: 5px !important;
    }
}

/*========================================================================================================================================= */
/*======================================================== sub etc style ================================================================== */
/*========================================================================================================================================= */

/* 이미지 섹션 */
.image_section {
    padding-bottom: 0 !important;
}


/* 케이스 */
.case-section {
    background-color: #e8e4d9;
    padding-bottom: 120px;
}
.case-content .tit {
    margin-top: 50px;
}
ul.flex .date {
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px 10px;
    color: #fff;
    font-weight: 900;
    background: #4d4e52;
}
.case-content .img {
    width: 100%;
    position: relative;
    display: inline-block;
}
.case-content .img img{
    width: 100%;
}
.case-content .img h6 {
    position: absolute;
    left: 50%;
    bottom: -23px;
    transform: translateX(-50%);
    padding: 5px;
    width: 230px;
    border-radius: 40px;
    z-index: 1;
    text-align: center;
    color: #fff;
    background: #4d4e52;
    font-family: 'NanumSquare', san-serif;
    font-weight: 700;
    font-size: 20px;
}

h6.case-tit {
    margin: 120px auto 20px auto;
    padding: 5px 20px;
    width: 170px;
    border-radius: 40px;
    z-index: 1;
    text-align: center;
    color: #fff;
    background: #022859;
    font-family: 'NanumSquare', san-serif;
    font-weight: 700;
}

h6.case-tit:first-of-type{
    margin: 20px auto;
}

.case-content .img h6.case-bf-tit {
    background: #4d4e52;
}
.case-content .img h6.case-af-tit {
    background: #022859;
}

@media(max-width:769px) {
    .case-content .img h6{
        width: 35vw;
        font-size: 14px;
    }
}

.bd-tit {
    padding: 15px 10px;
    text-align: center;
    margin-top: 40px;
    color: #fff;
    background: #022859;
    font-weight: 900;
    font-family: 'NanumSquare', san-serif;
}
.zoom-wrap {
    overflow: hidden;
    position: relative;
}
.zoom {
    transform: scale(1.12);
    transition: transform 0.8s ease-in-out;
    width: 100%;
}
.zoom.active {
    transform: scale(1);
    transition: transform 2.4s ease-in-out;
}

.bg-animation {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}



/* info-map */
.info-map{
    background-color: #f0f4f9;
}
.info-map h4.info-map-title-con {
    font-size: 20px;
    font-weight: 800;
    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;
}
.info-map .info-map-sub {
  font-size: 24px;
  font-weight: 800;
}
.info-map h2.info-map-sub{
  font-weight: 800;
}
.info-map-sub .info-time {
  display: flex;
  gap: 30px;
}
.info-map-sub .info-time li:nth-child(1) {
  width: 20%;
}
.info-map-category .info-map-category-box{
  text-align: left;
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 20px;
  margin: 10px;
}
.info-map-category .info-map-category-box p {
  font-size: 18px;
}
.info-map-category .info-map-category-box strong {
  font-weight: 800;
  font-size: 28px;
  color: #022859;
}
.info-map-category .info-map-category-box .info-map-category-box-con > div{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  height: 170px;
}
.info-map-category .info-map-category-box .info-map-category-box-con > div:first-child{
  border-bottom: 1px solid #00000010;
}

.info-map-category .info-map-category-block:nth-child(1){
  width: 50%;
}
.info-map-category .info-map-category-block:nth-child(2){
  width: 50%
}
.info-map-category .info-map-category-block:nth-child(2)
.info-map-category-box
.info-map-category-box-con
> div:first-child{
  border-bottom: 1px solid #ffffff10;
}
.info-map-category .info-map-category-block:nth-child(2)
.info-map-category-box
.info-map-category-box-con:last-child
> div:first-child {
  border-bottom: 1px solid #ffffff67;
}
.info-map-category .info-map-category-block:nth-child(2)
.info-map-category-box{
  background-color: #022859;
  color: #fff;
}
.info-map-category .info-map-category-block:nth-child(2)
.info-map-category-box strong {
  color: #fff;
}

@media(max-width:1200px) {
  .info-map .info-map-sub{
    font-size: 20px;
  }
  .info-map-btn a{
    font-size: 18px;
    padding: 8px;
  }
}
@media(max-width:769px) {

  .info-map-btn {
    max-width: 100%;
  }

  .info-map-btn a{
    font-size: 18px;
    padding: 2px;
  }

  .info-map .info-map-sub{
    font-size: 18px;
  }
  .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;
  }
  .info-map-category .info-map-category-block:nth-child(1) {
    width: 100%;
  }
  .info-map-category .info-map-category-block:nth-child(2) {
    width: 100%;
  }
}

/* sub-common */
.sub1-common{
    padding-bottom: 120px;
    color: #fff;
    background-color: #000;
}

/* sub2-1 */
.sub2-1-banner .bg-animation {
    background: url(../img/sub/sub2-1-banner.jpg) center/cover no-repeat;
}

.aes02-area1 .basic-box {
    margin-top: 40px;
}
.aes02-area1 .basic-box h3 {
    margin-bottom: 20px;
    /* color: #f1f1f1; */
}
.aes02-area1 .basic-box .img {
    display: inline-block;
    position: relative;
}
.aes02-area1 .basic-box .img::before {
    position: absolute;
    content: '';
    left: -20px;
    top: -20px;
    width: 100%;
    height: 100%;
    background: #4e9e9a;
    z-index: -1;
}
@media screen and (max-width: 769px) {

    .aes02-area1 .basic-box h3 {
        margin-bottom: 0;
    }
    .aes02-area1 .basic-box .img::before {
        left: -10px;
        top: -10px;
        border-radius: 20px;
    }
    .aes02-area2.bg-gray {
        padding: 80px 0;
    }
    .aes02-area2 .bg-animation {
        background-position-x: -250px;
    }
}

@media screen and (max-width: 480px) {
    .aes02-area1 .basic-box {
        margin-top: 20px;
    }
    .aes02-area1 .basic-box .img {
        max-width: 300px;
    }
    .aes02-area1 .basic-box .img::before {
        left: -8px;
        top: -8px;
        border-radius: 10px;
    }
    .aes02-area1 .basic-box .img img {
        max-width: 100%;
    }
    .aes02-area2.bg-gray {
        padding: 60px 0;
    }
    .aes02-area2 ul.flex > li:last-child {
        height: 180px;
    }
    .aes02-area4 ul.flex .txt .mid {
        height: 150px;
        padding: 20px 10px;
    }
}

.basic02-area1::before {
    display: none;
}
.basic02-area1 .table-scroll {
    overflow-x: auto !important;
}
.basic02-area1 table td .img img {
    width: 100%;
}
.basic02-area1 table td p {
    white-space: pre-line;
}
.basic02-area1 table thead tr:first-child td {
    padding: 0;
    border: 0 !important;
}
.basic02-area1 table tbody td:nth-child(2) p {
    font-weight: 700;
}
.basic02-area4::before {
    position: absolute;
    content: '';
    left: -30px;
    bottom: -120px;
    width: 523px;
    height: 580px;
    background: url(../img/sub/basic02_12.png) center/cover no-repeat;
}
.basic02-area4 .imp02-tit {
    max-width: 1000px;
    margin: 40px auto 0;
}
.basic02-area4 .imp02-tit h5 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 25px;
}
.basic02-area4 .imp02-tit h5::before {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #b08f51;;
}
.basic02-area5.bg-gray {
    padding: 0;
    color: #fff;
}
.basic02-area5 .bg-animation {
    background: url(../img/sub/basic02_13.jpg) center/cover no-repeat;
}
.basic02-area5 .middle-title {
    padding: 200px 0 180px;
}

.imp01-area4 .zirconia table {
    width: 100%;
}
.imp01-area4 .zirconia table td {
    padding: 20px 10px;
    border: 1px solid #b3b3b3;
    background: #fff;
    text-align: center;
    vertical-align: middle;
}
.imp01-area4 .zirconia table thead td {
    padding: 15px 10px;
}
.imp01-area4 .zirconia table thead td:first-child {
    background: #333;
    color: #fff;
}
.imp01-area4 .zirconia table thead td:last-child {
    background: #b08f51;
    color: #fff;
    border-left: 2px solid #b08f51;
    border-right: 2px solid #b08f51;
}
.imp01-area4 .zirconia table tbody td:first-child {
    background: #d5d5d5;
}
.imp01-area4 .zirconia table tbody td:last-child {
    border-left: 2px solid #b08f51;
    border-right: 2px solid #b08f51;
}
.imp01-area4 .zirconia table tbody tr:last-child td:last-child {
    border-bottom: 2px solid #b08f51;
}
.imp01-area4 .zirconia table td:last-child p {
    font-weight: 900;
}
.imp01-area4 .zirconia .middle-title {
    margin-top: 60px;
    padding: 50px 10px;
    background: #ebebeb;
}

.target-section {
    background: url(../img/sub/target-section-bg.jpg) center/cover no-repeat;
}

.target-list {
    max-width: 1000px;
    margin: 0 auto;
}
.target-list li {
    margin-top: 20px;
}
.target-list li:first-child {
    margin-top: 0;
}
.target-list li {
    color: #352722;
    border-radius: 100px;
    padding: 10px 0;
    font-size: 18px;
    text-align: center;
    position: relative;
}
.target-list li p {
    position: relative;
    z-index: 99;
    font-size: inherit;
    font-weight: 700;
}
.target-list li:nth-child(2n-1) {
    background-color: #e8edf4;
}
.target-list li:nth-child(2n) {
    background-color: #c9d4e4;
}
.target-list .red::after {
    right: 30px;
}

@media(max-width:768px) {
    .target-list li p {
        font-size: 16px;
    }
}
@media(max-width:428px) {
    .target-list li p {
        font-size: 14px;
    }
}

.imp01-area1{
    padding-bottom: 120px;
    color: #fff;
    background-color: #000;
    background: url(../img/sub/imp01-area1_bg.jpg) top/cover no-repeat;
    background-attachment: fixed;
}

.imp01-area1 ul.flex .txt {
    margin: 0 0 0 30px;
}
.imp01-area1 ul.flex .middle-title {
    text-align: left;
    margin-bottom: 0;
}
.imp01-area1 ul.flex:nth-child(2n) {
    flex-direction: row-reverse;
}
.imp01-area1 ul.flex:nth-child(2n) .txt {
    margin: 0 30px 0 0;
}
.imp01-area1 ul.flex:nth-child(2n) .middle-title {
    text-align: right;
}
.imp01-area2 article {
    position: relative;
    border: 1px solid #898888;
}
.imp01-area2 article:not(:first-child) {
    margin-top: 80px;
}
.imp01-area2 article::before {
    position: absolute;
    content: attr(data-num);
    left: 10px;
    top: 10px;
    font-weight: 900;
    color: #ff9e375a;
    font-size: 68px;
    line-height: 1;
    z-index: 1;
}
.imp01-area2 ul.flex {
    padding: 20px 10px;
    background: #313131;
    color: #fff;
}
.imp01-area2 ul.flex h2 {
    display: none;
}
.imp01-area2 ul.flex .tit {
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
}
.imp01-area3 ul.flex .tit {
    padding: 20px 10px;
    background: #ff9f37;
}
.imp01-area3 ul.flex .tit h6 {
    white-space: pre-line;
    color: #fff;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
}
.imp01-area3 ul.flex .sub {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    line-height: 1.9;
    border: 1px solid #00a6b2;
    padding: 20px 5px;
}
.sp5-area3 ul.flex {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.sp5-area3 ul.flex:not(:first-child) {
    margin-top: 40px;
}
.sp5-area3 ul.flex > li:last-child > div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp5-area3 ul.flex .txt {
    width: 300px;
}
.sp5-area3 ul.flex .txt p {
    font-size: 20px;
}
.sp5-area3 ul.flex .txt h6 {
    color: #00a6b2;
    font-weight: 900;
    font-family: 'NanumSquare', san-serif;
}
.sp5-area3 .notice {
    color: #8c8c8c;
}
.sp5-area3 .notice ul {
    margin-top: 10px;
}
.sp5-area3 .notice ul li p {
    position: relative;
    padding-left: 20px;
}
.sp5-area3 .notice ul li p::before {
    position: absolute;
    content: attr(data-num);
    left: 0;
    top: 0;
    font-size: 1em;
}
.imp01-area5.bg-gray {
    background: #f2feff;
}
.imp01-area5 .guarantee {
    position: relative;
    max-width: 815px;
    margin: 0 auto;
}
.imp01-area5 .guarantee img {
    position: relative;
}
.imp01-area5 .guarantee::before {
    position: absolute;
    content: '';
    left: -110px;
    bottom: -65px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #00a6b2;
}
.imp01-area5 .box {
    margin-top: 80px;
}
.imp01-area5 .box ul.flex > li > div {
    padding: 10px;
    background: #fff;
    border: 1px solid #dfdfdf;
}
.imp01-area5 .box ul.flex h6 {
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
}
.imp01-area5 .brand {
    margin-top: 80px;
    padding: 0 10px 20px 10px;
    border: 1px solid #dfdfdf;
    background: #fff;
}
.imp01-area5 .brand ul.flex .img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}
.imp01-area5 .brand ul.flex h6 {
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
}
.imp01-area7 {
    color: #fff;
}

.imp01-area7 ul.flex {
    margin-top: 80px;
}
.imp01-area7 .circle-box > div > div {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    background: none !important;
    border: 1px solid #fff !important;
}
.imp01-area7 .circle-box b {
    display: inline-block;
    margin-top: 10px;
    line-height: 1.3;
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .imp01-area1 ul.flex {
        max-width: 500px;
        margin: 0 auto;
    }
    .imp01-area1 ul.flex:not(:first-child) {
        margin-top: 50px;
    }
    .imp01-area1 ul.flex .txt {
        margin: 15px 0 0 15px;
    }
    .imp01-area1 ul.flex:nth-child(2n) .txt {
        margin: 15px 15px 0 0;
    }
    .imp01-area2 article::before {
        display: none;
    }
    .imp01-area2 ul.flex {
        padding: 0 10px 20px;
    }
    .imp01-area2 ul.flex > li {
        text-align: center;
    }
    .imp01-area2 ul.flex h2 {
        display: block;
        font-weight: 900;
        color: #fff;
        font-size: 60px;
    }
    .imp01-area3 ul.flex .sub {
        height: auto;
    }
    .sp5-area3 ul.flex > li:first-child > div {
        padding: 50px 0;
    }
    .sp5-area3 ul.flex .txt p {
        font-size: 18px;
    }
    .imp01-area5 .brand ul.flex .img {
        height: 115px;
    }
    .imp01-area7 ul.flex {
        
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    .sp5-area3 ul.flex:not(:first-child) {
        margin-top: 20px;
    }
    .imp01-area5 .brand ul.flex .img {
        height: 90px;
    }
}
@media screen and (max-width: 480px) {
    .sp5-area3 ul.flex > li:first-child > div {
        padding: 25px 0 0;
    }
    .sp5-area3 ul.flex .txt {
        padding-bottom: 25px;
        width: 100%;
        text-align: center;
    }
    .imp01-area5 .box {
        margin-top: 40px;
    }
    .imp01-area5 .box ul.flex > li > div {
        margin: 3px;
    }
    .imp01-area5 .box ul.flex h6 {
        font-size: 17px;
    }
    .imp01-area5 .brand {
        padding: 30px 10px;
    }
    .imp01-area5 .brand ul.flex > li:nth-child(2) > div {
        padding: 20px 0;
        margin: 20px 0;
        border-top: 1px solid #dfdfdf;
        border-bottom: 1px solid #dfdfdf;
    }
    .imp01-area5 .brand ul.flex .img {
        height: auto;
    }
    .imp01-area5 .brand ul.flex h6 {
        margin-top: 20px;
    }
}

/* sub2-2 */
.sub2-2-banner .bg-animation {
    background: url(../img/sub/sub2-2-banner.jpg) center/cover no-repeat;
}

/* sub2-3 */
.sp4-area1 h6{
    margin: 8px 0;
    font-weight: 800;
    color: #4e9e9a;
}   


/* sub2-4 */
.progress-ring-circle {
    transition: 2.4s stroke-dashoffset;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.sp3-area1.bg-gray {
    padding: 80px 0;
    color: #fff;
}
.sp3-area1 .bg-animation {
    background: url(../img/sub/special03_bg1.jpg) center/cover no-repeat;
}
.sp3-area1 .middle-title h2 {
    font-weight: 300;
}
.sp3-area1 ul.flex {
    max-width: 600px;
    margin: 0 auto;
}
.sp3-area1 ul.flex > li:first-child > div {
    margin-right: 40px;
}
.sp3-area1 ul.flex > li:last-child > div {
    margin-left: 40px;
}
.sp3-area1 ul.flex article {
    position: relative;
}
.sp3-area1 ul.flex h4 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    line-height: 1;
    font-weight: 400;
    font-family: 'NanumSquare', san-serif;
}
.sp3-area1 ul.flex h4 span {
    font-size: 1.5em;
}
.sp3-area2 ul.flex .num::before {
    margin: 20px auto 10px;
}
.sp3-area2 ul.flex .sub {
    line-height: 1.5;
    font-weight: 900;
}
.sp3-area2 ul.flex .sub span {
    color: #4e9e9a;
}
.sp3-area3.bg-gray {
    padding: 40px 0;
    background: #23305b;
    color: #fff;
}
.sp3-area3 ul.flex img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.sp3-area4 ul.flex p span {
    display: inline-block;
    margin-top: 15px;
}
.sp3-area5.bg-gray {
    background: #fff;
    padding: 0;
}
.sp3-area5 .bg-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: url(../img/sub/special03_bg2.jpg) center/cover no-repeat;
}
.sp3-area5 .middle-title {
    text-align: left;
    margin: 40px 0 0;
}


/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .sp3-area1 ul.flex > li > div {
        margin: 0 !important;
    }
    .sp3-area1 .progress-ring {
        width: 220px;
        height: 220px;
    }
    .sp3-area3.bg-gray {
        margin-top: 0;
    }
    .sp3-area3 ul.flex {
        flex-direction: column-reverse;
        max-width: 500px;
        margin: 0 auto;
    }
    .sp3-area3 ul.flex img {
        position: static;
        transform: none;
    }
    .sp3-area4.mt40 {
        margin-top: 0 !important;
    }
    .sp3-area4 ul.flex {
        max-width: 500px;
        margin: 0 auto;
    }
    .sp3-area5 .bg-img {
        height: 100%;
    }
    .sp3-area5 ul.flex > li > div {
        text-align: center;
    }
    .sp3-area5 ul.flex .middle-title {
        margin: 60px auto 30px;
        text-align: center;
    }
    .sp3-area5 ul.flex img {
        max-width: 250px;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    .sp3-area1 .bg-animation {
        background-position-x: -450px;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 480px) {
    .sp3-area1 .bg-animation {
        background-position-x: -350px;
    }
    .sp3-area1 .progress-ring {
        width: 150px;
        height: 150px;
    }
}



/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .sp1-tit h2 {
        font-size: 60px;
    }
    .sp1-area1 .inner {
        padding: 0 20px;
    }
    .sp1-area3 ul.flex {
        flex-direction: column-reverse;
        max-width: 500px;
        margin: 0 auto;
    }
    .sp1-area3 ul:nth-of-type(2n) {
        flex-direction: column-reverse;
    }
    .sp1-area4 .inner,
    .sp1-area5 .inner {
        max-width: 500px;
        margin: 0 auto;
    }
    .sp1-area5 {
        margin-bottom: 80px;
    }
    .sp1-area5 .bg-img {
        left: -100px;
    }
    .sp1-area5 ul.flex {
        flex-direction: row-reverse;
    }
    .sp1-area5 ul.flex > li:first-child {
        width: 100%;
    }
    .sp1-area5 ul.flex > li:not(:first-child) {
        width: 50%;
    }
    .sp1-area5 ul.flex .txt > div {
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 480px) {
    .sp1-tit h2 {
        font-size: 50px;
    }
    .sp1-area1 {
        padding: 30px 0 !important;
    }
    .sp1-area1 .bg-animation {
        background: url(../img/sub/special01_bg1m.jpg) center/cover no-repeat;
    }
    .sp1-area1 ul.flex > li:last-child {
        height: 285px;
    }
    .sp1-area2.bg-gray {
        padding: 30px 0;
    }
    .sp1-area4 ul.flex h6 {
        padding: 10px 5px;
        font-size: 17px;
    }
    .sp1-area5 .bg-img {
        max-width: 180px;
        left: -35px;
    }
    .sp1-area5 ul.flex:not(:nth-child(2)) {
        margin-top: 80px;
    }
    .sp1-area5 ul.flex p {
        line-height: 1.4;
    }
    .sp1-area5 ul.flex p span {
        font-size: 1.1em;
    }
}

/* sub2-5 */
    .sub2-5-box {
        display: inline-block;
        border: 2px solid #4e9e9a;
        border-radius: 15px;
        text-align: center;
        padding: 20px 40px;
        box-shadow: 10px 10px 13px 0px rgba(0,0,0,0.11);
    }

    .sub2-5-box > p {
        font-size: 20px;
        font-weight: 700;
    }

    @media(max-width:769px) {
        .sub2-5-box > p {
            font-size: 16px;
        }
    }

    
    /* main04소스 */
    .main04 {
      padding: 120px 0 !important;
      position: relative;
      margin-top: 120px;

      background-color: #8ea6c9;
      color: #fff;
    }

    .main04 p {
      font-size: 24px;
    }

    .main04-box {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .main04-img-box{
      background-color: #fff;
    }

    @media(max-width:769px) {
      .main04 p {
        font-size: 16px;
      }
    }

    @media(max-width:429px) {
      .main04 .main04-sub{
        text-align: center;
        gap: 20px;
      }
      .main04 p {
        font-size: 16px;
      }
    }

    /* 박스 간 간격 및 레이아웃 */
.sub2-5-when {
    box-sizing: border-box;
}

.sub2-5-when > li {
    box-sizing: border-box;
}

.sub2-5-when-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 10px;
    height: 100%;
}

/* 상단 흰색 박스 */
.sub2-5-when-top {
    background-color: #ffffff;
    border: 2px solid #4e9e9a;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px;
}

.sub2-5-when-top strong {
    display: block;
    color: #4b9491;
    padding-bottom: 10px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.sub2-5-when-top .sub {
    display: block;
    color: #222222;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* 하단 청록색 박스 */
.sub2-5-when-bottom {
    background-color: #4e9e9a;
    border-radius: 12px;
    padding: 40px 24px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px;
}

.sub2-5-when-bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.3px;
    word-break: keep-all;
}

/* 반응형 (모바일) 대응 */
@media (max-width: 768px) {
    .sub2-5-when {
        flex-direction: column;
    }
    
    .sub2-5-when-top {
        padding: 18px 14px;
    }

    .sub2-5-when-top strong {
        font-size: 22px;
    }

    .sub2-5-when-top .sub {
        font-size: 16px;
    }

    .sub2-5-when-bottom {
        padding: 30px 18px;
    }

    .sub2-5-when-bottom p {
        font-size: 15px;
    }
}


/* quick-btn */
.quick-btn-card-con .quick-btn-card {
  margin: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}
.quick-btn-card-con .quick-btn-card:hover {
  transform: translateY(-10px);
  filter: brightness(1.1);
}
.quick-btn-card-con .quick-btn-card > div:nth-child(1) {
  position: relative;
  border-radius: 20px;
}
.quick-btn-card-con .quick-btn-card > div:nth-child(1) img {
  border-radius: 20px;
}
.quick-btn-card-con .quick-btn-card > div:nth-child(1) strong {
  color: #fff;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 220px;
  transform: translate(-50%, 50%);
  font-size: 20px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 28px;
  white-space: nowrap;
}

.quick-btn-card-con strong {
    background-color: #465585;
}

.quick-btn-card-con .quick-btn-card > div:nth-child(2) {
  text-align: center;
  width: 100%;
  min-height: 135px;
  padding: 50px 20px 20px 20px;
  border-radius: 20px;
  box-shadow: 9px 10px 21px -3px #59595940;
  background-color: #fff;
  color: #000;
}
@media(max-width:1200px) {
  .quick-btn-card-con .quick-btn-card > div:nth-child(1) img {
    border-radius: 10px;
  }
  .quick-btn-card-con .quick-btn-card > div:nth-child(2) {
    border-radius: 10px;
  }

  .quick-btn-card-con .quick-btn-card > div:nth-child(1) strong {
    font-size: 18px;
    width: auto;
  }
}

@media(max-width:769px) {
  .quick-btn-card-con .quick-btn-card > div:nth-child(2) {
    padding: 40px 20px 20px 20px;
    height: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media(max-width:429px) {
  .quick-btn-card-con .quick-btn-card > div:nth-child(1) strong{
    font-size: 18px;
    padding: 4px 10px;
  }
  .quick-btn-card-con .quick-btn-card > div:nth-child(2) {
    padding: 40px 10px 20px 10px;
    min-height: 100px;
  }
}

/* 컨테이너 기본 스타일 */
.sub2-5-need-box {
  display: flex;
  box-sizing: border-box;
  border-radius: 28px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}

.sub2-5-need-box * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 좌우 컬럼 (PC 기준 1:1) */
.sub2-5-need-box__col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 헤더 공통 */
.sub2-5-need-box__header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

/* 본문 영역 공통 */
.sub2-5-need-box__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

/* 리스트 스타일 */
.sub2-5-need-box__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sub2-5-need-box__item {
  position: relative;
  padding-left: 18px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #222222;
}

/* 불릿 포인트(점) 커스텀 */
.sub2-5-need-box__item::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* --- 왼쪽(회색) 테마 --- */
.sub2-5-need-box__col--gray {
  background-color: #f2f2f2;
}

.sub2-5-need-box__col--gray .sub2-5-need-box__header {
  background-color: #d3d3d3;
  color: #222222;
}

.sub2-5-need-box__col--gray .sub2-5-need-box__item::before {
  color: #adb5bd;
}

/* --- 오른쪽(민트/청록) 테마 --- */
.sub2-5-need-box__col--teal {
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    background-color: #e9f7fa;
    box-sizing: border-box;
    border: 2px solid #b3d0d6;
}

.sub2-5-need-box__col--teal .sub2-5-need-box__header {
    height: 58px;
  background-color: #4e9e9a;
  color: #ffffff;
}

.sub2-5-need-box__col--teal .sub2-5-need-box__item::before {
  color: #64b5b4;
}


/* ===================================================
   모바일 반응형 (768px 이하)
=================================================== */
@media (max-width: 768px) {
    .sub2-5-need-box__col--teal {
        border-radius: 0 0 28px 28px;
    }

  .sub2-5-need-box {
    flex-direction: column;
    border-radius: 20px;
  }

  .sub2-5-need-box__header {
    height: 52px;
    font-size: 17px;
  }

  .sub2-5-need-box__body {
    padding: 30px 20px;
  }

  .sub2-5-need-box__list {
    gap: 13px;
  }

  .sub2-5-need-box__item {
    font-size: 16px;
    padding-left: 14px;
  }

  .sub2-5-need-box__item::before {
    font-size: 20px;
  }
}

.sub2-5-banner {
    margin: 120px 0;
    padding: 120px 0;
    color: #fff;
}

.sub2-5-banner .bg-animation {
    background: url(../img/sub/sub2-5-banner.jpg) center/cover no-repeat;
}

@media(max-width:769px) {
    .sub2-5-banner {
        margin: 80px 0;
        padding: 80px 0;
    }
}

/* sub-case 케이스(Before/After) - 범어지니어스치과 sub3_1 before-after 구조 이식 */

.sub-case {
    background-color: #f3f6f9;
    margin-top: 120px;
    padding-bottom: 120px;
}

/* 카테고리 라벨 - 범어지니어스치과 .symptom-section a(더보기 버튼) 스타일에서 링크 기능만 빼고 색 변경 */
.sub-case-label {
    display: block;
    max-width: 260px;
    margin: 80px auto 30px;
    padding: 4px 10px;
    border: 2px solid #4e9e9a;
    border-radius: 10px;
    color: #4e9e9a;
    font-weight: 500;
    font-size: 24px;
    text-align: center;
}

.sub-case-label:first-of-type {
    margin-top: 0;
}

.sub-case-before-after {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sub-case-before-after + .sub-case-before-after {
    margin-top: 80px;
}

.sub-case-before-after li {
    margin-left: 40px;
}

.sub-case-before-after li:first-child {
    margin-left: 0;
}

.sub-case-before-after li > p,
.sub-case-no-member p {
    padding: 20px 0;
    text-align: center;
    font-weight: 500;
    font-size: 30px;
    color: #fff;
}

.sub-case-before-after li:first-child > p {
    background-color: #313131;
}

.sub-case-before-after li:last-child > p {
    background-color: #4e9e9a;
}

.sub-case-symptom-ba {
    position: relative;
}

.sub-case-symptom-ba .sub-case-no-member {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sub-case-symptom-ba .sub-case-no-member p {
    background-color: rgba(0,0,0,0);
}

@media (max-width: 768px) {
    .sub-case {
        margin-top: 80px;
        padding-bottom: 80px;
    }
    .sub-case-label {
        margin: 60px auto 20px;
        font-size: 18px;
        padding: 6px 10px;
    }
    .sub-case-label:first-of-type {
        margin-top: 0;
    }
    .sub-case-before-after {
        display: block;
    }
    .sub-case-before-after + .sub-case-before-after {
        margin-top: 50px;
    }
    .sub-case-before-after img {
        width: 100%;
    }
    .sub-case-before-after li {
        margin-left: 0;
        margin-top: 30px;
    }
    .sub-case-before-after li:first-child {
        margin-top: 0;
    }
    .sub-case-before-after li > p,
    .sub-case-no-member p {
        font-size: 18px;
    }
}

@media (max-width: 425px) {
    .sub-case {
        margin-top: 60px;
        padding-bottom: 60px;
    }
}

/* sub3-1 (circle-icon이 li에 직접 적용되는 경우 전용 - sub5-3 root-canal의 ul.circle-icon과 겹치지 않도록 li로 한정) */


li.circle-icon {border-radius: 50%; border: 2px solid #f5f5f5; height: 100%; width: 100%;}
li.circle-icon * {margin: 0 auto; text-align: center;}
li.circle-icon::after {content: ''; display: block; padding-bottom: 100%;}
li.circle-icon div {position: absolute; top: 50%; transform: translate(-50%, -50%); left: 50%; height: 50%; width: 100%; display: flex; flex-direction: column; justify-content: center;}
li.circle-icon p {text-align: center; white-space: pre-line; line-height: 1.2; margin-top: 5%;}


.col-2, .col-3, .col-4, .col-5 {display: flex; flex-wrap: wrap; width: 100%; }
.col-2 li, .col-3 li, .col-4 li, .col-5 li {position: relative; margin-left: 2%; flex: 0 0 auto; width: 100%;}
.col-2 li {width: calc(50% - 2%);}
.col-4 li {width: calc(25% - 2%);}
.col-3 li, .col-5 li {width: calc(33.3% - 2%);}
.col-2 li:first-child, .col-2 li:nth-child(3), .col-2 li:nth-child(5),
.col-3 li:first-child, .col-3 li:nth-child(4), .col-3 li:nth-child(7),
.col-4 li:first-child, .col-4 li:nth-child(5),
.col-5 li:first-child, .col-5 li:nth-child(4) {margin-left: 0;}
.col-2 li:nth-child(3), .col-2 li:nth-child(4), .col-2 li:nth-child(5),
.col-3 li:nth-child(4), .col-3 li:nth-child(5), .col-3 li:nth-child(6), .col-3 li:nth-child(7), .col-3 li:nth-child(8), .col-3 li:nth-child(9),
.col-4 li:nth-child(5), .col-4 li:nth-child(6), .col-4 li:nth-child(7), .col-4 li:nth-child(8),
.col-5 li:nth-child(4), .col-5 li:nth-child(5), .col-5 li:nth-child(6), .col-5 li:nth-child(7), .col-5 li:nth-child(8), .col-5 li:nth-child(9) {margin-top: 3%;}
.col-2 li h5, .col-3 li h5, .col-4 li h5, .col-5 li h5 {margin: 3% 0 2% 0; font-weight: 700;}


.line-list {text-align: center;}
.line-list .num::before {position: absolute; top: 0; left: 0;}
.circle-list {text-align: center;}
.line-list li h5, .circle-list li h5, .circle-list li p {white-space: pre-line;}


/* =========== ortho-age =========== */
.ortho-age {display: flex;}
.ortho-age li {margin-left: 2%;}
.ortho-age li:first-child {margin-left: 0;}

.age-box {display: flex; align-items: center; margin-top: 3%;}
.age-box ul {width: 100%; height: 100%;}
.age-box .line-box {max-width: 100%;}
.age-box .line-box li > div {border: none; padding: 3% 3% 3% 5%;}


/* =========== ortho-retainer =========== */
.retainer * {text-align: center;}
.retainer li {background-color: #ffffff; padding: 6% 0;  border: 2px solid #4e9e9a; box-shadow: 10px 10px 13px 0px rgba(0,0,0,0.11);}
.retainer li h5:last-of-type::before {content: ''; width: 40px; background-color: #4e9e9a; height: 3px; display: block; margin: 3% auto 3%;}


/* 배경색 타이틀 */
.bg-tit {display: inline-block; padding: 4px 28px; margin: 0 auto; background: linear-gradient(to right, #1f3d74, #4067aa); color: #fff;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {display: inline-block; padding: 8px 42px; margin: 0 auto; border-radius: 40px; background: linear-gradient(to right, #1f3d74, #4067aa); color: #fff;}


/* 자세히 보기 버튼 */
.detail-btn a {position: relative; display: inline-block; margin-top: 20px; padding: 12px 30px; border: 1px solid #333; font-size: 15px; font-weight: 700; transition: 0.4s ease-in-out;}
.detail-btn a::before {content: ""; position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: #327cbd; transition: 0.4s ease-in-out; z-index: -1;}
.detail-btn a:hover::before {width: 100%;}
.detail-btn a:hover {color: #fff; border: 1px solid #327cbd;}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width:1500px) {

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
#wrapper {margin-top: 54px;}

}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {
/* =========== ortho-age (템플릿 포팅) =========== */
.age-box {display: block;}
.age-box .col-3 {display: flex; justify-content: flex-start;}
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
/* 테이블 스타일 */
.table-scroll {overflow-x: scroll; overflow-y: hidden; max-width: 100%;}
.table-scroll::-webkit-scrollbar {width: 12px;}
.table-scroll::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); border-radius: 5px; background-color: rgba(220, 220, 220, 0.3);}
.table-scroll::-webkit-scrollbar-thumb {background-clip: padding-box; border-radius: 5px; background-color: #516371; border: 2px solid transparent;}
.table-wrap table {min-width: 900px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 15px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
section:last-of-type {padding-bottom: 80px;}

.res-bg{padding: 80px 0 !important;}

/* 숫자 스타일 */
.num::before {margin: 10px auto 0; width: 40px; height: 40px;}
.num-list .num::before {margin: 0 10px 0 0;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 15px;}
.photo-table table thead tr:last-of-type td {font-size: 18px;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {display: block; text-align: center;}
.basic-box:not(:first-of-type) {margin-top: 40px;}
.basic-box li:last-child {margin-left: 0; margin-top: 20px;}
.basic-box li h5 {margin: 20px 0 10px !important;}
.basic-box li img {border-radius: 20px; max-width: 500px; width: 100%;}
.basic-box.line li h5::before {left: 50%; transform: translateX(-50%);}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 8px;}
.line-box li > div {height: auto !important;}


/* 그리드 레이아웃 / 원형·라인 리스트 (템플릿 ortho 포팅) */
.col-3 {display: block;}
.col-3 li, .col-3 li:first-child, .col-3 li:nth-child(4), .col-3 li:nth-child(7) {max-width: 425px; margin: 0 auto 6%; width: 100%;}
.col-4 li {width: calc(50% - 2%);}
.col-4 li:nth-child(3), .col-4 li:nth-child(7) {margin-left: 0;}
.col-3 li:nth-child(4), .col-3 li:nth-child(5), .col-3 li:nth-child(6), .col-3 li:nth-child(7), .col-3 li:nth-child(8), .col-3 li:nth-child(9),
.col-4 li:nth-child(3), .col-4 li:nth-child(4), .col-4 li:nth-child(5), .col-4 li:nth-child(6), .col-4 li:nth-child(7), .col-4 li:nth-child(8) {margin-top: 3%;}

.line-list li img {width: 100%;}
.line-list .num::before {margin: 0;}

li.circle-icon {max-width: 250px;}
li.circle-icon img {max-width: 50%;}

.circle-wrap {display: flex;}
.circle-wrap li, .circle-wrap li:first-child {width: calc(33.3% - 2%);}
.circle-wrap li img, .circle-wrap li:first-child img {max-width: 40%;}

.circle-list.col-4 li img {width: 80%;}
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {

}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:480px) {
#wrapper {margin-top: 54px;}
section:last-of-type {padding-bottom: 60px;}

/* .link {top: -60px;} */
.res-bg{padding: 50px 0 !important;}
.stick .flex > li > div.m10{margin: 5px;}
.title-num{font-size: 20px; width: 45px; height: 45px;}


/* 숫자 스타일 */
.num::before {width: 35px; height: 35px; font-size: 17px; margin: 0 auto;}
.num-list .num {display: flex; align-items: center; margin-bottom: 0; padding-left: 40px;}
.num-list .num:not(:first-child) {margin-top: 20px;}
.num-list .num::before {width: 30px; height: 30px; margin: 0 auto; font-size: 16px;}


/* 미들 타이틀 (작은 타이틀) */
.middle-title{margin-bottom: 20px;}
.middle-title p{margin-top: 10px;}
.middle-title > span.num::before {margin: 0 auto 10px;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box li img {border-radius: 10px; max-width: 70%;}
.basic-box li h5 {margin: 15px 0 10px !important; line-height: 1.4;}


/* 원 안에 아이콘 없는 박스 */
.circle-box > div {margin: 5px !important;}
.circle-box h5 {font-size: 15px;}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 5px;}
.line-box li > div {padding: 25px 20px 30px 25px;}
.line-box li h5 {padding-bottom: 5px; margin-bottom: 10px;}


/* 그리드 레이아웃 / ortho-retainer (템플릿 ortho 포팅) */
.col-2 {display: block;}
.col-2 li {width: 100%; margin-left: 0;}
.col-5 li {width: calc(50% - 2%); margin-left: 0;}
.col-5 li:nth-child(2), .col-5 li:nth-child(4), .col-5 li:nth-child(6), .col-5 li:nth-child(8) {margin-left: 2%;}
.col-2 li:nth-child(2), .col-5 li:nth-child(3), .col-5 li:nth-child(4), .col-5 li:nth-child(5) {margin-top: 3%;}
.col-2 li p, .col-5 li p {white-space: pre-line;}
.col-2 li p br, .col-5 li p br {display: none;}

.retainer li h5:last-of-type::before {width: 20px;}


/* 테이블 스타일 */
.table-wrap table {min-width: 700px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 12px;}
.table-wrap .imp-icon img{max-width: 30px; margin-bottom: 5px;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 12px;}
.photo-table table tr, .photo-table table tr td {padding: 10px 5px;}
.photo-table table thead tr:last-of-type td {font-size: 15px;}


/* 배경색 타이틀 */
.bg-tit {padding: 3px 24px;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {padding: 6px 32px;}
}

/* =========== ortho-caution =========== */
.ortho-caution-area1 .basic-box > li:first-child {flex: none; padding-right: 40px;}
.ortho-caution-area1 .basic-box:nth-of-type(2n) .num::before {
    background-color: #37b0a1;
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
.ortho-caution-area1 .basic-box > li:first-child {padding: 0;}
.ortho-caution-area1 .basic-box li img {max-width: 40%;}
}


/* =========== apicoectomy (필요한 경우 리스트) =========== */
.aes05-area1.bg-gray {background: url(../img/sub/aes05_bg1.jpg) center/cover no-repeat; color: #fff;}
.aes05-area1 .list {max-width: 800px; margin: 0 auto;}
.aes05-area1 .list li {padding: 20px 10px; border: 1px solid #fff; background: rgba(0, 0, 0, 0.3); border-radius: 5px; text-align: center;}
.aes05-area1 .list li:not(:first-child) {margin-top: 20px;}

/* =========== apicoectomy / jaw-point (시술과정, step 카드) =========== */
.aes02-area4 ul.flex .img img {width: 100%;}
.aes02-area4 ul.flex .txt .top,
.aes02-area4 ul.flex .txt .btm {color: #fff; font-family: 'NanumSquare', san-serif;}
.aes02-area4 ul.flex .txt .top {padding: 5px 10px; font-weight: 800; background: #23305b;}
.aes02-area4 ul.flex .txt .mid {display: flex; align-items: center; justify-content: center; padding: 25px 10px; height: 175px; background: #ededed;}
.aes02-area4 ul.flex .txt .btm {padding: 10px; font-weight: 600; background: #b08f51; color: #fff;}

/* =========== jaw-point (턱관절 원인/증상) =========== */
.basic01-area1 ul.flex p {margin-top: 20px; line-height: 1.5; color: #b08f51;}
.basic01-area2 ul.flex .img {display: inline-block;}
.basic01-area2 ul.flex .tit {margin: 20px 0 10px;}
.basic01-area2 ul.flex > li:nth-child(n + 4):nth-child(-n + 6) {margin-top: 20px;}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
.aes05-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 4) {margin-top: 20px;}
.aes02-area4 ul.flex {max-width: 600px; margin: 0 auto;}
.aes02-area4 ul.flex > li {width: 50%;}
.aes02-area4 ul.flex .txt .mid {height: 160px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
.basic01-area1 ul.flex > li {width: 33.3%;}
.basic01-area1 ul.flex > li:nth-child(n + 4):nth-child(-n + 6) {margin-top: 30px;}
.basic01-area2 ul.flex > li {width: 50%;}
.basic01-area2 ul.flex > li:nth-child(n + 3):nth-child(-n + 6) {margin-top: 20px;}
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {
.aes05-area1 .list li:not(:first-child) {margin-top: 10px;}
}

/*================================================================ 480px 이하 ================================================================= */
@media screen and (max-width:480px) {
.aes02-area4 ul.flex .txt .mid {height: 150px; padding: 20px 10px;}
.basic01-area1 ul.flex > li:nth-child(n + 4):nth-child(-n + 6) {margin-top: 20px;}
.basic01-area2 ul.flex > li > div {margin: 5px;}
}

/*================================================================ 380px 이하 ================================================================= */
@media screen and (max-width:380px) {
.basic01-area2 ul.flex > li > div {margin: 3px;}
.basic01-area2 ul.flex p {font-size: 13px;}
}



.root-canal-area2 .circle-icon > li > div > div {border-radius: 50%; border: 2px solid #f5f5f5; width: 100%; height: 100%;}
.root-canal-area2 .circle-icon > li > div > div::after {content: ''; display: block; padding-bottom: 100%;}
.root-canal-area2 .circle-icon > li > div > div > div {position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; top: 50%; transform: translate(-50%, -50%); left: 50%; height: 50%; width: 100%;}
.root-canal-area2 .circle-icon p {margin-top: 15px; line-height: 1.4; text-align: center; white-space: pre-line;}
