How to express "X is the most important for Y"?


I am not certain how to say "X is the most important for Y". For example, "A
teacher is the most important person for a student." It could be
「先生は学生にいちばんたいせつな人です」 or 「がくせいは先生がいちばんたいせつな人です」, but I haven't been able to
confirm either (or any other construct) in any way.




"A teacher is the most important person for a student"

Becomes...

"A teacher is the most important person from the point of view of a student"

... and then...

"Teacherはstudentのviewから見るとmost importantなpersonです。"

"Teacherはstudentの視点から見ると最もimportantな人物です。"

"先生は学生の視点から見ると最も重要な人物です。"

"先生は学生にとって最も重要な人物です。"

