/*글씨체*/
body{ font-family: 'Pretendard';}

@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');


.ps_txt{   text-align: center;
    background: #f4f4f4;
    padding: 10px 0;
    font-size: 15px;
    color: #616775;
    border-radius: 5px;
    margin-top: 20px;
}

.hanyack_sun_box{
	    margin-top: 90px;
	
}

/* 칼럼 */
#byun_clarum{margin-top:80px;     margin-bottom: 100px;}
.byun_clarum_box{
	width: 1200px;
    margin: 0 auto;
}
.byun_clarum_txt{
	font-size: 34px;
    font-weight: 800;
    margin: 0 0 20px;
}


/* 카드 리스트 컨테이너 */
.byun_clarum_ul {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* 개별 카드 스타일 */
.byun_card {
  flex: 1;
  min-width: 220px;
  position: relative;
  border-radius: 20px;
  overflow: hidden; /* 이미지가 카드 바깥으로 나가지 않도록 꽉 잡아줌 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  cursor: pointer;
}

/* 이미지 영역 */
.img_box {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
}

.img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 가속도를 부드러운 cubic-bezier로 변경하여 훨씬 자연스럽게 커집니다 */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
}

/* [효과 1] 마우스 오버 시 이미지 자연스럽게 확대 */
.byun_card:hover .img_box img {
  transform: scale(1.06); /* 부담스럽지 않고 은은하게 커지는 비율 */
}

/* 하단 텍스트 영역 및 전체 그라데이션 오버레이 */
.txt_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 카드 전체를 덮도록 변경 */
  display: flex;
  align-items: flex-end; /* 글자는 여전히 바닥에 정렬 */
  padding: 25px 20px;
  box-sizing: border-box;
  
  /* 기본 상태: 하단에만 살짝 어두운 그라데이션 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0) 100%);
  /* 그라데이션이 변하는 속도 설정 */
  transition: background 0.4s ease;
}

/* [효과 2] 마우스 오버 시 사진 겉면에 전체적으로 은은한 그라데이션 깔림 */
.byun_card:hover .txt_box {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
}

/* 텍스트 스타일 */
.txt_box p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.5px;
  width: 100%;
  z-index: 1; /* 그라데이션보다 위에 오도록 설정 */
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
  .byun_clarum_txt {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .byun_clarum_ul {
    gap: 15px;
  }
  .byun_card {
    flex: calc(50% - 8px);
    min-width: calc(50% - 8px);
  }
  .txt_box p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .byun_card {
    flex: 100%;
    min-width: 100%;
  }
}
	
	
	
	
	
	
	
	
	
	
	
body{
	font-family: 'Pretendard';
	}
.sub_content{ width:100%; padding: 0px;}
	
#contents { padding: 0px; }
	
.top_title{
	position: relative;
	 width: 100%;
	 margin-top: 100px;
	text-align: center;
	padding-top:40px;
	background: #fff;
}
	
.top_title h1{
	font-size: 40px;
	line-height: 1.5;
}
.top_title p{	
	font-size: 22px;
}
	

.top_nav{	
padding-top: 30px;
    padding-bottom: 40px;
    width: 1200px;
    margin: 0 auto;
 
}
	
.top_nav_tabs{ position: relative;
    display: inline-block; 
}
.top_nav_tabs li{
	position:relative;
	display: inline-block;
	float: left;
}
	
.top_nav_tabs li a{
    font-size: 19px;
	font-weight: 500;
    padding: 10px 42px;
    border: 1px solid #696969;
    border-radius: 100px;
	margin-left: 42px;
}


	
.top_nav_tabs li:first-child a{margin-left: 0px;}
	
.top_nav_tabs li.active a{
	background:#9ebd46;
	 border: 1px solid #9ebd46;
	color:#fff;
}

.top_nav_tabs li a:hover{
	background:#9ebd46;
	 border: 1px solid #9ebd46;
	color:#fff;
}
			
.byun_content{
	position: relative; 
}
	
