main {
  padding: 3rem 0 6rem;
}

.container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== 배너 섹션 ===== */
.banner-section {
  margin-bottom: 1.6rem;
}

.banner-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1.8rem;
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  background: #EAF3FD url(../img/mb_main_icon_1.png) no-repeat right 5% bottom 23%/cover;
  background-size: 15rem;
}

.banner-text {
  flex: 1;
}

.banner-sub {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1F4FCC;
  margin: 0 0 0.8rem;
}

.banner-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1F4FCC;
  line-height: 1.35;
  margin: 0 0 3.2rem;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.banner-link span{
  font-size: 1.5rem;
    color: #2F6BFF;
    font-weight: 600;
}
.banner-link img {
  width: 2.3rem;
}


/* ===== 빠른 메뉴 섹션 ===== */
.quick-section {
  margin-bottom: 5rem;
}

.quick-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-item {
  display: block;
  position: relative;
  padding: 2rem;
  border-radius: 1.8rem;
  min-height: 15rem;
  text-decoration: none;
  color: inherit;
}

.quick-item-blue {
  background: #EAF3FD url(../img/mb_main_icon_3.png)no-repeat right 16% bottom 51%/cover;
  background-size: 5rem;
}

.quick-item-green {
  background: #E6F6F3 url(../img/mb_main_icon_4.png)no-repeat right 16% bottom 51%/cover;
  background-size: 5rem;
}

.quick-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
}

.quick-item-blue h3 {
  color: #1F4FCC;
}

.quick-item-green h3 {
  color: #17876D;
}

.quick-item p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.quick-item-blue p {
  color: #1F4FCC;
}

.quick-item-green p {
  color: #17876D;
}

.quick-icon {
  position: absolute;
  right: 2rem;
  bottom: 5.6rem;
}

.quick-arrow {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== 대출 상품 섹션 ===== */
.products-section {
  margin-bottom: 5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2647;
  margin: 0 0 1.8rem;
}

.products-list {
  border: 0.1rem solid #e5e8ee;
  border-radius: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
}

.products-list > li {
  border-bottom: 0.1rem solid #eef0f5;
}

.products-list > li:last-child {
  border-bottom: none;
}

.product-item {
  display: flex;
  align-items: center;
  padding: 1.8rem 2.4rem;
  text-decoration: none;
  color: inherit;
}

.product-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.6rem;
  flex-shrink: 0;
}

.product-icon img {
  width: 2.2rem;
}

.product-icon-blue {
  background-color: #e3ebfa;
}

.product-icon-green {
  background-color: #d6ebde;
}

.product-icon-purple {
  background-color: #eae3fa;
}

.product-name {
  flex: 1;
  font-size: 1.8rem;
  color: #2a324b;
  margin: 0;
  font-weight: 500;
}

.product-btn {
  display: inline-block;
  background-color: #EAF3FD;
  color: #1F4FCC;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0.8rem 1.8rem;
  border-radius: 2rem;
  border: 1px solid #D5E9FF;
}

/* ===== 추가 서비스 섹션 ===== */
.services-section{padding-bottom: 2rem;}
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  display: block;
  background-color: #F6F8FC;
  border-radius: 1.4rem;
  padding: 2.6rem 1rem 2.2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.service-icon {
  display: inline-block;
  margin-bottom: 1.6rem;
}

.service-icon img {
  width: 5rem;
  display: block;
}

.service-name {
  font-size: 1.4rem;
  color: #3a4258;
  margin: 0;
  font-weight: 500;
}

/* ===== 페이지 헤더 (서브 헤더) ===== */
.page-header-section {
  border-bottom: 0.1rem solid #eef0f5;
  background-color: #fff;
}

.page-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.6rem;
}

.back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.back-btn img {
  width: 2.5rem;
  display: block;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1F4FCC;
  letter-spacing: -0.05rem;
  line-height: 1;
}

/* ===== 비교 폼 섹션 ===== */

/* 탭 */
.tab-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  height: 4rem;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  color: #9aa0ad;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.tab-btn-active {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel-active {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* 셀렉트 그룹 (라벨 위, 박스 아래) */
.select-group {
  display: flex;
  flex-direction: column;
}

