Sei Shonagon wrote in "Makura no soshi," 'I could say there are the Imperial Palace, kisai no miya (empress court), and the ippon no miya (first rank imperial court) of the imperial princess as the Miyazukae dokoro (the places to serve the court).
ところで、清少納言は『枕草子』で理想的な宮仕え先として「宮仕所は、内裏、后宮、その御腹の一品の宮など申したる。