#keyvisual {
    position: relative;
    width: 100%;
    background: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    /*min-width: 1000px;*/
    min-height: 540px;
    margin: 0 auto;
    border-radius: 15px;
}

#keyvisual .swiper-wrapper{
  height: 40vw;
  max-height: 460px;
  min-height: 460px;
}

#keyvisual .slideContent {
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 8%;
  right: 8%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#keyvisual .slideContentBody{
  position: relative;
  width: 100%;
  height: 100%;
  padding: 5%;
  box-sizing: border-box;
}

#keyvisual .slideContentBody .btBox {
  margin: 0 auto;
  display: box;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
  height: 6vw;
}

.carousel01 .btBox{
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 1%;
}

#slider img.logo-main {
  position: absolute;
  top: 15vw;
  left: 50%;
  /*margin-top: 177px;*/
  margin-left: -313px;
}

#slider img.chara-main {
  position: absolute;
  left: 50%;
  top: 20vw;
  margin-left: -64px;
}

#slider img.title-main {
  position: absolute;
  top: 50px;
  left: 50%;
  margin-left: -411px;
}

/*#keyvisual img.bg {
    width: 100%;
    position: absolute;
    top: -530px;
}*/

#slider .keyvisual-inner {
    position: inherit;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/bg-wave-top.png) left top repeat-x;
}

/*#slider .swiper-slide a{
  display: inline-block;
}*/


  #slider .swiper_flexbox{
  display: -webkit-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*-webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;*/
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: relative;
  top: -7.5vw;
  width: 85vw;
  margin: 0 auto;
}

#slider .swiper_box{
  position: relative;
  top: -12vw;
  left: 11vw;
}

#slider a.button{
  font-size: 1.8vw;
  width: 40%;
  height: 3vw;
  line-height: 3vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #0068B6;
  background-position: center;
  box-shadow: 0px 10px 0px 0px #9e978b;
  border-radius: 47px;
  display: block;
  color: #fff;
  text-align: center;
}

#slider a.button:hover {
  margin-top: 10px;
  box-shadow: 0px 0px 0px 0px #9e978b;
}

  #slider .carousel02 .btBox{
    margin-left: 15%;
    width: 80%;
    bottom: 1%;
    position: absolute;
  }
  #slider .carousel02 a.button{
    width: 80%;
  }

#slider .carousel03 .btBox{
  margin-left: 47%;
  width: 50%;
  bottom: 0%;
  position: absolute;
}
#slider .carousel03 a.button{
  width: 73%;
}
#slider .carousel04 .btBox{
  width: 50%;
  bottom: 1%;
  margin-left: 7%;
  position: absolute;
}
#slider .carousel04 a.button{
  width: 74%;
}
#slider .carousel05 .btBox{
  height: 30%;
  width: 30%;
  bottom: 4%;
  margin-left: 4%;
  position: absolute;
}
#slider .carousel05 a.button{
  width: 100%;
  margin-bottom: 15px;
  height: 3vw;
  line-height: 3vw;
  margin-bottom: 10px;
}

#slider .carousel05 a.button:hover{
  margin-bottom: 0;
}

#keyvisual_sp {
  height: 0px;
  overflow: hidden;
}



/*1223追加*/

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: url(../images/arrow_left.png?date=2019) !important;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url(../images/arrow_right.png?date=2019) !important;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
    width: 60px;
    height: 60px;
    background-size: 60px 60px;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
    width: 60px;
    height: 60px;
    background-size: 60px 60px;
}
/*1223追加*/


/*1224追加*/
.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 1 !important;
}
/*1224追加*/


/*20200121追加ページネーションサムネイル*/
#gallery-thumbs {
  width: 66%;
  height: 20%;
  box-sizing: border-box;
  padding: 0;
  display: block;
  margin: 30px auto;
}

#gallery-thumbs .swiper-slide {
    width: 30% !important;
    height: 100%;
    background-size: 100%;
    margin: 0 10px;
    padding: 0;
    margin-right: 0 !important;
    cursor: pointer;
    opacity: 0.5;
    border-radius: 10px;
    background-repeat: no-repeat; 
    background-color: #b39f11;
    background-size: 130%;
}

/*#gallery-thumbs .swiper-slide {
  width: 20.2% !important;
  height: 100%;
  background-size: 95%;
  margin: 0;
  padding: 0;
  margin-right: 0 !important;
  cursor: pointer;
  opacity: 0.5;
}*/

#gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

#gallery-thumbs .swiper-wrapper{
    height: 15% !important;
    min-height: 15% !important;
    position: absolute;
    left: 3.5%;
    bottom: 1.6%;
    justify-content: space-between;
    width: 40%;
    /* background: #333; */
    padding: 5px;
}

/*#gallery-thumbs .swiper-wrapper{
  height: 10% !important;
  min-height: 10% !important;
  position: absolute;
  bottom: 1.6%;
  justify-content: space-between;
  width: 60%;
  background: #333;
  padding: 5px;
}*/
/*20200121追加ページネーションサムネイル*/


/*2021/01/26*/
/* ---------------------------- */
/* --- カードセクション --- */
/* ---------------------------- */
.Card {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.Card-Item {
  width: calc((100% - 200px) / 7);
  background: #eee;
  cursor: pointer;
}
.Card-Item:not(:nth-child(7n-6)) {
  margin-left: 28px;
}
/* ---------------------------- */
/* --- ModalSection --- */
/* ---------------------------- */
.ModalLayer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: opacity 0.65s;
  pointer-events: none;
  opacity: 0;
  z-index: 10000;
}
.ModalLayer.isShow {
  transition: opacity 0.65s;
  pointer-events: auto;
  opacity: 1;
}
.ModalLayer-Mask {
  position: absolute;
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100vh;
}
.ModalLayer-Inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 600px;
  transform: translate(-50%, -50%);
}
.Modal-Inner-Btn {
  position: absolute;
  top: -35px;
  right: 0;
  width: 70px;
  color: #fff;
  z-index: 10;
  cursor: pointer;
}
.Modal-Inner-Card {
  width: 100%;
}
.Modal-Inner-Card-Wrapper {
  display: flex;
}
.Modal-Inner-Card-Wrapper-Slide {
  width: 100% !important;
  height: auto;
}
.Modal-Inner-Card-Wrapper-Slide-Item {
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  height: 100%;
  background: #059bcc;
}
.Modal-Inner-Card-Wrapper-Slide-Item-Box {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 78.37%;
}
.Modal-Inner-Card-Wrapper-Slide-Item-Box-Text {
  color: #fff;
}
/*2021/01/26*/


@media screen and (max-width: 768px) {

  .swiper-wrapper{
    height: 180px;
  }

  #singleBody .swiper-wrapper{
    height: 40vh;
  }

  .swiper-container {
      padding-top: 30px;
  }

  .mainimage{
      height: 30vh;
  }

  #container .swiper-slide h2{
      top: 45%;
      font-size: 14px;
  }

  .swiper-button-prev, .swiper-button-next{
        top:  50%;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets, 
  .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 30px;
  }
}



