works like a charm

魔法のように効く、不思議なほど効く

Ex

  • The cough medicine you gave me worked like a charm.

Reference source

  • https://eow.alc.co.jp/search?q=work+like+a+charm