/* story */
html {
  overflow: auto;
}

body {
  overflow: hidden;
  min-width: 1280px;
}

@media screen and (min-width: 960px) and (max-width: 1279px) {
  body {
    min-width: 960px;
  }
}

.story .toptext .flex_container {
  justify-content: center;
  font-size: 150%;
  line-height: 175%;
}

.story .toptext .flex_container .text {
  margin-left: 65px;
}

.story .toptext .flex_container p {
  margin-bottom: 1.5em;
  font-weight: bold;
}

.story .toptext span {
  color: #fb9d2c;
  font-size: 125%;
  background: linear-gradient(transparent 90%, #ffe539 0%);
  display: inline;
  padding: 0 2px 0px;
  font-weight: bold;
}

.story .character .character_list {
  position: relative;
  display: flex;
}

.story .character .character_list .slick-slide {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.5;
}

.story .character .slick-slide.slick-center {
  opacity: 1;
  /*透過なし*/
}

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  width: 106px;
  height: 106px;
  background-repeat: no-repeat;
  background-size: 100%;
  top: calc(50% - 53px);
  z-index: 1;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  background-image: url('../img/top/img_arrow_before.png');
  left: 13%;
}

.slick-next {
  /*次へ矢印の位置と形状*/
  background-image: url('../img/top/img_arrow_after.png');
  right: 13%;
}

.story .slick-track {
  display: flex;
}

.slick-slide {
  height: auto !important;
}

.story .character {
  margin-bottom: 110px;
}

.story .character .character_list li {
  background-color: #f99b2c;
  margin-left: 95px;
  border: solid 4px #000;
  color: #fff;
  font-weight: bold;
  width: 875px;
}

.story .character .character_list li .flex_container {
  justify-content: center;
  width: 100%;
  margin-top: 55px;
}

.story .character .character_list li:nth-child(2n) {
  background-color: #ffc130;
}

.story .character .character_list li .chara {
  width: 280px;
}

.story .character .character_list li .chara img {
  align-items: flex-end;
  margin-left: 20px;
}

.story .character .character_list li .right {
  width: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  white-space: normal;
}

.story .character .character_list li .right p {
  margin-bottom: 45px;
  font-weight: bold;
  letter-spacing: 3px;
}

.story .character .character_list li h4 {
  text-align: left;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 0 #353535, -2px -2px 0 #353535, -2px 2px 0 #353535, 2px -2px 0 #353535,
    0px 2px 0 #353535, 0 -2px 0 #353535, -2px 0 0 #353535, 2px 0 0 #353535;
  border-bottom: none;
  margin-bottom: 1.2em;
}

.story .character .character_list li p {
  line-height: 200%;
}

.story .character .character_list li .face {
  display: flex;
  justify-content: space-between;
}

.story .storyline .hougan {
  padding-top: 165px;
  padding-bottom: 125px;
  margin-bottom: 125px;
}

.story .storyline .l_orange {
  padding-top: 115px;
  padding-bottom: 100px;
  position: relative;
  background-image: url(../img/story/storyline_back.png);
  background-position: top 425px center;
  background-repeat: no-repeat;
}

.story .storyline .l_orange::before {
  content: '';
  background-image: url(../img/story/top_back.png);
  background-repeat: no-repeat;
  width: 1043px;
  height: 765px;
  position: absolute;
  top: -102px;
  right: -565px;
  z-index: 0;
}

.story .storyline .l_orange::after {
  content: '';
  background-image: url(../img/story/bot_back.png);
  background-repeat: no-repeat;
  width: 1235px;
  height: 874px;
  position: absolute;
  left: -815px;
  bottom: -250px;
  z-index: 0;
}

.story .storyline .l_orange h3 {
  margin-bottom: 115px;
}

.story .storyline_ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.story .storyline_ul li {
  width: 289px;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 140px;
  margin-left: 50px;
  margin-right: 50px;
}

.story .storyline_ul li.s_line p {
  margin-bottom: 1em;
}

