Because of his great fear of heights, Stanley hated sitting near the window in his high-rise office building.
What part of speech is the bolded word above?
Conjuction
"Because" links the two clauses in this sentence, even though it doesn't sit between them in this particular construction. Thus, it is a conjunction.