@charset "utf-8";
/* CSS Document */

html, body {
    width: 100%;
	margin:0;
	padding:0;
    overflow-x: hidden !important;
 	font-family: 'Pretendard', 'Roboto', 'Arial', sans-serif ; 
}



	
.left_pop{ display:none; }
		
h1{ letter-spacing: -1px; }

#m_mainbyun{
  position: relative;
	width:100%;
	overflow-x: hidden; /* 가로 밀림 방지 */
margin-top: 60px;
}
	

	
#m_sliderbox {
position: relative;
  width: calc(100% - 30px);
  margin: 15px auto;
  overflow: hidden;
  border-radius: 12px;

  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  
  
  height: 700px; 
}  /* aspect-ratio: 4/3; 또는 원하는 PC 비율 (예: 16/9) */
/* 모바일에서 고정 높이를 원한다면 유지, 아니면 auto */

#sliderTrack {
  display: flex;
  height: 100%;
  width: 100%;
}	
	
.slider-track {
  display: flex;
  height: 100%;
}

.m_slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  background: #fff;
}

.m_slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: 1;
}

#cloneFirst .slidetxt_box,
#cloneLast .slidetxt_box {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* [반응형 수정] 패딩 값을 em/rem 또는 반응형 단위(vw)를 조합해 글자가 넘치지 않게 조절 */
.slidetxt_box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 60px 40px; /* 모바일 대응 패딩 조절 */
  z-index: 2;
  color: #fff;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}


.m_slide.active .slidetxt_box {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease-out 0.25s, transform 0.4s ease-out 0.25s;
}





.slidetxt_box h2 {
  font-size: 30px; 
  font-weight: 300;
  margin: 0 0 4px;
  opacity: 0.85;
  letter-spacing: -0.01em;
}

.slidetxt_box h1 {
  font-size: 50px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.slidetxt_box p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.82;
  word-break: keep-all;
}



.page-number {
  position: absolute;
  bottom: 25px;
  right: 20px;
  z-index: 10;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  pointer-events: none;
   border: 1px solid #ffffffb5;
} /*   background: rgba(255,255,255,0.18); */

.dot-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 5px;
  align-items: center;
  display:none;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}	
	
	
/* 자필 후기 */	
  .carousel-outer {
    overflow-x: auto;
    white-space: nowrap;
    user-select: none;
    padding: 8px 0;
    -ms-overflow-style: none;  /* IE/Edge 스크롤바 숨김 */
    scrollbar-width: none;  /* Firefox 스크롤바 숨김 */
  }
	/*    */
	
	
  .carousel-outer::-webkit-scrollbar {
    display: none; /* Chrome/Safari 스크롤바 숨김 */
  }
  .carousel-outer:active {  } /* cursor: grabbing; */

  .carousel-track {
    display: flex;
    gap: 16px; /* 이 간격을 마음대로 수정해도 JS가 자동으로 계산합니다 */
    width: max-content;
  }

  /* 카드 크기 */
  .card {
 width: 340px;
  background-color: #f0f4f9;
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
  flex-shrink: 0;
  }  /*    width: 400px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    background: #1a4a5e;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);*/


/* 자필 후기 카드 스타일 */
.review-card {

}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.user-icon {
  font-size: 24px;
  background-color: #cbd5e1;
  color: white;
  border-radius: 50%;
  padding: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #1e293b;
	font-family: 'Pretendard';
}

.card-header .tag {
  margin: 2px 0 0 0;
  font-size: 16px;
  color: #1e293b;
}

/* 내부 흰색 영역 */
.card-content {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 16px;
    margin: 0;
    font-size: 16px;
    color: #475569;
    line-height: 1.4;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
    letter-spacing: -0.5px;
font-weight: 500;
} /* 	
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
	*/
	
	
/* 소장 치료 한의원 */
#sojang_banner {
  justify-content: space-between;
align-items: center;
    width: calc(100% - 30px);
    margin: 15px auto;
    box-sizing: border-box;
    background-color: #ecf4fb;
    border-radius: 12px;
    position: relative;
    height: auto;
	padding: 40px 50px;
	
} /*  padding: 20px 24px;  display: flex; */

.sojang_banner_l {
  flex: 1;
  padding-right: 10px;
}

.sojang_banner_l p {
  margin: 0 0 8px 0;
  font-size: 30px;
  color: #474747;
  font-weight: 500;
  letter-spacing:-0.5px;
} /*font-size: 20px; */
	
	

.sojang_banner_l h1 {
  margin: 0;
  font-size: 37px;
  line-height: 1.35;
  color: #000;
  font-weight: 700;
  letter-spacing: -0.4px;
}/* 25px */

.sojang_banner_r {
    width: 200px;
    right: 6%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
	
} /* width: 90px; height: 90px;  */


	
	
.sojang_banner_r img {
  width: 100%;
  height: 100%;
  object-fit: contain;
	animation: float 1.5s ease-in-out infinite;
}	
	
	
	
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* 위로 10px 이동 (모바일 환경 고려하여 과하지 않게 설정) */
  }
  100% {
    transform: translateY(0);
  }
}

	
	
/* 장내세균 분석 슬라이드 */
#gumsa_slider_outer {
  position: relative;
  width: calc(100% - 30px);
  margin: 15px auto;
  border-radius: 12px;
  overflow: hidden; /* 이걸로 border-radius 적용 + 슬라이드 clipping 동시 해결 */
  user-select: none;
touch-action: pan-y; 
  -webkit-user-select: none;
margin-bottom: 30px;
}

