Flavor Hierarchy in the Confinement Transition of QCD