This shrine with a reconstructed Edo-era private school building — where is it?

Tap the panels you're curious about to reason it out (the more you open, the lower your score)