.cast-inner {
  position: relative;
  width: 100%;
}

.cast-top {
  width: 40%;
  margin: 0 0 3rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cast-left {
  width: 50%;
  margin: 0 5% 0 0;
}

.cast-right {
  width: 45%;
}

.cast-name {
  text-align: center;
}

.cast-name img {
  width: 80%;
}

.cast-icon {
  width: 100%;
  margin: 2rem 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cast-icon-item {
  width: 18%;
  margin: 0 4% 0;
}

.cast-inner p {
  font-size: min(16px, 1.6vw);
  line-height: 1.8;
}

/* 5行分の高さを確保 */
.cast-inner p.unit-about {
  min-height: calc(1.8em * 5);
}

.cast-c1 {
  position: absolute;
  width: 40%;
  top: -30%;
  right: 10%;
}

.cast-c2 {
  position: absolute;
  width: 40%;
  bottom: -30%;
  right: 0;
}

.cast-c1 img,
.cast-c2 img {
  border: #666 solid 2px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.cast-c1-name {
  position: absolute;
  width: 50%;
  bottom: 5%;
  right: -12%;
}

.cast-c2-name {
  position: absolute;
  width: 50%;
  bottom: 5%;
  right: -12%;
}

.cast-c1 .cast-c1-name img,
.cast-c2 .cast-c2-name img {
  border: none;
  box-shadow: none;
}

.cast-sns {
  position: absolute;
  top: 10%;
  left: 6%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cast-sns-item {
  width: 14%;
  margin: 0 6% 0 0;
}

.cast-sns-item img {
  line-height: 0;
}

.bm-inner {
  width: 100%;
}

.bm-inner p {
  width: 100%;
  font-size: min(18px, 1.8vw);
  line-height: 1.8;
}

.bm-inner p span {
  font-size: 80%;
}

.bm-cs {
  width: 100%;
  height: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bm-cs p {
  margin-bottom: 0;
  color: #666;
  font-size: min(36px, 3.6vw);
  font-family: "TensegritySans";
  font-style: normal;
  line-height: 1.6;
}

.opening-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.opening-item {
  position: relative;
  width: 30%;
}

.opening-item p span {
  display: block;
  font-size: 115%;
  font-weight: 600;
}

.opening-item img {
  border: #666 solid 2px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.opening-sns {
  position: absolute;
  width: 30%;
  height: 3.5rem;
  bottom: 5%;
  right: -8%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.opening-sns-icon {
  width: 2.5rem;
  margin: 0 0.5rem;
  line-height: 0;
}

.opening-sns-icon img {
  width: 100%;
  border: 0;
  box-shadow: none;
}

.openingbg-1 {
  background-color: #ec1d2f;
}

.openingbg-2 {
  background-color: #b6c6f2;
}

.openingbg-3 {
  background-color: #858ed1;
}

@media screen and (min-width: 1px) and (max-width: 767px) {
  .cast-top {
    width: 100%;
    margin: 0 0 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .cast-left {
    width: 50%;
    margin: 0 3% 0 0;
  }

  .cast-right {
    width: 47%;
  }

  .cast-name {
    text-align: center;
  }

  .cast-name img {
    width: 80%;
  }

  .cast-icon {
    width: 100%;
    margin: 2rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cast-icon-item {
    width: 18%;
    margin: 0 4% 0;
  }

  .cast-inner p {
    margin: 0 0 2rem;
    font-size: min(14px, 3.59vw);
    line-height: 1.8;
  }

  .cast-inner p.unit-about {
    min-height: auto;
  }

  .cast-outer {
    position: relative;
    width: 100%;
  }

  .cast-c1 {
    position: static;
    width: 80%;
    margin: 0 0 2rem;
  }

  .cast-c2 {
    position: static;
    width: 80%;
    margin: 0 0 0 20%;
  }

  .cast-c1 img,
  .cast-c2 img {
    border: #666 solid 1px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  }

  .cast-c1-name {
    width: 60%;
    bottom: 5%;
    right: -15%;
  }

  .cast-c2-name {
    width: 60%;
    bottom: 5%;
    right: 55%;
  }

  .cast-sns {
    width: 30%;
    top: 1%;
    left: 7%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .cast-sns-item {
    width: 40%;
    margin: 0 10% 0 0;
  }

  .bm-inner {
    width: 100%;
  }

  .bm-inner p {
    width: 100%;
    font-size: min(16px, 4.1vw);
    line-height: 1.8;
  }

  .bm-inner p span {
    font-size: 80%;
  }

  .bm-cs {
    height: 15rem;
  }

  .bm-cs p {
    font-size: min(24px, 6.15vw);
  }

  .opening-inner {
    display: block;
    width: 80%;
    margin: 0 auto;
  }

  .opening-item {
    width: 100%;
    margin: 0 0 3rem;
  }

  .opening-item :last-child {
    margin: 0;
  }

  .opening-item p {
    font-size: min(14px, 3.59vw);
  }

  .opening-item p span {
    font-size: 120%;
  }

  .opening-item img {
    border: #666 solid 1px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
  }

  .opening-sns {
    position: absolute;
    width: 30%;
    height: 3rem;
    bottom: 5%;
    right: -12%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .opening-sns-icon {
    width: 2rem;
    margin: 0 1rem;
  }

  .opening-sns-icon img {
    width: 100%;
    border: 0;
    box-shadow: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .cast-left {
    width: 45%;
    margin: 0 5% 0 0;
  }

  .cast-right {
    width: 50%;
  }

  .cast-inner p {
    font-size: min(14px, 1.73vw);
  }

  .bm-inner p {
    font-size: min(16px, 1.98vw);
  }

  .opening-sns-icon {
    width: 2rem;
    margin: 0 0.3rem;
  }
}
