body {
  margin: 0;
  background-color: #fff;
}

.faq-search-section {
  text-align: center;
  padding: 150px 20px 80px;
}

.support-title {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  font-family: 'Noto Sans KR', sans-serif;
}

.support-mant {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  font-family: 'Noto Sans KR', sans-serif;
}

.faq-search-box {
  width: 800px;
  height: 72px;
  padding: 9px 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 200px;
  border: 2px solid var(--Sub-Color-Sub-Color-01, #444c57);
  background: var(--Gray-White, #fff);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.faq-search-input:focus {
  outline: none;
}

.faq-search-box:has(.faq-search-input:focus) {
  border-color: #4a90e2;
}

.faq-search-input {
  flex: 1;
  border: none;
  font-size: 18px;
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  background: transparent;
}

.faq-search-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
}

.faq-search-button img {
  width: 35px;
  height: 35px;
}


/*자주 묻는 질문*/

.support_section2 {
  width: 100%;
  padding: 100px 0;
  background-color: #f9f9f9;
}

.support-faq {
  width: 1200px;
  margin: 0 auto;

}

.support-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.support-top h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  font-family: 'Noto Sans KR', sans-serif;
}

.support-top .view-all {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: #999;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.support-top .view-all:hover {
  color: #2385ff;
}

.support-faq-menu {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.support-faq-menu button {
  padding: 14px 30px;
  border: 1px solid #eee;
  border-radius: 999px;
  background-color: white;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans KR', sans-serif;
}

.support-faq-menu button.active {
  background-color: #007BFF;
  color: white;
  border-color: #007BFF;
  font-weight: 500;
}

/* FAQ 리스트 */
.support-faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.faq-box {
  width: 580px;
  height: 100px;
  box-shadow: 0px 0px 20px 0px rgba(89, 89, 89, 0.04);
  border-radius: 20px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-box img {
  width: 48px;
  height: 48px;
}

.faq-box p {
  margin: 0;
  font-size: 20px;
  color: #222;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}

.faq-box:hover p {
  color: #2385ff;
}

/*공지사항*/

.support_section3 {
  width: 100%;
  padding: 100px 0;
  background-color: #fff;
}

.notice-wrapper {
  width: 1200px;
  margin: 0 auto;
}

.notice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.notice-top h2 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  color: #333;
}

.notice-top .view-all {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: #999;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.notice-top .view-all:hover {
  color: #2385ff;
}

.notice-list {
  display: flex;
  flex-direction: column;
}

.notice-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 10px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
  cursor: pointer;
  margin-top: 0px;
}

.notice-item:hover {
  background-color: #f9f9f9;
}

.notice-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.notice-date {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  color: #ccc;
}


/*상담*/

/* 전체 섹션 */
.support_section4 {
  width: 100%;
  padding: 0px 0px 100px 0px;
  height: auto;
}

.support4-wrapper {
  width: 1200px;
  margin: 0 auto;
}

.support_section4 .support4-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: #222;
  text-align: left;
  margin-bottom: 60px;
}

/* 채팅/전화 박스 컨테이너 */
.support4-contact-boxes {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

/* 공통 박스 스타일 */
.contact-box {
  width: 588px;
  height: 120px;
  border-radius: 16px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  border: 1px solid #eee;
  text-decoration: none;
  transition: background-color 0.3s;
}

/* 공통 transition */
.contact-box.chat-support,
.contact-bottom-box.inquiry {
  transition: background-color 0.3s ease;
}

/* 텍스트 & SVG 색 전환 부드럽게 */
.contact-box.chat-support .icon-svg,
.contact-bottom-box.inquiry .icon-svg,
.contact-box.chat-support .contact-title,
.contact-bottom-box.inquiry .contact-bottom-title,
.contact-bottom-box.inquiry .contact-bottom-sub {
  transition: color 0.3s ease, stroke 0.3s ease, fill 0.3s ease;
}

/* hover 시 색상 변경 */
.contact-box.chat-support:hover .icon-svg path,
.contact-bottom-box.inquiry:hover .icon-svg path {
  stroke: #2385ff;
}

.contact-box.chat-support:hover .contact-title,
.contact-bottom-box.inquiry:hover .contact-bottom-title,
.contact-bottom-box.inquiry:hover .contact-bottom-sub {
  color: #2385ff;
}

.contact-box svg {
  flex-shrink: 0;
}

.contact-texts,
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.contact-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: #555;
  margin-top: 6px;
}

/* 문의 남기기 박스 */
.contact-bottom-box {
  width: 1200px;
  height: 160px;
  margin: 0 auto;
  border-radius: 16px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 20px;
  text-decoration: none;
  border: 1px solid #eee;
  transition: background-color 0.3s;
}

.bottom-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-bottom-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.contact-bottom-sub {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  color: #666;
}





















@media screen and (max-width: 768px) {
  .faq-search-section {
    text-align: center;
    padding: 100px 20px 60px;
  }

  .support-title {
    display: none;
  }

  .support-mant {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .faq-search-box {
    width: 100%;
    height: 54px;
    padding: 8px 16px;
    flex-direction: row;
    /* ✅ 가로 정렬 유지 */
    gap: 8px;
    border-radius: 200px;
  }

  .faq-search-input {
    width: 100%;
    font-size: 16px;
  }

  .faq-search-button {
    margin-left: 8px;
    padding: 0;
  }

  .faq-search-button img {
    width: 28px;
    height: 28px;
  }


  /*자주 묻는 질문*/

  .support_section2 {
    padding: 40px 10px;
  }

  .support-faq {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .support-top h2 {
    font-size: 24px;
  }

  .support-top .view-all {
    font-size: 14px;
  }

  .support-faq-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    margin-bottom: 0px;
  }

  .support-faq-menu::-webkit-scrollbar {
    display: none;
    /* 스크롤바 숨기기 (선택사항) */
  }

  .support-faq-menu button {
    flex: 0 0 auto;
    /* 버튼이 줄바꿈되지 않도록 고정 */
    padding: 10px 20px;
    font-size: 14px;
  }

  .support-faq-items {
    flex-direction: column;
    gap: 16px;
  }

  .faq-box {
    margin-top: 10px;
    width: 100%;
    height: auto;
    padding: 20px 16px;
    border-radius: 10px;
    gap: 16px;
  }

  .faq-box img {
    width: 36px;
    height: 36px;
  }

  .faq-box p {
    font-size: 16px;
  }


  /*공지사항*/

  .notice-wrapper {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .notice-top h2 {
    font-size: 24px;
  }

  .notice-top .view-all {
    font-size: 14px;
  }

  .notice-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background-color: #fff;
    border-radius: 0px;
    padding: 16px 0px;
  }

  .notice-date {
    order: -1; /* 날짜를 위로 */
    font-size: 14px;
    color: #999;
  }

  .notice-title {
    font-size: 16px;
  }



  .support_section4 .support4-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .support4-wrapper,
  .support4-contact-boxes,
  .contact-bottom-box {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .support4-contact-boxes {
    flex-direction: column;
    gap: 16px;
    padding: 0px;
    margin-bottom: 20px;
  }

  .contact-box {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .contact-bottom-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    height: auto;
    gap: 12px;
  }

  .contact-title {
    font-size: 18px;
  }

  .contact-sub {
    font-size: 14px;
  }

  .contact-bottom-title {
    font-size: 18px;
  }

  .contact-bottom-sub {
    font-size: 14px;
  }
}