/* 도트: outer 기준 absolute로 위에 떠 있음 */
.gum_dot_box {
  position: absolute;
  top: 20px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.gum_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.gum_dot.active {
  background-color: #ffffff;
}

/* 슬라이드 track: flex로 가로 나열 */
#gumsa_banner_box {
  display: flex;
  width: 100%;
 
} /*  cursor: grab; */
	
#gumsa_banner_box:active {
  
}
/* cursor: grabbing;*/
	
/* 개별 배너 카드 */
.gumsa_banner {
	position:relative;
  min-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
	height: 300px;
	padding: 40px 50px;
	
}  /* border-radius 제거: outer의 overflow:hidden으로 처리  min-height: 150px;   
	padding: 34px;
  height: 300px;*/
	
#m_gumsa_ba01{
	background-color: #3b8a7a;
}
#m_gumsa_ba02{
	 background: url(../../../img/byunhom/main/m_gumsa_bg_02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#m_gumsa_ba03{
	 background: url(../../../img/byunhom/main/m_gumsa_bg_03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}	
	
.gumsa_banner_l {
  flex: 1;
  padding-right: 10px;
}

.gumsa_banner_l p {
  margin: 0 0 10px 0;
 font-size: 30px; 
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: -0.02em;
} /* font-size: 15px; */

.gumsa_banner_l h1 {
  margin: 0;
  font-size: 37px;
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
} /*font-size: 25px;*/
	
	
.gumsa_banner_r {
	width: 300px;
    right: 3%;
    position: absolute;
    top: 80%;
    transform: translate(0, -80%);
	
} /* width: 90px; height: 90px; */

.gumsa_banner_r img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}	



/* 아이콘 리스트 */
.byuntest-icons {
  display: flex;
  flex-wrap: wrap;
  
  /* 1. 화면 크기에 따라 간격도 유연하게 조절 (모바일에선 작게, PC에선 크게) */
  gap: 4vw 2vw; 
  justify-content: center; 

  border-top: 20px solid #f5f5f5;
  padding: 20px;
  border-bottom: 20px solid #f5f5f5;
  box-sizing: border-box;
}

.byuntest-icon-item {
  /* 2. 간격(gap: 2vw)을 고려해 한 줄에 5개 균등 배분 */
  width: calc((100% - (2vw * 4)) / 5); 
  
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.byuntest-icon-box {
  /* 3. 핵심: 고정 크기 대신 유연한 크기 지정 */
  width: 16vw;          /* 화면 너비에 따라 자동으로 변함 */
  height: 16vw;         /* 정사각형 유지 */
  max-width: 80px;      /* 대신 최대 80px까지만 커지도록 제한 */
  max-height: 80px;
  
  border-radius:15px;
  background: #f4f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-sizing: border-box;

  /* 4. 내부 이미지 여백도 퍼센트로 유연하게 처리 */
  padding: 5px; 
}

.byuntest-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.byuntest-icon-label {
  /* 5. 작은 화면에서 폰트가 깨지지 않도록 미세 조정 */
  font-size: 14px; 
  font-weight: 700;
  color: #222;
  line-height: 1.3;
  word-break: keep-all;
}

/* 모바일 화면(430px 이하)에서 글씨가 너무 크면 겹칠 수 있으므로 조절 */
@media (max-width: 430px) {
  .byuntest-icon-label {
    font-size: 12px;
  }
}


	
/* 치료후기 */
.jagamun_list{
	margin-top: 35px;
}
	
.mobih1_txt{
	position: relative;
	margin: 20px;

} /*     width: calc(100% - 60px); */

.mobih1_txt h1{
font-size: 40px;
}
/* font-size: 28px;*/
	
.mobih2_txt{
   font-size: 25px;
	font-weight: 500;
    color: #3b3b3b;
	letter-spacing: -0.5px;
	
}/*     font-size: 17px;*/

	
	
	
/* 진솔한 이야기 영상 후기 */	
#byun_videobox{
	margin-top: 35px;
	margin-bottom: 35px;
}
	
.mobih1_txt2{
	position: relative;
	margin: 20px;
display: flex;
    flex-direction: column;
}	/*     width: calc(100% - 45px); */
	
.mobih1_txt2 h1{
	font-size: 34px;
	display: inline-block;
}
	
.allview{	
font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #717171;
    position: absolute;
    align-items: center;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}
	
.allview2{
	font-size: 16px;
	text-decoration: underline;
    text-underline-offset: 2px;
    color: #717171;
}
	
	
.video_title_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px;
}
.video_title_wrap h2 {
    font-size: 18px;
    font-weight: bold;
    color: #111;
    margin: 0;
}
.video_title_wrap .view_all {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

/* 전체 컨테이너: 가로 스크롤 활성화 */
	
#byun_video_box{	
	   
}	
	
#byun_video {
    display: flex;
    overflow-x: auto;
    gap: 12px; /* 아이템 사이 간격 */
    scroll-snap-type: x mandatory; /* 모바일에서 자석처럼 착 걸리는 효과 */
    -webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 */
}

/* 스크롤바 숨기기 (깔끔한 UI용) */
#byun_video::-webkit-scrollbar {
    display: none;
}

/* 개별 리스트 아이템 */
.video_li {
    flex: 0 0 85%; /* 화면 너비의 85% 차지 -> 우측에 다음 컨텐츠가 살짝 보임 */
    scroll-snap-align: start; /* 스크롤 시 정렬 기준 */
   
} /* box-sizing: border-box;*/

.video_li a {
    text-decoration: none;
    display: block;
}
	
