A nonlocal phase-field system with inertial term