li:nth-child(3n+1){ background-color: red; } li:nth-child(3n+1){ background-color: red; } li:nth-child(3n+1){ background-color: red; } /* n番目+3の子要素に適用 */