.lead-area .textA01 {
  font-size: 17px;
  width: 100%;
  margin: 15px auto 10px auto;
  color: #786d6d;
  word-break: keep-all;
  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-family: "Noto Sans KR", sans-serif;
  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 * 6) / 7);
  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(7n + 1) {
  margin-left: 0px;
}

/* 인증별 검색, 제품별 검색 */
#certiSearchForm {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 35px 0;
}

#certiSearchForm .text .title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  height: auto;
}

#certiSearchForm .text .desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
  margin-top: 5px;
  margin-bottom: 10px;
}

.filter_box_wrap {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.filter_box_wrap .search_btn {
  font-size: 18px;
  font-weight: 500;
  background-color: #cf6464;
  padding: 32px 37px;
  color: #fff;
  border: none;
  outline: none;
}

.filter_box {
  border: 1px solid #bbbbbb;
  border-top: 4px solid #db0008;
  padding: 20px;
}

.certi_search {
  width: 54.16%;
}

.product_search {
  width: 44.58%;
}

.certi_filter_box {
  display: flex;
  flex-wrap: wrap;
  row-gap: 13px;
  column-gap: 35px;
}

.certi_filter_box > label {
  display: flex;
  gap: 6px;
  align-items: center;
}

.certi_filter_box input[type="checkbox"] {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  overflow: visible;
  border: 2px solid #bbb;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
}

.certi_filter_box input[type="checkbox"]:checked {
  border: 3px solid #db0008;
}

.certi_filter_box input[type="checkbox"]:checked::before {
  position: absolute;
  content: "";
  left: 5px;
  top: 0;
  width: 4px;
  height: 9px;
  border: solid #db0008;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.certi_filter_box > label span {
  color: #666;
}

.product_filter_box {
  display: flex;
  gap: 10px;
  padding: 33px 20px;
}

.product_filter_box .select_box {
  position: relative;
  width: 180px;
  height: 30px;
  user-select: none;
  color: #666;
}

.product_filter_box .select_box .selected {
  display: block;
  width: 100%;
  color: #666;
  text-align: left;
  border: 1px solid #bbb;
  padding: 5px 10px;
  cursor: pointer;
  background-color: #fff;
}

.product_filter_box .select_box.active .selected {
  border-color: #cf6464;
}

.product_filter_box .select_box .selected::before {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #bbb;
  position: absolute;
  right: 30px;
  top: 0;
}

.product_filter_box .select_box .selected::after {
  position: absolute;
  content: "";
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  transform: rotate(45deg) translate(-50%, -50%);
  transform-origin: center;
}

.product_filter_box .select_box.actove .selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.product_filter_box .select_box .options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #bbb;
  margin-top: 2px;
  display: none;
  z-index: 10;
  box-sizing: border-box;
}

.product_filter_box .select_box.active .options {
  display: block;
  border-radius: 0;
}

.product_filter_box .select_box .options li {
  font-size: 14px;
  padding: 8px 10px;
  cursor: pointer;
}
.product_filter_box .select_box .options li:hover {
  background: #ee9595;
  color: #fff;
}

.table-blockA01 {
  overflow-x: scroll;
  padding-bottom: 5px;
}

table.tableB01 {
  width: 100%;
  min-width: 850px;
  margin: 15px auto 0 auto;
  border-collapse: collapse;
  /* border-top: 2px solid #db0008; */
}

table.tableB01 caption {
  text-align: left;
  caption-side: top;
  font-size: 14px;
  padding-bottom: 14px;
}

table.tableB01 caption span {
  color: #db0008;
}

table.tableB01 th,
table.tableB01 td {
  padding: 10px 15px;
  border: 1px solid #bbb;
  vertical-align: middle;
  text-align: center;
}

table.tableB01 th {
  font-size: 15px;
  font-weight: 400;
  background: #f5f5f5;
  /* padding: 16px 15px; */
}

table.tableB01 td {
  font-size: 14px;
  font-weight: 400;
  background: #fff;
}

table.tableB01 th,
table.tableB01 td:first-child {
  font-size: 15px;
  font-weight: 400;
  background: #f5f5f5;
}

/* 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;
  }
}
