/* KoPub 돋움(로컬 설치 폰트) 적용: navbar-styles.css 맨 위에 추가하세요 */
@font-face {
  font-family: 'KoPub돋움';
  src: local('KoPub돋움체_Pro Medium'); /* 로컬에 설치된 정확한 이름 사용 */
  font-weight: 500; /* Medium에 해당하는 가중치(필요시 600 또는 700으로 조정) */
  font-style: normal;
  font-display: swap;
}

/* (선택) 볼드 스타일이 별도 이름으로 설치되어 있다면 아래처럼 추가하면 좋습니다. */
@font-face {
  font-family: 'KoPub돋움';
  src: local('KoPub돋움체_Pro Bold'); 
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* 전체 사이트 기본 폰트로 설정 */
body {
  margin: 0;
  padding: 0;
  font-family: 'KoPub돋움', /*'Noto Sans KR', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", */ sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  min-height: 100vh;
}

/* 네비게이션 바 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;   /* 또는 100% */
  z-index: 9999;  /* 다른 요소보다 위에 오게 */
  height: 3.75rem; /* 60px -> 3.75rem */
  background: #f4f6fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6.25rem; /* 0 100px -> 0 6.25rem */
  box-sizing: border-box;
}



.logo {
  font-weight: bold;
  color: #2339b4;
  font-size: 1.375rem; /* 22px -> 1.375rem */
}

.logo a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  font-size: inherit;
  cursor: pointer;
}
.logo a:hover {
  color: inherit; 
  text-decoration: none;
}



.menu {
  list-style: none;
  display: flex;
  gap: 2rem; /* 32px -> 2rem */
  margin: 0;
  padding: 0;
}

.menu li {
  font-size: 1rem; /* 16px -> 1rem */
  color: #222;
  cursor: pointer;
  position: relative;
}

.menu a {
  color: inherit;         /* 부모의 글씨 색상 상속 */
  text-decoration: none;  /* 밑줄 제거 */
  font-weight: inherit;   /* (필요시) 굵기도 상속 */
}

/* 마우스를 올렸을 때 색상 변화 등 커스텀 */
.menu a:hover,
.menu a:focus {
  color: #38a1db;         /* 원하는 포커스/호버 색상 */
  text-decoration: underline; /* (원하면 호버시만 밑줄) */
}

/* 드롭다운 메뉴와 상위 메뉴 항목 사이의 간격을 채워 마우스 이동 시 메뉴가 닫히는 현상을 방지합니다. */
.menu li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.25rem; /* 20px */
  height: 1.25rem;
}

/* 드롭다운 메뉴 기본적으로 숨기기 */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 2.25rem; /* 36px -> 2.25rem */
  left: 0;
  background: #fff;
  border-radius: 0.625rem; /* 10px -> 0.625rem */
  box-shadow: 0 0.125rem 0.625rem rgba(34,57,180,0.08); /* 0 2px 10px -> 0 0.125rem 0.625rem */
  min-width: 8.125rem; /* 130px -> 8.125rem */
  z-index: 10030;
  padding: 0.5rem 0; /* 8px 0 -> 0.5rem 0 */
  list-style: none;         /* ← 동그란 원 없앰 */
  margin: 0;                /* ← 여백 제거 */
}

.dropdown-menu li {
  color: #222;
  padding: 0.625rem 1.25rem; /* 10px 20px -> 0.625rem 1.25rem */
  white-space: nowrap;
    list-style: none;         /* ← 동그란 원 없앰 */
}

.dropdown-menu li:hover {
  background: #f0f4ff;
}

/* 마우스 올렸을 때만 드롭다운 보이기 */
.dropdown:hover .dropdown-menu {
  display: block;
}

