@charset "utf-8";

/* -------------------------------------------------------------------------- */
/*  競技結果一覧
/* -------------------------------------------------------------------------- */

.result-archive {
  color: #000;
}

.result-archive__inner {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/*  メインビジュアル
/* -------------------------------------------------------------------------- */

.result-archive__mv {
  padding: 80px 0 60px;
  text-align: center;
}

.result-archive__title {
  margin: 0 0 18px;
  padding-bottom: 15px;
  color: #0b6f07;
  font-family: var(--font-Mincho);
  font-size: 2em;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
}

.result-archive__title::after {
  content: "";
  width: 120px;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(234, 255, 228, 0.2) 0%,
    rgba(23, 110, 55, 1) 100%
  );
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.result-archive__lead {
  margin: 0;
  color: #333;
  font-size: 1em;
  line-height: 1.9;
}

/* -------------------------------------------------------------------------- */
/*  セクション共通
/* -------------------------------------------------------------------------- */

.result-news-section {
  padding: 55px 0 35px;
}

.result-table-section {
  padding: 35px 0 90px;
}

.result-section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.result-section-heading__en {
  margin: 0 0 8px;
  color: #0b6f07;
  font-family: var(--font-EB);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.result-section-heading__title {
  margin: 0;
  color: #000;
  font-family: var(--font-Mincho);
  font-size: 1.8em;
  font-weight: 600;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/*  最新のお知らせ
/* -------------------------------------------------------------------------- */

.result-news-list {
  border-top: 1px dotted #0a824c;
}

.result-news-item {
  border-bottom: 1px dotted #0a824c;
}

.result-news-item a {
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  color: #000;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.result-news-item a:hover {
  background-color: rgba(11, 111, 7, 0.04);
  color: #0b6f07;
}

.result-news-item__date {
  color: gray;
  font-family: var(--font-Montserrat);
  font-size: 0.9em;
  font-weight: 500;
  white-space: nowrap;
}

.result-news-item__text {
  color: inherit;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1.7;
}

.result-news-item__label {
  display: inline-block;
  padding: 5px 10px;
  background-color: #0b6f07;
  color: #fff;
  font-size: 0.8em;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.result-news-item a:hover .result-news-item__label {
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/*  年度別表
/* -------------------------------------------------------------------------- */

.result-year-block {
  margin-top: 32px;
}

.result-year-block:first-of-type {
  margin-top: 0;
}

.result-year-title {
  margin: 0 0 16px;
  padding-left: 15px;
  color: #0b6f07;
  font-family: var(--font-Mincho);
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
}

.result-year-title::before {
  content: "";
  width: 3px;
  height: 100%;
  background-color: #0b6f07;
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 0;
}

.result-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
}

.result-table th,
.result-table td {
  padding: 13px 15px;
  border: 1px solid #e0e0e0;
  color: #000;
  font-size: 0.95em;
  line-height: 1.7;
  vertical-align: middle;
}

.result-table th {
  background-color: #c8e6c6;
  color: #000;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.result-table td {
  background-color: rgba(255, 255, 255, 0.55);
}

.result-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.85);
}

.result-table__event-date {
  width: 180px;
  white-space: nowrap;
}

.result-table__name {
  width: 35%;
  min-width: 220px;
  font-weight: 500;
}

.result-table__note {
  width: 40%;
  min-width: 260px;
}

.result-table__pdf {
  width: 80px;
  text-align: center;
  white-space: nowrap;
}

.result-table__pdf a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #0b6f07;
  color: #fff;
  font-size: 0.85em;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.result-table__pdf a:hover {
  background-color: #1f4a0d;
  color: #fff;
  opacity: 0.85;
}

.result-table__blank {
  color: #999;
}

/* -------------------------------------------------------------------------- */
/*  空表示
/* -------------------------------------------------------------------------- */

.result-empty {
  padding: 35px 20px;
  text-align: center;
}

.result-empty p {
  margin: 0;
  color: #555;
  font-size: 0.95em;
  line-height: 1.8;
}

/* -------------------------------------------------------------------------- */
/*  スマホ
/* -------------------------------------------------------------------------- */

@media screen and (max-width: 768px) {
  .result-archive__inner {
    width: 90%;
  }

  .result-archive__mv {
    padding: 55px 0 40px;
  }

  .result-archive__title {
    font-size: 1.7em;
  }

  .result-archive__lead {
    text-align: left;
    font-size: 0.95em;
  }

  .result-news-section {
    padding: 45px 0 30px;
  }

  .result-table-section {
    padding: 32px 0 60px;
  }

  .result-section-heading {
    margin-bottom: 25px;
  }

  .result-section-heading__title {
    font-size: 1.5em;
  }

  .result-news-item a {
    display: block;
    padding: 15px 10px;
  }

  .result-news-item__date,
  .result-news-item__text {
    display: block;
  }

  .result-news-item__date {
    margin-bottom: 6px;
  }

  .result-news-item__label {
    margin-top: 10px;
  }

  .result-year-title {
    font-size: 1.35em;
  }

  .result-table {
    min-width: 760px;
  }

  .result-table th,
  .result-table td {
    padding: 11px 12px;
    font-size: 0.85em;
  }

  .result-table__event-date {
    width: 170px;
  }

  .result-table__name {
    min-width: 200px;
  }

  .result-table__note {
    min-width: 240px;
  }

  .result-table__pdf {
    width: 70px;
  }
}