.video_li:first-child{
	padding-left: 20px;
}
	

/* 썸네일 영역 (둥근 모서리 + 비율 유지) */
.video_sum {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 이미지 비율 유지 */
    border-radius: 15px; /* 이미지 둥근 모서리 */
    overflow: hidden;
    background-color: #373737;   

}

.video_sum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;	
opacity: 0.8;
}

/* 가운데 재생 버튼 오버레이 */
.video_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') no-repeat center;
    background-size: 24px;
    border-radius: 50%;
    z-index: 2;
}

/* 하단 텍스트 */
.video_li p {
    margin-top: 10px;
    color: #222;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 글자가 길어지면 ... 처리 */
}	
	
	
/* 치료 결과 */	
#culgha_box {
            position: relative;
            background: linear-gradient(0deg, #dde6fa, transparent);
			background:url('../../../img/byunhom/main/m_pahung_bg.png') no-repeat;
            padding: 120px 20px 20px;
            text-align: center;
            overflow: hidden;
	    background-position: center center;
    background-size: cover;
 }/* center top 70px;*/
	
	

	
	
#culgha_box h1{
	font-size: 45px;
	font-weight: 500;
	line-height: 1.3;
    letter-spacing: -1px;
}
#culgha_box h1 b{
	font-weight: 700;
}
	
#culgha_box strong{
	font-size: 20px;
    font-weight: 400;
    color: #616161;
    line-height: 5;
}
	
.dabong_icon {
            position: absolute;
            font-size: 40px; /* 임시 이모지 크기 */
	top: 80px;
    left: 10%;
            animation: thumbsUp 1.5s ease-in-out infinite alternate;
        }
	
.dabong_icon img{
width: 150px;
}
	
	
.dabong_icon2 {
            position: absolute;
            font-size: 40px; /* 임시 이모지 크기 */
 top: 120px;
right: 10%;
            animation: thumbsUp 1.5s ease-in-out infinite alternate;
        }	
	
.dabong_icon2  img{
width: 150px;

}	
	
	
 @keyframes thumbsUp {
            0% { transform: rotate(-10deg) scale(0.9); }
            100% { transform: rotate(10deg) scale(1.1); }
        }

 /* 하트 아이콘 컨테이너 */
  .hart_icon_container {
            position: absolute;
top: 90px;
    right: 22%;
            width: 30px; /* 이모지 크기에 맞춤 */
            height: 30px;
			    z-index: 1;
        }

  /* 공통 하트 스타일 */
.heart {
            position: absolute;
            font-size: 24px; /* 개별 하트 크기 */
            opacity: 0;
  }

 /* 각 하트 위치 및 애니메이션 설정 */
.heart:nth-child(1) {
            top: 0;
            right: 0;
            animation: flyingHeart 2s ease-in-out infinite;
 }
 .heart:nth-child(2) {
            top: 15px; /* 약간 아래 */
            right: -10px; /* 약간 오른쪽 */
            animation: flyingHeart 2s ease-in-out infinite 0.2s; /* 약간의 지연 */
        }
  .heart:nth-child(3) {
            top: -15px; /* 약간 위 */
            right: -10px; /* 약간 오른쪽 */
            animation: flyingHeart 2s ease-in-out infinite 0.4s; /* 더 많은 지연 */
        }

 /* 하트 날리는 애니메이션 */
 @keyframes flyingHeart {
            0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            50% { transform: translate(-20px, -30px) scale(1.3) rotate(-10deg); opacity: 1; } /* 왼쪽 위로 이동 */
            90% { opacity: 1; }
            100% { transform: translate(-30px, -50px) scale(0.8) rotate(10deg); opacity: 0; } /* 더 멀리 이동하며 작아지고 사라짐 */
        }	
	


	
	
	
	
.flex_container {
            display: flex;
            justify-content: space-between;
            gap: 15px;
	width: 90%;
    position: relative;
    margin: 0 auto;
	    padding-top: 40px;
        }


	
	
 .jinro_box, .chiro_box {
            flex: 1;
   padding: 70px 50px;
    border-radius: 300px;
            color: #fff;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	         line-height: 1.2;
        }

/* 진료 만족도 (파란색 그라데이션) */
.jinro_box {
           background: linear-gradient(135deg, #7193ed, #4472e7);
        }

        /* 치료 만족도 (보라색 그라데이션) */
.chiro_box {
      background: linear-gradient(135deg, #8c72ed, #6844e7);
        }

.jinro_box p, .chiro_box p {
            font-size: 25px;
            font-weight: 500;
            opacity: 0.9;
        }


.jinro_box h2 span, .chiro_box h2 span{
	    font-size: 50px;
}
	
.jinro_box h2 span.count, .chiro_box h2 span.count{
            font-size: 80px;
            font-weight: 700;
            margin-left: 2px;
 }
	

.pecen {
    font-size: 20px;
}
	
/* since 채워짐 */	

:root {
  --base-color: #dddddd;   /* 스크롤 전 기본 글자 색상 (연한 회색) */
  --fill-color: #004dc3;   /* 스크롤 시 채워질 포인트 색상 (예시: 네이비 블루) */
  --font-size: 60px;       /* 글자 크기 (기존 60px 유지) */
}

/* 감싸는 섹션 영역 (원하는 여백에 맞게 height 조절 가능) */
.spacer_box {
  margin-top: 50px;
  padding-left: 20px;
}

/* 기본 글자 스타일 */
.scroll-text {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important; /* 포괄적인 폰트 패밀리 지정 */
  font-size: var(--font-size);
font-weight: bold;
  letter-spacing: -1px;
  position: relative;
  color: var(--base-color); /* 기본 글자 색상 */
  margin: 0;
  display: inline-block;
}

/* 스크롤 할 때 위에 덮어씌워지며 채워지는 레이어 */
.scroll-text::after {
content: attr(data-text); /* HTML의 data-text 내용을 그대로 가져옴 */
  position: absolute;
  left: 0;
  top: 0;
  color: #517ce8; /* 채워질 색상 */
  width: var(--scroll-percent, 0%); /* 자바스크립트가 0% ~ 100%로 실시간 조절 */
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.05s ease-out; /* 부드럽고 즉각적인 반응 속도 */
}
	
	
	
/* 5대를 이어온 */	
#byun_yucksa{
	    position: relative;
	letter-spacing: -0.3px;
	    text-align: center;

} /*  overflow: hidden; */
	
#byun_yucksa p{
padding-bottom: 5px;
}

	
#byun_yucksa h1{
	line-height: 1.3;
	font-weight: 500;
}
	
