@charset "utf-8";
*{margin: 0; padding: 0;}

html, body{
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* iOS 폰트 크기 자동 조정 방지 */
}

body{
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* 폰트 weight별 클래스 추가 */
.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

img, video, iframe{
    vertical-align: middle;
}
ol, ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #070707;
}
img, video{
    max-width: 100%;
}

#wrap{
    overflow: hidden;
}

section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    overflow: hidden;
}

/* 크기 변화 애니메이션 키프레임 정의 */
@keyframes scaleUpDown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 1번 화면  */
.section01 {
    width: 100%;
    position: relative;
    background: url('/images/section01_bg.png') no-repeat;
    background-size: 100% 100%;  /* 섹션 크기에 맞게 배경 이미지 크기 조정 */
    background-position: center; 
}

.section01_bg {
    width:100%;
    max-width: 1200px;
    width: 100%;
    position: relative;
    background: none;  /* 배경 반복 제거 */
}

.section01_success {
    width: 150px;
    height: auto;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 20px;
}

@keyframes pulseAndGlow {
    0% {
        transform: scale(1);
        background-color: #E84D1C;
        box-shadow: 0 0 0 0 rgba(232, 77, 28, 0.4);
    }
    50% {
        transform: scale(1.05);
        background-color: #ff5722;
        box-shadow: 0 0 20px 5px rgba(232, 77, 28, 0.6);
    }
    100% {
        transform: scale(1);
        background-color: #E84D1C;
        box-shadow: 0 0 0 0 rgba(232, 77, 28, 0.4);
    }
}

.section01_success_txt {
    background-color: #E84D1C;  /* 이미지에서 보이는 주황색 배경 */
    color: white;  /* 흰색 텍스트 */
    padding: 5px 15px;  /* 내부 여백 */
    border-radius: 3px;  /* 모서리 둥글게 */
    font-size: 14px;  /* 텍스트 크기 */
    display: inline-block;  /* 인라인 블록으로 설정 */
    animation: pulseAndGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* 호버 효과 추가 */
.section01_success_txt:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.section01_title{
    display: flex;
    align-items: center;
    justify-content: center; /* 추가 */
    margin-bottom: 30px;
    font-size:2.5em;
}
.section01_title_l {
    color: #333;
    margin-right: 5px;
    animation: scaleUpDown 2s ease-in-out infinite;
    transform-origin: center;
}
.section01_title_r {
    color: #333;
    animation: scaleUpDown 2s ease-in-out infinite;
    transform-origin: left center; 
}
.section01_tags {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.tag{
    border : 1px solid #57B8AC;
    color: #57B8AC;
    padding : 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}
.section01_ex_slider {
    display: flex;
    overflow: hidden;
    width: 90%;  /* 너비를 조금 줄임 */
    margin: 0 auto;  /* 좌우 중앙 정렬 */
    gap: 5px;
    position: relative;
    margin-bottom: 30px;
}
.section01_slider_item {
    flex-shrink: 0;  /* 이미지 크기 유지 */
    width: 400px;  /* 이미지 원본 크기에 맞춤 */
    margin-right: 5px;  /* 오른쪽 여백 조정 */
}
.slider-item {
    padding: 0 15px;
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slick 슬라이더 커스텀 스타일 */
.slick-prev, 
.slick-next {
    width: 40px;
    height: 40px;
    z-index: 1;
}

.slick-prev {
    left: -10px;
}

.slick-next {
    right: -10px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 40px;
    color: #57B8AC;
}
/* 2번 화면 */
.section02 {
    width: 100%;
    height: auto;
    position: relative;
    padding-top: 0;  /* 패딩 제거 */
    padding-bottom: 100px;
    background: url('/images/section02_bg.png') no-repeat center center ;
    background-size: cover;
    display: flex;  /* flex 추가 */
    align-items: flex-start;  /* 상단 정렬로 변경 */
    justify-content: center;
}

.section02_bg {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 텍스트 강조 애니메이션 */
@keyframes emphasize {
    0% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: none;
    }
    50% {
        color: #3a9186;
        transform: scale(1.1);
        text-shadow: 0 0 8px rgba(87, 184, 172, 0.4);
    }
    100% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: none;
    }
}

.section02_title {
    text-align: center;
    padding-top:60px;
    margin-bottom: 60px;
}

.section02_title_img {
    /* AOS 애니메이션은 HTML에서 적용 */
    margin-bottom: 20px;
}

.section02_title h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.section02_title p {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.section02_title_txt {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.section02_title_txt span {
    display: inline-block;
    color: #57B8AC;
    animation: emphasize 2s ease-in-out infinite;
}

/* 호버 시 애니메이션 일시 정지 */
.section02_title_txt span:hover {
    animation-play-state: paused;
}

.section02_qna_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    gap: 24px;
}

.qna_container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.section_qna_item {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
    transition: transform 0.3s ease;
}

/* AOS 애니메이션 기본 상태 */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(250px);
    transition-property: transform, opacity;
}

/* AOS 애니메이션 활성화 상태 */
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* 호버 효과 유지 */
.section_qna_item:hover {
    transform: translateY(-5px);
}

.section_qna_item:hover {
    transform: translateY(-5px);
}

/* 3번 화면*/

.section03 {
    height: auto;
    width: 100%;
    position: relative;
    background: #fff;
    flex-direction: column;
}

.section03_bg {
    width: 100%;
    max-width: 1500px;
    margin: 0;
    padding: 0;
}

/* 강조 텍스트 애니메이션 */
@keyframes emphasizeText {
    0% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(87, 184, 172, 0);
    }
    50% {
        color: #3a9186;
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(87, 184, 172, 0.5);
    }
    100% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: 0 0 0 rgba(87, 184, 172, 0);
    }
}

