/* ============================================
   CSS 학습 가이드북
   ============================================

   ================================================
   1. CSS 기본 문법
   ================================================

   선택자 속성: 값 형식으로 작성

   예시:
   h1 - 글자색 파랑, 크기 20px


   ================================================
   2. CSS 선택자 (Selectors)
   ================================================

   태그 선택자: div - 모든 div 태그 선택
   클래스 선택자: .header - class="header"인 요소 선택
   ID 선택자: #logo - id="logo"인 요소 선택
   자식 선택자: .parent > .child - 직계 자식만 선택
   후손 선택자: .parent .child - 모든 후손 선택
   가상 클래스: a:hover - 마우스 올렸을 때
   가상 클래스: li:first-child - 첫 번째 자식
   가상 클래스: li:last-child - 마지막 자식
   가상 클래스: li:nth-child(2) - 2번째 자식


   ================================================
   3. 박스 모델 (Box Model)
   ================================================

   박스는 다음 4가지로 구성됩니다:

   - margin: 요소의 바깥 여백
   - border: 요소의 테두리
   - padding: 요소의 안쪽 여백 (테두리와 내용 사이)
   - width/height: 내용(content) 영역의 크기


   ================================================
   4. CSS 단위 (Units)
   ================================================

   절대 단위:
   px (픽셀): 화면의 점 단위 - 예: 16px

   상대 단위:
   % (퍼센트): 부모 요소 기준 - 예: width: 50%
   em: 부모 폰트 크기 기준 - 예: 1.5em = 부모의 1.5배
   rem: 루트(html) 폰트 크기 기준 - 예: 2rem
   vw: 뷰포트(화면) 너비의 1% - 예: 100vw = 화면 전체 너비
   vh: 뷰포트(화면) 높이의 1% - 예: 100vh = 화면 전체 높이

   특수 함수:
   clamp(최소, 선호, 최대): 반응형 크기 설정
   예시: font-size: clamp(16px, 2vw, 24px);


   ================================================
   5. 색상 (Colors)
   ================================================

   키워드: red, blue, white, black
   HEX: #ff0000 (빨강), #000 (검정)
   RGB: rgb(255, 0, 0) (빨강)
   RGBA: rgba(0, 0, 0, 0.5) (반투명 검정, 투명도 0~1)


   ================================================
   6. 위치 (Position)
   ================================================

   static: 기본값, 일반적인 문서 흐름
   relative: 원래 위치 기준으로 이동 (자신 기준)
   absolute: 부모 요소 기준으로 절대 위치 (문서 흐름에서 제거)
   fixed: 화면(뷰포트) 기준으로 고정 (스크롤해도 그대로)
   sticky: 스크롤 시 특정 위치에서 고정

   위치 조정 속성 (position과 함께 사용):
   top, right, bottom, left


   ================================================
   7. 디스플레이 (Display)
   ================================================

   block: 블록 요소 (한 줄 전체 차지, 예: div, p)
   inline: 인라인 요소 (내용만큼만 차지, 예: span, a)
   inline-block: 인라인처럼 배치되지만 크기 조정 가능
   flex: Flexbox 레이아웃 사용
   grid: Grid 레이아웃 사용
   none: 요소 숨김 (공간도 차지 안함)


   ================================================
   8. Flexbox (유연한 박스 레이아웃)
   ================================================

   부모 요소에 적용:
   display: flex; - Flexbox 활성화
   flex-direction: row; - 가로 배치 (기본값)
   flex-direction: column; - 세로 배치
   justify-content: center; - 주축 중앙 정렬
   justify-content: space-between; - 양 끝 정렬
   align-items: center; - 교차축 중앙 정렬
   gap: 20px; - 아이템 사이 간격

   자식 요소에 적용:
   flex: 1; - 남은 공간 모두 차지
   flex-shrink: 0; - 줄어들지 않음
   flex-grow: 1; - 늘어날 수 있음


   ================================================
   9. Grid (그리드 레이아웃)
   ================================================

   부모 요소에 적용:
   display: grid; - Grid 활성화
   grid-template-columns: 1fr 1fr; - 2열 (같은 크기)
   grid-template-columns: repeat(3, 1fr); - 3열 (같은 크기)
   grid-template-columns: 200px 1fr; - 고정+유동
   gap: 20px; - 칸 사이 간격

   참고: 1fr = 사용 가능한 공간의 1 비율


   ================================================
   10. 전환 & 애니메이션 (Transitions & Animations)
   ================================================

   전환 (Transition): 상태 변화를 부드럽게
   transition: all 0.3s ease;
   transition: color 0.5s, background 1s;

   애니메이션 (Animation): 복잡한 움직임 정의
   - @keyframes로 애니메이션 정의
   - animation 속성으로 적용


   ================================================
   11. 변형 (Transform)
   ================================================

   transform: translateX(10px); - 가로로 10px 이동
   transform: translateY(-20px); - 세로로 -20px 이동
   transform: scale(1.2); - 1.2배 확대
   transform: rotate(45deg); - 45도 회전
   transform: translate(10px, 20px) scale(1.1); - 여러 효과 조합


   ================================================
   12. 반응형 디자인 (Responsive Design)
   ================================================

   미디어 쿼리 (Media Queries) 사용:
   @media (max-width: 600px) - 화면 너비가 600px 이하일 때 적용
   @media (min-width: 768px) - 화면 너비가 768px 이상일 때 적용


   ================================================
   13. 자주 사용하는 CSS 속성
   ================================================

   [텍스트]
   font-size: 16px; - 글자 크기
   font-weight: bold; - 글자 굵기 (100~900, normal, bold)
   color: #333; - 글자 색상
   text-align: center; - 텍스트 정렬
   line-height: 1.6; - 줄 간격
   letter-spacing: 1px; - 자간

   [배경]
   background: #fff; - 배경색
   background-image: url(...); - 배경 이미지
   background-size: cover; - 배경 이미지 크기 조정
   background-position: center; - 배경 이미지 위치

   [테두리]
   border: 1px solid #ddd; - 테두리 (두께 스타일 색상)
   border-radius: 10px; - 모서리 둥글게

   [그림자]
   box-shadow: 0 2px 10px rgba(0,0,0,0.1); - 박스 그림자
   text-shadow: 2px 2px 4px rgba(0,0,0,0.5); - 텍스트 그림자

   [여백]
   margin: 10px; - 바깥 여백 (상하좌우)
   margin: 10px 20px; - 바깥 여백 (상하 좌우)
   margin: 10px 20px 30px 40px; - 바깥 여백 (상 우 하 좌)
   padding: 15px; - 안쪽 여백 (상하좌우)

   [크기]
   width: 100%; - 너비
   height: 200px; - 높이
   max-width: 1200px; - 최대 너비
   min-height: 100vh; - 최소 높이

   [기타]
   opacity: 0.5; - 투명도 (0~1)
   z-index: 999; - 쌓임 순서 (숫자가 클수록 위)
   overflow: hidden; - 넘치는 내용 숨김
   cursor: pointer; - 마우스 커서 모양


   ================================================
   14. CSS 우선순위
   ================================================

   높음에서 낮음 순서:
   1. !important (가급적 사용 자제)
   2. 인라인 스타일 (HTML style 속성)
   3. ID 선택자 (#header)
   4. 클래스 선택자 (.header)
   5. 태그 선택자 (div)

   같은 우선순위라면 나중에 작성된 스타일이 적용됨


   ================================================
   15. 유용한 팁
   ================================================

   box-sizing: border-box;
   - padding과 border를 width/height에 포함시킴 (레이아웃 계산 편리)

   중앙 정렬 방법:
   - 텍스트: text-align: center;
   - 블록 요소: margin: 0 auto; (너비 필요)
   - Flexbox: justify-content: center; align-items: center;

   요소 숨김:
   - display: none; - 공간도 사라짐
   - visibility: hidden; - 공간은 유지, 보이지만 않음
   - opacity: 0; - 공간 유지, 투명하게

   ============================================ */


