also: よいぐあいに
expression, adverb
Used when something turns out well by chance or in a favorable way. Often implies a pleasant coincidence or a good outcome that wasn't entirely planned.
See also: 具合
いい具合にバスがすぐ来た。
Luckily, the bus came right away.
いい具合に天気が回復した。
Happily, the weather cleared up.
A phrase composed of いい (good) + 具合 (condition, state) + に (adverbial particle), literally 'in a good condition/state', which developed the adverbial meaning 'luckily, happily'.