:root {
  --in-sine: cubic-bezier(.47, 0, .745, .715);
  --out-sine: cubic-bezier(.39, .575, .565, 1);
  --in-out-sine: cubic-bezier(.445, .05, .55, .95);
  --in-quad: cubic-bezier(.55, .085, .68, .53);
  --out-quad: cubic-bezier(.25, .46, .45, .94);
  --in-out-quad: cubic-bezier(.455, .03, .515, .955);
  --in-cubic: cubic-bezier(.55, .055, .675, .19);
  --out-cubic: cubic-bezier(.215, .61, .355, 1);
  --in-out-cubic: cubic-bezier(.645, .045, .355, 1);
  --in-quart: cubic-bezier(.895, .03, .685, .22);
  --out-quart: cubic-bezier(.165, .84, .44, 1);
  --in-out-quart: cubic-bezier(.77, 0, .175, 1);
  --in-quint: cubic-bezier(.755, .05, .855, .06);
  --out-quint: cubic-bezier(.23, 1, .32, 1);
  --in-out-quint: cubic-bezier(.86, 0, .07, 1);
  --in-expo: cubic-bezier(.95, .05, .795, .035);
  --out-expo: cubic-bezier(.19, 1, .22, 1);
  --in-out-expo: cubic-bezier(1, 0, 0, 1);
  --in-circ: cubic-bezier(.6, .04, .98, .335);
  --out-circ: cubic-bezier(.075, .82, .165, 1);
  --in-out-circ: cubic-bezier(.785, .135, .15, .86);
  --in-back: cubic-bezier(.6, -.28, .735, .045);
  --out-back: cubic-bezier(.175, .885, .32, 1.275);
  --in-out-back: cubic-bezier(.68, -.55, .265, 1.55);
}

.l-content {
  padding-bottom: 17.5rem;
}
@media screen and (max-width: 899px) {
  .l-content {
    padding-bottom: 10rem;
  }
}

