.elementor-380 .elementor-element.elementor-element-75818996{--display:flex;}/* Start custom CSS for html, class: .elementor-element-6508297e */@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

        body {
            height: 200vh; /* 스크롤을 위한 임시 높이 */
            background-color: #f0f4f8;
        }

        /* 플로팅 메뉴 전용 스타일 - Elementor 호환 */
        .hospital-floating-menu,
        .hospital-floating-menu *,
        .hospital-floating-menu *::before,
        .hospital-floating-menu *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        .hospital-floating-menu {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 99999;
            font-family: 'Noto Sans KR', sans-serif;
            pointer-events: none;
        }

        .hospital-floating-menu * {
            pointer-events: auto;
        }

        /* 데스크톱 스타일 */
        .hospital-floating-menu-desktop {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: flex-end; /* 아이템들을 오른쪽 정렬 */
        }

        /* ======================================================= */
        /* === 애니메이션 및 디자인 개선 (시작) === */
        /* ======================================================= */

        .hospital-floating-menu-item {
            display: flex;
            align-items: center;
            background: #BBC9A3;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(187, 201, 163, 0.3);
            cursor: pointer;
            height: 56px;
            position: relative;
            text-decoration: none;
            border: none;
        }

        .hospital-floating-menu-item.expandable {
            /* 1. 기본 상태를 56px 너비의 원으로 설정합니다. (TOP 버튼과 동일한 모양) */
            width: 56px; 
            
            /* 2. width 속성이 변경될 때 애니메이션 효과를 줍니다. */
            /* will-change로 브라우저에 애니메이션이 있을 것을 알려 최적화를 돕습니다. */
            transition: width 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease;
            will-change: width;
        }

        .hospital-floating-menu-item.expandable:hover {
            /* 3. 마우스를 올리면 너비를 160px로 확장하여 알약 모양으로 만듭니다. */
            width: 160px;
            box-shadow: 0 6px 20px rgba(187, 201, 163, 0.4);
        }
        
        /* 4. 아이콘을 항상 오른쪽 끝에 고정하여, 메뉴가 왼쪽으로만 확장되는 것처럼 보이게 합니다. */
        .hospital-floating-menu-item.expandable .hospital-floating-menu-icon {
            position: absolute;
            right: 0;
            top: 0;
            width: 56px;
            height: 56px;
        }

        .hospital-floating-menu-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.2rem;
            color: white;
            flex-shrink: 0; 
            font-weight: normal;
            line-height: 1;
        }
        
        .hospital-floating-menu-text {
            /* 5. 텍스트가 아이콘(56px)을 침범하지 않도록 오른쪽에 여백을 주고, 초기에 숨깁니다. */
            padding: 0 56px 0 20px;
            font-weight: 500;
            color: white;
            white-space: nowrap;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        /* 6. 메뉴가 확장된 후 텍스트가 자연스럽게 나타나도록 delay를 줍니다. */
        .hospital-floating-menu-item.expandable:hover .hospital-floating-menu-text {
            opacity: 1;
            transition-delay: 0.15s;
        }

        /* ======================================================= */
        /* === 애니메이션 및 디자인 개선 (종료) === */
        /* ======================================================= */
        
        .hospital-floating-menu-item.top-button {
            width: 56px; /* TOP 버튼은 고정 크기 */
            background: white;
            border: 2px solid #BBC9A3;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .hospital-floating-menu-item.top-button:hover {
            background: #BBC9A3;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(187, 201, 163, 0.4);
        }

        .hospital-floating-menu-item.top-button:hover .hospital-floating-menu-icon {
            color: white;
        }

        .hospital-floating-menu-item.top-button .hospital-floating-menu-icon {
            color: #BBC9A3;
            font-size: 0.9rem;
            font-weight: 600;
        }

        /* 모바일 스타일 (변경 없음) */
        .hospital-floating-menu-mobile {
            display: none;
            position: relative;
        }

        .hospital-floating-toggle {
            width: 56px;
            height: 56px;
            background: #BBC9A3;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(187, 201, 163, 0.3);
            transition: all 0.3s ease;
            border: none;
            color: white;
            font-size: 1.3rem;
            font-weight: normal;
            line-height: 1;
        }

        .hospital-floating-toggle:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(187, 201, 163, 0.4);
        }

        .hospital-floating-toggle.active {
            background: #e74c3c;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
        }

        .hospital-toggle-icon {
            transition: all 0.3s ease;
            display: block;
            font-family: inherit;
            font-style: normal;
        }

        .hospital-floating-menu-items {
            position: absolute;
            bottom: 80px;
            right: 0;
            display: flex;
            flex-direction: column;
            gap: 15px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(30px);
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .hospital-floating-menu-items.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .hospital-floating-menu-mobile .hospital-floating-menu-item {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #BBC9A3;
            box-shadow: 0 4px 15px rgba(187, 201, 163, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            border: none;
        }

        .hospital-floating-menu-mobile .hospital-floating-menu-item:hover {
            transform: scale(1.05);
            width: 56px;
            box-shadow: 0 6px 20px rgba(187, 201, 163, 0.4);
        }

        .hospital-floating-menu-mobile .hospital-floating-menu-icon {
            width: 40px;
            height: 40px;
            font-size: 1.1rem;
            color: white;
        }

        .hospital-floating-menu-mobile .hospital-floating-menu-text {
            display: none;
        }

        @keyframes hospitalFloatingBounceIn {
            0% { transform: scale(0); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .hospital-floating-menu-items.active .hospital-floating-menu-item {
            animation: hospitalFloatingBounceIn 0.3s ease-out;
        }
        .hospital-floating-menu-items.active .hospital-floating-menu-item:nth-child(1) { animation-delay: 0.05s; }
        .hospital-floating-menu-items.active .hospital-floating-menu-item:nth-child(2) { animation-delay: 0.1s; }
        .hospital-floating-menu-items.active .hospital-floating-menu-item:nth-child(3) { animation-delay: 0.15s; }
        .hospital-floating-menu-items.active .hospital-floating-menu-item:nth-child(4) { animation-delay: 0.2s; }

        @media (max-width: 768px) {
            .hospital-floating-menu {
                bottom: 20px;
                right: 20px;
            }
            .hospital-floating-menu-desktop { display: none; }
            .hospital-floating-menu-mobile { display: block; }
        }

        .hospital-floating-menu-item:focus {
            outline: 2px solid #BBC9A3;
            outline-offset: 2px;
        }

        .hospital-floating-toggle:focus {
            outline: 2px solid #BBC9A3;
            outline-offset: 2px;
        }/* End custom CSS */