.jc-page {
  background: #f5f7fb;
  color: #0b1f3a;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", sans-serif;
}

.jc-hero {
  position: relative;
  min-height: 280px;
  background:
    linear-gradient(90deg, rgba(4, 19, 41, .95), rgba(4, 19, 41, .65)),
    url("../images/japan-challenge-hero.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}

.jc-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.jc-hero__logo {
  font-weight: 900;
  line-height: .95;
  letter-spacing: .02em;
  font-size: clamp(36px, 6vw, 72px);
}

.jc-hero__logo span {
  display: block;
}

.jc-hero__logo strong {
  display: block;
  color: #e51d3d;
}

.jc-hero__meta {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
}

.jc-status {
  width: min(1180px, calc(100% - 40px));
  margin: -36px auto 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(10, 30, 60, .12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.jc-status__item {
  padding: 24px 28px;
  border-right: 1px solid #e5eaf2;
}

.jc-status__item:last-child {
  border-right: none;
}

.jc-status__item span {
  display: block;
  color: #667085;
  font-size: 13px;
  margin-bottom: 8px;
}

.jc-status__item strong {
  font-size: 22px;
  font-weight: 800;
}

.jc-status__item .is-live {
  color: #e51d3d;
}

.jc-tabs {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 24px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.jc-tabs a {
  flex: 0 0 auto;
  text-decoration: none;
  color: #0b1f3a;
  background: #fff;
  padding: 16px 28px;
  border-radius: 12px 12px 0 0;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(10, 30, 60, .06);
}

.jc-tabs a.active,
.jc-tabs a:hover {
  background: #061b36;
  color: #fff;
}

.jc-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, .9fr);
  gap: 24px;
}

.jc-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 6px 20px rgba(10, 30, 60, .08);
  margin-bottom: 24px;
}

.jc-card h2 {
  font-size: 24px;
  margin: 0 0 20px;
  font-weight: 900;
}

.jc-card h3 {
  background: #061b36;
  color: #fff;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  margin: 10px 0 16px;
  font-size: 15px;
}

.jc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.jc-legend {
  font-size: 13px;
  color: #667085;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.upcoming { background: #c8d0dc; }
.dot.live { background: #e51d3d; }
.dot.finished { background: #2f7de1; }

.jc-round {
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 18px;
  background: #fff;
}

.jc-round.live {
  border-color: rgba(229, 29, 61, .45);
  background: #fff7f8;
}

.jc-round.finished {
  opacity: .78;
}

.jc-round__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.round-label {
  background: #061b36;
  color: #fff;
  border-radius: 6px;
  padding: 7px 14px;
  font-weight: 900;
}

.jc-round__head strong {
  font-size: 24px;
  font-weight: 900;
}

.jc-round__head em {
  font-style: normal;
  font-size: 13px;
  background: #e5edf8;
  color: #2f5f9f;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 800;
}

.jc-round.live .jc-round__head em {
  background: #e51d3d;
  color: #fff;
}

.jc-courts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.jc-court {
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.jc-court__title {
  background: #f6f8fb;
  text-align: center;
  padding: 10px;
  font-weight: 800;
  border-bottom: 1px solid #e5eaf2;
}

.jc-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px 14px;
}

.jc-match span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.jc-match span:first-child {
  text-align: left;
}

.jc-match span:last-child {
  text-align: right;
}

.jc-match strong {
  font-size: 28px;
  color: #2f7de1;
  font-weight: 900;
  white-space: nowrap;
}

.jc-round.live .jc-match strong {
  color: #e51d3d;
}

.jc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.jc-table th {
  background: #f6f8fb;
  color: #344054;
  font-size: 13px;
  padding: 11px 8px;
  text-align: center;
}

.jc-table td {
  border-bottom: 1px solid #eef2f7;
  padding: 12px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.jc-table td:nth-child(2) {
  text-align: left;
}

.jc-table td strong {
  color: #e51d3d;
  font-size: 18px;
}

.jc-time {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  border-bottom: 1px solid #e5eaf2;
  padding: 14px 0;
}

.jc-time span {
  font-weight: 900;
}

.jc-time p {
  margin: 0;
  font-weight: 700;
}

.jc-time.now {
  background: #fff2f4;
  margin: 0 -14px;
  padding: 14px;
  border-radius: 10px;
}

.jc-final {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  margin-bottom: 12px;
}

.jc-final span {
  font-weight: 900;
  color: #2f7de1;
}

.jc-final strong {
  text-align: right;
}

.jc-sponsors {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 60px;
}

.jc-sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.jc-sponsor {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  padding: 22px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.jc-sponsor:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(10, 30, 60, .12);
}

.jc-sponsor img {
  max-width: 100%;
  max-height: 110px; /* ←ここを拡大 */
  object-fit: contain;
}

@media (max-width: 900px) {
  .jc-status {
    grid-template-columns: 1fr;
  }

  .jc-status__item {
    border-right: none;
    border-bottom: 1px solid #e5eaf2;
  }

  .jc-main {
    grid-template-columns: 1fr;
  }

  .jc-courts {
    grid-template-columns: 1fr;
  }

  .jc-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .jc-sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jc-match {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .jc-match span,
  .jc-match span:first-child,
  .jc-match span:last-child {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .jc-hero {
    min-height: 220px;
  }

  .jc-status,
  .jc-tabs,
  .jc-main,
  .jc-sponsors {
    width: calc(100% - 24px);
  }

  .jc-card {
    padding: 18px;
  }

  .jc-status {
    margin-top: -24px;
  }

  .jc-tabs a {
    padding: 12px 18px;
    font-size: 14px;
  }

  .jc-time {
    grid-template-columns: 80px 1fr;
  }

  .jc-sponsor-grid {
    grid-template-columns: 1fr;
  }
}

.partner-title {
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #666;
}

.jc-sponsor img {
  max-height: 60px;
  object-fit: contain;
}
.partner-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  text-align: center;
  color: #666;
}

/* 共通 */
.jc-sponsor-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

/* SUPPORT（2社） */
.jc-sponsor-grid.support .jc-sponsor {
  width: 300px;
}

/* LOCAL（1社） */
.jc-sponsor-grid.local .jc-sponsor {
  width: 260px;
}

/* カード */
.jc-sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: .2s;
}

.jc-sponsor:hover {
  transform: translateY(-4px);
}

/* ロゴ */
.jc-sponsor img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* タイトル */
.partner-title {
  text-align: center;
  margin: 30px 0 10px;
  font-size: 14px;
  color: #666;
  font-weight: 700;
}

/* SUPPORT（上位：2社） */
.jc-sponsor-grid.support .jc-sponsor {
  width: 300px;
  min-height: 150px;
}

/* LOCAL（地域協力：1社） */
.jc-sponsor-grid.local .jc-sponsor {
  width: 240px;
  min-height: 120px;
}

@media (min-width: 1024px) {
  .jc-sponsor-grid.support .jc-sponsor img {
    max-height: 130px;
  }

  .jc-sponsor-grid.local .jc-sponsor img {
    max-height: 95px;
  }
}

/* ======================
   決勝トーナメント（カード型）
====================== */

.jc-final-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.jc-final-note {
  margin: 0;
  font-size: 13px;
  color: #667085;
  font-weight: 700;
}

.jc-final-bracket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.jc-final-card {
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(10, 30, 60, .06);
}

.jc-final-card.is-final {
  grid-column: 1 / -1;
  border-color: rgba(229, 29, 61, .28);
  background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
}

.jc-final-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #061b36;
  color: #fff;
}

.jc-final-card.is-final .jc-final-card__head {
  background: linear-gradient(90deg, #061b36, #e51d3d);
}

.jc-final-team {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 18px 16px;
  border-top: 1px solid #eef2f7;
}

.jc-final-team__name {
  font-size: 15px;
  font-weight: 900;
  color: #0b1f3a;
}

.jc-final-team__score {
  min-width: 46px;
  height: 42px;
  border-radius: 10px;
  background: #f2f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #2f7de1;
}

.jc-final-team.is-winner {
  background: #fff8e8;
}

.jc-final-team.is-winner .jc-final-team__score {
  background: #e51d3d;
  color: #fff;
}