.header-logo {
    background-image: url("../img/new/common/bi_white.png");
}

.mv_video {
    position: relative;
    width: 100%;
    height: 100vh; /* ✅ 화면 전체 높이, 또는 원하는 값 */
    overflow: hidden;
}

.mv_video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ 비디오를 비율 유지하며 꽉 채우기 */
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.5); !* ✅ 반투명 검정 *!*/
    z-index: 1;
}

/* 2섹션 전체 레이아웃 */
.main-section2 {
    background: #FFF6EC;
    padding: 150px 50px;
    text-align: center;
}

.section2-inner {
    max-width: 1752px;
    margin: 0 auto;
    padding: 138px 187px 138px 208px;
    background-color: transparent;
    /*border: 1px solid #5D3E25;*/
    /*border-radius: 20px;*/
}

/* 타이틀 */
.section2-title {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 800; /* ExtraBold */
    font-size: 50px;
    color: #42210b;
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.section2-logo-wrapper {
  width: 100%;
  text-align: center;
  margin: 110px 0; /* 제목과 아이콘 사이 여백 조절 */

    opacity: 0;
    transition: opacity 1s ease;
}

.section2-logo-wrapper.visible {
    opacity: 1;
}

.section2-logo {
  display: inline-block;
  /*max-width: 120px; !* 필요에 따라 크기 조정 *!*/
  width: 50%;       /* 또는 반응형을 원하면 % 단위 사용 */
  height: auto;
}

/* 4개 아이콘/지표 */
.section2-icons {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-bottom: 70px;
}

.section2-icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 190px;
    max-width: 230px;
}

.section2-icon-label {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700; /* Bold */
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 1.5; /* 150% */
    letter-spacing: -1.1px;
    color: #5D3E25;
    white-space: nowrap;
}

.section2-icon-value {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800; /* ExtraBold */
    font-size: 50px;
    color: #FF7300;
    letter-spacing: -1px;
    white-space: nowrap;
}

.section2-icon-border {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 83px; /* 더 크게 원한다면 조절 */
    height: 83px;
    background: #fff; /* 흰 배경 */
    border-radius: 15px; /* 동그란 원 → 네모로 변경 */
    box-sizing: border-box;
    margin-bottom: 30px;
}

.section2-icon-border img {
    width: 50px; /* 적당히 중앙에, 원크기에 맞게 */
    height: 50px;
    object-fit: contain;
    display: block;
}

.main-section3 {
    background: #18120c;
    padding: 0;
}
/* Section3 카드 컨테이너: 전체 너비 중앙 정렬 */
.section3-cards {
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* 개별 카드 기본 스타일 */
.section3-card {
  flex: 0 0 33.3333%;           /* 균등 1/3 너비 */
  height: 1000px;               /* 필요에 따라 조정 */
  position: relative;
  overflow: hidden;
  background-size: cover;       /* cover 유지 */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: flex-basis 0.6s ease;
}

/* 카드별 배경 이미지 */
.section3-card.card1 {
  background-image: url('../img/new/main/main_section3_img1.png');
}
.section3-card.card2 {
  background-image: url('../img/new/main/main_section3_img2.png');
}
.section3-card.card3 {
  background-image: url('../img/new/main/main_section3_img3.png');
}

/* 어두운 오버레이 */
.section3-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 16, 9, 0.45);
  transition: background 0.6s ease;
}

