/* mobile */
@media (min-width: 1px) and (max-width: 1089px) {

	.fixed-header {display:none;}
	.login{display:block}
	.mpage{display:block;}
	.spage{overflow-x:auto;white-space: nowrap;}
	
}

/* desktop */
@media (min-width: 1090px) {

	.fixed-header {display:block;}
	.login{display:none}
	.mpage{display:none;}


	/* header */
	.fixed-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 1030;
	}
	.top-line { background:#333333; }
	.fixed-top {
		position: fixed;
		top: 34px;
		right: 0;
		left: 0;
		z-index: 1030;
	}


}

.footer h2{margin:0 0 20px; 0}


.list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.list-group-first{
	padding: 50px 0px 50px 20px;
    background: #4c4f6f;
    font-size: 20px;
	color:#fff;
    font-weight: bold;
    border-top: 3px solid #313450;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.carousel-item a{color:#fff;}

/* 네비게이션 수정 */
.dropdown-menu {
    border-radius: 0px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 7px 15px;
    clear: both;
    font-weight: 600;
    color: #888;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 14px;
}
.dropdown-item:hover {
	background:#f5f5f5;
}

.color-gray{color:#666}
.color-red{color:#ff0000}


.f12 {font-size: 12px;}
.f13 {font-size: 13px;}
.f14 {font-size: 14px;}
.f15 {font-size: 15px;}
.f16 {font-size: 16px;}
.f17 {font-size: 17px;}
.f18 {font-size: 18px;}
.f19 {font-size: 19px;}
.f20 {font-size: 20px;}

/* pages */
.info-2 i{font-size:20px;}
table th, table td{ font-family: 'S-CoreDream-4Regular';font-size: 14px;}



#bo_v_sns li span{display:none;}
#bo_v_sns {display:none;position:absolute;top:-50px;right:0px;margin-left:-90px;width:180px;padding:0;list-style:none;zoom:1}


/* 슬라이드 캡션 스타일 개선 */
.carousel-caption {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    text-align: left;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    max-width: 600px;
    animation: slideInRight 1s ease-out;
}

/* 제목 스타일 */
.carousel-caption h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    letter-spacing: -1px;
}

/* 본문 텍스트 스타일 */
.carousel-caption p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
    opacity: 0.95;
}

/* 강조 효과 - 첫 번째 문장 */
.carousel-caption p:first-of-type {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 1;
}

/* 장식 라인 */
.carousel-caption h3::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #D4A574, #F5E6D3);
    margin-bottom: 20px;
    border-radius: 2px;
}

/* 애니메이션 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* 활성 슬라이드의 캡션 애니메이션 */
.carousel-item.active .carousel-caption {
    animation: slideInRight 1s ease-out;
}

