.top-text-banner {
  width: 100%;
  background: #d0fd6b;
  padding: 10px 0;
  text-align: center;
}

.top-text-banner-content {
  font-size: 14px;
  color: #333;
  font-weight: 900;
}

.top-text-banner-content .normal {
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

.text-color-loop {
  color: #333;
  animation: textColorCycle 0.7s ease-in-out infinite alternate;
}

@keyframes textColorCycle {
  from {
    color: #333;
  }

  to {
    color: #c9c9c9;
  }
}

.chart_wrap .no-data {
  display: block;
  text-align: center;
  font-size: 10px;
  color: #999;
  justify-content: center;
}

#categorySelect option.coming-soon {
  color: #999;
  background-color: #f5f5f5;
}

.keyword_wrap {
  margin-bottom: 20px;
}

.step_content .step_content_item {
  display: none;
}

.step_content .step_content_item.active {
  display: block;
}

/* step04 상품기획서 영역 드래그 방지 */
#step04_contents {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.keyword_search_tabs_wrap .keywordBtn:not(.current) {
  cursor: pointer;
}

.landing_wrap .space-bottom-50 {
  margin-bottom: 50px;
}

.form_shape_select .row {
  display: flex;
  margin-bottom: 0.5em;
  align-items: center;
  justify-content: center;
}

/* .dropdown_container.active .dropdown_select_ul {
  top: 100%;
  display: flex;
  animation-fill-mode: both;
  animation-duration: 0.3s;
  animation-name: fadeIn;
}

.active .dropdown_select:before {
  transform: none;
  margin-top: 0;
}

.dropdown_container.active .dropdown_select:before {
  transform: rotate(180deg);
  margin-top: -8px;
}

.dropdown_select_ul {
  display: none;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  z-index: 1;
  position: absolute;
  width: 100%;
  max-height: 204px;
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 4px;
}
.dropdown_select_ul {
  border: 1px solid #adadad;
  background: #ffffff;
  color: #313131;
  border-radius: 26px;
  padding: 8px;
  margin-top: 6px;
}

.dropdown_select_ul {
  border: 1px solid #adadad;
  background: #ffffff;
  color: #313131;
  border-radius: 26px;
  padding: 8px;
  margin-top: 6px;
}

/* 드롭다운 컨테이너가 active 클래스를 가질 때만 드롭다운 목록을 표시합니다. */
.dropdown_container.active .dropdown_select_ul {
  top: 100%;
  display: flex;
  animation-fill-mode: both;
  animation-duration: 0.3s;
  animation-name: fadeIn;
}

/* 드롭다운 컨테이너가 active 클래스를 가지지 않으면 드롭다운 목록을 숨깁니다. */
.dropdown_container:not(.active) .dropdown_select_ul {
  display: none;
}

.dropdown_container:not(.active) .dropdown_select:before {
  position: absolute;
  content: "";
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  background: url(../images/common/ico_select.png) no-repeat center center;
  margin-top: -15px;
  transition: 0.1s ease;
  z-index: 1;
}

#relatedBox .current {
  background-color: #f1f1f1;
  color: #999;
  /* 임시 스타일 */
}

/* 키보드 탐색으로 선택된 검색 결과 하이라이트 */
#relatedBox .related_item.highlighted {
  background: #f8f9fa;
}

/* 비활성화된 키워드 (이미 선택됨) - 건너뛰기 */
#relatedBox .related_item.disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

#relatedBox {
  max-height: 300px;
  overflow-y: auto;
}

.related_main_box {
  max-height: 230px;
  overflow-y: auto;
  border-radius: 0 0 20px 20px;
  /* 아래쪽 둥근 모서리 */
  padding: 4px;
  box-sizing: border-box;
}

.related_main_box::-webkit-scrollbar {
  width: 6px;
}

.related_main_box::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
  /* 둥근 모서리 영역 피하기 */
}

.related_main_box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.keyword_item ul::-webkit-scrollbar {
  width: 6px;
}

.keyword_item ul::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.pop_inner .scroll_box::-webkit-scrollbar {
  width: 6px;
}

.pop_inner .scroll_box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.related_box::-webkit-scrollbar {
  width: 6px;
}

