Invisible axion at an intermediate symmetry breaking scale