/* ============================================
   고려신용정보 웹사이트 스타일시트
   ============================================ */

/* ============================================
   1. 기본 설정 및 공통 클래스
   ============================================ */

/* 폰트 및 기본 요소 */
body {
  font-family: 'pretendard', sans-serif;
  box-sizing: border-box;
}

input,
textarea,
select {
  font-family: 'pretendard', sans-serif;
  font-size: 15px;
}

textarea {
  font-family: 'pretendard', sans-serif;
}

textarea:focus {
  outline: none;
}

span {
  display: inline-block;
}

br {
  font-family: dotum;
}

/* input 스타일 초기화 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-ms-clear {
  display: none;
}

input::-ms-reveal {
  display: none;
}

select::-ms-expand {
  display: none;
}

/* 유틸리티 클래스 */
.bold { font-weight: 500; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.float-left { float: left; }
.float-right { float: right; }
.color-red { color: #df1f2a; }
.bg-red { background: #df1f2a; }
.bg-blue { background: #004380; }
.color-blue { color: #004380 !important; }
.color-black { color: #333333; }
.font-family2 { font-family: 'pretendard', serif }
.clearboth {
  clear: both;
  height: 0px;
  overflow: hidden;
  font-size: 1px;
  line-height: 1;
}
.reset {
  clear: both;
  height: 0px;
  overflow: hidden;
  font-size: 1px;
  line-height: 1;
}

/* 텍스트 말줄임 */
.ellipsis_row {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

.ellipsis_7row {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

/* 텍스트 영역 */
.textarea_box {
  border: 1px solid #004380;
  padding: 10px;
}

.textarea_box textarea {
  border: none;
}

/* 기본 UI 초기화 */
.ui-loader {
  display: none;
}

.wrap {
  min-width: 320px;
}


/* ============================================
   2. 애니메이션 정의
   ============================================ */

/* fadeIn: 페이드인 효과 */
@-webkit-keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* fadeInUp: 아래에서 위로 올라오며 페이드인 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* slideInLeft: 왼쪽에서 슬라이드 인 */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* slideInRight: 오른쪽에서 슬라이드 인 */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* goldShine: 금색 반짝임 효과 */
@keyframes goldShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* btnPulse: 버튼 펄스 효과 */
@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.4);
  }
}

/* float: 상하 떠다니는 효과 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* modalSlideIn: 모달 슬라이드 인 */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* marquee: 마퀴 좌로 이동 */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* scroll-up: 세로 스크롤 애니메이션 */
@keyframes scroll-up {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}


/* ============================================
   3. 헤더 (Header)
   ============================================ */

#header {
  height: 80px;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  background: transparent; /* 초기 투명 배경 */
  box-shadow: none;
  z-index: 999;
  min-width: 320px;
  transition: all 0.3s ease; /* 부드러운 전환 효과 */
}

/* 스크롤 시 헤더 스타일 변경 */
#header.scrolled {
  background: #fff; /* 흰색 배경 */
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1); /* 그림자 추가 */
}

/* 헤더 내부 컨테이너 */
#header .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; /* Flexbox 사용 */
  align-items: center; /* 세로 중앙 정렬 */
  justify-content: space-between; /* 좌우 정렬 */
  height: 100%;
}

/* 로고 */
#header .logo img {
  display: inline;
  height: 46px; /* 38px + 8px */
  width: auto; /* 원본 비율 유지 */
  transition: opacity 0.3s ease; /* 투명도 전환 효과 */
}