.related_box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.related_box::-webkit-scrollbar-track {
  background: transparent;
  margin-bottom: 20px 0;
  /*둥근 모서리 영역 피하기 */
}

.related_box::-webkit-scrollbar-button:vertical:end:decrement {
  display: block;
  width: 25px;
}

.dropdown_select_ul::-webkit-scrollbar {
  width: 10px;
}

.dropdown_select_ul::-webkit-scrollbar-thumb {
  background: #ccc;
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 5px;
}

.dropdown_select_ul::-webkit-scrollbar-track {
  background: transparent;
  margin: 20px 0;
  /*둥근 모서리 영역 피하기 */
}

.search_main_box.search {
  border-color: rgba(0, 0, 0, 0.4);
  border-radius: 30px 30px 0 0;
  border-bottom: 1px solid #fff !important;
}

.related_main_item span {
  color: #96d404;
}

.keyword_group .keyword_item {
  min-height: 50px;
}

/* PDF 필수 팝업 스타일 */
#layer_pdf_required .pop_inner {
  max-width: 400px;
  width: 90%;
}

#layer_pdf_required .message_wrap {
  text-align: center;
  padding: 20px 0;
}

#layer_pdf_required .message_wrap h5 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

#layer_pdf_required .message_wrap p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* 상담 신청 팝업 스타일 */
#layer_request .fx_form_item input[type="text"],
#layer_request .fx_form_item input[type="tel"],
#layer_request .fx_form_item input[type="email"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  min-width: 200px;
  /* 최소 너비 설정 */
}

