* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#wrap{
  overflow: hidden;
}

/* 기본 컨테이너 스타일 */
.container {
  width: 100%;
  max-width: 1200px; /* 데스크탑 최대 너비 */
  min-width: 320px;  /* 모바일 최소 너비 */
  margin: 0 auto;
  padding: 0 1rem; /* 좌우 여백 */
  box-sizing: border-box;
}

.section {
  background: #4171F4;
  position: relative;
  height: 400px;
  overflow: hidden;
}

/* 곡선 모양 만들기 */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: white;
  clip-path: ellipse(50% 60% at 50% 100%);
}

.hero-content {
  text-align: center;
  color: white;
  padding-top: 40px;
  position: relative;
  z-index: 3;
}

.overlay-text {
  margin-bottom: 15px;
  position: relative;
  z-index: 3;
}

h4.overlay-text {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.header-text {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 14px;
  z-index: 1000;
}

/* 직장인 강조 스타일 */
.highlight {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 25px;
  margin-right: 5px;
  position: relative;
  display: inline-block;
  font-weight: bold;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

/* 펄스 애니메이션 */
@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* 직장인 텍스트 주변 장식 */
.highlight::before,
.highlight::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.highlight::before {
    left: -20px;
}

.highlight::after {
    right: -20px;
}

h1.overlay-text {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 20px;
  padding-bottom: 60px;
}

.corner-image-left,
.corner-image-right {
  width: 120px;
  position: absolute;
  bottom: 60px;
  z-index: 1; /* 텍스트보다 아래에 위치하도록 z-index 설정 */
}

.corner-image-left {
  left: 5%;
  animation: float-left 2s ease-in-out infinite;
}

.corner-image-right {
  right: 5%;
  animation: float-right 2s ease-in-out infinite;
}

@keyframes float-left {
  0%, 100% {
      transform: translateY(0) rotate(-5deg);
  }
  50% {
      transform: translateY(-20px) rotate(-5deg);
  }
}

@keyframes float-right {
  0%, 100% {
      transform: translateY(0) rotate(5deg);
  }
  50% {
      transform: translateY(-20px) rotate(5deg);
  }
}

/* 작은 장식 요소 */
.decoration {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.decoration-1 {
  top: 20%;
  left: 15%;
}

.decoration-2 {
  top: 30%;
  right: 20%;
}

/* 법률 정보 컨테이너 */
.law-info {
  margin: 20px auto;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  position: relative; /* 위치 지정 */
  z-index: 2; /
}

/* 법률 뱃지 스타일 */
.law-badge {
  display: inline-block;
  background-color: white;
  color: #4171F4;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 법률 텍스트 스타일 */
.law-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all; /* 단어 단위 줄바꿈 */
}

.quick-apply-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  background: linear-gradient(135deg, #4F8AFF 0%, #4171F4 100%); /* 그라데이션 추가 */
  box-shadow: 0 4px 15px rgba(65, 113, 244, 0.4); /* 그림자 효과 강화 */
  padding: 12px 24px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2); /* 테두리 추가 */
}

/* 호버 효과 */
.quick-apply-btn:hover {
  background: linear-gradient(135deg, #4171F4 0%, #3461E0 100%);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(65, 113, 244, 0.5);
}

/* 부드러운 스크롤 효과 추가 */
html {
  scroll-behavior: smooth;
}

/* Info Section 추가 스타일 */
.info-section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 1;
}

.info-title {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #333;
}

.info-title .underline {
  position: relative;
  color: #333;
  font-weight: bold;
  z-index: 1;
}

.info-title .underline::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #1EF0A5;
  z-index: -1;
}

.info-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 15px;
  background-color: #E4E9EF;
  border-radius: 20px;
}

.info-description {
  font-size: 20px;
  margin-bottom: 50px;
  color: #333;
}

.info-description .highlight {
  color: #4171F4;
  font-weight: bold;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  animation: none;
  transform: none;
}

.bar-chart {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  height: 300px;
  margin-top: 80px;
  position: relative;
  padding-top: 40px;
}

