@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");
body {
  background-color: #4fb1e5;
  min-height: 70vh;
  padding: 1rem;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  color: #494a4b;
  font-family: "Gochi Hand", cursive;
  text-align: center;
  font-size: 130%;
}

@media only screen and (min-width: 500px) {
  body {
    min-height: 100vh;
  }
}
.container {
  margin-top: 0px;
  width: 100%;
  height: auto;
  min-height: 500px;
  /* max-width: 500px; */
  min-width: 250px;
  background: #f1f5f8;
  background-image: radial-gradient(#bfc0c1 7.2%, transparent 0);
  background-size: 25px 25px;
  border-radius: 20px;
  box-shadow: 4px 3px 7px 2px #00000040;
  padding: 1rem;
  box-sizing: border-box;
}
.schedules__time::after,
.schedules__time::before,
.card__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.5rem;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: inherit;
  box-shadow: inset 0 0 0 0.3428571429rem;
  transition: all 0.5s;
}

.cards {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.card {
  position: absolute;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #fff;
  transition: all 0.5s;
  background-image: linear-gradient(to right, transparent calc(1.5rem - 3px), #fff calc(1.5rem - 3px), #fff calc(1.5rem + 3px), transparent calc(1.5rem + 3px));
  counter-increment: card;
}

.card:nth-of-type(1)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  z-index: 0;
  transform: translateX(-50%);
  width: 12px;
  height: 2rem;
  background-color: inherit;
}

.card:nth-of-type(1) {
  transform: translateY(calc(0 * (100% - 1.5rem)));
}

.card:nth-of-type(5n + 1) {
  background-color: #6dcff6;
}

.card:nth-of-type(2) {
  transform: translateY(calc(0.2 * (100% - 1.5rem)));
}

.card:nth-of-type(5n + 2) {
  background-color: #8882ee;
}

.card:nth-of-type(3) {
  transform: translateY(calc(0.4 * (100% - 1.5rem)));
}

.card:nth-of-type(5n + 3) {
  background-color: #dee170;
}

.card:nth-of-type(4) {
  transform: translateY(calc(0.6 * (100% - 1.5rem)));
}

.card:nth-of-type(5n + 4) {
  background-color: #71b8ca;
}

.card:nth-of-type(5) {
  transform: translateY(calc(0.8 * (100% - 1.5rem)));
}

.card:nth-of-type(5n + 5) {
  background-color: #e77fa0;
}

.cards.is-active .card {
  transform: translateY(0) !important;
}

.cards.is-active .card.is-active {
  transform: translateY(7.5%) !important;
}

.cards.is-active .card.is-active .card__title {
  transform: translateY(0);
}

.cards.is-active .card.is-active .card__title::after {
  transform: scale(1);
}

.cards.is-active .card.is-active .schedules {
  opacity: 1;
}

.cards.is-active .card:nth-of-type(1).is-active {
  transform: translateY(0%) !important;
}

.cards.is-active .card.is-active~.card {
  transform: translateY(100%) !important;
}

.cards.is-active .card.is-active+.card {
  transform: translateY(calc(92.5% - 1.5rem)) !important;
}

.cards.is-active .card__title {
  transform: translateY(-25%);
}

.cards.is-active .card__title::after {
  transform: scale(0.6);
}

.card__title {
  position: relative;
  margin: 0 1.5rem 0.25em 3rem;
  padding-top: 1rem;
  background-color: inherit;
  font-size: 2rem;
  font-weight: 900;
  text-transform: capitalize;
  cursor: pointer;
  transition: transform 0.3s;
}

.card__title::after {
  content: "歌曲" counter(card);
  display: block;
  transition: transform 0.3s;
  transform-origin: 0% 50%;
}

.card__title::before {
  top: calc(50% + .5rem);
  box-shadow: inset 0 0 0 0.3428571429rem;
}

.card.is-active .card__title::before {
  box-shadow: inset 0 0 0 1.2rem;
}

.schedules {
  background-color: inherit;
  max-height: calc(100% - 4rem);
  background-image: inherit;
  padding-left: 3rem;
  padding-right: 1.5rem;
  padding-bottom: 114px;
  overflow: auto;
  transition: opacity 0.3s;
  opacity: 0;
}

.schedules__time {
  position: relative;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  background-color: inherit;
}

.schedules__time::before {
  font-size: 1.6em;
  box-shadow: none;
  transform: translate(-50%, -50%) scale(0);
  transition-delay: 0.3s;
}

.schedules__time::after {
  width: 0.6em;
  height: 0.6em;
  box-shadow: inset 0 0 0 1.2rem;
  transform: translate(-50%, -50%) scale(0);
  transition-delay: 0.5s;
}

.card.is-active .schedules__time::before,
.card.is-active .schedules__time::after {
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.3s;
}

.card.is-active .schedules__time::after {
  transition-delay: 0.35s;
}

.schedules__info {
  margin-bottom: 1rem;
}

.schedules__info span {
  color: transparent;
  background-color: rgba(255, 255, 255, 0.3);
}

.new-card {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 6rem;
  margin-top: -1.5rem;
  border: none;
  border-radius: 1.5rem;
  outline: none;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #999;
  background: #fff;
  cursor: pointer;
}

.new-card:active {
  top: 1px;
}

.new-card::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.5em;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px;
  background-image: linear-gradient(0deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(90deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
}

.box {
  width: 360px;
  margin: 0 auto;
  font-family: sans-serif;
  line-height: 1.5;
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 6rem -1rem rgba(0, 0, 0, 0.3);
}

.box img {
  max-width: 100%;
  height: auto;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: #4fb1e5;
  color: #222;
}

.intro {
  width: 80%;
  max-width: 30rem;
  padding-bottom: 1rem;
  margin: 0 auto 1em;
  padding-top: 0.5em;
  text-align: center;
  text-transform: capitalize;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.3);
}

.intro small {
  display: block;
  opacity: 0.5;
  font-style: italic;
  text-transform: none;
}

.info {
  position: absolute;
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 1em;
  font-size: 0.9em;
  font-style: italic;
  font-family: serif;
  text-align: right;
  opacity: 0.5;
}

.info a {
  color: inherit;
}