@media (max-width: 720px) {
  /* 헤더 전체 스타일 */
  .navbar {
    height: 3.75rem;
    padding: 0 1rem; /* 좌우 모두 1rem으로 축소 */
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    min-width: 320px;
    max-width: 100%;
  }

  /* 햄버거 버튼 (또는 라벨) */
  .hamburger, 
  .menu-toggle {
    margin-right: 4rem;  /* 기존 1rem에서 2rem 으로 간격을 늘림 */
    /* 기존 스타일 유지 */
    display: block !important;
    cursor: pointer;
    position: relative;
    order: 0;
    margin-left: 0;
    padding-left: 0;
    left: 0;
    z-index: 11000;
    font-size: 2rem;
  }

  /* 체크박스 숨기기 */
  input.menu-toggle[type="checkbox"] {
    display: none !important;
  }

  /* 메뉴 스타일 */
  .menu {
    order: 2; /* 헤더 내 상위 순서 */
    display: none; /* 기본 안 보임 */
    flex-direction: column;
    position: absolute;
    top: 3.75rem; /* 헤더 높이 하단 위치 */
    left: 0;
    right: 0;
    background: #f4f6fb;
    padding: 1rem 0;
    z-index: 1000;
    gap: 1rem; /* 메뉴 간격 조정 */
    font-size: 1rem;
    white-space: nowrap;
  }

  /* 체크박스가 체크되면 메뉴 보이기 */
  .menu-toggle:checked + .hamburger + .menu {
    display: flex;
  }

  /* 메뉴 아이템 */
  .menu li {
    padding: 0 1.5rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  /* 로고 스타일 */
  .logo {
    order: 1; /* 햄버거 다음 */
    flex-grow: 1;
    font-size: 1.2rem;
    height: 1.2rem;
    margin: 0 auto; /* 좌우 마진 auto로 중앙 배치 */
  }

  .logo img {
    height: 1.3rem;
    width: auto;
  }

  /* --- JS 기반 아코디언 스타일 (v3) --- */
  .dropdown:hover .dropdown-menu {
    display: none; /* 모바일에서 호버 비활성화 */
  }

  /* 드롭다운 항목을 flex로 만들어 링크와 버튼 정렬 */
  .menu .dropdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .menu .dropdown > a {
    flex-grow: 1; /* 링크가 남는 공간을 모두 차지하도록 */
  }

  /* 새로운 토글 버튼 스타일 */
  .accordion-toggle-btn {
    display: block;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    text-align: center;
    line-height: 2.5rem;
  }

  /* 토글 버튼 아이콘 (+) */
  .accordion-toggle-btn::before {
    content: '+';
    font-size: 1.5rem;
    color: #333;
  }

  /* .open 클래스가 있을 때 아이콘 변경 (-) */
  .dropdown.open .accordion-toggle-btn::before {
    content: '–';
  }

  /* 드롭다운 메뉴 기본 숨김 및 스타일 */
  .dropdown-menu {
    /* flex 아이템이 전체 너비를 차지하도록 설정 */
    flex-basis: 100%; 
    position: static;
    display: none;
    background: #e9edf5;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
  }

  /* .open 클래스가 있을 때 드롭다운 메뉴 보이기 */
  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    padding: 0.5rem 0;
  }
  
  .menu a:hover,
  .menu a:focus {
    color: inherit;
    text-decoration: none;
  }
  
  .dropdown-menu li:hover {
    background: none;
  }
}


@media (min-width: 721px) {

    .hamburger {
    display: none;
  }

  .menu-toggle {
    display: none !important;
  }
  .menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 2rem;
  }
}


























/* 메인 섹션 (px -> rem, 기준: 1rem = 16px) */
.solution-visual-bg {
  width: 100%;
  height: 25rem; /* 400px -> 25rem */
  background: url('3-0. 솔루션 - 복사본.png') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3.75rem; /* 60px -> 3.75rem */
}

.solution-visual-overlay {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.36);

  display: flex;
  flex-direction: column;   /* 제목과 설명을 세로로 쌓음 */
  align-items: center;      /* 가로 중앙 정렬 */
  justify-content: center;  /* 세로 중앙 정렬 */
  gap: 1.5rem;              /* 제목과 설명 사이 간격: 1.5rem */
  box-sizing: border-box;
  padding: 0 1rem;          /* 작은 화면 여백 방지 (16px -> 1rem) */
}

.solution-main-title {
  color: #eeeeee;
  font-size: 3rem;   /* 메인 타이틀 크기 유지 */
  font-weight: bold;
  margin: 0;         /* gap으로 간격 제어 */
  text-align: center;
}

.solution-main-desc {
  color: #e3e3e3;
  font-size: 1.3rem; /* 설명 크기 유지 */
  font-weight: medium;
  line-height: 2rem;
  margin: 0;         /* gap으로 간격 제어 */
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(.33, 1.25, .68, 1) forwards;
  animation-delay: 0.2s;
}







/* 리스트 메인 padding */
.solution-list-main {
  background: #fff;
  padding: 0 0 4rem 0; /* 64px -> 4rem */
  box-sizing: border-box;
}

/* 솔루션 섹션 레이아웃 */
.solution-section {
  max-width: 75rem; /* 1200px -> 75rem */
  margin: 0 auto 5rem auto; /* 80px -> 5rem */
  padding: 4rem 0 0 0; /* 64px -> 4rem */
  border-top: 0.0625rem solid #ffffff; /* 1px -> 0.0625rem */
  box-sizing: border-box;
}

.solution-inner {
  display: flex;
  align-items: center;
  gap: 4rem; /* 64px -> 4rem */
  justify-content: center;
  flex-wrap: wrap;
}

.solution-inner.reverse {
  flex-direction: row-reverse;
}

.solution-img {
  width: 26.25rem; /* 420px -> 26.25rem */
  max-width: 44%;
  border-radius: 0.75rem; /* 12px -> 0.75rem */
  background: #ffffff;
  object-fit: contain;
}

