/* =========================================================
헤더
========================================================= */
/* header */
.header{position: fixed; top: 0; left: 0; width: 100%; background-color: #fff; width: 100%; z-index: 9999;}
.header .inner{position: relative; height: 80px; width: 81%; margin: auto; align-items: center;}
.header .inner .menu_btn{display: none; width: 24px;height: 18px;position: relative;}
.header .inner .menu_btn .btn_line{position: absolute; display: block; width: 100%; height: 3px; background-color: var(--pointcolor); border-radius: 10px;}
.header .inner .menu_btn .btn_line01{top: 0;}
.header .inner .menu_btn .btn_line02{top: 7px;}
.header .inner .menu_btn .btn_line03{top: 14px;}
.header .inner .menu_btn.on .btn_line01{transform: rotate(135deg); top: 7px;}
.header .inner .menu_btn.on .btn_line02{display: none;}
.header .inner .menu_btn.on .btn_line03{transform: rotate(-135deg); top: 7px;}

.header .inner .logo{width: 15rem; margin-right: 5%;}

.header .inner .nav{width: 64%; height: inherit; position: relative;}
.header .inner .nav ul{width: 100%; height: inherit; display: flex; justify-content: center;}
.header .inner .nav ul li{display: table; height: inherit;}
.header .inner .nav ul li a{text-align: center; display: table-cell; vertical-align: middle; padding: 0 1.8rem;}
.header .inner .nav ul li:hover a{color: var(--pointcolor);}
.header .inner .nav .nav_line{width: 20%; left: 22.5px; height: 0.43rem; background-color: var(--pointcolor); position: absolute; bottom: 0px; left: 0; opacity: 0; transition: left 0.5s cubic-bezier(.77,0,.175,1), width 0.3s ease, height 0.5s ease, top 0.5s ease;}

.header .inner .tell{width: 8.038rem; position: absolute; top: 0; right: 0;}
.header .inner .tell p{position: absolute; top:1rem; left: 50%; transform: translateX(-50%); text-align: left; line-height: 1.3; color: #000;  font-weight: 600;}
.header .inner .tell .mo{display: none;}

@media (max-width:1800px) {
    .header .inner .tell{right: 1%;}
}
@media (max-width:1540px) {
    .header .inner .nav{width: 55%;}
    .header .inner .nav ul li a{padding: 0 1rem;}
    .header .inner .tell{right: 3%;}
}
@media (max-width:1440px) {
    .header .inner{width: 100%; padding: 0 5%;}    
    .header .inner .nav{width: calc(100% - 200px); margin-right: 120px;}
    .header .inner .logo{margin-right: 4%;}
    .header .inner .tell{right: 12%;}
}
@media (max-width:1240px) {
    .header .inner .tell{right: 3%;}
    .header .inner .nav{transform: translateX(2rem);}
}
@media (max-width:1024px) {
    .header .inner{height: 60px;}
    .header .inner .tell{right:0%;}
}
@media (max-width:768px) {
    .header .inner .menu_btn{display: block;}
    .header .inner .logo{margin-left: 2rem; width: 18rem;}
    .header .inner .nav{display: none;}
    .header .inner .tell{width: 7.4rem;}
    .header .inner .tell p{display: none;}
    .header .inner .tell .mo{display: block; position: absolute; top: 28%; left: 50%; transform: translateX(-50%); width: 34%;}
}

/* m_menu */
.m_menu{position: fixed; top: 60px; left: -100% ; z-index: 1000; width: 100%; background-color: #fff; -webkit-transition: 0.5s ease; transition: 0.5s ease; visibility: hidden;}
.m_menu.on{left: 0%; visibility: visible;}
.m_menu .m_menu_box{ width: 100%; border-top: 1px solid #dfdfdf; padding: 1rem 0;}
.m_menu_list ul li a{font-size: 14px; display: block; padding: 1rem 5%;}

.imp_mark{position: absolute; top: 0; right: 1%;}
.imp_mark .txt{width: 100%; position: absolute; top: 32%; left: 50%; transform: translateX(-50%); text-align: center; font-weight: 700;}
.imp_mark .txt .tit{font-size: 12px;}
.imp_mark .txt .s_txt{font-size:25px;background: linear-gradient(to right top, #eece79, #a26626); color: transparent; -webkit-background-clip: text;}
.imp_mark .txt .g_txt{font-size: 14px; color:#000; margin-top: 10px;}
.imp_mark .txt .flex{justify-content: center;}

@media (max-width:1800px) {
    .imp_mark{right: 0.5%;}
}
@media (max-width:1240px) {
    .imp_mark{display: none;}
}
@media (max-width:768px) {
    .m_menu{display: block;}
}

/* =========================================================
컨텐츠 공통
========================================================= */
/* br */
.show600{display: none;}
.show768{display: none;}
.hidden480{display: block;}
.hidden600{display: block;}
.hidden768{display: block;}

@media (max-width:768px) {
    .show768{display: block;}
    .hidden768{display: none;}
}
@media (max-width:600px) {
    .show600{display: block;}
    .hidden600{display: none;}
}
@media (max-width:480px) {
    .hidden480{display: none;}
}

/* 레이아웃 */
@media (max-width: 1240px) {
    .container{width: 96%;}
}

/* =========================================================
메인
========================================================= */
/* main_img */
.main_img{position: relative;height: 56.25rem; background-image: url(/img/content/main_img.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; margin-top: 80px; overflow: hidden;}
.main_img .text_box{padding-top: 20%;}
.main_img .text_box h2{position: relative; display: inline-block;}
.main_img .text_box h2:before{position: absolute; content: "“"; top: -2.8rem; left: -4.4rem; font-family:var(--pointfont); font-size: 12.50rem; color: rgba(255,255,255,0.2);}
.main_img .text_box h2:after{position: absolute; content: "”"; bottom: -12.2rem; right: -4.4rem; font-family:var(--pointfont); font-size: 12.50rem; color: rgba(255,255,255,0.2);}
.main_img .scroll{position: absolute; left: 50%;transform: translateX(-50%);bottom: 5rem;}
.main_img .scroll img{width: 1.5rem; margin: auto;}
.main_img .scroll .down{height: 1.6rem; position: relative;}
.main_img .scroll .down .material-symbols-Sharp{font-size: 1.2rem;font-weight: 100; animation: down 0.8s infinite; position: absolute; top: 0; left: 50%; transform: translateX(-50%);}
@keyframes down    {
    0% {opacity: 0; top: 0;}
    50% {opacity: 0.3; top: 40%;}
    100% {opacity: 1; top: 90%;}
}

@media (max-width:1024px) {
    .main_img{margin-top: 60px;}
}
@media (max-width:768px) {
    .main_img{background-image: url(/img/content/main_img_m.jpg); height: calc(100vh - 60px);}
    .main_img .text_box{padding-top: 44%;}
    .main_img .text_box p{font-size: 3rem; margin-top: 2.2rem;}
}
@media (max-width:600px) {
    .main_img .text_box p{font-size: 2.4rem;}
}
@media (max-width:480px) {
    .main_img .text_box p{font-size: 2.2rem;}
}
@media (max-width:400px) {
    .main_img .scroll{bottom: 7rem;}
}

/* =========================================================
의료진 소개
========================================================= */
/* doctor_banner */
.doctor_banner{background-image: url(/img/content/doctor_bg.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden;}
.doctor_banner .title{align-items: center; justify-content: center;}
.doctor_banner .title img{width: 5.68rem;}
.doctor_banner .title .img02{margin-left: -1rem;}
.doctor_banner .title h2{margin-left: -1rem; background: -webkit-linear-gradient(0deg, rgba(10,13,57,1) 20%, rgba(36,166,224,1) 50%, rgba(0,13,57,1) 80%);-webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.doctor_banner .cont_box{width: 100%; margin-left: 0; padding: 0 10%; margin-top: 2.5rem;}
.doctor_banner .cont_box .box {position: relative; width: 33.333%; left: -20px;}
.doctor_banner .cont_box .box img{height: 32.8rem; transform: translateY(5px);}
.doctor_banner .cont_box .box.doctor_02{z-index: 10;}
.doctor_banner .cont_box .box.doctor_03{z-index: 15;}
.doctor_banner .cont_box .doctor_txt { display: inline-block; background-color: var(--pointcolor2); border-radius: 2.5rem; color: #fff; padding: 0.6rem; margin-bottom: .2em; position: absolute; bottom: 15%; left: 50%; transform: translateX(-50%); width: 70%; }

@media (max-width:1240px) {
    .doctor_banner .cont_box{width: 90%; margin-left: 5%; padding: 0;}    
    .doctor_banner .cont_box .box {left: 0;}    
    .doctor_banner .cont_box .box img {position: relative; left: -20px;}
    .doctor_banner .cont_box .doctor_txt{width: 98%;}
    .doctor_banner .cont_box p {font-size: 13px; letter-spacing: -1px;}
}
@media (max-width:600px) {
    .doctor_banner .title{margin-bottom: 3rem;}
    .doctor_banner .title img{width: 8rem;}
    .doctor_banner .cont_box .doctor_txt { width: 80%; bottom: 10%; }
}
@media (max-width:480px) {
    .doctor_banner .title img{width: 16vw;}
    .doctor_banner .title h2{font-size: 8vw;}
    .doctor_banner .cont_box{width: auto; margin-left: 0;}
    .doctor_banner .cont_box .box img{height: 26rem;}
    .hidden480{display: none;}
}
@media (max-width:400px) {
    .doctor_banner .cont_box .box img{height: 24rem; }
}

/* doctor */
.doctor{position: relative; overflow: hidden;}
.doctor:before{content: ""; position: absolute; width: 16.25rem; height: 16.25rem; background-image: url(/img/common/bg_logo.png); background-size: contain; right: 0; bottom: 7rem; background-repeat: no-repeat;}
.doctor_swiper{width: 80%; margin: auto;}
.doctor_swiper .swiper-slide{justify-content: space-between; align-items: center;}
.doctor_swiper .swiper-slide .img_box{width: 46%;}
.doctor_swiper .swiper-slide .text_box{width: 46%;}
.doctor_swiper .swiper-slide .text_box h3 { align-items: flex-end; flex-wrap: wrap; }
.doctor_swiper .swiper-slide .text_box span { display: inline-block; background-color: var(--pointcolor2); border-radius: 50px; color: #fff; padding: 0.2rem 1rem; margin-top: .2em; margin-bottom: .2em; }
.doctor .swiper-button-next, .doctor .swiper-button-prev{width: 4.25rem; height: 4.25rem; background-color: rgba(0,57,118,0); border-radius: 50%; }
.doctor .swiper-button-prev{background-image: url(/img/content/arrow_01.png); background-repeat: no-repeat; background-size: 60%; background-position: center; left: 0 !important;}
.doctor .swiper-button-prev:hover{background-color: rgba(0,57,118,1); background-image: url(/img/content/arrow_w_01.png);}
.doctor .swiper-button-next{background-image: url(/img/content/arrow_02.png); background-repeat: no-repeat; background-size: 60%; background-position: center; right: 0 !important;}
.doctor .swiper-button-next:hover{background-color: rgba(0,57,118,1); background-image: url(/img/content/arrow_w_02.png); }
.doctor .swiper-button-next:after, .doctor .swiper-button-prev:after{display: none !important;}

@media (max-width:1440px) {
    .doctor_swiper{width: 84%;}
}
@media (max-width:1240px) {
    .doctor_swiper .swiper-slide .text_box{width: 48%;}
}
@media (max-width:768px) {
    .doctor_swiper{width: 58%;}
    .doctor_swiper .swiper-slide{flex-wrap: wrap;}
    .doctor_swiper .swiper-slide .img_box{width: 90%;}
    .doctor_swiper .swiper-slide .text_box{width: 100%; margin-top: 3rem;}
    .doctor .swiper-button-prev, .doctor .swiper-button-next{top: 30% !important;}
}
@media (max-width:600px) {
    .doctor_swiper{width: 70%;}
    .doctor_swiper .swiper-slide{flex-wrap: wrap;}
    .doctor_swiper .swiper-slide .img_box{width: 100%;}
    .doctor_swiper .swiper-slide .text_box{width: 100%; margin-top: 3rem;}
}
@media (max-width:480px) {
    .doctor_swiper{width: 76%;}
    .doctor .swiper-button-prev, .doctor .swiper-button-next{top: 28% !important;}
}
@media (max-width:400px) {
    .doctor_swiper{width: 80%;}
    .doctor .swiper-button-prev, .doctor .swiper-button-next{top: 26% !important;}
    .doctor_swiper .swiper-slide .text_box h3 { width: 80%; }
}

/* =========================================================
병원 둘러보기
========================================================= */
/* around */
.around{background: -webkit-linear-gradient(0deg, rgba(0,29,61,1) 0%, rgba(0,57,118,1) 50%, rgba(0,29,61,1) 100%); overflow: hidden;}
.around .pp{color: #003166; background-color: var(--pointcolor3); border-radius: 50px; width: 30rem; margin: 1rem auto 0; padding: 0.2rem 0;}

.around .time_box{margin: auto; border-bottom: 1px solid #fff; align-items: center; justify-content: center; width: 56rem;}
.around .time_box p{color: #fff;}
.around .time_box p strong{width: 7.3rem;display: inline-block;}

@media (max-width:600px) {
    .around .time_box{flex-wrap: wrap; width: 30rem; }
    .around .time_box h2{width: 100%; text-align: left;}
    .around .time{width: 100%;margin-top: 0.6rem;}
}
@media (max-width:400px) {
    .around .pp{width: 90%;}
}

/* =========================================================
첨단장비와 진료시스템
========================================================= */
/* equipment */
.equipment{justify-content: space-between;position: relative; overflow: hidden;}
.equipment .text_box .text-swiper .swiper-slide{opacity: 0 !important;}
.equipment .text_box .text-swiper .swiper-slide-active{opacity: 1 !important;}
.equipment .text_box .blue{background-color: var(--pointcolor2); display: inline-block; padding: 0.1rem 0.4rem;}
.equipment .img_box .swiper-slide{border-radius: 50px 0 0 50px; overflow: hidden;}

.equipment .text_box .button_box{position: relative;; align-items: center;width: 100%; justify-content: flex-start;}
.equipment .swiper-pagination{position: relative !important; width: auto; align-items: center;}
.equipment .swiper-pagination .bar{display: inline-block; width: 1px; height: 1rem; background: #000; vertical-align: middle; margin: 0 10px;}
.equipment .swiper-button-next, .equipment .swiper-button-prev{position: relative !important; width: 4.25rem; height: 4.25rem; background-color: rgba(0,57,118,0); border-radius: 50%; }
.equipment .swiper-button-prev{background-image: url(/img/content/arrow_01.png); background-repeat: no-repeat; background-size: 60%; background-position: center; left: 0 !important;}
.equipment .swiper-button-prev:hover{background-color: rgba(0,57,118,1);background-image: url(/img/content/arrow_w_01.png);}
.equipment .swiper-button-next{background-image: url(/img/content/arrow_02.png); background-repeat: no-repeat; background-size: 60%; background-position: center; right: 0 !important;}
.equipment .swiper-button-next:hover{background-color: rgba(0,57,118,1);background-image: url(/img/content/arrow_w_02.png); }
.equipment .swiper-button-next:after, .equipment .swiper-button-prev:after{display: none !important;}

@media (max-width:1440px) {
    .equipment .text_box{width: 40%;}
    .equipment .text_box h2{margin-top: 0;}
    .equipment .img_box{width: 55%;}
}
@media (max-width:1240px) {
    .equipment .text_box{width: 45%;}
    .equipment .img_box{width: 50%;}
}
@media (max-width:990px) {
    .equipment .text_box{width: 50%;}
    .equipment .img_box{width: 45%;}
    .equipment .img_box .swiper-slide{height: 30rem;}
    .equipment .img_box img{width: auto; height: 100%; max-width: none; margin-left: -10rem;}
}
@media (max-width:768px) {
    .equipment{flex-wrap: wrap; margin-bottom: 60px;}
    .equipment .text_box{width: 95%;}
    .equipment .text_box h2{text-align: center;}
    .equipment .text_box .button_box{position: absolute; left: 0; bottom: 2rem; justify-content: center;}
    .equipment .img_box{width: 100%; margin-top: 3rem;}
    .equipment .img_box .swiper-slide{height: auto;}
    .equipment .img_box img{width: 100%; height: auto; max-width: 100%; margin-left: 0rem;}
}
@media (max-width:400px) {
    .equipment .text_box h2{font-size: 2.4rem;}
}

/* =========================================================
임플란트
========================================================= */
.implant-head{text-align: center;}
.implant-label{font-size: 1.85rem; font-weight: 300; color: var(--pointcolor); font-family: var(--pointfont), sans-serif;}
.implant-title{margin-top: 0.6rem; font-family: var(--pointfont), sans-serif; font-size: 2.9rem; font-weight: 800; color: var(--pointcolor); line-height: 1.2;}
.implant-grid{display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(21rem, auto); gap: 1.5rem; margin-top: 4rem;}

.implant-card{position: relative; grid-column: span 2; border-radius: 1rem; overflow: hidden; padding: 2.5rem; background-size: cover; background-position: center; display: flex; flex-direction: column; transition: transform 0.35s ease;}
.implant-grid .implant-card:nth-child(2){grid-column: span 4;}
.implant-card:before{content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,247,252,0.5) 0%, rgba(244,247,252,0.95) 50%); transition: background 0.35s ease;}
.implant-card:hover{transform: translateY(-0.4rem);}
.implant-card > *{position: relative; z-index: 1;}
.implant-num{font-family: var(--pointfont), sans-serif; font-size: 2.25rem; font-weight: 300; color: var(--pointcolor);}
.implant-name{margin-top: auto; font-family: var(--pointfont), sans-serif; font-size: 1.75rem; font-weight: 700; line-height: 1.3; color: var(--pointcolor);}
.implant-desc{margin-top: 0.6rem; font-size: 1.2rem; line-height: 1.6; color: var(--pointcolor); font-weight: 400;}

@media (max-width: 1024px) {
    .implant-title{font-size: 2.4rem;}
    .implant-grid{grid-auto-rows: minmax(18rem, auto);}
    .implant-card{padding: 2rem;}
}
@media (max-width: 900px) {
    .implant-grid{grid-template-columns: 1fr; grid-auto-rows: minmax(16rem, auto);}
    .implant-grid .implant-card{grid-column: span 1 !important;}
}
@media (max-width: 768px) {
    .implant-desc{font-size: 1.4rem;}
}
@media (max-width: 480px) {
    .implant-label{font-size: 1.4rem;}
}

/* =========================================================
시술 후 관리
========================================================= */
/* after_system */
.after_system{background-color: var(--pointcolor2); overflow: hidden;}
.after_system .cont_box{flex-wrap: wrap;}
.after_system .cont_box .box{width: 50%; padding: 4rem 0rem; align-items: center;}
.after_system .cont_box .box .icon_box{width: 16rem; margin-right: 2rem;}
.after_system .cont_box .box .icon_box img{width: 46%; margin: auto;}
.after_system .cont_box .box .icon_box p{width: 100%; background-color: var(--pointcolor3); border-radius: 50px; color: var(--pointcolor2); text-align: center; padding: .2rem 0;}
.after_system .cont_box .box_01{border-right: 1px solid #fff; border-bottom: 1px solid #fff; padding-right: 3rem;}
.after_system .cont_box .box_02{border-bottom: 1px solid #fff; padding-left: 3rem;}
.after_system .cont_box .box_03{border-right: 1px solid #fff; padding-right: 3rem;}
.after_system .cont_box .box_04{padding-left: 3rem;}

@media (max-width:990px) {
    .after_system h2{font-size: 3.125rem;}
    .after_system .cont_box .box{flex-wrap: wrap; text-align: center; padding-top: 4rem; padding-bottom: 4rem; align-items: flex-start;}
    .after_system .cont_box .box .icon_box{margin: auto;}
    .after_system .cont_box .box .icon_box img{width: 40%;}
    .after_system .cont_box .box .icon_box p{padding: .4rem 0;}
    .after_system .cont_box .box .text_box{width: 100%; margin-top: 2rem;}
}
@media (max-width:480px) {
    .after_system .cont_box .box{padding-top: 2rem; padding-bottom: 2rem;}
    .after_system .cont_box .box_01{padding-right: 2rem;}
    .after_system .cont_box .box_02{padding-left: 2rem;}
    .after_system .cont_box .box_03{padding-right: 2rem;}
    .after_system .cont_box .box_04{padding-left: 2rem;}
}
@media (max-width:480px) {
    .after_system h2{font-size: 2.6rem;}
}

/* =========================================================
임플란트 전후
========================================================= */
/* ba */
.ba{overflow: hidden;}
.ba .cont_box .tab_menu{align-items: center; justify-content: center;}
.ba .cont_box .tab_menu .tab{width: 18rem; }
.ba .cont_box .tab_menu .tab a{display: block; color: #fff; padding: .8rem 0; background-color: #dbdbdb;}
.ba .cont_box .tab_menu .tab.active a{background-color: var(--pointcolor);}
.ba .cont_box .ba_box{width: 100%; position: relative;}
.ba .cont_box .ba_box .tab_cont{width: 100%; display: none;}
.ba .cont_box .ba_box .tab_cont.active{display: block;}
.ba .cont_box .ba_box .ba_swiper{width: 80%; margin: auto;}
.ba .cont_box .ba_box .ba_swiper .swiper-slide{align-items: center;}
.ba .cont_box .ba_box .ba_swiper .swiper-slide .baba{width: 50%;}
.ba .cont_box .ba_box .ba_swiper .swiper-slide .baba p{padding: .8rem 0;}
.ba .cont_box .ba_box .ba_swiper .swiper-slide .before p{background-color: #000;}
.ba .cont_box .ba_box .ba_swiper .swiper-slide .after p{background-color: var(--pointcolor2);}

.ba .swiper-button-next, .ba .swiper-button-prev{width: 4.25rem; height: 4.25rem; background-color: rgba(0,57,118,0); border-radius: 50%;}
.ba .swiper-button-prev{background-image: url(/img/content/arrow_01.png); background-repeat: no-repeat; background-size: 60%; background-position: center; left: 0 !important;}
.ba .swiper-button-prev:hover{background-color: rgba(0,57,118,1); background-image: url(/img/content/arrow_w_01.png);}
.ba .swiper-button-next{background-image: url(/img/content/arrow_02.png); background-repeat: no-repeat; background-size: 60%; background-position: center; right: 0 !important;}
.ba .swiper-button-next:hover{background-color: rgba(0,57,118,1); background-image: url(/img/content/arrow_w_02.png); }
.ba .swiper-button-next:after, .ba .swiper-button-prev:after{display: none !important;}

@media (max-width:480px) {
    .ba .cont_box .ba_box .ba_swiper .swiper-slide{flex-wrap: wrap;}
    .ba .cont_box .ba_box .ba_swiper .swiper-slide .baba{width: 100%;}
}

/* =========================================================
varo
========================================================= */
#varo{background-color: #fff; overflow: hidden;}
#varo .vg-inner{padding: 0 0;}

/* hero */
.vg-hero{display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem;}
.vg-hero-text{width: 44%; padding-top: 1rem;}
.vg-hero-label{font-size: 1.85rem; font-weight: 300; color: var(--pointcolor); font-family: var(--pointfont), sans-serif;}
.vg-hero-title{margin-top: .6rem; font-family: var(--pointfont), sans-serif; font-size: 3.75rem; font-weight: 800; line-height: 1.15; color: var(--pointcolor);}
.vg-hero-title .pink{color: #e5079c;}
.vg-hero-desc{margin-top: 2rem; font-size: 1.3rem; font-weight: 400; line-height: 1.55; color: var(--pointcolor);}
.vg-hero-desc strong{font-weight: 700;}
.vg-hero-img{width: 46%;}
.vg-hero-img img{width: 100%; display: block; transform: translateY(-2rem);}

@media (max-width: 1024px) {
  .vg-hero-title{font-size: 3rem;}
}
@media (max-width: 768px) {
  .vg-hero{flex-wrap: wrap; gap: 0;}
  .vg-hero-text{width: 100%;}
  .vg-hero-text>*{text-align: center;}
  .vg-hero-desc{font-size: 1.4rem;}
  .vg-hero-img{width: 100%; margin: 1rem auto 0; max-width: 400px;}
  .vg-hero-img img{transform: translateY(0);}
}
@media (max-width: 480px) {
  .vg-hero-title{font-size: 3rem;}
  .vg-hero-desc{font-size: 1.5rem;}
}

/* advantages */
.vg-adv-title{text-align: center; font-family: var(--pointfont), sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--pointcolor);}
.vg-adv-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem;}
.vg-adv-card{position: relative; border-radius: 1rem; overflow: hidden; min-height: 21rem; padding: 2.75rem; background-size: cover; background-position: center; display: flex; flex-direction: column;}
.vg-adv-card:before{content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,247,252,0.5) 0%, rgba(244,247,252,0.95) 70%);}
.vg-adv-card > *{position: relative; z-index: 1;}
.vg-adv-num{font-family: var(--pointfont), sans-serif; font-size: 2.25rem; font-weight: 600; color: var(--pointcolor); font-weight: 300;}
.vg-adv-name{font-family: var(--pointfont), sans-serif; margin-top: auto; font-size: 1.75rem; font-weight: 700; line-height: 1.3; color: var(--pointcolor);}
.vg-adv-desc{margin-top: 0.3rem; font-size: 1.2rem; line-height: 1.6; color: var(--pointcolor); font-weight: 400;}
.vg-adv-note{margin-top: 0.4rem; font-size: 0.95rem; color: #999;}

@media (max-width: 1024px) {
    .vg-adv-card{min-height: 19rem; padding: 2.25rem;}
}
@media (max-width: 768px) {
    .vg-adv-grid{grid-template-columns: 1fr;}
    .vg-adv-desc{font-size: 1.4rem;}
    .vg-adv-note{font-size: 1.1rem;}
}

/* who needs it */
.vg-who{margin-top: 8rem;}
.vg-who-title{text-align: center; font-family: var(--pointfont), sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--pointcolor);}
.vg-who-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; justify-items: center; max-width: 1000px; margin: 0 auto; margin-top: 3rem; }
.vg-who-item{width: 14rem; text-align: center; width: 100%;}
.vg-who-circle{width: 11rem; height: 11rem; margin: 0 auto; border-radius: 50%; overflow: hidden; background: #eef3fa; display: flex; align-items: center; justify-content: center;}
.vg-who-circle img{width: 100%; height: 100%; object-fit: cover;}
.vg-who-label{margin-top: 1.25rem; font-size: 1.3rem; font-weight: 600; line-height: 1.4; color: var(--pointcolor);}

@media (max-width: 768px) {
  .vg-who{margin-top: 6rem;}
  .vg-who-grid{grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem;}
  .vg-who-circle{width: 15rem; height: 15rem;}
  .vg-who-label{font-size: 1.5rem;}
}
@media (max-width: 480px) {
  .vg-who-circle{width: 11rem; height: 11rem;}
  .vg-who-label{font-size: 1.4rem;}
}

/* footnote */
.vg-footnote{margin-top: 4rem; text-align: center; font-size: .95rem; line-height: 1.7; color: #999;}

@media (max-width: 768px) {
  .vg-footnote{font-size: 1.1rem;}
}

/* =========================================================
턱관절치료
========================================================= */
.chin{background-color: #f4f7fc; overflow: hidden;}
.chin-sub-title{text-align: center; font-family: var(--pointfont), sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--pointcolor);}

/* hero */
.chin-hero{position: relative;}
.chin-hero-title{font-family: var(--pointfont), sans-serif; font-size: 3.6rem; font-weight: 800; color: var(--pointcolor);}
.chin-hero-lead{margin-top: .2rem; font-size: 1.8rem; font-weight: 300; line-height: 1.5; color: var(--pointcolor); font-family: var(--pointfont), sans-serif;}
.chin-hero-desc{margin-top: 2rem; font-size: 1.3rem; line-height: 1.55; color: var(--pointcolor); font-weight: 400;}
.chin-hero-img{position: absolute; right:0; top: -8rem; height: 60rem;}
.chin-hero-img img{width: 100%; max-height: 40rem; display: inline-block; object-fit: contain;}

@media (max-width: 1024px) {
    .chin-hero-title{font-size: 3rem;}
    .chin-hero-lead{font-size: 1.3rem;}
}
@media (max-width: 768px) {
    .chin-hero{flex-wrap: wrap;}
    .chin-hero-text{width: 100%;}
    .chin-hero-text>*{text-align: center;}
    .chin-hero-lead{font-size: 1.5rem;}
    .chin-hero-desc{font-size: 1.4rem;}
    .chin-hero-img{position: static; height: auto; width: 100%; display: flex; justify-content: center; align-items: center;}
    .chin-hero-img img{max-height: inherit; max-width: 400px;}
}
@media (max-width: 480px) {
    .chin-hero-title{font-size: 2.8rem;}
}

/* symptom */
.chin-symptom{margin-top: 7rem;}
.chin-symptom-grid{display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 2rem; margin: 3rem auto 0; max-width: 1200px;}
.chin-symptom-item{width: calc(33% - 2rem); text-align: left; display: flex; align-items: center; gap: 1.5rem; align-items: center;}
.chin-symptom-icon{width: 7.5rem; height: 7.5rem; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;}
.chin-symptom-icon img{width: 5.5rem; height: 5.5rem; object-fit: contain;}
.chin-symptom-name{font-size: 1.4rem; font-weight: 700; color: var(--pointcolor);}
.chin-symptom-desc{margin-top: .3rem; font-size: 1.1rem; line-height: 1.5; color: var(--pointcolor); opacity: .85; font-weight: 400;}

@media (max-width: 768px) {
    .chin-symptom{margin-top: 5rem;}
    .chin-symptom-grid{flex-direction: column;}
    .chin-symptom-name{font-size: 1.5rem;}
    .chin-symptom-desc{font-size: 1.4rem;}
    .chin-symptom-desc br{display: none;}
    .chin-symptom-item{width: 100%; justify-content: center; flex-direction: column;}
    .chin-symptom-txt>p{text-align: center;}
}

/* process */
.chin-process{margin-top: 7rem;}
.chin-process-bar{margin: 2rem auto 0; max-width: 62rem; background: #fff; border-radius: 50rem; padding: 3rem 4rem; display: flex; justify-content: space-between; }
.chin-process-step{position: relative; text-align: center; flex: 1;}
.chin-step-label{font-size: .875rem; font-weight: 300; letter-spacing: 0.05em; color: var(--pointcolor);}
.chin-step-num{margin-top: .2rem; font-family: var(--pointfont), sans-serif; font-size: 2.25rem; font-weight: 800; color: var(--pointcolor);}
.chin-step-dot{display: block; margin: 1.1rem auto 0; width: .55rem; height: .55rem; border-radius: 50%; background: var(--pointcolor); position: relative; z-index: 1;}
.chin-process-step::before{content: ""; position: absolute; top: calc(5.65rem + .25rem); left: -50%; width: 100%; height: 1px; background: var(--pointcolor); z-index: 0;}
.chin-process-step::after{content: ""; position: absolute; top: calc(4.75rem + .3rem); left: -50%; width: calc(100% + 40px); height: 31px; background: #f4f7fc; z-index: -1; border-radius: 20em; transform: translateX(-20px);}
.chin-process-step:first-child::before, .chin-process-step:first-child::after{display: none;}
.chin-step-name{margin-top: 1.8rem; font-size: 1.2rem; font-weight: 700; color: var(--pointcolor); line-height: 1.4;}

@media (max-width: 1024px) {
    .chin-process-bar{padding: 2.5rem 2rem;}
    .chin-process-step::after{ width: calc(100% + 30px); height: 21px; border-radius: 20em; transform: translateX(-15px);}
}

@media (max-width: 768px) {
    .chin-process{margin-top: 5rem;}
    .chin-process-bar{flex-wrap: wrap; gap: 2.5rem 0; border-radius: 1.5rem; padding: 2.5rem 1.5rem;}
    .chin-process-step{width: 50%; flex: none;}    
    .chin-process-step::before{display: none;}
    .chin-process-step::after{display: none;}    
    .chin-step-dot{display: none;}
    .chin-step-name{margin-top: .5rem; font-size: 1.3rem;}
}
@media (max-width: 480px) {
    .chin-step-num{font-size: 1.8rem;}
}

/* treatment */
.chin-treatment{margin-top: 7rem;}
.chin-treatment-row{display: flex; justify-content: center; align-items: center; margin-top: 2rem;}
.chin-treatment-bubble{position: relative; width: 12rem; height: 12rem; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; margin-left: -1rem;}
.chin-treatment-bubble:first-child{margin-left: 0;}
.chin-treatment-bubble p{font-size: 1.35rem; font-weight: 700; color: var(--pointcolor); line-height: 1.35;}
.chin-treatment-note{position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); font-size: .8rem; font-weight: 500; color: var(--pointcolor); line-height: 1.4; opacity: .5;}

@media (max-width: 768px) {
    .chin-treatment{margin-top: 5rem;}
    .chin-treatment-note{font-size: .95rem;}
    .chin-treatment-bubble p{font-size: 1.5rem;}
}
@media (max-width: 600px) {
    .chin-treatment-row{display: grid; grid-template-columns: repeat(2, 1fr); justify-content: center; gap: 2.5rem; width: fit-content; margin-left: auto; margin-right: auto;}
    .chin-treatment-bubble{width: 14rem; height: 14rem; margin-left: 0;}
}
@media (max-width: 350px) {
    .chin-treatment-row{gap: 1rem;}
    .chin-treatment-bubble{width: 13rem; height: 13rem;}
}

/* footnote + cta */
.chin-footnote{margin-top: 4rem; text-align: center; font-size: 1.5rem; color: var(--pointcolor); font-weight: 300; font-family: var(--pointfont), sans-serif;}
.chin-cta{margin-top: 2.5rem; text-align: center;}
.chin-cta-btn{display: inline-flex; align-items: center; gap: 0.8rem; background: var(--pointcolor); color: #fff; font-size: 1.6rem; font-weight: 700; padding: 1.4rem 3.3rem 1.6rem; border-radius: 3.5rem; transition: background 0.25s ease, transform 0.25s ease;}
.chin-cta-btn .arrow{display: inline-flex; align-items: center; color: #fff; transform: translateY(1px);}
.chin-cta-btn:hover{background: var(--pointcolor2);}

@media (max-width: 768px) {
    .chin-cta-btn{padding: 1.1rem 2.2rem;}
    .chin-cta-btn .arrow svg{width: 8px; height: 12px;}
}

/* =========================================================
오시는길
========================================================= */
/* location */
.location{background-image: url(/img/content/location_bg.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden;}
.location .tit_box .pp{background-color: var(--pointcolor3); width: 30rem; margin: 20px auto 0; border-radius: 50px; margin: 1rem auto 0; padding: 0.2rem 0;}

.location .cont_box .map_box{width: 58%;}
.location .cont_box .root_daum_roughmap{width: 100% !important; border-radius: 0 50px 50px 0;}

.location .cont_box{justify-content: space-between; align-items: center;}
.location .cont_box .text_box .line{width: 100%; height: 1px; background-color: #fff;}
.location .cont_box .text_box p strong{width: 8rem; display: inline-block;}

@media (max-width:1240px) {
    .location .cont_box .map_box{width: 55%;}
    .location .cont_box .text_box{width: 38%;}
}
@media (max-width:990px) {
    .location .cont_box .map_box{width: 50%;}
    .location .cont_box .text_box{width: 43%;}
}
@media (max-width:768px) {
    .location .cont_box{flex-wrap: wrap; }
    .location .cont_box .map_box{width: 100%;}
    .location .cont_box .text_box{width: 95%; margin-left: 5%; margin-top: 4rem;}
}
@media (max-width:400px) {
    .location .tit_box .pp{width: 90%;}
}

/* =========================================================
푸터
========================================================= */
/* footer */
.footer{background-image: url(/img/content/footer.jpg);background-size: cover; background-position: center; background-repeat: no-repeat; border-top: 1px solid #fff; padding-top: 50px !important; padding-bottom: 150px !important;}
.footer .container{justify-content: space-between; align-items: center;}
.footer .f_logo{width: 18rem;}
.footer .text_box ul li{display: inline-block; position: relative;}
.footer .text_box ul li:after{content: "";position: absolute; top: 0.4rem; right: -0.2rem; width: 1px; height: 1rem; background-color: #fff;}
.footer .text_box ul li:nth-child(2):after{content: ""; position: absolute; top: 0.4rem; right: -0.2rem; width: 1px; height: 1rem; background-color: #fff; display: inline-block !important;}
.footer .text_box ul li:nth-child(2) a{padding-right: 1rem;}
.footer .text_box ul li:last-child:after{display: none;}
.footer .text_box ul li:last-child a{padding-right: 0;}
.footer .text_box ul li a{display: block; padding: 0 1rem;color: #e2e2e2;}
.footer .text_box p{color: rgba(226,226,226,0.45);}

@media (max-width:600px) {
    .footer .container{flex-wrap: wrap;}
    .footer .text_box{width: 100%; text-align: left; margin-top: 2rem;}
    .footer .text_box ul{font-size: 13px;}
}

/* =========================================================
고정 버튼
========================================================= */
/* top_btn */
.top_btn{position: fixed; right: 2%; bottom: 3rem; width: 4.12rem; height: 4.12rem; background-color: var(--pointcolor); border-radius: 50%; z-index: 100;}

/* PC / Mobile helpers and quick buttons */
.index-page .pc {display: inline-block;}
.index-page .mobile{display: none;}
.index-page .top_quick_btn {position: fixed; right: 7%; bottom: 1.2rem; z-index: 100; display: flex; align-items: center;}

@media (max-width: 768px) {
    .index-page .pc{display: none;}
    .index-page .mobile{display: inline-block;}
    .index-page .top_quick_btn{right: 15%; bottom: .8rem;}
    .index-page .footer {padding-bottom: 120px !important;}
}
