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 choosing to rebrand and cater to a different demographic, which means they will forgo the potential revenue from their previous target market of families with young children.