.fx_form_wrap .com_head.line_b {
  padding-bottom: 10px !important;
  margin-bottom: 0px !important;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.search_box.expanded {
  border-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid #fff !important;
}

.btn_special.disabled {
  pointer-events: none;
  cursor: default;
  background: #e8ffb4;
  color: #9b9b9b;
}

.btn_fold.gray {
  background: none;
  /* 기존 배경 제거 */
  padding-right: 22px;
  color: #898989;
  font-size: 14px;
  width: max-content;
  position: relative;
  /* ::after 배치를 위해 필요 */
}

.btn_fold.gray::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 14px;
  height: 8px;
  background-color: #898989;
  /* 원하는 색상 */
  -webkit-mask: url(../images/common/ico_fold.svg) no-repeat center;
  mask: url(../images/common/ico_fold.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.btn_fold.gray:hover {
  color: #a3a3a3;
}

.btn_expand.gray {
  background: none;
  /* 기존 배경 제거 */
  padding-right: 22px;
  color: #898989;
  font-size: 14px;
  width: max-content;
  position: relative;
}

.btn_expand.gray::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 14px;
  height: 8px;
  background-color: #898989;
  /* 원하는 색상 */
  -webkit-mask: url(../images/common/ico_expand.svg) no-repeat center;
  mask: url(../images/common/ico_expand.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.btn_expand.gray:hover {
  color: #a3a3a3;
}

.com_head.line_b .scription {
  /* display: block; */
  display: flex;

  font-size: 12px;
  color: #666;
}

.fx_form_wrap .com_head {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.no-arrow::-webkit-scrollbar {
  width: 10px;
}

.no-arrow::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.no-arrow::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 10px;
}

.no-arrow::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* ✅ 화살표 버튼 제거 */
.no-arrow::-webkit-scrollbar-button {
  display: none;
}

.keyword_con_wrap .keyword_list ul li label {
  cursor: pointer !important;
}

.keyword_item ul.dp_ellipsis::after {
  display: none !important;
}

/* 슬라이더 컨테이너 */
.range-slider-container {
  width: 100px;
  max-width: 400px;
  margin: 0px auto;
  padding: 0 10px 0 0;
}

/* 라벨 */
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0px;
  font-size: 10px;
  color: #666;
  text-align: center;
}

.label-left,
.label-right {
  line-height: 1.4;
}

/* 슬라이더 래퍼 */
.range-slider-wrap {
  position: relative;
  padding: 0;
  width: 100%;
  margin: 0 auto;
}

/* range input 기본 스타일 초기화 */
.custom-range-slider,
.custom-range-slider:disabled {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4.5px;
  background: rgba(112, 115, 124, 0.16);
  outline: none;
  position: relative;
  margin: 0 auto;
  cursor: pointer;
}

/* 슬라이더 트랙 (Firefox) */
.custom-range-slider::-moz-range-track {
  height: 4px;
  background: #4a90e2;
  border-radius: 2px;
}

/* 슬라이더 썸 (Chrome, Safari, Edge) */
.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 15px;
  background: #96d404;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transform: none;
}

.custom-range-slider.no-data,
.custom-range-slider.no-data:disabled {
  background: rgba(112, 115, 124, 0.16);
}

.custom-range-slider.no-data::-webkit-slider-thumb {
  display: none;
}

.custom-range-slider.no-data::-moz-range-thumb {
  display: none;
}

/* 슬라이더 썸 (Firefox) */
.custom-range-slider::-moz-range-thumb {
  width: 6px;
  height: 24px;
  background: #96d404;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  cursor: pointer;
  transform: none;
}

/* 슬라이더 썸 hover 효과 */
.custom-range-slider::-webkit-slider-thumb:hover {
  background: #96d404;
  transform: scale(1.1);
}

.custom-range-slider::-moz-range-thumb:hover {
  background: #96d404;
  transform: scale(1.1);
}

/* percentage가 0일 때 슬라이더 썸 회색 처리 */
.custom-range-slider.zero-value::-webkit-slider-thumb {
  background: #d0d0d0;
  /* 중앙 배치: 50% 위치로 강제 이동 */
  position: relative;
  left: calc(50% - 2.5px);
  /* thumb 너비(5px)의 절반만큼 왼쪽으로 */
}

.custom-range-slider.zero-value::-moz-range-thumb {
  background: #d0d0d0;
  position: relative;
  left: calc(50% - 2.5px);
}

.custom-range-slider.zero-value:disabled::-webkit-slider-thumb {
  background: #d0d0d0;
  position: relative;
  left: calc(50% - 2.5px);
}

.custom-range-slider.zero-value:disabled::-moz-range-thumb {
  background: #d0d0d0;
  position: relative;
  left: calc(50% - 2.5px);
}

/* 슬라이더 disabled 스타일 (일반과 동일하게) */
.custom-range-slider:disabled {
  opacity: 1;
  cursor: pointer;
}

.custom-range-slider:disabled::-webkit-slider-thumb {
  background: #96d404;
  border: 0;
  cursor: pointer;
  transform: none;
}

.custom-range-slider:disabled::-moz-range-thumb {
  background: #96d404;
  border: 0;
  cursor: pointer;
  transform: none;
}

/* 값 표시 (선택사항) */
.range-value {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  display: none;
  /* 필요시 표시 */
}

.landing_wrap .keyword_item {}

/* 기본: relative */
.landing_wrap .footer {
  position: relative;
  margin-top: 60px;
}

.section_content_item {}

/* 큰 화면에서만 fixed */
@media (min-height: 1600px) {
  .landing_wrap .footer {
    position: fixed;
    bottom: 0;
    margin-top: 0;
  }

  .landing_wrap {
    padding-bottom: 180px;
  }
}

.terms-content {
  line-height: 1.8;
  color: #333;
}

.terms-header {
  margin-top: 40px;
  text-align: center;
  margin-bottom: 3rem;
}

.terms-header-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.terms-content h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.terms-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #34495e;
}

.terms-content p {
  margin-bottom: 1rem;
}

.terms-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
}

/* 중첩된 ol - 1), 2), 3) 형식 */
.terms-content ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  list-style-type: none;
  counter-reset: item;
  padding-left: 2rem;
}

.terms-content ol ol li {
  counter-increment: item;
  position: relative;
  padding-left: 0.5rem;
}

.terms-content ol ol li::before {
  content: counter(item) ") ";
  position: absolute;
  left: -2rem;
  font-weight: normal;
}

/* 3단계 중첩 ol - (1), (2), (3) 형식 */
.terms-content ol ol ol {
  list-style-type: none;
  counter-reset: sub-item;
  padding-left: 2rem;
}

.terms-content ol ol ol li {
  counter-increment: sub-item;
  position: relative;
  padding-left: 0.5rem;
}

