A novel adenine compound represented by the formula (1):[wherein R1 is substituted or unsubstituted alkyl, etc., X is oxygen, etc., A1 is 4- to 8-membered substituted or unsubstituted saturated nitrogen-containing heterocycle containing 1 to 2 hetero atom(s) selected from 1 to 2 nitrogen(s), 0 to 1 oxygen and 0 to 1 sulfur, etc., A2 is substituted or unsubstituted 6- to 10-membered aryl, etc., L1 and L2 are independently a straight chain or branched chain alkylene, etc.], or a pharmaceutically acceptable salt thereof, which is useful as a medicament.