Devil's staircase transition of the electronic structures in CeSb