#bheader_wrap.at-top{
		box-shadow: 5px 4px 5px 0px rgb(0 0 0 / 7%);
}


html, body {
    overflow: auto !important; /* 스크립트가 overflow: hidden을 주입해도 무조건 무시 */
	font-family: 'Pretendard', 'Roboto', 'Arial', sans-serif ; 
	font-weight: 400;
	letter-spacing: -1px;
	max-width: 100%;
}


.ghamin_topbox{
    background: #f3f4f8;
    background: #f7f8fc;
    background: #f4f5f7;
}


	
/* 화면 나타나기 (모바일 덜컹임 완화 최종 보정) */
.fade-wrap {
    /* 나타나는 효과가 1초동안 발생 */
    transition: 1s;

    /* 투명도 0 (안보임) */
    opacity: 0;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    position: relative;
    bottom: -80px;

    margin-bottom: 20px;
}
.fade-wrap.fade-in {
    /* 투명도 0 (보임) */
    opacity: 1;

    /* 왼쪽에서 오른쪽으로 나타나게 하기 위함 */
    bottom: 0;
}
	

	
#container {
    width: 100%;

}


.ps_txt2{  
   text-align: center;
    background: #f4f4f4;
    padding: 20px;
    font-size: 14px;
    color: #616775;
    border-radius: 10px;
     margin: 20px;
	
}
	
.ps_txt{  
   text-align: center;
    background: #f4f4f4;
    padding: 20px;
    font-size: 15px;
    color: #616775;
    border-radius: 10px;
	 margin: 20px 0;
}

.hanyack_sun_box{
	    margin-top: 90px;
	
}







/* 모바일 반응형 처리 */
@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%;
  }
}
	

	
	
.sub_content{ width:100%; padding: 0px;}
	
#contents { padding: 0px; }
	
.top_title{
	position: relative;
	text-align: center;
	background: #fff;
	padding-top: 7px;
	
} /* padding-top: 100px; */
	
.top_title h1{
	font-size: 27px;
	line-height: 1.5;
}
.top_title p{	
	font-size: 18px;
	color: #898989;
}
	



  /* 1. 메뉴를 감싸는 네비게이션 영역 조정 */
  .top_nav {
    padding-top: 15px;
    padding-bottom: 10px;
    overflow-x: auto; /* 가로 스크롤 활성화 */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    white-space: nowrap; /* 줄바꿈 방지 */
	 margin-top: 10px;
    margin-bottom: 20px;
  }

  /* 스크롤바 숨기기 (디자인을 깔끔하게 유지) */
  .top_nav::-webkit-scrollbar {
    display: none;
  }

  /* 2. 탭 울타리(ul) 구조 변경 */
  .top_nav_tabs {
    display: flex; /* flex로 변경하여 한 줄 정렬 */
    padding: 0 20px; /* 좌우 여백을 주어 첫/끝 메뉴 여유 공간 확보 */
    margin: 0;
	justify-content: space-between;
  }

  /* 3. 각 메뉴 항목(li) */
  .top_nav_tabs li {
    float: none; /* 기존 플로팅 해제 */
    display: inline-block;
    flex-shrink: 0; /* 크기가 줄어들지 않도록 고정 */
  }

  /* 4. 링크 버튼(a) */
  .top_nav_tabs li a {
      font-size: 19px; 
    padding: 8px 20px !important; /* 고정 패딩 축소 및 인라인 스타일 무력화 */
    margin-left: 10px; /* 메뉴 간격 좁힘 */
    border-radius: 100px;
	color: #aeaeae;
    background: #f4f4f4;
  }

  /* 첫 번째 메뉴 마진 제거 */
  .top_nav_tabs li:first-child a {
    margin-left: 0px;
  }
  
.top_nav_tabs li.active a{
	    background: #333333;
    border: 1px solid #131313;
	color:#fff;
 font-weight: 600;
}
	
	
	
  /* 기존 제공된 모바일 코드 유지 */
  .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;
  }


	
.byun_content{
	position: relative; 
}
	
.byunbi_section1{ }
	
.byun_box{	
    position: relative;
    padding: 40px 20px;
max-width: 600px; 
margin: 0 auto;
}

.byun_box h2{
text-align: left;
text-align: center; 

    font-size: 27px;
    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;
}
	
