On the mobile version, click the guild button (bottom of screen, lower right). On the pop up box, there is a blue square with three horizontal lines (top left). Click on that - there should be a leave guild option in red. On the browser version, I go through the GvG map to reach the guild info, but there may be an easier way.