.bar {
  width: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.bar::before {
  content: '';
  position: absolute;
  bottom: 50px;
  width: 100%;
  background: #f0f0f0;
  transition: height 1s ease;
}

/* 각 막대 높이 조정 */
.bar.high-interest::before {
  height: 250px;
  background: #e0e0e0;
}

.bar.card-loan::before {
  height: 200px;
  background: #e8e8e8;
}

.bar.low-interest::before {
  height: 150px;
  background: #4171F4;
}

/* 퍼센테이지 스타일 */
.bar .percentage {
  position: absolute;
  top: -80px; /* 상단에 위치하도록 조정 */
  font-size: 20px;
  font-weight: bold;
  color: #333;
  width: 100%;
  text-align: center;
}

.bar.low-interest .percentage {
  color: #4171F4;
  animation: fadeInDown 1s ease;
}

/* label 스타일 수정 */
.label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #666;
  white-space: nowrap; /* 줄바꿈 방지 */
  width: auto; /* 고정 너비 제거 */
  text-align: center;
  min-width: max-content; /* 텍스트 길이만큼 너비 확보 */
}

/* 카드론/저축은행 막대 특별 처리 */
.bar.card-loan .label {
  width: auto;
  white-space: nowrap;
  /* 필요한 경우 font-size 조정 */
  font-size: 14px;
  margin-right: 40px; /* 기존 마진 유지 */
}

/* 화살표 이미지로 대체 */
.bar.low-interest::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; /* 이미지 크기 조절 */
  height: 24px;
  background-image: url('arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: bounceArrow 2s infinite;
}

/* 화살표 이미지 크기 조절 */
.arrow-image {
  position: absolute;
  top: -20px;
  left: -20px;
  transform: translateX(-50%);
  width: 40px; /* 이미지 크기 축소 */
  height: 40px; /* 이미지 크기 축소 */
  animation: bounceArrow 2s infinite;
}

/* 카드론/저축은행 막대 오른쪽 마진 추가 */
.bar.card-loan {
  margin-right: 40px; /* 오른쪽 마진 추가 */
}

.calculator-section {
  background-color: #F5F6F8;
  padding: 60px 0;
}

.calc-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center; /* 다른 요소들은 중앙 정렬 유지 */
  padding: 40px 20px;
}

.calc-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: left; /* 제목만 왼쪽 정렬 */
}

.loan-amount {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.amount-highlight,
.rate-highlight {
  color: #4171F4;
  font-weight: bold;
  font-size: 32px;
}

.payment-box {
  background-color: #4171F4;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-block;
  font-size: 40px;
  margin: 20px 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;

}

/* 물음표 애니메이션 스타일 */
.question-marks {
  display: inline-block;
  font-weight: bold;
  font-size: 36px;
  margin-left: 5px;
  animation: bounce 1s infinite;
}

/* 호버 효과 */
.payment-box:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(65, 113, 244, 0.3);
}

.result {
  font-size: 20px;
  margin: 20px 0;
  color: #333;
}

.result-amount {
  color: #4171F4;
  font-weight: bold;
  font-size: 24px;
}

.notes {
  margin-top: 30px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  text-align: left; /* 왼쪽 정렬 추가 */
}

.notes p {
  margin: 5px 0;
  text-align: left; /* p 태그에도 왼쪽 정렬 명시 */
  padding-left: 20px; /* 왼쪽 여백 추가 */
  text-indent: -20px; /* ※ 기호를 내어쓰기 위한 설정 */
}

/* 하이라이트 텍스트 스타일 추가 */
.notes-highlight {
  color: #4171F4; /* 또는 #4171F4 - 기존 파란색과 맞추고 싶다면 */
  font-weight: 500; /* 살짝 더 굵게 - 선택사항 */
}

.eligibility-section {
  padding: 60px 0;
  background-color: #fff;
}

.eligibility-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
}

