html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    /*overflow-x: auto; !* 가로 스크롤 추가 *!*/
    white-space: nowrap; /* 줄바꿈 방지 */
}
.wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-origin: top left;
    transition: transform 0.3s ease-in-out;
}

.form-wrapper {
    position: fixed;
    top: 40%;
    left: -290px; /* ✅ 처음에는 왼쪽으로 숨김 */
    width: 330px;
    z-index: 100;
    flex-direction: column;
    text-align: left;
    transition: left 0.3s ease-in-out;
    cursor: pointer;
    transform: none;

}
.form-wrapper.open {
    left: 0;
}
.toggle-button {
    position: absolute;
    top: 50%;
    right: -30px; /* 버튼이 살짝 보이도록 */
    width: 30px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}
.form-container {
    width: 100%;
    height: 60px;
    background-color: rgb(0, 102, 204);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝 정렬 */
    padding: 0 30px;
    cursor: pointer;
    position: relative;
    z-index: 101;
    border: none;
    outline: none;
}
.form-container .icon {
    height: 30px;
    margin-right: 10px;
}
.form-container .arrow {
    height: 24px;
    margin-left: auto;
    margin-right: -14px;
}
.form-container a {
    text-decoration: none;
    color: white;
    flex-grow: 1;
    font-size: 23px;
    font-weight: bold;
    gap: 10px;
}

.form-container img {
    position: relative;
    height: 24px;
}

