S&P 500 Hits 7,041 Record as Energy Costs Climb