@charset "utf-8";
.top-banner {
    background: linear-gradient(90deg, #B9E472 0%, #D8F08C 50%, #F7F997 100%);
    padding: 10px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
}

.blue-text {
    color: #2E87F0; /* 이미지의 파란색 */
    font-weight: 700;
}

.close-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #FFFFFF; /* 흰색 X 버튼 */
    cursor: pointer;
}

/* 네비게이션 컨테이너 */
.container {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 20px 0px;
    gap: 20px;
    flex-wrap: wrap; /* 반응형 핵심 */
}

/* 로고 및 메뉴 */
.logo img { height: 52px; width:120px }
.menu-links {
    display: flex;
    gap: 20px;
    white-space: nowrap;
	font-family: 'Pretendard7';
	font-size:12px;
}

/* 검색창 부모 컨테이너 */
.search-bar {
    flex: 1;
    min-width: 300px;
    position: relative; /* 아이콘 배치의 기준점 */
}

/* 입력 필드 */
.search-bar input {
    width: 100%;
    padding: 12px 60px 12px 20px; /* 오른쪽 여백을 충분히 주어 아이콘과 겹침 방지 */
    border-radius: 25px;
    border: 1px solid #eee;
    background-color: #f5f5f5;
    outline: none;
}

/* 흰색 원 버튼 */
.search-icon {
    position: absolute; /* 부모인 .search-bar 기준으로 배치 */
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* 미세한 그림자 추가 */
}

/* 돋보기 원형 머리 */
.search-icon::before {
    content: '';
    width: 11px;
    height: 11px;
    border: 2px solid #708090;
    border-radius: 50%;
    transform: translate(-2px, -2px); /* 막대기 위치를 고려한 미세 조정 */
}

/* 돋보기 긴 막대기 */
.search-icon::after {
    content: '';
    position: absolute;
    width: 9px; /* 막대기를 좀 더 길게 설정 */
    height: 2px;
    background-color: #708090;
    top: 21px;
    left: 19px;
    transform: rotate(45deg);
    border-radius: 1px;
}
/* 버튼 스타일 */
.user-buttons {
    display: flex;
    gap: 8px;
}

.btn-outline {
	height: 40px;
	width: 60px;
	text-align: center;
    padding: 4px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 12px;
    color: #708090;
	display: flex;
	align-items: center;
	    justify-content: center;
}

.btn-filled {
    padding: 8px 12px;
    background-color: #9AD349;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
	display: flex;
	align-items: center;
	    justify-content: center;
}

