From 恋(こい) (koi) + 心(こころ) (kokoro). The kokoro changes to gokoro as an instance of rendaku (連(れん)濁(だく)).
こいごころ • (koigokoro) ←こひごころ (kofigokoro)?