@charset "UTF-8";
/* 共通 */
/* table {
    border-collapse: collapse;
    margin-bottom: 40px;
  } */
  
  /* th,
  td {
    padding: 10px 20px;
    border: 1px solid #ccc;
  }
   */
  
  /* 練習01：first-child */
  .table01 tbody tr:first-child {
    background-color: #e8f4ff;
  }
  
  
  /* 練習02：last-child */
  .table02 tbody tr:last-child {
    background-color: #fff0f0;
  }
  
  
  /* 練習03：nth-child(2) */
  .table03 tbody tr:nth-child(2) {
    background-color: #fff3cd;
  }
  
  
  /* 練習04：nth-child(odd) */
  .table04 tbody tr:nth-child(odd) {
    background-color: #f5f5f5;
  }
  
  
  /* 練習05：nth-child(even) */
  .table05 tbody tr:nth-child(even) {
    background-color: #f5f5f5;
  }
  
  
  /* 練習06：nth-child(3n) */
  .table06 tbody tr:nth-child(3n) {
    background-color: #e8f4ff;
  }
  
  
  /* 練習07：2列目 */
  .table07 th:nth-child(2),
  .table07 td:nth-child(2) {
    color: #0066cc;
    font-weight: bold;
  }
  
  
  /* 練習08：nth-of-type */
  .table08 tr:nth-of-type(2) {
    background-color: #fff3cd;
  }