/* 투명 헤더일 때: 흰색 로고 표시 */
#header .logo img.logo-white {
  display: inline;
  opacity: 1;
}

#header .logo img.logo-dark {
  display: none;
  opacity: 0;
}

/* 스크롤 후: 검은색 로고 표시 */
#header.scrolled .logo img.logo-white {
  display: none;
  opacity: 0;
}

#header.scrolled .logo img.logo-dark {
  display: inline;
  opacity: 1;
}

/* 전화번호 */
#header .tel {
  color: #fff; /* 초기 흰색 텍스트 */
  line-height: 32px;
  font-size: 29px;
  font-weight: bold;
  background: url(../img/icon_phone2.png) no-repeat 5px center; /* 흰색 아이콘 */
  background-size: 25px;
  padding-left: 40px;
  transition: all 0.3s ease;
}

/* 스크롤 후: 검은색 텍스트 및 아이콘 */
#header.scrolled .tel {
  color: #000;
  background-image: url(../img/icon_phone1.png); /* 검은색 아이콘 */
}


/* ============================================
   4. 푸터 (Footer)
   ============================================ */

#footer {
  min-width: 320px;
}

#footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px;
}

#footer .logo {
  float: left;
  margin-right: 170px;
}

#footer .logo img {
  height: 28px; /* 헤더 로고처럼 작게 조정 */
  width: auto; /* 원본 비율 유지 */
}

#footer .info {
  float: left;
  color: #888888;
  font-size: 14px;
  line-height: 1.6;
}

#footer .info ul li:last-child {
  background: none;
  padding-right: 0px;
  margin-right: 0px;
}

#footer .info ul li a.link {
  color: #2457a7;
  text-decoration: underline;
}

/* 링크 사이 구분선 */
#footer .info ul li a + a::before {
  content: '';
  display: inline-block;
  margin: 0 12px;
  width: 1px;
  height: 10px;
  background: #888888;
}

#footer .copyright {
  clear: both;
}


/* ============================================
   5. 플로팅 버튼 (상담신청)
   ============================================ */

/* 상담신청 플로팅 버튼 */
.consulting-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  animation: float 3s ease-in-out infinite; /* 떠다니는 효과 */
}

.consulting-btn:hover {
  animation-play-state: paused; /* 호버 시 애니메이션 정지 */
}

.consulting-btn img {
  width: 120px;
  height: auto;
  display: block;
}


/* ============================================
   6. 모달 (상담신청 폼)
   ============================================ */

/* 모달 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7); /* 반투명 검은색 배경 */
  z-index: 9999;
  display: none; /* 기본적으로 숨김 */
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow-y: auto;
}

/* 모달 활성화 */
.modal-overlay.active {
  display: flex;
}

/* 모달 콘텐츠 */
.modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  animation: modalSlideIn 0.3s ease; /* 슬라이드 인 효과 */
}

/* 모달 닫기 버튼 */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 36px;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #000;
}

/* 상담신청 폼 */
.consulting-form {
  padding: 40px 30px 30px;
}

.modal-logo {
  text-align: center;
  margin-bottom: 30px;
}

.modal-logo img {
  height: 40px;
  width: auto;
}

/* 폼 필드 그리드 (2열) */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-field .required {
  color: #df1f2a; /* 필수 항목 표시 */
}

/* 입력 필드 스타일 */
.form-field input[type="text"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
}

/* 포커스 시 테두리 색상 변경 */
.form-field input[type="text"]:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2457a7;
}

/* 전화번호 입력 행 */
.tel-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tel-row input {
  flex: 1;
}

.tel-row span {
  color: #999;
  font-size: 18px;
}

/* 텍스트 영역 */
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* 개인정보 동의 박스 */
.policy-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 12px;
  white-space: pre-line;
}

/* 동의 체크박스 라벨 */
.agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* 제출 버튼 */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: #2457a7;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #1a4080;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(36,87,167,0.3);
}


