The head of an ordinary local government may establish necessary internal organizations in order to assign the affairs within the head's authority to them. In this case, the establishment of the internal organizations immediately subordinate to the head of the ordinary local government concerned and the affairs they are assigned are to be specified by Prefectural or Municipal Ordinance.
普通地方公共団体の長は、その権限に属する事務を分掌させるため、必要な内部組織を設けることができる。この場合において、当該普通地方公共団体の長の直近下位の内部組織の設置及びその分掌する事務については、条例で定めるものとする。
In organizing the internal organizations referred to in the preceding paragraph, the head of an ordinary local government must give full consideration to ensuring that the administration of the affairs of the ordinary local government concerned and its projects is simple and efficient.
普通地方公共団体の長は、前項の内部組織の編成に当たつては、当該普通地方公共団体の事務及び事業の運営が簡素かつ効率的なものとなるよう十分配慮しなければならない。
Read this with the articles around it
Prefectural or Municipal Ordinance
条例
A rule a local government makes for itself: a prefecture (都道府県), a city, town or village (市町村), or one of Tokyo's special wards (特別区) (Local Autonomy Act, Articles 1-3, 281 and 283). Its assembly (議会), whose members the residents elect, passes it (Articles 89 and 96, paragraph (1), item (i)), and its head — the governor or the mayor (Article 139) — promulgates it, that is, makes it public so that it can take effect (Article 16). The Constitution lets local governments make them within the limits of Acts (Constitution, Article 94), and one may not go against the national laws and regulations (法令), such as Acts, Cabinet Orders (政令) and Ministerial Orders (省令) (Local Autonomy Act, Article 14, paragraph (1)). Unless national laws and regulations provide otherwise, a local government can impose a duty or restrict a right only by one of these (Article 14, paragraph (2)), and it may write into one penalties for breaking it, within limits the Local Autonomy Act sets (Article 14, paragraph (3)). It is made for that local government's own affairs (Article 2, paragraph (2) and Article 14, paragraph (1)), so the same matter can be handled differently from one place to the next. It is a local rule, not a national one: an "ordinance" in the name of a national rule, such as an Ordinance for Enforcement of an Act, is usually a Ministerial Order (省令) or another national instrument.
Written for this site using Constitution, Art. 94 and Local Autonomy Act, Arts. 1-3, 2, 14, 16, 89, 96, 139, 281, 283 as a reference.