@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@700;900&display=swap');
html, body {
  height: 100%;
  width: 100%;
  color: #333333;
  font-family: 'M PLUS 1',"游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif!important;
  font-weight: 900;
  font-size: 62.5%;
  background-color: #000;
}
body {
  min-width: auto;
}

.outer {
  overflow: hidden;
}

.contents_width{
  width: 100%;
  margin:auto;
  background-color: #fff;
  padding: 4% 5% 0;
}

.width_90{
  width: 95%;
  margin-right:auto;
  margin-left:auto;
}

.underline{
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  html, body {
    font-size: 46.5%;
  }
}

@media screen and (max-width: 740px) {
  .contents_width {
    padding: 10% 3% 0%;
  }

  .width_90 {
    width: 100%;
  }
}


/*-横揺れ防止-*/
body{
  overflow-x: hidden;
  margin: auto;
  position: relative;
}


p{
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom:10px;
}

.wrap {
  overflow: hidden;
}

.padding_10{
  padding:0 50px 20px;
}


@media screen and (max-width: 740px) {
  .padding_10{
    padding:0 0px 20px;
  }

}

/* --------------------------------------------------------------- */

/*-------------------------
  見出しのフォントサイズ
---------------------------*/
h1{
  font-size: 40px;
  color: #333333;
  line-height: 40px;
}

h2{
  font-size: 3.5rem;
  color: #333333;
  line-height: 40px;
}

h3{
  font-size: 25px;
  color: #333333;
  line-height: 40px;
}

h4{
  font-size: 20px;
  color: #333333;
  line-height: 40px;
}


/*-------------------------
  各セクション毎の余白
---------------------------*/
.sec{
  padding-bottom:60px;
  padding-top:50px;
  margin:auto;
  width: 1080px;
  width:90%;
}

.sec.sec_top{
  margin-top:80px;
}

.m_top{
  padding-top:30px;
}

.m_b_top{
  padding-top:50px;
}

.m_bottom{
  padding-bottom:30px;
}

.small{
  font-size: 1.5rem;
}

.center{
  text-align: center;
}

.ttl{
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
}

.money{
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom:10px;
}

@media screen and (max-width: 1200px) {
  .sec{
    padding-bottom:50px;
  }
}

@media screen and (max-width: 1024px) {
  .sec{
    padding-bottom:20px;
    padding-top:20px;
  }

  .m_top{
    padding-top:20px;
  }
}

/*-----------------
  col-配置
-----------------*/
/*横並び配置*/
.f_wrap {
  display: flex;
  flex-wrap: wrap;
}

/*横並び配置>> 均等割つけ*/
.f_wrap_bet {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/*-------------------------
  改行
---------------------------*/
.pc_line{
  display:block;
}

.sp_line{
  display:none;
}

@media screen and (max-width: 540px) {
  .pc_line{
    display:none;
  }

  .sp_line{
    display:block;
  }
}

/*-------------------------
  ホバー
---------------------------*/
a{
  color: #333;
  text-decoration: none;
}

a :hover{
  color: rgb(19, 19, 19);
  text-decoration: none;
}

.com_hover:hover{
  opacity: 0.6;
  cursor: pointer;
  text-decoration: none;
}

/*-------------------------
  表示
---------------------------*/
/*携帯のみ表示*/
.sp_display{
  display: none;
}

/*PCのみ表示*/
.pc_display{
  display: block;
}

@media screen and (max-width: 540px) {
  /*携帯のみ表示*/
  .sp_display{
    display: block;
  }

  /*PCのみ表示*/
  .pc_display{
    display: none;
  }
}

/* --------------------------------------------------------------- */

.footer {
  background: #eb823c;
  /* width: 750px; */
  max-width: 100%;
  margin: auto;
  /* position: fixed;
  bottom: 0;
  width: 100%; */
}
.footer .footer__inner {
  padding: 3.5% 5.3% 2%;
}
.footer .footer__logo {
  width: 47%;
  max-width: 315px;
  margin: 0 auto;
}
.footer .footer__copy {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-top: 1.8%;
}
@media screen and (max-width: 768px) {
  .footer .footer__copy {
    font-size: 12px;
  }
}

.button:hover {
  opacity: 0.8;
}

/* 事務所 */
/* area {
  cursor: pointer;
} */
a:hover {
  cursor: pointer;
}
.main {
  position: relative;
  background: #fff;
width: 100%;
}
.p-top {
  background: url(../img/5th_img/top/bg.png) no-repeat center top;
  background-attachment: fixed;
  background-size: cover;
}
.office-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}
.p-office::before {
  background: url(../img/5th_img/office/p-bg.png) center center / cover no-repeat;
}
.u-office::before {
  background: url(../img/5th_img/office/u-bg.png) center center / cover no-repeat;
}
.s-office::before {
  background: url(../img/5th_img/office/s-bg.png) center center / cover no-repeat;
}
.l-office::before {
  background: url(../img/5th_img/office/l-bg.png) center center / cover no-repeat;
}
.h-office::before {
  background: url(../img/5th_img/office/h-bg.png) center center / cover no-repeat;
}
.n-office::before {
  background: url(../img/5th_img/office/n-bg.png) center center / cover no-repeat;
}
.main__inner {
  padding: 5% 0;
  position: relative;
  z-index: 10;
}
.main__content {
  max-width: 1400px;
  margin: 0 auto;
}
.main__head {
  width: 35%;
  margin: 0 auto;
}
.main__logo {
  width: 59%;
  margin: 2% auto 0;
}
.main__lead {
  width: 56%;
  margin: 2% auto 0;
}
.back-button {
  margin-top: 5%;
}
.back-button__img a {
  width: 45%;
  margin: 0 auto;
}
.main__links {
  width: 86%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .main__head {
    width: 45%;
  }
  .main__logo {
    width: 80%;
    margin: 6% auto 0;
  }
  .main__lead {
    width: 76%;
    margin: 6% auto 0;
  }
  .main__links {
    width: 95%;
  }
  .back-button {
    margin-top: 9%;
  }
}