/* ============================================
   7. 공통 섹션 스타일
   ============================================ */

.section {
  overflow: hidden; /* 자식 요소 넘침 방지 */
  word-break: keep-all; /* 단어 단위 줄바꿈 */
}

.section .inner {
  position: relative;
  max-width: 1120px; /* 최대 너비 제한 */
  margin: 0 auto; /* 중앙 정렬 */
  padding: 0 20px;
}


/* ============================================
   8. 섹션1 - 메인 비주얼 (Hero Section)
   ============================================ */

.section1 {
  background: url(../img/section1_bg.png) no-repeat top center;
  background-size: cover; /* 배경 이미지 꽉 채우기 */
  position: relative;
  padding-top: 80px;
}

/* 마퀴 슬로건 컨테이너 */
.marquee-container {
  width: 100%;
  overflow: hidden; /* 넘치는 텍스트 숨김 */
  background: rgba(255,255,255,0.15); /* 반투명 배경 */
  backdrop-filter: blur(10px); /* 배경 블러 효과 */
  padding: 15px 0;
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 10;
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite; /* 무한 좌로 이동 */
  width: fit-content;
}

.marquee-item {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap; /* 텍스트 줄바꿈 방지 */
  padding: 0 100px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.emblem-white {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1); /* 흰색 필터 */
}

/* 섹션1 내부 컨테이너 */
.section1 .inner {
  padding-top: 80px;
  min-height: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* 회사명 헤더 */
.section1-header {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
  animation: fadeInUp 1s ease;
}

.company-title {
  font-size: clamp(60px, 7vw, 86px); /* 반응형 폰트 크기: 최소 60px, 선호 7vw, 최대 86px */
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin: 0;
}

/* 콘텐츠 그리드 (이미지 + 텍스트) */
.section1 .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2열 그리드 */
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* 텍스트 영역 */
.section1 .txt {
  position: relative;
  color: #fff;
  animation: fadeInUp 1s ease;
}

.section1 .txt .main-title {
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  margin: 0 0 25px 0;
  line-height: 1.3;
  animation: fadeInUp 1.2s ease;
}

.section1 .txt .main-desc {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.6;
  margin: 0 0 25px 0;
  animation: fadeInUp 1.4s ease;
}

/* 금색 반짝이는 텍스트 */
.section1 .txt .gold-text {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 40px 0;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700, #ffed4e); /* 그라디언트 */
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShine 3s linear infinite, fadeInUp 1.6s ease; /* 반짝임 + 페이드인 */
}

/* 무료상담 버튼 */
.section1 .txt .free-consult-btn {
  display: inline-block;
  padding: 20px 55px;
  background: transparent;
  border: 3px solid #fff;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1.8s ease, btnPulse 2s ease-in-out infinite; /* 페이드인 + 펄스 */
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.section1 .txt .free-consult-btn:hover {
  background: #fff;
  color: #2457a7;
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(255,255,255,0.5);
}

/* 이미지 영역 */
.section1 .img {
  position: relative;
  max-width: 1100px;
  width: 100%;
  text-align: center;
  animation: fadeIn 1.5s ease;
  margin: 0;
}

.section1 .img img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 700px;
  object-fit: contain;
  margin: 0 auto;
}


/* ============================================
   9. 섹션2 - Better Service Best Partner
   ============================================ */

.section2 {
  background: #fff;
  padding: 60px 0;
}

.section2 .inner {
  text-align: center;
}

.section2-image {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.5s ease;
}

.section2-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 데스크탑/모바일 표시 제어 */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}


/* ============================================
   10. 섹션3 - 고려신용정보를 선택해야 하는 이유
   ============================================ */

.section3 {
  background: #fff;
}

.section3 .inner {
  padding: 100px 20px 100px;
}

.section3 .txt {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  color: #000;
  margin-bottom: 30px;
}

.section3 .txt .highlight {
  color: #e60043; /* 강조 색상 */
}

.section3 .txt .sub {
  display: block;
  font-size: 20px;
  color: #666;
  font-weight: 500;
  margin-top: 25px;
  line-height: 1.7;
}

.section3 .reason-grid {
  margin-top: 80px;
}