/* 제목: 호버 전·후 항상 가로 중앙 배치 */
.section3-title {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 50px;
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

/* 서브타이틀: 호버 시에만 표시 */
.section3-subtitle {
  position: absolute;
  top: 55%; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 35px;
  font-weight: 400;
}

/* 설명 텍스트: 호버 시에만 표시 */
.section3-desc {
  position: absolute;
  top: 65%; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

/* 1) 카드 내부 블록: 항상 중앙 정렬 */
.section3-card-inner {
  position: absolute;
  inset: 0;                       /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;
  align-items: center;            /* 가로 중앙 */
  justify-content: center;        /* 세로 중앙 */
  text-align: center;
  z-index: 2;
}

/* 2) 이제 개별 텍스트는 position/static 으로 바꿔줍니다 */
.section3-title,
.section3-subtitle,
.section3-desc {
  position: static !important;
  transform: none !important;
  /* 필요하다면 top/left 속성들도 제거 */
}

/* 3) 서브타이틀·설명은 호버시에만 보이도록 */
.section3-subtitle,
.section3-desc {
  display: none;
}
.section3-card:hover .section3-subtitle,
.section3-card:hover .section3-desc {
  display: block;
}

/* 컨테이너에 마우스를 올리면 비호버 카드 축소 */
.section3-cards:hover .section3-card:not(:hover) {
  flex-basis: 16.6667%;         /* 1/6 너비 */
}

/* 호버된 카드만 확장 */
.section3-card:hover {
  flex-basis: 66.6667%;         /* 4/6 너비 */
}
.section3-card:hover::before {
  background: rgba(28, 16, 9, 0.6);
}

/* 호버된 카드만 서브타이틀·설명 보임 */
.section3-card:hover .section3-subtitle,
.section3-card:hover .section3-desc {
  display: block;
}

/* 컨테이너 호버 시, 비호버 카드 제목만 세로쓰기 */
.section3-cards:hover .section3-card:not(:hover) .section3-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.main-section4 {
    width: 100vw;
    background: #df8826; /* 시안에 맞는 주황 (컬러 코드 수정 가능) */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.section4-flex {
    display: flex;
    width: 100vw;
    height: 1024px; /* 시안 높이에 맞춰 조정 (필요시 더 크게) */
    min-height: 480px;
}

.section4-left, .section4-right {
    width: 50vw;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section4-left {
    background: #FF8739;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 수직 중앙 */
    align-items: flex-end; /* 수평 오른쪽 정렬 */
    text-align: right; /* 텍스트도 오른쪽 정렬 */
    color: #42210b; /* 폰트 색상 */
    height: 100%;
    padding: 0 10vw 0 7vw; /* 오른쪽에 더 여유 */
    position: relative;
}

.section4-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 50px;
    font-weight: 700;
    color: #5D3E25;
    line-height: 150%;
    margin-bottom: 32px;
    letter-spacing: -1.6px;
}

.section4-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-top: 150px;
    line-height: 1.6;
}

.section4-right {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

.section4-image-wrap {
    position: relative;
    width: 100%; /* 이미지 영역 여유, 필요시 100% */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section4-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section4-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 32px;
    color: #ad721e;
    box-shadow: 0 2px 8px rgba(90, 40, 10, 0.10);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.13s;
    opacity: 0.85;
}

.section4-arrow.prev {
    left: 12px;
}

.section4-arrow.next {
    right: 12px;
}

.section4-arrow:hover {
    background: #ffe5c2;
    opacity: 1;
}


.main-section5 {
    background: #fff6ec; /* 연베이지 */
    padding: 82px 0 82px 0;
    width: 100vw;
}

.section5-inner {
    height: 777px; /* 시안 높이에 맞춰 조정 (필요시 더 크게) */
    margin: 0 auto;
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center;
    gap: 68px;
    padding: 0 7vw; /* 양쪽에 넉넉하게 여백! */
    box-sizing: border-box;
}

.section5-left {
    flex: 0 0 42%;
    min-width: 340px;
    color: #7d5227;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section5-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.25;
    color: #5D3E25;
    margin-bottom: 55px;
}

.section5-sub-title {
    font-family: 'Pretendard', serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    color: #5D3E25;
    margin-bottom: 24px;
}

.section5-list {
    margin-bottom: 32px;
    padding-left: 0;
    list-style: none;
}

.section5-list li {
    display: flex;
    align-items: flex-end;
    margin-bottom: 3px;
    font-family: 'Pretendard', sans-serif;
    font-size: 22px;
    color: #f7a340;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.5;
    position: relative;
}

.section5-list .list-note {
    font-size: 14px;
    color: #f7a340;
    opacity: 0.75;
    font-weight: 400;
    margin-left: 7px;
    margin-bottom: 2px;
    position: relative;
}


.section5-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    color: #8c5c32;
    line-height: 1.68;
    margin-bottom: 0;
}

.section5-right {
    flex: 0 0 50%;
    display: flex;
    align-items: center; /* 세로 중앙! */
    justify-content: center; /* 가로 중앙 (부모 기준) */
}

.section5-chart-wrap {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section5-chart {
    width: 100%;
    height: auto;
    display: block;
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.floating-inquiry {
    position: fixed;
    bottom: 80px;
    right: 84px;
    z-index: 9999;
}

.inquiry-button {
    display: inline-flex;
    align-items: center;
    background-color: #ff7300;
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 70px;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s;
    padding: 25px 50px;
}

.inquiry-button:hover {
    background-color: #e66900;
}

.inquiry-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    display: inline-block;
}