.byunbi_section1{  background: #f3f4f8;}
	
.byun_box{	
	width: 1200px;
    position: relative;
    margin: 0 auto;
	padding-top: 50px;
    padding-bottom: 90px;
}

.byun_box h2{
	text-align: center;
    font-size: 43px;
    line-height: 1.3; 
	font-weight: 700;
}
.byun_box h2 b{
   font-weight: 900;
    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;
}
	
/* ── 키프레임 애니메이션 정의 (오류 방지용) ── */
@keyframes colorChange {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
	
.byun_box h3{
	font-size: 25px;
    text-align: center;
	font-weight:700;
	color:#515151;
	padding: 20px 0px 40px;
}
	
.byun_top_img{ 
	position: relative; 
	margin:0 auto; 
	width:1000px;
}
	
.byun_top_img p{	
	font-size: 25px;
    text-align: center;
    background: #4b4d51;
    color: #fff;
    padding: 14px;
}
	

/* 변비 이미지 */
       .byunbi_container {
            position: relative;
            width: 1000px; /* 이미지 원본 가로 크기에 맞춤 */
            height: 500px; /* 이미지 원본 세로 크기에 맞춤 */
            background-image: url('byunbi_img.jpg'); /* 업로드하신 이미지 파일명 */
            background-size: cover;
            background-position: center;
            overflow: hidden;
        }

        /* 공통 애니메이션 요소 설정 */
        .byunbi_container .badge, .arrow {
            position: absolute;
            opacity: 0;
        }

        /* 1번 소장 말풍선 애니메이션 */
        .byunbi_container .badge-1 {
            left: 110px;
            top: 190px;
            animation: fadeIn 0.5s ease-out forwards;
            animation-delay: 0.2s; /* 0.5초 뒤 나타남 */
			 background: #4e88b6;
    color: #fff;
    font-size: 25px;
    border-radius: 100px;
    padding: 0 0 0 30px;
        }
  .byunbi_container .badge-1 span{
		background: #3d76a1;
    padding: 10px 20px;
    border-radius: 100px;
	}
	
        /* 2번 대장 말풍선 애니메이션 */
        .byunbi_container .badge-2 {
         	  right: 60px;
   			 top: 130px;
            animation: fadeIn 0.5s ease-out forwards;
            animation-delay: 0.5s; /* 0.5초 뒤 나타남 (1번 이후) */
			    background: #997251;
    color: #fff;
    font-size: 25px;
    border-radius: 100px;
    padding: 0 30px 0 0;
        }
	.byunbi_container .badge-2 span{
		background: #5e3a16;
    padding: 10px 20px;
    border-radius: 100px;
	}
	

        /* 화살표 애니메이션 (나타난 후 위아래로 바운스) */
        .byunbi_container .arrow-box {
         	 position: absolute;
   			 right: 120px;
   			 top: 190px;;
            opacity: 0;
            animation: fadeIn 0.5s ease-out forwards, bounce 1.5s infinite ease-in-out;
            animation-delay: 1s, 1.5s; /* 말풍선들이 다 나오고 실행 */
        }




/*  .byunbi_container .arrow-box span{  	
font-size: 70px;
    position: absolute;
    top: -20px; background-image: linear-gradient(-45deg, #588ba5, #7a988e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
*/


	
#subun{
	font-size: 29px;
    font-weight: 900;
    
}

        /* --- 애니메이션 정의 (Keyframes) --- */
        
        /* 서서히 나타나는 효과 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 화살표가 위아래로 움직이는 효과 */
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(15px); /* 15px만큼 아래로 이동 */
            }
        }

.byunbi-list{
	padding-top: 45px;
	width: 1000px;
    margin: 0 auto;
}
.byunbi-list h2{
	letter-spacing: -1px;
    font-size: 43px;
    line-height: 1.4;
    font-weight: bold;
margin-bottom: 50px;	
}
	
.byunbi-list h2 strong{
	color:#2cb5cd;
	color:#cd4b2c;
}
	
.byunbi_list_box{
	 position: relative;
	width: 1000px;
    height: 162px;
	border-top: 1px solid #dadadb;
}
.byunbi_list_box div{
float:left;
}
.byunbi_list_left{
	width: 275px;
     height: 162px;
}
	
.byunbi_list_right{
background: #fff;
    width: 725px;
    height: 162px;
}
.byunbi_list_left{
	
}
	
.byunbi_list_right h4{    
	font-size: 25px;
    color: #617d10;
    margin: 40px 25px 10px;
}
	