/* --- 반응형 레이아웃 (태블릿/모바일) --- */
@media (max-width: 1024px) {
    .container {
        justify-content: space-between;
    }
    .search-bar {
        order: 3; /* 검색창을 다음 줄로 내림 */
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-links {
        display: none; /* 모바일에서는 햄버거 메뉴로 대체하거나 숨김 */
    }
    .user-buttons {
        gap: 4px;
    }
    .btn-outline {
        padding: 6px 10px;
        font-size: 11px;
    }
}

.wrapper {width:100%; background:#f7f9fa; }
.index_container {
    width: 100%;        /* 모바일에서 가로를 꽉 채움 */
    max-width: 1200px;  /* 최대 1200px까지만 커짐 */
    margin: 0 auto;     /* 가운데 정렬 */    
    box-sizing: border-box; /* 패딩이 너비에 영향을 주지 않도록 설정 */
}

@media (max-width: 768px) {
    .index_container {
        padding: 0 15px; /* 모바일에서만 양옆 여백 발생 */
    }
}

.responsive-img {
    width: 100%;        /* 부모 너비에 맞춤 */
    height: auto;       /* 비율 유지 */
    display: block;     /* 하단 미세한 공백 제거 */
}

/* 기본 섹션 설정 */
.category-section {
    max-width: 1200px;
    margin: 20px auto;
    position: relative;
    padding: 0 0px;
}

/* 텍스트 반응형 설정 */
.category-title {
    font-size: 32px; /* PC 기준 */
    font-weight: 700;
    color: #333;
}

.view-all {
    font-size: 16px; /* PC 기준 */
    color: #999;
    text-decoration: none;font-weight: 700;
}

.item-name {
    display: block;
    margin-top: 15px;
    font-size: 28px; /* PC 기준 */
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* 헤더 레이아웃 */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

/* 슬라이더 및 리스트 */
.category-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.category-list {
    display: flex;
    gap: 16px; /* 아이템 사이 간격 16px 고정 */
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}

.category-list::-webkit-scrollbar { display: none; } /* Chrome, Safari */

.category-item {
    flex: 0 0 auto;
    /* PC에서는 약 7개 정도 노출되도록 계산 */
    width: calc((100% - (16px * 6)) / 7);
    text-align: center;
}

.icon-box {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 화살표 버튼 (모바일에서도 유지) */
.nav-btn {
    position: absolute;
    top: 35%; /* 아이콘 박스 중앙 쯤 배치 */
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prev-btn { left: -22px; }
.next-btn { right: -22px; }

/* 화살표 내부 모양 */
.nav-btn::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    margin: auto;
}
.prev-btn::before { transform: rotate(-135deg) translate(-2px, -2px); }
.next-btn::before { transform: rotate(45deg) translate(-2px, -2px); }

/* --- 📱 모바일 반응형 (768px 이하) --- */
@media (max-width: 768px) {
    .category-section { padding: 0 15px; } /* 요청하신 모바일 여백 */
    
    /* 폰트 크기 조정 */
    .category-title { font-size: 24px; }
    .view-all { font-size: 14px; }
    .item-name { font-size: 18px; } /* 모바일에서 28px는 너무 커서 18px로 조정 */

    .category-item {
        /* 모바일에서 3개 노출 (간격 16px 유지) */
        width: calc((100% - (16px * 2)) / 3);
    }

    /* 화살표 위치를 화면 안쪽으로 살짝 이동 */
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

/* --- 📱 초소형 모바일 (480px 이하) --- */
@media (max-width: 480px) {
    .item-name { font-size: 15px; }
    .category-item {
        /* 모바일에서 2개 노출 (간격 16px 유지) */
        width: calc((100% - 16px) / 2);
    }
}



/*tail 영역 */
.footer-inner{max-width: 1200px;}
/* ==============================================
   태블릿 (768px ~ 1024px)
   고객센터 + 링크묶음 / 회사정보 2행 배치
=============================================== */
@media (max-width: 1024px) {
    .footer-inner {
        flex-wrap: wrap;
        gap: 0;
        padding: 0 28px;
    }
    .col-cs {
        flex: 0 0 auto;
        padding: 28px 40px 28px 0;
    }
    .footer-links-wrap {
        flex: 0 0 auto;
        gap: 32px;
        padding: 28px 0;
    }
    .col-info {
        flex: 0 0 100%;
        border-top: 1px solid #e0e0e0;
        padding: 28px 0 0;
    }
}
 
 
/* ==============================================
   모바일 (767px 이하)
   전체 1열 세로 쌓기
=============================================== */
@media (max-width: 767px) {
    .site-footer { padding: 32px 0 24px; margin-top: 40px; }
 
    .footer-inner {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
 
    /* 각 블록 구분선 */
    .col-cs,
    .footer-links-wrap,
    .col-info {
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid #e0e0e0;
    }
    .col-info { border-bottom: none; }
 
    /* 고객센터: 좌우 2단 */
    .col-cs {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .cs-section  { margin-bottom: 0; flex: 1; min-width: 140px; }
    .chat-section{ flex: 1; min-width: 120px; }
    .cs-phone    { font-size: 17px; }
    .cs-title,
    .chat-title  { font-size: 14px; }
 
    /* 링크 묶음: 좌우 유지 (gap만 줄임) */
    .footer-links-wrap { gap: 20px; }
    .col-links,
    .col-links2  { min-width: unset; flex: 1; }
 
    /* 원형 버튼 */
    .circle-btn  { width: 68px; height: 68px; font-size: 11px; }
    .service-circles { gap: 12px; }
 
    .company-info p { font-size: 11px; }
    .company-notice  { font-size: 10px; }
}
 
 
/* ==============================================
   소형 모바일 (374px 이하)
=============================================== */
@media (max-width: 374px) {
    .footer-inner    { padding: 0 16px; }
    .col-cs          { flex-direction: column; gap: 16px; }
    .footer-links-wrap { gap: 16px; }
    .circle-btn      { width: 58px; height: 58px; font-size: 10px; }
    .service-circles { gap: 8px; }
}


/* =============================================
   로그인 카드
============================================= */
.login-wrap {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 60px 0px 52px;
  border-radius: 8px;
 margin: 0 auto;
}
 
/* =============================================
   로고
============================================= */
.logo-area {
  text-align: center;
  margin-bottom: 40px;
}
.logo-area img {
  height: 52px;
  width: auto;
}
/* 이미지 없을 때 CSS 로고 */
.logo-svg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #4dabf7, #3b5bdb);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 11px; color: #fff;
  line-height: 1.3; text-align: center;
  flex-shrink: 0;
}
.logo-text-wrap {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
}
.logo-main {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, #4dabf7, #3b5bdb);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.logo-sub {
  font-size: 11px; color: #aaa; font-weight: 400;
}
 
/* =============================================
   인풋
============================================= */
.input-group {
  margin-bottom: 10px;
}
.input-group input {
  width: 100%;
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  outline: none;
  transition: border-color .15s;
  background: #fff;
}
.input-group input::placeholder { color: #bbb; }
.input-group input:focus { border-color: #9AD349; }
 
/* =============================================
   로그인 버튼
============================================= */
.btn-login {
  width: 100%;
  height: 48px;
  background: #9AD349;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
  letter-spacing: 2px;
  transition: background .15s;
}
.btn-login:hover { background: #7fb832; }
 
/* =============================================
   하단 링크 영역 (로그인 정보 저장 / 아이디 찾기 / 비밀번호 찾기)
============================================= */
.login-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: #888;
}
.login-links .left {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.login-links .left input[type="checkbox"] { display: none; }
.chk-label {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: #888;
}
.chk-box {
  width: 15px; height: 15px;
  border: 1.5px solid #ccc; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .12s; flex-shrink: 0;
}
#saveLogin:checked + .chk-label .chk-box {
  background: #9AD349; border-color: #9AD349;
}
#saveLogin:checked + .chk-label .chk-box::after {
  content: '';
  width: 4px; height: 7px;
  border: 1.5px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}
.login-links .right {
  display: flex; align-items: center; gap: 0;
}
.login-links a {
  color: #888; text-decoration: none; font-size: 12px;
}
.login-links a:hover { color: #333; }
.link-sep {
  margin: 0 8px; color: #ddd;
}
 
/* =============================================
   구분선
============================================= */
.divider {
  height: 1px; background: #eee; margin: 28px 0;
}
 
/* =============================================
   회원가입 버튼
============================================= */
.btn-join {
  width: 100%;
  height: 46px;
  background: #fff;
  color: #9AD349;
  border: 1.5px solid #9AD349;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 1px;
  transition: all .15s;
}
.btn-join:hover {
  background: #f5fff0;
}
 
/* =============================================
   SNS 로그인
============================================= */
.sns-area {
  margin-top: 28px;
  text-align: center;
}
.sns-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.sns-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
  transition: opacity .15s; flex-shrink: 0;
}
.sns-btn:hover { opacity: .85; }
/* 네이버 */
.sns-naver {
  background: #03C75A; color: #fff;
  font-size: 17px; letter-spacing: -1px;
}
/* 카카오 */
.sns-kakao {
  background: #FEE500; color: #3B1E08;
}
.sns-kakao svg { width: 24px; height: 24px; }
.sns-label {
  font-size: 12px; color: #999; margin-top: 2px;
}
 
/* =============================================
   반응형
============================================= */
/* 태블릿 (768px 이하) */
@media (max-width: 768px) {
  body { background: #fff; padding: 0; align-items: flex-start; }
  .login-wrap {
    max-width: 100%;
    padding: 60px 28px 52px;
    border-radius: 0;
    min-height: 100vh;
  }
}
 
/* 소형 모바일 (375px 이하) */
@media (max-width: 375px) {
  .login-wrap { padding: 48px 20px 40px; }
  .logo-main  { font-size: 18px; }
  .btn-login  { font-size: 15px; }
}