.main__inner--office {
  padding-top: 0;
}
.office-lead {
  width: 80%;
  margin: 0 auto;
  padding-top: 15%;
}
.office-info {
  width: 55%;
  margin: 10% auto 0;
}
.office-hero-title {
  margin-top: 5%;
}
.office-heroes {
  width: 80%;
  margin: 0 auto;
}
.office-interview-title {
  margin-top: 5%;
}
.office-chat {
  width: 55%;
  margin: 5% auto 0;
}
.office-img {
  width: 80%;
  margin: 10% auto 0;
}
@media screen and (max-width: 768px) {
  .office-lead {
    padding-top: 20%;
  }
  .office-info {
    width: 70%;
  }
  .office-heroes {
    width: 90%;
  }
  .office-chat {
    width: 80%;
  }
  .office-img {
    width: 90%;
  }
}

/* -------------------------
各キャラクターページ
------------------------- */
.chara-content {
  display: flex;
}
.chara-content__left {
  z-index: 0;
  width: 50%;
  margin-right: -10%;
  position: relative;
  z-index: 10;
}
.chara-content__right {
  width: 65%;
  margin-top: 10%;
  padding-bottom: 10%;
}
@media screen and (max-width: 768px) {
  .chara-content {
    flex-direction: column;
    overflow: hidden;
  }
  .chara-content__left {
    width: 121%;
    max-height: 160vw;
    overflow: hidden;
  }
  .chara-content__right {
    width: 100%;
  }
}

