/* =====================================
   卓球大会 結果速報ページ
===================================== */

.result-page {
  width: 100%;
  padding: 70px 20px;
  background: #f7f9fc;
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
}

.result-page__inner {
  max-width: 920px;
  margin: 0 auto;
}

.result-page__head {
  margin-bottom: 36px;
  text-align: center;
}

.result-page__label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #0066cc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.result-page__title {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.result-page__lead {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.9;
}

/* 大会情報 */
.result-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 16px;
  background: #dbe3ef;
  border: 1px solid #dbe3ef;
}

.result-info__item {
  padding: 18px 22px;
  background: #fff;
}

.result-info__item span {
  display: block;
  margin-bottom: 6px;
  color: #777;
  font-size: 13px;
  font-weight: 700;
}

.result-info__item strong {
  display: block;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

/* =====================================
   タブ
===================================== */

.result-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px;
  text-align: center;
  border-radius: 999px;
  background: #e9eef6;
}

.result-tab {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #456;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.result-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.result-tab.is-active {
  background: #0066cc;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 102, 204, 0.22);
}

/* タブの中身 */
.result-tab-content {
  display: none;
}

.result-tab-content.is-active {
  display: block;
  animation: resultFade 0.25s ease;
}

@keyframes resultFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 結果セクション */
.result-section {
  margin-bottom: 46px;
}

.result-section__title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 16px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.result-section__title::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 5px;
  height: 1.2em;
  border-radius: 999px;
  background: #0066cc;
}

/* 結果カード */
.result-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.06);
}

.result-card__content {
  flex: 1;
}

.result-card__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.result-card__team {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .result-page {
    padding: 50px 16px;
  }

  .result-page__title {
    font-size: 26px;
  }

  .result-page__lead {
    font-size: 14px;
    text-align: left;
  }

  .result-info {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .result-info__item {
    padding: 16px;
  }

  .result-tabs {
    gap: 6px;
    padding: 6px;
    margin-bottom: 28px;
  }

  .result-tab {
    padding: 12px 10px;
    font-size: 15px;
  }

  .result-section__title {
    font-size: 20px;
  }

  .result-card {
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .result-card__name {
    font-size: 16px;
  }
}