    /* モックアップデザイン用CSS */
    body {
        background-color: var(--warm-cream, #fdf8f0);
    }

    /* ヘッダー下の余白を削減 */
    main > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* ヒーローセクションコンテナ */
    .facility-hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 0.3rem;
    }

    .facility-hero {
        position: relative;
        height: 350px;
        overflow: hidden;
        background: #e2e8f0;
        border-radius: 12px;
        margin: 0 1.5rem;
        cursor: pointer;
    }

    /* 画像がない場合のヘッダー帯スタイル */
    .facility-hero-no-image {
        height: auto !important;
        min-height: 150px !important;
        max-height: 150px !important;
        cursor: default;
        background: transparent;
    }

    .facility-hero-no-image .hero-slider {
        height: auto !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    .facility-hero-no-image .hero-slide {
        height: auto !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    .facility-hero-no-image .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        background: transparent;
        padding: 1.5rem 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .facility-hero-no-image .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
        text-shadow: 0 0 10px rgba(75, 75, 75, 0.8), 0 0 40px rgba(75, 75, 75,0.6), 0 2px 4px rgba(75, 75, 75,0.9);
    }

    .facility-hero-no-image .hero-location {
        font-size: 0.9rem;
        text-shadow: 0 0 10px rgba(75, 75, 75, 0.8), 0 0 40px rgba(75, 75, 75,0.6), 0 2px 4px rgba(75, 75, 75,0.9);
    }

    .facility-hero-no-image .facility-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.6rem;
        display: inline-block;
        width: auto;
    }

    .hero-slider {
        display: flex;
        height: 100%;
        transition: transform 0.5s ease;
    }

    .hero-slide {
        min-width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
        padding: 2.5rem;
        color: white;
        pointer-events: none;
    }

    .facility-badge {
        display: inline-block;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        padding: 0.5rem 1.2rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.6);
    }

    .hero-title {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 16px rgba(0,0,0,0.6);
    }

    .hero-location {
        font-size: 0.95rem;
        opacity: 0.95;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    }

    .thumbnail-container {
        display: flex;
        gap: 0.5rem;
        padding: 0.5rem 1.5rem;
        overflow-x: auto;
        max-width: 1200px;
        margin: 0 auto;
    }

    .thumbnail {
        width: 100px;
        height: 70px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        cursor: pointer;
        border: 3px solid transparent;
        transition: all 0.3s;
        flex-shrink: 0;
        background-color: #cbd5e1;
    }

    .thumbnail.active {
        border-color: #0ea5e9;
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.5);
    }

    /* レイアウトコンテナ */
    .layout-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 1.5rem;
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    .main-content {
        flex: 1;
        min-width: 0;
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    /* サイドバー */
    .sidebar {
        width: 280px;
        flex-shrink: 0;
        position: relative;
    }

    .sidebar-sticky {
        /* sticky無効 — 通常スクロール */
    }

    /* CTAボタン（サイドバー内） */
    .sidebar-cta {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 1.5rem;
    }

    .sidebar-cta-title {
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 1rem;
        color: #0f172a;
    }

    .sidebar-button {
        display: block;
        width: 100%;
        padding: 1rem;
        border: none;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
        text-decoration: none;
        margin-bottom: 0.8rem;
    }

    .sidebar-button:last-child {
        margin-bottom: 0;
    }

    .sidebar-button-primary {
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        color: white;
        box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
    }

    .sidebar-button-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
    }

    .sidebar-button-secondary {
        background: white;
        color: #0ea5e9;
        border: 2px solid #0ea5e9;
    }

    .sidebar-button-secondary:hover {
        background: #f0f9ff;
        transform: translateY(-2px);
    }

    /* サイドバーナビゲーション */
    .sidebar-nav {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .sidebar-nav-title {
        font-size: 0.85rem;
        font-weight: 700;
        color: #64748b;
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .sidebar-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar-nav-item {
        margin-bottom: 0.3rem;
    }

    .sidebar-nav-link {
        display: block;
        padding: 0.7rem 1rem;
        color: #475569;
        text-decoration: none;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.3s;
        border-left: 3px solid transparent;
    }

    .sidebar-nav-link:hover {
        background: #f1f5f9;
        color: #0ea5e9;
        border-left-color: #0ea5e9;
    }

    .sidebar-nav-link.active {
        background: #e0f2fe;
        color: #0284c7;
        border-left-color: #0284c7;
        font-weight: 700;
    }

    .section {
        margin-bottom: 2rem;
        scroll-margin-top: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .section-title::before {
        content: '';
        width: 5px;
        height: 2rem;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        border-radius: 3px;
    }

    .pr-text {
        background: #f8fafc;
        padding: 1.8rem;
        border-radius: 12px;
        line-height: 1.9;
        font-size: 0.95rem;
        color: #1e293b;
        border: 2px solid #e2e8f0;
    }

    .tag-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .tag {
        padding: 0.7rem 1.3rem;
        background: white;
        border: 2px solid #cbd5e1;
        border-radius: 24px;
        font-size: 0.9rem;
        font-weight: 700;
        color: #1e293b;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .tag::before {
        content: '✓';
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
        color: white;
        border-radius: 50%;
        font-size: 0.75rem;
        font-weight: 900;
    }

    .tag:hover {
        border-color: #0ea5e9;
        background: #f0f9ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    }

    .wage-card {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        padding: 2rem;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
        position: relative;
        overflow: hidden;
    }

    .wage-card::after {
        content: '';
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 84px;
        height: 84px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='12' rx='2.5'/%3E%3Cpath d='M3 11h18'/%3E%3Ccircle cx='12' cy='13' r='2.3'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.24;
        pointer-events: none;
    }

    .wage-card-label {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
        opacity: 0.95;
    }

    .wage-card-value {
        font-size: 3rem;
        font-weight: 900;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .wage-card-sub {
        font-size: 0.9rem;
        font-weight: 600;
        opacity: 0.9;
    }

    .info-table {
        width: 100%;
    }

    .info-row {
        display: flex;
        padding: 1rem 0;
        border-bottom: 2px solid #e2e8f0;
    }

    .info-row:last-child {
        border-bottom: none;
    }

    .info-label {
        width: 140px;
        font-weight: 700;
        color: #475569;
        flex-shrink: 0;
    }

    .info-value {
        flex: 1;
        color: #1e293b;
        font-weight: 600;
    }

    .info-value a {
        color: #0ea5e9;
        text-decoration: none;
        transition: color 0.3s;
        font-weight: 700;
    }

    .info-value a:hover {
        color: #0284c7;
        text-decoration: underline;
    }

    .gray-box {
        background: #f1f5f9;
        border: 3px solid #cbd5e1;
        border-radius: 12px;
        padding: 1.5rem;
    }

    .gray-box .section-title {
        font-size: 1.2rem;
        color: #475569;
    }

    .gray-box .section-title::before {
        background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    }

    .map-container {
        width: 100%;
        height: 350px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        border: 3px solid #e2e8f0;
    }

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* 営業日バッジ */
    .days-grid {
        display: flex;
        gap: 0.6rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .day-badge {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.95rem;
        border: 2px solid transparent;
    }

    .day-active {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
        border-color: #10b981;
    }

    .day-saturday {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
        border-color: #3b82f6;
    }

    .day-sunday {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: white;
        box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
        border-color: #ef4444;
    }

    .day-closed {
        background: #f1f5f9;
        color: #94a3b8;
        border: 2px solid #cbd5e1;
        position: relative;
    }

    .day-closed::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #94a3b8;
        transform: rotate(-45deg);
    }

    /* モバイル用CTAバー */
    .mobile-cta-bar {
        display: none;
    }

    @media (max-width: 1023px) {
        .facility-hero {
            height: 280px;
            border-radius: 0;
            margin: 0;
        }

        .facility-hero-no-image {
            min-height: 120px !important;
            max-height: 120px !important;
            border-radius: 0;
            margin: 0;
        }

        .facility-hero-no-image .hero-slider,
        .facility-hero-no-image .hero-slide {
            min-height: 120px !important;
            max-height: 120px !important;
        }

        .facility-hero-no-image .hero-overlay {
            padding: 1rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .facility-hero-no-image .hero-title {
            font-size: 1.2rem;
        }

        .facility-hero-no-image .hero-location {
            font-size: 0.85rem;
        }

        .facility-hero-no-image .facility-badge {
            font-size: 0.75rem;
            padding: 0.3rem 0.8rem;
            display: inline-block;
            width: auto;
        }

        .thumbnail-container {
            padding: 1rem;
        }

        .layout-container {
            flex-direction: column;
            padding: 1.5rem 1rem;
        }

        .sidebar {
            display: none;
        }

        .mobile-cta-bar {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            padding: 1rem;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
            z-index: 100;
            gap: 0.8rem;
            border-top: 3px solid #e2e8f0;
        }

        .mobile-cta-button {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            font-weight: 800;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
            text-decoration: none;
            display: block;
        }

        .mobile-cta-primary {
            background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
            color: white;
            box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
        }

        .mobile-cta-secondary {
            background: white;
            color: #0ea5e9;
            border: 2px solid #0ea5e9;
        }

        .main-content {
            padding: 1.5rem;
        }

        .section-title {
            font-size: 1.2rem;
        }

        .wage-card-value {
            font-size: 2.2rem;
        }

        .info-label {
            width: 100px;
            font-size: 0.85rem;
        }

        .info-value {
            font-size: 0.9rem;
        }

        .map-container {
            height: 250px;
        }

        /* 固定UIによる過剰な下余白を作らない */
        body {
            padding-bottom: 0;
        }
    }

    @media (min-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }

        .hero-location {
            font-size: 1.1rem;
        }

        .facility-hero {
            height: 400px;
        }

        .facility-hero-no-image {
            height: auto !important;
            min-height: 150px !important;
            max-height: 150px !important;
        }

        .facility-hero-no-image .hero-slider,
        .facility-hero-no-image .hero-slide {
            height: auto !important;
            min-height: 150px !important;
            max-height: 150px !important;
        }

        .facility-hero-no-image .hero-overlay {
            padding: 1.5rem 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .facility-hero-no-image .hero-title {
            font-size: 1.5rem;
        }

        .facility-hero-no-image .hero-location {
            font-size: 0.9rem;
        }

        .facility-hero-no-image .facility-badge {
            display: inline-block;
            width: auto;
        }
    }

    /* ブックマーク済み状態 */
    .bookmark-active {
        background: #fffbeb !important;
        border-color: #f59e0b !important;
        color: #b45309 !important;
    }
    .bookmark-active:hover {
        background: #fef3c7 !important;
    }
    .bookmark-icon {
        font-size: 1.1em;
    }
    .bookmark-active .bookmark-icon,
    .mobile-bookmark-active .bookmark-icon {
        color: #f59e0b;
    }
    /* モバイル版 */
    .mobile-bookmark-active {
        background: #fffbeb !important;
        border-color: #f59e0b !important;
        color: #b45309 !important;
    }

    /* ========================================
       サイドバー: 検索フォーム + サジェスト事業所
       ======================================== */

    /* --- 検索ボックス（result.phpのsidebar-searchと同じ構造） --- */
    .sidebar .sidebar-search {
        background: white;
        border-radius: 1rem;
        border: 1px solid #e2e8f0;
        padding: 1.25rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .sidebar .sidebar-search h3 {
        font-size: 0.875rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .sidebar .sidebar-search h3 svg {
        color: <?php echo $typeColor; ?>;
        flex-shrink: 0;
    }
    .sidebar .sidebar-search .field-group {
        margin-bottom: 0.75rem;
    }
    .sidebar .sidebar-search .field-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        color: #64748b;
        margin-bottom: 0.375rem;
    }
    .sidebar .sidebar-search .field-input {
        width: 100%;
        padding: 0.5rem 0.75rem;
        border: 1.5px solid #e5e7eb;
        border-radius: 0.5rem;
        font-size: 0.8125rem;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }
    .sidebar .sidebar-search .field-input:focus {
        outline: none;
        border-color: <?php echo $typeColor; ?>;
        box-shadow: 0 0 0 3px <?php echo $typeColor; ?>14;
    }
    .sidebar .sidebar-search .field-inline-selects {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .sidebar .sidebar-search .field-input.field-select {
        appearance: none;
        padding-right: 1.875rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.6rem center;
    }
    .sidebar .sidebar-search .field-input.field-select option {
        color: #0f172a;
    }
    .sidebar .sidebar-toggle-group {
        display: flex;
        gap: 0.375rem;
        flex-wrap: wrap;
    }
    .sidebar .sidebar-toggle-btn {
        padding: 0.375rem 0.75rem;
        border: 1.5px solid #e5e7eb;
        border-radius: 0.375rem;
        background: white;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s;
        color: #374151;
    }
    .sidebar .sidebar-toggle-btn:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }
    .sidebar .sidebar-toggle-btn.active[data-value="A型"] {
        background: #e0f2fe;
        border-color: #0ea5e9;
        color: #0369a1;
    }
    .sidebar .sidebar-toggle-btn.active[data-value="B型"] {
        background: #d1fae5;
        border-color: #10b981;
        color: #065f46;
    }
    .sidebar .sidebar-toggle-btn.active[data-value="移行型"] {
        background: #ede9fe;
        border-color: #8b5cf6;
        color: #5b21b6;
    }
    .sidebar .sidebar-search-submit {
        width: 100%;
        padding: 0.5rem;
        background: linear-gradient(135deg, <?php echo $typeColor; ?> 0%, <?php echo $typeColorDark; ?> 100%);
        color: white;
        font-weight: 700;
        font-size: 0.8125rem;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: opacity 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
    }
    .sidebar .sidebar-search-submit:hover {
        opacity: 0.9;
    }
    .sidebar .sidebar-search-clear {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.5rem;
        border: 1.5px solid #cbd5e1;
        border-radius: 0.5rem;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        font-size: 0.8125rem;
        cursor: pointer;
        transition: all 0.2s;
    }
    .sidebar .sidebar-search-clear:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

    /* ========================================
       関連事業所セクション（下部フルwidth）
       ======================================== */
    .related-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1.5rem 1.5rem 2rem;
    }
    .related-section-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    .related-section-title::before {
        content: '';
        width: 4px;
        height: 1.5rem;
        background: linear-gradient(135deg, <?php echo $typeColor; ?> 0%, <?php echo $typeColorDark; ?> 100%);
        border-radius: 2px;
        flex-shrink: 0;
    }
    /* PC: 横並びグリッド */
    .related-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    /* カード */
    .related-card {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 0.875rem;
        border: 1px solid #e2e8f0;
        overflow: hidden;
        transition: box-shadow 0.3s, transform 0.3s;
        text-decoration: none;
        color: inherit;
    }
    .related-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        transform: translateY(-3px);
    }
    .related-card-image {
        position: relative;
        width: 100%;
        height: 140px;
        overflow: hidden;
        background: #f1f5f9;
    }
    .related-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s;
    }
    .related-card:hover .related-card-image img {
        transform: scale(1.05);
    }
    .related-card-image .w-full.h-full {
        width: 100%;
        height: 100%;
    }
    .related-card-body {
        padding: 0.875rem 1rem;
        flex: 1;
        min-width: 0;
    }
    .related-card-name {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: color 0.2s;
    }
    .related-card:hover .related-card-name {
        color: <?php echo $typeColor; ?>;
    }
    .related-card-corp {
        font-size: 0.6875rem;
        color: #94a3b8;
        margin-top: 0.125rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .related-card-meta {
        margin-top: 0.375rem;
        font-size: 0.6875rem;
        color: #64748b;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    .related-card-meta svg {
        flex-shrink: 0;
        width: 11px;
        height: 11px;
        color: #94a3b8;
    }
    .related-card-meta span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .related-more {
        text-align: center;
        margin-top: 1.25rem;
    }
    .related-more a {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.5rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 700;
        color: <?php echo $typeColor; ?>;
        background: white;
        border: 2px solid #e2e8f0;
        border-radius: 9999px;
        text-decoration: none;
        transition: all 0.2s;
    }
    .related-more a:hover {
        border-color: <?php echo $typeColor; ?>;
        background: #f8fafc;
    }

    /* モバイル: 横スクロールカルーセル */
    @media (max-width: 1023px) {
        .related-section {
            padding: 1.5rem 0 2rem;
        }
        .related-section-title {
            padding: 0 1rem;
        }
        .related-grid {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            gap: 0.75rem;
            padding: 0 1rem;
            scrollbar-width: none;
        }
        .related-grid::-webkit-scrollbar {
            display: none;
        }
        .related-card {
            flex: 0 0 260px;
            scroll-snap-align: start;
        }
        .related-card-image {
            height: 130px;
        }
        .related-more {
            padding: 0 1rem;
        }
    }

    /* ========================================
       モバイル検索フロートボタン + モーダル
       ======================================== */
    .facility-search-float {
        display: none;
    }
    @media (max-width: 1023px) {
        .facility-search-float {
            display: flex;
            position: fixed;
            bottom: 5.5rem;
            right: 1rem;
            z-index: 90;
            align-items: center;
            gap: 0.375rem;
            padding: 0.625rem 1rem;
            background: linear-gradient(135deg, <?php echo $typeColor; ?> 0%, <?php echo $typeColorDark; ?> 100%);
            color: white;
            font-weight: 700;
            font-size: 0.8125rem;
            border: none;
            border-radius: 9999px;
            box-shadow: 0 4px 20px <?php echo $typeColor; ?>66;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .facility-search-float:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px <?php echo $typeColor; ?>80;
        }
    }

    .facility-search-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1100;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    .facility-search-modal-overlay.open {
        display: flex;
    }
    .facility-search-modal {
        background: white;
        border-radius: 1rem;
        width: 100%;
        max-width: 420px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
    .facility-search-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }
    .facility-search-modal-header h3 {
        font-size: 1.125rem;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }
    .facility-search-modal-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        cursor: pointer;
        color: #6b7280;
        transition: background 0.15s;
    }
    .facility-search-modal-close:hover {
        background: #e5e7eb;
    }
    .facility-search-modal-body {
        padding: 1.5rem;
    }
    .facility-search-modal-body .field-group {
        margin-bottom: 1.25rem;
    }
    .facility-search-modal-body .field-label {
        display: block;
        font-size: 0.8125rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
    }
    .facility-search-modal-body .field-input {
        width: 100%;
        padding: 0.625rem 0.875rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        font-size: 0.9375rem;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }
    .facility-search-modal-body .field-input:focus {
        outline: none;
        border-color: <?php echo $typeColor; ?>;
        box-shadow: 0 0 0 3px <?php echo $typeColor; ?>18;
    }
    .facility-search-modal-body .field-inline-selects {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .facility-search-modal-body .field-input.field-select {
        appearance: none;
        padding-right: 1.875rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
    }
    .facility-search-modal-body .field-input.field-select option {
        color: #0f172a;
    }
    .modal-toggle-group {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .modal-toggle-btn {
        padding: 0.5rem 1rem;
        border: 2px solid #e5e7eb;
        border-radius: 0.5rem;
        background: white;
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s;
        color: #374151;
    }
    .modal-toggle-btn:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }
    .modal-toggle-btn.active[data-value="A型"] {
        background: #e0f2fe; border-color: #0ea5e9; color: #0369a1;
    }
    .modal-toggle-btn.active[data-value="B型"] {
        background: #d1fae5; border-color: #10b981; color: #065f46;
    }
    .modal-toggle-btn.active[data-value="移行型"] {
        background: #ede9fe; border-color: #8b5cf6; color: #5b21b6;
    }
    .facility-search-modal-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
        border-top: 1px solid #e5e7eb;
    }
    .facility-search-modal-clear {
        width: 100%;
        padding: 0.625rem;
        border: 1.5px solid #cbd5e1;
        border-radius: 0.5rem;
        background: #f8fafc;
        color: #334155;
        font-weight: 700;
        font-size: 0.875rem;
        cursor: pointer;
        transition: all 0.2s;
    }
    .facility-search-modal-clear:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }
    .facility-search-modal-submit {
        width: 100%;
        padding: 0.75rem;
        background: linear-gradient(135deg, <?php echo $typeColor; ?> 0%, <?php echo $typeColorDark; ?> 100%);
        color: white;
        font-weight: 700;
        font-size: 0.9375rem;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: opacity 0.2s;
    }
    .facility-search-modal-submit:hover {
        opacity: 0.9;
    }

    /* 画像モーダル */
    .image-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        animation: fadeIn 0.3s;
    }

    .image-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
        animation: zoomIn 0.3s;
    }

    .modal-close {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        z-index: 10000;
    }

    .modal-close:hover {
        color: #0ea5e9;
    }

    .modal-prev,
    .modal-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        padding: 16px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        transition: 0.3s;
        user-select: none;
    }

    .modal-prev {
        left: 20px;
    }

    .modal-next {
        right: 20px;
    }

    .modal-prev:hover,
    .modal-next:hover {
        background-color: rgba(14, 165, 233, 0.8);
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes zoomIn {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    :root {
        --facility-type-color: #0ea5e9;
        --facility-type-color-dark: #0284c7;
    }

    .facility-badge {
        background: linear-gradient(135deg, var(--facility-type-color) 0%, var(--facility-type-color-dark) 100%) !important;
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.6) !important;
    }

    .section-title::before {
        background: linear-gradient(135deg, var(--facility-type-color) 0%, var(--facility-type-color-dark) 100%) !important;
    }

    .tag::before {
        background: linear-gradient(135deg, var(--facility-type-color) 0%, var(--facility-type-color-dark) 100%) !important;
    }

    .tag:hover {
        border-color: var(--facility-type-color) !important;
    }

    .sidebar-button-primary {
        background: linear-gradient(135deg, var(--facility-type-color) 0%, var(--facility-type-color-dark) 100%) !important;
        box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35) !important;
    }

    .sidebar-nav-link:hover {
        color: var(--facility-type-color) !important;
        border-left-color: var(--facility-type-color) !important;
    }

    .sidebar-nav-link.active {
        color: var(--facility-type-color-dark) !important;
        border-left-color: var(--facility-type-color-dark) !important;
    }

    .info-value-empty {
        color: #94a3b8;
    }

    .pr-text-with-icon {
        position: relative;
        padding-left: 3rem;
    }

    .pr-text-icon {
        position: absolute;
        left: 0.75rem;
        top: 0.75rem;
        opacity: 0.15;
        fill: var(--facility-type-color);
    }

    /* ========================================
       サービス種別タブUI（兄弟事業所）
       ======================================== */
    .facility-service-tabs {
        margin-top: 0.5rem;
    }

    .facility-service-tab-buttons {
        display: flex;
        gap: 0.375rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 0;
    }

    .facility-service-tab-btn {
        padding: 0.5rem 1.25rem;
        border: none;
        background: transparent;
        font-size: 0.875rem;
        font-weight: 700;
        color: #64748b;
        cursor: pointer;
        position: relative;
        bottom: -2px;
        border-bottom: 3px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }

    .facility-service-tab-btn:hover {
        color: #334155;
    }

    .facility-service-tab-btn.is-active {
        color: var(--facility-type-color, #0ea5e9);
        border-bottom-color: var(--facility-type-color, #0ea5e9);
    }

    .facility-service-tab-panel {
        display: none;
    }

    .facility-service-tab-panel.is-active {
        display: block;
    }

    /* ヒーロー: 複数バッジグループ */
    .facility-badge-group {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 0.8rem;
    }

    .facility-badge-group .facility-badge {
        margin-bottom: 0;
    }
