不文律 (ふぶんりつ, fubunritsu) refers to a rule or code that is understood without ever being written down. It is a relatively uncommon, literary word that gives the lyric a mysterious, poetic tone.
In the song, 真夜中の不文律 means “the midnight unwritten rule,” suggesting a secret code or invisible force governing the night. Its combination of mystery and formality makes it especially memorable for Japanese learners.
Aimer opens this one in a bad place: a shabby signal flashing for no reason, and a maze with no end where walking on gets you nowhere anyway. She is stuck replaying a tangled melody, and it keeps aching: "いつまでも 疼いて痛い" [it throbs and hurts forever]. She is also honest about herself in a way I like. "吠える勇気は 微塵もないくせに" [even though I don't have a speck of courage to howl] comes right before "愛されたい" [I want to be loved], so she wants love without daring to make any noise for it. The English bit "A 9 days wonder" is an idiom for something that causes a stir and is forgotten fast, so she is calling her own melody a passing fad.
Then the chorus turns it around. A siren shoots into the night, sending an SOS to her daydreams, and she is fine letting everything rot as long as one clear moment wakes up. The title shows up as an order: "Ash flame 宿して抗え" [carry the ash flame inside you and fight back], followed by "どんな無様でも手を伸ばせ" [reach out, however clumsy you look]. An ash flame is fire still burning in what should be burnt out, and that is the whole mood. Even the bitter smile won't break "ひび割れたくらいじゃ" [just from a few cracks]. By the end the dream itself is a monster, and she says it plainly: "夢という怪物は 美しいんだよ" [the monster called a dream is beautiful]. The last lines pull in "cloud nine", the English idiom for pure happiness, as something from days gone by, and she swears to keep the flame alive until she has met her fate.