@charset "utf-8";
/* CSS Document */

/*글씨체*/
body, a, span, input, button, textarea, select { font-family: 'Pretendard', 'Roboto', 'Arial', sans-serif !important;}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}


@import url('//fonts.googleapis.com/earlyaccess/nanummyeongjo.css');





#container{margin-top:-1px;}
#contents{ padding:0px; }

#contents .sub_content{width:100%; margin-top: 100px; padding:0;}/* 메인 */
.main_visual{overflow:hidden; width:100%;  margin:0 0 70px 0;}
.main_content{}
.main_slide_ban{overflow:hidden; width:1200px; margin:0 auto;}
.main_slide{float:left; width:612px;}
.main_banner{float:left; width:588px;}
.main_ban_img01,
.main_ban_img02,
.main_ban_img03{display:inline-block; float:left;}
.main_ban_img06 img{margin:30px 0 0 0;}

.main_cont_slide{text-align:center;}

p{ font-family: 'Pretendard'; }

/* 시간 슬라이드 */
#sliderbox { 
            justify-content: center;
            align-items: center;
			height: 595px;
        } /*   display: flex;    min-height: 100vh; */

        /* 슬라이더 메인 글씨 박스 */


.slidetxt_box{
  	position: absolute;
    width: 1200px;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);

}

/*메인 글씨체*/
.slidetxt_box h2{
    font-size: 29px;
    font-weight: 500;
}

.slidetxt_box h1{
   font-size: 60px;
    font-weight: 700;

}

.slidetxt_box p{
font-size: 25px;
    width: 550px;
padding-top: 20px;
}


.slider-container {
            position: relative;
            width: 100%; /* 원본 비율에 맞춘 너비  1000px;*/
            height: 595px; /* 원본 비율에 맞춘 높이 333px;*/
            overflow: hidden;
		  	display: inline-block;
  		  
        }

        /* 슬라이드 아이템 */
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
            z-index: 1;
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


/* 하단 컨트롤러 영역 */
.slider-controls {

    display: flex;
    align-items: center;  /* 수직 가운데 정렬 */
    justify-content: flex-start; /* 왼쪽부터 차례대로 정렬 */
    bottom: 20%;
    left: 50%;
    max-width: 100%;
    height: 34px;        /* SVG 패딩(10px)과 크기(12px)를 고려해 높이를 넉넉히 확보 */
    position: absolute;
    transform: translateX(-50%);
    width: 1200px;
    z-index: 10;
    gap: 12px;
    user-select: none;

} 

/*
 align-items: center;
    bottom: 20%;
    display: flex;
    left: 50%;
    max-width: 100%;
    height: 20px;
    position: absolute;
    transform: translateX(-50%);
    width: 1200px;
    z-index: 10;
 gap: 12px;
 user-select: none;
수정전

*/



/* 버튼 공통 스타일 (원형 인터페이스) */
      
  .control-btn {
	width: 34px;       
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

           /*  수정전   width: 12px;
            height: 12px;
         	 display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
			*/


.control-btn:hover { 
        
  			border-radius: 30px;

 		
 }


 
/* 화살표 및 아이콘 커스텀 (SVG 사용) */
.control-btn svg {
    width: 12px;
    height: 12px;
    fill: #8ea453;
    transition: fill 0.2s;
    border-radius: 30px; 
    border: 1px solid #8ea453;
    padding: 10px;
    cursor: pointer;
    box-sizing: content-box;
    display: block; 

}

/*  수정전 
    width: 12px;
    height: 12px;
    fill: #8ea453;
    transition: fill 0.2s;
    border-radius: 30px; 
border: 1px solid #8ea453;
    padding: 10px;
cursor: pointer;
*/


.control-btn:hover svg {
    fill: #fff;   
    border-radius: 30px;
    padding: 10px;
    border: 1px solid #9ca986; /* 1px 뒤에 solid 누락된 부분 수정 */
    background-color: #9ca986;

}

/* 수정전 
    fill: #fff;  
    transition: fill 0.2s;
    border-radius: 30px;
    padding: 10px;
	border: 1px #9ca986;
    background-color: #9ca986;
*/


        /* 페이지 번호 (01/05) */
        .page-number {
            font-size: 14px;
            font-weight: bold;
            color: #8ea453;
            letter-spacing: 0.5px;
            font-family: sans-serif;
        }

        /* 프로그레스 바 트랙 */
        .progress-track {
            width: 100px;
            height: 2px;
            background-color: #ffffff;
            position: relative;
            border-radius: 2px;
            overflow: hidden;
        }

        /* 실제 채워지는 프로그레스 바 */
        .progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background-color: #a2b76b;
        }