/* 반응형 - 타블릿 */
@media (max-width: 1089px) {
    .carousel-caption {
        right: 5%;
        max-width: 500px;
    }
    
    .carousel-caption h3 {
        font-size: 36px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .carousel-caption {
        right: 3%;
        left: 3%;
        max-width: none;
        text-align: left;
        top: 45%;
    }
    
    .carousel-caption h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .carousel-caption h3::before {
        width: 35px;
        height: 2px;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    
    .carousel-caption p:first-of-type {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* 아주 작은 모바일 (360px 이하) */
@media (max-width: 400px) {
    .carousel-caption h3 {
        font-size: 16px;
    }
    
    .carousel-caption p {
        font-size: 10px;
    }
    
    .carousel-caption p:first-of-type {
        font-size: 11px;
    }
}

/* 호버 효과 제거 */

/* 부드러운 전환 */
.carousel-caption * {
    transition: all 0.3s ease;
}


/*    */


        /* 정밀 진단 섹션 */
        .diagnosis-section {
            background: #f5f5f5;
            padding: 100px 60px;
        }

        .diagnosis-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 60px;
            align-items: center;
        }

        .diagnosis-left {
            flex: 1;
        }

        .diagnosis-left img {
            width: 100%;
            height: 600px;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }

        .diagnosis-right {
            flex: 1;
            color: #333;
        }

        .diagnosis-number {
            font-size: 120px;
            font-weight: 200;
            color: #e0e0e0;
            line-height: 1;
            margin-bottom: 20px;
        }

        .diagnosis-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .diagnosis-title .highlight {
            color: #667eea;
        }

        .diagnosis-subtitle {
            font-size: 20px;
            font-weight: 300;
            margin-bottom: 40px;
            font-style: italic;
        }

        .diagnosis-description {
            font-size: 16px;
            line-height: 2;
            margin-bottom: 20px;
            color: #555;
        }

        .diagnosis-description strong {
            font-weight: 700;
            color: #333;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 30px;
            font-size: 16px;
            font-weight: 600;
            color: #667eea;
            text-decoration: none;
            transition: gap 0.3s ease;
        }

        .read-more:hover {
            gap: 20px;
        }

        .read-more svg {
            transition: transform 0.3s ease;
        }

        .read-more:hover svg {
            transform: translateX(5px);
        }


     
        /* 비만체형관리 섹션 */
        .obesity-section {
            background: #2C3E50;
            padding: 80px 60px;
        }

        .obesity-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 60px;
            align-items: center;
        }

        .obesity-left {
            flex: 1;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .section-number {
            font-size: 120px;
            font-weight: 200;
            opacity: 0.3;
            line-height: 1;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: -1px;
        }

        .section-subtitle {
            font-size: 18px;
            font-weight: 300;
            margin-bottom: 50px;
            opacity: 0.9;
        }

        .icon-grid {
            display: flex;
            gap: 30px;
            margin-bottom: 60px;
        }

        .icon-item {
            text-align: center;
        }

        .icon-circle {
            width: 120px;
            height: 120px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .icon-circle:hover {
            transform: translateY(-5px);
        }

        .icon-circle img {
            width: 60px;
            height: 60px;
        }

        .icon-label {
            font-size: 16px;
            font-weight: 500;
        }

        .description-list {
            list-style: none;
        }

        .description-list li {
            font-size: 16px;
            line-height: 2;
            position: relative;
            padding-left: 0;
        }

        .description-list li strong {
            font-weight: 700;
        }

        .obesity-right {
            flex: 1;
            position: relative;
            border-radius: 15px;
        }

        .image-slider {
            position: relative;
            width: 100%;
            height: 600px;
            border-radius: 15px;
            overflow: hidden;
        }

        .slider-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }

        .slider-image.active {
            display: block;
        }

        .nav-arrows {
            position: absolute;
            bottom: 30px;
            right: 30px;
            display: flex;
            gap: 15px;
            z-index: 10;
        }

        .arrow-btn {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #333;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .arrow-btn:hover {
            background: white;
            transform: scale(1.1);
        }




        /* 클리닉 특징 섹션 */
        .features-section {
            padding: 100px 60px;
            background: #f8f9fa;
        }

        .features-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .features-title {
            text-align: center;
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 60px;
            color: #333;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        .feature-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            text-align: center;
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 36px;
            color: white;
        }

        .feature-card h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #333;
        }

        .feature-card p {
            font-size: 15px;
            line-height: 1.8;
            color: #666;
        }

        /* 진료시간 섹션 */
        .hours-section {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 80px 60px;
            color: white;
        }

        .hours-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .hours-left h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .hours-table {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .hours-row {
            display: flex;
            font-size: 18px;
        }

        .hours-day {
            width: 120px;
            font-weight: 600;
        }

        .hours-time {
            font-weight: 300;
        }

        .hours-right {
            text-align: center;
        }

        .phone-number {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        .consultation-btn {
            background: white;
            color: #667eea;
            border: none;
            padding: 18px 50px;
            font-size: 18px;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .consultation-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }


        /* 반응형 */
        @media (max-width: 768px) {
            .diagnosis-section {
                padding: 60px 30px;
            }

            .diagnosis-container {
                flex-direction: column;
                gap: 40px;
            }

            .diagnosis-number {
                font-size: 80px;
            }

            .diagnosis-title {
                font-size: 28px;
            }

            .diagnosis-subtitle {
                font-size: 16px;
            }

            .diagnosis-description {
                font-size: 14px;
            }

            .diagnosis-left img {
                height: 400px;
            }

            .obesity-section {
                padding: 50px 30px;
            }

            .obesity-container {
                flex-direction: column;
                gap: 40px;
            }

            .obesity-left {
                padding: 0;
            }

            .section-number {
                font-size: 80px;
            }

            .section-title {
                font-size: 28px;
            }

            .icon-grid {
                gap: 15px;
            }

            .icon-circle {
                width: 90px;
                height: 90px;
            }

            .icon-circle img {
                width: 45px;
                height: 45px;
            }

            .icon-label {
                font-size: 14px;
            }

            .obesity-right {
                min-height: 400px;
            }

            .features-section {
                padding: 60px 30px;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .hours-container {
                flex-direction: column;
                gap: 40px;
            }

            .phone-number {
                font-size: 36px;
            }
        }


