.page-title {
  text-align: center;
  height: auto !important;
  padding: 110px 0 76px;
}

.page-lead {
  margin-bottom: 40px;
}

#balls {
  margin-bottom: 80px;
}

#balls .cardbox-inner {
  padding: 30px 20px 40px;
  margin: 0 auto;
}

#balls .grid {
  --border-width: 2px;
  --border-gap: 20px;
  display: grid;
  grid-template-columns: 1fr var(--border-gap) 1fr;
  grid-template-rows: auto auto auto var(--border-gap) auto auto auto;
}

#balls .grid .v-line {
  position: relative;
  grid-row: span 3;
}

#balls .grid .v-line::after {
  content: "";
  position: absolute;
  width: var(--border-width);
  height: 100%;
  inset: 0;
  margin: auto;
  border-radius: 10px;
  background: red;
}

#balls .grid .v-line.l1::after {
  background: linear-gradient(180deg, var(--color-purple), #9387c5);
}

#balls .grid .v-line.l2::after {
  background: linear-gradient(180deg, #8d88c3, var(--color-lightblue));
}

#balls .grid .h-line {
  position: relative;
}

#balls .grid .h-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: var(--border-width);
  inset: 0;
  margin: auto;
  border-radius: 10px;
  background: red;
}

#balls .grid .h-line.l1::after {
  background: linear-gradient(90deg, var(--color-purple), #9387c5);
}

#balls .grid .h-line.l2::after {
  background: linear-gradient(90deg, #8d88c3, var(--color-lightblue));
}

#balls .grid .cell {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  justify-content: center;
  gap: 10px;
}

#balls .grid .cell img {
  width: 88px;
  margin: 0 auto;
}

#balls .grid .cell h2 {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.05em;
  padding: 10px;
  background: var(--color-purple);
  border-radius: 5px;
}

#balls .grid .cell h2 .trim {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#balls .grid .cell div {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.388;
  letter-spacing: 0.05em;
}

#balls .grid .cell div br {
  display: none;
}

#balls .grid .cell.heavy_ball img {
  width: 89.5px;
}

#balls .grid .cell.speed_ball,
#balls .grid .cell.lure_ball {
  padding-bottom: 10px;
}

#balls .grid .cell.level_ball,
#balls .grid .cell.heavy_ball {
  padding-top: 10px;
}

#serial-number .colorbox-inner {
  width: 93.9209726444%;
  padding: 30px 0 40px;
  margin: 0 auto;
}

#serial-number .sectitle {
  text-align: center;
  margin-bottom: 40px;
}

#serial-number .attentions a {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  #balls .cardbox-inner {
    padding: 40px 30px 40px;
  }

  #balls .grid {
    --border-width: 3px;
    --border-gap: 30px;
  }

  #balls .grid .cell img {
    width: 132px;
  }

  #balls .grid .cell h2 {
    margin: 0 auto;
  }

  #balls .grid .cell h2 .trim {
    flex-direction: row;
    gap: 0.5em;
  }

  #balls .grid .cell div {
    word-break: keep-all;
    text-align: center;
  }

  #balls .grid .cell div br {
    display: block;
  }

  #balls .grid .cell.heavy_ball img {
    width: 134.25px;
  }
}

@media screen and (min-width: 1024px) {
  .page-title {
    padding: 160px 0 80px;
  }

  .page-title .trim {
    min-height: 2lh;
  }

  .page-lead {
    margin-bottom: 120px;
  }

  #balls {
    margin-bottom: 120px;
  }

  #balls .cardbox-inner {
    padding: 60px 38px 60px;
  }

  #balls .grid {
    --border-width: 4px;
    --border-gap: 40px;
  }

  #balls .grid .cell {
    gap: 20px;
  }

  #balls .grid .cell img {
    width: 176px;
  }

  #balls .grid .cell h2 {
    border-radius: 10px;
  }

  #balls .grid .cell.heavy_ball img {
    width: 179px;
  }

  #balls .grid .cell.speed_ball,
  #balls .grid .cell.lure_ball {
    padding-bottom: 20px;
  }

  #balls .grid .cell.level_ball,
  #balls .grid .cell.heavy_ball {
    padding-top: 20px;
  }

  #serial-number .colorbox-inner {
    width: 87.6543209877%;
    padding: 60px 0 60px;
  }

  #serial-number .sectitle {
    margin-bottom: 48px;
  }
}