#byun_yucksa h1 b{
	font-weight: 700;
}
	
	
 /* ── EXAMINATION SECTION ── */
/* 지도 효과 */
.map-containerbox {
	width:100%; 
 background: url(../../../img/byunhom/main/jido_bg.png);
	            border: 1px solid rgba(255, 255, 255, 0.1);
	            border-radius: 20px;
            overflow: hidden;
}
	
	.map-container {
            position: relative;
               max-width: 500px;
		    margin: 0 auto;
            height: 650px;         


        }
		
		
		.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; }
  .exam-grid { display: grid; grid-template-columns: 500px 1fr; gap: 30px; }
  .exam-left {
	    position: relative;
    margin: 30px 20px 15px;
  }
  .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;
  }	
	

/* ---------------------------------------------------------
   두 번째 섹션: 5대 역사의 변한의원
--------------------------------------------------------- */


#byun_yucksa .mobih1_txt {
    text-align: left;
   margin: 20px;
}

#byun_yucksa .mobih2_txt {
    color: #666;
    margin-bottom: 8px;
}

#byun_yucksa .mobih1_txt h1 {
    font-weight: 400;
    line-height: 1.4;
    color: #222;
}

#byun_yucksa .mobih1_txt h1 b {
    font-weight: 700;
}

/* 1대 ~ 4대 역대 원장님 리스트 */
#byun_yucksa ul {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    position: relative;
    z-index: 2;
	padding: 0 15px;
}

#byun_yucksa ul li {
    flex: 1;
}

#byun_yucksa ul li img {
    width: 100%;
    height: auto;
    display: block;
}

/* 5대 원장님 메인 이미지 */
#byun_yucksa > img {
    display: block;
    width: 55%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 하단 어두운 배경 영역 처리 (원장님 뒤 배경) */
.yucksa_bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* 원장님 이미지 어깨선 아래 높이 */
    z-index: 1;
	    background: linear-gradient(0deg, #cec3b4, #00000000);

    background-size: cover;
	
} /* 	background: url(../../../img/byunhom/main/hanwi_bg.jpg) center center fixed; */


/* ---------------------------------------------------------
   세 번째 섹션: 오시는 길 (지도 및 대중교통 버튼)
--------------------------------------------------------- */
.jidoomap_box {
margin: 20px;
}

	.jidoomap_box .mobih1_txt{
		margin:0;
	
	}
	
/* 지도 영역 및 주소창 */
#byun_map {
position: relative;
    width: 100%;
	margin-top:20px;

}

/* 지도 하단 주소 텍스트 바 */
.byun_adress {
width: 100%;
    background-color: #f4f6f9;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #222;
    line-height: 2.5;
	    margin-bottom: 30px;
	margin-top: -5px;
}

/* 길찾기 앱 버튼 리스트 */
.map_icon {
    display: flex;
    gap: 8px;
}

.map_icon li {
    flex: 1;
}

.map_icon li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 35px;
    border: 1px solid #e5e5e5;
    border-radius: 22px; /* 둥근 캡슐 모양 */
    background-color: #fff;
}

.map_icon li img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.map_icon li p {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}	
	
	
	
	
	
	
	
/* 유튜브 리스트 */	
	
		
#byun_youtu {
  padding: 20px 0 50px;
 background: #f5f7f9;
	margin-top: 50px;
}
.youtu_header {
margin-bottom: -15px;
}
	/*  justify-content: space-between;
  align-items: center;*/
	
	
.youtu_header h1 {
  font-weight: 700;
  letter-spacing: -0.5px;
	display: inline-block;
}

	
	
.video2_li {
    flex: 0 0 85%; /* 화면 너비의 85% 차지 -> 우측에 다음 컨텐츠가 살짝 보임 */
    scroll-snap-align: start; /* 스크롤 시 정렬 기준 */
	margin-top: 10px;	
	position: relative;
    overflow: hidden;
	
} /*  box-sizing: border-box; */
	
.video2_li:first-child{
	padding-left: 20px;
}
		

.video2_li a {
    text-decoration: none;
    display: block;
}
	
.video2_li:first-child{
	padding-left: 20px;
}
	

/* 썸네일 영역 (둥근 모서리 + 비율 유지) */
.video2_sum {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 이미지 비율 유지 */
    overflow: hidden;
    background-color: #eaeaea;
border-radius: 10px 10px 0 0; 
}  