form {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    width: 90%;
    height: auto;
    padding: 20px;
    background: #f0f0f0;
    position: relative;
    gap: 3px;
    display: flex;
    flex-direction: column;
}
.form-wrapper.open form {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

select {
    appearance: none; /* 기본 화살표 제거 (브라우저 기본 스타일 제거) */
    background: url('https://cdn-icons-png.flaticon.com/512/271/271210.png') no-repeat right 10px center;
    background-size: 12px; /* 화살표 크기 조정 */
    padding-right: 30px; /* 오른쪽 공간 확보 (버튼 공간) */
}
select, input[type="text"] {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.ph_num {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.ph_num input{
    flex: 1; /* 입력 필드 크기를 자동 조절 */
    padding-left: 10px;
}
.ph_num span{
    align-items: center;
    display: flex;
}

.agree {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.privacy_btn {
    width: 170px;
    height: 33px;
    background: #666;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}
.agree label {
    padding-left: 5px;
    font-size: 15px;
}
.agree input[type="checkbox"] {
    margin-left: 20px;
}

button.submit {
    width: 100%;
    height: 50px;
    background: #ff8c00;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

button.submit > a {
    color: white;
    font-size: 18px;
    font-weight: bold;
}
button.submit img {
    width: 11px;
    margin-left: 5px;
    height: auto;

}
.main_section {
    width: 100%;
    height: 100vh; /* 화면 전체 높이 */
    position: relative;
    overflow: hidden;
    background-color: #e9e9e9;
    isolation: isolate;
    overflow-x: auto; /* 가로 스크롤 가능하게 */
    white-space: nowrap; /* 줄바꿈 방지 */
}

.main_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    z-index: -1;
}


.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 화면에 꽉 차게 설정 */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* 텍스트보다 뒤로 이동 */
    mix-blend-mode: multiply;
}


.text-box {
    position: absolute;
    top: 55%; /* 세로 중앙 정렬 */
    left: 10%; /* 왼쪽에서 10% 위치 */
    transform: translateY(-50%);
}

.text-box h5 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.5;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.text-box h1 {
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 48px;
    font-weight: bolder;
    line-height: 1.3;
}

.booking {
    width: 211px;
    height: 57px;
    background: #ff8c00;
    justify-content: center;
    text-align: center;
    align-items: center;
    display: flex;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 30px;
}

.text-box a {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.main_section2 {
    width: 100%;
    height: 100vh;
    position: relative; /* 부모 요소를 상대 위치로 설정 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overflow-x: auto; /* 가로 스크롤 가능하게 */
}

.main_section2 img {
    width: 100%;
    height: 100vh;
    object-fit: cover; /* 이미지가 꽉 차도록 설정 */
    position: absolute;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1;
}

.text_overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%); /* 중앙 정렬 */
    text-align: center;
    z-index: 2; /* 텍스트가 이미지 위에 나타나도록 */
    padding: 15px;
    width: 80%; /* 내용이 너무 넓어지지 않도록 */
    max-width: 600px;
    overflow-x: auto; /* 가로 스크롤 가능하게 */

}

.text_overlay h3 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(0, 102, 204);
}

.text_overlay p {
    font-size: 18px;
    line-height: 1.5;
}

.overayimg {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; /* 배경보다 위, 텍스트보다 아래 */
    width: 666px; /* 적절한 크기 조정 */
}

.overayimg img {
    width: 100%;
    height: auto;
    opacity: 30%; /* 살짝 투명하게 */
}

.button-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 3; /* 텍스트와 함께 보이도록 */
    width: 100%;
}

.service-link {
    display: flex; /* 버튼 내부 텍스트 정렬 */
    flex-direction: column; /* 텍스트를 위아래로 정렬 */
    align-items: center; /* 중앙 정렬 */
    justify-content: center;
    background-color: #0056b3;
    color: white;
    font-size: 30px;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
    width: 400px;
    height: 230px;
    box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-top: 5%;

}

.service-link img {
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    opacity: 30%;
}

.service-link p {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
    color: white;
    padding-top: 15px;
    z-index: 1;

}

.title {
    font-size: 25px;
    color: white;
    z-index: 1;
}

.sub-title {
    font-size: 20px;
    font-weight: lighter;
    color: white;
    opacity: 80%;
    z-index: 1;
}

.service-link:hover {
    background-color: rgb(0, 60, 121);
}

.main_section3 {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url("/with_go/src/images/main_3.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.service {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    margin-top: 100px;
    top: 5%;
    z-index: 4;
}

.service div {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    margin-left: -40px;
    z-index: 5;
}


.service div img.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    mix-blend-mode: multiply;
    background-color: rgba(38, 0, 255, 0);
    opacity: 0.9;
    z-index: 2; /* 배경 이미지 뒤 */
}

.service div img.icon {
    position: absolute;
    width: auto;
    height: 95px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    filter: drop-shadow(1px 1px 3px rgba(13, 29, 177, 0.5));
}


.service div span {
    position: absolute;
    font-size: 25px;
    font-weight: bold;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 3;
    text-shadow: 1px 1px 3px rgba(13, 29, 177, 0.5);
}

.service div p {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: normal;
    color: white;
    text-align: center;
    width: 80%;
    line-height: 1.5;
    z-index: 3;
    text-shadow: 1px 1px 3px rgba(13, 29, 177, 0.5);
}

.overayimg2 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 666px;
}

.overayimg2 img {
    width: 100%;
    height: auto;
    opacity: 30%;
}

.text_overlay2 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    padding: 15px;
}

.text_overlay2 span {
    font-size: 15px;
    color: rgb(0, 102, 204);
}

.text_overlay2 h3 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: rgb(0, 102, 204);
}

.text_overlay2 p {
    font-size: 18px;
    line-height: 1.5;
}
.side-bt {
    position: fixed; /* 화면 고정 */
    right: 50px;
    bottom: 40px;
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center;
    gap: 10px;
    z-index: 4;
}
.side-bt > a > img {
    width: 50px;
    height: 50px;
    right: 60px;
    background: rgba(0, 0, 0, 0.37);
    border-radius: 10px ;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.123); /* 부드러운 그림자 추가 */
}
#quick-form {
    position: fixed;
    left: -250px;
    transition: left 0.3s ease-in-out;
}

.side-bt > #kakao,
.side-bt > #insta,
.side-bt > #fb {
    display: block;
}

#kakao, #insta, #fb {
    width: 50px;
    height: 50px;
    animation-name: aa;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes aa {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(0, 5px);
    }
    }
