.bar.after{height:calc(320px * 0.2);}
	.bar.before{ height: calc(320px * 0.60);}
	.circle-badge{ left: 257px;  top: 80px;}
	.arrow-image-wrapper{  transform: rotate(93deg); left: 160px;}

.byun_top_img p{	
    width: 522px;
    margin: 0 auto;
    border-radius: 100px;
	background:#1a1b1c;
	    z-index: 2;
    position: relative;
}
	
	
/* 과민성대장증후군 스타일*/	
.ghamin_container {
	position:relative;
    margin: 0 auto;
    color: #333;
}
.ghamin_container *, .ghamin_container *:before, .ghamin_container *:after {
    box-sizing: inherit;
}
.ghamin-blind {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* 화장실 가지 마시고 */
.ghamin_topbox{ 
background: #f3f4f8;
}

/* 상단 섹션 */
.ghamin-hero-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    
}
.ghamin-visual-box {
  position: relative;
}

.ghamin-visual-box img{
 width: 100%;
}

.byun_box h2 b{
font-size: 24px;
}


@media (min-width: 200px) and (max-width: 376px) {
.byun_box h2 b {
font-size: 24px;
}

}


.ghamin-cause-box {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ghamin-title-main {
margin: 0;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
    color: #444;
}
	
.ghamin-title-main strong {
    font-weight: 700;
    color: #222;
}
.ghamin-cause-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 63%;
}
.ghamin-cause-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f7;
	gap: 10px;
}
.ghamin-cause-list li:last-child {
    border-bottom: none;
}
.ghamin-cause-label {
    font-weight: 700;
    font-size: 17px;
    width: 200px;
    color: #333;
    position: relative;
	flex: 4;
}
.ghamin-cause-desc {
    font-size: 16px;
    color: #666;
	flex: 5;
    font-weight: 400;
}

/* 하단 섹션 */

.ghamin-symptom-section {

}

.ghamin-symptom-section h2 {
    font-size: 25px;
    line-height: 1.4;
    font-weight: 700;
    color: #222;
    margin-bottom: 0px;
    letter-spacing: -1px;
}

.ghamin-symptom-section h2 strong { 
    color: #cd4b2c; 
    font-weight: 700;
} /* #2aa12e 초록 */

/* 소장 배경 이미지가 위치하는 메인 컨테이너 */
#ghamin-symptom-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

}

/* 카드를 감싸는 리스트 공간 (왼쪽 배치 및 크기 제한) */
.ghamin-card-list {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px; /* 배경 일러스트를 침범하지 않는 적정 선 */
    display: flex;
    flex-direction: column;
    gap: 10px; /* 카드 간 일정한 수직 간격 */
	margin-top: 10px;
}

/* 개별 카드 기본 스타일 */
#ghamin-card1, #ghamin-card2, #ghamin-card3 {
    background: #fff;
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #ebebeb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* [핵심] image_6fe3db.png 처럼 우측 소장 라인에 맞춰 계단식 배치하기 */
#ghamin-card1 {
    margin-left: 0px;
    max-width: 600px;
}

#ghamin-card2 {  
    max-width: 600px;
}

#ghamin-card3 {
    max-width: 600px;
}

/* 카드 내부 요소 스타일링 */
.ghamin-card-img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    margin-right: 25px;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.ghamin-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ghamin-card-text {
    flex: 1;
}

.ghamin-card-tag {
    font-size: 15px;
    color: #888;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.ghamin-card-quote {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #333;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* 핵심 단어 강조 색상 */
.ghamin-card-quote strong {
    color: #c92a2a; 
    font-weight: 700;
}

/* 하이라이트 세부 증상 텍스트 */
.ghamin-card-detail {
    margin: 0;
    font-size: 15px;
    color: #555;
    background-color: #fffde7; /* 디자인 시안의 연노랑 툴팁 톤 매칭 */
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}


/* ========================================================
   모바일 환경 반응형 대응 (미디어 쿼리 완벽 보정)
   ======================================================== */
@media (max-width: 768px) {
    #ghamin-symptom-content {
        background-image: none; /* 모바일에서는 화면 공간 협소로 배경 제거 권장 */
        padding: 10px 0;
    }

    .ghamin-card-list {
        max-width: 100%;
    }

    /* 모바일에서는 계단식 배열을 해제하고 세로로 깔끔하게 떨어지도록 처리 */
    #ghamin-card1, #ghamin-card2, #ghamin-card3 {
        margin-left: 0 !important;
        max-width: 100%;
        flex-direction: row; /* 이미지와 텍스트 가로 배열 유지 */
        padding: 20px;
    }

    .ghamin-card-img {
        width: 90px;
        height: 90px;
        margin-right: 15px;
    }

    .ghamin-card-quote {
        font-size: 18px;
    }
    
    .ghamin-card-detail {
        font-size: 13px;
    }

   .ghamin-cause-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .ghamin-cause-list {
        width: 100%;
    }



}

