@charset "utf-8";

/* [1] 공통 규격 보존 (수정 금지) */
#sub-page-container { width: 100%; overflow: hidden; }
.sub-visual { height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.sub-visual .main-title { font-size: 42px; font-weight: 700; letter-spacing: -1px; }
.content-header { padding: 80px 0 50px; text-align: center; }
.content-header .page-title { font-size: 36px; font-weight: 700; color: #333; margin-bottom: 15px; }
.content-header .title-underline { width: 40px; height: 3px; background: #102476; margin: 0 auto; }
.top-padding-zero { padding-top: 0 !important; }

/* [2] 배경색 공통 클래스 */
.bg-f8 { background: #f8f8f8 !important; padding: 100px 0; }

/* [3] 탭 메뉴 */
.sub-tab-nav { border-bottom: 1px solid #e2e2e2; background: #fff; width: 100%; position: relative; overflow: hidden; }
.tab-list { 
    display: flex; justify-content: center; max-width: 1200px; margin: 0 auto; list-style: none; padding: 0; 
    overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list li { flex: 0 0 auto; width: 180px; text-align: center; }
.tab-list li a { display: block; padding: 25px 15px; font-size: 18px; color: #999; text-decoration: none; position: relative; transition: 0.3s; }
.tab-list li a.active { color: #102476; font-weight: 700; }
.tab-list li a.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: #102476; }

/* [4] 섹션 타이틀 및 대괄호 */
.clinic-content-section { padding: 100px 0 80px; background: #fff; }
.inner-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.section-top-header { text-align: center; margin-bottom: 40px; }
.sub-numbering { font-size: 26px; font-weight: 900; color: #102476; display: block; margin-bottom: 5px; opacity: 0.8; }
.section-title-h3 { font-size: 32px; color: #222; font-weight: 400 !important; }
.section-title-h3 strong { font-weight: 800 !important; }
.title-line-short { width: 30px; height: 2px; background: #102476; margin: 20px auto 0; }

.definition-bracket-box { 
    display: block; position: relative; padding: 40px 100px; text-align: center; margin: 40px auto 0; width: fit-content; max-width: 90%;
}
.definition-bracket-box::before, .definition-bracket-box::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; border-color: #e2e2e2; border-style: solid; }
.definition-bracket-box::before {left: 0; border-width: 10px 0 10px 10px;}
.definition-bracket-box::after {right: 0; border-width: 10px 10px 10px 0;}
.def-txt { font-size: 22px; color: #444; line-height: 1.8; word-break: keep-all; margin: 0; }
.highlight-blue { color: #102476 !important; font-weight: 700 !important; }

/* [5] 심미치료 전용 레이아웃 */
.aesthetic-main-img { text-align: center; margin-bottom: 40px; }
.aesthetic-main-img img { max-width: 600px; width: 100%; height: auto; border-radius: 15px; }

/* 미백 진행과정 그리드 */
.process-grid-4 { display: flex; justify-content: center; gap: 20px; max-width: 1200px; margin: 0 auto; }
.process-card { flex: 1; background: transparent !important; box-shadow: none !important; text-align: center; display: flex; flex-direction: column; align-items: center; }
.process-card .p-img { width: 100%; background: transparent !important; margin-bottom: 25px; display: flex; justify-content: center; }
.process-card .circle-wrap { 
    width: 210px; height: 210px; border-radius: 50%; background: #fff; overflow: hidden; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12); border: 1px solid #f0f0f0; 
}
.process-card .circle-wrap img { width: 100%; height: auto; display: block; }
.process-card .p-info { padding: 0; }
.process-card .p-step { display: inline-block; background: #102476; color: #fff; padding: 5px 20px; border-radius: 50px; font-size: 13px; font-weight: 800; margin-bottom: 15px; letter-spacing: 0.5px; }
.process-card p { font-size: 18px; color: #333; font-weight: 700; line-height: 1.4; word-break: keep-all; margin: 0; }

/* 라미네이트 추천 카드 */
.recommend-grid-4 { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.recommend-card { flex: 1; display: flex; flex-direction: column; align-items: center; background: transparent !important; }
.recommend-card .r-circle { 
    width: 100%; max-width: 200px; aspect-ratio: 1 / 1; border-radius: 50%; background: #eeeeee; 
    margin-bottom: 25px; position: relative; overflow: hidden; 
    display: flex; justify-content: center; align-items: center; 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); border: 1px solid #eee; 
}
.recommend-card .r-circle img { width: 100%; height: 100%; object-fit: contain; display: block; }
.recommend-card p { font-size: 17px; color: #444; font-weight: 600; line-height: 1.5; word-break: keep-all; text-align: center; }

/* [핵심 수정] 보톡스 추천 섹션 - 시안 스타일 반영 */
.full-implant-check-section.botox-recommend-bg {
    background: linear-gradient(rgba(16, 36, 118, 0.5), rgba(16, 36, 118, 0.5)), 
                url('../img/0205_bg.png') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center; /* 덩어리 전체 중앙 배치 */
}

.check-list-wrap {
    display: inline-block; /* 내용만큼만 너비를 가지고 중앙으로 정렬 */
    margin: 40px auto 0;
    text-align: left;      /* 내부 항목은 왼쪽 정렬 */
    max-width: 100%;
}

.check-item {
    background: #fff;
    /* 좌우 패딩을 대폭 늘려 바(Bar) 형태를 만들고 여백을 확보함 */
    padding: 20px 80px 20px 80px; 
    border-radius: 50px;
    font-size: 19px;
    color: #333;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    font-weight: 700;
    margin-bottom: 18px;
    white-space: nowrap;   /* 텍스트 줄바꿈 방지 */
    word-break: keep-all;
    transition: 0.3s;
}

/* 시안의 하늘색 체크(v) 아이콘 수직 라인 맞춤 */
.check-item::before {
    content: '';
    position: absolute;
    left: 40px; /* 모든 v 표시가 시작점으로부터 40px 위치에 고정 */
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300aeef'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* [6] 반응형 모바일 (991px 이하) */
@media screen and (max-width: 991px) {
    .pc-br { display: none !important; }
    .sub-visual { height: 250px; }
    .sub-visual .main-title { font-size: 30px; }
    
    /* 탭 메뉴 모바일 최적화 */
    .tab-list { justify-content: flex-start; padding: 0 20px; scroll-snap-type: x mandatory; }
    .tab-list li { width: 130px; scroll-snap-align: center; }
    .tab-list li a { font-size: 15px; padding: 18px 10px; }

    /* 미백 진행과정 모바일: 2열 배치 */
    .process-grid-4 { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px 15px; 
    }
    .process-card .circle-wrap { width: 140px; height: 140px; }
    .process-card p { font-size: 15px; }

    /* 라미네이트 추천 모바일: 2열 배치 및 정원 유지 */
    .recommend-grid-4 { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px 15px; 
    }
    .recommend-card .r-circle { 
        width: 130px; 
        height: 130px; 
        margin-bottom: 15px; 
    }
    .recommend-card p { font-size: 14px; }

    /* 보톡스 추천 섹션 모바일 최적화 */
    .full-implant-check-section.botox-recommend-bg { padding: 60px 0; }
    
    .check-list-wrap { 
        display: block; /* 모바일에서는 가로폭에 맞게 블록화 */
        width: 90%; 
        max-width: 400px; /* 너무 퍼지지 않게 제한 */
        margin: 30px auto 0; 
    }

    .check-item { 
        padding: 15px 20px 15px 55px; /* 패딩 축소 */
        font-size: 15px; 
        border-radius: 35px; 
        white-space: normal; /* 모바일 줄바꿈 허용으로 정렬 깨짐 방지 */
        text-align: left;
        margin-bottom: 12px;
    }

    .check-item::before { 
        width: 18px; 
        height: 18px; 
        left: 20px; /* 체크 아이콘 위치 조정 */
    }

    .section-title-h3 { font-size: 22px; }
    .definition-bracket-box { padding: 25px 30px; width: 92%; }
    .def-txt { font-size: 16px; line-height: 1.6; }
}

/* 초소형 모바일 (480px 이하) 추가 조정 */
@media screen and (max-width: 480px) {
    .process-grid-4, .recommend-grid-4 { 
        grid-template-columns: 1fr; /* 1열 배치로 가독성 확보 */
        gap: 25px;
    }
    .process-card .circle-wrap, .recommend-card .r-circle { 
        width: 180px; 
        height: 180px; 
    }
    .check-item { font-size: 14px; padding: 12px 15px 12px 45px; }
    .check-item::before { left: 15px; }
}