.byunbi_list_right p{	
	font-size: 20px;
    color: #3e3e3e;
    font-weight: 500;
    padding: 0 25px;
}

.byunbi_list_txt{
	font-size: 28px;
    text-align: center;
    font-weight: 500;
    margin-top: 50px;
	color:#515151;
}
	
.byunbi_list_txt span{
	text-decoration: underline;
    text-underline-position: under;
 
	
}
	
.byunbi_list_txt b{
  background: #f1ffe9;
  padding: 0 10px;
}
	
	
	
	
/* 소장 치료하지 않으면 */
	
.sojang_bangock{ background: #fff7f7;
	padding-top: 70px;
    padding-bottom: 50px;
}
	
.sojang_bangock_box{
	position: relative;
	width: 1200px;
    margin: 0 auto;
}	
.sojang_bangock_box h2{	
	font-size: 40px;
    text-align: center;
    font-weight: 400;
}
	
.sojang_bangock_box ul{
	    position: relative;
    display: inline-block;
	margin-left: 30px;
	margin-top: 50px;
}
	
	
.sojang_bangock_box ul li{	
	    width: 356px;
    background: #fff;
    height: 317px;
    border-radius: 10px;
	float:left;
margin-left: 35px;
	 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 13px #ffc9c9ad;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
	
.sojang_bangock_box ul li:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 1px 15px #ffc9c9ad;
}
	
.sojang_bangock_box ul li:first-child{
	margin-left: 0px;
}
	
	
.sojang_bangock_box ul li h2{
    font-size: 26px;
    text-align: left;
    font-weight: 700;
    padding-left: 30px;
}	

.sojang_bangock_box ul li p{
	font-size: 22px;
     text-align: left;
    font-weight: 500;
	color:#3e3e3e;
	padding: 20px 30px;
}
	
.sojang_bangock_box ul li img{	
padding: 28px 20px 5px;
}
	
	
.sojang_bangock_stxt{
	    text-align: center;
    font-size: 20px;
    color: #383838;
    margin-top: 30px;
}
	
	
/* 진단 방법 */
.byun_jindan{
	    position: relative;
    width: 1200px;
    margin: 0 auto;
	padding-top: 40px;
	height: 750px;
}

#byun_jindan_txt{
	    background: linear-gradient(310deg, #5fbf98, #37a8a9);
    margin-top: 30px;
    border-radius: 20px;
	    z-index: 2;
	
}
	
#byun_jindan_txt h2{
	color: #fff;
    font-size: 33px;
    padding: 30px 35px 10px;
}	
#byun_jindan_txt p{	
	    color: #fff;
    font-size: 22px;
    padding: 0px 35px 30px;
}
	
.byun_jindan_grid{
	position: relative;
    display: inline-block;
	margin-top: 30px;
}
	
.byun_jindan_grid .grid_item{
	width: 287px;
    background: #f3f4f8;
	float:left;
	margin-left: 17px;
	    border-radius: 10px;
    height: 423px;
	    display: inline-block;
    overflow: hidden;
}
.byun_jindan_grid .grid_item{	
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
	
.byun_jindan_grid .grid_item:first-child{
	margin-left: 0px;
}
	
.grid_item_txt{	
	height: 223px;
}	
	
.grid_item_txt h4{
padding: 33px 28px 10px;
	font-size: 23px;
}	
	
.grid_item_txt p{
	    padding: 0px 28px 10px;
	font-size: 20px;
	line-height: 1.6;
}		
	
	
	
/* 한약 */
.byun_chiro{
	background: #f3f4f8;
    margin-top: 50px;
	    padding-top: 70px;
	    padding-bottom: 50px;
}
.byun_chiro h1{
	    text-align: center;
    font-size: 43px;
	    font-weight: 600;
	padding-bottom: 60px;
}
#byun_hanyack{
	position: relative;
	width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
	z-index:2;
}
	
.byun_hanyack_left{
	width: 547px;
    float: left;
}

.byun_hanyack_right{
	    width: 650px;
    float: right;
}
	
.byun_hanyack_right ul{
	    padding: 55px 10px 10px 70px;
}

