半夜 はんやであれば
han'yadeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 半夜

1. If it were midnight; When it is midnight

Ba Conditional