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

html {
  background: #e7e5e1;
}

body {
  margin: 0;
  background: #e7e5e1;
  color: #000;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 200;
  font-size: 17px;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #000;
}

.page {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.hero img {
  display: block;
  margin: 0 auto 12px;
}

.cast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  margin: 36px 0 12px;
}

.cast figure {
  margin: 0;
  text-align: center;
}

.cast a {
  display: block;
}

.cast figcaption {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 200;
  line-height: 24px;
}

.note,
.story,
.credits {
  text-align: center;
}

.note {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 32px;
}

.note p {
  margin: 0 0 1em;
  font-size: 17px;
  line-height: 1.2;
}

.note a {
  text-decoration: underline;
}

.rule {
  border: 0;
  border-bottom: 2px solid #ccc;
  margin: 28px 0;
}

.story p {
  margin: 0 0 1.2em;
}

.credits p {
  margin: 0;
}

.schedule {
  display: block;
  width: min(841px, 100%);
  margin: 12px auto 20px;
}

.small {
  font-size: 16px;
}

.site-footer {
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
}

.site-footer p {
  margin: 0;
}

.underline {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page {
    width: min(1170px, calc(100% - 16px));
  }

  .cast {
    gap: 16px 8px;
  }

}
