My main usage for the bike would be to get myself into shape and just recreational usage.
For the use you state there are many bikes that will serve that purpose. While the posts above give good advise don't just automatically pass on steel wheeled,hi ten framed vintage bikes. These bikes in good condition provide a economical alternative that you may find pleasing. If the choice is between a higher end bike that requires work vs. a vintage Varsity in good condition you may be ahead on the Varsity if you are only a sometime rider. A nice Fuji or similar bike are found at good prices in some markets but if it needs work it may cost more than it's worth.
The bottom line is condition,condition,condition.