@media (max-width: 480px) {
    /* 아주 작은 모바일 화면에서는 상하 배치로 전환 */
    #ghamin-card1, #ghamin-card2, #ghamin-card3 {
        flex-direction: column;
        align-items: flex-start;
    }
    .ghamin-card-img {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

	
	
	
/* 그래프 왼쪽 */
	
.chart-container_left {
  padding: 25px;
}
	

.chart-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
	
/* 수소호기 검사 수치 */
	#ghamin_graph02{ margin-top: 8px; margin-bottom: 0px; }

	
/* ========================================================
   소장세균과증식(SIBO) 그래프 애니메이션 CSS 
   ======================================================== */

/* 1. 초기 상태 설정 (애니메이션 시작 전 숨김 및 위치 조정) */
	
#ghamin_graph01 .youso_01{
	position: absolute;
    background: #e03950;
    font-size: 20px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px; 
	font-weight: 700;
	top: 40%;
    left: 30%;
    transform: translate(-50%, -50%) scale(0.5);

}

#ghamin_graph01 .red-circle{
	position: absolute;
    top: 5%;
    left: 58%;
    width: 16%;
    padding-bottom: 16%;
    height: 0;
    border-radius: 50%;
    background: rgba(224, 51, 51, 0.2);
    transform: translate(-50%, -50%) scale(0.5);
}

#ghamin_graph01{	
position:relative; 
}

#ghamin_graph02{	
position:relative; 
}

#ghamin_graph01 img{
width: 100%;
}

#ghamin_graph02 img{
width: 100%;
}

#ghamin_graph02 .youso_02{
    position: absolute;
    bottom: 90px;
    right: 120px;
    background: #2348c3;
    font-size: 20px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 700;
}
	
	
	
#ghamin_graph01 .youso_01, 
#ghamin_graph01 svg circle, /* 만약 빨간 동그라미가 SVG 요소라면 */
#ghamin_graph01 .red-circle { 
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* 탄력적인 Bounce 효과 */
}

#ghamin_graph02 .youso_02,
#ghamin_graph02 .blue-badge {
    opacity: 0;
    transform: translateY(15px); /* 아래에서 위로 스르륵 올라오는 효과 */
    transition: all 0.6s ease-out;
}

/* 2. fade-in 클래스가 붙었을 때 활성화 상태 */

/* [치료 전] 세균 과증식 문구 및 빨간 동그라미 강조 */
#ghamin_graph01.fade-in .youso_01,
#ghamin_graph01.fade-in .red-circle {
    opacity: 1;
    transform: scale(1);
    /* 그래프 이미지가 먼저 나온 후 약간의 시차(0.4초)를 두고 강조되도록 설정 */
    transition-delay: 0.4s; 
}

/* [치료 후] 정상수치 말풍선 등장 */
#ghamin_graph02.fade-in .youso_02,
#ghamin_graph02.fade-in .blue-badge {
    opacity: 1;
    transform: translateY(0);
    /* 치료 전 그래프가 완전히 인지된 후 나오도록 시차(0.8초)를 넉넉히 둠 */
    transition-delay: 0.8s; 
}

/* 맥박이 뛰는 듯한 지속적인 강조 효과 (선택 사항) */
@keyframes pulseRed {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 51, 51, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(224, 51, 51, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 51, 51, 0); }
}

/* 애니메이션이 완료된 후 빨간 동그라미에 깜빡이는 효과를 주고 싶다면 아래 주석을 해제하세요 */
/* #ghamin_graph01.fade-in .red-circle {
    animation: pulseRed 2s infinite 1s;
}
*/