/* 텍스트 그룹 박스 크기(기존 px 기반 크기 유지) */
.solution-text-group {
  flex: 1 1 20rem; /* flex-basis 320px -> 20rem */
  min-width: 20rem; /* 320px -> 20rem */
  max-width: 32.5rem; /* 520px -> 32.5rem */
  text-align: left;
  box-sizing: border-box;
}

.solution-title {
  color: #122858;
  font-size: 2.5rem; /* 유지 */
  font-weight: bold;
  margin-bottom: 1rem; /* desc랑의 간격 */
}

.solution-subtitle {
  color: #000000;
  font-size: 1.2rem; /* 다른 섹션의 설명 폰트 크기와 동일하게 설정 */
  font-weight: medium;
  line-height: 2rem;
  margin-bottom: 1rem;
}



/* 기능 목록 */
.solution-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-feature-list li {
  font-size: 1.1rem; /* 유지 */
  color: #494949;
  margin-bottom: 0.7rem; /* feature간의 간격 */
  position: relative;
  padding-left: 1.625rem; /* 26px -> 1.625rem */
  box-sizing: border-box;
}
.solution-feature-list li:before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #122858;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .solution-section {
    max-width: 100%;
    margin: 0 auto 2rem auto;
    padding: 1.5rem 0.5rem;
    box-sizing: border-box;
  }
  .solution-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 0 !important;
  }
  .solution-img {
    width: 90%;
    max-width: 95%;
    object-fit: contain;
    margin: 0 auto 1rem auto;
    border-radius: 0.75rem;
  }
  .solution-text-group {
    width: 100%;
    max-width: 95%;
    min-width: 0;
    text-align: center;
    margin: 0 auto;
  }
  .solution-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}











































/* 푸터 (px -> rem 변환, 좌측 텍스트 기준으로 우측 연락처 크기 조정) */
.site-footer {
    background: #122858;
    color: #fff;
    width: 100%;
    padding: 3.375rem 0 2rem 0; /* 54px 0 32px 0 */
    font-size: 1rem; /* 기본 텍스트 크기 */
}

.footer-inner {
    max-width: 82.5rem; /* 1320px */
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem; /* 40px */
}

.footer-left {
    flex: 1 1 12rem;
}

/* 회사명: 좌측 기준 텍스트 */
.footer-company {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem; /* 8px */
}

.footer-desc {
    line-height: 1.7;
    margin-bottom: 1.125rem; /* 18px */
}

/* 저작권 영역: 링크와 텍스트를 모두 포함하며 한 줄로 표시 */
.footer-copyright {
    font-size: 1rem;
    opacity: 0.8;
    /* Flexbox를 사용하여 내부 요소들을 한 줄에 정렬 */
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
    flex-wrap: wrap; /* 작은 화면에서 필요하면 줄 바꿈 허용 */
    gap: 0.5rem; /* 요소들 간의 간격 */
}

     .footer-right {
            flex: 0 0 auto; /* 성장하지 않고, 내용물의 너비만큼만 차지합니다. */
            min-width: 15rem;
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* 내부 항목(contact-phone, email)은 왼쪽 정렬 */
            gap: 0; 
            font-size: 1rem;
            color: #fff;
            text-align: left; /* 텍스트 정렬도 왼쪽으로 복구 */
        }

        /* 연락처 스타일 */
        .footer-contact .contact-phone,
        .footer-contact .contact-email {
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
            font-weight: medium;
            line-height: 1.3;
            color: #ffffff;
        }

        /* 정책 링크 스타일 */
        .policy-link {
            font-size: 1rem;
            color: #fff;
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

        .policy-link:hover {
            opacity: 1;
            text-decoration: underline;
        }

        /* 구분자 스타일 */
        .policy-separator {
            color: #fff;
            opacity: 0.5;
            font-size: 1rem;
        }

        /* --- 사용하지 않는 CSS 제거 --- */
        .policy-links-group {
            /* 이전에 사용된 블록 스타일을 제거하거나 덮어씁니다. */
            display: inline; /* 인라인으로 강제 변경 */
            margin: 0;
            padding: 0;
        }
        /* --- 사용하지 않는 CSS 제거 --- */


        /* 반응형 */
        @media (max-width: 720px) {
            .footer-inner {
                flex-direction: column;
                gap: 0.5rem !important; /* gap을 1rem 이하로 줄이면 두 영역이 더 가깝게 */
                padding-left: 1rem !important;
                padding-right: 1rem !important;
            }

            .footer-left {
    width: 100% !important;
    margin-bottom: 0.5rem !important; /* 각 칸 아래 여백 최소화 */
    padding: 0 !important;
            }
           .footer-right {
    width: 100% !important;
    margin-bottom: 0.5rem !important; /* 각 칸 아래 여백 최소화 */
    padding: 0 !important;
            }

            .site-footer {
                padding: 2rem 0 1.5rem 0;
            }
            
            /* 모바일에서 저작권 및 링크가 너무 길 경우 줄바꿈 허용 */
            .footer-copyright {
                display: block; /* 모바일에서 전체 블록으로 변경 */
            }
        }
