

/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) { 
.COM_tab_JLS .contents-container .sub_stit{width: 100%; float: left; font-size:calc(var(--tit-md-size) * 1); font-weight: 700; line-height: 130%; margin-bottom: 40px; }


.COM_tab_JLS .contents-container .tab_area{width: 100%; float: left; overflow: hidden; }
.COM_tab_JLS .tab_area .tabs { width: 100%; float: left;display: flex; flex-direction: row;  grid-gap: 20px;  margin-bottom: 50PX; display: grid;   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); display: flex;  justify-content: center;  align-items: center; flex-wrap: wrap;}

.COM_tab_JLS.JLS_3010_0 .tab_area .tabs { width: 100%; float: left;display: flex; flex-direction: row;  grid-gap: 20px;  margin-bottom: 50PX!important; display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 10px ; }

.COM_tab_JLS .tab_area .tabs .tab { font-weight: 500;font-size:calc(var(--tx-sm-size) * 1.1);  max-width:350px; min-width: 180PX; float: left;  background: #F7F7F7; padding: 17PX 30PX; border-radius: 50PX; display: flex;  justify-content: center;  align-items: center; cursor: pointer

} 



.COM_tab_JLS .tab_area .tabs .tab P{
width: auto; float: left;  

}  



/* 화살표 버튼 */
.arrow {
position: absolute;
top: 50%;
transform: translateY(-80%);
width: 24px;
height: 24px;
background: rgba(0,0,0,0.3);
color: #fff;
border: none;
border-radius: 50%;
z-index: 3;
cursor: pointer;
font-size: 14px;
line-height: 24px; display: none
}
.arrow.left { left: 5px; }
.arrow.right { right: 5px; }


}
/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}
/**** 모바일 ****/
@media only all and (max-width:767px) {
.COM_tab_JLS .contents-container .sub_stit{width: 100%; float: left; font-size:calc(var(--tit-md-size) * 1); font-weight: 700; line-height: 130%; margin-bottom: 20px; }

.COM_tab_JLS .contents-container .tab_area{ width: 100%; float: left; position: relative; overflow: visible;}

/* 탭 영역 - dep3_tab 스타일 (스크롤만, 화살표 없음) */
.COM_tab_JLS .tab_area .tabs {
  width: 100%;
  float: left;
  display: flex;
  flex-direction: row;
  grid-gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding: 0px 20px 10px 20px;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  /* 스크롤바 표시 */
  scrollbar-width: thin;
  scrollbar-color: var(--dynamic-bg-color, var(--primary)) #e5e7eb;
}

/* 스크롤바 스타일 (웹킷) */
.COM_tab_JLS .tab_area .tabs::-webkit-scrollbar {
  height: 4px;
  display: block;
}

.COM_tab_JLS .tab_area .tabs::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 2px;
}

.COM_tab_JLS .tab_area .tabs::-webkit-scrollbar-thumb {
  background: var(--dynamic-bg-color, var(--primary));
  border-radius: 2px;
}

.COM_tab_JLS .tab_area .tabs .tab {
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  flex-shrink: 0;
  float: left;
  background: #F7F7F7;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  white-space: nowrap !important;
}

.COM_tab_JLS .tab_area .tabs .tab p,
.COM_tab_JLS .tab_area .tabs .tab span,
.COM_tab_JLS .tab_area .tabs .tab .tab-label {
  width: auto !important;
  white-space: nowrap !important;
  display: inline-block;
  word-break: keep-all;
}

/* 마스크/화살표 효과 제거 */
.COM_tab_JLS .scroll-mask {position: relative; padding: 0px 0px}
.COM_tab_JLS .scroll-mask::before,
.COM_tab_JLS .scroll-mask::after {
  display: none;
}

/* 화살표 버튼 숨김 */
.COM_tab_JLS .arrow {
  display: none !important;
}

}
/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/