.byun_hanyack_right ul li{
    margin-top: 30px;
	list-style-image:url('/img/byunhom/byunbi/hanyack_check.png');
	
}
.byun_hanyack_right ul li:first-child{
	margin-top: 0px;
}
	
	
.byun_hanyack_right ul li h2{	
    font-size: 25px;
    font-weight: 700;
	color:#232323;
top: -10px;
    position: relative;
}
	
.byun_hanyack_right ul li p{	
    font-size: 20px;
	color:#3e3e3e;
	line-height: 1;
}


#byun_chirobub{
	    position: relative;
    width: 1200px;
	height:550px;
	margin: 0 auto;
	
}
	
#byun_chirobub ul{
	margin-top: 50px;
	display: inline-block;
}
	
#byun_chirobub ul li{
	width: 383px;
	height:360px;
	float: left;
	 margin-left: 20px;
}

#byun_chirobub ul li:first-child{
	margin-left: 5px;
}

#byun_chirobub ul li img{
	border-radius: 20px;
}

#byun_chirobub ul li h3{
	font-size: 20px;
    color: #373737;
    margin-top: 19px;
}
	
#byun_chirobub ul li p{
	font-size: 17px;
    margin-top: 10px;
}
	

	
/* 변비 그래프 */
        .byunbi_gasun_txt {
            font-size: 30px;
            text-align: center;
            margin-bottom: 50px;
			display:none;
        }

        #chart-containerbox {
            width: 1200px;
            margin: 0 auto;
    position: relative;
    height: 560px;
        }
        
        /* 메인 카드 컨테이너 */
        .chart-container_left {
            background-color: #ffffff;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            width: 550px;
            padding: 25px 40px 30px;
            box-sizing: border-box;
            position: relative;
            margin: 0 auto;
			float: left;
        }

        /* 타이틀 */
        .chart-container_left .title {
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            color: #222;
            margin-bottom: 10px;
        }

       .chart-container_left .subtitle {
            text-align: left;
            font-size: 16px;
            color: #757575;
            margin-bottom: 30px;
            line-height: 1.4;
        }

        /* 차트 전체를 감싸는 랩 */
        .chart-wrapper {
            display: flex;
            position: relative;
            padding-left: 50px;
        }

        /* 차트 기둥 영역 레이아웃 */
        .chart-area {
            position: relative;
            height: 320px;
            flex: 1;
            border-bottom: 2px solid #eaeaea;
            display: flex;
            justify-content: space-around;
            align-items: flex-end;
        }

        /* Y축 가이드라인 */
        .y-axis {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            font-size: 13px;
            color: #888;
            line-height: 1;
            margin-top: -6px; 
        }
        
        .y-axis span:last-child {
            margin-bottom: -6px;
        }

        /* 가이드 점선 */
        .grid-lines {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            pointer-events: none;
            z-index: 1;
        }
        .grid-line {
            width: 100%;
            border-top: 1px solid #eaeaea;
        }
        .grid-line:last-child {
            border-top: none;
        }

        /* 그래프 기둥 공통 스타일 */
        .bar-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100px;
            z-index: 2;
        }

        .bar {
            width: 75px;
            border-radius: 8px 8px 0 0;
            position: relative;
            transform-origin: bottom;
            transform: scaleY(0); /* 초기 상태 숨김 */
        }

        /* [활성화] 막대 애니메이션 작동 */
        .chart-container_left.active .bar {
            animation: growUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
        }

        /* 치료 전 (빨간색 막대) */
        .bar.before {
            height: calc(320px * 0.18);
            background: linear-gradient(to top, #ec6e80, #f33e5b);
        }

        /* 치료 후 (파란색 막대) */
        .bar.after {
            height: calc(320px * 0.85);
            background: linear-gradient(to top, #a2a9f4, #444bf2);
        }

        /* 수치 라벨 */
        .chart-container_left .badge {
            position: absolute;
            top: -45px;
            left: 50%;
            transform: translateX(-50%);
            padding: 6px 30px;
            border-radius: 10px;
            color: white;
            font-weight: bold;
            font-size: 20px;
        }
        .chart-container_left .badge.before { background-color: #d92d46; }
        .chart-container_left .badge.after { background-color: #444bf2; }

        /* 하단 X축 텍스트 영역 */
        #chart-containerbox .label-area {
            display: flex;
            justify-content: space-around;
            padding-left: 50px;
            margin-top: 15px;
        }
        #chart-containerbox .label {
            width: 100px;
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            color: #444;
        }



        /* 유익균 정상범위 동그라미 */
        .circle-badge {
            position: absolute;
			top: 0px;
  			  left: 140px;
            width: 115px;
            height: 115px;
            background-color: rgba(132, 162, 197, 0.9);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            z-index: 10;
            box-shadow: 0 6px 15px rgba(0,0,0,0.05);
            opacity: 0;
            transform: scale(0.7);
        }

        /* [활성화] 동그라미 뱃지 애니메이션 작동 */
        .chart-container_left.active .circle-badge {
            animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
        }

        .circle-badge .txt-large {
            font-size: 25px;
            font-weight: bold;
        }
        .circle-badge .txt-small {
            font-size: 19px;
            opacity: 0.9;
        }
	
	
	
	
/* -----------------------------------------
    새로운 이미지 화살표 스타일 (수정본)
-------------------------------------------- */
.arrow-image-wrapper {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.arrow-img {
    height: auto;
    display: block;
    opacity: 0;
    transform: translateY(30px) scale(0.9); /* 시작 포지션 (살짝 아래 + 작게) */
}

/* [활성화] 스크롤 도달 시 화살표 이미지 애니메이션 */
.chart-container_left.active .arrow-img {
    animation: floatUpArrow 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards; /* 막대가 절반 쯤 올라왔을 때 리드미컬하게 시작 */
}
	

        /* -----------------------------------------
            Keyframes 애니메이션 정의
        -------------------------------------------- */
        @keyframes growUp {
            0% { transform: scaleY(0); }
            100% { transform: scaleY(1); }
        }

        @keyframes popIn {
            0% { opacity: 0; transform: scale(0.7); }
            100% { opacity: 1; transform: scale(1); }
        }


        @keyframes fadeIn {
            to { opacity: 1; }
        }
	
/* 화살표 이미지를 위한 부드러운 상승 페이드인 효과 */
@keyframes floatUpArrow {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

	
/* 동그라미 그래프*/
	
.chart-container_right {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 550px;
    padding: 25px 40px 30px;
    box-sizing: border-box;
    position: relative;
    float: right;
}	
	
	
	
		
/* 3단계 */
	    .tl-wrap {
      padding: 2rem 1.5rem 6rem;
      width: 950px;
      margin: 0 auto;
    }

    .tl-inner {
      position: relative;
      padding-left: 45px;
    }

    .tl-line-track {
      position: absolute;
      left: 16px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: #e0e0e0;
      border-radius: 2px;
    }

    .tl-line-fill {
      position: absolute;
      left: 0;
      top: 0;
      width: 3px;
      height: 0%;
      background: #1D9E75;
      border-radius: 2px;
      transition: height 0.12s linear;
    }

    .tl-step {
      position: relative;
      margin-bottom: 70px;
    }
    .tl-step:last-child { margin-bottom: 0; }

    .tl-dot {
      position: absolute;
      left: -48px;
      top: 0;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 3px solid #ebebeb;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 600;
      color: #bbb;
      transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
      z-index: 2;
    }

    .tl-dot.active {
      border-color: #3bb597;
      background: #03c394;
      color: #fff;
      box-shadow: 0 0 0 5px rgba(29, 158, 117, 0.15);
    }

    .tl-header {
      display: flex;
      align-items: baseline;
      gap: 10px;
      margin-bottom: 12px;
      padding-top: 4px;
    }

    .tl-tag {
font-size: 20px;
    font-weight: 600;
    color: #01aa81;
    padding-left: 10px;
    padding-right: 20px;
}

    .tl-title {
      font-size: 24px;
      font-weight: 700;
      color: #1a1a1a;
    }

    .tl-card {
    background: #fff;
    border-radius: 100px;
    padding: 10px 10px 10px 30px;
    font-size: 19px;
    font-weight: 400;
    color: #181818;
    line-height: 1.75;
    opacity: 0.3;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .tl-card.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .spacer-top { height: 10vh; }
    .spacer-bottom { height: 40vh; }
	
/* 선이 차오를 때 부드러운 애니메이션 추가 */
#lineFill {
  height: 0%;
  transition: height 0.1s ease-out; /* 스크롤을 따라 부드럽게 따라오도록 설정 */
  will-change: height; /* 브라우저 최적화 가속 */
}

/* 점과 카드가 나타날 때의 효과 */
.tl-step-dot {
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.tl-step-dot.active {
  transform: scale(1.2); /* 활성화되면 살짝 커지는 효과 (선택) */
}

.tl-step-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tl-step-card.visible {
  opacity: 1;
  transform: translateY(0);
}	
	
	
	
	
	
		
/* 후기 탭 */	
	.byun_review_box{    padding-top: 100px; padding-bottom: 70px; }
	
	#review-wrap {
		width: 1200px;
    margin: 0 auto;
    position: relative;
	}
  #review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 12px; }
  .review-title-block h2 { 
	  font-size: 34px;
    font-weight: 800;
    margin: 0 0 4px;
}
	
	
  .review-title-block p {font-size: 19px;
    font-weight: 400; }
	
  .tab-buttons {     
	 display: flex;
    gap: 10px;
    overflow: hidden;
    margin-top: 40px;
}
	
  .tab-btn { padding: 9px 28px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 100px;
    font-family: 'Pretendard';
    background: #bfbfbf;
    color: #fff;
}
	.tab-btn.active { background: #22938b; color: #fff; font-weight: 500; }
  .tab-btn:first-child { }
  .tab-content { display: none; }
  .tab-content.active { display: block; }
  .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
  .video-card {  cursor: pointer; }
  
	.video-thumb {position: relative;
    width: 384px;
    height: 213px;
    border-radius: 10px;
    overflow: hidden;
		transition: box-shadow .2s, transform .2s, opacity .3s, display .3s;
}
	
	 .video-thumb:hover{
		  box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-4px); 
	 }
	
		 
	.video-thumb img{ width: 100%; opacity: 0.8; }
  .video-thumb-bg { background: #000; }
	

  .tag { font-size: 11px; background: var(--color-background-secondary); color: var(--color-text-secondary); padding: 2px 7px; border-radius: 20px; }
  .video-meta { padding: 8px 10px 12px; }
  .video-meta p {font-size: 17px;
    font-weight: 500;
    line-height: 2; }

  .written-list {    
background: #f1f1f1;
    border-radius: 10px;
    width: 100%;
    display: inline-block;
}

  .written-card { margin: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 20px; }
	
  .written-card-header { margin-bottom: 8px; }
  .written-tag {    font-size: 15px;
    padding: 5px 10px;
    background: #3fc3a3;
    border-radius: 20px;
    color: #fff;
    font-weight: 600; }
	
  .written-date {    font-size: 14px;
    float: right;
    color: #6b6b6b;
  }
  .written-card p {
	font-size: 16px;
    padding-top: 10px;
    padding-bottom: 6px;
    filter: blur(3px);
}
	
  .written-card .written-footer {margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
 }
	
.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;
}
	
	
	
	
	/* 자주 묻는 질문*/
#byun_jinmum{	
    width: 1200px;
    margin: 0 auto;
    position: relative;	
}
  .byun_jinmum_txt {
	 font-size: 34px;
    font-weight: 800;
    margin: 0 0 20px;
}

    .faq-container {
      border-bottom: 1px solid #ddd;
    }

    .faq-item {
      border-top: 1px solid #ddd;
    }

    .faq-question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 6px;
      font-size: 15px;
      font-weight: 500;
      color: #222;
      cursor: pointer;
      user-select: none;
      gap: 12px;
    }

    .faq-question-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .faq-q-badge {
display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #9ebd46;
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    border-radius: 50%;
    flex-shrink: 0;
    }

    .faq-question-text {
      font-size: 20px;
      color: #222;
    }

    /* [수정] 화살표 기본 상태 (아래 방향 ∨) 및 부드러운 회전 설정 */
    .faq-arrow {
      font-size: 14px;
      font-weight: bold;
      color: #666;
      transition: transform 0.3s ease;
      flex-shrink: 0;
      line-height: 1;
    }

    /* [수정] 열렸을 때 화살표가 위를 보도록 180도 회전 */
    .faq-item.open .faq-arrow {
      transform: rotate(180deg);
    }

    /* [수정] 부드러운 슬라이딩 애니메이션을 위한 CSS 변경 */
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      background-color: #f9f9f9;
      transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
      padding: 0 20px 0 44px; /* 닫혀있을 땐 위아래 패딩 0 */
    }

    /* [수정] 열렸을 때의 패딩, 투명도, 최대 높이 지정 */
    .faq-item.open .faq-answer {
      max-height: 200px; /* 답변 내용이 충분히 들어갈 수 있는 넉넉한 높이 */
      opacity: 1;
      padding: 16px 20px 18px 44px;
    }

    .faq-answer-inner {
      display: flex;
      gap: 6px;
    }

    .faq-a-badge {
       font-size: 25px;
    font-weight: 700;
    color: #9ebd46;
    }

    .faq-answer-text {
      color: #3e3e3e;
    font-size: 18px;
    }
	
	
		
	
/* 역류성식도염 */

.yunkru_box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2열로 배치 */
    gap: 16px; /* 카드 사이의 간격 */
    max-width: 1000px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none; /* 기본 블릿 제거 */
}

