/*課題1*/ p.uresimi {background-color: yellow;} p.kanasimi {background-color: blue; color: white;} /* 課題2 */ th {text-align: center; width: 50px; font-family: "serif"; font-weight: hold;} th.sun {background-color: red;} th.mon {background-color: pink;} th.tue {background-color: orange;} th.wed {background-color: aqua;} th.thu {background-color: maroon;} th.fri {background-color: yellow;} th.sat {background-color: blue;} td {text-align: right; width: 50px; font-family: Georgia, serif; font-weight: lighter;} td.sun {color: red;} td.sat {color: blue;} td.holiday {color: red;} /*課題3*/ th {text-align: center; width: 50px; font-family: "serif"; font-weight: hold;} th:first-child {background: red;} th:first-child + th {background-color: pink;} th:first-child + th + th {background-color: orange;} th:first-child + th + th + th {background-color: aqua;} th:first-child + th + th + th + th {background-color: maroon;} th:first-child + th + th + th + th + th {background-color: yellow;} th:first-child + th + th + th + th + th + th {background-color: blue;} td {text-align: right; width: 50px; font-family: Georgia, serif; font-weight: lighter;} td:first-child {color: red;} td:last-child {color: blue;} td.holiday {color: red;}