.byun_box_box{
	 background: #f3f4f8;

background: #f7f8fc;
background: #f4f5f7;
}
	
	
	
	
/* ── 키프레임 애니메이션 정의 (오류 방지용) ── */
@keyframes colorChange {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
	
.byun_box h3{
    font-size: 19px;
   text-align: left;
	text-align: center;	

    font-weight: 600;
    color: #515151;
    padding: 20px 0px 40px;
}

.byun_box h3 b{
font-size: 22px;
    color: #49bd3c;
}
	
.byun_top_img{ 
	position: relative; 
	margin:0 auto; 
}
	
.byun_top_img p{	
    font-size: 22px;
    text-align: center;
    color: #fff;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
    background: linear-gradient(to bottom, #484848, #3535359e);    
border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} /*     position: absolute; */
	
.byun_top_img img{
	width:100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
	
	
.by_malpusun{
	position: relative;
    width: 100%;
    padding: 0px;
    line-height: 2;
    text-align: center;
    background: #3d76a1;
    -moz-border-radius: 8px;
    margin-bottom: 30px;
    font-size: 19px;
    color: #fff;
	
}
	
.by_malpusun:after{
content: '';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
display: block;
width: 0;
z-index: 1;
bottom: -15px;
 left: 50%;
 transform: translateX(-50%);
 border-color: #3d76a1 transparent;
}
	
.by_malpusun2{
position: relative;
    width: 100%;
    padding: 0px;
    line-height: 2;
    text-align: center;
    background: #5e3a16;
    -moz-border-radius: 8px;
    margin-bottom: 30px;
    font-size: 19px;
    color: #fff;
}
	
.by_malpusun2:after{
content: '';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
display: block;
width: 0;
z-index: 1;
bottom: -15px;
 left: 50%;
 transform: translateX(-50%);
 border-color: #5e3a16 transparent;
}
	


/* 변비 말풍선 */
.byun_bubble
{
	position: relative;
    padding: 0px;
    background: #6a9cc3;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    color: #fff;    
	margin-bottom: 20px;
    line-height: 2;
	font-weight: 500;
background: #ffffff;
    color: #434343;
}

.byun_bubble:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0;
    border-color: #6a9cc3 transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, -50%);
	 border-color: #fff transparent;
}


.byun_bubble2
{
	position: relative;
    padding: 0px;
    background: #6f6f6f;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    color: #fff;
margin-bottom: 20px;
	line-height: 2;
font-weight: 500;

} /* background: #ffffff;
    color: #434343; */

.byun_bubble2:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0;
    border-color: #6f6f6f transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, -50%);

}



	

/* 변비 이미지 */
       .byunbi_container {
            position: relative;
            overflow: hidden;
			border-radius: 10px;
        }

        .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: 5%;
    bottom: 10%;
            opacity: 0;
            animation: fadeIn 0.5s ease-out forwards, bounce 1.5s infinite ease-in-out;
            animation-delay: 0.2s, 0.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;
    color: #ffffff;
    text-shadow: -1px 0px #2d2d2d, 0px 1px #2d2d2d, 1px 0px #2d2d2d, 0px -1px #2d2d2d;
} 
/*    color: #2d2d2d;
    text-shadow: -1px 0px #ffffff, 0px 1px #ffffff, 1px 0px #ffffff, 0px -1px #ffffff;
*/

        /* --- 애니메이션 정의 (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{
	    position: relative; 
	max-width: 600px;
	padding: 45px 20px;
    margin: 0 auto;
}
.byunbi-list h2{
letter-spacing: -1px;
    line-height: 1.4;
    font-weight: bold;
   margin-bottom: 30px;
    text-align: left;
    font-size: 25px;
	
}
	
.byunbi-list h2 strong{
	color:#e03333;
}/* 	color:#738f23;
	 color: #cd4b2c; */
	
.byunbi_list_box{
 position: relative;
 border: 1px solid #dadadb;
  border-radius: 10px;
 overflow: hidden;
margin-bottom: 30px;
}
.byunbi_list_box div{

}
.byunbi_list_left{
	flex-shrink: 0

}

.byunbi_list_left img{
	width:100%;
    height: 140px;
    object-fit: cover;
}
	
.byunbi_list_right{
 padding: 10px 20px 20px;
}

	
.byunbi_list_right h4{    
	font-size: 22px;
    color: #617d10;
	    color: #373737;
}
	
.byunbi_list_right p{	
    font-size: 17px;
    color: #5f5f5f;
    font-weight: 500;
}

.byunbi_list_txt{
	font-size: 20px;
    text-align: center;
    font-weight: 500;
    margin-top: 30px;
	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: 50px 20px;
}
    