/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) { 

.COM_tab_JLS .tab_area .tabs .tab p{
padding: 5px 0px;
cursor: pointer;

border-bottom: none;font-size:calc(var(--tit-mds-size) * 0.8); font-weight: 500!important; width: auto; float: left;white-space:nowrap;

}
.COM_tab_JLS .tab_area .tabs .tab.on{
background-color: var(--dynamic-bg-color, var(--primary)); color: #fff
}
.COM_tab_JLS .tab_area .tabs .tab.on p{

font-size:calc(var(--tit-mds-size) * 1);  font-weight: 500;
color: #FFF;  width: auto; float: left;
}
.COM_tab_JLS .tab-content { display: none;  padding: 0px 0PX; width: 100%; float: left }
.COM_tab_JLS .tab-content .grid_cont{width: 100%; float: left;display: flex;flex-direction: column;  }

}
/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}
/**** 모바일 ****/
@media only all and (max-width:767px) {

.COM_tab_JLS .tab_area .tabs .tab p,
.COM_tab_JLS .tab_area .tabs .tab span,
.COM_tab_JLS .tab_area .tabs .tab .tab-label {
  padding: 2px 0px;
  cursor: pointer;
  border: none;
  font-size: calc(var(--tit-mds-size) * 0.7);
  font-weight: 500;
  width: auto !important;
  white-space: nowrap !important;
  margin-top: 0;
  display: inline-block;
  word-break: keep-all;
}
.COM_tab_JLS .tab_area .tabs .tab.on{
  background-color: var(--dynamic-bg-color, var(--primary));
  color: #fff;
}
.COM_tab_JLS .tab_area .tabs .tab.on p,
.COM_tab_JLS .tab_area .tabs .tab.on span,
.COM_tab_JLS .tab_area .tabs .tab.on .tab-label {
  font-weight: 500;
  font-size: calc(var(--tit-mds-size) * 0.7);
  color: #fff;
  border: none;
  width: auto !important;
  position: relative;
  z-index: 2;
  white-space: nowrap !important;
  word-break: keep-all;
}
.COM_tab_JLS .tab-content { display: none;  background-color: #fafafa; padding: 10px 0px; border-radius: 6px;  }
}
/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/



.COM_tab_JLS .tab-content.active { display: block; }


/* 기본 포커스 링/하이라이트 제거 */
.tabs [role="tab"] {
outline: none;
-webkit-tap-highlight-color: transparent;
}
.tabs [role="tab"]:focus { outline: none; box-shadow: none; }
.tabs [role="tab"]::-moz-focus-inner { border: 0; }

/* 키보드 탐색일 때만 보이게 하려면 이 줄 유지/수정, 완전 숨기려면 아예 지우세요 */
.tabs [role="tab"]:focus-visible {
/* 포커스 보일 필요 없으면 다음 두 줄도 주석 처리 또는 삭제 */
outline: 0;
box-shadow: none;
}

/* 크롬의 :focus 표시를 강제로 숨김 (focus-visible 아닐 때) */
.tabs [role="tab"]:focus:not(:focus-visible){
outline: none !important;
box-shadow: none !important;
}

/* ===== 관리자 모드 스타일 (권한 8 이상) ===== */
/* 관리자 모드일 때 스크롤 방지 */
html:has(.tab_admin_mode),
body:has(.tab_admin_mode) {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* COM_tab_JLS 전체 너비 제한 */
.COM_tab_JLS {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

.COM_tab_JLS .tab_area {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden !important;
}

.COM_tab_JLS .tab-content {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: hidden !important;
}

.COM_tab_JLS .tab-content.tab_admin_mode {
  position: relative;
  border: 2px dashed #3b82f6;
  overflow: visible;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.COM_tab_JLS .tab-content.tab_admin_mode:hover {
  border-color: #2563eb;
  background-color: rgba(59, 130, 246, 0.03);
}

/* 탭 래퍼 - 탭 버튼과 설정 아이콘을 감싸는 컨테이너 */
.COM_tab_JLS .tab-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* 탭 아래 설정 아이콘 */
.COM_tab_JLS .tab_mix_icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #3b82f6;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.COM_tab_JLS .tab_mix_icon:hover {
  background: #2563eb;
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.5);
}

/* 모바일에서 관리자 패딩 조정 */
@media only all and (max-width:767px) {
  .COM_tab_JLS .tab-content.tab_admin_mode {
    padding: 15px;
  }

  .COM_tab_JLS .tab_mix_icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
    bottom: -18px;
  }
}