.p-staffcast__inner {
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
}
.p-staffcast__box {
  display: flex;
  position: relative;
}
@media screen and (max-width: 899px) {
  .p-staffcast__box {
    display: block;
  }
}
.p-staffcast__box + .p-staffcast__box {
  margin-top: 3.6rem;
  padding-top: 6.9rem;
  border-top: 1px solid rgba(179, 146, 67, 0.4);
  position: relative;
}
@media screen and (max-width: 899px) {
  .p-staffcast__box + .p-staffcast__box {
    margin-top: 2.4rem;
    padding-top: 4.2rem;
  }
}
.p-staffcast__box + .p-staffcast__box::before, .p-staffcast__box + .p-staffcast__box::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  position: absolute;
  top: 0;
  background: url(../img/common/deco_line.svg) no-repeat center center;
  background-size: contain;
  opacity: 0.4;
  transform: translateY(-55%);
}
@media screen and (min-width: 900px) {
  .p-staffcast__box + .p-staffcast__box::before, .p-staffcast__box + .p-staffcast__box::after {
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1.7rem;
  }
}
.p-staffcast__box + .p-staffcast__box::before {
  left: -0.1rem;
}
@media screen and (min-width: 900px) {
  .p-staffcast__box + .p-staffcast__box::before {
    left: -0.2rem;
  }
}
.p-staffcast__box + .p-staffcast__box::after {
  right: -0.1rem;
}
@media screen and (min-width: 900px) {
  .p-staffcast__box + .p-staffcast__box::after {
    right: -0.2rem;
  }
}
.p-staffcast__box-ttl {
  flex-shrink: 0;
  width: 20rem;
  margin-right: 0.2%;
  font-family: "Vidaloka", serif;
  font-weight: 400;
  transform: translateX(-30px);
  opacity: 0;
}
.p-staffcast__box.is-active .p-staffcast__box-ttl {
  transform: translateX(0);
  opacity: 1;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (max-width: 899px) {
  .p-staffcast__box-ttl {
    width: 100%;
    margin: 0 0 27px;
  }
}
.p-staffcast__box-ttl-text {
  position: relative;
  font-size: 2.9rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
@media screen and (max-width: 899px) {
  .p-staffcast__box-ttl-text {
    font-size: 1.9rem;
  }
}
.p-staffcast__box-detail {
  padding-top: 6px;
  line-height: 1.6;
  flex-grow: 1;
  transform: translateX(-30px);
  opacity: 0;
}
.p-staffcast__box.is-active .p-staffcast__box-detail {
  transform: translateX(0);
  opacity: 1;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.2s;
}
@media screen and (max-width: 899px) {
  .p-staffcast__box-detail {
    padding: 0 2px;
  }
}

.p-staffcast__stafflist {
  display: flex;
  flex-wrap: wrap;
}
.p-staffcast__stafflist-item {
  width: 50%;
  margin-bottom: 3.6rem;
  letter-spacing: 1px;
}
.p-staffcast__stafflist-item.full-size {
  width: 100%;
}
@media screen and (max-width: 899px) {
  .p-staffcast__stafflist-item {
    width: 49%;
    margin-bottom: 21px;
  }
  .p-staffcast__stafflist-item.sp-full-size {
    width: 100%;
  }
  .p-staffcast__stafflist-item:nth-child(2n+1) {
    margin-right: 2%;
  }
}
.p-staffcast__stafflist-cmicon {
  position: absolute;
  bottom: 0.8rem;
  right: 0.1rem;
  width: 2.3rem;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media screen and (max-width: 899px) {
  .p-staffcast__stafflist-cmicon {
    bottom: 0.6rem;
    width: 1.7rem;
  }
}
@media (hover: hover) {
  .p-staffcast__stafflist-cmicon:hover {
    opacity: 0.5;
    transform: scale(1.1) rotate(5deg);
  }
}
.p-staffcast__stafflist-role {
  font-size: 14px;
  font-size: 1.5rem;
  margin-bottom: 4px;
  color: #b39242;
}
@media screen and (max-width: 899px) {
  .p-staffcast__stafflist-role {
    font-size: 12px;
    margin-bottom: 5px;
  }
}
.p-staffcast__stafflist-name {
  font-size: 2.4rem;
  position: relative;
  display: flex;
  vertical-align: baseline;
  letter-spacing: -0.03rem;
}
@media screen and (max-width: 899px) {
  .p-staffcast__stafflist-name {
    transform: translateX(0);
    flex-wrap: wrap;
    font-size: 16px;
  }
}
.p-staffcast__stafflist-name .p-in_text {
  display: inline-block;
  position: relative;
}
.p-staffcast__stafflist-name .p-in_text.is-comment {
  padding-right: 3.5rem;
}
@media screen and (max-width: 899px) {
  .p-staffcast__stafflist-name .p-in_text.is-comment {
    padding-right: 2.5rem;
  }
}

.p-staffcast__castlist {
  display: flex;
  flex-wrap: wrap;
}
.p-staffcast__castlist-item {
  width: 25%;
  margin-bottom: 4rem;
  letter-spacing: 1px;
}
.p-staffcast__castlist-item.grow-size {
  width: 50%;
}
.p-staffcast__castlist-item.all-size {
  width: 100%;
}
.p-staffcast__castlist-item.semiall-size {
  width: 75%;
}
@media screen and (max-width: 899px) {
  .p-staffcast__castlist-item.semiall-size {
    width: 48.5%;
  }
}
@media screen and (max-width: 899px) {
  .p-staffcast__castlist-item {
    width: 48.5%;
    margin-bottom: 2.1rem;
  }
  .p-staffcast__castlist-item:nth-child(2n+1) {
    margin-right: 2.5%;
  }
  .p-staffcast__castlist-item.sp-full-size {
    width: 100%;
  }
}
.p-staffcast__castlist-role {
  font-size: 1.4rem;
  margin-bottom: 2px;
  color: #b39242;
}
@media screen and (max-width: 899px) {
  .p-staffcast__castlist-role {
    font-size: 1.1rem;
    margin-bottom: 0px;
  }
}
.p-staffcast__castlist-name {
  font-size: 2.3rem;
}
@media screen and (max-width: 899px) {
  .p-staffcast__castlist-name {
    font-size: 1.6rem;
  }
}
.p-staffcast__castlist-name .p-in_text {
  display: inline-block;
  position: relative;
}
.p-staffcast__castlist-name .p-in_text.is-comment {
  padding-right: 28px;
}
@media screen and (max-width: 899px) {
  .p-staffcast__castlist-name .p-in_text.is-comment {
    padding-right: 2.2rem;
  }
}

.m-cmmodal {
  width: 100%;
}
.m-cmmodal__inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.m-cmmodal__content {
  text-align: left;
  padding: 3rem 0;
  color: #fff;
  margin: 0 auto;
  width: 85%;
  max-width: 900px;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__content {
    padding: 6rem 0;
    width: 95%;
  }
}
.m-cmmodal__head {
  line-height: 1.6;
  padding: 0 1.5rem;
}
.is-open .m-cmmodal__head {
  animation: modal_fadein 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.m-cmmodal__head-role {
  font-size: 1.9rem;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__head-role {
    font-size: 1.3rem;
    margin-bottom: 2px;
  }
}
.m-cmmodal__head-name {
  font-size: 3.6rem;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__head-name {
    font-size: 1.9rem;
  }
}
.m-cmmodal__line {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 2.5rem 0 2.9rem;
  width: 99%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__line {
    width: 96%;
    margin: 2.1rem 0;
  }
}
.m-cmmodal__line::before, .m-cmmodal__line::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  position: absolute;
  top: 0;
  background: url(../img/common/deco_line.svg) no-repeat center center;
  background-size: contain;
  opacity: 0.4;
  transform: translateY(-45%);
}
@media screen and (min-width: 900px) {
  .m-cmmodal__line::before, .m-cmmodal__line::after {
    transform: translateY(-53%);
    width: 1.7rem;
    height: 1.7rem;
  }
}
.m-cmmodal__line::before {
  left: -0.1rem;
}
@media screen and (min-width: 900px) {
  .m-cmmodal__line::before {
    left: -0.2rem;
  }
}
.m-cmmodal__line::after {
  right: -0.1rem;
}
@media screen and (min-width: 900px) {
  .m-cmmodal__line::after {
    right: -0.2rem;
  }
}
.m-cmmodal__line .p-in_line {
  flex-grow: 1;
  height: 1px;
  position: relative;
  display: block;
  background-color: rgba(179, 146, 67, 0.4);
  margin: 0 0.5rem;
}
.is-open .m-cmmodal__line .p-in_line {
  animation: modal_fadein-line 0.6s cubic-bezier(0.22, 1, 0.36, 1) both 0.2s;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__line .p-in_line {
    margin: 0 3px;
  }
}
.m-cmmodal__detail {
  padding: 0 1.5rem;
  line-height: 1.9;
  font-size: 1.7rem;
  letter-spacing: 1px;
}
.is-open .m-cmmodal__detail {
  animation: modal_fadein 1.2s cubic-bezier(0.22, 1, 0.36, 1) both 0.45s;
}
@media screen and (max-width: 899px) {
  .m-cmmodal__detail {
    padding: 0 1.2rem;
    font-size: 1.2rem;
  }
}

.m-modal__content {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
}
.m-modal__ttl {
  position: fixed;
  top: 3.8rem;
  left: 3.3rem;
  color: #b39242;
  font-family: "Vidaloka", serif;
  font-weight: 400;
  font-size: 4.9rem;
}
@media screen and (min-width: 900px) {
  .m-modal__ttl {
    padding-top: 4.4rem;
    writing-mode: vertical-lr;
  }
}
@media screen and (max-width: 899px) {
  .m-modal__ttl {
    position: absolute;
    top: 22px;
    left: 22px;
    font-size: 2rem;
    padding-left: 2rem;
  }
}
.m-modal__ttl::before {
  content: "";
  width: 3rem;
  height: 3rem;
  position: absolute;
  background: url(../img/staffcast/deco_cap.svg) no-repeat center center;
  background-size: contain;
}
@media screen and (min-width: 900px) {
  .m-modal__ttl::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 899px) {
  .m-modal__ttl::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1.7rem;
  }
}