.sojang_bangock_box {
    position: relative;
    max-width: 600px; /* 카드가 너무 넓어지지 않도록 중심을 잡아줍니다 */
    margin: 0 auto;
}   
.sojang_bangock_box h2 {    
    font-weight: 700;
    font-size: 26px;
    text-align: left;
    line-height: 1.4;
    letter-spacing: -1px;
}
    
.sojang_bangock_box ul {
    position: relative;
    margin-top: 30px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px; /* 카드 사이의 간격 */
}
    
.sojang_bangock_box ul li { 
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 201, 201, 0.4); /* 이미지 특유의 은은한 붉은 섀도우 */
    padding: 24px 20px 24px 30px;
    display: flex;
    justify-content: space-between; /* 텍스트는 왼쪽, 이미지는 오른쪽 끝 배치 */
    align-items: center; /* 세로 중앙 정렬 */
    box-sizing: border-box;
}
    
/* 텍스트 박스 레이아웃 */
.sojang_bangock_box ul li .bangock_l {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 제목과 설명글 사이 여백 */
    text-align: left;
}

.sojang_bangock_box ul li h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin: 0;
    line-height: 1.2;
}   

.sojang_bangock_box ul li p {
    font-size: 16px;
    font-weight: 500;
    color: #666666; /* 조금 더 부드러운 설명글 색상 */
    margin: 0;
    line-height: 1.4;
}
    
/* 우측 아이콘 정렬 */
.sojang_bangock_box ul li .bangock_r {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sojang_bangock_box ul li img.sojang_bangock_icon {  
    width: 100px; /* 이미지 크기에 맞게 적절히 조정 가능 */
    height: auto;
    margin: 0; /* 기존 음수 마진 제거 */
}
    
.sojang_bangock_stxt {
    text-align: center;
    font-size: 16px;
    color: #888888;
    margin-top: 20px;
}
	
/* 진단 방법 */

.byun_jindan {
    position: relative;
    padding-top: 40px;
    max-width: 700px; 
    margin: 0 auto;
}

.byun_jindan_grid {
    position: relative;
  padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 작은 화면에서는 무조건 2열로 */
    gap: 15px; /* 카드 사이 간격 */
    margin: 0 auto;
	
}

.byun_jindan_grid .grid_item {
    background: #f3f4f8;
    border-radius: 12px;
    overflow: hidden; /* 이미지가 라운드 코너 밖으로 나가지 않도록 처리 */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 텍스트와 이미지가 위아래로 꽉 차게 정렬 */
}

.byun_jindan_grid .grid_item img {
    width: 100%;
    height: auto;
    display: block;
}

#byun_jindan_txt{
    margin: 20px;;
	
}
	
#byun_jindan_txt h2{
font-size: 33px;
    color: #2b2b2b;
    line-height: 2;
    border-radius: 100px;
}	
	
#byun_jindan_txt p{	
    color: #535353;
    font-size: 18.5px;
	
}	
	
	
.grid_item_txt { 
    /* 고정 높이(height: 223px)를 제거하고 최소 높이와 여백으로 패딩 처리해야 모바일에서 안 깨집니다 */
    padding: 25px 20px; 
}   

.grid_item_txt h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}   

.grid_item_txt p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    word-break: keep-all; /* 한글 단어 단위 줄바꿈으로 깔끔하게 */
}
	
	
	
	
	
/* 한약 */
.byun_chiro{
    background: #f3f4f8;
    margin-top: 50px;
    padding: 20px;
	padding-bottom: 80px;
	 padding-top: 40px;
}
.byun_chiro h1{
	    text-align: center;
        font-size: 25px;
	    font-weight: 600;
		padding-bottom: 30px;

}
	
#byun_hanyack {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
    max-width: 700px; /* 이미지처럼 깔끔한 비율을 유지하기 위한 폭 제한 */
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
    
.byun_hanyack_left {
    width: 100%;
}
.byun_hanyack_left img {
    width: 100%;
    display: block;
}
    
.byun_hanyack_right {
    padding: 30px 24px;
    background: #ffffff;
}
    
.byun_hanyack_right ul {
    margin: 0;
    padding: 0;
    list-style: none; /* 기존 list-style-image 제거 */
    display: flex;
    flex-direction: column;
    gap: 24px; /* 리스트 간격 */
}

.byun_hanyack_right ul li {
    position: relative;
    padding-left: 42px; /* 체크 아이콘이 들어갈 공간 확보 */
    text-align: left;
}

