@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff2') format('woff2'),
         url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css);
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

body {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

ul, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

html, h1, h2, h3, h4, h5, h6, form, fieldset, img {
    margin: 0;
    padding: 0;
    border: 0;
}

.section_container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.section_img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_img > img {
    max-width: 1080px;
    width: 100%;
    height: auto;
}

/* 슬라이더 래퍼 */
.slider_wrapper {
    width: 100%;
    max-width: 1080px; /* 최대 너비를 1080px로 제한 */
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* 슬라이드 리스트 */
.slider_list {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; /* 슬라이드 4개 */
}

.slider_list img {
    width: 25%;
    flex-shrink: 0;
}

/* 버튼 영역 */
.slide_btn_container {
    position: absolute;
    top: 50%;
    width: 100%;
    max-width: 1080px; /* 버튼 영역의 최대 너비 */
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    left: 50%; /* 중앙에 위치시키기 위해 */
    transform: translateX(-50%) translateY(-50%);
}

.slide_left_btn, .slide_right_btn {
    cursor: pointer;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.2);
    width: 4%;
    padding: 0 20px;
}

.slide_left_btn:hover, .slide_right_btn:hover {
    opacity: 1;
}



.information_form {
    width: 100%;
    max-width: 1080px;
    position: sticky;
    margin: 0 auto;
    z-index: 99;
    left: 0;
    bottom: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.section_footer_container {
    text-align: center;
    padding: 20px 0px;
    max-width: 1080px;
    margin: 0 auto;
    background-color: #1f1e1e;
}

.information_container {
    margin-bottom: 20px; 
    color: #a3a3a3;
    font-size: 17px;
    font-family: Pretendard;
}

.information_container div {
    margin: 5px 0; 
}

.footer_text {
    font-size: 17px; 
    font-family: Pretendard;
    color: #a3a3a3;
}

/* 영역 */
.sticky-footer {
    position: sticky;
    bottom: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    background-color: #fff; /* 배경색 */
    z-index: 100; /* 다른 콘텐츠가 겹치지 않도록 */
    padding: 20px 0; /* 여백 */
}

/* 전화번호 */
.infor_tel {
    display: inline-block;
    background: #05339b;
    font-family: "GmarketSansBold", sans-serif;
    color: #fff;
    padding: 0px 20px 10px 20px;
    border-radius: 5px;
    width: 55px;
    text-decoration: none;
    font-size: 18px;
}

.bouncing-digit {
    display: inline-block;
}

.infor_a_container {
    background: #05339b;
}

.infor_tel > img {
    width: 100%;
}

.bouncing-number {
    display: flex;
    justify-content: center;
    padding: 20px;
    font-size: 70px;
    font-family: 'GmarketSansMedium', sans-serif;
    font-weight: bold;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

/* 전화번호 애니메이션 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 폼 */
.infor_form_container {
    padding: 20px 150px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    font-family: "Pretendard", sans-serif;
    justify-content: space-between;
}

.infor_form_input {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 20px;
    margin-right: 20px;
}

/* 이름, 연락처 필드 */
.infor_form_input_name,
.infor_form_input_phone {
    display: flex;
    width: 100%;
}

.infor_form_input_name {
    margin-bottom: 20px;
}

label {
    font-size: 35px;
    color: #0e1c3d;
    font-weight: 700;
    text-align: right;
    padding-top: 6px;
    margin-right: 25px;
    line-height: 45px;
    width: 130px;
    display: inline-block;
}

input {
    width: calc(100% - 125px); /* label 너비를 제외한 나머지 영역 */
    padding: 15px;
    border: 1px solid #1c1c1c;
    /* border-radius: 5px; */
    font-size: 26px;
}

input::placeholder {
    color: #a3a3a3;
    font-size: 26px;
    margin-top: 10px;
    box-sizing: border-box;

}

/* 버튼 */
.btn_submit {
    /* background: linear-gradient(#ff6e0e, #ff0024); */
    background: linear-gradient(#2ec725, #084f13);
    font-family: 'GmarketSansMedium', sans-serif;
    font-weight: bold;
    color: #fff;
    border: none;
    padding: 15px;
    width: 200px;
    height: 140px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 0 5px 0;
    font-size: 30px;
    cursor: pointer;
}

.btn_submit p {
    margin: 0;
    color: #fff;
    padding-top: 10px;
    font-size: 37px;
    font-weight: bold;
}

.btn_submit:hover {
    background: linear-gradient(#084f13, #2ec725); /* Hover 시 색상 반전 */
}

form {
    width: 100%;
    margin: 0 auto;
}

/* 기타 스타일 */
section#infor {
    text-align: center; /* 텍스트 가운데 정렬 */
    width: 100%;
}

.footer_m_br {
    display: none;
}

.section-ifr {
    position: absolute; 
    top: 68%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 460px; 
    height: 820px;
    border-radius: 20px;
}


/* 반응형 디자인: 1080px 이하에서 적용 */
@media (max-width: 1080px) {
    /* 슬라이더 래퍼의 너비가 100%로 */
    .slider_wrapper {
        max-width: 100%;

    }


    /* 버튼 크기 조정 */
    .slide_btn_container {
        max-width: 100%;
        padding: 0 10px;
    }

    .infor_form_container {
        padding: 20px 30px;

    }


    /* 이미지 영역 */
    .section_img > img {
        max-width: 100%; /* 이미지 너비를 100%로 확장 */
        height: auto;
    }

        /* iframe 컨테이너도 반응형으로 */
    .section-ifr {
        width: 42vw; /* 화면 가로 너비의 40% */
        height: calc(42vw * 1.7826); /* 비율 460:820에 맞게 계산 (820/460 ≈ 1.7826) */
    }
}

/* 추가적으로 작은 화면에서 더 작은 버튼을 적용할 수 있습니다. */
@media (max-width: 800px) {
    .slide_left_btn, .slide_right_btn {

        padding: 0 10px;
    }

    label {
        font-size: 21px;
        line-height: 35px;
        padding-top: 7px;
        margin-right: 20px;
        width: 70px;
    }

    .bouncing-number {
        padding: 12px 10px 5px 10px;
        font-size: 30px;
        
    }

    .infor_tel {
        width: 30px;
        padding: 0;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .infor_tel > img {
        width: 100%;
    }

    .infor_form_input {
        margin-right: 0px;
    }
    .infor_form_container {
        padding: 20px 20px 20px 5px;
    }

    input {
        width: calc(100% - 110px);
    }

    .btn_submit {
        font-size: 22px;
        height: 115px;
        width: 115px;
    }

    input::placeholder {
        font-size: 18px;
    }

    input {
        font-size: 18px;
    }

    .infor_form_input_name {
        margin-bottom: 13px;
    }

    .information_container {
        margin-bottom: 15px;
        font-size: 12px;
    }
    .footer_m_br{
        display: block;
    }
    .footer_text {
        font-size: 13px;
    }

    .bouncing-digit {
        padding-bottom: 10px;
    }

    .btn_submit p {
        font-size: 20px;
    }
}
