/* =================================
	cast CSS
================================= */
h2 {
  text-align: center;
  margin-bottom: 2em;
}

h2 span {
  background: linear-gradient(transparent 40%, #7190c51c 40%);
  font-size: 160%;
  padding: 0 0.5em;
  letter-spacing: 0.1em;
  color: #a03f60;
}

table.casttable {
  /* width: max-content; */
  margin: 0 auto 5em;
  font-weight: bold;
  line-height: 2;
}

@media all and (min-width: 768px) {
  table.casttable td.yn {}

  table.casttable td.act {
    /* width: 138%; */
    color: hsl(0deg 0% 100%);
  }

  table.casttable {
    font-size: 160%;
    vertical-align: bottom;
  }

  table.casttable tr {
    margin-bottom: 1em;
  }
}

@media all and (max-width: 767px) {
  table.casttable td.yn {
    width: 30%;
  }

  table.casttable td.act {
    width: 50%;
    padding: 0 0 1em;
  }

  table.casttable {
    /* font-size: 110%; */
    width: 100%;
  }

  table.casttable tr {
    /* margin-bottom: 6em; */
    /* position: relative; */
    /* display: inherit; */
  }
}

table.casttable ruby>rt {
  font-weight: normal;
  margin-bottom: .1em;
  transform: translateY(-.1em);
}

table.casttable td.yn {
  text-align: right;
  color: #d04872;
}

table.casttable td.act {
  text-align: left;
  line-height: 1.5em;
  color: #a03f60;
}

table.casttable td.naka {
  color: #7190c5;
  padding-bottom: 0.5em;
  font-family: none;
}

table.casttable td.han {
  padding-bottom: 0;
  margin-bottom: -1em;
  display: block;
}

table.casttable td {
  vertical-align: baseline;
  /* margin-bottom: 0em; */
  /* position: relative; */
  /* display: inline-block; */
}

/* =================================
	staff CSS
================================= */
table.stafftable {
  margin: 0 auto;
  font-weight: bold;
  line-height: 1.5;
}

.lh3 {
  line-height: 3;
}

@media all and (min-width: 768px) {
  .lh3 {
    line-height: 2.5;
  }
}

@media all and (min-width: 768px) {
  table.stafftable {
    font-size: 130%;
    width: max-content;
  }

  .fs50 {
    font-size: 50%;
  }
}

@media all and (max-width: 767px) {
  table.stafftable {
    font-size: 90%;
  }
}

table.stafftable ruby>rt {
  font-weight: normal;
  margin-bottom: .3em;
  transform: translateY(-.3em);
}

table.stafftable td.yn {
  text-align: right;
  color: #a03f60;
  vertical-align: top;
}

table.stafftable td.mn {
  vertical-align: top;
}

@media all and (max-width: 767px) {
  table.stafftable td.yn {
    width: 42%;
  }

  table.stafftable td.naka {
    margin: 0 auto;
  }

  table.stafftable td.mn {
    width: 60%;
    padding: 0 0 1em;
  }

  table.stafftable .fs50 {
    font-size: 3vw;
  }
}

table.stafftable td.yn>span {
  display: block;
  margin-bottom: 1em;
  display: inline-table;
}

table.stafftable td.lh1>span {
  line-height: 1;
}

table.stafftable td.naka {
  color: #7190c5;
  vertical-align: top;
  display: table;
  font-family: none;
}

table.stafftable td.mn>span {
  margin-bottom: 1em;
  display: inline-table;
  color: hsl(212.73deg 26.9% 47.78%);
}

@media all and (max-width: 767px) {
  div.contents {
    padding: 5%;
    font-size: 4vw;
  }
}

@media all and (max-width: 767px) {
  table.casttable td.yn {
    text-align: right;
    width: 50%;
    line-height: 1.5;
    font-feature-settings: "palt";
  }

  table.casttable td.lh {
    vertical-align: middle;
    margin-bottom: 1em;
    display: inline-block;
    text-align: right;
    width: 100%;
  }
  .smpfs50br {
    margin-top: -0.5em;
    display: block;
    font-size: 40%;
  }
}