.video2_sum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 가운데 재생 버튼 오버레이 */
.video2_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8 5v14l11-7z"/></svg>') no-repeat center;
    background-size: 24px;
    border-radius: 50%;
    z-index: 2;
}

/* 하단 텍스트 */
.video2_sumtxt h4{
font-size: 28px;
}
	
.video2_li p {
    color: #909090;
    font-weight: 400;
	font-size: 24px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 글자가 길어지면 ... 처리 */
}	
	
.video2_sumtxt{
	background:#fff;
	border-radius: 0 0 10px 10px; 
	padding: 3% 4%;
	letter-spacing: -0.1px;
} /* padding: 14px 16px; */


/* 칼럼 리스트 */		
#byun_clarum {
    padding: 30px 0 20px;
}
	
.clarum_header {

} /*     display: flex;
    justify-content: space-between;
    align-items: center; */
	
	
.clarum_header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
	
.clarum_scroll_track {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
	

	
	

/* 스크롤바 숨기기 */
.clarum_scroll_track::-webkit-scrollbar {
    display: none;
}

/* 개별 리스트 아이템 (2.5개 노출 세팅) */
.clarum_li {
    flex: 0 0 38%;
    scroll-snap-align: start;
    position: relative;
 
}

.clarum_li a {
    text-decoration: none;
    display: block;
}

/* 양옆 여백 (padding 대신 margin으로 변경하여 카드 잘림 해결) */
.clarum_li:first-child {
 	padding-left: 20px;
}
	
.clarum_scroll_track::after {
    content: '';
    flex: 0 0 18px;
}

/* 썸네일 영역 (컴팩트 세로형)  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
.clarum_card_thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; 
    background-color: #eaeaea;
	    border-radius: 12px;
   overflow: hidden;
	  
}

/* 글씨가 잘 보이도록 이미지 아래에 어두운 그라데이션 레이어 추가 */
.clarum_card_thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* 하단 60% 영역만 어둡게 */
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.clarum_card_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 칼럼 텍스트 (이미지 내부 하단에 고정) */
.clarum_card_txt {
    padding: 8%;
font-size: 27px;
 position: absolute;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.3px;
    width: 100%;
    z-index: 2; /* 그라데이션보다 위로 */
    
    /* 2줄 제한 말줄임 처리    -webkit-box-orient: vertical; */
    display: -webkit-box;
    -webkit-line-clamp: 2;

    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
	
.clarum_header h1 {
  font-weight: 700;
  letter-spacing: -0.5px;
	display: inline-block;
}	
	
	
	
	
	
	
/* ──────────────────────────────────────────────────────────
   [반응형 핵심 추가] 화면이 커질 때(태블릿/PC) 슬라이드가 너무 길어지는 것을 방지
   ────────────────────────────────────────────────────────── */
@media (min-width:1300px) {
	body{

	}



	#bwrap{
	width: 1200px;
    margin: 0 auto;
    position: relative;
	}
	
}
	
		
/*노트북 & 태블릿 가로 : 1024px-1279px*/
@media all and (min-width:1024px) and (max-width:1280px) {
	.slidetxt_box h1 {
 		 font-size: 50px;
	}
	.slidetxt_box h2{
		font-size: 35px;
	}
	#m_sliderbox {
  		height:600px;
	}
	.slidetxt_box p {
  		font-size: 25px;
	}
	.slidetxt_box {
  padding: 30px 10px 70px 50px;
	}	
	.page-number{
		font-size: 18px;
		 bottom: 25px;
	}
	/* 소장 */
	#sojang_banner{
		 padding: 50px;
	}
	
	.sojang_banner_l h1{
		font-size: 38px;
	}

	.sojang_banner_l p{
		font-size: 30px;
	}
	.sojang_banner_r {
     width: 180px;
		height: 180px;
	}
	
/* 장내검사 슬라이드 */	
	.gumsa_banner{
		height: 280px;
		padding: 50px;
	}	
	
	.gumsa_banner_l h1{
		font-size: 38px;
	}
	.gumsa_banner_l p{
		font-size: 30px;
	}
	
	.gumsa_banner_r{
	width: 300px;
}
	
/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 36px;
}
	.mobih2_txt{
font-size: 27px;	
	}
	
/* 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 32px;
}
	
	
/* 1280px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 50px;

}

.jinro_box, .chiro_box{
border-radius: 150px;
padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 30px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 80px;
}



.jinro_box h2 span, .chiro_box h2 span {
font-size: 40px;
}

#culgha_box strong{
font-size: 30px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 120px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 150px;

}

.hart_icon_container {
top: 60px;
    right: 25%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
		
.heart img{
	width:25px;
	}	

		

	
}
	
/*태블릿 가로 : 769px-1023px*/
@media all and (min-width:768px) and (max-width:1023px) {
	.slidetxt_box h1 {
 		 font-size: 48px;
	}
	.slidetxt_box h2{
		font-size: 32px;
	}
	#m_sliderbox {
  		height:520px;
	}
	.slidetxt_box p {
  		font-size: 25px;
	}
	.slidetxt_box {
  padding: 30px 10px 70px 40px;
	}	
	.page-number{
		font-size: 16px;
		 bottom: 25px;
	}
 /* 소장 */
	#sojang_banner{
		padding: 34px;
	}
	
	.sojang_banner_l h1{
		font-size: 28px;
	}

	.sojang_banner_l p{
		font-size: 25px;
	}
	.sojang_banner_r {
    width: 150px;
	}
	
