* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
}

/* 메인 페이지 공통 섹션 스타일 */
#main .section-2, #main .section-3, #main .section-4{
    background-color: white;
    width: 80%;
    margin: 0 auto;
}

/* 섹션별 개별 마진 설정 */
#main .section-5 {
    margin-top: clamp(2rem, 4vw, 4rem);
    margin-left: auto;
    margin-right: auto;
    width: clamp(60%, 70%, 90%);
}

#main .section-2-list,
#main .section-3-list,
#main .section-4-list {
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 2rem);;
    gap: 1rem;
    color: black;
    width: 97%;
    margin-left: 10px;
    padding-top: clamp(1rem, 3vw, 3rem);
    padding-bottom: clamp(0.5rem, 1vw, 1.2rem);
    display: flex;
    align-items: center;
    justify-content: left;
    font-weight: 400;
}

/* 배너 반응형 크기 조정 */
.top-banner {
    width: 100%;
    height: clamp(120px, 25vw, 350px);
    overflow: hidden;
}

body.main-page .local-service {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* 가운데 정렬 */
    padding-bottom: 1rem;
    flex-wrap: wrap; /* 화면이 작아질 때 줄 바꿈 */
    max-width: 100%;
    text-align: center;
}

body.main-page .local-service-icon {
    width: clamp(30px, 5vw, 50px); /* 반응형 크기 조절 */
    height: clamp(30px, 5vw, 50px);
    margin-right: clamp(0.5rem, 1vw, 1rem); /* 마진도 반응형 조정 */
}

body.main-page .local-service-text {
    font-size: clamp(0.8rem, 2.5vw, 1.5rem); /* 반응형 텍스트 크기 조절 */
    white-space: nowrap; /* 필요시 줄 바꿈 방지 */
}


/* 예약 버튼 */
.reserve-btn {
    background-color: #ffffff;
    width: 100%;
    color: #000000;
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: clamp(14px, 1vw, 16px);
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.reserve-btn:hover {
    background-color: #3a3b5e;
    color: #ffffff;
    transform: translateY(2px);
}

/* 500px 이하에서 섹션 크기 조정 */
@media (max-width: 500px) {
    #main .section-2, #main .section-3, #main .section-4 {
        width: 90% !important;
    }
    #main .section-2-title,
    #main .section-2-list,
    #main .section-3-list,
    #main .section-4-list {
        padding-top: clamp(1.5rem, 3vw, 3rem);
        padding-bottom: clamp(0.3rem, 1vw, 1rem); /
    }
}

/* 400px 이하에서 전체 너비 적용 */
@media (max-width: 400px) {
    #main .section-2, #main .section-3, #main .section-4 {
        width: 100% !important;
    }
}
