Mahou Juku - Magic Master © 1997 Saurus. A puzzle game.
Runs on the SNK "Neo-Geo MVS" hardware.
This game is a very rare prototype. It was in location test (January 1997) but was never officialy released.