/* 장내검사 슬라이드 */	
	.gumsa_banner{
		padding: 34px;
		height: 200px;
	}
	.gumsa_banner_l h1{
		font-size: 28px;
	}
	.gumsa_banner_l p{
		font-size: 25px;
	}	
	.gumsa_banner_r{
		width: 200px;
	}
	
/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 37px;
}
	.mobih2_txt{
font-size: 25px;	
	}

/* 1023px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 29px;
}
	
.video2_sumtxt h4{
font-size: 24px;
}

.video2_li p {
	font-size: 21px;
}

	
/* 1023px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 35px;

}

.jinro_box, .chiro_box{
border-radius: 80px;
        padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 25px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 58px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 25px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 100px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 120px;

}

.hart_icon_container {
top: 60px;
    right: 17%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
	
	
.heart img{
	width:30px;
	}
		

	
	

}
	
/*모바일 가로 & 태블릿 세로 : 480px-767px*/
@media all and (min-width:480px) and (max-width:767px) {
	.slidetxt_box h1 {
 		 font-size: 40px;
	}
	.slidetxt_box h2{
		font-size: 25px;
	}
	#m_sliderbox {
  		height:500px;
	}	
	.slidetxt_box p {
  		font-size: 20px;
	}
	.slidetxt_box {
  padding: 30px 10px 45px 35px;
	}	
	
 #m_sliderbox {
    height: 420px; /* 이하일 때 슬라이드 박스의 높이와 비율을 화면에 맞게 최적화 */
    aspect-ratio: 1/1; /* 세로가 조금 더 긴 정방향 비율로 변경 */
  }
	
 /* 소장 */
	#sojang_banner{
	 padding: 34px;
	}

  .sojang_banner_l h1 {
    font-size:  25px;
  }
  .sojang_banner_l p {
   font-size: 22px;
  }	
  .sojang_banner_r {
    width: 120px;
  }

	

/* 장내검사 슬라이드 */	
 .gumsa_banner {
 	 height: 180px;
	 padding: 34px;
  }
	.gumsa_banner_l h1{
		font-size:  25px;
	}
	.gumsa_banner_l p{
		font-size: 22px;
	}		
	
  .gumsa_banner_r {
  	width: 180px;
  }		
	
	
	/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 30px;
}
	.mobih2_txt{
font-size: 22px;	
	}	
	
/* 767px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 26px;
}
	
.video2_sumtxt h4{
font-size: 22px;
}

.video2_li p {
	font-size: 19px;
}


	
/* 767px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 30px;

}

.jinro_box, .chiro_box{
border-radius: 75px;
padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 17px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 45px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 12px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 70px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 70px;

}

.hart_icon_container {
top: 60px;
    right: 20%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
	
.heart img{
	width:27px;
	}

/* 767px 전국 */	
	.map-container .maptxt{
font-size: 32px;
}

.map-container .maptxt strong{
font-size: 38px;
}
	
.map-container .maptxt2{
font-size: 24px;
}	
	

	
	
	

}	
	


/*모바일 : @media all and (min-width:431px) and (max-width: 479px) */

@media (min-width:1300px) {
	body{

	}
	#bwrap{
	width: 1200px;
    margin: 0 auto;
    position: relative;
	}
	
}
	
		
/*노트북 & 태블릿 가로 : 1024px-1279px*/
@media all and (min-width:1024px) and (max-width:1280px) {
	/* 요청하신 클래스 추가 (가장 큰 사이즈) */
	.clarum_card_txt {
		font-size: 23px;
	}
	.allview {
		font-size: 24px;
	}

	.slidetxt_box h1 {
 		 font-size: 50px;
	}
	.slidetxt_box h2{
		font-size: 35px;
	}
	#m_sliderbox {
  		height:600px;
	}
	.slidetxt_box p {
  		font-size: 25px;
	}
	.slidetxt_box {
  padding: 30px 10px 70px 50px;
	}	
	.page-number{
		font-size: 18px;
		 bottom: 25px;
	}
	/* 소장 */
	#sojang_banner{
		 padding: 50px;
	}
	
	.sojang_banner_l h1{
		font-size: 38px;
	}

	.sojang_banner_l p{
		font-size: 30px;
	}
	.sojang_banner_r {
     width: 180px;
		height: 180px;
	}
	
/* 장내검사 슬라이드 */	
	.gumsa_banner{
		height: 280px;
		padding: 50px;
	}	
	
	.gumsa_banner_l h1{
		font-size: 38px;
	}
	.gumsa_banner_l p{
		font-size: 30px;
	}
	
	.gumsa_banner_r{
	width: 300px;
}
	
/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 36px;
}
	.mobih2_txt{
font-size: 27px;	
	}
	
/* 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 32px;
}
	
	
/* 1280px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 50px;

}

.jinro_box, .chiro_box{
border-radius: 150px;
padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 30px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 80px;
}



.jinro_box h2 span, .chiro_box h2 span {
font-size: 40px;
}

#culgha_box strong{
font-size: 30px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 120px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 150px;

}

.hart_icon_container {
top: 60px;
    right: 25%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
		
.heart img{
	width:25px;
	}	

	

}
	
/*태블릿 가로 : 769px-1023px*/
@media all and (min-width:768px) and (max-width:1023px) {
	/* 요청하신 클래스 추가 (-2px) */
	.clarum_card_txt {
		font-size: 21px;
	}
	.allview {
		font-size: 22px;
	}

	.slidetxt_box h1 {
 		 font-size: 48px;
	}
	.slidetxt_box h2{
		font-size: 32px;
	}
	#m_sliderbox {
  		height:520px;
	}
	.slidetxt_box p {
  		font-size: 25px;
	}
	.slidetxt_box {
  padding: 30px 10px 70px 40px;
	}	
	.page-number{
		font-size: 16px;
		 bottom: 25px;
	}
 /* 소장 */
	#sojang_banner{
		padding: 34px;
	}
	
	.sojang_banner_l h1{
		font-size: 28px;
	}

	.sojang_banner_l p{
		font-size: 25px;
	}
	.sojang_banner_r {
    width: 150px;
	}
	
