If an administrator hasn't logged in to the game for 14 days, then their administrator rights will be automatically transferred to a moderator. If there's no appointed moderator, the administrator rights will be transferred to the player who has been a member of the guild the longest.
 
How do I transfer administrator rights to a moderator?
If you want to voluntarily transfer the guild administrative rights to one of the moderators:
 
1. Open the My Guild tab.
2. Tap the icon in the upper right corner.
3. Select a moderator from the list by tapping on their avatar.
4. In the window that pops up, choose "Promote to admin".
5. Confirm your decision.
 
Done! Now the new administrator can manage the guild 😉