/* style.css */

.table-of-contents {
    display: flex;
    flex-direction: column;
    max-height: 150px; /* デフォルトで表示する目次項目数に合わせて調整 */
    overflow: hidden;
}

.table-of-contents.expanded {
    max-height: none;
}

.table-of-contents-item {
    margin: 5px 0;
}

#show-all {
    cursor: pointer;
    color: #008080; /* リンクテキストのカラーを #008080 に設定 */
    font-weight: bold; /* リンクテキストを太字にする */
}

/* 目次の項目に適用するスタイル */
.table-of-contents-item a {
    text-decoration: none; /* リンクの下線を削除 */
    color: #008080; /* リンクテキストのカラーを #008080 に設定 */
    font-weight: bold; /* リンクテキストを太字にする */
}

/* リンクにホバーしたときのスタイル */
.table-of-contents-item a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
    color: #FF4500; /* ホバー時のカラーを設定（例: オレンジ色） */
}