* { box-sizing: border-box; margin: 0; padding: 0; }

body {
        font-family:'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
        width: 100%;
}

#view-app {
    width: 100%;
    margin: 0;
}

#view-app img,
#view-app video {
    display: block;
    width: 100%;
}

/* 폼 전체 컨테이너 */
.form-preset {
    background-color: #5d4f4a;
    padding: 40px 0;
    width: 100%;
}

.horizontal-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* 왼쪽 입력 폼 */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-group {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    font-size: 16px;
}
.form-group label { width: 60px; }
.form-group input,
.form-group select {
    width: 300px;
    height: 44px;
    border: none;
    padding: 0 14px;
    font-size: 15px;
}
.phone-group { display: flex; gap: 6px; }
.phone-group select { width: 100px; }
.phone-group input { width: 96px; }

/* 중앙 버튼 */
.submit-btn {
    width: 130px;
    height: 150px;
    background: #dcd1cc;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    color: #4a3e3a;
    cursor: pointer;
    font-size: 20px;
}

/* 오른쪽 동의 항목 - 4줄 세로 배열 */
.agree-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.agree-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
}
.agree-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.agree-item .detail-link {
    color: #d7f4ff;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 2px;
}

/* 푸터 */
#footer {
    background-color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

#footer address {
    font-style: normal;
}

.footer-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.privacy-notice {
    max-width: 900px;
    margin: 12px auto 0;
    color: #cfc7c3; /* 배경(#5d4f4a)보다 밝은 회갈색 톤 */
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px;
}

/* ===== 모바일: DB 폼 세로 배열 (PC는 위 기본 가로형 유지) ===== */
@media (max-width: 768px) {
    .horizontal-form {
        max-width: 400px;
        margin: 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0 20px;
    }

    .form-fields {
        gap: 10px;
        width: 100%;
    }
    .form-group {
        gap: 12px;
        font-size: 15px;
    }
    .form-group label { width: 50px; }
    .form-group input,
    .form-group select {
        width: 100%;
    }
    .phone-group { flex: 1; min-width: 0; }
    .phone-group select { width: 80px; flex-shrink: 0; }
    .phone-group input { width: 0; flex: 1; min-width: 0; }

    .submit-btn {
        width: 100%;
        height: 54px;
        font-size: 18px;
    }

    .agree-container {
        gap: 10px;
        width: 100%;
    }
    .agree-item {
        font-size: 13px;
        white-space: normal;
    }
}