Collider does not move with animation

I have added a capsule collder to the leg, and there is a animation of kicking. But now the problem is the collider would not move when kicking. Anybody knows what is wrong?

Make the animation of the root transform,make the animation of the rot transform.