/* 이미지와 똑같은 초록색 동그라미 체크 아이콘 생성 */
.byun_hanyack_right ul li::before {
   content: ''; /* 텍스트 체크 제거 */
    position: absolute;
    left: 0;
    top: 2px; /* 제목 첫 줄 세로 중앙에 맞춤 */
    display: block;
    width: 26px;  /* 이미지 아이콘의 가로 크기 */
    height: 26px; /* 이미지 아이콘의 세로 크기 */
    
    /* 제공해주신 이미지 경로를 배경으로 지정 */
    background-image: url('https://byun60072.godomall.com/data/skin/front/pure/img/byunhom/byunbi/hanyack_check.png');
    background-size: contain;     /* 이미지가 구겨지지 않고 26px 안에 쏙 들어가도록 설정 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-position: center;  /* 정중앙 정렬 */
    
    /* 기존에 들어있던 border 및 원형 관련 속성은 모두 삭제합니다 */
    border: none;
    border-radius: 0;
    box-sizing: border-box;
}
    
.byun_hanyack_right ul li h2 {   
    font-size: 19px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}
    
.byun_hanyack_right ul li p {   
    font-size: 15px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.5px;
}
	
	
/* 치료법 전체 컨테이너 */
#byun_chirobub {
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
}
    
#byun_chirobub ul {
    margin-top: 40px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
    
#byun_chirobub ul li {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex; 
    align-items: stretch; /* [핵심] 자식 요소들이 부모 높이만큼 똑같이 늘어나도록 설정 */
    overflow: hidden;
    box-sizing: border-box;
}

/* 첫 번째 항목 마진 초기화 */
#byun_chirobub ul li:first-child {
    margin-left: 0 !important;
}

/* 좌측 이미지 찌그러짐 방지 및 고정 레이아웃 */
#byun_chirobub ul li > img {
    width: 35%;           /* 이미지의 가로 영역 비율 고정 */
    min-width: 140px;     /* 화면이 아주 작아져도 이미지가 너무 작아지지 않도록 최소폭 지정 */
    height: auto;         /* 높이는 자동 계산으로 초기화 */
    object-fit: cover;    /* [핵심] 이미지가 영역을 가득 채우되 절대 찌그러지지 않도록 비율 유지 크롭 */
    display: block;
    flex-shrink: 0;       /* 우측 텍스트 양에 의해 이미지가 밀려서 좁아지지 않도록 고정 */
}

/* 우측 텍스트 내용 감싸는 div 조절 */
#byun_chirobub ul li > div {
    padding: 24px 24px;   /* 이미지 0c0360.png와 유사하게 여백을 살짝 여유롭게 조정 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 텍스트 양이 적어도 세로 정중앙에 위치하도록 배치 */
    text-align: left;
    box-sizing: border-box;
}

/* 타이틀 스타일 */
#byun_chirobub ul li > div h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}
    
/* 설명글 스타일 */
#byun_chirobub ul li > div p {
    font-size: 15px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.5px;
    word-break: keep-all;
}
	
/* 변비 그래프 */
	#byunbi_grape{  
		max-width: 700px;
    margin: 0 auto;
	}
        .byunbi_gasun_txt {
            font-size: 30px;
            text-align: center;
            margin-bottom: 50px;
			display:none;
        }

        #chart-containerbox {
    position: relative;
	
        }
        
        /* 메인 카드 컨테이너 */
        .chart-container_left {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 25px;
    box-sizing: border-box;
    position: relative;
	margin-bottom: 30px;
        }

        /* 타이틀 */
        .chart-container_left .title {
            text-align: center;
            font-size: 20px;
            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: 20px;
            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);
			display:none;
        }

        /* [활성화] 동그라미 뱃지 애니메이션 작동 */
        .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);
    padding: 25px;
    box-sizing: border-box;
    position: relative;
}	
	
.chart-container_right .title{
text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}
	
		
/* 3단계 */
 .tl-wrap {
     max-width: 900px;
    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 {
      margin-bottom: 12px;
      padding-top: 4px;
    }

    .tl-tag {
font-size: 20px;
    font-weight: 600;
    color: #01aa81;
    padding-left: 10px;
}

    .tl-title {
      font-size: 20px;
      font-weight: 700;
      color: #1a1a1a;
		padding-left: 10px;
    }

.tl-card {
 	background: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    color: #6f6f6f;
    line-height: 1.6;
    opacity: 0.3;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
	    letter-spacing: -0.5px;
}

    .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: 70px; padding-bottom: 70px; }
	
	#review-wrap {
    position: relative;
	}
  #review-header {
  }
  .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: 20px;
}
	
