﻿@charset "utf-8";


/* ==========================================================================
   1. 기본 레이아웃 보정 (이랜드클리닉 모바일 공통 대응)
   ========================================================================== */

.wrap {
    width: 100%;
    min-height: 100vh;
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
}

/* 
   [가림 현상 해결] 
   기존 상단 고정형 헤더(높이 약 50px~60px) 아래로 
   본문 첫 줄이 파고드는 것을 방지하기 위해 padding-top을 충분히 확보합니다.
*/
.container.sub {
    padding: 70px 12px 25px 12px !important; /* 상단 여백을 70px로 늘려 1번 문항 노출 */
    box-sizing: border-box;
    flex: 1;
}

/* 만약 헤더가 상단 고정(position:fixed)이 아니라면 여백이 너무 넓어질 수 있으므로 
   안전하게 약관 컨테이너 자체에도 상단 마진을 살짝 부여합니다. */
.m-terms-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px 14px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   2. 약관 본문 컨테이너 및 리스트 구조
   ========================================================================== */
.m-terms-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 15px 12px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.m-terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   3. 세부 조항 및 박스 컴포넌트 디자인
   ========================================================================== */

/* 상단 요약/안내 블록 */
.m-terms-intro {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 14px;
    border-radius: 6px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.6;
}
.m-terms-intro p {
    margin: 0 0 10px 0;
}
.m-terms-intro p:last-child {
    margin-bottom: 0;
}

/* 각 조항 영역 구분 */
.m-terms-item {
    margin-bottom: 25px;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 20px;
}
.m-terms-item:last-child {
    border-bottom: none;
}

/* 조항 타이틀 */
.m-terms-item h3 {
    font-size: 15px;
    color: #0056b3; /* 가독성을 위한 메인 포인트 컬러 */
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

/* 일반 텍스트 문단 */
.m-terms-item p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 8px 0;
    word-break: keep-all; /* 단어 단위 줄바꿈으로 모바일 가독성 증대 */
    text-align: justify;
}

/* 필수수집 항목 등 붉은색 강조 박스 */
.m-highlight-box {
    background-color: #fff4f4;
    border: 1px solid #fecaca;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #dc2626;
    margin: 10px 0;
    line-height: 1.6;
}

/* 서브 리스트 및 하위 문단 들여쓰기 라인 */
.m-sub-paragraph {
    padding-left: 10px;
    border-left: 2px solid #e9ecef;
    margin: 12px 0;
}
.m-sub-paragraph p {
    font-size: 13px;
    color: #555555;
    margin-bottom: 8px;
}
.m-sub-paragraph p:last-child {
    margin-bottom: 0;
}

/* 약관 서브 타이틀 (예: 쿠키란?) */
.m-bold-title {
    font-weight: bold;
    color: #111111;
    margin-top: 12px !important;
}

/* 보유 기간 표기용 회색 박스 */
.m-law-box {
    background: #f1f3f5;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 12px 0;
}
.m-law-box p {
    font-size: 12.5px;
    margin-bottom: 6px;
    color: #495057;
}
.m-law-box p:last-child {
    margin-bottom: 0;
}

/* 담당자 및 문의처 박스 */
.m-contact-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}
.m-contact-box p {
    font-size: 13px;
    margin-bottom: 6px;
    color: #333333;
}
.m-contact-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   4. 제12조 위탁업체 테이블 가로 터치 스크롤 구현
   ========================================================================== */
.m-table-scroll {
    width: 100%;
    overflow-x: auto; /* 화면을 넘길 시 가로 스크롤 활성화 */
    -webkit-overflow-scrolling: touch; /* iOS 관성 스크롤 허용 */
    margin-top: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.m-tbl-terms {
    width: 100%;
    min-width: 440px; /* 모바일 폭이 아주 좁아도 표 형태 유지 */
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
}

.m-tbl-terms th, 
.m-tbl-terms td {
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.m-tbl-terms th:last-child, 
.m-tbl-terms td:last-child {
    border-right: none;
}

.m-tbl-terms th {
    background-color: #f1f3f5;
    color: #333333;
    font-weight: 600;
}

.m-tbl-terms td {
    color: #555555;
    white-space: nowrap; /* 텍스트가 좁은 칸에서 세로로 구겨지는 현상 방지 */
}

/* 스크롤 가이드 안내 */
.m-scroll-tip {
    display: block;
    font-size: 11px;
    color: #868e96;
    margin-top: 6px;
    text-align: right;
}




body{
    margin:0;
    background:#f5f5f5;
    font-family:'Noto Sans KR',sans-serif;
    color:#333;
}

.m-terms-container{
    padding:20px;
}

.result-card{

    background:#fff;
    border-radius:16px;
    padding:22px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.title{

    color:#b40000;
    font-size:24px;
    font-weight:700;
    margin-bottom:20px;

}

.info-box{

    background:#fafafa;
    border-left:4px solid #b40000;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;

}

.info-box ul{

    padding-left:18px;
    margin:0;

}

.info-box li{

    margin-bottom:12px;
    line-height:1.7;

}

.highlight{

    color:#d50000;
    font-weight:bold;

}

.notice{

    background:#8a6d3b;
    color:#fff;
    border-radius:8px;
    padding:12px;
    text-align:center;
    font-size:14px;
    margin:20px 0;

}

.form-group{

    margin-bottom:18px;

}

.form-group label{

    display:block;
    font-weight:600;
    margin-bottom:8px;

}

.input{

    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 15px;
    box-sizing:border-box;
    font-size:16px;

}

.btn-area{

    margin-top:25px;

}

.btn-request{

    width:100%;
    height:52px;
    border:0;
    background:#7b0014;
    color:#fff;
    border-radius:30px;
    font-size:18px;
    font-weight:700;

}

.check-box{

    margin-top:25px;

}

.check-title{

    display:inline-block;
    background:#6f5537;
    color:#fff;
    padding:8px 14px;
    border-radius:6px;
    font-weight:bold;
    margin-bottom:12px;

}

.check-box ol{

    padding-left:18px;
    line-height:1.8;
    color:#555;

}

.pdfBtn{

    width:100%;
    height:45px;
    margin-top:10px;
    border:0;
    background:#d93025;
    color:#fff;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;

}

</style>
