/* --------------------
Love Disney
Buffet CSS 2026.02.22
-------------------- */

html { scroll-behavior: smooth; }
[id^="a"] { scroll-margin-top: 120px; } 

/* 目次全体の存在感を出す設定 */
.toc-container {
    border-radius: 8px;
    border: 1px solid #dee2e6 !important; 
    overflow: hidden;
}

/* 通常時のリスト項目 */
.toc-container .list-group-item {
    font-size: 0.9rem;
    color: #495057;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    border-left: 4px solid transparent !important; /* 左側に予白を確保 */
}

/* マウスオーバー時の挙動 */
.toc-container .list-group-item-action:hover {
    background-color: #f8f9fa !important; /* 非常に薄いグレー */
    color: #004085 !important;           /* 濃いロイヤルブルー */
    border-left: 4px solid #004085 !important; /* 左側に青いラインを表示 */
    padding-left: 1.8rem !important;      /* 少し右へスライド */
}

/* スマホ用チップコンテナ */
.chip-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール */
    padding-bottom: 10px;
    gap: 8px;
}

/* スクロールバーを非表示にする（デザイン性優先） */
.chip-scroll-container::-webkit-scrollbar {
    display: none;
}
.chip-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* チップ単体のデザイン */
.nav-chip {
    display: inline-block;
    padding: 8px 18px;
    background-color: #fff;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 50px; /* 丸いカプセル型 */
    font-size: 0.85rem;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

/* タップ・クリック時の挙動：PC版と合わせたロイヤルブルー */
.nav-chip:active, .nav-chip:hover {
    background-color: #004085 !important;
    color: #fff !important;
    border-color: #004085 !important;
}