A restaurant has announced it will be closing its takeaway service amid rising costs.