The opportunity cost in the scenario above is:
money that could have been made from families with young children.
This is because the fast-food chain is forgoing potential revenue from a demographic (families with young children) that it would have attracted as a cheap kid-friendly restaurant in favor of targeting a different market (mid-range adults).