.select-label {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.required {
  font-size: 1.5rem;
  font-weight: 500;
  color: #e94e4e;
  letter-spacing: 0;
  margin-left: 0.2rem;
}

.select-box {
  position: relative;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
}

.select-input {
  width: 100%;
  height: 5.4rem;
  padding: 0 4.4rem 0 1.8rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  background-color: transparent;
  border: 0;
}

.select-arrow {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.4rem;
  pointer-events: none;
}

.select-arrow img {
  width: 100%;
  display: block;
}

/* 인풋 그룹 (라벨 + 인풋 + 단위 한 줄) */
.input-group {
  display: flex;
  align-items: center;
  height: 5.4rem;
  padding: 0 1.8rem;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
}

.input-label {
  flex-shrink: 0;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.input-field {
  flex: 1;
  height: 100%;
  min-width: 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  background-color: transparent;
}

.input-field::placeholder {
  font-size: 1.5rem;
  font-weight: 400;
  color: #b6b9c0;
  letter-spacing: -0.05rem;
}

.input-unit {
  margin-left: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
}

/* 제출 버튼 */
.submit-btn {
  display: block;
  width: 22rem;
  height: 5rem;
  margin: 4rem auto 0;
  border-radius: 1rem;
  background-color: #2563eb;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.05rem;
  line-height: 1;
}


/* ===== 카테고리 탭 ===== */
.category-section {
  padding-bottom: 2rem;
}

.category-tabs {
  display: flex;
  gap: 1rem;
}

.category-tab {
  flex: 1;
  height: 4rem;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  color: #9aa0ad;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.category-tab-active {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* ===== 검색 영역 ===== */
.search-section {
  background-color: #EAF3FD;
  padding: 1rem 0;
}

.search-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* 커스텀 셀렉트 */
.custom-select {
  position: relative;
  flex: 1;
}

.custom-select-wide {
  flex: 1.3;
}

.custom-select.house .select-trigger {
  padding: 0 1rem;
}

.custom-select.house .select-arrow {
  margin-left: 0.4rem;
}
.search-btn.house{padding: 0 1rem;}
.select-arrow.house{position: absolute;top: 1.9rem;right: 0.5rem;}

.select-trigger {
  width: 100%;
  height: 4rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  position: relative;
}

.select-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
}

.select-arrow {
  display: flex;
  align-items: center;
  margin-left: 0.8rem;
  pointer-events: none;
}

.select-arrow img {
  width: 1.2rem;
  display: block;
}

.select-options {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.05);
  display: none;
}

.custom-select.is-open .select-options {
  display: block;
}

.select-option {
  padding: 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  cursor: pointer;
}

/* 검색 버튼 */
.search-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 4rem;
  padding: 0 2rem;
  border-radius: 1rem;
  background-color: #2563eb;
}

.search-btn img {
  width: 1.5rem;
  display: block;
}
.search-btn span{font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.05rem;
  line-height: 1;}
/* ===== 결과 영역 ===== */
.result-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.result-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.4;
}

