/**
 * Component Hub 戻るリンク非表示CSS
 * 
 * 全103個のコンポーネントで読み込んで、
 * Component Hub v3.0への戻るリンクを非表示にする
 * 
 * @version 1.1.0
 * @date 2025-10-13
 * @fix レイアウト崩れ修正 - リンク要素のみを非表示にする
 */

/* 戻るリンク自体のみを非表示（レイアウトは保持） */
a[href*="components-v3.html"][data-component-hub-back] {
    display: none !important;
}

/* data属性がない場合の汎用セレクター（より安全） */
a[href*="components-v3.html"]:not(.keep-visible) {
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Component Hub内のリンクは表示（例外） */
[data-component-hub] a[href*="components-v3.html"] {
    display: inline-flex !important;
    visibility: visible !important;
    height: auto !important;
}