.checklist {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.checklist-item {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.checklist-item img {
  width: 16px; /* 텍스트 크기와 동일하게 */
  height: 16px; /* 텍스트 크기와 동일하게 */
  margin-right: 8px;
}

/* 대상 텍스트 스타일 */
.checklist-item div {
  color: #4171F4;
  font-weight: bold;
  margin-right: 8px;
}

/* 활성화된 항목의 '대상' 텍스트 */
.checklist-item.active div {
  color: #4171F4;
  font-weight: bold;
  margin-right: 8px;
}

/* 비활성화된 항목의 '대상' 텍스트 */
.checklist-item.inactive div {
  color: #FF4B4B; /* 빨간색 */
  font-weight: bold;
  margin-right: 8px;
}

.checklist-item span.highlight {
  color: #4171F4;
  font-weight: bold;
}

.eligibility-notes {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  word-break: keep-all;
}

.status-section {
  padding: 60px 0;
  background-color: #F5F6F8;
}

.status-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.status-content {
  display: flex;
  gap: 40px;
}

.status-left {
  flex: 0 0 400px;
}

.status-right {
  flex: 1;
}

.status-profile {
  margin-bottom: 30px;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image img {
  width: 80%;
  height: auto;
}

.profile-info {
  text-align: center;
}

.profile-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.profile-details {
  color: #666;
  line-height: 1;
  margin-bottom: 15px;
  text-align: left;  /* 왼쪽 정렬로 변경 */
  white-space: pre-line;  /* 줄바꿈 유지 */
}

.loan-status {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  line-height: 1.6;
}

.loan-tables {
  width: 100%;
}

.loan-table {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
}

.loan-table th {
  background: #0066ff;
  color: white;
  padding: 10px;
  text-align: center;
}

.loan-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.total-row {
  background: #e8f4ff;
  font-weight: bold;
}

.blue-arrow {
  display: block;
  text-align: center;
  margin: 20px 0;
}
.status-people{
  height: 800px;
}

.status-plus{
  height: 30px;
}
.status-arrow{
  height: 60px;
}



.status-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
}

.status-list {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px; /* 모서리를 더 둥글게 */
  padding: 25px 0px 25px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* 부드러운 그림자 */
  height: 350px;
  overflow-y: auto;
  scroll-behavior: smooth;
  position: relative; /* 포지션 추가 */
}

.status-item {
  display: flex;
  align-items: center;
  padding: 20px 25px 20px 20px;
  border-bottom: 1px solid #f1f3f5;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.status-item:hover {
  transform: translateX(5px);
  background: linear-gradient(to right, #f8f9fa, white);
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


.status-item:last-child {
  border-bottom: none;
}

/* 스크롤바 스타일 */
.status-list::-webkit-scrollbar {
  width: 6px;
  position: absolute; /* 포지션 추가 */
  right: 0; /* 오른쪽 정렬 */
}

.status-list::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
  margin: 5px; /* 상하 여백 추가 */
}

.status-list::-webkit-scrollbar-thumb {
  background: #e9ecef;
  border-radius: 3px;
  border: 2px solid transparent; /* 테두리 추가 */
  background-clip: padding-box; /* 배경이 테두리 안쪽에만 적용되도록 */
}

.status-list::-webkit-scrollbar-thumb:hover {
  background: #dee2e6;
  border: 2px solid transparent;
  background-clip: padding-box;
}
/* Firefox를 위한 스크롤바 스타일 */
.status-list {
  scrollbar-width: thin;
  scrollbar-color: #e9ecef #f8f9fa;
}

.status-item:hover {
  background: #f8f9fa;
}

.status-badge {
  padding: 8px 16px;
  border-radius: 30px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  margin-right: 20px;
  min-width: 85px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: none; /* 기존 배경 제거 */
}

/* 신규대출 배지 */
.status-badge.new {
  background: #4171F4;
  box-shadow: 
      inset -2px -2px 4px rgba(0, 0, 0, 0.2),
      inset 2px 2px 4px rgba(255, 255, 255, 0.2),
      5px 5px 10px rgba(65, 113, 244, 0.2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.new::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* 추가대출 배지 */
.status-badge.additional {
  background: #4CAF50;
  box-shadow: 
      inset -2px -2px 4px rgba(0, 0, 0, 0.2),
      inset 2px 2px 4px rgba(255, 255, 255, 0.2),
      5px 5px 10px rgba(76, 175, 80, 0.2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.additional::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* 재무설계 배지 */
.status-badge.plan {
  background: #FF5722;
  box-shadow: 
      inset -2px -2px 4px rgba(0, 0, 0, 0.2),
      inset 2px 2px 4px rgba(255, 255, 255, 0.2),
      5px 5px 10px rgba(255, 87, 34, 0.2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.plan::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

/* 반짝이는 효과 애니메이션 */
@keyframes shine {
  0% {
      left: -50%;
  }
  100% {
      left: 150%;
  }
}

/* 호버 효과 */
.status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 
      inset -2px -2px 4px rgba(0, 0, 0, 0.3),
      inset 2px 2px 4px rgba(255, 255, 255, 0.3),
      5px 8px 15px rgba(0, 0, 0, 0.2);
}

.status-text {
  flex: 1;
  color: #495057;
  font-size: 15px;
  font-weight: 500;
}

.status-time {
  color: #adb5bd;
  font-size: 13px;
  margin-left: 20px;
}

.application-section {
  padding: 60px 0;
  background-color: #EEF2FF;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.application-title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.security-info {
  text-align: center;
  margin-bottom: 30px;
}

.shield-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
}

.security-info p {
  color: #666;
  font-size: 14px;
  margin: 5px 0;
  font-weight: bold;
}

.security-info .warning {
  color: #FF4B4B;
  font-weight: bold;
}

/* 폼 스타일 */
#consultForm {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
}

.advice_in ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advice_in li {
  margin-bottom: 25px;
  font-size: 15px;
  color: #333;
  width: 100%;
}

/* 입력 필드 공통 스타일 */
.form_name, #memo {
  width: 100%;
  padding: 12px;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

/* 입력 필드 스타일 */
.form_name {
  width: 100%;
  padding: 12px;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 14px;
}

/* 전화번호 입력 박스 스타일 */
.phone {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 0; /* 기존 마진 제거 */
}

.phone input {
  flex: 1;
  padding: 12px;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  text-align: center;
}

#numb1 {
  flex: 0.8;
}

/* 라디오 버튼 스타일 */
.radio1 {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

input[type="radio"] {
  margin-right: 6px;
}

/* 메모 텍스트영역 */
#memo {
  width: 100%;
  padding: 12px;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 14px;
  height: 100px;
  resize: none;
  box-sizing: border-box; /* border와 padding을 width에 포함 */
}

/* 개인정보 동의 섹션 */
.advice_information {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid #E1E1E1;
}

.clickable-text {
  position: relative;
  cursor: pointer; /* 마우스 커서를 포인터로 변경 */
  transition: all 0.2s ease;
  padding: 8px 12px; /* 여백 추가 */
  border-radius: 4px; /* 둥근 모서리 */
}

.clickable-text:hover {
  background-color: #f5f5f5; /* 배경색 변경 */
  color: #4171F4; /* 글자색 변경 */
}

/* 선택적: 밑줄 효과 추가 */
.clickable-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background-color: #4171F4;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

/* 제출 버튼 */
.btn_box {
  margin-top: 30px;
}

.limit_btn {
  width: 100%;
  padding: 15px;
  background: #4171F4;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.limit_btn span {
  font-size: 12px;
}

#policy_details textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  border: 1px solid #E1E1E1;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  text-align: left;
  white-space: pre-line; /* pre-wrap에서 변경 */
  color: #333;
  background-color: #f8f8f8;
  word-break: keep-all; /* 단어 단위 줄바꿈 */
  overflow-y: auto; /* 세로 스크롤 허용 */
  letter-spacing: -0.5px; /* 자간 조정 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 시스템 폰트 사용 */
}

/* textarea 내용 들여쓰기 방지 */
#policy_details textarea {
  text-indent: 0;
  padding-left: 15px;
}

/* 텍스트 정렬 보정 */
#policy_details {
  text-align: left;
  word-break: keep-all;
}

/* 스크롤바 스타일링 (선택사항) */
#policy_details textarea::-webkit-scrollbar {
  width: 8px;
}

#policy_details textarea::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#policy_details textarea::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

#policy_details textarea::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.footer {
  background-color: #eee;
  padding: 40px 0;
  font-size: 11pt;
  color: #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

.footer p {
  margin: 0;
  padding: 5px 0;
}

.company-info {
  margin-bottom: 15px;
}

.loan-info {
  margin: 15px 0;
}

.warning {
  font-weight: bold;
  margin: 15px 0;
}

.additional-info {
  margin: 15px 0;
}

.loan-example {
  margin: 20px 0;
}

.copyright-notice {
  margin: 20px 0;
  font-size: 10pt;
}

.copyright {
  margin-top: 15px;
  font-size: 10pt;
}

.fade-in {
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideOut {
  from {
      opacity: 1;
      transform: translateY(0);
  }
  to {
      opacity: 0;
      transform: translateY(100%);
  }
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateY(-100%);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* 화살표 애니메이션 유지 */
@keyframes bounceArrow {
  0%, 100% {
      transform: translateX(-50%) translateY(0);
  }
  50% {
      transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


/* 물음표 애니메이션 */
@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-5px);
  }
}


/* 태블릿 크기 */
@media (max-width: 1024px) {
  .container {
      max-width: 90%;
  }

  .corner-image-left {
      left: 3%;
  }

  .corner-image-right {
      right: 3%;
  }

  .status-section {
    padding: 60px 0;
    background-color: #F5F6F8;
  }
  
  .status-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* 컨텐츠를 세로로 배치하도록 수정 */
  .status-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  /* 프로필 섹션 수평 배치 */
  .status-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  /* 프로필 이미지 컨테이너 */
  .profile-image {
    flex: 0 0 200px; /* 고정 너비 */
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .profile-image img {
    width: 80%;
    height: auto;
  }
  
  /* 프로필 정보 */
  .profile-info {
    flex: 1;
    text-align: left; /* 왼쪽 정렬로 변경 */
  }
  
  .profile-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .profile-details {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    white-space: pre-line;
  }
  
  .loan-status {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    line-height: 1.6;
  }
  
  /* 테이블 섹션 */
  .loan-tables {
    width: 100%;
  }
  
  .loan-table {
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
  }
  
  .loan-table th {
    background: #0066ff;
    color: white;
    padding: 10px;
    text-align: center;
  }
  
  .loan-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }
  
  .total-row {
    background: #e8f4ff;
    font-weight: bold;
  }
  
  .blue-arrow {
    display: block;
    text-align: center;
    margin: 20px 0;
  }
  
  .status-people {
    height: 800px;
  }
  
  .status-plus {
    height: 30px;
  }
  
  .status-arrow {
    height: 60px;
  }
}

/* 모바일 크기 */
@media (max-width: 768px) {
  .container {
      max-width: 100%;
      padding: 0 0.875rem; /* 모바일에서는 여백 줄임 */
  }

  .section {
      height: 350px;
  }

  h1.overlay-text {
      font-size: 32px;
  }

  h4.overlay-text {
      font-size: 20px;
      z-index: 2;
  }

  .highlight {
    padding: 6px 12px;
  }

  .highlight::before,
  .highlight::after {
      font-size: 12px;
  }

  .corner-image-left,
  .corner-image-right {
      width: 100px;
      bottom: 50px;
  }

  .hero-image {
      padding-bottom: 50px;
  }

  .law-info {
    padding: 0 15px;
    margin: 15px auto;
  }

  .law-badge {
      font-size: 12px;
      padding: 6px 15px;
  }

  .law-text {
      font-size: 8px;
  }

  .quick-apply-btn {
    bottom: 30px;
    font-size: 14px;
    padding: 10px 20px;
  }

  .info-section {
    padding: 40px 0.875rem;
  }

  .info-title {
      font-size: 24px;
  }

  .info-description {
      font-size: 20px;
      padding: 0 20px;
  }

  .bar-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    height: 300px;
    margin-top: 80px;
    position: relative;
    padding-top: 60px; /* 상단 패딩 증가 */
  }

  .bar {
      width: 80px;
  }

  .label {
    font-size: 12px;
  }

  .bar.card-loan .label {
      font-size: 12px;
  }

  .bar::before {
    bottom: 40px;
  }

  .bar.high-interest::before {
      height: 200px;
  }

  .bar.card-loan::before {
      height: 160px;
  }

  .bar.low-interest::before {
      height: 120px;
  }

  .bar.low-interest::after {
    width: 20px; /* 모바일에서 이미지 크기 조정 */
    height: 20px;
  }

  .arrow-image {
    width: 34px; /* 모바일에서 이미지 크기 조절 */
    height: 34px;
  }

  .bar.card-loan {
      margin-right: 20px; /* 모바일에서 마진 축소 */
  }

  .calc-box {
    padding: 30px 15px;
  }

  .calc-title {
    padding-left: 10px; /* 모바일에서 약간의 왼쪽 여백 추가 */
  }

  .loan-amount {
      font-size: 20px;
  }

  .amount-highlight,
  .rate-highlight {
      font-size: 26px;
  }

  .payment-box {
    font-size: 24px;
    padding: 12px 25px;
  }

  .question-marks {
      font-size: 20px;
  }

  .result {
      font-size: 20px;
  }

  .result-amount {
      font-size: 22px;
  }

  .notes {
    font-size: 10px;
    padding: 0 20px;
  }

  .notes p {
      padding-left: 15px; /* 모바일에서는 여백 줄임 */
      text-indent: -15px;
  }

  .eligibility-section {
    padding: 40px 0;
  }

  .eligibility-title {
      font-size: 24px;
      margin-bottom: 30px;
  }

  .checklist-item {
    font-size: 14px;
  }

  .checklist-item img {
      width: 14px; /* 모바일에서 텍스트 크기와 동일하게 */
      height: 14px;
  }
  
  .item-content {
    padding-left: 22px;
  }

  .eligibility-notes {
      font-size: 12px;
      margin-top: 30px;
  }

  .status-section {
    padding: 40px 0;
  }

  .status-title {
      font-size: 24px;
      margin-bottom: 30px;
  }

  .status-list {
    margin: 0 15px;
    padding: 20px;
    height: 300px;
  }

  .status-item {
      padding: 15px;
  }

  .status-badge {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 75px;
  }

  .status-text {
      font-size: 14px;
  }

  .status-time {
      font-size: 12px;
      margin-left: 15px;
  }

  .application-section {
    padding: 40px 20px;
  }

  .application-title {
      font-size: 24px;
  }

  .application-form {
      padding: 20px;
  }

  .submit-button {
      font-size: 15px;
  }
  #consultForm {
    padding: 20px;
    margin: 0 15px;
  }

  .advice_in {
    padding: 0 10px;
  }

  .advice_in li {
    margin-bottom: 20px;
    font-size: 14px;
    width: 100%;
    padding: 0 10px;
  }
  /* 라디오 버튼 영역 */
  .radio1 {
    display: flex;
    gap: 15px; /* 간격 조정 */
    margin-top: 8px;
    flex-wrap: wrap; /* 필요시 줄바꿈 허용 */
  }

  .phone {
    gap: 5px; /* 간격 줄임 */
  }
  
  .phone input {
    padding: 8px;
    font-size: 14px;
    min-width: 0; /* 박스가 넘치는 것을 방지 */
    flex: 1; /* 균등 분배 */
  }

  #numb1 {
    flex: 0.8; /* 첫 번째 입력란은 조금 더 작게 */
  }

  .limit_btn {
      font-size: 15px;
      width: 100%;
  }

  #memo {
    width: 100%;
    margin: 8px 0;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-content {
      font-size: 10pt;
  }

  .copyright-notice,
  .copyright {
      font-size: 9pt;
  }
}

/* 더 작은 모바일 화면을 위한 추가 미디어 쿼리 */
@media (max-width: 375px) {
  .status-list {
    height: 260px;
    padding: 12px;
  }

  .status-item {
      padding: 10px;
  }

  .status-text {
      font-size: 13px;
  }
  .advice_in li {
    font-size: 13px;
  }

  .radio1 {
    gap: 10px;
  }
}