/* 이유 카드 */
.section3 .reason-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 50px 45px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.section3 .reason-item {
  display: flex;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.section3 .reason-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.section3 .reason-card .icon {
  font-size: 32px;
  font-weight: 900;
  color: #2457a7;
  min-width: 70px;
}

.section3 .reason-card .title {
  font-size: 22px;
  font-weight: 800;
  color: #000;
}

.section3 .reason-card .desc {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  font-weight: normal;
  padding-left: 85px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.section3 .reason-card .desc:last-child {
  margin-bottom: 0;
}


/* ============================================
   11. 섹션4 - 모든 것이 업계 최고 (슬라이드)
   ============================================ */

.section4 {
  background: #f2f7ff;
}

.section4 .inner {
  padding: 100px 20px 100px;
}

.section4 .txt {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 30px;
}

.section4 .txt .blue {
  color: #2457a7;
}

.section4 .txt .sub {
  display: block;
  font-size: 20px;
  color: #666;
  font-weight: 500;
  margin-top: 25px;
  line-height: 1.7;
}

/* 슬라이드 컨테이너 */
.section4 .slide-container {
  margin-top: 60px;
  position: relative;
  overflow: hidden; /* 넘치는 슬라이드 숨김 */
}

.section4 .slide-wrapper {
  display: flex;
  transition: transform 0.5s ease; /* 슬라이드 전환 효과 */
}

.section4 .slide-item {
  min-width: 100%; /* 각 슬라이드가 전체 너비 차지 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 슬라이드 카드 */
.section4 .slide-card {
  max-width: 600px;
  width: 100%;
}

.section4 .slide-card .slide-label {
  background: #2457a7;
  color: #fff;
  padding: 20px 30px;
  border-radius: 15px 15px 0 0; /* 위쪽만 둥글게 */
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 5px 15px rgba(36,87,167,0.3);
}

.section4 .slide-card .slide-label .num {
  color: #73a9ff;
  font-size: 22px;
  margin-right: 12px;
  font-weight: 900;
}

.section4 .slide-card .slide-image {
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  border-radius: 0 0 20px 20px; /* 아래쪽만 둥글게 */
  overflow: hidden;
  position: relative;
}

.section4 .slide-card .slide-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 슬라이드 설명 (이미지 하단 오버레이) */
.section4 .slide-card .slide-desc {
  background: rgba(0,0,0,0.8); /* 반투명 검은색 배경 */
  color: #fff;
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-weight: 500;
}

.section4 .slide-card .slide-desc .tip {
  font-size: 13px;
  color: #ddd;
  display: block;
  margin-top: 8px;
}

/* 슬라이드 컨트롤 버튼 */
.section4 .slide-controls {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.section4 .slide-controls button {
  width: 60px;
  height: 60px;
  border: 3px solid #2457a7;
  background: #fff;
  border-radius: 50%; /* 원형 버튼 */
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #2457a7;
  box-shadow: 0 5px 15px rgba(36,87,167,0.2);
}

.section4 .slide-controls button:hover {
  background: #2457a7;
  color: #fff;
  transform: scale(1.15); /* 호버 시 확대 */
  box-shadow: 0 8px 20px rgba(36,87,167,0.4);
}

.section4 .slide-controls button svg {
  width: 28px;
  height: 28px;
}

/* 슬라이드 인디케이터 (점) */
.section4 .slide-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.section4 .slide-indicators .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 활성 인디케이터 */
.section4 .slide-indicators .dot.active {
  background: #2457a7;
  width: 40px; /* 가로로 늘어남 */
  border-radius: 7px;
}


/* ============================================
   12. 섹션5 - 채권추심
   ============================================ */

.section5 {
  background: #fff;
}

.section5 .inner {
  padding: 100px 20px;
}

.section5 .txt {
  float: left;
  position: relative;
  font-size: 48px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 40px;
}

.section5 .txt .blue {
  color: #2457a7;
}

.section5 .txt .sub {
  display: block;
  font-size: 18px;
  color: #333;
  font-weight: 500;
  margin-top: 35px;
  line-height: 1.7;
}

.section5 .img {
  float: left;
  margin-top: 0;
}

.section5 .img img {
  width: 100%;
  max-width: 400px;
  height: auto;
}


/* ============================================
   13. 섹션6 - 이런 활동을 해요!
   ============================================ */

.section6 {
  background: #2457a7; /* 파란색 배경 */
}

.section6 .inner {
  padding: 100px 0 100px; /* 좌우 여백 없음 (전체 너비 사용) */
}

.section6 .txt {
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 80px;
  animation: fadeIn 1s ease;
  padding: 0 20px;
}

.section6 .txt span {
  display: inline-block;
  border-bottom: solid 5px #fff;
  padding-bottom: 10px;
}

.section6 .activity-grid {
  max-width: 100%; /* 전체 너비 사용 */
  margin: 0;
}

/* 활동 카드 */
.section6 .activity-card {
  background: rgba(255,255,255,0.03); /* 반투명 배경 */
  border: none;
  border-top: 3px solid rgba(255,255,255,0.2);
  border-bottom: 3px solid rgba(255,255,255,0.2);
  padding: 45px 30px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 35px;
  transition: all 0.3s ease;
  animation: slideInLeft 0.6s ease; /* 왼쪽에서 슬라이드 인 */
  animation-fill-mode: both;
}

/* 각 카드별 애니메이션 딜레이 */
.section6 .activity-card:nth-child(1) { animation-delay: 0.1s; }
.section6 .activity-card:nth-child(2) { animation-delay: 0.2s; border-top: none; }
.section6 .activity-card:nth-child(3) { animation-delay: 0.3s; border-top: none; }
.section6 .activity-card:nth-child(4) { animation-delay: 0.4s; border-top: none; }

.section6 .activity-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 왼쪽 섹션: 숫자 + 이미지 (세로 배치) */
.section6 .activity-card .left-section {
  display: flex;
  flex-direction: column; /* 세로 배치 */
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.section6 .activity-card .num {
  font-size: 56px;
  font-weight: 900;
  color: #73a9ff;
  text-align: center;
  line-height: 1;
}

.section6 .activity-card .img {
  flex-shrink: 0;
}

.section6 .activity-card .img img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

.section6 .activity-card .desc {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  flex: 1; /* 남은 공간 모두 차지 */
}


/* ============================================
   14. 섹션7 - 이런 채권을 의뢰할 수 있어요! (채권유형)
   ============================================ */

.section7 {
  background: #f2f7ff;
}

.section7 .inner {
  padding: 100px 0 100px; /* 좌우 여백 없음 */
}

.section7 .txt {
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 80px;
  animation: fadeIn 1s ease;
  padding: 0 20px;
}

.section7 .txt span {
  display: inline-block;
  border-bottom: solid 5px #2457a7;
  padding-bottom: 10px;
}

.section7 .bond-grid {
  max-width: 100%; /* 전체 너비 사용 */
  margin: 0;
}

/* 채권 카드 */
.section7 .bond-card {
  background: #fff;
  border: none;
  border-top: 3px solid rgba(36,87,167,0.15);
  border-bottom: 3px solid rgba(36,87,167,0.15);
  padding: 45px 30px;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 35px;
  transition: all 0.3s ease;
  animation: slideInRight 0.6s ease; /* 오른쪽에서 슬라이드 인 */
  animation-fill-mode: both;
}

/* 각 카드별 애니메이션 딜레이 */
.section7 .bond-card:nth-child(1) { animation-delay: 0.1s; }
.section7 .bond-card:nth-child(2) { animation-delay: 0.2s; border-top: none; }
.section7 .bond-card:nth-child(3) { animation-delay: 0.3s; border-top: none; }
.section7 .bond-card:nth-child(4) { animation-delay: 0.4s; border-top: none; }

.section7 .bond-card:hover {
  background: #fff;
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(36,87,167,0.15);
}

/* 왼쪽 섹션: 숫자 + 이미지 (세로 배치) */
.section7 .bond-card .left-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.section7 .bond-card .num {
  font-size: 56px;
  font-weight: 900;
  color: #2457a7;
  text-align: center;
  line-height: 1;
}

.section7 .bond-card .img {
  flex-shrink: 0;
}

.section7 .bond-card .img img {
  max-width: 140px;
  width: 100%;
  height: auto;
}

/* 콘텐츠 영역 */
.section7 .bond-card .content {
  flex: 1;
}

.section7 .bond-card .tit {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin-bottom: 15px;
}

.section7 .bond-card .desc {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  font-weight: 500;
}


/* ============================================
   15. 섹션8 - 신용조사
   ============================================ */

.section8 {
  background: #fff;
}

.section8 .inner {
  padding: 100px 20px;
}

.section8 .txt {
  float: left;
  position: relative;
  font-size: 48px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 40px;
}

.section8 .txt .blue {
  color: #2457a7;
}

.section8 .txt .sub {
  display: block;
  font-size: 18px;
  color: #333;
  font-weight: 500;
  margin-top: 35px;
  line-height: 1.7;
}

.section8 .img {
  float: left;
  margin-top: 0;
}

.section8 .img img {
  width: 100%;
  max-width: 400px;
  height: auto;
}


/* ============================================
   16. 섹션9 - 고려를 선택하면 달라집니다!
   ============================================ */

.section9 {
  background: #2457a7;
}

.section9 .inner {
  padding: 100px 20px 100px;
}

.section9 .txt {
  text-align: center;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 80px;
}

.section9 .txt span {
  display: inline-block;
  border-bottom: solid 5px #fff;
  padding-bottom: 10px;
}

/* 혜택 그리드 (3열) */
.section9 .benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 혜택 카드 */
.section9 .benefit-card {
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 3px solid rgba(255,255,255,0.2);
}

.section9 .benefit-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.section9 .benefit-card .num {
  font-size: 32px;
  font-weight: 900;
  color: #73a9ff;
  margin-bottom: 25px;
}

.section9 .benefit-card .img {
  margin-bottom: 25px;
}

.section9 .benefit-card .img img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

.section9 .benefit-card .desc {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.8;
}


/* ============================================
   17. 섹션10 - 서비스 종류
   ============================================ */

.section10 {
  background: url(../img/section9_bg.png) no-repeat;
  background-size: cover;
  color: #fff;
}

.section10 .inner {
  padding: 80px 20px 100px;
}

.section10 .txt {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 80px;
}

.section10 .txt .blue {
  color: #73a9ff;
}

.section10 .txt .sub {
  display: block;
  font-size: 18px;
  font-weight: normal;
  margin-top: 25px;
  line-height: 1.6;
}

/* 서비스 그리드 (2열) */
.section10 .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

/* 서비스 카드 */
.section10 .service-card {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 40px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section10 .service-card:hover {
  background: #2457a7;
  border-color: #2457a7;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transform: translateY(-5px);
}

.section10 .service-card .tit {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.section10 .service-card .img {
  text-align: right;
}

.section10 .service-card .img img {
  width: 60px;
  height: auto;
}


/* ============================================
   18. 모바일 하단 고정 바
   ============================================ */

.m_bottom {
  display: none; /* 기본적으로 숨김 (모바일에서만 표시) */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100000; /* 가장 위에 표시 */
}


/* ============================================
   19. 반응형 디자인 - 데스크탑 (1200px 이하)
   ============================================ */

@media all and (max-width:1200px) {
  #header {
    height: 80px;
  }

  #header .tel {
    font-size: 27px;
    background-size: 25px;
    background-position: left center;
    padding-left: 35px;
  }

  .section1 .inner {
    padding-top: 80px;
    min-height: 800px;
  }

  /* 섹션 타이틀 크기 조정 */
  .section3 .txt,
  .section4 .txt,
  .section5 .txt,
  .section6 .txt,
  .section7 .txt,
  .section8 .txt,
  .section9 .txt,
  .section10 .txt {
    font-size: 45px;
  }
}


/* ============================================
   20. 반응형 디자인 - 태블릿 (1000px 이하)
   ============================================ */

@media all and (max-width:1000px) {
  #footer .logo {
    float: none;
    margin-right: 0px;
  }

  #footer .info {
    float: none;
    margin-top: 20px;
  }
}


/* ============================================
   21. 반응형 디자인 - 작은 태블릿 (880px 이하)
   ============================================ */

@media all and (max-width:880px) {
  #header .logo img {
    height: 40px; /* 32px + 8px */
    width: auto; /* 원본 비율 유지 */
  }
}


/* ============================================
   22. 반응형 디자인 - 태블릿 (820px 이하)
   ============================================ */

@media all and (max-width:820px) {
  .section5 .txt {
    margin-bottom: 70px;
    margin-top: 70px;
  }

  .section5 .img {
    width: 205px;
    margin-top: 50px;
  }

  .section8 .txt {
    margin-bottom: 70px;
    margin-top: 70px;
  }

  .section8 .img {
    width: 205px;
    margin-top: 50px;
  }
}


/* ============================================
   23. 반응형 디자인 - 모바일 (800px 이하)
   ============================================ */

@media all and (max-width:800px) {
  .section1 .inner {
    min-height: 680px;
  }

  /* 섹션 타이틀 크기 조정 */
  .section3 .txt,
  .section4 .txt,
  .section5 .txt,
  .section6 .txt,
  .section7 .txt,
  .section8 .txt,
  .section9 .txt,
  .section10 .txt {
    font-size: 36px;
  }

  /* 모바일 하단 바 표시 */
  .m_bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    z-index: 1;
  }

  .m_bottom p {
    width: 100%;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    background: #2457a7;
    font-size: 13px;
  }
}


/* ============================================
   24. 반응형 디자인 - 모바일 (600px 이하)
   ============================================ */

@media all and (max-width:600px) {
  /* 헤더 */
  #header {
    height: 55px;
  }

  #header .logo img {
    height: 32px; /* 24px + 8px */
    width: auto; /* 원본 비율 유지 */
  }

  #header .tel {
    font-size: 22px;
    background-size: 20px;
    background-position: left center;
    padding-left: 25px;
  }

  /* 푸터 */
  #footer {
    padding: 0 0 40px;
  }

  #footer .logo img {
    height: 16px; /* 모바일에서 더 작게 */
    width: auto; /* 원본 비율 유지 */
  }

  #footer .info {
    font-size: 13px;
  }

  /* 섹션1 모바일 */
  .section1 .inner {
    padding-top: 55px;
    min-height: 0;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 80px;
  }

  .section1 .content-grid {
    display: flex;
    flex-direction: column; /* 1열로 변경 */
    gap: 30px;
  }

  .section1 .txt {
    padding-top: 0;
    text-align: center;
  }

  .section1 .txt .main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section1 .txt .main-desc {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .section1 .txt .gold-text {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .section1 .txt .free-consult-btn {
    font-size: 16px;
    padding: 12px 35px;
  }

  .section1 .img {
    position: relative;
    width: 100%;
    text-align: center;
  }

  .section1 .img img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  /* 섹션2 모바일 */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .section2 {
    padding: 40px 0;
  }

  /* 상담신청 버튼 모바일 */
  .consulting-btn {
    bottom: 20px;
    right: 20px;
  }

  .consulting-btn img {
    width: 80px;
  }

  /* 모달 모바일 */
  .modal-overlay {
    padding: 5px;
  }

  .modal-content {
    max-width: 100%;
    border-radius: 15px;
    max-height: 98vh;
  }

  .consulting-form {
    padding: 35px 20px 25px;
  }

  .form-row {
    grid-template-columns: 1fr; /* 1열로 변경 */
    gap: 15px;
  }

  .modal-logo img {
    height: 30px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 30px;
    width: 35px;
    height: 35px;
  }

  /* 섹션3 모바일 */
  .section3 .txt {
    font-size: 26px;
    margin-top: 50px;
  }

  .section3 .txt .sub {
    font-size: 16px;
    margin-top: 10px;
  }

  .section3 .reason-grid {
    margin-top: 40px;
  }

  .section3 .reason-card {
    padding: 30px 20px;
  }

  .section3 .reason-item {
    flex-direction: column;
    gap: 8px;
  }

  .section3 .reason-card .icon {
    font-size: 28px;
  }

  .section3 .reason-card .title {
    font-size: 20px;
  }

  .section3 .reason-card .desc {
    font-size: 15px;
    padding-left: 0;
  }

  /* 섹션4 모바일 */
  .section4 .txt {
    font-size: 26px;
    margin-top: 50px;
  }

  .section4 .txt .sub {
    font-size: 16px;
    margin-top: 10px;
  }

  /* 섹션5 모바일 */
  .section5 .txt {
    font-size: 26px;
    margin-top: 50px;
    float: none;
    margin-bottom: 30px;
    margin-right: 0px;
  }

  .section5 .txt .sub {
    font-size: 16px;
    margin-top: 10px;
  }

  .section5 .img {
    clear: both;
    float: none;
    margin-top: 0px;
    text-align: center;
    margin: 0 auto;
  }

  .section5 .img img {
    width: 150px;
    height: auto;
  }

  /* 섹션6 모바일 */
  .section6 {
    margin-top: -20px;
  }

  .section6 .inner {
    padding: 50px 0 50px;
  }

  .section6 .txt {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .section6 .txt span {
    border-bottom: solid 4px #fff;
    padding-bottom: 8px;
  }

  .section6 .activity-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .section6 .activity-card {
    flex-direction: row; /* 가로 배치 */
    align-items: center;
    padding: 35px 20px;
    gap: 20px;
    border-top: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    border-right: none;
    border-left: none;
  }

  .section6 .activity-card:first-child {
    border-top: 2px solid rgba(255,255,255,0.3);
  }

  .section6 .activity-card .left-section {
    flex-direction: row; /* 가로 배치 */
    gap: 15px;
    align-items: center;
  }

  .section6 .activity-card .num {
    font-size: 42px;
    min-width: 60px;
    text-align: center;
    margin-bottom: 0;
  }

  .section6 .activity-card .img {
    flex-shrink: 0;
  }

  .section6 .activity-card .img img {
    max-width: 100px;
  }

  .section6 .activity-card .desc {
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
    text-align: left;
  }

  /* 섹션7 모바일 */
  .section7 {
    margin-top: -20px;
  }

  .section7 .inner {
    padding: 50px 0 50px;
  }

  .section7 .txt {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .section7 .txt span {
    border-bottom: solid 4px #000;
    padding-bottom: 8px;
  }

  .section7 .bond-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .section7 .bond-card {
    flex-direction: row;
    align-items: center;
    padding: 35px 20px;
    gap: 20px;
    border-top: none;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    border-right: none;
    border-left: none;
  }

  .section7 .bond-card:first-child {
    border-top: 2px solid rgba(0,0,0,0.1);
  }

  .section7 .bond-card .left-section {
    flex-direction: row;
    gap: 15px;
    align-items: center;
  }

  .section7 .bond-card .num {
    font-size: 42px;
    min-width: 60px;
    text-align: center;
    margin-bottom: 0;
  }

  .section7 .bond-card .img {
    flex-shrink: 0;
  }

  .section7 .bond-card .img img {
    max-width: 100px;
  }

  .section7 .bond-card .content {
    flex: 1;
    text-align: left;
  }

  .section7 .bond-card .tit {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .section7 .bond-card .desc {
    font-size: 15px;
    line-height: 1.6;
  }

  /* 섹션8 모바일 */
  .section8 .txt {
    font-size: 26px;
    margin-top: 50px;
    float: none;
    margin-bottom: 30px;
    margin-right: 0px;
  }

  .section8 .txt .sub {
    font-size: 16px;
    margin-top: 10px;
  }

  .section8 .img {
    clear: both;
    float: none;
    margin-top: 0px;
    text-align: center;
    margin: 0 auto;
  }

  .section8 .img img {
    width: 150px;
    height: auto;
  }

  /* 섹션9 모바일 */
  .section9 {
    margin-top: -20px;
  }

  .section9 .txt {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .section9 .txt span {
    border-bottom: solid 3px #fff;
  }

  .section9 .benefit-grid {
    grid-template-columns: 1fr; /* 1열로 변경 */
    gap: 25px;
  }

  .section9 .benefit-card {
    padding: 35px 25px;
  }

  .section9 .benefit-card .img img {
    max-width: 140px;
  }

  .section9 .benefit-card .desc {
    font-size: 16px;
  }

  /* 섹션10 모바일 */
  .section10 .txt {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .section10 .txt .sub {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .section10 .txt .sub br {
    display: none;
  }

  .section10 .service-grid {
    grid-template-columns: 1fr; /* 1열로 변경 */
    gap: 20px;
    max-width: 450px;
  }

  .section10 .service-card {
    padding: 30px 25px;
    min-height: 140px;
  }

  .section10 .service-card .tit {
    font-size: 22px;
  }

  .section10 .service-card .img img {
    width: 50px;
  }
}


/* ============================================
   25. 반응형 디자인 - 작은 모바일 (420px 이하)
   ============================================ */

@media all and (max-width:420px) {
  #header .logo img {
    height: 28px; /* 20px + 8px */
    width: auto; /* 원본 비율 유지 */
  }

  #header .tel {
    font-size: 18px;
    background-size: 15px;
    padding-left: 20px;
  }
}
