かとおもうと
Meanings
Expression
1. no sooner than; as soon as; immediately after
after past tense verb
2. at the thought of; when I think about
Composed of
to think; to consider; to think (of doing); to plan (to do); to judge; to assess; to imagine