.sort-list {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sort-btn {
  font-size: 1.4rem;
  font-weight: 500;
  color: #9aa0ad;
  letter-spacing: -0.05rem;
  line-height: 1;
  background: none;
}

.sort-btn-active {
  color: #2F6BFF;
  font-weight: 700;
}

.sort-divider {
  font-size: 1.4rem;
  color: #d4d6db;
  line-height: 1;
}

/* 상품 카드 */
.card-loading{font-size: 1.6rem; color: #8b8b8b;}
.product-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card {
  display: flex;
  align-items: center;
  padding: 2rem;
  border: 0.1rem solid #e1e3e8;
  border-radius: 1.2rem;
  background-color: #fff;
  text-decoration: none;
  color: inherit;
}

.product-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-right: 1.4rem;
}

.product-card-icon img {
  width: 3.4rem;
  display: block;
}

.product-card-info {
  flex: 1;
  min-width: 0;
}

.product-card-bank {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.product-card-name {
  margin: 0 0 1.2rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.3;
}

.product-card-rate {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.rate-label {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
}

.rate-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e94e4e;
  letter-spacing: -0.05rem;
}

.rate-value em {
  font-size: 1.3rem;
  font-weight: 400;
  font-style: normal;
  color: #e94e4e;
}

.product-card-arrow {
  flex-shrink: 0;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-arrow img {
  width:3rem;
  display: block;
}

/* ===== 페이지네이션 ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.page-btn {
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.1rem solid #e1e3e8;
  border-radius: 0.6rem;
  background-color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  color: #9aa0ad;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.page-btn-active {
  border-color: #2F6BFF;
  color: #2F6BFF;
  font-weight: 700;
}

.page-btn-nav {
  background-color: #fff;
  border-color: #e1e3e8;
}

.page-btn-nav img {
  width: 1.5rem;
  display: block;
}

.page-dots {
  padding: 0 0.4rem;
  font-size: 1.4rem;
  color: #9aa0ad;
  line-height: 1;
}

.category-panel {
  display: none;
}

.category-panel-active {
  display: block;
}

/* disabled → 파란 배경 (product: [disabled] / news: .disabled) */
.page-btn-nav[disabled],
.page-btn-nav.disabled {
  background-color: #2563eb;
  border-color: #2563eb;
}

/* prev 활성 → mb_icon_10.png 180도 회전 (왼쪽 화살표) */
.page-btn-prev:not([disabled]):not(.disabled) img {
  transform: rotate(180deg);
}

/* next disabled → mb_icon_9.png 180도 회전 (오른쪽 화살표) */
.page-btn-next[disabled] img,
.page-btn-next.disabled img {
  transform: rotate(180deg);
}



/* 뉴스 페이지 (PHP / .disabled 클래스) */
.page-btn-nav.disabled {
  background-color: #2563eb;
  border-color: #2563eb;
}

.page-btn-next.disabled img {
  transform: rotate(180deg);
}


/* ===== 상품 개요 ===== */
.product-overview-section {
  padding-bottom: 3rem;
}

.product-overview-header {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.product-overview-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-overview-icon img {
  width: 100%;
  display: block;
}

.product-overview-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-overview-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.3;
}

.product-overview-bank {
  font-size: 1.4rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.product-overview-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.info-badge {
  flex-shrink: 0;
  min-width: 8rem;
  text-align: center;
  padding: 0.8rem 1.4rem;
  border-radius: 2rem;
  background-color: #eef0f6;
  font-size: 1.3rem;
  font-weight: 500;
  color: #4a5567;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.info-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.info-rate {
  color: #e94e4e;
  font-weight: 700;
  font-size: 1.5rem;
}

.info-rate em {
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 400;
  color: #e94e4e;
  letter-spacing: -0.05rem;
}

/* ===== 대출 정보 ===== */
.loan-info-section {
  border-top: 0.8rem solid #f5f6f8;
  padding: 3rem 0;
}

.loan-info-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.loan-info-icon {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-info-icon img {
  width: 100%;
  display: block;
}

.loan-info-table {
  border: 0.1rem solid #e5e8ee;
  border-radius: 1.2rem;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.loan-info-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2rem;
}

.loan-info-row:last-child {
  border-bottom: none;
}

.loan-info-row dt {
  flex-shrink: 0;
  width: 8rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1.4;
}

.loan-info-row dd {
  flex: 1;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.4;
}

/* ===== 공통 적용 문구 ===== */
.notice-section{padding-bottom: 3rem;}

.notice-box {
  background-color: #EAF3FD;
  border-radius: 1.2rem;
  padding: 2rem;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.notice-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-icon img {
  width: 100%;
  display: block;
}

.notice-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: #4a5567;
  letter-spacing: -0.05rem;
  line-height: 1.6;
}

.notice-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
  color: #4a5567;
  line-height: 1.6;
}

.main-result{background: #EAF3FD;padding: 1.5rem;border-radius: 1rem;display: flex;align-items: center;gap: 1rem;margin-bottom: 2rem;}
.main-result img{width: 3.3rem;}
.main-result p{font-size: 1.8rem;font-weight: 700;}
.main-result span{font-size: 1.8rem;font-weight: 700;color: #2F6BFF;}

.box{border: 1px solid #ddd;border-radius: 1rem;padding: 1.5rem;}
.box2{margin-top: 2rem;}
.boxes{border-bottom: 1px solid #333;padding-bottom: 2rem;margin-bottom: 2rem;}
.box-header{display: flex;justify-content: space-between;margin-bottom: 3rem;align-items: center;}
.box-header h4{font-size: 1.8rem;font-weight: 700;}
.box-header .edit-btn{padding: 0.8rem;background: #2F6BFF;color: #fff;border-radius: 0.7rem;font-size: 1.4rem;}
.box ul li {display: flex;justify-content: space-between;margin-bottom: 2rem;}
.box ul li:last-child{margin-bottom: 0;}
.box ul li p{font-size: 1.6rem;color: #6B7280;}
.box ul li span{font-size: 1.6rem;}

.compare-win{padding-bottom: 3rem;}
.packs{display: flex;justify-content: space-between;gap: 1rem;}
.pack{border: 1px solid #ddd;border-radius: 1rem;padding: 1.5rem;width: calc((100% - 1rem) / 2);}
.pack h5{font-size: 1.8rem;font-weight: 700;margin-bottom: 3rem;display: flex;align-items: center;height: 25px;}
.pack h5 img{display: none;width: 2.5rem;margin-right: 1rem;}
.pack h5 img.win_mark{display: block;}
.pack ul li{margin-bottom: 2rem;}
.pack ul li:last-child{margin-bottom: 0;}
.pack ul li span{font-size: 1.6rem;color: #6B7280;margin-bottom: 1rem;display: block;}
.pack ul li p{font-size: 1.6rem;font-weight: 700;}

.pack.win{background: #EAF3FD;border: 1px solid #2F6BFF;}
.pack.win ul li p{color: #2F6BFF;}

.news{padding-bottom: 3rem;}
.news_list li { padding: 2rem 0; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; gap: 1.5rem; }
.news_list li:last-child { border: none; }

.news_list li figure {
  background: #ddd;
  width: 15rem;      /* flex 대신 width */
  min-width: 8rem;  /* 찌그러짐 방지 */
  height: 10rem;
  overflow: hidden;
}

.news_list li figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news_list li .txt { width: 15rem; display: flex; flex-direction: column; gap: 2rem; }
.news_list li .txt h3 { font-size: 1.4rem; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news_list li .txt p { font-size: 1.4rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #9CA3AF; }
.news_list li .txt span { font-size: 1.4rem; color: #9CA3AF; display: block; margin-top: 1rem; }
.news_list li a {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

/* ===== 대출 계산기 ===== */

/* 탭 3열 오버라이드 (tab-list 기본은 2열이라) */
.calc-tab-list {
  grid-template-columns: repeat(3, 1fr);
}

/* 폼 영역 */
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* 상환방법 안내 배너 */
.repay-guide-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 2rem;
  border-radius: 1.2rem;
  background-color: #EAF3FD;
  text-decoration: none;
  margin-top: 0.8rem;
}

.repay-guide-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
}

.repay-guide-icon img {
  width: 100%;
  display: block;
}

.repay-guide-text {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.repay-guide-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repay-guide-arrow img {
  width: 0.8rem;
  display: block;
}

/* ===== 계산 결과 페이지 ===== */
.result-page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  margin-bottom: 2rem;
}

/* 총계 카드 */
.result-output-section {
  padding-bottom: 4rem;
}

.result-summary-card {
  border: 0.1rem solid #e5e8ee;
  border-radius: 1.2rem;
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.result-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.4rem;
  border-bottom: 0.1rem solid #eef0f5;
}

.result-summary-row:last-child {
  border-bottom: none;
}

.result-summary-label {
  font-size: 1.5rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.result-summary-right {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.result-summary-value {
  font-size: 2rem;
  font-weight: 700;
  color: #e94e4e;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.result-summary-unit {
  font-size: 1.4rem;
  font-weight: 400;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
}

/* 입력값 요약 카드 */
.result-input-card {
  background-color: #EAF3FD;
  border-radius: 1.2rem;
  padding: 0.6rem 0;
  margin-bottom: 4rem;
}

.result-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
}

.result-input-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.result-input-label::before {
  content: '• ';
  font-size: 1.5rem;
  color: #2563eb;
}

.result-input-right {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.result-input-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.result-input-unit {
  font-size: 1.4rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1;
}

/* a 태그용 submit-btn 수직 중앙 정렬 */
a.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 상환 스케줄 섹션 */
.schedule-output-section {
  border-top: 0.1rem solid #e5e8ee;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

/* 테이블 */
.schedule-table-wrap {
  border: 0.1rem solid #dde2ee;
  border-radius: 1.2rem;
  overflow: hidden;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table thead {
  background-color: #EAF3FD;
}

.schedule-table th {
  padding: 1.4rem 0.8rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #4a5567;
  letter-spacing: -0.05rem;
  line-height: 1;
  text-align: center;
  border-bottom: 0.15rem solid #dde2ee;
  border-right: 0.1rem solid #dde2ee;
}

.schedule-table th:last-child {
  border-right: none;
}

.schedule-table td {
  padding: 1.4rem 0.8rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  text-align: center;
  border-bottom: 0.1rem solid #eef0f5;
  border-right: 0.1rem solid #eef0f5;
}

.schedule-table td:last-child {
  border-right: none;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== 서브 페이지 공통 (sub1, sub2 공유) ===== */
.sub-intro-section {
  padding: 2rem 0 4rem;
  text-align: center;
}

.sub-page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.05rem;
  line-height: 1.35;
  margin-bottom: 1.6rem;
}

.sub-page-desc {
  font-size: 1.5rem;
  font-weight: 400;
  color: #3a4258;
  letter-spacing: -0.05rem;
  line-height: 1.7;
}

/* 추천 문구 (sub1, sub2 공유) */
.guide-recommend {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-left: 1rem;
}

.guide-check {
  flex-shrink: 0;
  width: 1.6rem;
  margin-top: 0.2rem;
  display: flex;
}

.guide-check img {
  width: 100%;
  display: block;
}

.guide-recommend-text {
  font-size: 1.3rem;
  font-weight: 400;
  color: #6a6f7d;
  letter-spacing: -0.05rem;
  line-height: 1.5;
  width: 21rem;
}

/* ===== sub1.php - 대출 상품 안내 ===== */
.loan-guide-section {
  padding-bottom: 2rem;
}

.guide-card {
  border: 0.1rem solid #e5e8ee;
  border-radius: 1.6rem;
  padding: 2.4rem;
  background-color: #fff;
  margin-bottom: 2rem;
}

.guide-card-top {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.guide-icon {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-icon img {
  width: 2.5rem;
  display: block;
}

.guide-icon-blue   { background-color: #2F6BFF; }
.guide-icon-green  { background-color: #17876D; }
.guide-icon-purple { background-color: #7B61FF; }

.guide-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05rem;
  line-height: 1;
}

.guide-title-blue   { color: #2F6BFF; }
.guide-title-green  { color: #17876D; }
.guide-title-purple { color: #7B61FF; }

.guide-quote {
  font-size: 1.4rem;
  font-weight: 400;
  color: #3a4258;
  letter-spacing: -0.05rem;
  line-height: 1.5;
  margin: 0 0 1.6rem;
}

.guide-info-box {
  background-color: #EAF3FD;
  border-radius: 1.2rem;
  padding: 1.8rem;
}

.guide-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-info-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #3a4258;
  letter-spacing: -0.05rem;
  line-height: 1.5;
}

.guide-info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #3a4258;
  font-size: 1.4rem;
  line-height: 1.5;
}

/* ===== sub2.php - 상환 방법 찾기 ===== */
.repay-guide-section {
  padding-bottom: 2rem;
}

.repay-block {
  margin-bottom: 4.5rem;
}

.repay-block-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.repay-block-quote {
  font-size: 1.4rem;
  font-weight: 400;
  color: #3a4258;
  letter-spacing: -0.05rem;
  line-height: 1.5;
  margin: 0 0 1.6rem;
}

/* 기본 용어 박스 */
.repay-terms-box {
  background-color: #EAF3FD;
  border-radius: 1.2rem;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.repay-term-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.repay-term-icon {
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repay-term-icon img {
  width: 1.8rem;
  display: block;
}

.repay-term-icon-blue { background-color: #2563eb; }

.repay-term-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.4;
  margin: 0;
}

/* 상환 방법 박스 */
.repay-info-box {
  background-color: #EAF3FD;
  border-radius: 1.2rem;
  padding: 1.8rem;
}

.repay-info-box-green { background-color: #E6F6F3; }
.repay-info-box-gray  { background-color: #FEFBF6; }
.repay-info-box-purple  { background-color: #F1F0FD; }

.repay-info-top {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.repay-info-icon {
  flex-shrink: 0;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.repay-info-icon img {
  width: 2rem;
  display: block;
}

.repay-info-text {
  flex: 1;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1c1c1c;
  letter-spacing: -0.05rem;
  line-height: 1.5;
  margin: 0;
  padding-top: 0.4rem;
}