.story .storyline_ul li.s_line p.mark {
  background: linear-gradient(transparent 60%, #ffe539 0%);
  display: inline;
  font-weight: bold;
  line-height: 175%;
  letter-spacing: 3px;
}

.story .storyline_ul li:nth-child(1) {
  margin-bottom: 52px;
}

.story .storyline_ul li:nth-child(2),
.story .storyline_ul li:nth-child(3) {
  margin-bottom: 135px;
}

.story .storyline_ul li:nth-child(4),
.story .storyline_ul li:nth-child(5) {
  margin-bottom: 170px;
}

.story .storyline_ul li:nth-child(6),
.story .storyline_ul li:nth-child(7) {
  margin-bottom: 190px;
}

.story .storyline_ul li:nth-child(8),
.story .storyline_ul li:nth-child(9) {
  margin-bottom: 191px;
}

.story .storyline_ul li:nth-child(10) {
  margin-bottom: 52px;
}

.story .storyline_ul li.s_line {
  width: 100%;
  text-align: center;
  font-size: 150%;
}

.story .storyline_ul li.wl p:nth-child(2) {
  display: inline-block;
  color: #fff;
  font-size: 150%;
  font-weight: bold;
  background-color: #000;
  padding: 0.75em 1em;
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: rotate(-12deg);
}

.story .storyline_ul li.end {
  margin-bottom: 0;
}

.story .storystudy {
  margin-bottom: 100px;
}

.story .storystudy ul {
  display: flex;
  justify-content: space-between;
}

.story .storystudy li {
  position: relative;
}

.story .storystudy li::after {
  content: '';
  width: 29px;
  height: 37px;
  position: absolute;
  background-image: url(../img/function/img_story_arrow.png);
  top: calc(50% - 60px);
  right: -70px;
}

.story .storystudy li:last-child::after {
  display: none;
}

.story .storystudy li p {
  font-size: 112.5%;
  margin-bottom: 1.5em;
  text-align: center;
  font-weight: bold;
}

.story .storystudy li p span {
  font-size: 200%;
  font-weight: bold;
  color: #fb9d2c;
}

.story .bot .hougan {
  padding: 100px 0 0 0;
  text-align: center;
  color: #fff;
  font-size: 225%;
  font-weight: bold;
  line-height: 150%;
  letter-spacing: 3px;
}

.story .bot .hougan p.startema {
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 2em;
}

.pankuzu {
  color: #000000;
  background-color: #f5f5f5;
  word-break: keep-all;
  white-space: nowrap;
}

.pankuzu .pankuzu_wrap {
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pankuzu span {
  display: inline-block;
  padding: 20px 0;
  font-size: 0.75rem;
  /* background: url(/images/bg_pankuzu01.png) no-repeat center right; */
  text-decoration: none;
}

.pankuzu span:last-child {
  background: none;
  padding-right: 10px;
}

/*****************************************************/
/**********************Tab*****************************/
/*****************************************************/
@media screen and (min-width: 769px) and (max-width: 959px) {
  body {
    min-width: 769px;
  }
  .story .storystudy li::after {
    right: -20px;
  }
  .story .storystudy ul li img {
    max-width: 82%;
  }
  .w1000 {
    width: auto;
  }
  .story .storyline .hougan {
    padding-top: 5em;
    padding-bottom: 5em;
    margin-bottom: 20em;
  }

  .story .storyline .l_orange {
    padding-top: 5em;
    padding-bottom: 5em;
    width: 90vw;
    background-image: url(../img/story/storyline_back_sp.png);
    background-position-y: 127vw;
    background-size: contain;
  }

  .story .storyline .l_orange::before {
    background-image: url(../img/story/top_back.png);
    background-size: cover;
    position: absolute;
    width: 121.866vw;
    height: 83.733vw;
    top: 39vw;
    right: -43vw;
    z-index: 0;
  }

  .story .storyline .l_orange::after {
    background-image: url(../img/story/bot_back.png);
    background-size: cover;
    position: absolute;
    width: 124.133vw;
    height: 88vw;
    left: -51vw;
    bottom: -53vw;
    z-index: 0;
  }

  .story .storyline .l_orange h3 {
    margin-bottom: 74.6vw;
  }

  .story .storyline_ul li,
  .story .storyline_ul li.s_line img {
    width: 33.866vw;
  }

  .story .storyline_ul li.s_line {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .story .storyline_ul li {
    margin: 0 2vw;
  }

  .story .storyline_ul li.s_line p.mark {
    font-size: 4.27vw;
  }

  .story .storyline_ul li:nth-child(1) {
    margin-bottom: 9vw;
  }

  .story .storyline_ul li:nth-child(2),
  .story .storyline_ul li:nth-child(3) {
    margin-bottom: 14vw;
  }

  .story .storyline_ul li:nth-child(4),
  .story .storyline_ul li:nth-child(5) {
    margin-bottom: 19vw;
  }

  .story .storyline_ul li:nth-child(6),
  .story .storyline_ul li:nth-child(7) {
    margin-bottom: 11vw;
  }

  .story .storyline_ul li:nth-child(8),
  .story .storyline_ul li:nth-child(9) {
    margin-bottom: 11vw;
  }

  .story .storyline_ul li:nth-child(10) {
    margin-bottom: 24vw;
  }

  .story .storyline_ul li.wl p:nth-child(2) {
    font-size: 75%;
  }
  .story .storystudy li p {
    font-size: 104.5%;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: bold;
  }
  .story .storystudy li p span {
    font-size: 150%;
  }
}
/*****************************************************/
/**********************SP*****************************/
/*****************************************************/
@media screen and (max-width: 768px) {
  body {
    min-width: 1px;
  }

  .story .block {
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 5em;
  }

  .story .toptext .flex_container p {
    text-align: center;
  }

  .story .toptext .flex_container .text {
    margin-left: 0;
  }

  .story .toptext .flex_container .text p {
    text-align: left;
  }

  .story .character .character_list li {
    width: 80vw;
  }

  .slick-prev,
  .slick-next {
    position: absolute;
    width: 19%;
    height: 19%;
    z-index: 1;
    top: calc(50% - 13%);
  }

  .slick-prev {
    left: 0%;
  }

  .slick-next {
    right: 0%;
  }

  .w1000 {
    width: auto;
  }

  .story .character {
    margin-bottom: 5em;
  }

  .story .character .character_list li .right {
    width: 100%;
  }

  .story .character .character_list li.rsrs {
    border-radius: 20px 0 20px 0;
    padding: 20px 0;
  }

  .story .character .character_list li .flex_container {
    margin-top: 0;
  }

  .story .character .character_list li .flex_container h4 {
    font-size: 200%;
    text-align: center;
    margin-bottom: 1em;
    letter-spacing: 0;
  }

  .story .character .character_list li .flex_container p {
    font-size: 130%;
    margin-left: 1.5em;
    margin-right: 1.5em;
    line-height: 150%;
  }

  .story .character .character_list li .right p {
    margin-bottom: 2em;
    white-space: normal;
  }

  .story .character .character_list li .chara {
    width: auto;
  }

  .story .character .character_list li .flex_container p.chara.sp {
    text-align: center;
  }

  .story .character .character_list li .flex_container p.chara.sp img {
    width: 30vw;
    margin-left: 0;
  }

  .story .character .character_list li .flex_container .face {
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-bottom: 0;
    justify-content: space-around;
  }

  .story .character .character_list li .flex_container .face p {
    margin-left: 0;
    margin-right: 0;
  }

  .story .character .character_list li .flex_container .face img {
    width: 28vw;
    height: 28vw;
  }

  .story .storyline .hougan {
    padding-top: 5em;
    padding-bottom: 5em;
    margin-bottom: 20em;
  }

  .story .storyline .l_orange {
    padding-top: 5em;
    padding-bottom: 5em;
    width: 90vw;
    background-image: url(../img/story/storyline_back_sp.png);
    background-position-y: 127vw;
    background-size: contain;
  }

  .story .storyline .l_orange::before {
    background-image: url(../img/story/top_back_sp.png);
    background-size: cover;
    position: absolute;
    width: 141.866vw;
    height: 103.733vw;
    top: 34vw;
    right: -58vw;
    z-index: 0;
  }

  .story .storyline .l_orange::after {
    background-image: url(../img/story/bot_back_sp.png);
    background-size: cover;
    position: absolute;
    width: 170.133vw;
    height: 120vw;
    left: -80vw;
    bottom: -85vw;
    z-index: 0;
  }

  .story .storyline .l_orange h3 {
    margin-bottom: 74.6vw;
  }

  .story .storyline_ul li,
  .story .storyline_ul li.s_line img {
    width: 33.866vw;
  }

  .story .storyline_ul li.s_line {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .story .storyline_ul li {
    margin: 0 2vw;
  }

  .story .storyline_ul li.s_line p.mark {
    font-size: 4.27vw;
  }

  .story .storyline_ul li:nth-child(1) {
    margin-bottom: 9vw;
  }

  .story .storyline_ul li:nth-child(2),
  .story .storyline_ul li:nth-child(3) {
    margin-bottom: 14vw;
  }

  .story .storyline_ul li:nth-child(4),
  .story .storyline_ul li:nth-child(5) {
    margin-bottom: 19vw;
  }

  .story .storyline_ul li:nth-child(6),
  .story .storyline_ul li:nth-child(7) {
    margin-bottom: 11vw;
  }

  .story .storyline_ul li:nth-child(8),
  .story .storyline_ul li:nth-child(9) {
    margin-bottom: 11vw;
  }

  .story .storyline_ul li:nth-child(10) {
    margin-bottom: 24vw;
  }

  .story .storyline_ul li.wl p:nth-child(2) {
    font-size: 75%;
  }

  .story .storystudy ul {
    flex-direction: column;
  }

  .story .storystudy li {
    margin-bottom: 5em;
  }

  .story .storystudy li:last-child {
    margin-bottom: 0;
  }

  .story .storystudy li::after {
    transform: rotate(90deg);
    top: 100%;
    bottom: 0;
    left: calc(50% - 15px);
  }

  .story .bot .hougan {
    padding: 3em 0 3em 0;
    font-size: 131%;
  }

  .story .bot .hougan p.startema {
    font-size: 9vw;
    line-height: 150%;
  }
}
/*** structure ***/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
@media screen and (max-width: 959px) {
  .pc {
    display: none !important;
    /* display: block; */
  }

  .sp {
    display: block !important;
  }
}
