/* ----------------해더_공통---------------- */
/* 
<a href="/" class="headBtn">
    <p class="wave-text">램브란트 치아교정, 진료센터</p>
    <img src="/img/inc/headArrow.png">
</a> 
*/
.headBtn {font-size: .9375rem; width: fit-content; padding: .625rem 1.25rem; background: linear-gradient(90deg, var(--pointcolor2), var(--pointcolor2), var(--pointcolor2)); border-radius: 100px; color: #fff; font-weight: 700; background-size: 1300%; animation: headBtn 40s linear infinite; display: flex; align-items: center; gap: .5rem;}
.headBtn .wave-text span {display: inline-block;}

@keyframes headBtn {
    0% {background-position: 0 50%;}
    100% {background-position: 1300% 50%;}
}

@keyframes waveUp{
    0%{
        transform:translateY(0);
    }
    40%{
        transform:translateY(-6px);
    }
    100%{
        transform:translateY(0);
    }
}

@media(min-width:991px) {
    .headBtn:hover .wave-text span {animation: waveUp .6s cubic-bezier(.25,.46,.45,.94);}
}

@media(max-width:990px) {
    .headBtn {font-size: 1.5625rem; font-weight: 500; padding: .8rem 1.5rem;}
}

.font-17 {font-size: 1.0625rem;}

/* ----------------임플란트센터_해더------------------- */
header#implant {position: fixed; left: 0; top: 0; width: 100%; z-index: 99999; color: #fff;}
header#implant .wrap {width: 97%; margin: auto; display: flex; align-items: center; justify-content: space-between}
header#implant .logo {width: 25%;}
header#implant .logo img {filter: brightness(0) invert(1); width: 11rem;}

header#implant.on {color: #191919; background: #fff;}
header#implant.on .logo img {filter: none;}

header#implant .left {display: flex; align-items: center; width: 70%;}

header#implant .gnb {width: 65%; text-align: center; display: flex; transition: width .8s ease;}
header#implant .gnb.on {width: 75%;}

header#implant li.menu {position: relative; width: calc(100% / 4); cursor: pointer; transition: color .45s ease;}
header#implant li.menu span {padding: 1.5rem 0; display: block; font-weight: 600;}
header#implant li.menu:after {position: absolute; left: 0; top: 0; height: 0%; width: 100%; background: var(--pointcolor); content: ""; z-index: -1; transition: height .6s ease;}
header#implant li.menu.on:after {height: 40rem;}
header#implant li.menu.on::before {position: absolute; left: 0; top: 4.75rem; width: 100%; height: 1px; background: rgba(255,255,255,0.1); content: "";}
header#implant li.menu.on {color: #fff;}
header#implant li.menu.on a {color: #fff;}

header#implant li.menu a {transition: color .45s ease;}
header#implant li.menu:not(.on)::after {transition: height .2s ease;}

header#implant .gnb_bg {position: absolute; left: 0; top: 0; width: 100%; height: 40rem; background: #fff; z-index: -2; display: none;}
header#implant .gnb_bg:after {position: absolute; left: 0; top: 4.75rem; background: #eeeeee; width: 100%; height: 1px; content: ""; z-index: 3;}

header#implant .lnb {position: absolute; left: 50%; transform: translateX(-50%); top: 4.75rem; width: 100%; z-index: 1; opacity: 0; visibility: hidden; font-weight: 500; transition: opacity .5s ease, transform .5s ease;}
header#implant .lnb.on {opacity: 1; visibility: visible; transform: translate(-50%,0);}
header#implant .lnb:not(.on) {transition: opacity .05s ease, transform .05s ease;}
header#implant .lnb span {font-weight: 400;}

header#implant .lnb li {margin-top: 1.5rem;}
header#implant .lnb li a {position: relative; transition: 0.3s;}
header#implant .lnb li a:hover {padding-left: 1rem;}
header#implant .lnb li a:hover:after {position: absolute; left: 0; top: 0; content: "·";}

header#implant .right {display: flex; align-items: center; justify-content: flex-end; width: 25%; gap: 1.5rem;}
header#implant.on .login img {filter: brightness(0);}

#sitemap {display: none;}

@media(max-width:990px) {
    header#implant .wrap {width: 90%;}
    header#implant .gnb.pc {display: none;}
    header#implant {height: 7.5rem; background: #fff; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eeeeee;}
    header#implant .logo img {filter: none;}
    header#implant .login img {filter: brightness(0);}
    header#implant .login.on {display: none;}
    
    .hamburger .off {width: 2.5rem;}
    .hamburger .on {display: none; width: 2rem;}
    .hamburger.on .off {display: none;}
    .hamburger.on .on {display: block;}

    #sitemap {position: fixed; left: 100%; top: 7.5rem; width: 100%; height: calc(100vh - 7.5rem); background: #fff; z-index: 11; display: block; transition: left 1s;}
    #sitemap.on {left: 0; z-index: 9999;}
    #sitemap .wrap {width: 85%; margin: 5rem auto; overflow-y: scroll; height: calc(100% - 10rem); display: flex; flex-direction: column; justify-content: space-between;}
    #sitemap .wrap::-webkit-scrollbar {display: none;}

    #sitemap .lnb {display: none;}
    #sitemap li.menu {margin-top: 3.125rem;}
    #sitemap li span {font-size: 3.75rem; font-weight: 700; width: 100%;}
    #sitemap li a {font-size: 2.1875rem; font-weight: 500; color: #999999; margin-top: 2.5rem; display: block;}

    #sitemap .infor {display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6.25rem;}
    #sitemap .tel {color: var(--pointcolor); font-weight: 800; display: flex; align-items: center; gap: .5rem; letter-spacing: -0.02em;}
    #sitemap .tel img {width: 1.75rem;}
    #sitemap .login {display: flex; align-items: center; gap: 5rem; font-weight: 500;}
    #sitemap .login a {position: relative;}
    #sitemap .login a:after {position: absolute; right: -2.25rem; top: 50%; transform: translateY( -50%); width: 1px; height: 55%; content: ""; background: #c9c9c9;}
    #sitemap .login a:nth-child(2):after {display: none;}
}

@media(max-width:1440px) {
    header#implant .gnb {width: 60%;}
    header#implant .left {width: 75%;}
}

@media(max-width:1024px) {
    header#implant .logo {width: auto;}
    header#implant .logo img {width: 13rem;}
}

@media(max-width:500px) {
    #sitemap .login {gap: 3rem;}
    #sitemap .login a:after {right: -1.5rem;}
}

@media(max-width:360px) {
        #sitemap .infor {flex-wrap: wrap; gap: 1.5rem;}
}

/* 퀵메뉴 */
#quick {position: fixed; right: 1.5%; bottom: 5%; z-index: 10; display: flex; align-items: flex-end; flex-direction: column;}
#quick .wrap {font-size: .9375rem; font-weight: 500;}
#quick a {display: flex; align-items: center; justify-content: center; gap: .5rem; width: 9.25rem; background: #fff; border-radius: 100px; border: 1px solid var(--pointcolor); padding: .625rem; margin-top: .5rem; transition: 0.3s;}
#quick a img {width: 1.125rem;}
#quick a:hover {background: var(--pointcolor); color: #fff;}
#quick a:hover img {filter: brightness(0) invert(1);}

#quick .cir {width: 4rem; height: 4rem; border-radius: 50%; margin-top: .8rem;}
#quick .quickBtn {background: var(--pointcolor); overflow: hidden; position: relative; cursor: pointer;}
#quick .quickBtn {display: flex; align-items: center; justify-content: center;}
#quick .quickBtn:after {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); content: ""; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 0%, transparent 20%, rgba(67, 109, 144, 0.4) 60%, rgba(67, 109, 144, 0.4) 100%)}

#quick .quickBtn div {position: relative; z-index: 1;}
#quick .quickBtn .off {display: flex; align-items: center; justify-content: center; gap: .25rem; display: none;}
#quick .quickBtn .off span {width: 5px; aspect-ratio: 1/1; background: #fff; border-radius: 50%; display: inline-block; animation: dotSpin 1.5s infinite ease-in-out;}
#quick .quickBtn .on {display: block;}
#quick .quickBtn .on img {width: 1.0625rem;}

#quick.on .quickBtn {background: var(--pointcolor2);}
#quick.on .quickBtn .off {display: flex;}
#quick.on .quickBtn .on {display: none;}

#quick .quickBtn .off span:nth-child(1) { animation-delay: 0s; }
#quick .quickBtn .off span:nth-child(2) { animation-delay: 0.2s; }
#quick .quickBtn .off span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotSpin {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

#quick .top {font-size: 1.25rem; background: #fff; position: relative; filter: drop-shadow(5px 0 15px rgba(205,205,205,0.5)); cursor: pointer;}
#quick .top:after {position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); content: "↑"; font-weight: 700; color: var(--pointcolor);}

@media(max-width:990px) {
    #quick .wrap {font-size: 1.3125rem;}
    #quick a {width: 10.625rem; padding: .8rem;}
    #quick a img {width: 1.375rem;}
    #quick .cir {width: 4.5rem; height: 4.5rem;}
    #quick .quickBtn .on img {width: 1.2rem;}
    #quick .quickBtn .off {gap: .35rem;}
    #quick .quickBtn .off span {width: 3px;}
    #quick .top {font-size: 1.75rem;}
}

@media(max-width:500px) {
    #quick .wrap {font-size: 1.5rem;}
    #quick a {width: 11.5rem;}
    #quick a img {width: 1.5rem;}
   
}

/* 특별함_공통 sub */
#special {overflow: hidden;}
#special .contBox {display: flex; gap: 5%;}
#special .nav {display: flex; gap: 2rem; position: relative; z-index: 1;}
#special .nav .swiper-button-next, 
#special .nav .swiper-button-prev {width: 4.375rem; height: 4.375rem; border-radius: 50%; background: #e2e8ec; margin-top: 0; transition: 0.3s; position: initial; margin-top: 0;}
#special .nav .swiper-button-next:after, 
#special .nav .swiper-button-prev:after {font-size: 1rem; font-weight: 700; color: #fff;}
#special .nav .swiper-button-next:hover, 
#special .nav .swiper-button-prev:hover {background: var(--pointcolor);}

#special .swiper-slide {display: flex; align-items: center; gap: 3rem;}
#special .imgbox {border-radius: 1.25rem; overflow: hidden;}

#special .swiper-pagination {text-align: left;}
#special .swiper-pagination-bullet {width: 3px; height: 1rem; background: #eaeaea; opacity: 1; border-radius: 0; margin: 0 .625rem; transition: 0.3s;}
#special .swiper-pagination-bullet-active {transform: rotate(21deg); background: var(--pointcolor);}

@media(max-width:1680px) {
    #special .section-left {padding-left: 10%;}
}

@media(max-width:990px) {
    #special .contBox  {flex-direction: column; gap: 3.75rem;}
    #special .tit,
    #special .slideBox {width: 100%;}
    #special .nav {margin-top: 3rem;}

}

@media(max-width:768px) {
    #special .swiper-pagination-bullet {width: 2px;}
    #special .swiper-slide {flex-direction: column;}
    #special .imgbox,
    #special .txtbox {width: 100%;}
    #special .txtbox .swiper-pagination {display: none;}
    #special .nav {gap: 1.5rem;}
}

@media(max-width:365px) {
    #special .txtbox p br {display: none !important;}
}