@charset "utf-8";
/* CSS Document */

        /* ★★★ 전체 컨테이너 (수정됨) ★★★ */
        .container {
            max-width: 800px;
            margin: 40px auto; /* 위아래 여백을 주어 보기 좋게 수정 */
            background-color: #ffffff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 12px; /* 라운드 추가 */
            overflow: hidden;    /* 내부 이미지가 삐져나가지 않도록 설정 */
        }

        /* 상단 이미지 */
        .header-image {
            width: 100%;
            height: auto;
            display: block;
        }

        /* 폼 영역 */
        .form-container {
            padding: 20px 40px 40px 40px;
        }

        .form-container h2 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 28px;
        }

        /* 폼 그룹 */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 8px;
        }


        .form-group input[type="text"],
        .form-group input[type="tel"],
        .form-group input[type="email"],
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
            font-family: inherit; 
        }
        
        /* Placeholder 폰트 지정 */
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            font-family: "Pretendard", -apple-system, sans-serif;
            color: #aaa;
        }

        /* 라디오 버튼 그룹 */
        .radio-group {
            display: flex;
            gap: 20px;
            border: 1px solid #ccc;
            padding: 12px;
            border-radius: 4px;
        }

        .radio-group label {
            font-weight: normal;
            display: flex;
            align-items: center;
            margin-bottom: 0;
            cursor: pointer;
        }

        .radio-group input[type="radio"] {
            margin-right: 5px;
            width: auto;
            -webkit-appearance: radio;
            appearance: radio;
        }


        .form-group textarea {
            height: 150px;
            resize: vertical;
        }

        /* 개인정보 동의 영역 */
        .privacy-group {
            margin-top: 30px;
            padding: 15px;
            border: 1px solid #eee;
            border-radius: 4px;
            background-color: #f9f9f9;
        }

        /* 동의 라벨 + 내용보기 버튼 래퍼 */
        .privacy-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .privacy-header label {
            /*display: flex;*/
            align-items: center;
            font-weight: normal;
            margin-bottom: 0;
        }

        .privacy-header input[type="checkbox"] {
            margin-right: 10px;
            width: 18px;
            height: 18px;
        }

        .privacy-header .required {
            font-weight: bold;
            color: #d9534f;
            margin-left: 5px;
        }
        
        /* 내용보기 버튼 */
        .privacy-toggle-btn {
            background-color: #6c757d;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }
        
        .privacy-toggle-btn:hover {
            background-color: #5a6268;
        }

        /* 개인정보 상세 내용 (기본 숨김) */
        .privacy-details {
            display: none;
            margin-top: 15px;
            padding: 15px;
            border: 1px solid #ddd;
            background-color: #fff;
            font-size: 14px;
            line-height: 1.6;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .privacy-details p {
            margin: 10px 0;
        }
        .privacy-details ul {
            padding-left: 20px;
            margin-top: 5px;

        }

        /* 신청하기 버튼 */
        .submit-btn {
            width: 100%;
            padding: 15px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #0056b3;
        }
/* 1. 타이틀 영역 전체 박스 */
    .consult-title-wrap {
        text-align: center;      /* 가운데 정렬 */
        padding: 0px 0 40px;    /* 위아래 여백 (위쪽을 좀 더 줘서 이미지와 분리) */
        max-width: 700px;        /* 글자가 너무 퍼지지 않게 제한 */
        margin: 0 auto;          /* 중앙 위치 */
    }

    /* 2. 상단 포인트 배지 (파란색 알약 모양) */
    .consult-badge {
        display: inline-block;
        background-color: #EBF5FF; /* 아주 연한 파란색 배경 */
        color: #2D91FF;            /* 찐한 파란색 글씨 */
        font-size: 14px;
        font-weight: 800;
        padding: 6px 14px;
        border-radius: 20px;       /* 둥근 모양 */
        margin-bottom: 15px;       /* 제목과의 간격 */
        letter-spacing: 0.05em;
    }

    /* 3. 메인 제목 스타일 */
    .consult-head {
        font-size: 34px;
        font-weight: 800;
        color: #111;
        margin: 0 0 10px 0;
        line-height: 1.2;
        letter-spacing: -0.05rem;
    }

    /* 4. 설명 문구 스타일 */
    .consult-desc {
        font-size: 18px;
        color: #666;
        line-height: 1.6;
        margin: 0;
        word-break: keep-all; /* 단어 중간 끊김 방지 */
    }

    /* 설명 문구 내 강조 (굵은 글씨) */
    .consult-desc b {
        color: #222;
        font-weight: 700;
        border-bottom: 1px solid #ddd; /* 살짝 밑줄 포인트 */
    }


/* ================= 제품 바로가기 버튼 영역 ================= */
.product-link-section {
    display: flex;
    justify-content: center;
    gap: 10px; /* 버튼 사이 간격 */
    width: 100%;
    max-width: 1000px; /* 상담 폼 너비와 비슷하게 */
    margin-bottom:30px; /* 위아래 여백 */
    padding: 0 5;
    box-sizing: border-box;
}

.product-btn {
    flex: 1; /* 3개 버튼 동일한 너비 */
    display: flex;
    flex-direction: column; /* 글자 위아래 정렬 */
    justify-content: center;
    align-items: center;
    
    background-color: #ffffff;
    border: 2px solid #E3F2FD; /* 아주 연한 파란 테두리 */
    border-radius: 10px; /* 둥근 모서리 */
    padding: 10px 5px;
    text-decoration: none; /* 밑줄 제거 */
    
    /* 그림자 효과로 입체감 주기 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease; /* 부드러운 움직임 */
}

/* 제품명 스타일 */
.btn-title {
    font-size: 1rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
    word-break: keep-all; /* 단어 중간에 끊김 방지 */
    line-height: 1.3;
}

/* '상세보기 ->' 스타일 */
.btn-sub {
    font-size: 0.8rem;
    color: #2D91FF; /* 파란색 포인트 */
    font-weight: 600;
}

/* 마우스 올렸을 때 효과 (Hover) */
.product-btn:hover {
    transform: translateY(-5px); /* 살짝 위로 뜸 */
    border-color: #2D91FF; /* 테두리 진한 파란색 */
    box-shadow: 0 10px 25px rgba(45, 145, 255, 0.2); /* 파란 그림자 */
}

.product-btn:hover .btn-title {
    color: #2D91FF; /* 제목도 파란색으로 */
}



    /* 모바일 대응 */
    @media (max-width: 768px) {
        .consult-title-wrap { padding: 40px 20px 30px; }
        .consult-head { font-size: 26px; }
        .consult-desc { font-size: 15px; }
        .consult-desc br { display: none; } /* 모바일에서 줄바꿈 제거 */
		
		
		
		.product-link-section {
        flex-direction: column; /* 세로로 쌓이게 변경 */
        gap: 15px;
        margin: 30px auto;
    }

    .product-btn {
        width: 100%; /* 가로 꽉 차게 */
        flex-direction: row; /* 모바일에서는 가로로 배치 (보기 편하게) */
        justify-content: space-between; /* 양끝 정렬 */
        padding: 10px 15px;
		letter-spacing:-0.1rem;
    }

    .btn-title {
        margin-bottom: 0;
        text-align: left;
        font-size: 1.1rem;
    }
    
    /* 모바일에서 줄바꿈 태그(<br>) 무시하고 한 줄로 */
    .btn-title br {
        display: none; 
    }
    }