/*메인 소장 */

#main_sojang_top{ margin-bottom:60px}


        /* 소장 영역 */
        .main-container {
            position: relative;
            width: 100%;

        } /*  min-height: 100vh;
            overflow: hidden;*/

        /* 1. 상단 배경 영역 (세균 이미지 확대 스크롤 애니메이션) */
        .bg-section {
            position: relative;
            width: 100%;
            height: 450px;
            /* 실제 이미지 경로로 수정 필요: 예) background-image: url('세균-이미지.jpg'); */
            background-image: url('/img/byunhom/main/segun_img.jpg'); 
			transition: background-size 0.1s ease-out; /* 스크롤 시 부드러운 확대 */
   			background-position: center;
        }

        /* 어두운 오버레이 레이어 (글씨 가독성 확보) */
        .bg-section::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgb(0 0 0 / 57%);/* 소장 이미지 검정 밝기*/
            z-index: 1;

        }

        /* 상단 텍스트 스타일 및 페이드인 애니메이션 */
        .top-text-box {
            position: relative;
            z-index: 2;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInMoveUp 1.2s ease-out forwards;
            animation-delay: 0.2s;

        }

        .top-text-box h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 700;
			    text-align: center;
  			  color: #fff;
			padding-top: 100px;
}

        .top-text-box h1 span {
			color: #c5f14f; /* 소장 강조 컬러 */
  	 	 font-size: 50px;

        }

        .top-text-box p {

			text-align: center;
  			color: #fff;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 300;

        }

        /* 2. 소장 하단 콘텐츠 영역 */
        .content-section {
            position: relative;
            width: 100%;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        /* 소장 이미지 배치 및 둥둥 떠있는 애니메이션 */
        .intestine-img-wrap {
            margin-top: -150px;; /* 상단 배경과 살짝 겹치도록 배치 */
            position: relative;
            z-index: 10;
            width: 320px;
            height: auto;
            animation: floating 3s ease-in-out infinite;
        }
		/* 소장 누끼*/
        .intestine-img-wrap img {
           height: auto;
  		 	 position: absolute;
   			 left: -0%;
        } /* width: 100%;
            height: auto;    */

        /* 하단 설명 텍스트 (타이밍이 다르게 페이드인) */
        .sojang-bottom-text-box {
            margin-top: 40px;
            padding: 0 20px;
            max-width: 600px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInMoveUp 1.2s ease-out forwards;
            animation-delay: 0.8s; /* 상단 글자보다 느리게 나타남 */
        }
        .sojang-bottom-text-box h2 {
            font-size: 2rem;
            color: #2e6f40;
            margin-bottom: 20px;
        }
        .sojang-bottom-text-box p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
        }
        .sojang-bottom-text-box p strong {
            color: #000;
        }

        /* --- 애니메이션 정의 --- */

        /* 아래에서 위로 페이드인 */
        @keyframes fadeInMoveUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 위아래로 둥둥 떠있는 효과 */
        @keyframes floating {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-15px);
            }
            100% {
                transform: translateY(0px);
            }
        }

/** 후기 완료 **/

/* 1. 전체 컨테이너 및 레이아웃 (Grid 설정) */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 원본 비율에 맞게 총 6열로 구성 */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
}    	  

