:root {
  --yellow: #ffd800;
  --ink: #111;
  --red: #e60012;
  --sat-blue: #0a0ae6;
  --orange: #ff9933;
  --orange-deep: #ff6a00;
  --orange-text: #e65300;
  --lime: #99cc00;
  --lime-deep: #6f9e00;
  --pink: #ff0066;
  --forest: #336600;
  --tv-blue: #4466bb;
  --navy: #55597f;
  --page: 1040px;
  --gutter: clamp(16px, 3vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
small { font-size: inherit; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255, 216, 0, 0) 15%, var(--yellow) 88%),
    url("assets/stars.svg") top center / 180px 180px,
    var(--yellow);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 56px) var(--gutter) clamp(20px, 3vw, 28px);
}

.hero__logo { width: 100%; }

.hero__cheer {
  position: absolute;
  top: 6px;
  z-index: 1;
  width: clamp(44px, 6.5vw, 72px);
}
.hero__cheer--left { right: calc(max(var(--gutter), (100% - var(--page)) / 2 + var(--gutter)) + clamp(46px, 7vw, 78px)); }
.hero__cheer--right { right: max(var(--gutter), (100% - var(--page)) / 2 + var(--gutter)); }

/* The title is the official wordmark: always an image, never set in a font. */
.hero__title { margin: 0; }
.hero__title img { width: 100%; }

.hero__tag {
  width: fit-content;
  margin: clamp(10px, 1.6vw, 16px) 0 0 auto;
  padding: .22em .9em;
  border-radius: .5em;
  background: var(--red);
  color: #fff;
  font-size: clamp(19px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: .08em;
}

/* ---------- Shared date parts ---------- */
.date {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1;
}
.date b { font-weight: 900; }

.date--lg { font-size: clamp(26px, 3.6vw, 38px); }
.date--lg b { font-size: 1.9em; }

.date--md { font-size: clamp(22px, 3vw, 32px); }
.date--md b { font-size: 1.85em; }

.date--sm { font-size: clamp(15px, 1.9vw, 20px); gap: .15em; }
.date--sm b { font-size: 1.7em; }

.day {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  color: #fff;
  font-weight: 900;
}
.date--lg .day, .date--md .day { font-size: 1.15em; }
.day--sat { background: var(--sat-blue); }
.day--dark { background: #111; }

/* ---------- Date and venue ---------- */
.info,
.matches,
.tv {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.info { padding-block: clamp(22px, 3.4vw, 36px); }

.info__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(20px, 3vw, 32px);
}

.info__item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.info__item dt {
  flex: none;
  width: 4.9em;
  padding: .4em 0;
  border: 2px solid var(--ink);
  font-size: clamp(14px, 1.7vw, 18px);
  letter-spacing: .25em;
  text-align: center;
}

.info__venue {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

/* ---------- Match cards ---------- */
.matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 44px);
}

.match {
  --frame: var(--orange);
  --frame-deep: var(--orange-deep);
  --label: var(--pink);
  display: grid;
  grid-template-columns: clamp(44px, 5.4vw, 56px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 26px);
  margin: 0 10px 10px 0;
  padding: clamp(18px, 2.6vw, 28px) clamp(14px, 2.4vw, 26px);
  border: 12px solid var(--frame);
  border-radius: 14px;
  background: #fff;
  box-shadow: 8px 10px 0 var(--frame-deep);
}
.match--boys {
  --frame: var(--lime);
  --frame-deep: var(--lime-deep);
  --label: var(--forest);
}

.match__label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--label);
  color: #fff;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: .6em;
  text-indent: .6em;
  writing-mode: vertical-rl;
}

.match__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  text-align: center;
}

.match__time {
  margin-bottom: 1.1em;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  white-space: nowrap;
}
.match__time span { color: var(--orange-text); font-weight: 700; }

.match__vs {
  margin-block: .35em;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
}

.team {
  font-size: clamp(19px, 2.95vw, 32px);
  font-weight: 900;
  white-space: nowrap;
}
.team small {
  display: block;
  font-size: .58em;
  font-weight: 700;
  text-align: left;
}

/* ---------- TV ---------- */
.tv { padding-block: clamp(36px, 5vw, 56px) clamp(32px, 5vw, 56px); }

.tv__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 20px;
  min-height: 50px;
  padding: 8px 20px 8px clamp(84px, 13vw, 128px);
  border-radius: 12px;
  background: var(--tv-blue);
  color: #fff;
}

.tv__mascot {
  position: absolute;
  left: clamp(4px, 1.4vw, 16px);
  bottom: -14px;
  width: clamp(72px, 10vw, 100px);
}

.tv__title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: .08em;
}

.tv__note { font-size: clamp(12px, 1.5vw, 15px); font-weight: 500; }

.tv__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px clamp(20px, 4vw, 44px);
  padding: clamp(28px, 3.6vw, 38px) 0 clamp(16px, 2.2vw, 24px);
  border-bottom: 2px solid var(--tv-blue);
}

.tv__hours {
  font-size: clamp(38px, 6.2vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.uncut {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  gap: 32px;
  padding-top: clamp(16px, 2.2vw, 24px);
}

.uncut__item {
  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せ */
  gap: clamp(8px, 1.2vw, 14px);
  white-space: nowrap;
}

.pill {
  flex: none;
  padding: .35em .85em;
  border-radius: .55em;
  color: #fff;
  font-size: clamp(18px, 2vw, 22px); /* 少し大きく */
}

.pill--girls { background: #ee2a7b; }
.pill--boys { background: var(--navy); }

.date--sm {
  font-size: clamp(18px, 2.2vw, 24px); /* 日付を大きく */
  gap: .2em;
}

.uncut__time {
  font-size: clamp(18px, 2vw, 22px); /* 時刻を大きく */
}
.uncut__time b { font-size: 1.35em; font-weight: 900; }

/* ---------- Narrow screens ---------- */
@media (max-width: 719px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .hero__logo { width: min(46vw, 240px); }
  .hero__text { width: min(100%, 620px); }
  .hero__tag {
    margin-inline: auto;
    font-size: min(5.6vw, 30px);
  }

  .info__list {
    flex-direction: column;
    align-items: flex-start;
  }
  .date--lg { font-size: min(8vw, 38px); }
  .info__venue { font-size: min(9vw, 46px); }

  .matches { grid-template-columns: minmax(0, 1fr); }
  .match__body { min-height: 0; }
  .team { font-size: min(6.2vw, 32px); }

  .tv__title {
    font-size: min(4.4vw, 30px);
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .tv__live { justify-content: flex-start; }
  .tv__hours { font-size: min(11.4vw, 66px); }
  .date--md { font-size: min(7vw, 32px); }

  .uncut {
    flex-direction: column;
    align-items: flex-start;
  }
  .date--sm { font-size: min(4.4vw, 20px); }
}
