cost a fortuneTo be extremely expensive, or to take a huge amount of money.
It took years and cost a fortune.