/* --- 스크롤 애니메이션을 위한 초기 상태 설정
    opacity: 0;                      처음엔 안 보이게
    transform: translateY(50px);      아래로 50px 내려놓기
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 

 부드러운 전환
gap: 8px; 사진 사이 여백 크기 */
	
	
/* --- 자바스크립트가 화면 감지 후 붙여줄 '활성화' 클래스
.gallery-container.show {
    opacity: 1;                      /* 선명하게 등장 */
    transform: translateY(0);        /* 원래 위치로 원상복구 */

}
 --- */


	
	/* [기존 Hover 효과 코드도 그대로 유지 하시면 됩니다] */
.gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}
.gallery-item:hover {
    transform: translateY(0px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    z-index: 5;
	
}
.gallery-item:hover img {
    transform: scale(1.04);
 	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.gallery-container:hover .gallery-item:not(:hover) {
    opacity: 0.65;
    filter: brightness(0.9);
}
	

	'

/* 2. 개별 아이템 기본 설정 (a 태그 영역 확보) */
.gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease-in-out;
}

/* 3. 원본 이미지 형태 유지를 위한 구역 확장 (Grid Span) */
.text-banner {
    grid-column: span 3; /* 왼쪽 초록색 타이틀 배너: 가로 3칸 */
    grid-row: span 2;    /* 세로 2칸 */
    background: #19b39d; /* 원본의 산뜻한 청록색 */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;


    background: linear-gradient(-45deg, #37a8a9,  #5bbd99);
}
/*  background: linear-gradient(-45deg, #37a8a9, #5bbd99, #d135ed); /* 그라데이션 배경 */
background-size: 400% 400%;
    animation: colorChange 3s ease infinite;
*/





/* 가운데 큰 아저씨 사진 (hugi_05) 가로세로 2칸씩 확보 */
.main-person {
    grid-column: span 2;
    grid-row: span 2;
}
#hugi_05{
    grid-column: span 2;
    grid-row: span 2;
}

/* ========================================================
   4. 마우스 오버 (Hover) 반응 효과
======================================================== */

/* 마우스를 올린 아이템: 약간 위로 뜨면서 입체감 부여 */
.gallery-item:hover {
    transform: translateY(0px);
    z-index: 5;
	box-shadow: 0 8px 24px rgba(0,0,0,.1); 
}

/* 마우스를 올린 아이템의 이미지: 자연스럽게 4% 확대 */
.gallery-item:hover img {
    transform: scale(1.04);
}

/* 포커스 효과: 마우스를 올렸을 때 "나머지 다른 사진들"은 살짝 어두워짐 */
.gallery-container:hover .gallery-item:not(:hover) {
    opacity: 0.7;
    filter: brightness(0.9);
}


/* --- 타이틀 배너 내부 텍스트 및 플러스 아이콘 스타일 --- */
.text-banner h2 {
  font-size: 27px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 80px;
    word-break: keep-all;
    letter-spacing: -1px;
color:#fff;
text-align: center;
}




.plus-icon {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 300;
    transition: all 0.3s;
color:#fff;
margin: 0 auto;
    margin-top: 20px;
}

.text-banner:hover .plus-icon {
    background: #ffffff;
    color: #19b39d;
    border-color: #ffffff;
}














/* 메인 움직임 */

 

  /* ── SECTION COMMON ── */

  .inner {max-width: 1200px; margin: 0 auto; padding: 0 20px;

} /* */

  .section-title {
  font-size: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -1px;
  }
  .section-sub {
    font-size: 15px;
    color: #666;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 50px;
  }
  .accent { color: var(--green); }
  .underline-accent {
    position: relative;
    display: inline-block;
  }
  .underline-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(76,175,128,.25);
    z-index: -1;
  }

  /* 소장 설명 */
  .intestine-section {
   
    color: #fff;
    padding: 80px 0;
    position: relative;
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }
  .intestine-section::before {
    position: absolute;
    inset: 0;
   opacity: .5;
  }
  .intestine-inner {
    width: 380px;
    padding: 0 20px;
    float: right;

  }
  .intestine-inner h1{
 font-family: 'Nanum Myeongjo', serif;
    font-size: 30px;
    color: #517011;
    letter-spacing: -4px;
    font-weight: bold;
}


