.ticket-inner {
  width: 100%;
  margin: 3rem auto 0;
}

.text-cate {
  position: relative;
  width: 100%;
  margin: 0 0 3rem;
  display: flex;
  justify-content: flex-start;
  align-items: first baseline;
}

.text-cate img {
  width: 100%;
}

.ticket_tokuten {
  position: absolute;
  width: 30%;
  top: -5%;
  right: 0;
}

.text-cate-text {
  width: 23%;
  margin: 0 5% 0 0;
  padding: 0.3em 1em;
  color: #f5d952;
  font-size: 14px;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-ideograph;
  background-color: #1a1a1a;
}

.text-cate-small {
  width: 17%;
  margin: 1.2em 0 1em;
  padding: 0.2em 0.6em;
  color: #1a1a1a;
  font-size: 12px;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-ideograph;
  border: #1a1a1a solid 1px;
  border-radius: 5px;
}

.text-cate-small.wide {
  width: 30%;
}

.ticket-text {
  width: 70%;
}

.ticket-text_inner {
  position: relative;
  width: 100%;
  padding: 0 0 2.4rem;
  margin: 0 0 2.4rem;
  border-bottom: #f5d952 dotted 2px;
}

.ticket-text_inner:last-child {
  margin: 0 0 0;
  padding: 0 0 2.4rem;
  border-bottom: #f5d952 dotted 2px;
}

.ticket-text_inner-2 {
  width: 100%;
  padding: 0;
  margin: 0;
}

.ticket-text_inner-3 {
  width: 100%;
  padding: 0 0 2.4rem;
  margin: 0 0 2.4rem;
}

.ticket-sheet-text {
  width: 100%;
  font-size: 18px;
  font-weight: 700;
}

.ticket-sheet-text span {
  font-size: 30px;
}

.ticket-text p {
  margin: 0 0 0;
  font-size: 22px;
  font-weight: 700;
  font-feature-settings: 'palt';
}

.ticket-text p span {
  color: #ffc400;
  font-size: 20px;
}

.ticket-small-text {
  font-size: 14px;
  font-weight: 700;
}

.ticket-note {
  margin: 1rem 0 0;
}

.ticket-note p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  padding-left: 1em;
  text-indent: -1em;
}

.ticket-uketsuke {
  margin: 1.6rem 0 0;
}

.ticket-out {
  width: 102%;
  height: 96%;
  position: absolute;
  top: -4%;
  left: -1%;
  background: rgba(255, 232, 124, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
}

.ticket-all-desc {
  width: fit-content;
  padding: 0 0.5em 0;
  margin: 1em 0;
  font-size: 20px;
  text-align: center;
  background-image: url(../img/cast/yellow_blank.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 100% 18px;
}

.ticket-desc {
  margin: 1em 0 2em;
}

.ticket-desc p {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0.5em;
}

.ticket-desc p.margin {
  margin-bottom: 1em;
}

.button-container {
  display: flex;
  gap: 15px;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  .ticket-inner {
    margin: 2rem auto 0;
  }

  .text-cate {
    margin: 0 0 2rem;
    display: block;
  }

  .text-cate-text {
    width: 60%;
    font-size: 12px;
    margin: 0 0 1.6rem;
  }

  .ticket-text {
    width: 100%;
  }

  .text-cate-small {
    width: 30%;
    margin: 1.4em 0 1em;
    padding: 0.2em 0.6em;
    font-size: 12px;
  }

  .ticket-text_inner {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
  }

  .ticket-text_inner:last-child {
    margin: 0 0 0;
    padding: 0 0 2rem;
  }

  .ticket-text_inner-3 {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
  }

  .ticket-price {
    width: 100%;
  }

  .ticket-sheet {
    width: 16%;
    margin: 0 4% 0 0;
    font-size: 14px;
  }

  .ticket-sheet-text {
    width: 100%;
    font-size: 16px;
  }

  .ticket-sheet-text span {
    font-size: 22px;
  }

  .ticket_tokuten {
    position: relative;
    width: 90%;
    margin: 2rem auto;
  }

  .ticket-text p {
    font-size: 20px;
  }

  .ticket-text p span {
    font-size: 16px;
  }

  .ticket-note p {
    font-size: 12px;
  }

  .ticket-uketsuke {
    margin: 1.8rem 0 0;
  }

  .ticket-uketsuke p {
    font-size: 16px;
  }

  .ticket-desc p {
    font-size: 16px;
  }

  .button-container {
    flex-direction: column;
    gap: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .ticket-inner {
    margin: 2rem auto;
  }

  .text-cate-text {
    width: 30%;
    font-size: 14px;
  }

  .ticket-sheet {
    font-size: 14px;
  }

  .ticket-sheet-text {
    font-size: 18px;
  }

  .ticket-sheet-text span {
    font-size: 24px;
  }

  .ticket-text p {
    font-size: 20px;
  }

  .ticket-text p span {
    font-size: 18px;
  }

  .ticket-note p {
    font-size: 14px;
  }
}
