Ichinomiya is a Japanese historical term referring to the Shinto shrines with the highest rank in a province. Shrines of lower rank were designated ninomiya , sannomiya , shinomiya , and so forth.