Most of it.
Research on fertility still shows a decline when accounting for obesity (among other obviously unhealthy states, like malnutrition, sleep deprivation, disease, etc)