Period and frequency are inverse to each other, as period increases frequency decreases. So, to answer this question as the period of the wave decreases its frequency must increase.
It is usually expressed the other way: the ratio of the speed of light in a vacuum to the speed of light in a medium. In that case, it is called the "index of refraction".
an electromagnetic wave is not a mechanical wave