.chara__box {
  position: sticky;
  top: 0;
}
.chara__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 48.9%;
}
.chara__wrap {}
.chara__com {
  position: absolute;
  top: 3vw;
  width: 25.5vw;
  left: 12vw;
}
.chara__btn {
  position: absolute;
  top: 8vw;
  right: 11vw;
  width: 5vw;
  z-index: 10;
  cursor: pointer;
}
.chara__img {
  position: absolute;
  top: 8vw;
  left: 9vw;
  width: 30vw;
}
.chara__img.ryekie {
  top: 8vw;
  left: 8vw;
  width: 30vw;
}
.chara__img.huckle {
  top: 8vw;
  left: 9vw;
  width: 61%;
}
.chara__img.crowne {
  top: 7vw;
  left: 14vw;
  width: 23vw;
}
.chara__img.mokdai {
  top: 10vw;
  left: 9vw;
  width: 30vw;
}
.chara__img.gammei {
  top: 8vw;
  left: 10vw;
  width: 26vw;
}
.chara__img.cerastium {
  top: 8vw;
  left: 10vw;
  width: 27vw;
}
.chara__img.okitaka {
  top: 8vw;
  left: 8vw;
  width: 29vw;
}
.chara__img.yasuhiko {
  top: 7vw;
  left: 6vw;
  width: 35vw;
}
.chara__img.astosis {
  top: 8vw;
  left: 8vw;
  width: 31vw;
}
.chara__img.shidemasu {
  top: 7vw;
  left: 7vw;
  width: 31vw;
}
.chara__img.roudin {
  top: 8vw;
  left: 8vw;
  width: 29vw;
}
.chara__img.isaribi {
  top: 9vw;
  left: 10vw;
  width: 27vw;
}
.chara__img.pubraseer {
  top: 4vw;
  left: 9vw;
  width: 32vw;
}
.chara__img.kyoichi {
  top: 8vw;
  left: 11vw;
  width: 27vw;
}
.chara__img.obsidius {
  top: 8vw;
  left: 7vw;
  width: 32vw;
}
.chara__img.santetsu {
  top: 8vw;
  left: 8vw;
  width: 33vw;
}
.chara__img.flamie {
  top: 7vw;
  left: 12vw;
  width: 25vw;
}
.chara__img.hitomi {
  top: 1vw;
  left: 5vw;
  width: 38vw;
}
.chara__img.danzo {
  top: 7vw;
  left: 11vw;
  width: 26vw;
}
.chara__img.rexer {
  top: 8vw;
  left: 9vw;
  width: 29vw;
}
.chara__info {
  position: absolute;
  top: 42.2vw;
  left: 11vw;
  width: 25vw;
  z-index: 50;
}
.chara__name {
  position: absolute;
  width: 36.5vw;
  top: 45vw;
  left: 0;
}
@media screen and (max-width: 768px) {
  .chara__box {
    position: relative;
  }
  .chara__bg {
    position: relative;
    width: 108%;
  }
  .chara__com {
    position: absolute;
    top: 2%;
    width: 57%;
    left: 23%;
  }
  .chara__btn {
    position: absolute;
    top: 23vw;
    right: 25vw;
    width: 12vw;
    z-index: 10;
    cursor: pointer;
  }
  .chara__img {
    position: absolute;
    top: 23vw;
    left: 20vw;
    width: 80vw;
  }
  .chara__info {
    position: absolute;
    top: 115vw;
    left: 30vw;
    width: 61vw;
    z-index: 50;
  }
  .chara__name {
    position: absolute;
    width: 97vw;
    top: 122vw;
    left: 0;
  }
  .chara__img.ryekie {
    top: 22vw;
    left: 21vw;
    width: 78vw;
  }
  .chara__img.huckle {
    top: 22vw;
    left: 22vw;
    width: 76vw;
  }
  .chara__img.crowne {
    top: 22vw;
    left: 32vw;
    width: 59vw;
  }
  .chara__img.mokdai {
    top: 27vw;
    left: 18vw;
    width: 80vw;
  }
  .chara__img.gammei {
    top: 22vw;
    left: 25vw;
    width: 70vw;
  }
  .chara__img.cerastium {
    top: 22vw;
    left: 27vw;
    width: 69vw;
  }
  .chara__img.okitaka {
    top: 22vw;
    left: 19vw;
    width: 78vw;
  }
  .chara__img.yasuhiko {
    top: 22vw;
    left: 14vw;
    width: 92vw;
  }
  .chara__img.astosis {
    top: 24vw;
    left: 20vw;
    width: 79vw;
  }
  .chara__img.shidemasu {
    top: 21vw;
    left: 20vw;
    width: 78vw;
  }
  .chara__img.roudin {
    top: 24vw;
    left: 20vw;
    width: 75vw;
  }
  .chara__img.isaribi {
    top: 23vw;
    left: 23vw;
    width: 74vw;
  }
  .chara__img.pubraseer {
    top: 17vw;
    left: 21vw;
    width: 78vw;
  }
  .chara__img.kyoichi {
    top: 22vw;
    left: 29vw;
    width: 69vw;
  }
  .chara__img.obsidius {
    top: 22vw;
    left: 17vw;
    width: 82vw;
  }
  .chara__img.santetsu {
    top: 25vw;
    left: 13%;
    width: 83vw;
  }
  .chara__img.flamie {
    top: 21vw;
    left: 30vw;
    width: 67vw;
  }
  .chara__img.hitomi {
    top: 8vw;
    left: 11vw;
    width: 99vw;
  }
  .chara__img.danzo {
    top: 22vw;
    left: 27vw;
    width: 67vw;
  }
  .chara__img.rexer {
    top: 23vw;
    left: 21vw;
    width: 78vw;
  }
}
@media screen and (max-height:900px) {
  .chara__wrap {
    position: fixed;
    bottom: 80px;
    height: fit-content;
    z-index: 10;
  }
  .chara__info {
    position: unset;
    margin: 0 7px 0 auto;
  }
  .chara__name {
    position: unset;
    margin-top: 5px;
  }
}

.chara__content-bg {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
  width: 62.19%;
  height: 100%;
  background: url('../img/5th_img/chara/info-bg.png') no-repeat center center;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}
.chara__content-img {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .chara__content-bg {
    width: 100%;
    background-position-x: 91%;
  }
}

.chara-footer {
  background: url('../img/5th_img/chara/footer-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 20;
  padding-bottom: 60px;
}
.chara-footer .office-heroes {
  width: 70%;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .chara-footer .office-heroes {
    width: 95%;
  }
}

.fade-image .position-reset {
  position: relative;
}
.fade-image .switch-img {
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(0);
  transition: opacity 2s ease;
  pointer-events: none;
}
.fade-image .switch-img.current {
  opacity: 1;
  pointer-events: auto;
}
/* フェードイン（次に表示する画像） */
.switch-img.fade-in {
  animation: fade-in 0.6s ease forwards;
  z-index: 3;
}

/* フェードアウト（今の画像） */
.switch-img.fade-out {
  animation: fade-out 0.6s ease forwards;
  z-index: 2;
}
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}