/* 소장 설명 작은 글씨 */
  .intestine-inner h2 { font-size: 34px; font-weight: 900; margin-bottom: 16px; }
  .intestine-inner p { 
	font-size: 17px; 
	color: #000; 
	line-height: 1.8;
    padding-top: 10px;
}


  .intestine-visual {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  } /*justify-content: center;    gap: 60px;*/





  .intestine-quote {
    text-align: left;
    max-width: 400px;
  }
  .intestine-quote blockquote {
    font-size: 36px;
    font-weight: 900;
    font-family: 'Noto Serif KR', serif;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
  }
  .intestine-quote blockquote::before {
    content: '"';
    font-size: 80px;
    color: var(--green-bright);
    line-height: .5;
    display: block;
    margin-bottom: 10px;
  }
  .intestine-quote p {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: 0;
  }
  .intestine-keywords {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 16px;
  }
  .kw-tag {
    background: rgb(17 135 54);
    border: 1px solid var(--green-bright);
    color: var(--green-bright);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
  }

  /* ── REVIEWS ── */
  .reviews-section { background: #f7faf8; }
  .reviews-grid {
;
width: 1200px;
    height: 474px;
    
    background-size: 100%;
    margin: 0 auto;

  } /*   background: url(/img/byunhom/main/byun-hugi_03.jpg) no-repeat;

display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    align-items: center*/

  .reviews-text-box {
color: #fff;
    width: 600px;
    height: 310px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(121deg, #37a8a9, #5abc9a);
  }
  .reviews-text-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
  }
  .reviews-text-box h3 { 
font-size: 28px;
    line-height: 1.5;
    margin-top: 70px;
    text-align: center;
    letter-spacing: -1px;
    font-weight: 600;
color:#fff
}


  .reviews-text-box p {     font-size: 19px;
    opacity: .85;
    line-height: 3;
    text-align: center;
color:#fff
}

  .review-more-btn {
 display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255);
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    transition: background .2s;
 	margin-left: 280px;
    margin-top: 10px;

  }
  .review-more-btn:hover { background: rgba(255,255,255,.35); }
  .reviews-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 140px);
    gap: 10px;
  }
  .review-photo {
    border-radius: 8px;
    overflow: hidden;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #bbb;
    position: relative;
  }
  .review-photo:first-child { grid-row: 1 / 3; font-size: 50px; }
  .review-photo .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5));
    display: flex;
    align-items: flex-end;
    padding: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
  }



