@charset "utf-8";
* { margin:0; padding:0;}
ul,ol,li { list-style:none;}
a { text-decoration:none;}
body { font-family: 'Noto Sans KR', sans-serif; font-size:13px; line-height:1; box-sizing: border-box; color: #303030;}
table { border-collapse: collapse;}
img { vertical-align:top; object-fit: cover;}
.clear:after { content:""; display:block; clear:both;}

::-webkit-scrollbar { width: 8px;}
::-webkit-scrollbar-track { background-color: rgb(226, 226, 226);}
::-webkit-scrollbar-thumb { background-color: #00afc3; border-radius: 10px;}
::-webkit-scrollbar-thumb:hover { background-color: #009cc3;}


/* header */
#header { width: 100%; position:fixed; top: 0; left: 0; background-color:transparent; z-index: 6; transition: background-color 0.4s;}
#header.on { width: 100%;box-shadow: 5px 5px 30px rgba(122, 122, 122, 0.164); background: #2b2d2a;}
.center { width: 100%; max-width:1400px;  margin: 0 auto; position: relative; display: flex; justify-content: space-between; align-items: center;}
.center .logo { padding:12px 0; text-align: center;}
/* .center .gnb {float: right;} */
.center .gnb {position: absolute; left: 50%; transform: translateX(-50%);    width: 52%; display: flex;}
/* .center .gnb {float: right;} */
.center .gnb li {     
                    
                    /* margin-right: 40px; */
                    font-size: 18px;
                    font-weight: 500; }
/* .center .gnb li::after {content: "";  width: 0px; height: 1px;  background-color: #009cc3; position: relative; top: 10px; transition: all 0.5s; display: block; opacity: 0;}
.center .gnb li:hover:after {content: ""; display: block; width: auto; height: 1px;  background-color: #009cc3; position: relative; top: 10px; opacity: 1;} */
.center .gnb li:last-child { margin-right: 0;}
.center .gnb li:hover a{ color: #00afc3;} /*#00afc3*/ /*#164f98*/
.center .gnb li a { color: #ffffff; transition: all 0.5s;
                    text-align: center;
                    position: relative;
                    z-index: 11;
                    padding: 16px 15px;
                    display: block;
                    white-space: nowrap;
                }
.gnb_wrap{   width: 100%;
            position: relative;
            z-index: 10;
            background: #fff;
            display: block;
            position: relative;
            top: 0px;
        }
/* .gnbbg{    border-top: 1px solid #c5c5c5;    
            display: none;
            z-index: 10;
            position: absolute;
            top: 72px;
            left: 0;
            right: 0;
            width: 100%;
            height: 195px;
            background: rgba(255,255,255,1);} */


    .center .m-btn {
        display:block;
        margin-left: 30px;   
        margin-left: 35px;
    }
    .center .m-btn div {width:20px; height:2px; margin:4px 0; background-color:rgb(255, 255, 255); transition:all 0.3s;}
    .center .m-btn.mb {z-index:10; position: a;}
    .center .m-btn.mb div {background-color:#000;}
    .center .m-btn.mb div:nth-child(1) {transform:skew(45deg,-45deg); position:relative; top:6px;}
    .center .m-btn.mb div:nth-child(2) {display:none;}
    .center .m-btn.mb div:nth-child(3) {transform:skew(-45deg,45deg);}

    #header .m-menu {display: none; position:fixed; left:0; top:0; background-color:#fff; 
                     opacity: 1; z-index:9; width:100%; height:100vh;transition:all 0.5s;
                     }
    #header .m-menu.on {top:0%;}
    #header .m-menu .m-top .m-logo {float:left; padding: 20px 0 1px; margin-left: 20px; }
    #header .m-menu .m-top .m-logo img { width: 100%;}
    
    #header .m-menu .m-bot {width: 100%; margin: 0 auto; position: absolute; top: 43%; left: 50%; transform: translate(-50%,-50%); text-align: center; font-size:0;}
    #header .m-menu .m-bot .m-lnb {display:inline-block; } /*margin:0 30px; */
    #header .m-menu .m-bot .m-lnb li a {display: block;
                                        line-height: 2;
                                        padding: 10px 12px 0px;
                                        font-size: 22px;
                                        font-weight: 400;
                                        color: #373737;
                                    }
    #header .m-menu .m-bot .mb-btn {    margin-top: 28px;
                                        /* padding: 20px 36px; */
                                        border-radius: 4px;
                                        box-shadow: 0 20px 50px 5px rgb(0 0 0 / 15%);
                                        font-size: 1em;
                                        background-color:#00afc3;
                                        display: block;
                                        width: 150px;
                                        height: 50px;
                                        /* text-align: center; */
                                        position: absolute;
                                        left: 50%;
                                        transform: translateX(-50%);}

    #header .m-menu .m-bot .mb-btn > span { color: #fff;font-size: 18px; line-height: 47px;}
/* r-menu */

.r-menu {position:fixed; right:2%; bottom: 2%; z-index: 10;} 
.r-menu a { display: block; background:#00afc3; width: 100px; height: 100px; border-radius: 50%; text-align: center; line-height: 55px; margin-bottom: 8px; transition: all 0.5s;    position: relative;} 
.r-menu a:nth-child(1) {animation: pulse 2s infinite; width: 100px; height: 100px; position: relative;  background:#00afc3; border-radius: 50%; }
.r-menu a:nth-child(1) img {width: 90%;   
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);}
.t-btn > img {  top: 50%;
                position: absolute;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 90%;}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 175, 195, 0.48);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 175, 195, 0);
    }
    100% {
        transform: scale(1);
        opacity: 1;

    }
}

/* visual */

#visual { width: 100%; height: 100vh; height: 100dvh; position:relative; overflow: hidden; }
.v-wrap { width: 400%; height: 100%;/*100vh*/ transition: all 1s; position: relative; }
.v-wrap  div {  width: 25%;height: 100%; /*  height: 697px; */ float: left; position:relative;  overflow: hidden; }
.v-wrap div img { width: 100%; height: 100%; object-fit: cover;}

.v-bg { width: 100%; height: 100%; background: rgba(0, 0, 0 ,0.6); position: absolute; top: 0;}

/* 2026-05-19 — PSD(홈페이지_hero섹션.psd) txt 그룹 [211,529 655x315] 좌표로 직접 적용 */
.v-wrap > div > .v-text {
  position: absolute;
  top: 48.98%;     /* 529/1080 */
  left: 10.99%;    /* 211/1920 */
  width: 34.11%;   /* 655/1920 */
  height: auto;
  z-index: 2;
  color: #fff;
  text-align: left;
}

