Xにしては/Xわりに

文法の解説は英語です。

用法

Means "Considering that -" unexpectedly

N の わりに

にしては express the difference between the previous image one has and the reality

例文

田中くんは学生にしてはいいマンシオンに住んでいる。きっと親が金持ちなんだろう Tanaka lives in a nice apartment for a student. His parents must be rich
このアパートは駅からちかいわりに、家賃が安い The rent for this apartment is cheap, considering how close it is to the station