/* 개별 카드 스타일 */
.yunkru_box ul li {
    display: flex;
    align-items: center;
    background-color: #ffffff; /* 하얀색 카드 배경 */
    padding: 20px 24px;
    border-radius: 12px; /* 둥근 모서리 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* 은은한 그림자 */
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease;
}

/* 마우스 호버 효과 (선택 사항 - 입체감 추가) */
.yunkru_box ul li:hover {
    transform: translateY(-2px);
}

/* 빨간색 체크 아이콘 생성 */
.yunkru_box ul li::before {
    content: '✓'; /* 체크 모양 문자 */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 16px;
    background-color: #e63946; /* 이미지와 유사한 빨간색 */
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    border-radius: 50px; /* 원형 배지 */
    flex-shrink: 0; /* 텍스트가 길어져도 원 모양 유지 */
    
    /* 톱니바퀴 느낌을 주기 위한 부드러운 아웃라인 테두리 효과 */
    box-shadow: 0 0 0 2px #e63946, inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}


	
	
	
	
/* 화면나타나기 */

.fade-wrap {
    /* 나타나는 효과가 1초동안 발생 */
    transition: 1s;

    /* 투명도 0 (안보임) */
    opacity: 0;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    position: relative;
    bottom: -80px;

    margin-bottom: 20px;
}


.fade-wrap.fade-in {
    /* 투명도 0 (보임) */
    opacity: 1;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    bottom: 0;
}







/* 5대를 이어온 */
#since_box{
	position: relative;
	width: 1200px;
    height: 457px;
    margin: 0 auto;
    margin-top: 40px;

}


