/* -----------------------------------------------------------------------------
 * 区切り見出しをスクロール中も画面の上（固定ヘッダーのすぐ下）に残す（2026-12-01〜）。
 * 対象: 加入期の見出し(.mg-head)・年ごとの劇場公演一覧の月見出し・
 *       Xフォロワー数ランキングの列見出し。どれも「自分の区切り(section等)の中」だけで貼り付き、
 *       区切りを過ぎると一緒に流れていく。曲一覧のCD見出し(.cd-head)は1枚ぶんの区切りが短く効果が無いので対象外。
 *       新しく区切り見出しを作るときは .sticky-head を付ける。
 * 貼り付く位置 --sticky-top は固定ヘッダー(.header)の高さ。
 * main.css に置かない理由: main.css は common.css から @import で読まれ、キャッシュ対策の番号(?v=)が付かないので、
 *   直しても見る人のブラウザに古い版が残る。このファイルは head.php から番号付きで直接読む。
 * --------------------------------------------------------------------------- */
:root { --sticky-top: 55px; }
#main .sticky-head,
#main .mg-head,
#main .th-month > h2.item {
    position: sticky;
    top: var(--sticky-top);
    z-index: 5;
}
/* 背景を持たない見出しは、下を流れる中身が透けないようページの地色を敷く */
#main .mg-head,
#main .sticky-head--plain {
    background-color: #fff9f9;   /* body の地色 */
    padding-top: 4px;
    padding-bottom: 4px;
}
