
/* 기본 폰트 및 초기화 */
body, input, button, textarea, select {
  font-family: 'Noto Sans KR', 'Open Sans', 'Raleway', 'Roboto', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* 상단 헤더 */
.top-header {
  background: #2196f3;
  padding: 16px 0;
  color: #fff;
  text-align: center;
  width: 100%;
}

.top-header .company-name img {
  width: auto;                  /* 너비 자동으로 비율 유지 */
  max-height: 60px;             /* 세로 높이 제한 유지 */
  height: 100%;
  display: block;
  margin: 0 auto;
}
/* 푸터 영역 */
footer {
  text-align: center;
  padding: 24px 10px;
  font-size: 14px;
  color: #444;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  line-height: 1.7;
}

footer .company-info {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}
/* 메인 영역 */
.top-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 폼 및 이미지 박스 */
.form-box, .image-box {
  flex: 1 1 300px;
  max-width: 500px;
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

/* 폼 구성 */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 1rem;
}

.form-group input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.phone-input {
  display: flex;
  gap: 6px;
}

.phone-input input {
  flex: 1;
  text-align: center;
}

.amount-input {
  position: relative;
}

.amount-input input {
  width: 100%;
  padding-right: 45px;
}

.amount-input .unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #666;
}

button.cta-btn {
  width: 100%;
  background: #2196f3;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

button.cta-btn:hover {
  background: #1976d2;
}

/* 대출진행과정 섹션 */
.process-section {
  width: 100%;
  background: #e3f2fd;
  padding: 40px 20px;
  margin: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}
.process-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  overflow-x: auto;
}

.step {
  flex: 1 1 auto;
  max-width: 120px;
  text-align: center;
}

.circle {
  background: #2196f3;
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.0rem;
 
}
.circle .material-symbols-outlined {
  font-size: 3rem;  /* ← 여기서 크기 조절 */
}
.step:hover .circle {
  transform: scale(1.2);
  background: #1565c0; /* 더 진한 파란색 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.step:hover .circle > * {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}
.step h3 {
  font-size: 2rem;
  margin-bottom: 6px;
  color: #0d47a1;
}

.step p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
}

.arrow {
  font-size: 2rem;
  color: #0d47a1;
  
}

/* 모달창 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.modal-content {
  background: #fff;
  max-width: 500px;
  width: 90%;
  margin: 5vh auto;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-buttons button {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.modal-buttons .cancel-btn {
  background-color: #f44336;
  color: #fff;
}

.modal-buttons .confirm-btn {
  background-color: #2196f3;
  color: #fff;
}

.modal-buttons button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 반응형 */
@media (max-width: 768px) {
  .top-area {
    flex-direction: column;
    padding: 15px;
  }

  .form-box, .image-box {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 15px;
    box-sizing: border-box;
  }

  .top-header .company-name img {
    max-width: 200px;
  }

  .process-steps {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    overflow-x: visible;
  }

  .arrow {
    display: none;
  }

  .modal-content {
    width: 90%;
    margin: 10vh auto;
  }
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
    margin: 5vh auto;
  }
}