.v-text h5 { display: inline-block; font-size: 20px; font-weight: 300; border-bottom: 1px solid #fff; padding-bottom: 5px; margin-bottom: 10px;}
.v-text h2 { font-weight: 400; font-size: 60px; line-height: 1.2; letter-spacing: -0.08em;}
.v-text h2 span { color: #4f2f16;}
.v-text p { font-weight: 400; font-size: 30px; line-height: 35px;  margin-top: 20px;}

/* 슬라이드 도트 인디케이터 (2026-05-19 신규) */
.vl-btn {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
  padding: 0;
  margin: 0;
  list-style: none;
}
.vl-btn > li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.vl-btn > li:hover { background: rgba(255,255,255,0.7); }
.vl-btn > li.on { background: #fff; transform: scale(1.2); }

/* 스크롤 인디케이터 */
.v-scroll { display: block; position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; z-index: 3; }
.v-scroll::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: vScrollBounce 1.6s ease-in-out infinite; }
@keyframes vScrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 0.4; }
}
/* .v-bot { position: absolute; bottom: 20px; left: 18%;} */
.pause { position: absolute; bottom:36px; left:328px; width: 25px;}
.pause img { width: 100%;}

/* 옛 .vl-btn dead CSS 삭제 (2026-05-19) — 새 .vl-btn 도트 정의가 line 164~186에 있음 */

.vr-btn {position:absolute;  bottom: 33px; right:327px }
.vr-btn li { float: left; margin-left: 10px;}
.vr-btn li:first-child { margin-left:0;}
.vr-btn li img { width: 30px;}


/* container */
#container { background-color: #f2f2f2;}
/* c1 */

.c1 { overflow: hidden; position: relative; height: 615px; background: lightslategray;}  /*background: url(../img/v3.png) no-repeat center center;*/
.c1-center { width: 1434px; margin: 0 auto;}
.c1-center .c1-box { width: 425px; height: 537px; background: rgb(255, 255, 255); position: absolute; top: 0; right: 250px; z-index: 5;
                        padding: 94px 35px; box-sizing: border-box;}
                 