.tab-buttons .tab-btn { padding: 9px 28px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 100px;
    font-family: 'Pretendard';
    background: #bfbfbf;
    color: #fff;
	border:0px;
}
	.tab-btn.active { background: #2aa6a1; 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;
    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 {	
    position: relative;	
}
.byun_jinmum_txt {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 20px;
}
.faq-container {
    border-bottom: 1px solid #ddd;
    margin: 0 20px;
}
.faq-item {
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.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: 18px;
    color: #222;
}

/* 화살표 회전 */
.faq-arrow {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    line-height: 1;
    right: 2px;
    position: relative;
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

/* ── [핵심 수정] 서랍처럼 통째로 열리는 슬라이딩 효과 ── */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr; /* 닫혔을 때 높이 0 */
    overflow: hidden;
    background-color: #f9f9f9;
    border-top: 1px solid transparent; 
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-top 0.4s ease,
                background-color 0.4s ease;
}

/* 열렸을 때 (배경과 글자가 동시에 1fr만큼 부드럽게 확장) */
.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
    border-top: 1px solid #ddd;
}

/* 내부 박스: 따로 움직이는 모든 animation/transform 제거 */
.faq-answer-inner {
    min-height: 0; /* Grid 0fr 작동을 위한 필수 속성 */
    display: flex;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    
    /* [핵심 수정] 기존에 여기에 있던 상하 패딩을 지우고 투명도만 살짝 줍니다. */
    padding: 0 16px; 
    opacity: 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.faq-item.open .faq-answer .faq-answer-inner {
    padding: 20px 16px; /* 열릴 때 서서히 패딩이 생기면서 부드럽게 밀림 */
    opacity: 1;
}

.faq-a-badge {
    font-size: 25px;
    font-weight: 700;
    color: #9ebd46;
    line-height: 1.1;
}
.faq-answer-text {
    color: #3e3e3e;
    font-size: 17px;
    line-height: 1.5;
}
	
		
	
/* 역류성식도염 */
.yunkru_box {
    margin: 0 auto;
    box-sizing: border-box;
}

.yunkru_box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2열 배열 */
    gap: 15px 20px; /* 카드 사이 간격 (상하 좌우) */
    padding: 0;
    margin: 0;
    list-style: none;
}

.yunkru_box ul li {
    background: #ffffff;
    border-radius: 12px; /* 둥근 모서리 */
    padding: 20px 25px;
    display: flex;
    align-items: center;
       box-shadow: 0 4px 15px 9px rgba(0, 0, 0, 0.04);/* 은은한 그림자 효과 */
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    letter-spacing: -0.5px;
    box-sizing: border-box;
}

/* 왼쪽 빨간색 체크 아이콘 구현 */
.yunkru_box ul li::before {
    content: '';
    display: inline-block;
    min-width: 32px;
    height: 32px;
    background-color: #eb4245; /* 빨간색 배경 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%; /* 원형 제작 */
    margin-right: 18px; /* 텍스트와의 간격 */
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2); /* 아이콘 내부 입체감 살짝 추가 */
}

/* 모바일 화면 대응 (화면이 작아지면 1열로 세로 정렬) */
@media (max-width: 768px) {
    .yunkru_box ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .yunkru_box ul li {
        padding: 15px 18px;
        font-size: 16px;
    }
    .yunkru_box ul li::before {
        min-width: 26px;
        height: 26px;
        background-size: 13px;
        margin-right: 12px;
    }
}



/* 5대를 이어온 */
#since_box{
	position: relative;
    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(/data/skin/front/pure/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;
}
	
	
	
	
/* ──────────────────────────────────────────────────────────
   [반응형 핵심 추가] 화면이 커질 때(태블릿/PC) 슬라이드가 너무 길어지는 것을 방지
   ────────────────────────────────────────────────────────── */
@media (min-width:1300px) {

	#bwrap{
	width: 1200px;
    margin: 0 auto;
    position: relative;
	}
	

.byunbi_list_box{
display: flex;
    gap: 10px;
}

.byunbi_list_left {
display: inline-grid;
flex: 4;
}

