/* 전체 레이아웃 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
}

/* 제목 및 내용 컨테이너 */
.terms-container {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 100px auto;
    min-height: 903px;
}

.terms-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* 회색 박스 */
.terms-box {
    width: 100%;
    height: 600px;
    background-color: #d9d9d9;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 8px;
    overflow-y: auto;
}

/* 텍스트 스타일 */
.terms-content h2 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 10px;
}

.terms-content p {
    line-height: 1.6;
    font-size: 15px;
    color: #333333;
}

/* 반응형 */
@media (max-width: 768px) {
    .terms-title {
        font-size: 30px;
    }

    .terms-box {
        height: 450px;
        padding: 20px;
    }

    .terms-content h2 {
        font-size: 20px;
    }

    .terms-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .terms-title {
        font-size: 26px;
    }

    .terms-box {
        height: 400px;
    }
}

/* --- Tablet (768px ~ 1199px) 보완 --- */
@media (max-width: 1199px) {
    .terms-container {
        width: 92%;
        margin: 40px auto 80px;
    }
}

/* --- Mobile S (~ 479px) 보완 --- */
@media (max-width: 479px) {
    .terms-container {
        width: 95%;
        margin: 24px auto 60px;
    }

    .terms-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .terms-box {
        padding: 16px;
    }
}