.c1-center .c1-box h5 { font-size: 15px; margin-bottom: 30px; font-weight: 300; color: #535353;}                     
.c1-center .c1-box h3 { font-size: 33px; margin-bottom: 48px; font-weight: 400; line-height: 1.3;}
.c1-center .c1-box h3 > span { color: #00afc3; font-weight: 600;}    
.c1-center .c1-box p { font-size: 18px; margin-bottom: 48px; line-height: 1.3; color: #535353;}

/* c2 */
.c2-center { width: 1400px; margin: 0 auto;}
.c2-center .c2-title { font-size: 30px; padding: 192px 0 70px;}
.c2-center .c2-title .point { font-size: 13px; position: relative; display: inline-block; line-height: 25px; color: #373737; padding: 6px 0; margin-bottom: 36px;}
.c2-center .c2-title .point::after {content: ""; position: absolute;  left: 0;  bottom: 0;  width: 100%; height: 1px; background: #aeaeae;}
.c2-center .c2-title p:nth-child(2) span {color: #00afc3; font-weight: 500; }
.c2-center .c2-title p:nth-child(3) { font-size: 17px; margin-top: 10px;}
.c2-box .c2-left { float: left; width: 50%;}
.c2-box .c2-left > div{ width: 593px; height: 255px; background-color: #FFF; position: relative; cursor: pointer; font-size: 25px; text-align: center;}
.c2-box .c2-left > div:hover { background-color: #00afc3; color: #fff;}                        
.c2-box .c2-left > div p { width: 200px;  font-size: 25px; position: absolute;  }
.c2-box .c2-left > div p span {letter-spacing: -1px; font-size: 13px; font-weight: 300; color: #7f7f7f;     line-height: 15px;}
.c2-box .c2-left > div:hover span { color: #fff;}
.c2-box .c2-left .c2-left1 p:nth-child(1){left: 45px; top: 90px;}
.c2-box .c2-left .c2-left1 p:nth-child(2) { letter-spacing: -1px; font-size: 13px; font-weight: 300; color: #7f7f7f;}
.c2-box .c2-left .c2-left1 img{   position: absolute; right: 0; top: 0; width: 363px; height: 256px;}
.c2-box .c2-left .c2-left2 img{  position: absolute; left: 0; top: -39px; width: 50%;}
.c2-box .c2-left .c2-left2 p{    right: 45px; top: 80px;}
.c2-box .c2-left .c2-left3 img{  position: absolute; right: 0; top: -38px; width: 50%; height: 293px;}
.c2-box .c2-left .c2-left3 p{position: absolute; left: 45px; top: 90px;}

.c2-box .c2-right { float: left; width: 50%;}
.c2-box .c2-right > div{ width: 593px; height: 255px; background-color: #FFF; position: relative; cursor: pointer; text-align: center; }
.c2-box .c2-right > div:hover { background-color: #00afc3; color: #fff;}                        
.c2-box .c2-right > div p { width: 200px;  font-size: 25px; position: absolute;  }
.c2-box .c2-right > div p span {letter-spacing: -1px; font-size: 13px; font-weight: 300; color: #7f7f7f;}
.c2-box .c2-right .c2-right1 p:nth-child(1){left: 45px; top: 90px;}
.c2-box .c2-right .c2-right1 p:nth-child(2) { letter-spacing: -1px; font-size: 13px; font-weight: 300; color: #7f7f7f;}
.c2-box .c2-right .c2-right1 img{  position: absolute; right: 0; top: 0; height: 256px; width: 363px;}
.c2-box .c2-right .c2-right2 img{  position: absolute; left: 0; top: -38px; height: 293px; width: 50%;}
.c2-box .c2-right .c2-right3 img{  position: absolute; right: 0; top: 0; height: 256px; width: 363px;}
.c2-box .c2-right .c2-right2 p{ right: 45px; top: 90px;}
.c2-box .c2-right .c2-right3 p{position: absolute; left: 45px; top: 90px;}



/* c3  */
.c3 { background: #f7f2f2;}
.c3-center {  margin: 0 auto; padding: 85px 0;
        width: 100%;
        max-width: 1400px;}
.c3-text { margin:0 0 60px; }
.c3-text  h3 { font-size: 44px; margin-bottom: 20px; color: #373737; font-weight:400;}
.c3-text  h3 > span {color: #00afc3; font-weight: 600; }
.contxt { font-size: 20px; line-height: 1.3;} 

.c3-boxwrap .c3-l { float: left; width: 50%; height: 500px; background-color: #00afc3; position: relative; overflow: hidden;border: 3px solid #f7f2f2; }
.c3-boxwrap .c3-l img{ width: 100%; height: 100%; transition: 0.5s;}
.c3-imgback {width: 100%; height: 100%; opacity:1; position: absolute; top: 0; left:0;  transition:all 0.5s; background-color: #2b272385;} 
.c3-boxwrap .c3-l:hover .c3-imgback {  opacity:0;}       
.c3-boxwrap .c3-l:hover img { transform: scale(1.2);}
.c3-imgback h4 { color: #fff; font-size: 20px; font-weight: 400;  padding-left: 20px; line-height: 70px; letter-spacing: -0.04em; white-space: nowrap;}
/* .c3-imgback p { color:#b3765a; font-size: 13px; padding-left: 20px;} */

.c3-boxwrap .c3-m { float: left; width: 25%; height: 500px;  overflow: hidden;}
.c3-boxwrap .c3-m img{ width: 100%; height: 100%; transition: 0.5s;}
.c3-boxwrap > .c3-m li:hover .c3-imgback {  opacity:1; background-color:#4f2f1625; }  
.c3-boxwrap .c3-box li { position: relative; height: 250px; overflow: hidden; border: 3px solid #f7f2f2;}
.c3-boxwrap .c3-box li:hover .c3-imgback {  opacity:0; }   
.c3-boxwrap .c3-box li:hover img { transform: scale(1.2);}

.c3-boxwrap .c3-r { float: left; width: 25%; height: 500px;  position: relative; overflow: hidden;     border: 3px solid #f7f2f2;}
.c3-boxwrap .c3-r img{ width: 100%; height: 100%; transition: 0.5s; object-fit: cover;}
.c3-boxwrap .c3-r:hover .c3-imgback {  opacity:0; }
.c3-boxwrap .c3-r:hover img { transform: scale(1.2);}
.c3-boxwrap .c3-r .c3-imgback h4 { font-size: clamp(14px, 1.25vw, 20px);}


/* main1 */

.main1 {width: 100%;max-width: 1400px; margin: 0 auto;    padding: 70px 0 0;  background: #f7f2f2;}
.main1_txt {position:absolute;left:0;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);}
.main1_1 {margin-bottom:20px;height:322px;clear:both;background:#06205c url('../img/main1_bg11.png') no-repeat right 75px bottom; ;position:relative;}
/* .main1_1>a {display:block;height:100%;position:relative;} */
.main1_1 .main1_txt {left:80px;}
.main1_1 .main1_txt > h3 {margin-bottom:30px;font-weight:500;color:#fff; font-size: 30px;     line-height: 1.3;}
.main1_1 .main1_txt > h3 > span {font-weight:normal;color:#c2986b;}
.main1_1 .main1_txt > p {display:inline-block;margin-right:10px;width:116px;line-height:35px;box-sizing:border-box;border:1px solid #c2986b;color:#c2986b;text-align:center;font-weight:bold;font-size:15px;border-radius:20px;transition:all 1s;-webkit-transition:all 1s;}
.main1_1>a:hover .main1_txt > p {background-color:#c2986b;color:#fff;}
.main1_2 {/*margin-right:20px*/margin-right:2%;border:1px solid #ececec;box-sizing:border-box;background-image:url('../img/main1_bg22.png');    background-color: #fff;}
.main1_3 {background-image:url('../img/main1_bg33.png'); background-size: cover; margin-bottom: 20px;}
/* .main1_con {float:left;width:690px;height:382px;position:relative;background-position:center center;background-repeat:no-repeat;} */
.main1_con {float:left;width:49%;height:382px;position:relative;background-position:center center;background-repeat:no-repeat;}
.main1_con .main1_txt {left:70px;}
.main1_con .main1_txt h3 {margin-bottom:30px;  font-size: 30px;}
.main1_con .main1_txt h4 {margin-bottom:10px;font-size:18px;}
.main1_con .main1_txt p {margin-bottom:35px;font-size:16px;font-weight:300; line-height: 1.3;}
/* .main1_con .main1_txt a {display:inline-block;width:160px;line-height:35px;box-sizing:border-box;padding:0 24px;border-radius:20px;border:1px solid #c2986b;font-size:15px;color:#c2986b;transition:all 1s;-webkit-transition:all 1s}
.main1_con .main1_txt a:after {content:'>'; float: right; font-family: 'NanumGothic', sans-serif;font-size:12px;}
.main1_con .main1_txt a:hover {background-color:#c2986b;color:#fff;} */
.main1_3 .main1_txt {color:#fff;}
.main1_3 .main1_txt a {color:#fff;border:1px solid #fff;}
.main1_3 .main1_txt a:hover {background-color:#fff;color:#333;}


/* c4 */
.c4 { background: #f2f2f2;}
.c4-center { width: 100%; max-width: 1400px; margin: 80px auto;padding: 80px 0 }
.c4-center .c4-left { width: 50%; float: left; position: relative;}
.c4-center .c4-left > img { width: 500px; height: 400px; background: lightblue;}
.c4-center .c4-left .c4-name { background: #fff; position: absolute;
                                left: 0;
                                bottom: -95px;
                                background: #fff;
                                padding: 45px 33px;
                                box-shadow: -2px 1px 10px 1px rgb(40 40 40 / 10%);
                                text-align: left;}
.c4-center .c4-text { width: 50%; float: left; margin-top: 50px;}
.c4-center .c4-text p { font-size: 30px; margin-bottom: 3vw;}
.c4-center .c4-text .contxt li { position: relative; padding-left: 15px;}
.c4-center .c4-text .contxt li::before{  content: '·';
                                        display: block;
                                        position: absolute;
                                        top: 0;
                                        left: 0;
                                        }
.c4-left .c4-name > h3 { font-size: 20px; margin-bottom: 5px;}
.c4-left .c4-name > h3 > span {color: #00afc3; font-weight: 600; }
.c4-left .c4-name .name { font-size: 30px; margin-bottom: 20px; color: #373737; font-weight:300;}
.c4-left .c4-name .name > span {color: #000000; font-weight: 600; font-size: 50px;  }
.c4-left .c4-name .c4-st { font-size: 25px;  font-weight: 500; color: #00afc3; margin: 1vw 0;}

/* .c4-text .contxt { }  */
.c4-text .contxt li { margin-bottom: 10px; font-size: 20px; font-weight: 300;}



/* slide */
.slidewrap {height: 100%; padding: 192px 0;}
 

.slidewrap .s-left { float: left; width: 53%; height: 450px; background-color: #E2E8EC; overflow: hidden;}
.slidewrap .s-left .move { width: 1340px; height: 350px; margin-top: 40px; margin-left: 0; }
.slidewrap .s-left .move .m-img { width: 315px; height: 100%;  background-color: rgb(255, 255, 255); margin: 0 10px; float: left;}
.slidewrap .s-left .move .m-img > img { width: 100%; height: 100%;}
.slidewrap .s-left .move .m-img .m-bot { text-align: center; height: 50px; line-height: 50px; font-size: 20px;}

.slidewrap .s-right { float: left; width: 45%;}
.sr-text { margin:60px 0; margin-left: 10%; }
.sr-text .sr-st { font-size: 25px; margin-bottom: 10px; font-weight: 500; color: #373737;}
.sr-text  h3 { font-size: 44px; margin-bottom: 48px; color: #00afc3;}
.sr-contxt { font-size: 26px; line-height: 1.3; font-weight: 300;}











/* c5 */
.c5-center { width: 100%;
    max-width: 1400px;
     margin: 90px auto;}
.c5-text { margin: 70px 0 60px; }
.c5-text .point {  position: relative; display: inline-block; font-size: 18px !important; line-height: 1.4; color: #373737; padding: 6px 0; margin-bottom: 36px;}
.c5-text .point::after {content: ""; position: absolute;  left: 0;  bottom: 0;  width: 100%; height: 1px; background: #aeaeae;}
.c5-text .c5-st { font-size: clamp(0px, 1.719vw, 33px) !important; margin-bottom: 10px; font-weight: 400; color: #000; letter-spacing: -0.04em; line-height: 1.3;}
.c5-text .contxt { padding-top: 24px; }

/* 2026-05-19 — c4 의료진 약력 + c4 인용구 폰트 2단계 크게 (28px) */
.c4-text > p,
.c4-text > ul.contxt > li,
.c7-tit p {
  font-size: clamp(0px, 1.458vw, 28px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.5 !important;
}

/* 2026-05-19 — c7 진료시간 본문(요일/시간/TEL)만 한 단계 작게 (18px), 제목은 33px */
.c7-top h2 {
  font-size: clamp(0px, 1.719vw, 33px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
}
.c7-box ul li,
.c7-top .c7-left > p {
  font-size: clamp(0px, 0.9375vw, 18px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.6 !important;
}

/* 2026-05-19 — c8 오시는 길 제목 크게(56px), 주소 18px */
.c8-bot h2 {
  font-size: clamp(0px, 2.917vw, 56px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.2 !important;
}
.c8-bot > p {
  font-size: clamp(0px, 0.9375vw, 18px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.6 !important;
}

/* 2026-05-19 — main1-box p (PSD 28px) 와 동일 폰트·크기 */
.c5-text .contxt,
.c5-ba .left-bot span, .c5-ba .right-bot span,
.c4-name h3, .c4-name .name, .c4-name .c4-st,
.c4-name .name span {
  font-size: clamp(0px, 1.458vw, 28px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.4 !important;
}
.c5-text  h3 { font-size: clamp(0px, 2.917vw, 56px) !important; margin-bottom: 20px; color: #000; font-weight: 400; letter-spacing: -0.04em; line-height: 1;}
.c5-text  h3 strong { font-weight: 700; color: rgb(0,175,195); }
.contxt { font-size: 26px; line-height: 1.3; font-weight: 300;} 
.c5-center .c5-ba { margin-top: 10px;}
.c5-center .left-bot {
    float: left;
     width: 100%; display: flex; 
     justify-content: space-between;}
.c5-center .left-bot span:nth-child(1) { display: inline-block;}
.c5-center .left-bot span:nth-child(2) { color: #00afc3;} 
.c5-center .right-bot { 
    float: right; 
    width: 100%; display: flex; justify-content: space-between;}
.c5-center .right-bot span:nth-child(2) { display: inline-block;  color: #00afc3;}
.large-4{
    position: relative;
}
.c5-center .c5-ba{
    position: absolute;
    bottom: -15px;
    left: 0;
    /* left: 0.9375em; */
    width: calc(100% - 0.9375em * 2);
}



/* c7 */
/* .c7 { background: #F0F6FF;} */
.c7-center { width: 100%;
            max-width: 1400px;
    margin: 0 auto;  height: 500px; background: #4f2f16; position: relative;
             background: url(../img/time.jpg) no-repeat center; background-size: cover;}
.c7-center .c7-text {float: left; width: 50%; height: 100%; }
.c7-center .c7-text .c7-tit { position: absolute; top: 50%;  transform: translateY(-50%); margin-left: 50px; line-height: 1.2;}
.c7-center .c7-text .c7-tit p { color: #fff; font-size: 30px; letter-spacing: -0.08em;}   
.c7-center .c7-text .c7-tit p > span { color: #00afc3;}
.c7-center .c7-text > p { font-size: 19px; font-weight: 500; margin-bottom: 30px;}
.c7-center .c7-top { float: left; width: 470px; height: 400px; position: relative; 
                       background: #3a3d3d; position: absolute; top: 50%; transform: translateY(-50%); right: 100px;}
.c7-center .bg { background-color: rgba(0, 0, 0 ,0.5); width: 100%; height: 100%;}
.c7-center .c7-top h2 { padding: 0 0 50px; font-size: 35px; font-weight: 300; letter-spacing: -0.08em; color: #fff;}
.c7-center .c7-top .c7-left{width: 90%;  position: absolute; top: 50%; transform: translate(-50%,-50%); left: 50%;}
.c7-box { font-size: 15px;}
.c7-center .c7-top .c7-left .c7l-l {float: left; color: #fff;}
.c7-center .c7-top .c7-left .c7l-l li { font-weight: 400; letter-spacing: 1em; padding-bottom: 20px;}
.c7-center .c7-top .c7-left .c7l-l li:nth-child(2) {letter-spacing: 1.35em; }
.c7-center .c7-top .c7-left .c7l-l li:nth-child(4) {letter-spacing: 1.35em; }
.c7-center .c7-top .c7-left .c7l-r { font-weight: 300; color: #fff; font-size: 0.933em;}
.c7-center .c7-top .c7-left .c7l-r li {padding-bottom: 20px; line-height: 1.072;}
.c7-center .c7-top .c7-left p { font-size: 35px; color: #fff;}
.c7-center .c7-top .c7-left p a { color: #00afc3; margin-left: 10px;}




/* c8 */
.c8-center { width: 100%; max-width: 1400px;  margin:0px auto;  height: 500px; background: #f2f2f2; position: relative; padding: 20px 0;}
.c8-wrap { width: 50%; height: 100%; float: left; position: relative;}
.c8-bot { width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);}

.c8-bot > h2 {  padding: 0 0 30px;
                font-size: 44px; /*35px*/
                font-weight: 300;
                letter-spacing: -0.08em;
                color: #373737;}

/* .c8-bot > h2{ font-size: 44px; margin-bottom: 20px; color: #373737; font-weight:400;} */
.c8-bot > h2> span {color: #00afc3; font-weight: 600; } 
.c8-bot > p { font-size: 20px; color: #303030; padding: 0 0 20px;}
.c8r-l { float: left; margin-right: 15px; }
.c8r-l li { font-weight: 400; letter-spacing: 0.5px; padding-bottom: 46px; color: #00afc3;}
.c8r-l li:nth-child(2) { padding-bottom: 50px;} 
.c8r-r { font-weight: 300; color: #303030;}
.c8r-r li {padding-bottom: 42px; font-weight: 300;  }
.c8r-r li:nth-child(2) {padding-bottom: 25px; line-height: 1.3;}
.c8r-r li:nth-child(3) {padding-bottom: 0px; line-height: 1.3;}

.c8-center .map { width: 50%; height: 100%; float: right;overflow: hidden}
.c8-center .map > img { width: 100%;}



/* footer */
#footer {border-top: 1px solid #eee;background: #2b2d2a}
.f-top .f-center { width: 100%; max-width: 1400px; margin: 0 auto; padding: 40px 0 30px;}
.f-center .f-logo { float: left; margin-right: 40px;}
.f-center .f-txt { float: left;  padding-top: 3px; width: 80%; }
.f-center .f-txt li { float: left; margin-bottom: 10px; font-size: 15px; color: #AAA7A7; font-weight: 400; margin-right: 10px; }
.f-top .f-center > p {  font-size: 15px; font-weight: 400; color: #AAA7A7;}


/* .f-bot {background: #EBEBEB; text-align: center; padding: 20px 0; font-size: 15px;  color: #707070; font-weight: 300;} */





/* @media (orientation:portrait) and (max-width:1024px) {  */

@media screen and (max-width:1440px) { 
   
    .center{
        max-width: 1080px;
    }
   
    /* header */
    /* .center { width:90%;}
    .center .gnb li { padding: 25px 0; font-size: 18px;}
    .center .gnb li a {margin-left: 30px;} */

    /* r-menu */
    /* .r-menu a {width: 80px; height: 80px;} 
    .r-menu a:nth-child(1) {width: 80px; height: 80px;} */

    /* visual */

    /* container */
    /* main1 */

    .main1 {
        max-width: 1080px;
    }

    /* c3 */
    .c3-center { 
        max-width: 1080px;
    }

    /* c4 */
    .c4-center { 
        max-width: 1080px;
    }

    /* c5 */
    .c5-center { 
        max-width: 1080px;
    }

    /* c7 */
    .c7-center { 
        max-width: 1080px;
    }

    /* c8 */
    .c8-center { 
        max-width: 1080px;
    }

    /* footer */
    .f-top .f-center { 
        max-width: 1080px;
    }
    .r-menu a:nth-child(1){
        width: 48px;
        height: 48px;
    }
    .r-menu a{
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width:1080px) { 
   
    /* header */

    .center{
        max-width: 90%;
    }
    .center .gnb{
        display: none;
    }
    /* header */
    /* .center { width:90%;}
    .center .gnb li { padding: 25px 0; font-size: 18px;}
    .center .gnb li a {margin-left: 30px;} */

    /* r-menu */
    /* .r-menu a {width: 80px; height: 80px;} 
    .r-menu a:nth-child(1) {width: 80px; height: 80px;} */

    /* visual */

    /* container */
    /* main1 */

    .main1 {
        max-width: 90%;
    }

    /* c3 */
    .c3-center { 
        max-width: 90%;
    }

    /* c4 */
    .c4-center { 
        max-width: 90%;
    }

    /* c5 */
    .c5-center { 
        max-width: 90%;
    }

    /* c7 */
    .c7-center { 
        max-width: 90%;
    }

    /* c8 */
    .c8-center { 
        max-width: 90%;
    }

    /* footer */
    .f-top .f-center { 
        max-width: 90%;
    }
    .v-text h2{
        font-size: 42px;
    }
    .v-text h5{
        font-size: 18px;
    }
    .v-text p{
        font-size: 22px;
    }
    .c3-text h3{
        font-size: 38px;
    }
    .contxt{
        font-size: 18px;
    }

    .main1_1{
        background: #06205c url(../img/main1_bg11.png) no-repeat right bottom / 40%;
    }
    .c4-center .c4-text{
        width: max-content;
        margin-left: 4%;
    }
    .c4-center .c4-text p{
        font-size: 28px;
    }
    .c4-text .contxt li{
        font-size: 16px;
    }
    .c4-left .c4-name > h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }
    .c4-left .c4-name .name{
        font-size: 28px;
    }
    .c4-left .c4-name .name > span{
        font-size: 40px;
    }
    .c4-left .c4-name .c4-st{
        font-size: 20px;
    }
    .c7-center .c7-top{
        right: 50px;
        width: 420px;
        height: 360px;
    }
    .c7-center .c7-top h2{
        font-size: 28px;
    }
    .c7-box{
        font-size: 14px;
    }
    .c7-center .c7-top .c7-left p{
        font-size: 28px;
    }
    .c7-center .c7-text .c7-tit p{
        font-size: 26px;
    }
}


@media screen and (max-width:960px) { 
   
    /* header */
    .center { width:90%;}
    .center .gnb {  width:70%;
        left: 0;
        right: 0;
        transform: none;}

    .row{
        display: flex;
        flex-direction: column;
    }
    .c4-center .c4-left{
        width: 100%;
    }
    .c4-center .c4-left > img{
        width: 100%;
    }
    .c4-center .c4-text{
        margin-top: 150px;
        margin-left: 0;
        width: 90%;
    }
    .large-4{
        width: 100%;
    }
    .twentytwenty-container img{
        width: 100%;
    }
    .c4-center .c4-text p{
        margin-bottom: 15px;
        width: 90%;
        font-size: 6.588vw;
    }
    .c4-center{
        padding: 0;
    }
    #visual{
        height: 85vh;
        height: 85dvh;
    }
    .v-text h5{
        font-size: 3.765vw;
    }
    .v-text h2{
        font-size: 6.118vw;
    }
    .v-text p{
        font-size: 3.529vw;
        width: 100%;
        margin: 15px 0 0;
        line-height: 1.5;
    }
    .c3-text h3{
        font-size: 7.059vw;
    }
    .contxt{
        font-size: 3.529vw;
    }
    .c3-imgback h4,
    .c3-boxwrap .c3-r .c3-imgback h4{
        font-size: 5.647vw;
    }
    .c3-boxwrap .c3-l{
        height: max-content;
    }
    .c3-boxwrap .c3-l,
    .c3-boxwrap .c3-r{
        width: 100%;
        height: 300px;
    }
    .c3-boxwrap .c3-m{
        width: 100%;
        height: 610px;
    }
    .c3-boxwrap .c3-box li{
        height: 300px;
    }
    .main1_1 .main1_txt{
        left: 15px;
    }
    .main1_1 .main1_txt > h3{
        font-size: 16px;
    }
    .main1_1 {
        background: #06205c url(../img/main1_bg11.png) no-repeat right bottom / 60%;
    }
    .main1_con{
        width: 100%;
    }
    .main1_con .main1_txt{
        left: 15px;
    }
    .c5-text h3{
        font-size: 7.059vw;
        margin-bottom: 25px;
    }
    .c5-text .c5-st{
        font-size: 4.235vw;
    }
    .c5right{
        margin-top: 25px;
    }
    .column, .columns{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .c5-center .c5-ba{
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    .c5-center .right-bot{
        position: absolute;
        width: 100%;
    }
    .c5-center .left-bot{
        width: 100%;
        margin-left: 0;
        text-indent: 0;
    }
    .c7-center{
        margin-bottom: 360px;
        height: 300px;
    }
    .c7-center .c7-top{
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 300px;
    }
    .main1_con .main1_txt p{
        font-size: 3.294vw;
    }
    .main1_con .main1_txt h3{
        font-size: 5.647vw;
    }
    .c5-text .point{
        margin-bottom: 22px;
    }
    .c4-text .contxt li{
        font-size: 3.765vw;
    }

    .c4-left .c4-name .name > span{
        font-size: 6.118vw;
    }
    .c4-left .c4-name .name{
        font-size: 5.176vw;
    }
    .c4-left .c4-name > h3{
        font-size: 3.765vw;
    }
    .c4-left .c4-name .c4-st{
        font-size: 12px;
    }
    .c4-center .c4-left .c4-name{
        padding: 20px 15px;
        width: 100%;
    }
    .c7-center .c7-text .c7-tit p{
        font-size: 4.235vw;
    }
    .c7-center .c7-text .c7-tit{
        margin-left: 15px;
    }
    .c7-center .c7-top h2{
        font-size: 5.647vw;
    }
    .c7-box{
        font-size: 12px;
    }
    .c7-center .c7-top .c7-left p{
        font-size: 3.765vw;
    }
    .c8-center{
        height: max-content;
    }
    .c8-wrap{
        width: 100%;
        height: max-content;
    }
    .c8-bot > h2{
        font-size: 5.647vw;
    }
    .c8-bot > p{
        font-size: 3.765vw;
    }
    .c8-bot{
        position: static;
        width: 100%;
        transform: none;
    }
    .c8-center .map{
        width: 100%;
        float: none;
    }
    .f-center .f-logo{
        margin-bottom: 25px;
    }
}


/* 2026-05-19 — 사이트 전역 Pretendard 통일 (head에 CDN 로드됨) */
body, body * {
  font-family: 'Pretendard Variable','Pretendard','Noto Sans KR',sans-serif !important;
}

/* 2026-05-19 — 폰트 크기 위계 통일 (c3+main1 PSD 기준 6단계, 히어로 제외)
   대표님 지시 위계: 56(메인 제목) / 42(박스 제목) / 33(부제) / 28(박스 본문·라벨) / 18(캡션) / 16(본문) */
:root {
  --fs-display: 56px;    /* 섹션 메인 제목 (부작용 0%에 도전하는 디지털타임치과 / 타임치과의 특별함) */
  --fs-h2:      42px;    /* 박스 큰 제목 (자체 기공소 운영) */
  --fs-h3:      33px;    /* 부제 (감염율을 낮추고, 생존율을 높인 디지털임플란트) */
  --fs-h4:      28px;    /* 박스 본문·라벨 (보철과 전문의 및 자체 기공소 운영) */
  --fs-h5:      18px;    /* 캡션 */
  --fs-body:    16px;    /* 본문 */
}
body                   { font-size: var(--fs-body) !important; line-height: 1.5; }
body h1                { font-size: var(--fs-display) !important; line-height: 1.2; }
body h2                { font-size: var(--fs-h2) !important; line-height: 1.25; }
body h3                { font-size: var(--fs-h3) !important; line-height: 1.3; }
body h4                { font-size: var(--fs-h4) !important; line-height: 1.35; }
body h5                { font-size: var(--fs-h5) !important; line-height: 1.4; }
body p                 { font-size: var(--fs-body) !important; line-height: 1.5; }

/* 히어로(.v-text)·c3·main1 PSD 정의 보호 — 사용자 지시 "히어로 작업 안 함" */
.v-text h2             { font-size: 60px !important; }
.v-text h5             { font-size: 20px !important; }
.v-text p              { font-size: 30px !important; }
.c3-title h2           { font-size: 2.917cqw !important; line-height: 1.18 !important; }
.c3-title p            { font-size: 1.719cqw !important; line-height: 1.4 !important; }
.c3-box__label         { font-size: 1.458cqw !important; line-height: 1.3 !important; }
.main1-title h2        { font-size: 2.917cqw !important; line-height: 1 !important; }
.main1-title p         { font-size: 1.719cqw !important; line-height: 1.3 !important; }
.main1-box h3          { font-size: 2.188cqw !important; line-height: 1 !important; }
.main1-box p           { font-size: 1.458cqw !important; line-height: 1.4 !important; }

/* =============================================================
 * c3 + main1 PSD 리디자인 (2026-05-19)
 * PSD: c3,main_con-main1-섹션-리디자인.psd (1920×2125)
 * 표준: PSD 원본 100% 이식 표준 가이드 20260421
 * 폰트: Pretendard (CDN, head 로드)
 * ============================================================= */

/* ---- c3 섹션 ---- */
.c3-redesign {
  background: #f2f2f2; /* PSD 색상 칠 1 rgb(242,242,242) */
  font-family: 'Pretendard Variable','Pretendard','Noto Sans KR',sans-serif;
  letter-spacing: -0.04em;
  overflow: hidden;
}
.c3-canvas {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 950;
  container-type: inline-size;
}
.c3-title {
  position: absolute;
  left: 7.5%;   /* 144/1920 */
  top: 11.37%;  /* 108/950 */
  width: 40%;
}
.c3-title h2 {
  font-size: 2.917cqw;  /* 56/1920 */
  font-weight: 400;
  color: #000;
  line-height: 1.18;
  margin: 0;
}
.c3-title h2 strong {
  font-weight: 700;
  color: rgb(0,175,195); /* PSD */
}
.c3-title p {
  font-size: 1.719cqw;  /* 33/1920 */
  color: rgb(48,48,48);
  font-weight: 400;
  line-height: 1.4;
  margin: 1.875cqw 0 0; /* 36/1920 — h2와 p 간격 */
}

.c3-box {
  position: absolute;
  margin: 0;
  overflow: hidden;
}
.c3-box__bg {
  position: absolute;
  inset: 0;
  background: rgb(233,233,233); /* PSD 사각형 */
  z-index: 1;
}
.c3-box--dark .c3-box__bg {
  background: rgb(48,48,48);
}
.c3-box__img {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.c3-box__label {
  position: absolute;
  z-index: 3;
  font-size: 1.458cqw;  /* 28/1920 */
  font-weight: 600;
  color: rgb(137,137,137);
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

/* c3 박스1 — 보철과 (PSD JPG crop background) */
.c3-box-1 {
  left: 7.40%;    /* 142/1920 */
  top: 43.47%;    /* 413/950 */
  width: 27.34%;  /* 525/1920 */
  height: 47.68%; /* 453/950 */
  background-image: url('../img/c3-bg-1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.c3-box-1 .c3-box__bg,
.c3-box-1 .c3-box__img { display: none; }
.c3-box-1 .c3-box__label {
  left: 62.10%;   /* (468-142)/525 */
  top: 5.96%;     /* (440-413)/453 */
}

/* c3 박스2 — 핸드피스 (PSD JPG crop background) */
.c3-box-2 {
  left: 36.35%;   /* 698/1920 */
  top: 10.95%;    /* 104/950 */
  width: 27.34%;
  height: 38.32%; /* 364/950 */
  background-image: url('../img/c3-bg-2.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.c3-box-2 .c3-box__bg,
.c3-box-2 .c3-box__img { display: none; }
.c3-box-2 .c3-box__label {
  left: 64.19%;
  top: 7.14%;
}

/* c3 박스3 — 정기 방역 (PSD JPG crop background) */
.c3-box-3 {
  left: 36.35%;
  top: 52.95%;    /* 503/950 */
  width: 27.34%;
  height: 38.32%;
  background-image: url('../img/c3-bg-3.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.c3-box-3 .c3-box__bg,
.c3-box-3 .c3-box__img { display: none; }
.c3-box-3 .c3-box__label {
  left: 68.19%;
  top: 6.87%;
}

/* c3 박스4 — 수관식 멸균체어 G2i (PSD JPG crop background) */
.c3-box-4 {
  left: 65.26%;   /* 1253/1920 */
  top: 10.95%;
  width: 27.40%;  /* 526/1920 */
  height: 80.21%; /* 762/950 */
  background-image: url('../img/c3-bg-4.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.c3-box-4 .c3-box__bg,
.c3-box-4 .c3-box__img { display: none; }
.c3-box-4 .c3-box__label {
  /* PSD alignment right, 박스 우상단 — PSD JPG의 라벨 위에 정확히 덮어 매칭 */
  left: auto;
  right: 6.27%;  /* (1779-(1533+213))/526 */
  top: 3.67%;    /* (132-104)/762 */
  text-align: right;
}

/* ---- main1 섹션 ---- */
.main1-redesign {
  background: #e9e9e9; /* PSD 색상 칠 1 rgb(233,233,233) */
  font-family: 'Pretendard Variable','Pretendard','Noto Sans KR',sans-serif;
  letter-spacing: -0.04em;
  overflow: hidden;
}
.main1-canvas {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 1034;  /* c3 끝(y 950)~main1 박스 끝(y 1984) 1034px 포함 */
  container-type: inline-size;
}
.main1-title {
  position: absolute;
  left: 7.55%;  /* 145/1920 */
  top: 11.03%;  /* (1064-950)/1034 — PSD 캔버스 갭 + h2 위치 */
  width: 50%;
}
.main1-title h2 {
  font-size: 2.917cqw;
  font-weight: 400;
  color: #000;
  line-height: 1;
  margin: 0;
}
.main1-title h2 strong {
  font-weight: 700;
  color: rgb(0,175,195);
}
.main1-title p {
  font-size: 1.719cqw;
  color: #000;
  font-weight: 400;
  line-height: 1.3;
  margin: 1.094cqw 0 0; /* 21/1920 */
}

.main1-box {
  position: absolute;
  top: 27.76%;    /* (1237-950)/1034 — PSD 박스 시작 */
  height: 72.24%; /* 747/1034 */
  overflow: hidden;
  border-radius: 0;
}
.main1-box h3 {
  position: absolute;
  font-size: 2.188cqw;  /* 42/1920 */
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.04em;
}
.main1-box p {
  position: absolute;
  font-size: 1.458cqw;  /* 28/1920 */
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.04em;
}
.main1-box img {
  position: absolute;
  display: block;
}

/* main1 좌측 — 자체 기공소 운영 (PSD JPG crop background) */
.main1-box-left {
  left: 7.34%;
  width: 42.71%;
  background-image: url('../img/main1-bg-1.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.main1-box-left h3 { left: 11.34%; top: 12.45%; }
.main1-box-left p  { left: 11.83%; top: 23.43%; }
.main1-box-left img { display: none; }

/* main1 우측 — 디지털 장비 (PSD JPG crop background) */
.main1-box-right {
  left: 49.90%;
  width: 42.76%;
  background-image: url('../img/main1-bg-2.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.main1-box-right h3 { left: 13.64%; top: 11.65%; }
.main1-box-right p  { left: 13.64%; top: 22.62%; }
.main1-box-right img { display: none; }

/* ---- 모바일 (max-width 960px) — PSD 비율 깨고 1열 스택 ---- */
@media (max-width: 960px) {
  .c3-canvas {
    aspect-ratio: auto;
    padding: 50px 5%;
  }
  .c3-title {
    position: static;
    width: 100%;
    margin-bottom: 28px;
  }
  .c3-title h2 { font-size: 7vw; }
  .c3-title p  { font-size: 4vw; margin-top: 12px; }
  .c3-box {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 525/364;
    margin-bottom: 10px;
    left: auto;
    top: auto;
  }
  .c3-box-1 { aspect-ratio: 525/453; }
  .c3-box-4 { aspect-ratio: 526/500; }
  .c3-box .c3-box__label {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    text-align: left;
    white-space: normal;
  }
  .c3-box-4 .c3-box__label {
    left: auto;
    right: 16px;
    text-align: right;
  }

  .main1-canvas {
    aspect-ratio: auto;
    padding: 50px 5%;
  }
  .main1-title {
    position: static;
    width: 100%;
    margin-bottom: 28px;
    top: auto;
    left: auto;
  }
  .main1-title h2 { font-size: 7vw; }
  .main1-title p  { font-size: 4vw; margin-top: 12px; line-height: 1.4; }
  .main1-box {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 820/900;
    margin-bottom: 12px;
    left: auto;
    top: auto;
    background-size: 100% 55% !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
  }
  .main1-box-left  { background-color: rgb(51,51,51) !important; }
  .main1-box-right { background-color: rgb(26,42,79) !important; }
  .main1-box h3 { position: absolute; left: 7%; right: 7%; top: 8%; }
  .main1-box p  { position: absolute; left: 7%; right: 7%; top: 22%; }
  .main1-box img { display: none; }
}


/* =============================================================
 * 2026-05-19 — 모바일 전체 반응형 통일 (BP 960px)
 * 위계 (모바일): 34 / 28 / 22 / 18 / 15 / 14
 * 데스크탑(1920) 비율 유지, 모바일에서만 px 고정 fallback
 * ============================================================= */
@media (max-width: 960px) {
  /* 전역 폰트 위계 모바일 px 고정 */
  body                   { font-size: 14px !important; line-height: 1.5; }
  body h1                { font-size: 34px !important; line-height: 1.2; }
  body h2                { font-size: 28px !important; line-height: 1.25; }
  body h3                { font-size: 22px !important; line-height: 1.3; }
  body h4                { font-size: 18px !important; line-height: 1.4; }
  body h5                { font-size: 15px !important; line-height: 1.4; }
  body p                 { font-size: 14px !important; line-height: 1.5; }

  /* 히어로 (.v-text) — 모바일에서 좌측 5% / 가로 90% / 세로 중앙 */
  .v-wrap > div > .v-text {
    top: 50% !important;
    left: 5% !important;
    width: 90% !important;
    height: auto !important;
    transform: translateY(-50%) !important;
  }
  .v-text h2             { font-size: 28px !important; line-height: 1.25; }
  .v-text h5             { font-size: 14px !important; }
  .v-text p              { font-size: 14px !important; line-height: 1.4; }

  /* c3 모바일 */
  .c3-title h2           { font-size: 28px !important; line-height: 1.25; }
  .c3-title p            { font-size: 14px !important; line-height: 1.4; }
  .c3-box__label         { font-size: 14px !important; white-space: normal; line-height: 1.3; }

  /* main1 모바일 */
  .main1-title h2        { font-size: 28px !important; line-height: 1.2; }
  .main1-title p         { font-size: 14px !important; line-height: 1.4; }
  .main1-box h3          { font-size: 22px !important; line-height: 1.2; }
  .main1-box p           { font-size: 14px !important; line-height: 1.5; }

  /* c5 모바일 */
  .c5-text h3            { font-size: 28px !important; line-height: 1.2; }
  .c5-text .c5-st        { font-size: 18px !important; line-height: 1.3; }
  .c5-text .contxt       { font-size: 14px !important; padding-top: 12px; line-height: 1.5; }
  .c5-text .point        { font-size: 13px !important; }

  /* c7 모바일 (진료시간) */
  .c7-top h2             { font-size: 22px !important; }
  .c7-box ul li,
  .c7-top .c7-left > p   { font-size: 14px !important; }
  .c7-tit p              { font-size: 15px !important; line-height: 1.5; }

  /* c8 모바일 (오시는 길) */
  .c8-bot h2             { font-size: 28px !important; line-height: 1.25; }
  .c8-bot > p            { font-size: 14px !important; }

  /* c4 모바일 (의료진) */
  .c4-text > p,
  .c4-text > ul.contxt > li,
  .c4-name h3, .c4-name .name, .c4-name .c4-st,
  .c4-name .name span    { font-size: 15px !important; line-height: 1.5; }

  /* 슬라이더 도트 모바일 위치 */
  .vl-btn                { bottom: 60px !important; }
  .vl-btn > li           { width: 8px; height: 8px; }

  /* c7/c8 두 컬럼 grid 정렬 — display:contents 로 li가 grid 직접 자식이 됨 */
  .c7-top .c7-box.clear {
    display: grid !important;
    grid-template-columns: 70px 1fr;
    column-gap: 16px;
    row-gap: 4px;
  }
  .c8-bot .c7-box.clear {
    display: grid !important;
    grid-template-columns: 100px 1fr;
    column-gap: 16px;
    row-gap: 8px;
  }
  .c7-center .c7-top .c7-left .c7l-l,
  .c7l-l, .c7l-r,
  .c8r-l, .c8r-r { display: contents !important; float: none !important; }

  .c7l-l li:nth-child(1) { grid-row: 1; grid-column: 1; }
  .c7l-l li:nth-child(2) { grid-row: 2; grid-column: 1; }
  .c7l-l li:nth-child(3) { grid-row: 3; grid-column: 1; }
  .c7l-l li:nth-child(4) { grid-row: 4; grid-column: 1; }
  .c7l-r li:nth-child(1) { grid-row: 1; grid-column: 2; }
  .c7l-r li:nth-child(2) { grid-row: 2; grid-column: 2; }
  .c7l-r li:nth-child(3) { grid-row: 3; grid-column: 2; }
  .c7l-r li:nth-child(4) { grid-row: 4; grid-column: 2; }

  .c8r-l li:nth-child(1) { grid-row: 1; grid-column: 1; }
  .c8r-l li:nth-child(2) { grid-row: 2; grid-column: 1; }
  .c8r-l li:nth-child(3) { grid-row: 3; grid-column: 1; }
  .c8r-r li:nth-child(1) { grid-row: 1; grid-column: 2; }
  .c8r-r li:nth-child(2) { grid-row: 2; grid-column: 2; }
  .c8r-r li:nth-child(3) { grid-row: 3; grid-column: 2; }

  .c7-center .c7-top .c7-left .c7l-l li,
  .c7-center .c7-top .c7-left .c7l-l li:nth-child(2),
  .c7-center .c7-top .c7-left .c7l-l li:nth-child(4) { letter-spacing: 0 !important; padding-bottom: 0 !important; }
  .c7l-r li, .c8r-l li, .c8r-r li { padding-bottom: 0 !important; }

  /* TEL 행도 다른 행과 동일 grid 정렬 */
  .c7-top .c7-left > p.c7-tel {
    display: grid !important;
    grid-template-columns: 70px 1fr;
    column-gap: 16px;
    margin-top: 8px;
  }
  .c7-top .c7-left > p.c7-tel a { margin-left: 0 !important; }

  /* c7 — 데스크탑이 좌·우 50% float인 걸 모바일에선 세로 stack으로 풀고 잘림 방지 */
  .c7-center {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 40px 5% !important;
    background-image: none !important;
    background-color: #f5f5f5 !important;
  }
  .c7-center .c7-text {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    background-image: none !important;
    background: transparent !important;
    margin-bottom: 24px !important;
  }
  .c7-center .c7-text .c7-tit {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
  }
  .c7-center .c7-text .c7-tit p { color: #303030 !important; }
  .c7-center .c7-text .c7-tit p > span { color: #00afc3 !important; }
  .c7-center .bg { display: none !important; }
  .c7-center .c7-top {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    background: #2b2d2a !important;
    padding: 28px 0 !important;
    position: relative !important;
  }
  .c7-center .c7-top .c7-left {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 90% !important;
    margin: 0 auto !important;
  }

  /* c8 — 잘림 방지. .c8-bot는 이미 static이지만 height/padding 명시적으로 안정 */
  .c8-center { padding: 40px 5% !important; }
  .c8-center .map { margin-top: 24px !important; }
  .c8-center .map iframe { height: 320px !important; width: 100% !important; }
}


/* =============================================================
 * 2026-05-19 — 미세 인터랙션 (스크롤 reveal + 박스 hover)
 * 과하지 않게 — fade + 24px 슬라이드 / 박스 hover translateY + shadow
 * ============================================================= */
.is-reveal-target {
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
}
.is-reveal-target.is-revealed {
  opacity: 1;
}

/* prefers-reduced-motion 존중 */
@media (prefers-reduced-motion: reduce) {
  .is-reveal-target { opacity: 1 !important; transition: none !important; }
  .c3-box, .main1-box { transition: none !important; }
}

/* 박스 hover — 데스크탑만 */
@media (hover: hover) and (pointer: fine) {
  .c3-box, .main1-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }
  .c3-box:hover, .main1-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  }
}

