@charset "utf-8";

body {
  margin: 0;
}
.modal__character {
  background: url(../img/index_modal_bg01_pc.jpg) no-repeat;
  background-size: contain;
  background-position: center;
}
.modal__slider {
  position: relative;
}
.modal__slider .slick-prev,
.modal__slider .slick-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 0;
  outline: none;
  cursor: pointer;
}
/*.modal__slider .slick-prev {
  left: 50%;
  transform: translate(-315px,-50%);
}*/
.modal__slider .slick-prev {
  left: 50%;
  transform: translate(-600px,-50%);
}
.modal__slider .slick-next {
  right: 50%;
  transform: translate(600px,-50%);
}
.modal__slider .slick-prev::before {
  content: url("../img/cmn_icoArrow05_pc.png");
}
.modal__slider .slick-next::before {
  content: url("../img/cmn_icoArrow06_pc.png");
}
.modal__slider li {
  position: relative;
}
.modal__character__img {
  width: 100%;
}
.modal__character__img img {
  width: 100%;
}
.modal__character__in {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 1200px;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans-serif;
}
.modal__txtarea {
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  width: 720px;
  max-height: 440px;
  padding: 40px;
  box-sizing: border-box;
  background: url(../img/index_modal_bg02_pc.png) no-repeat;
  background-size: 100% 100%;
  background-position: center;
}
.is-emperor .modal__txtarea {
  top: 100px;
  left: 50%;
  right: auto;
  transform: translate(-50%,-50%);
}
.modal__txtarea__in {
  position: relative;
  height: 100%;
}
.modal__txtarea__name {
  position: relative;
  margin-bottom: 35px;
  font-family: "Noto Serif JP", sans-serif;
  font-size: 28px;
}
.modal__txtarea__name::after {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: url("../img/index_modal_border_pc.jpg") no-repeat;
  content: "";
}
.modal__txtarea__name span {
  display: block;
  font-size: 24px;
}
.modal__txtarea__txt {
  color: #5a5a5a;
}
.modal__txtarea__char img {
  display: inline-block;
}
.modal__txtarea__char img:nth-child(2) {
  margin-left: 10px;
}
#cboxContent {
  margin-top: 0;
}
#cboxClose {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(500px,-300px);
  width: 60px;
  height: 60px;
  background: url("../img/cmn_icoCross01_pc.png");
  transition: .2s;
  outline: none;
}
#cboxClose:hover {
  background-position: center;
  opacity: 0.7;
}
@media (min-width: 1200px) {
  #cboxLoadedContent {
    overflow: hidden !important;
  }
}
@media (max-width: 1199px) {
  #cboxClose {
    top: 20px;
    right: 20px;
    transform: none;
  }
  .modal__character {
    height: auto;
    background: url(../img/index_modal_bg01_sp.png) no-repeat;
    background-size: 100%;
  }
  .modal__slider .slick-slide {
    padding-bottom: 20px;
  }
  .modal__character .slick-prev {
    left: 0;
    transform: none;
  }
  .modal__character .slick-next {
    right: 0;
    transform: none;
  }
  .modal__character__in {
    width: 100%;
    height: calc(100vh - 20px);
    max-height: 716px;
    overflow-y: scroll;
  }
  .modal__character__img {
    height: 100vh;
    max-height: 716px;
  }
  .modal__character__img img {
    width: 100%;
  }
  .modal__txtarea,
  .is-emperor .modal__txtarea {
    position: relative;
    top: 350px;
    left: 50%;
    z-index: 999;
    transform: translate(-50%,-50%);
    width: calc(100% - 40px);
    max-width: 374px;
    height: auto;
    background: url(../img/index_modal_bg02_sp.png) no-repeat;
    background-size: 100% 100%;
  }
  .modal__txtarea__name {
    font-size: 18px;
  }
  .modal__txtarea__name span {
    font-size: 12px;
  }
  .modal__txtarea__txt {
    font-size: 14px;
  }
  .modal__txtarea__char {
    position: static;
  }
  .modal__txtarea__char img {
    width: 130px;
  }
  .is-emperor .modal__txtarea__char img {
    width: calc(50% - 5px);
  }
}