The best explanation of how Japan was organized politically during the medieval period is:
A network of warriors governed Japan at all levels, including the shogun, who was more powerful than the emperor.
During this time, the shogun held real political power and authority, while the emperor was more of a symbolic and ceremonial figure. The samurai class, which included the shogun, served as the ruling military elite.