.section03_title {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 80px 0 60px;
    background: url('/images/section03_top_bg.png') no-repeat top center;
    background-size: cover;
    margin-bottom: 150px;
}

.section03_main_title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.section03_sub_title {
    font-size: 28px;
    color: #fff;
}

.section03_sub_title span {
    display: inline-block;
    color: #57B8AC;
    animation: emphasizeText 2s ease-in-out infinite;
}

/* 채팅 버블 애니메이션 초기 상태 */
[data-aos="fade-right"] {
    transform: translateX(-200px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"] {
    transform: translateX(200px);
    opacity: 0;
    transition-property: transform, opacity;
}

/* 채팅 버블 애니메이션 활성화 상태 */
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

.section03_content {
    position: relative;
    margin-bottom: 60px;
}

.section03_chat_bubble_container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section03_chat_bubble {
    max-width: 500px;
    height: auto;
    display: block;
}

.section03_chat_bubble.left {
    padding-bottom: 50px;
    align-self: flex-start;
}

.section03_chat_bubble.right {
    padding-bottom: 50px;
    align-self: flex-end;
}


.section03_btm_l {
    position: relative; /* 추가: 보더가 핸드폰 위에 보이도록 */
    width: 400px; /* 크기 고정 */
    z-index: 1; /* 추가: 보더보다 위에 표시 */
}

.section03_btm_l h3 {
    font-size: 28px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.section03_btm_l p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.section03_cta_button {
    display: inline-block;
    background: #57B8AC;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.section03_cta_button:hover {
    background: #4a9e94;
}

.section03_btm_r {
    flex: 0 0 200px; /* 크기 고정 */
    position: relative; /* 추가 */
    z-index: 1; /* 추가 */
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 0 rgba(87, 184, 172, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(87, 184, 172, 0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(87, 184, 172, 0);
    }
}

.section03_phone_container {
    position: relative;
    width: 400px;
    display:flex;
    justify-content: center;
    align-items: center;
}

.section03_phone_container img:first-child {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.section03_phone_img {
    width: 100%;
    height: auto;
    display: block;
}

/* 로고 이미지 컨테이너 */
.logo_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px; /* 고정 너비 설정 (핸드폰 너비의 60%) */
    text-align: center;
}

/* 로고 이미지 */
.naran_logo {
    width: 132px;
    max-width: 250px;
    height: auto;
    margin-bottom: 10px;
}

/* 로고 텍스트 */
.logo_text {
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

.logo_text .emphasis {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.section03_phone_container img:last-child {
    margin-top: 10px;
    width: 100px;
}


.section03_btm_r {
    flex: 0 0 400px; /* 너비 증가 */
    position: relative;
    z-index: 1;
    padding-left: 60px; /* 왼쪽 패딩 추가 */
    margin-left: 40px; /* 왼쪽 마진 추가 */
    text-align: center;
}

.section03_btm_r h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 15px;
    text-align: left;
}

.section03_btm_r p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0; /* 마진 제거 */
    padding: 0; /* 패딩 제거 */
    display: inline; /* 인라인으로 변경 */
}

@keyframes highlightAnimation {
    0% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: none;
    }
    50% {
        color: #3a9186;
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(87, 184, 172, 0.4);
        background: rgba(87, 184, 172, 0.1);
        border-radius: 4px;
    }
    100% {
        color: #57B8AC;
        transform: scale(1);
        text-shadow: none;
    }
}

.text_container {
    margin: 0;
    padding: 0;
    text-align: center;
}

.text_container h3 {
    font-size: 24px;
    color: #333;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-align: center;
}

.text_container p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%; /* 추가 */
}
.highlight {
    display: inline-block;  /* 텍스트 블록화 */
    color: #57B8AC;
    padding: 2px 6px;  /* 내부 여백 추가 */
    animation: highlightAnimation 2s ease-in-out infinite;
    position: relative;  /* 위치 기준점 설정 */
}

/* 호버 효과 추가 */
.highlight:hover {
    animation-play-state: paused;
    cursor: default;
}

.section03_bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 100px;
    background: #fff;
    padding: 30px;
}
/* 상단 보더 */
.section03_bottom::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 20%; /* 상단에서 1/3 지점 */
    height: 10px;
    background: #ddd;
}