#since_box img{
position: absolute;
    z-index: 2;
    right: 80px;
    margin-bottom: 7px;
}


.since_bg{
	width: 100%;
  	 height: 270px;
    background: url(/img/byunhom/main/5th_bg.jpg);
    background-size: 100%;
    border-radius: 20px;
    top: 180px;
    position: absolute;
}


.since_bg h2{
    font-size: 40px;
    color: #fff;
line-height: 1.2;
    padding: 50px 50px 20px;
}
.since_bg p{
    color: #fff;
    font-size: 25px;
padding-left: 50px;
}



  /* ── CTA SECTION ── */
  .cta-section {  
    padding-bottom: 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;
  }



/* ── 하단 풋터 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: .5;
  }
  .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); }
  
  
  
  
/* 자가진단 */
	
#detail_test_outer {
    width: 1150px;
    margin: 0 auto;
    margin-bottom: 50px;
}
	
	
.detail_test_banner{  
	display: block;
    box-sizing: border-box;
    padding: 30px;
    background: linear-gradient(135deg, #eef4ff 0%, #e2ecff 100%);
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
}
	
.detail_test_body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
	
.detail_test_label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #8b93a7;
    margin-bottom: 5px;
}

.detail_test_title {
    margin: 0 0 12px;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 800;
    color: #2547d0;
}
.detail_test_sub {
    margin: 0;
    font-size: 20px;
    color: #8b93a7;
    font-weight: 600;
}
.detail_test_btn {
    margin-top: 22px;
    background: #2f5fe0;
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 0;
    border-radius: 50px;
    box-shadow: 0 8px 18px rgba(47, 95, 224, 0.28);
}