.lead-area .textA01 {
  font-size: 17px;
  width: 100%;
  margin: 15px auto 10px auto;
  color: #786d6d;
  word-break: break-word;
  line-height: 22px;
}

#certificationForm table {
  width: 100%;
  margin: 0 auto;
}

#certificationForm table td {
  position: relative;
}

.certi_text {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  padding-right: 50px;
  padding-left: 10px;
  box-sizing: border-box;
  border: 1px solid #e1e1e1;
  font-size: 15px;
  font-weight: 300;
}

/* 인증현황 카테고리 탭메뉴 */
.certi_category {
  width: 100%;
  margin: 26px 0 11px;
}

.certi_category ul {
  display: flex;
  flex-wrap: wrap;
}

.certi_category ul li {
  width: calc((100% - 3px * 5) / 6);
  color: #333;
  text-align: center;
  font-size: 1rem;
  border: 1px solid #ccc;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 3px;
  margin-bottom: 3px;
  padding: 17px 0;
  transition: all 0.3s ease;
}

.certi_category ul li:hover,
.certi_category ul li.active {
  background-color: #ccc; /* 배경색 */
  font-weight: bold; /* 글꼴 굵기 */
  letter-spacing: -0.023em;
}

.certi_category ul li:nth-child(6n + 1) {
  margin-left: 0px;
}

.table-blockA01 {
  overflow-x: scroll;
  padding-bottom: 5px;
}

table.tableB01 {
  width: 100%;
  min-width: 850px;
  margin: 15px auto 0 auto;
  border-collapse: collapse;
}

table.tableB01 th {
  text-align: center;
}

table.tableB01 th,
table.tableB01 td {
  padding: 10px 15px;
  border: 1px solid #bbb;
  vertical-align: middle;
}

table.tableB01 th,
table.tableB01 td:first-child {
  font-size: 15px;
  font-weight: 400;
  background: #f5f5f5;
}

table.tableB01 td {
  font-size: 14px;
  font-weight: 400;
  background: #fff;
}

table.tableB01 tr td:not(:first-child) {
  text-align: center;
}

td img.certi_check,
td img.certi_check_X {
  height: 12px;
}

/* 배지의 기본 스타일 */
.badge {
  display: inline-block;
  padding: 0.5em 0.8em;
  font-size: 12px;
  font-weight: bold;
  color: white;
  background-color: #007bff; /* 기본 배경색 */
  border-radius: 999px; /* 둥근 모양 */
}

/* 배지 크기별 클래스 */
.badge-sm {
  font-size: 10px;
  padding: 0.3em 0.5em;
}

.badge-lg {
  font-size: 14px;
  padding: 0.7em 1em;
}

/* 배지 색상 커스터마이징 */
.badge-success {
  background-color: #28a745;
}

.badge-danger {
  background-color: #dc3545;
}

.badge-warning {
  background-color: #ffc107;
  color: black;
}

.badge-info {
  background-color: #17a2b8;
}

@media screen and (max-width: 1025px) {
  .lead-area .textA01 {
    font-size: 15px;
    line-height: 20px;
  }

  .certi_category ul li {
    width: calc((100% - 3px * 3) / 4);
  }

  .certi_category ul li:nth-child(6n + 1) {
    margin-left: 3px;
  }

  .certi_category ul li:nth-child(4n + 1) {
    margin-left: 0;
  }

  table.tableB01 th,
  table.tableB01 td:first-child {
    font-size: 13px;
    font-weight: 400;
  }

  table.tableB01 th,
  table.tableB01 td {
    padding: 10px;
  }
}

@media screen and (max-width: 768px) {
  .certi_category ul li {
    width: calc((100% - 10px * 2) / 3);
    margin-left: 10px;
  }

  .certi_category ul li:nth-child(6n + 1) {
    margin-left: 10px;
  }

  .certi_category ul li:nth-child(4n + 1) {
    margin-left: 10px;
  }

  .certi_category ul li:nth-child(3n + 1) {
    margin-left: 0;
  }
}
