/* 共通定義 */
.result_ul {
  margin: 0;
  list-style: none;
  padding-left: 0;

  li {
    position: relative;
    padding-left: 20px;
    color: #000;
    font-family: "Sawarabi Gothic";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
  }

  li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #1860cc;
  }
}

main {
  .annual {
    margin: 100px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 70px;

    .year {
      color: #222;
      font-family: Khand;
      font-size: 30px;
      font-style: normal;
      font-weight: 400;
      line-height: 100%;
      cursor: pointer;
    }
  }

  .match_result {
    margin: 70px auto 0;
    width: 1300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;

    .match_table_outer {
      width: 1300px;

      .match_table {
        width: 100%;
        border-collapse: collapse;
        pointer-events: none;

        tr {
          border-bottom: 1px solid #aaa;
        }

        th,
        td {
          text-align: center;
          padding: 30px 0;
          font-family: "Sawarabi Gothic";
          white-space: nowrap;

          a {
            text-decoration: none;
          }
        }
      }
    }

    a {
      pointer-events: all;
    }
  }

  .league_result {
    margin: 70px auto 0;
    width: 1300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;

    .league_table_outer {
      width: 1300px;

      .league_table {
        width: 100%;
        border-collapse: collapse;
        pointer-events: none;
        font-family: "Sawarabi Gothic";
        white-space: nowrap;

        tr {
          border-bottom: 1px solid #aaa;
        }

        th,
        td {
          text-align: center;
          padding: 30px 0;

          a {
            text-decoration: none;
          }
        }
      }
    }
  }
}

@media (width <= 1300px) {
  main {
    .annual {
      gap: 30px;
    }

    .match_result {
      width: 700px;

      .match_table_outer {
        width: 700px;

        .match_table {
          th,
          td {
            font-size: 14px;
          }
        }
      }
    }

    a {
      pointer-events: all;
    }

    .league_result {
      width: 700px;

      .league_table_outer {
        width: 700px;

        .league_table {
          th,
          td {
            font-size: 14px;
          }
        }
      }
    }
  }
}

@media (width <= 768px) {
  /* 共通定義 */
  .result_ul {
    li {
      font-size: 18px;
    }
  }

  main {
    .annual {
      gap: 15px;

      .year {
        font-size: 16px;
      }
    }

    .match_result {
      width: auto;
      padding: 0 20px;
      align-items: center;

      .match_table_outer {
        width: 100%;
        overflow: auto;

        .match_table {
          th,
          td {
            padding: 20px 10px;
            font-size: 14px;
          }
        }
      }
    }

    .league_result {
      width: auto;
      padding: 0 20px;
      align-items: center;

      .league_table_outer {
        width: 100%;
        overflow-x: auto;

        .league_table {
          th,
          td {
            padding: 20px 10px;
            font-size: 14px;
          }
        }
      }
    }
  }
}