/* 치료 만족도 */

  /* ── STATS ── */
  .stats-section {
    padding: 70px 0 120px;


  } /* background: #1a1a1a;*/




 .stats-title { color: #000; text-align: center; font-size: 48px; font-weight: 800;     letter-spacing: -1px; }

.stats-title b{   

  font-weight: bolder;
  
  background-image: linear-gradient(-45deg, #2cb5cd, #d2dd27, #1bc9c6); /* 그라데이션 배경 */
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

    background-size: 400% 400%;
    animation: colorChange 3s ease infinite;
}

#jinro_man{

  width: 90%;
      border-radius: 20px;
    
      background-size: 400% 400%;
      animation: colorChange 3s ease infinite;
      margin: 0 auto;

}

/* background-image: linear-gradient(-45deg, #2d0073, #13d7b3);  background: linear-gradient(-45deg, #37a8a9, #5bbd99, #3651b3);   */




  .stats-sub { color:#000; text-align: center; font-size: 48px; font-weight: 800; margin-bottom: 50px;     letter-spacing: -1px;}


  .stats-grid {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 auto;
    overflow: hidden;
  }

/*    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    overflow: hidden;
*/


  .stat-item {
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;  
	background: #f9f9f9;
    border-radius: 30px;
  }
  .stat-item::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    border-radius: 50%;

  } /*    background: rgba(255,255,255,.06); 동그라미 */

/* 숫자 */
  .stat-num {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
  position: relative;
    top: -10px;
}


  .stat-num span { font-size: 46px;
    font-weight: 800;
}

  .stat-label { font-size: 25px;
    color: #000;
} /*color: #ffffffe3;*/


 /* 도넛 차트 */
    .donut-wrap {
      position: relative;
      width: 160px;
      height: 160px;
      margin: 0 auto 16px;
    }
/* 도넛 크기 */

    .donut-wrap canvas { display: block; }
    .donut-center {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
 	 font-size: 30px;
   	 font-weight: 100;
	color: #2d2d2d;
      line-height: 1;
    }

.donut-center  #num1{    font-size: 40px;  font-weight: 800;}
.donut-center  #num2{    font-size: 40px;  font-weight: 800;}
.donut-center  #num3{    font-size: 40px;  font-weight: 800;}

  /* ── DOCTOR SECTION ── */
/*원장*/
#wonjang{     width: 100%;
    margin: 0 auto;
    height: 505px;
    position: absolute;
    padding-top: 50px;
}

#wonjang img{
position: absolute;
    z-index: 10;
    bottom: 0px;
right: 25%;
width: 400px;
}

  .doctor-section {
background: url(/img/byunhom/main/hanwi_bg.jpg) center center fixed;
    padding: 69px 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
  }

 /*  .doctor-section::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 50%;
    background: linear-gradient(135deg, #1a3a2a 0%, #2a5a3a 100%);
  } 
*/


  .doctor-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
    align-items: center;
  }
  .doctor-left {
    padding: 60px 50px 60px 0;
    color: #fff;
  }
  .doctor-tag {    font-size: 27px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -1px;}/*   color: #7dd9b0;*/

  .doctor-title {font-size: 40px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px; }