/* 장내검사 슬라이드 */	
	.gumsa_banner{
		padding: 34px;
		height: 200px;
	}
	.gumsa_banner_l h1{
		font-size: 28px;
	}
	.gumsa_banner_l p{
		font-size: 25px;
	}	
	.gumsa_banner_r{
		width: 200px;
	}
	
/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 37px;
}
	.mobih2_txt{
font-size: 25px;	
	}

/* 1023px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 29px;
}
	
.video2_sumtxt h4{
font-size: 24px;
}

.video2_li p {
	font-size: 21px;
}

	
/* 1023px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 35px;

}

.jinro_box, .chiro_box{
border-radius: 80px;
        padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 25px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 58px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 25px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 100px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 120px;

}

.hart_icon_container {
top: 60px;
    right: 17%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
	
	
.heart img{
	width:30px;
	}
		

	
	

}
	
/*모바일 가로 & 태블릿 세로 : 480px-767px*/
@media all and (min-width:480px) and (max-width:767px) {
	/* 요청하신 클래스 추가 (-2px) */
	.clarum_card_txt {
		font-size: 19px;
	}
	.allview {
		font-size: 20px;
	}

	.slidetxt_box h1 {
 		 font-size: 40px;
	}
	.slidetxt_box h2{
		font-size: 25px;
	}
	#m_sliderbox {
  		height:500px;
	}	
	.slidetxt_box p {
  		font-size: 20px;
	}
	.slidetxt_box {
  padding: 30px 10px 45px 35px;
	}	
	
 #m_sliderbox {
    height: 420px;
    aspect-ratio: 1/1;
  }
	
 /* 소장 */
	#sojang_banner{
	 padding: 34px;
	}

  .sojang_banner_l h1 {
    font-size:  25px;
  }
  .sojang_banner_l p {
   font-size: 22px;
  }	
  .sojang_banner_r {
    width: 120px;
  }

	

/* 장내검사 슬라이드 */	
 .gumsa_banner {
 	 height: 180px;
	 padding: 34px;
  }
	.gumsa_banner_l h1{
		font-size:  25px;
	}
	.gumsa_banner_l p{
		font-size: 22px;
	}		
	
  .gumsa_banner_r {
  	width: 180px;
  }		
	
	
	/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 30px;
}
	.mobih2_txt{
font-size: 22px;	
	}	
	
/* 767px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 26px;
}
	
.video2_sumtxt h4{
font-size: 22px;
}

.video2_li p {
	font-size: 19px;
}


	
/* 767px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 30px;

}

.jinro_box, .chiro_box{
border-radius: 75px;
padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 17px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 45px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 12px;
}

.dabong_icon{
top: 100px;
left: 10%;
}

.dabong_icon img{
width: 70px;
}

.dabong_icon2 {
top: 105px;
    right: 6%;
}

.dabong_icon2  img{
width: 70px;

}

.hart_icon_container {
top: 60px;
    right: 20%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	
	
.heart img{
	width:27px;
	}

/* 767px 전국 */	
	.map-container .maptxt{
font-size: 32px;
}

.map-container .maptxt2{
font-size: 24px;
}	
	


}	
	


/*모바일 중형 : 377px-479px */
@media all and (min-width:377px) and (max-width: 479px) {
	/* 요청하신 클래스 추가 (-2px) */
	.clarum_card_txt {
		font-size: 17px;
	}
	.allview {
		font-size: 18px;
	}

	.slidetxt_box h1 {
 		 font-size: 35px;
	}
	.slidetxt_box h2{
		font-size: 20px;
	}
	.slidetxt_box p {
  		font-size: 15px;
	}
	#m_sliderbox {
  		height:390px;
	}
	.slidetxt_box {
  padding: 30px 10px 55px 30px;
}	
	.page-number{
		font-size: 13px;
		 bottom: 20px;
	}
	
	
 /* 소장 */
	#sojang_banner{
	padding: 25px;
	}	
	
/* 소장 이미지 */	
  .sojang_banner_r {
    width: 90px;
  }
	
  .sojang_banner_l h1 {
   font-size: 22px;
  }
  .sojang_banner_l p {
    font-size: 20px;
  }	
	

	
/* 장내검사 슬라이드 */	

 .gumsa_banner {
 	 padding: 25px;
	 height: 150px;
  }
	.gumsa_banner_l h1{
		font-size: 22px;
	}
	.gumsa_banner_l p{
	font-size: 20px;
	}		
	
  .gumsa_banner_r {
  width:130px
  }	
	
	/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 23px;
}
	.mobih2_txt{
font-size: 17px;	
	}	
		
/* 479px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 23px;
}
	
.video2_sumtxt h4{
font-size: 20px;
}

.video2_li p {
	font-size: 17px;
}
	
	
/* 479px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 30px;

}

.jinro_box, .chiro_box{
border-radius: 70px;
	padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 17px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 45px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 12px;
}

.dabong_icon{
top: 50px;
left: 10%;
}

.dabong_icon img{
width: 70px;
}

.dabong_icon2 {
top: 85px;
    right: 6%;
}

.dabong_icon2  img{
width: 70px;

}

.hart_icon_container {
top: 60px;
    right: 25%;
}

.flex_container{
width: 100%;
padding-top: 30px

}		
	
.heart img{
	width:25px;
	}
	
	
		
/* 479px 전국*/
	
