.guide-section1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: left;
    color: white;
}

.guide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 핵심: cover 방식으로 배경처럼 */
    z-index: 0;
    display: block;
}

.guide-section1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.guide-section1-inner {
    position: relative; /* 텍스트가 오버레이 위로 올라오도록 */
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 50px 120px;
}

.guide-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: -2.2px;
}

.guide-subtitle {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
}


.guide-section2,
.guide-section4 {
    background-color: #FFF6EC;
    padding: 100px 0 60px 0;
    text-align: center;
}

.guide-section2-inner,
.guide-section4-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.guide-section2-title,
.guide-section3-title,
.guide-section4-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -1px;
}

.guide-section2-subtitle,
.guide-section3-subtitle,
.guide-section4-subtitle {
    display: inline-block;
    background-color: #ffe478;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 10px;
}

.guide-section2-swiper {
    width: 100%;
    padding: 0 0 40px 0;
    margin-top: 60px;
}

.guide-section2-swiper .swiper-slide {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.guide-section2-swiper .swiper-slide img {
    width: 100%;
    display: block;
}

.guide-section2-swiper {
  --swiper-navigation-color: #ff7300;
}


/* ─── 섹션 기본 세팅 ───────────────────────── */
.guide-section3 {
    padding: 100px 20px;
    background: #fff;
}

.guide-section3-inner {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
}

.guide-section3-grid {
    display: grid;
    /* 5열: [스텝(390px)] [화살(32px)] ×2 + [스텝(390px)] */
    grid-template-columns: 390px 82px 390px 82px 390px;
    /* 3행: [상단카드124px] [화살↓용 auto] [하단카드124px] */
    grid-template-rows: 124px auto 124px;
    grid-template-areas:
    /* 1→2→3 */ "step1 arrow12 step2 arrow23 step3"
    /*         ↓(3→4)   */
    ".     .       .     .       arrow34"
    /* 4→5→6 */
    "step4 arrow45 step5 arrow56 step6";

    justify-content: center;
    align-items: center;
    column-gap: 30px; /* 스텝 간 좌우 여백 */
    row-gap: 20px; /* 상·하단 스텝 여백 */
}

/* 영역 매핑(기존 data-grid 속성) */
[data-grid="step1"] {
    grid-area: step1;
}

[data-grid="arrow12"] {
    grid-area: arrow12;
}

[data-grid="step2"] {
    grid-area: step2;
}

[data-grid="arrow23"] {
    grid-area: arrow23;
}

[data-grid="step3"] {
    grid-area: step3;
}

[data-grid="arrow34"] {
    grid-area: arrow34;
    justify-self: center;
    align-self: center;
}

[data-grid="step4"] {
    grid-area: step4;
}

[data-grid="arrow45"] {
    grid-area: arrow45;
}

[data-grid="step5"] {
    grid-area: step5;
}

[data-grid="arrow56"] {
    grid-area: arrow56;
}

[data-grid="step6"] {
    grid-area: step6;
}

/* ↓ 이미지 크기 조절 */
.guide-section3-arrow--down {
    height: 40px; /* ↓ 세로 길이 */
    width: auto;
    object-fit: contain;
}

/* 카드 크기·박스 스타일 (이미 fixed width:390,height:124) */
.guide-step {
    width: 100%; /* 1fr 컬럼에 꽉 채움 → 390px 고정 */
    max-width: 390px;
    height: 124px;
    box-sizing: border-box;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 7px 5px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
}

/* 화살표 이미지 스타일은 이전에 만들어 두신 대로 */
.guide-section3-arrow {
    display: block;
    object-fit: contain;
}

.guide-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #F7F7F7;
    font-size: 28px;
    font-weight: 900;
    color: #737373;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-right: 30px;
}

.guide-step-number--highlight {
    background-color: #ffecd2;
    color: #ff7a2d;
}

.guide-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 컨텐츠(타이틀+설명)를 세로 중앙 정렬 */
    height: 100%; /* 부모(.guide-step) 높이 전부 사용 */
}

.guide-step-content > * {
    margin: 0;
}

.guide-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.guide-step-desc {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-top: 10px;
}


.guide-section3-arrow {
    display: block;
    object-fit: contain;
}

/* ─── 가로 화살표(→) 크기 조절 ───────────────── */
.guide-section3-arrow--left,
.guide-section3-arrow--right {
    width: 82px; /* 원하시는 가로 길이(px)로 설정 */
    height: auto; /* 비율에 맞춰 자동 조절 */
    margin: 0 5px; /* 좌우 여백은 필요에 따라 변경 */
}

/* 세로 ↓ */
.process-row--down {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 혹은 중앙/우측 조정 */
    /* 아래 padding-left 값을 조정해서 03번 카드 아래에 화살표가 오도록 미세 조정하세요 */
    padding-left: calc((390px + 82px + 10px + 24px) * 2 + 195px);
}

.guide-section3-arrow--down {
    height: 40px;
    margin: 20px 0;
}

.guide-step-reverse-group {
  display: contents; /* ✅ 이게 핵심 */
}

.desktop-only {display: block;}
.mobile-only {display: none;}

/* ─── guide-section4 기본 세팅 ───────────────────────── */
.guide-section4-details {
    position: relative;
    padding: 20px 100px;
    background-image: url("../img/new/guide/guide_section4_bg.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    margin-top: 20px;
}

.guide-section4-details-title {
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}


/* ─── 테이블 래핑 ───────────────────────── */
.guide-section4-table-wrap {
    overflow-x: auto; /* 모바일에서 스크롤 가능 */
}

/* ─── 테이블 기본 ───────────────────────── */
.guide-section4-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    min-width: 600px; /* 가로 최소 너비 */
}

/* 헤더 */
.guide-section4-table thead th {
    background-color: #333;
    color: #fff;
    padding: 12px 16px;
    text-align: center;
    font-weight: 500;
}

.guide-section4-table thead th.col-item {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.guide-section4-table thead th.col-amount {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

}

/* 바디 */
.guide-section4-table tbody tr {
    border-bottom: 1px dashed #ddd;
}

.guide-section4-table tbody tr:last-child {
    border-bottom: none;
}

.guide-section4-table tbody td {
    padding: 16px;
    vertical-align: middle;
    color: #333;
    font-size: 14px;
}

.guide-section4-table .note {
    color: #d32f2f;
    margin-right: 8px;
    font-size: 13px;
}

/* 푸터(총합) */
.guide-section4-table tfoot tr {
    border-top: 1px solid #333;
}

.guide-section4-table tfoot .col-total {
    font-size: 24px;
    font-weight: 700;
    padding: 16px;
}

/* 우측 정렬 */
.text-right {
    text-align: center;
}



body {
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  /*background: url('../img/bg_inquiry.jpg') no-repeat center center/cover;*/
}

.form-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row.full {
  flex-direction: column;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #000;
    text-align: left;
}

input[type="text"],
select,
textarea {
  padding: 12px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-phone,
.form-email,
.form-region {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-email span {
  font-weight: bold;
}

.form-submit {
  text-align: center;
}

button[type="submit"] {
  background-color: #ff6600;
  color: white;
  padding: 18px 60px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #e65300;
}

html {
    scroll-behavior: smooth;
}