/*ホームのスライド用*/
.slidewrap{
	/*margin: 0 calc(50% - 50vw);*/
    margin: 0;/*追加、上削除*/

	max-width: 100vw;
	position: relative;
        width: 100%;
    /*height: calc(100vh - 70px);/*ヘッドとナビの高さを引く*/
	height: 100vh;
    overflow: hidden;
	
}
.swiper-container{
}


@keyframes zoom {
  0% {
    transform: scale(1.15);/*変更*/
  }
  100% {
    transform: scale(1);/*変更*/
  }
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: zoom 10s linear 0s 1 normal both;  
}

.slide-img img{
	object-fit: cover;
    width: 100%;/*追加*/
	/*height: calc(100vh - 70px);/*#headerのmin-height:70pxを引く*/
	height: 100vh;
}

@keyframes slidefadeUp{
  /*0% {
    opacity: 0;
	transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
	transform: translateX(-50%) translateY(-50%);
  }*/
	
	0% {
    opacity: 0;
	transform: translate(-50%,-50%);
  }
  10% {
    opacity: 0;
  }
  15% {
    opacity: 1;
        transform: translate(-50%,-60%);
  }
  70% {
    opacity: 1;
      transform: translate(-50%,-60%);
  }
  75% {
    opacity: 0;
      transform: translate(-50%,-60%);
  }
100% {
    opacity: 0;
      transform: translate(-50%,-60%);
  }
}


.swiper-slide-active .slide-text,
.swiper-slide-duplicate-active .slide-text,
.swiper-slide-prev .slide-text{
    animation:slidefadeUp 10s linear 0s 1 normal both;
}
.slide-text{
	position: absolute;
	width: 90%;
	margin: 0 auto 3em;
	top: 51%;
	left: 50%;
	font-size: 280%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	/*text-shadow: 2px 2px 8px #000;
	color: #fff;*/
	text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
  -3px 3px 3px #fff,  3px -3px 3px #fff,
  3px 0 3px #fff, -3px  0 3px #fff,
  0 3px 3px #fff,  0 -3px 3px #fff;
	color: #000;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
}

.slide-text .subtext{
	display: inline;
	font-size: 65%;
	font-weight: bold;
	background-color: #107db0;
	/*border-top: 10px #000 solid;*/
	/*border-bottom: 5px #000 solid;*/
	text-shadow: 0px 0px 0px #000;
	color: #fff;
	padding: 15px 25px;
	}

.swiper-slide-active .slide-text2,
.swiper-slide-duplicate-active .slide-text2,
.swiper-slide-prev .slide-text2{
    animation:slidefadeUp 1s linear 3.8s 1 normal both;
}
.slide-text2{
	position: absolute;
	width: 90%;
	top:calc(48% + 2em);
	left: 50%;
	font-size: 320%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	text-shadow: 2px 2px 8px #000;
	color: #fff;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
}

/*******************************************************
1024幅
*******************************************************/

@media only screen and (max-width:1024px){
	
.slide-text{
	position: absolute;
	width: 90%;
	margin: 0 auto 3em;
	top: 50%;
	left: 50%;
	font-size: 200%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
  -3px 3px 3px #fff,  3px -3px 3px #fff,
  3px 0 3px #fff, -3px  0 3px #fff,
  0 3px 3px #fff,  0 -3px 3px #fff;
	color: #000;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
}
	

.swiper-slide-active .slide-text2,
.swiper-slide-duplicate-active .slide-text2,
.swiper-slide-prev .slide-text2{
    animation:slidefadeUp 1s linear 3.8s 1 normal both;
}
.slide-text2{
	position:absolute;
	width: 90%;
	top:calc(46% + 2em);
	/*top: 58%;*/
	left: 50%;
	font-size: 280%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	text-shadow: 2px 2px 8px #000;
	color: #fff;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
}	
	
}
/*******************************************************
スマートフォン
*******************************************************/

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

.slidewrap{
	/*margin: 0 calc(50% - 50vw);*/
    margin: 0;/*追加、上削除*/
	top:70px;

	max-width: 100vw;
	position: relative;
        width: 100%;
    height: calc(40vh);/*ヘッドとナビの高さを引く*/
    overflow: hidden;
}
    

.swiper-slide-active .slide-text,
.swiper-slide-duplicate-active .slide-text,
.swiper-slide-prev .slide-text{
    animation:slidefadeUp 10s linear 0s 1 normal both;
}
.slide-text{
	position: absolute;
	width: 90%;
	margin: 0 auto 3em;
	top: 60%;
	left: 50%;
	font-size: 160%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	text-shadow: 3px 3px 3px #fff, -3px -3px 3px #fff,
  -3px 3px 3px #fff,  3px -3px 3px #fff,
  3px 0 3px #fff, -3px  0 3px #fff,
  0 3px 3px #fff,  0 -3px 3px #fff;
	color: #000;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
	       

}


.swiper-slide-active .slide-text2,
.swiper-slide-duplicate-active .slide-text2,
.swiper-slide-prev .slide-text2{
    animation:slidefadeUp 1s linear 3.8s 1 normal both;
}
.slide-text2{
	position: absolute;
	width: 90%;
	top:calc(40% + 2em);
	left: 50%;
	font-size: 160%;/*変更*/
	/*font-family: serif;*/
	font-family: "游ゴシック", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    
    text-align: center;
	font-weight: bold;
	text-shadow: 2px 2px 8px #000;
	color: #fff;
    line-height: 1.5em;
	transform: translate(-50%,-50%);
}
	
	
	
.slide-img img{
	object-fit: cover;
    width: 100%;/*追加*/
	height: calc(40vh);/*#headerのmin-height:70pxを引く*/
}
    
}