.map-container .maptxt strong{
font-size: 32px;
}
.map-container .maptxt{ 
font-size: 29px;
}
	
	
.map-container .maptxt2{
font-size: 20px;
}
	
.map_nogiimg{
        top: 185px;
        left: 87px;
}


}
	
	
/* 모바일 소형 : 200px-376px */
@media all and (min-width:200px) and (max-width: 376px) {	
	/* 요청하신 클래스 추가 (기준 사이즈인 15px / 16px 적용) */
	.clarum_card_txt {
		font-size: 15px;
	}
	.allview {
		font-size: 16px;
	}

	.slidetxt_box h1 {
 		 font-size: 30px;
	}
	.slidetxt_box h2{
		font-size: 17px;
	}

	.slidetxt_box p {
  		font-size: 15px;
	}
	#m_sliderbox {
  		height:370px;
	}
	.slidetxt_box {
  padding: 30px 10px 50px 30px;
}	
	
	.page-number{
		font-size: 10px;
		 bottom: 20px;
	}
	
 /* 소장 */
	#sojang_banner{
		padding: 25px;
	}
	
  .sojang_banner_l h1 {
    font-size: 18px;
  }
  .sojang_banner_l p {
    font-size: 15px;
  }
	
/* 소장 이미지 */	
  .sojang_banner_r {
    width: 90px;
  }
  
	
/* 장내검사 슬라이드 */	
 .gumsa_banner {
  	padding: 25px;
	height: 140px
  }
	.gumsa_banner_l h1{
   font-size: 18px;
	}
	.gumsa_banner_l p{
	 font-size: 15px;
	}		
	
  .gumsa_banner_r {
     width: 130px;
  }	
	
	
/* 큰 글자 작은 글자 */	
.mobih1_txt h1{
font-size: 25px;
}
	.mobih2_txt{
font-size: 16px;	
	}
	
/* 376px 영상 후기 */	
	
.mobih1_txt2 h1{
font-size: 22px;
}	
	
.video2_sumtxt h4{
font-size: 18px;
}

.video2_li p {
	font-size: 15px;
}

	
/* 376px 치료 만족도 */	

#culgha_box {
padding: 120px 20px 20px;
}

#culgha_box h1{
font-size: 30px;

}

.jinro_box, .chiro_box{
border-radius: 65px;
padding: 30px 5px;
}

.jinro_box p, .chiro_box p{
font-size: 17px;
}


.jinro_box h2 span.count, .chiro_box h2 span.count{
font-size: 45px;
}



.jinro_box h2 span, .chiro_box h2 span {
    font-size: 30px;
}

#culgha_box strong{
font-size: 12px;
}

.dabong_icon{
top: 50px;
left: 10%;
}

.dabong_icon img{
width: 70px;
}

.dabong_icon2 {
top: 85px;
    right: 6%;
}

.dabong_icon2  img{
width: 70px;

}

.hart_icon_container {
top: 60px;
    right: 25%;
}

.flex_container{
width: 100%;
padding-top: 30px

}	

.heart img{
	width:20px;
	}
	
	
/* 376px 전국 */
	
.map-container{
    height: 500px;
}

.map-container .maptxt{
font-size: 20px;}

.map-container .maptxt2{
font-size: 18px;
}
	
	.map-container .maptxt strong {
		font-size: 30px;
	}

.map_nogiimg {
	top: 120px;
	left: 54%;
    width: 230px;
    transform: translate(-50%);
}

.animation-svg {
top: -45px;
    left: -15px;
}


}


/* 상단 */

.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;
}
	
.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; }





/* 자가진단 테스트*/
/* 자가진단 테스트 */
.byuntest_outer {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  margin: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.byuntest_track {
  display: flex;
  width: 100%;
}

.byuntest_banner {
  flex: 0 0 100%;
  display: block;
  box-sizing: border-box;
  padding: 30px;
  background: #ebf3ff;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

/* 텍스트와 아이콘을 가로 배치하기 위한 flex 설정 */
.byuntest_body {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 세로 중앙 정렬 */
  gap: 15px; /* 텍스트와 이미지 사이의 최소 여백 */
}

/* 텍스트 영역이 남은 공간을 다 차지하도록 설정 */
.byuntest_text {
  flex: 1;
  min-width: 0; /* 글자가 영역을 벗어나서 깨지는 현상 방지 */
}

.byuntest_label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #8b93a7;
  margin-bottom: 14px;
}

.byuntest_title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  color: #2f5fe0;
}

.byuntest_sub {
  margin: 0;
  font-size: 15px;
  color: #8b93a7;
  font-weight: 600;
}

/* 이미지 영역 크기 제한 및 비율 유지 */
.byuntest_icon {
  flex: 0 0 70px; /* 화면 크기에 관계없이 적정 크기 유지 (원하는 크기로 조절 가능) */
  display: flex;
  justify-content: center;
  align-items: center;
}

.byuntest_icon img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 버튼 스타일 */
.byuntest_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);
}

/* 인디케이터 도트 */
.byuntest_dots {
  position: absolute;
  top: 26px;
  right: 24px;
  z-index: 5;
  display: flex;
  gap: 6px;
}

.byuntest_dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(47, 95, 224, 0.25);
}

.byuntest_dot.active {
  background: #2f5fe0;
}