

/* 구분 -----------------------------------*/
/**** 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: 10px; }


.COM_tab_JLS .contents-container .tab_area{ width: 100%; float: left; position: relative; overflow: hidden;}
.COM_tab_JLS .tab_area .tabs { display: flex; flex-direction: row;  grid-gap: 0px;  justify-content: space-between;   margin-bottom: 0px ; overflow-x: auto; padding: 0px 100px}

.scroll-hidden {
overflow-x: auto;
-webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
scrollbar-width: none; /* Firefox */
}

.scroll-hidden::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}
.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;  }
.COM_tab_JLS .tab_area .tabs { width: 100%; float: left;display: flex; flex-direction: row;  grid-gap: 20px;  margin-bottom: 30PX }
.COM_tab_JLS .tab_area .tabs .tab {
width: 100%; min-width: 180PX; float: left;  background: #F7F7F7; padding:15PX 20PX; 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;  
}  


.scroll-mask {position: relative; padding: 0px 0px}

/* 마스크 효과 */
.scroll-mask::before,
.scroll-mask::after {
content: '';
position: absolute;
top: 0;
width:50px;
height: 70px;
z-index: 2;
pointer-events: none;
}
.scroll-mask::before {
content: '';
position: absolute;
top: 0;
left: -1px;
width: 60px;

background: linear-gradient(to right, #fff 0px, #fff 25px, transparent 40px);
z-index: 9999;
pointer-events: none;
}

.scroll-mask::after {
content: '';
position: absolute;
top: 0;
right:-1px;
width: 40px;

background: linear-gradient(to left, #fff 0px, #fff 25px, transparent 40px);
z-index: 9999;
pointer-events: none;
}

/* 화살표 버튼 */
.arrow {
position: absolute;
top:25px;

width: 36px;
height: 36px;
background: rgba(0,0,0,0.5);
color: #fff;
border: none;
border-radius: 50%;
z-index: 9999999;
cursor: pointer;
font-size: 18px;
line-height: 36px;
display: flex;
align-items: center;
justify-content: center;
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.arrow:active {
background: rgba(0,0,0,0.7);
transform: scale(0.95);
}
.arrow.left { left: 5px; }
.arrow.right { right: 5px; }


}
/**** 모바일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{
padding: 2px 10px;
cursor: pointer;  border-top: 2px solid #eee;

border-bottom: 2px solid #eee; font-size:calc(var(--tit-mds-size) * 0.8); font-weight: 500;width: auto; float: left;white-space:nowrap; margin-top: -2px

}
.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-weight:500; font-size:calc(var(--tit-mds-size) * 0.8);
color: #fff; border-bottom: 2px solid var(--dynamic-bg-color, var(--primary)); width: auto; float: left; position: relative; z-index: 2
}
.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;
  }
}