.doctor-title strong{    color: #c5f14f;
    font-weight: 900;}


  .doctor-subtitle { font-size: 20px; font-weight: 900; line-height: 1.4; }
  .doctor-subtitle strong { color: #7dd9b0; }
  .doctor-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .doctor-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid rgba(255,255,255,.3);
  }
  .doctor-name-box { color: rgba(255,255,255,.8); font-size: 17px; }
  .doctor-name-box strong { color: #fff; font-size: 24px; display: block; }
  .year-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 6px;
  }

  .doctor-right {
    padding: 0 0 0 50px;
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .doctor-photo-big {
display:none;
width: 180px;
    height: 300px;
    background: url(/img/byunhom/main/1th.png);
	background-repeat: no-repeat;
    background-size: contain;
    justify-content: center;
    overflow: hidden;
  }
  .doctor-desc { font-size: 15px; color: #444; line-height: 1.9; }
  .doctor-desc strong { color: var(--green); }

  /* ── EXAMINATION SECTION ── */
/* 지도 효과 */
    .map-container {
            position: relative;
            width: 500px;
            height: 650px;         
 		   background: url(/img/byunhom/main/jido_bg.png);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
		
		
		.map-container .maptxt {
            position: absolute;
            top: 40px;
            width: 100%;
            text-align: center;
            color: #ffffff;
            z-index: 10;
font-size: 37px;
    font-weight: 700;
        }
        .map-container .maptxt strong {
    color: #c5f14f;
    display: block;
    margin-top: 5px;
    font-size: 43px;
    font-weight: 700;
    line-height: 1;
        }
		
		.map-container .maptxt2{
  position: absolute;
            bottom: 40px;
            width: 100%;
            text-align: center;
font-size: 26px;
    font-weight: 600;
    z-index: 10;
color:#fff;
        }
	
.map_nogiimg{
    position: absolute;
    top: 170px;
    left: 140px;
    width: 270px;
}






     
.animation-svg {
       position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    transform: rotate(347deg);
        }

        /* 화살표 마스크 애니메이션 (동일한 타이밍으로 아래서 위로 이동) */
        .arrow-mask-path {
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            /* 모든 화살표가 delay 없이 1.8초 동안 동시에 애니메이션 실행 */
            animation: drawArrow 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards infinite;
        }

        @keyframes drawArrow {
            0% {
                stroke-dashoffset: 1000;
            }
            80%, 100% {
                stroke-dashoffset: 0;
            }
        }

        /* 빨간색 마커(도착점) 핑 애니메이션 효과 고도화 */
        .target-center {
            fill: #ff3333;
            filter: drop-shadow(0px 0px 8px #ff3333);
        }

        .target-pulse {
            fill: none;
            stroke: #ff3333;
            stroke-width: 2;
            animation: pulse 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
        }

        @keyframes pulse {
            0% { r: 5; opacity: 1; stroke-width: 3; }
            50% { r: 25; opacity: 0.4; stroke-width: 1.5; }
            100% { r: 40; opacity: 0; stroke-width: 0.5; }
        }



	
	    /* 도착지점 강남 핑(Ping) 효과 */
        .target-point {
            fill: #f70000;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { r: 3; opacity: 1; }
            50% { r: 10; opacity: 0.4; }
            100% { r: 15; opacity: 0; }
        }




/* 지도 검사 */
  .exam-section { background: #fff; margin-bottom: 70px;   margin-top: 50px;}
  .exam-grid { display: grid; grid-template-columns: 500px 1fr; gap: 30px; }
  .exam-left {
	  position: relative;
  
  

  }
  .exam-left::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
  }
  .map-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
  }
  .map-pin {
    position: absolute;
    width: 20px; height: 20px;
    background: #ff5252;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 10px rgba(255,82,82,.6);
    top: 50%; left: 50%;
    margin-top: -10px;
    margin-left: -10px;
  }
  .exam-left h3 { font-size: 20px; font-weight: 900; line-height: 1.5; }
  .exam-left p { font-size: 13px; opacity: .8; margin-top: 8px; line-height: 1.7; }
  .location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 16px;
  }

/* 옆 글자 검사방법들 */

.exam-right{
    background: #f3f4f8;
    border-radius: 20px;
    padding: 40px;
display: inline-block;
    position: relative;

}


.exam-righttxt{


}

.exam-righttxt p{
font-size: 17px;
    font-weight: 500;
    color: #52771f;
}


.exam-righttxt h3 {
font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1;
margin-bottom: 30px;
}

  .exam-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

  .exam-card {
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
  }
  .exam-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
  .exam-card-img {
 height: 160px;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
  
  }
  .exam-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,125,92,.1) 0%, rgba(26,158,143,.1) 100%);
  }
  .exam-card-body { padding: 14px 16px;     background: #fdfdfd; }
  .exam-card-body h4 { font-size: 18px; font-weight: 700; color: #222; }
  .exam-card-body p { font-size: 15px; color: #888;  margin-top: 4px; line-height: 1.6; }
  .exam-next {
  width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ea453;
    font-size: 20px;
    border: 1px solid #8ea453;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 40px;
}
  .exam-next:hover { background: #fff;  }


/* ── 영상 MEDIA SECTION ── */
.media-section { background: #f3f4f8; padding-top: 50px;  padding-bottom: 80px;}
.media-section .youngsang_txt{ font-weight: bolder;
   background-image: linear-gradient(-45deg, #2cb5cd, #d2dd27);
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
   background-size: 400% 400%;
   animation: colorChange 3s ease infinite;
}

.media-layout {margin-top: 40px;
    position: relative;
    width: 100%; }

.media-nav {
   border-radius: 10px;
    overflow: hidden;
    width: 20%;
    float: left;
    position: relative;
    margin-right: 20px;
    z-index: 2;
}

.media_rightbox{
    width:100%;
    position: relative;
}


.media-nav-header {
   background: var(--green, #2e7d5c); /* var(--green)이 없을 경우를 대비한 fallback 컬러 추가 */
   color: #fff;
   padding: 16px 20px;
   font-weight: 700;
   font-size: 15px;
}
.media-nav ul { list-style: none; }
.media-nav ul li a {
display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    color: #9c9c9c;
    text-decoration: none;
    transition: background .2s, color .2s;
    border-radius: 100px;
    background: #ffffff;
    margin-bottom: 10px;
}

.media-nav ul li a:hover,
.media-nav ul li a.active {background: #172a3f;
    color: #fff;
    font-weight: bold;
} /* active 상태 추가 */
.media-nav ul li a .arrow { color: #bbb; font-size: 12px; }

.media-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-card {
   background: #fff;
   border-radius: 10px;
   overflow: hidden;
   border: 1px solid #e8e8e8;
   transition: box-shadow .2s, transform .2s, opacity .3s, display .3s;
   cursor: pointer;
}
.media-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-4px); }
.media-thumb {
   height: 160px;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}
.media-thumb-1 { background: #000; }
.media-thumb-1 img{ width:100%; opacity: 0.8}
.media-thumb-1 img:hover{ opacity: 1 }

.media-thumb-2 { background: linear-gradient(135deg, #8b3a20, #c05a3a); }
.media-thumb-3 { background: linear-gradient(135deg, #1a3a2a, #2e7d5c); }
.media-thumb-text {
   color: #fff;
   font-size: 16px;
   font-weight: 900;
   text-align: center;
   line-height: 1.5;
   padding: 16px;
   z-index: 1;
}
.play-btn {
   position: absolute;
   top: 50%; left: 50%;
   transform: translate(-50%, -50%);
   width: 50px; height: 50px;
   background: rgba(255,255,255,.2);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   font-size: 20px;
   border: 2px solid rgba(255,255,255,.5);
   z-index: 2;
}
.media-badge {
   position: absolute;
   top: 10px; left: 10px;
   background: var(--green, #2e7d5c);
   color: #fff;
   font-size: 11px;
   font-weight: 700;
   padding: 3px 8px;
   border-radius: 3px;
   z-index: 3;
display:none;
}
.media-card-body { padding: 14px 16px; }
.media-card-body h4 { font-size: 17px; font-weight: 700; color: #222; line-height: 1.5; }
.media-card-body p { font-size: 15px; color: #999; margin-top: 3px; }



/* 스크립트에서 display: block으로 변경하더라도 
   그리드 컨테이너(.media-cards) 안에서는 자동으로 그리드 아이템으로 취급됩니다. 
   다만, 미디어 썸네일 4가지 색상을 위해 4번 색상 스크립트 누락 보완 */
.media-thumb-4 { background: linear-gradient(135deg, #2b5876, #4e4376); }

/* 페이드 인 효과로 탭 전환을 부드럽게 만들고 싶다면 추가 */
.media-card {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ── 키프레임 애니메이션 정의 (오류 방지용) ── */
@keyframes colorChange {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}




  /* ── CTA SECTION ── */
  .cta-section {   
    padding: 30px 0 50px;}
  .cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-box {
    border-radius: 12px;
    padding: 40px 36px;
   
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
  } /*  display: flex; */
  .cta-box-1 {     background: #ebf5ff; }
  .cta-box-2 {background:linear-gradient(310deg, #5fbf98, #37a8a9);  border: 1px solid #b0d8bc;}

  .cta-box h3 { font-size: 28px;
    font-weight: 800;
    color: #222; }

  .cta-box p { font-size: 18px; color: #666; line-height: 1.7; }

  .cta-box-2 h3{color: #fff; }
 .cta-box-2 p{color: #fff;  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-top: 8px;
  }
  .cta-btn-1 { border: 1px solid #333333;
    border-radius: 100px;
    padding: 5px 30px;
    margin-top: 30px; }


  .cta-btn-1:hover { background: #fff; color:#000; border:1px solid #fff  }
 
.cta-btn-2 { border: 1px solid #fff;
    border-radius: 100px;
    padding: 5px 30px;
    margin-top: 30px;
color:#fff;
}


  .cta-btn-2:hover {background: #fff; color:#000; border:1px solid #fff }





  .cta-icon {
    position: absolute;
    right: 30px;
    bottom: 20px;
    font-size: 70px;
    opacity: .1;
  }



  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .fade-up { animation: fadeUp .6s ease forwards; }
  .fade-up-delay-1 { animation-delay: .1s; opacity: 0; }
  .fade-up-delay-2 { animation-delay: .2s; opacity: 0; }
  .fade-up-delay-3 { animation-delay: .3s; opacity: 0; }

  /* Intersection observer triggers */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }



@keyframes colorChange{
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}



/* 화면나타나기 */

.fade-wrap {
    /* 나타나는 효과가 1초동안 발생 */
    transition: 1s;

    /* 투명도 0 (안보임) */
    opacity: 0;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    position: relative;
    bottom: -80px;

    margin-bottom: 20px;
}
.fade-wrap.fade-in {
    /* 투명도 0 (보임) */
    opacity: 1;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    bottom: 0;
}





/* ── 하단 풋터 FOOTER ── */
  footer {
    background: #10263e;
    color: rgba(255,255,255,.7);
    padding: 50px 0 0;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .footer-logo { font-size: 22px;
    font-weight: 700;
    color: #b3d657;
}

  .footer-phone {font-size: 50px;
    font-weight: 700;
    color: #fff;
}

  .footer-note {     font-size: 17px;
    opacity: .6;
    line-height: 1.8;
    color: #ffffff;}


  .footer-hours h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
  .footer-hours strong{     font-size: 17px;}
  .footer-hours span{     font-size: 18px; }

  .hours-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
  }
  .hours-dot { color: var(--green-bright); font-size: 16px; line-height: 1.2; flex-shrink: 0; }

  .footer-nav h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
  .footer-nav ul { list-style: none; }
  .footer-nav ul li { margin-bottom: 8px; }
  .footer-nav ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; transition: color .2s; }
  .footer-nav ul li a:hover { color: var(--green-bright); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    opacity: .8;
  }
  .social-links { display: flex; gap: 12px; }
  .social-links a {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 14px;
    transition: background .2s;
  }
  .social-links a:hover { background: var(--green); }

	
  /* ── HOLIDAY NOTICE ── */
  .holiday-bar {
    background: #e8f5ee;
    border-top: 2px solid var(--green);
    padding: 20px 0;
    text-align: center;
       font-size: 17px;
    color: #333;
    font-weight: 500;
  }
  .holiday-bar strong { color: var(--green); }

	.personal {   
		display: flex;
    gap: 20px;
    text-align: center;
		    margin-top: 30px;
	}
	.personal li a{ 
	text-align: center;
    color: rgba(255,255,255,.6);
    padding: 10px 40px;
    border: 1px solid rgba(255,255,255,.6);
	}
	.personal li{ text-align:center; }

/* 게시판 */
.board_toptxt{   
	padding-top: 40px;
	text-align:center;
}
	
.board_toptxt h2{
    font-size: 40px;
    line-height: 1.5;
}
	
.board_toptxt p{ 
	font-size: 22px;   
	color: #7f7f7f; 
}

/* 이용약관 */
	.bypri_content_box{ width:1100px; margin: 0 auto }
.bypri_content_box .service_cont{      
	font-size: 18px; 
    padding-bottom: 70px;
    border-bottom: 1px solid #d5d5d5;
}

}
.service2_tit{

}

	
.bypri_content_box .service2_tit h2{    
		text-align: center;
    font-size: 40px;
	border-bottom: 1px solid #d5d5d5;    
	margin: 0 0 50px 0;
    padding: 0 0 30px 0;

}