/* 하단 보더 */
.section03_bottom::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%; /* 하단에서 1/3 지점 */
    height: 10px;
    background: #ddd;
}

.section03_btn {
    margin-top: 20px;
    max-width: 180px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
}

.section03_btn:hover {
    opacity: 0.9;
}

/* 추가 스타일 */
.logo_text {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

.logo_text .emphasis {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}


/* 4번 화면 */

.section04 {
    height: 200vh;
    width: 100%;
    position: relative;
    background: #fff;
    flex-direction: column;
    overflow: hidden; /* 섹션 벗어나는 요소 숨김 */
}

.section04_title {
    width: 100vw; /* 뷰포트 전체 너비 */
    padding: 40px;
    height: 150px; /* 높이 증가 */
    background: url('/images/section04_title_bg.png') no-repeat center;
    background-size: 120% auto; /* 배경 이미지 크기 증가 */
    position: absolute; /* 상단 고정을 위한 포지션 설정 */
    top: 0;
    left: 0;
    margin-top: -20px; /* 상단 모서리 숨김을 위해 위로 이동 */
    margin-left: -20px; /* 좌측 모서리 숨김을 위해 좌로 이동 */
    padding-left: 60px; /* 좌측 여백 보정 */
    width: calc(100% + 40px); /* 우측 모서리 숨김을 위해 너비 증가 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section04_title img {
    margin-top: 30px;
    max-width: 300px;
    height: auto;
    position: relative;
    z-index: 2;
}

/* 배경 오버레이 조정 */
.section04_title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 컨텐츠 영역 여백 조정 */
.section04_content {
    margin-top: 400px; /* 헤더 높이만큼 여백 추가 */
    position: relative;
    z-index: 1;
}


.section04_m_title {
    text-align: center;
    padding: 0;
}

.section04_m_title div {
    font-size: 55px;
}

.section04_bg {
    position: relative;
    height: 60vh; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section04_bg img:first-child {  /* 따옴표 배경 이미지 */
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 1;
}

.section04_bg img:last-child {   /* 텍스트 이미지 */
    position: relative;
    width: 600px;
    height: auto;
    z-index: 2;
    margin-top: 30px;
}

.section04_bottom {
    display: flex;
    justify-content: center;  /* 중앙 정렬로 변경 */
    max-width: 1000px;  /* 최대 너비 조정 */
    margin: 50px auto 0;  /* 상단 여백 추가 */
    position: relative;
    padding: 0 20px;
    gap: 30px;  /* 간격 추가 */
}

.section04_bottom_top_bg {
    position: absolute;
    width: 100%;
    top: -80px; /* 위쪽으로 더 올림 */
    left: -20px; /* 음수 마진으로 영역 확장 */
    right: -20px; /* 음수 마진으로 영역 확장 */
    width: calc(100% + 40px); /* 좌우 20px씩 확장 */
    padding-top: 40px; /* 상단 여백 추가 */
}

.section04_bottom_top_bg img {
    width: 100%;
    height: auto;
}

/* 번호가 있는 카드 이미지들 */
.section04_bottom > img {
    width: calc(33.333% - 20px);
    max-width: 280px;  /* 최대 너비 제한 */
    height: auto;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

/* 호버 효과 */
.section04_bottom > img:hover {
    transform: translateY(-5px);
}


/* 5번 화면*/
.section05 {
    width: 100%;
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: height 0.3s ease;
}

.section05.expanded {
    min-height: 250vh;
}

.section05_bg {
    text-align: center;
}

.section05_title {
    text-align: center;
    margin-bottom: 40px;
    opacity: 1;
}

.section05_title_img {
    margin-bottom: 20px;
}

.section05_title_txt {
    margin: 5px 0;
}

.section05_title_txt p {
    font-size: 24px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.section05_form {
    width: 100%;
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.section05_form_row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section05_form_col {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 30px;
}

.section05_form_label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.section05_form_input {
    width: 80%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.section05_form_memo {
    width: 90%;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    resize: none;
    transition: all 0.3s ease;
}

/* 마지막 row(문의 내용)는 전체 너비 사용 */
.section05_form_row:last-child .section05_form_col {
    width: 100%;
}

/* 입력 필드 포커스 및 호버 효과 */
.section05_form_input:focus,
.section05_form_memo:focus {
    outline: none;
    border-color: #57B8AC;
    box-shadow: 0 0 0 2px rgba(87, 184, 172, 0.1);
}

.section05_form_input:hover,
.section05_form_memo:hover {
    border-color: #57B8AC;
}

/* AOS 애니메이션 기본 상태 */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(100px);
    transition-property: transform, opacity;
}

/* AOS 애니메이션 활성화 상태 */
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.section05_bottom {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section05_privacy {
    width: 100%;
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    
}

.section05_privacy_img {
    display: block;
    margin: 0 auto;
    height: auto;
}

.section05_privacy_agree {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section05_privacy_agree:hover {
    transform: translateY(-2px);
}

.section05_privacy_btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.section05_privacy_btn:hover {
    color: #57B8AC;
}

.section05_privacy_check {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.section05_privacy_checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* Privacy Content Styles */
.privacy_content {
    display: none;
    width: 580px;
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.privacy_content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.privacy_content h3, h4 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #333;
    text-align: left;
}

.privacy_content h3:first-child {
    margin-top: 0;
    
}

.privacy_content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    color: #666;
    text-align: left;
}

.section05_submit {
    width: 300px;
    height: 50px;
    background-color: #512518;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 50px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* AOS 애니메이션 기본 상태 */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(100px);
    transition-property: transform, opacity;
}

/* AOS 애니메이션 활성화 상태 */
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/*footer*/
.footer {
    background-color: #512518;
    color: white;
    height: 400px;
}

.footer-content {
    max-width: 800px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 50px;
    padding-top: 20px;
}

/* 기본 PC 스타일 */


.footer-title {
    font-size: 16px;
    padding-bottom: 10px;
    margin: 0;
    text-align: left; /* 전체 콘텐츠 왼쪽 정렬 */
}
/* 왼쪽, 오른쪽 정보 컨테이너 공통 스타일 */
.info-left, .info-right {
    margin-bottom: 10px;
}
/* 정보 행 스타일 */
.info-left div, .info-right div {
    display: flex;
    justify-content: flex-start; /* 왼쪽 정렬 */
    align-items: center; /* 수직 중앙 정렬 */
    margin-bottom: -8px;
    text-align: left; /* 텍스트 왼쪽 정렬 */
}

/* 라벨과 내용 구분을 위한 스타일 */
.info-left div, .info-right div {
    display: grid;
    grid-template-columns: 200px auto; /* 라벨 부분 고정 너비 설정 */
    gap: 20px; /* 구분선(|) 앞뒤 간격 */
    justify-items: start; /* grid 아이템 왼쪽 정렬 */
}

/* grid 내부 텍스트 왼쪽 정렬을 위한 추가 스타일 */
.info-left div > *, .info-right div > * {
    text-align: left;
}

.address-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.info-left, .info-right {
    display: flex;
    gap: 40px;
}

.copyright {
    font-size: 14px;
    text-align: left; /* 전체 콘텐츠 왼쪽 정렬 */
}
.footer-h {
    display: inline-block; /* 인라인 블록으로 설정하여 텍스트와 함께 한 줄에 표시 */
}

/* 빠른상담 고정 버튼 스타일 */
.quick-consult-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 1000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.quick-consult-button {
    background-color: #512518;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(87, 184, 172, 0.3);
}

.quick-consult-button:hover {
    background-color: #4a9e94;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(87, 184, 172, 0.4);
}




/* 1500px 이상 큰 화면 */
@media screen and (min-width: 1500px) {
    .section01_bg {
        max-width: 1400px;
    }

    .section02_bg {
        max-width: 1200px;
    }

    .section03_chat_bubble_container {
        max-width: 1200px;
    }

    .section03_bottom {
        gap: 120px;
    }

    .section03_btm_l {
        flex: 0 0 400px;
    }

    .section03_btm_r {
        flex: 0 0 600px;
    }

    .section04_bg {
        max-width: 1400px;
    }

    .section04_bottom {
        max-width: 1200px;
    }
}

/* 1024px ~ 1499px 중간 화면 */
@media screen and (min-width: 1024px) and (max-width: 1499px) {
    .section01_title {
        font-size: 2em;
    }

    .section01_ex_slider {
        width: 90%;
    }

    .section02_bg {
        max-width: 900px;
    }

    .section02_qna_list {
        padding-top: 40px;
    }

    .section03_chat_bubble_container {
        max-width: 900px;
    }

    .section03_bottom {
        gap: 60px;
    }

    .section03_btm_l {
        flex: 0 0 280px;
    }

    .section03_btm_r {
        flex: 0 0 400px;
        padding-left: 40px;
        margin-left: 20px;
    }

    /* 추가 필요: 핸드폰 크기 조정 */
    .section03_phone_container {
        width: 280px;
        position: relative;
    }

    .section03_phone_img {
        width: 280px;
    }

    .logo_container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 160px;
        text-align: center;
    }

    .naran_logo {
        width: 100px;
        height: auto;
        margin-bottom: 8px;
    }

    .section04_m_title div {
        font-size: 45px;
    }

    .section04_bg img:last-child {
        width: 500px;
    }

    .section04_bottom {
        max-width: 900px;
        gap: 20px;
    }
}

/* 768px ~ 1023px 작은 화면 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .section01_title {
        font-size: 1.8em;
    }

    .section01_ex_slider {
        width: 95%;
    }

    .section01_slider_item {
        width: 300px;
    }

    .section02_bg {
        max-width: 720px;
    }

    .section02_title h1 {
        font-size: 28px;
    }

    .section02_title p {
        font-size: 18px;
    }

    .section02_qna_list {
        padding-top: 30px;
        gap: 20px;
    }

    .section03_chat_bubble_container {
        max-width: 720px;
        padding: 0 15px;
    }

    .section03_chat_bubble {
        max-width: 350px;
    }

    .section03_bottom {
        flex-direction: column;  /* 세로 배치로 변경 */
        align-items: center;
        gap: 40px;
        padding: 0 15px;
    }

    /* 핸드폰 영역 크기 조정 필요 */
    .section03_btm_l {
        width: 250px;  /* 추가 필요 */
    }

    .section03_phone_container {
        width: 250px;  /* 추가 필요 */
        padding-left: 0;
    }

    .section03_phone_img {
        width: 250px;  /* 추가 필요 */
    }

    .logo_container {
        width: 150px;  /* 추가 필요 */
    }

    .section03_btm_r {
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .section03_btm_r h3 {
        text-align: center;
    }

    .section03_phone_container {
        padding-left: 0;
    }

    .logo_container {
        left: 50%;
        width: 60%;
    }

    .section04_m_title div {
        font-size: 32px;
    }

    .section04_bg img:last-child {
        width: 350px;
    }

    .section04_bottom {
        max-width: 720px;
        gap: 15px;
    }

    .section04_bottom > img {
        width: calc(33.333% - 10px);
        max-width: 220px;
    }

    .section05_form {
        width: 90%;
    }

    .footer-content {
        padding-left: 20px;
    }

    .info-left, 
    .info-right {
        gap: 20px;
    }

    .info-left div, 
    .info-right div {
        grid-template-columns: 150px auto;
        gap: 10px;
    }
}

/* 공통 스타일 유지를 위한 최소 너비 설정 */
@media screen and (max-width: 767px) {

    /* 섹션 전체 패딩 조정 */
    section {
        padding: 15px 0;
    } 
    
    .section01 {
        height: 500px;
    }

    @keyframes mobileScale {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }
        50% {
            transform: scale(1.05);
            opacity: 1;
        }
        100% {
            transform: scale(1);
            opacity: 0.8;
        }
    }

    /* 섹션01 타이틀 영역 */
    .section01_title {
        height: auto;
        font-size: 24px;
        padding: 0 15px;
        display: block;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap; /* 줄바꿈 방지 */
        animation: mobileScale 2s ease-in-out infinite;
    }

    .section01_title_l,
    .section01_title_r {
        display: inline;  /* inline-block으로 변경 */
        width: auto;  /* 컨텐츠 크기만큼만 차지하도록 */
        text-align: center;
        margin: 0;
    }

    /* 성공률 배지 여백 조정 */
    .section01_success {
        margin: 30px 0 20px 20px;
    }

    /* 태그 영역 */
    .section01_tags {
        padding: 0 20px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        margin: 15px 0;
    }

    .tag {
        font-size: 12px;
        padding: 4px 10px;
        margin: 2px;
    }

    .section01_success_txt {
        padding: 5px 15px;
        font-size: 14px;
    }

    /* 타이틀 텍스트 조정 */
    .section01_title_l,
    .section01_title_r {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    /* 슬라이더 영역 */
    .section01_ex_slider {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 섹션01 배경 */
    .section01_bg {
        padding: 0 10px;
        margin-bottom: 150px;
    }

    .section01_slider_item {
        width: 280px; /* 슬라이더 아이템 크기 조정 */
    }

    .slider-item {
        padding: 0 8px;
    }
    .section02 {
        height: 750px;
    }

    .section03 {
        height: 2000px;
    }

    /* 섹션03 채팅 영역 조정 */
    .section03_chat_bubble_container {
        padding: 30px 15px;
        gap: 25px;
    }

    .section03_chat_bubble {
        max-width: 350px;
    }

    /* 섹션03 하단 영역 조정 */
    .section03_bottom {
        padding: 40px 15px;
        margin: 30px auto;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    /* 핸드폰 영역 크기 조정 */
    .section03_btm_l {
        width: 250px;
    }

    .section03_phone_container {
        width: 250px;
        padding-left: 0;
    }

    .section03_phone_img {
        width: 250px;
    }

    .logo_container {
        width: 150px;
    }

    /* 텍스트 영역 조정 */
    .section03_btm_r {
        text-align: center;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 300px;
    }

    .section04 {
        height: 1000px;
    }

    /* 섹션04 타이틀 영역 */
    .section04_title {
        width: 100%;
        padding: 20px;
        height: 100px;
        margin: 0;
        background-size: cover;
        align-items: center;
        justify-content: center;
    }

    .section04_title img {
        margin-top: 0px;
        max-width: 200px; /* 로고 이미지 크기 축소 */
    }

    .section04_m_title div {
        font-size: 35px;
    }

    /* 폼 컨테이너 조정 */
    .section05_form {
        width: 80%;
        padding: 15px;
        margin-top: 30px;
        align-items: center;
    }

    /* 폼 행 레이아웃 변경 */
    .section05_form_row {
        flex-direction: column;
        margin-bottom: 15px;
        gap: 15px;
    }

    /* 폼 컬럼 너비 조정 */
    .section05_form_col {
        width: 100%;
        padding-left: 0;
        text-align: center;
        align-items: center;
    }

    /* 입력 필드 너비 조정 */
    .section05_form_input {
        width: 80%;
        height: 36px;
        font-size: 14px;
    }

    /* 메모 필드 조정 */
    .section05_form_memo {
        width: 80%;
        height: 100px;
    }

    /* 라벨 스타일 조정 */
    .section05_form_label {
        font-size: 14px;
        margin-bottom: 5px;
        align-self: flex-start;
        padding-left: 10%;
        padding-bottom: 5px;
    }

    /* 제목 영역 조정 */
    .section05_title {
        margin-bottom: 20px;
    }

    .section05_title_txt p {
        font-size: 14px;
    }

    /* 하단 영역 조정 */
    .section05_privacy_agree {
        width: 80%;
        padding: 12px;
    }

    .section05_privacy_btn {
        font-size: 13px;
    }

    .section05_privacy_check {
        font-size: 13px;
    }

    .section05_submit {
        width: 90%;
        max-width: 280px;
        height: 45px;
        font-size: 15px;
        margin-top: 30px;
    }

    /* 개인정보 동의 내용 컨테이너 */
    .privacy_content {
        width: 90%;
        padding: 20px;
        margin: 15px auto;
    }

    .privacy_content h3, 
    .privacy_content h4 {
        font-size: 14px;
        margin: 15px 0 8px;
    }

    .privacy_content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .section05_privacy_img {
        width: 60%;
    }

    .quick-consult-bar {
        padding: 8px 0;
    }
    
    .quick-consult-button {
        padding: 10px 30px;
        font-size: 14px;
        width: 90%;
        max-width: 300px;
    }
    

    /* 스크롤 시 숨기기 애니메이션 */
    .quick-consult-bar.hidden {
        transform: translateY(100%);
    }

    /* footer 컨테이너 수정 */
    .footer {
        height: auto;  /* 자동 높이로 변경 */
        padding: 20px; /* 전체 패딩 추가 */
    }

    .footer-content {
        display: flex;
        flex-direction: column;  /* 세로 배치로 변경 */
        gap: 20px;  /* 각 요소 사이 간격 */
        padding: 15px;  /* 패딩 조정 */
        width: 100%;  /* 너비 100%로 설정 */
    }

    /* 주소 컨테이너 세로 배치 */
    .address-container {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    /* 정보 컨테이너 세로 배치 */
    .info-left, 
    .info-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    /* grid 레이아웃 해제 */
    .info-left div, 
    .info-right div {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
    }

    /* 마지막 copyright 여백 조정 */
    .copyright {
        margin-top: 10px;
        text-align: left;
    }


}



/* 높이 조정을 위한 미디어 쿼리
@media screen and (max-height: 800px) {

    .section01 {
        height: 80vh;
    }

    .section02 {
        height: 200vh;
    }

    .section03 {
        height: 300vh;
    }
    .section04 {
        height: 200vh;
    }

    .section05 {
        height: 200vh;
    }
} */