.terms-content ol ol ol li::before {
  content: "(" counter(sub-item) ") ";
  position: absolute;
  left: -2rem;
  font-weight: normal;
}

.terms-content li {
  margin-bottom: 0.75rem;
}

.terms-content li p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.terms-content strong {
  font-weight: bold;
  color: #2c3e50;
}

.terms-content table {
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  border-collapse: collapse;
}

.terms-content table th,
.terms-content table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #dee2e6;
}

.terms-content table th {
  background-color: #f8f9fa;
  font-weight: bold;
}

/* 기존 스타일 (다른 파일 일부) */
/* .custom_select {display:none;} ... */

/* ===== 약관 페이지 모바일 반응형 ===== */
@media screen and (max-width: 768px) {

  /* 핵심: .wrap이 980px 고정이라 모바일에서 오버플로우 발생 */
  html,
  body {
    overflow-x: hidden;
  }

  /* 약관 페이지 wrap 너비 모바일 대응 */
  .wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* 컨테이너 패딩 */
  .container.py-5,
  .contents.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 헤더 */
  .terms-header {
    margin-top: 20px;
    margin-bottom: 1.5rem;
  }

  .terms-header-title {
    font-size: 1.2rem;
    word-break: keep-all;
  }

  /* 본문 */
  .terms-content {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .terms-content h2 {
    font-size: 1rem;
    margin-top: 1.5rem;
    word-break: keep-all;
  }

  .terms-content h3 {
    font-size: 0.95rem;
    margin-top: 1rem;
    word-break: keep-all;
  }

  .terms-content p,
  .terms-content li {
    font-size: 13px;
    line-height: 1.7;
    word-break: keep-all;
  }

  /* 중첩 목록 들여쓰기 축소 */
  .terms-content ol {
    padding-left: 1rem;
  }

  .terms-content ol ol {
    padding-left: 1.2rem;
  }

  .terms-content ol ol ol {
    padding-left: 1.2rem;
  }

  /* 테이블: 가로 스크롤 */
  .terms-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
  }

  .terms-content table th,
  .terms-content table td {
    padding: 0.5rem;
    min-width: 80px;
    white-space: normal;
    word-break: keep-all;
  }
}

#step01CoreKeywordEmpty {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: #8a8f98;
  line-height: 1.5;
}

#btnStep01KeywordSelect.disabled {
  pointer-events: none;
  cursor: default;
  background: #d9d9d9;
  color: #8a8a8a;
}

#btnStep01KeywordSelect.disabled:hover {
  background: #d9d9d9;
  color: #8a8a8a;
}

.tab_wrap li {
  color: #000000 !important;
}

.landing_product_sections {
  display: flex;
  align-items: stretch;
  gap: 90px;
}

.landing_product_section {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.landing_product_section .com_head {
  min-height: 36px;
}

.landing_product_section .com_head h4 {
  line-height: 1.45;
}

.landing_product_tabs {
  margin-top: 0 !important;
  margin-bottom: 15px;
}

.landing_product_tabs ul {
  overflow-x: auto;
}

.landing_product_tabs ul::-webkit-scrollbar {
  display: none;
}

.landing_product_tabs li {
  min-width: fit-content;
}

.landing_product_content {
  flex: 1 1 auto;
  min-height: 392px;
}

.landing_product_rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.landing_product_row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 86px 5px 0;
  min-height: 39px;
}

.landing_product_leading {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.landing_product_rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f4f4f5;
  color: rgba(46, 47, 51, 0.88);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  min-width: 45px;
}

.landing_product_week_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2678ff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.landing_product_body {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
}

.landing_product_new_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.landing_product_name {
  min-width: 0;
  color: rgba(46, 47, 51, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
}

.landing_product_name strong,
.landing_product_name b {
  color: #222 !important;
  font-weight: 700;
}

.landing_product_link {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: rgba(111, 111, 111, .8);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.landing_product_link:hover {
  color: rgba(55, 56, 60, .95);
  text-decoration: none;
}

.landing_product_empty {
  padding: 24px 0;
  text-align: center;
  color: #8a8f98;
  font-size: 14px;
}