.byunbi_list_right {
display: grid;
align-content: center;
flex: 6;
}
	
	
}	
	
	
	
	
@media (min-width: 1024px) and (max-width: 1280px) {

.byunbi_list_box{
display: flex;
    gap: 10px;
}

.byunbi_list_left {
display: inline-grid;
flex: 4;
}

.byunbi_list_right {
display: grid;
align-content: center;
flex: 6;
}
	
.byun_top_img p {
    font-size: 24px;
}	
	
}

@media (min-width: 768px) and (max-width: 1023px) {
.byunbi_list_box{
display: flex;
    gap: 10px;
}

.byunbi_list_left {
display: inline-grid;
flex: 4;
}

.byunbi_list_right {
display: grid;
align-content: center;
flex: 6;
}

.byun_top_img p {
    font-size: 22px;
}	
	
}


@media (min-width: 480px) and (max-width: 767px) {
.byunbi_list_box{
display: flex;
    gap: 10px;
}

.byunbi_list_left {
display: inline-grid;
flex: 4;
}

.byunbi_list_right {
display: grid;
align-content: center;
flex: 6;
}

.byun_top_img p {
    font-size: 20px;
}	
	
}

@media (min-width: 377px) and (max-width: 479px) {
.byun_top_img p {
    font-size: 18px;
}
}

@media (min-width: 200px) and (max-width: 376px) {



.byun_box {
padding: 40px 20px;
}

.byun_box h2 {
font-size: 26.5px;
}

.byun_box h3 {
    font-size: 18.5px;
}

.byunbi-list h2 {
 font-size: 24px;
}

.sojang_bangock_box h2 {
    font-size: 25px;
}

.faq-question-text {
font-size: 20px;
}


.byun_top_img p {
    font-size: 18px;
}

.byunbi_list_right h4{
font-size: 20px;
}

.byunbi_list_right p {
    font-size: 16px;
}

#byun_jindan_txt h2 {
    font-size: 25px;
}

.ps_txt {
font-size: 15px;
}

.byun_chiro h1{
font-size: 25px;
}


.faq-answer-text{
font-size: 16px;
}

.faq-question-text {
    font-size: 18px;
}

.tl-title {
      font-size: 20px;
}

.tl-card{
    font-size: 18px;
}

.chart-container_left .title{
font-size: 20px;
}

.chart-container_left .subtitle{
font-size: 14px;
}

}






/* 상단 */
.arrow::after{
font-weight:300;
}
#bheader_wrap { 
    position: fixed; 
    width: 100%; 
    background: #fff; 
    z-index: 999; 
    top: 0px; 
    left: 0px;
    transition: transform 0.3s ease-in-out, box-shadow 0.4s ease-in-out;
}
#bheader_wrap.nav-up {
    transform: translateY(-100%);
    border-bottom: 1px solid #fff;
}
#bheader_wrap.nav-down {
    transform: translateY(0);
    border-bottom: 1px solid rgb(0 0 0 / 3%);
}
#bheader_wrap.at-top {
     border-bottom: 1px solid #fff;   
padding-bottom: 10px;
}
	
.byn_header_box { display: flex; justify-content: space-between; align-items: center; padding: 15px 15px 3px;   
	max-width: 1200px;
    margin: 0 auto; } /* 헤드 부분 영역 */
	
.byn_header_box img { width: 120px; }
.bright_menu { display: flex; align-items: center; gap: 15px; list-style: none; }
.bycall span { background: #b5b5b5; color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 14px; }
.bside_menu img { display: block; width: 24px; height: auto; }





.byun_sajindan_btn {
    display: block;
    text-align: center;
    background: #ffffff;
    color: #7f7f7f;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
    margin: 20px;
    margin-top: 10px;
    border: 1px solid #d9d9d9;
}
.byun_sajindan_btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}


/* 자가진단 */
/* 상세페이지용 단독 자가진단 배너 CSS */
.detail_test_outer {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px;
}

.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_text {
  flex: 1;
  min-width: 0; /* 좁은 화면에서 글자 깨짐 방지 */
}

.detail_test_label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #8b93a7;
  margin-bottom: 14px;
}

.detail_test_title {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  color: #2547d0;
}

.detail_test_sub {
  margin: 0;
  font-size: 15px;
  color: #8b93a7;
  font-weight: 600;
}

/* 우측 체크박스 아이콘 영역 (비율 유지) */
.detail_test_icon {
  flex: 0 0 70px; /* 화면 크기가 바뀌어도 이미지 크기 고정 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail_test_icon img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 하단 버튼 */
.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);
}