.fund-intro-body-box .tabs {
  display: flex;
  flex-direction: column;
}

.fund-intro-body-box .tabs .tab-labels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.fund-intro-body-box .tabs .tab-labels > label {
/*   padding: 0 10px; */
  height: 70px;
  font-size: 20px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  color: #bababa;
  font-weight: 600;
  font-size: var(--font-4xl);
  border-bottom: 2px solid #bababa;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.fund-intro-body-box .tabs .tab-labels label.active {
  color: var(--default-color);
  border-bottom: 2px solid var(--default-color);
}

.fund-intro-body-box .tab-content {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px 5px 5px 5px;
}
/* .tab-content:first-of-type {
  border-top: 3px solid #757575;
} */

/* <!--------- Tab-1 Start ----------> */
.fund-intro-body-box .tab-content .main-steps-box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  overflow: auto;
}

.step-items-box .step-items-head {
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  min-height: 40px;
  color: #fff;
  font-size: var(--font-l);
  font-weight: 600;
  border-radius: 50px 50px 10px;
  margin-bottom: 10px;
  text-wrap: nowrap;
}
.step-items-box:nth-child(2) .step-items-head {
  min-height: 40px;
}
.step-items-box:nth-child(3) .step-items-head {
  min-height: 40px;
}
.step-items-box:nth-child(4) .step-items-head {
  min-height: 40px;
}
.step-items-box:nth-child(5) .step-items-head {
  min-height: 40px;
}

.step-items-box .step-items-body-box {
  width: 100%;
  max-height: 410px;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  gap: 10px;
  padding-right: 0px;

  /* scrollbar-width: thin;
  scrollbar-color: #838486 rgba(131, 132, 134, 0.3); */  
}

.step-items-box .step-items-body-box .active{
	background: var(--point-color);
}

.step-items-box .step-items-body-box::-webkit-scrollbar {
  width: 8px;
}

.step-items-box .step-items-body-box::-webkit-scrollbar-thumb {
  background-color: #838486;
  border-radius: 10px;
}

.step-items-box .step-items-body-box::-webkit-scrollbar-track {
  background-color: rgba(131, 132, 134, 0.1);
  border-radius: 10px;
}

.step-items-body-box .step-items-body {
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  min-height: 60px;
  cursor: pointer;
  font-size: 18px;
}
.step-items-body-box .step-items-body:hover {
  background: var(--point-color);
}
/* <!--------- Tab-1 End ----------> */

/* <!--------- Tab-2 Start ----------> */
.tab-2-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-2-container .tab-2-box {
  padding: 20px;

  display: flex;
  justify-content: center; /* PC 가운데 */

  gap: 20px;

  width: 100%;
  min-width: max-content; /* 모바일에서는 스크롤 유지 */
  box-sizing: border-box;
}

.tab-2-container button {
  flex: 0 0 auto;

  min-width: 128px;
  min-height: 60px;

  background-color: transparent;
  border: 1px solid #bababa;
  border-radius: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: var(--font-l);
  font-weight: 500;
  cursor: pointer;

  white-space: nowrap;
}

.tab-2-container button:hover {
  background: var(--primary-color);
  color: #fff;
}

.tab-2-container .btn-active {
  background-color: var(--primary-color);
  color: #fff;
}
/* <!--------- Tab-2 End ----------> */

.notice-more-btn-box {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.notice-more-btn-box button {
  border: 1px solid #e6e6e6;
  background: var(--secondary-color);
  color: #4d4d4d;
  border-radius: 10px;
  padding: 10px;
  min-width: 130px;
  cursor: pointer;
  text-wrap: nowrap;
}
.notice-more-btn-box button:hover {
  border: 1px solid #8b8a8a;
  color: #111111;
}

@media (max-width: 1024px) {
  .tab-labels > label {
    font-size: 17px;
  }
  .main-table-box tbody tr td {
    max-width: 500px;
  }

  .tab-2-container .tab-2-box {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .tab-labels > label {
    padding: 10px 5px;
    font-size: 12px;
  }

  .main-table-box tbody tr td {
    max-width: 200px;
  }

  .notice-tab-2-container {
    grid-template-columns: 47% 47%;
    gap: 20px;
  }
  .notice-tab-2-box {
    min-height: 150px;
  }

  .tab-2-container .tab-2-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*2026-05-18 공지사항 탭추가*/
.custom-category-tabs {
  width: 100%;
  background: #fff;
  margin-top: 50px;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.custom-category-tabs .tab-labels {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  border-bottom: 2px solid #bababa; 
}

.custom-category-tabs .tab-labels > label {
  flex: 1;                       
  height: 70px;
  cursor: pointer;
  color: #bababa;                 
  font-weight: 600;
  font-size: var(--font-4xl);     
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px; 
  transition: all 0.2s ease;
}

.custom-category-tabs .tab-labels label.active {
  color: var(--default-color);                  
  border-bottom: 2px solid var(--default-color); 
  font-weight: bold;
}