The chords G maj, A maj, F# min7, B min7 are part of A maj in which さみしがりや is played.