@charset "utf-8";

/*======4-2-5=== ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	margin: auto;
	background: #00A000;
	z-index: 999999;
	text-align:center;
	color:#fff;
	top: 0;
	bottom: 0;
}

/*======4-1-4==================*/

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 40%;
	transform: translate(-50%, -50%);
	text-align: center;
	right: 0;
	left: 0;
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
	width:160px;
}

.logo01-1{
    color: #fff;
    font-size: 30px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
	margin-top: 10px;
}

.logo02-1{
    background-color: #fff;
    color: #00A000;
    width: 100px;
    margin: auto;
    border-radius: 50px;
	font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 600;
	text-align: center;
}

@media screen and (max-width: 649px){
   
	/*======4-2-5=== ローディング画面のためのCSS ===============*/
	
	#splash {
		position: fixed;
		width: 100%;
		height: 100%;
		margin: auto;
		background: #00A000;
		z-index: 999999;
		text-align:center;
		color:#fff;
		top: 0;
		bottom: 0;
	}
	
	/* Loading画像中央配置　*/
	#splash_logo {
		position: absolute;
		top: 40%;
		transform: translate(-50%, -50%);
		text-align: center;
		right: 0;
		left: 0;
	}
	
	/* Loading アイコンの大きさ設定　*/
	#splash_logo img {
		width: 80px;
		margin-bottom: 5px;
	}
	
	.logo01-1{
		font-size: 20px;
		line-height: 1.0;
		font-weight: 600;
		margin-bottom: 15px;
	}
	
	.logo02-1{
		width: 80px;
		margin: auto;
		border-radius: 50px;
		font-size: 1.2rem;
		line-height: 1.8;
		font-weight: 600;
	}
	}


/* fadeUpをするアイコンの動き */

.fadeUp{
	animation-name: fadeUpAnime;
	animation-duration:0.5s;
	animation-fill-mode:forwards;
	opacity: 0;
	}
	
	@keyframes fadeUpAnime{
	  from {
		opacity: 0;
		transform: translateY(100px);
	  }
	
	  to {
		opacity: 1;
		transform: translateY(0);
	  }
	}

/*========= 画面遷移のためのCSS ===============*/

body{
    background:#ffffff;/*遷移アニメーションと同じ色を指定*/
}


/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}

/*右に消えるエリア*/
body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 99999;
    width: 100%;
    height: 100vh;
    top: 0;
	left:50%;
    transform: scaleX(1);
    background-color: #eee;/*伸びる背景色の設定*/
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*左に消えるエリア*/
body.appear .splashbg2{
	animation-name:PageAnime2;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 99999;
    width: 100%;
    height: 100vh;
    top: 0;
	right:50%;
    transform: scaleX(1);
    background-color: #eee;/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
	0% {
		transform-origin:right;
		transform:scaleX(1);
	}

	50% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}



/*========= 8-1-3 ===============*/
/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#00A000;
	border-radius: 20px 0px 0px 20px;
	width: 78px;
	height: 78px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:18px;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #00A000;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 0px;
	bottom:120px;
	z-index: 9999;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateX(100px);
}

/*　左の動き　*/
#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/
#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}



/*========= 6-1-7 ===============*/

/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 100%;
    margin:0 auto;
	margin-top: 0px;
}

.slider img {
    width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:auto;
}

.slider .slick-slide {
	transform: scale(1);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 1;/*透過50%*/
}

.slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
	padding-left: 25px;
	padding-right: 25px;
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
	display: none;
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}


/*========= 6-2-4 ===============*/

/*==================================================
スライダーのためのcss
===================================*/


/*画像の横幅を100%にしてレスポンシブ化*/
.gallery img{
	width: 820px;
	height: auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.gallery {
    margin: 0 0 30px 0;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;
    z-index: 3;
    top: 45%;
    cursor: pointer;
    outline: none;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    height: 15px;
    width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*選択するサムネイル画像の設定*/
.choice-btn{
    width: 100%;
    padding-left: 0px;
	padding-right:0px;
    height: auto;
	margin: auto;
}

.choice-btn li{
	cursor: pointer;
	outline: none;
	width:205px !important;
	height: 150px; 
}

.choice-btn li img{
	opacity: 1;/*選択されていないものは透過40%*/
	width: 205px;
	height: 150px;
	object-fit: cover; 
}

.choice-btn li.slick-current img{
	opacity: 1;/*選択されているものは透過しない*/
}


.slick-track{
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width: 1023px){

.slider img {
	width:83vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
	height:auto;
}
}

@media screen and (max-width: 649px){

.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 100%;
    margin:0 auto;
	margin-top: 0px;
}

.slider img {
    width: 100vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
    height:auto;
}

.slider .slick-slide {
	transform: scale(1);/*左右の画像のサイズを80%に*/
	transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
	opacity: 1;/*透過50%*/
}

.slider .slick-slide.slick-center{
	transform: scale(1);/*中央の画像のサイズだけ等倍に*/
	opacity: 1;/*透過なし*/
	padding-left: 25px;
	padding-right: 25px;
}

.slick-prev, 
.slick-next {
	display: none;
}

.slick-dots {
    text-align:center;
	margin:10px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 5px;/*ドットボタンのサイズ*/
    height: 5px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

.gallery img{
	width: auto;
	height: auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.gallery {
    margin: 0 0 0px 0;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;
    z-index: 3;
    top: 45%;
    cursor: pointer;
    outline: none;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    height: 7px;
    width: 7px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}
}



/*========= ふわっと下から ===============*/
/*========= レイアウトのためのCSS ===============*/

.wrapper{
  overflow: hidden;
}


.box{
  width: 220px;
  padding: 20px;
  margin:0 20px 20px 0;
  background: #666;
  color: #fff;
  box-sizing:border-box;
}

/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
	animation-name:fadeInAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes fadeInAnime{
	  from {
		opacity: 0;
	  }
	
	  to {
		opacity: 1;
	  }
	}
	
	/* 下から */
	
	.fadeUp{
	animation-name:fadeUpAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:1;
	}
	
	@keyframes fadeUpAnime{
	  from {
		opacity: 1;
	  transform: translateY(200px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateY(0);
	  }
	}
	
	/* 上から */
	
	.fadeDown{
	animation-name:fadeDownAnime;
	animation-duration:3s;
	animation-fill-mode:forwards;
	opacity:1;
	}
	
	@keyframes fadeDownAnime{
	  from {
		opacity: 1;
	  transform: translateY(-100px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateY(0);
	  }
	}
	
	/* 左から */
	
	.fadeLeft{
	animation-name:fadeLeftAnime;
	animation-duration:0.5s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes fadeLeftAnime{
	  from {
		opacity: 0;
	  transform: translateX(-100px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateX(0);
	  }
	}
	
	/* 右から */
	
	.fadeRight{
	animation-name:fadeRightAnime;
	animation-duration:3s;
	animation-fill-mode:forwards;
	opacity:1;
	}
	
	@keyframes fadeRightAnime{
	  from {
		opacity: 1;
	  transform: translateX(100px);
	  }
	
	  to {
		opacity: 1;
	  transform: translateX(0);
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.fadeInTrigger,
	.fadeUpTrigger,
	.fadeDownTrigger,
	.fadeLeftTrigger,
	.fadeRightTrigger{
		opacity: 0;
	}
	
	/*==================================================
	パタッ
	===================================*/
	
	
	/* 下へ */
	.flipDown{
	animation-name:flipDownAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes flipDownAnime{
	  from {
		transform: perspective(2500px) rotateX(100deg);
	  opacity: 0;
	  }
	
	  to {
		transform: perspective(2500px) rotateX(0);
	  opacity: 1;
	  }
	}
	
	
	/* 左へ */
	.flipLeft{
	animation-name:flipLeftAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	perspective-origin:left center;
	opacity:0;
	}
	
	@keyframes flipLeftAnime{
	  from {
	   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
	  opacity: 0;
	  }
	
	  to {
	  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
	  opacity: 1;
	  }
	}
	
	
	/* 左上へ */
	.flipLeftTop{
	animation-name:flipLeftTopAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes flipLeftTopAnime{
	  from {
	   transform: translate(-20px,80px) rotate(-15deg);
	  opacity: 0;
	  }
	
	  to {
	   transform: translate(0,0) rotate(0deg);
	  opacity: 1;
	  }
	}
	
	/* 右へ */
	.flipRight{
	animation-name:flipRightAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	perspective-origin:right center;
	opacity:0;
	}
	
	@keyframes flipRightAnime{
	  from {
	   transform: perspective(600px) translate3d(0, 0, 0) rotateY(-30deg);
	  opacity: 0;
	  }
	
	  to {
	  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
	  opacity: 1;
	  }
	}
	
	/* 右上へ */
	.flipRightTop{
	animation-name:flipRightTopAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
	opacity:0;
	}
	
	@keyframes flipRightTopAnime{
	  from {
	   transform: translate(-20px,80px) rotate(25deg);
	   opacity: 0;
	  }
	
	  to {
	   transform: translate(0,1) rotate(0deg);
	  opacity: 1;
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.flipDownTrigger,
	.flipLeftTrigger,
	.flipLeftTopTrigger,
	.flipRightTrigger,
	.flipRightTopTrigger{
		opacity: 0;
	}
	
	/*==================================================
	くるっ
	===================================*/
	
	
	/* X 軸（縦へ） */
	.rotateX{
	  animation-name:rotateXAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes rotateXAnime{
	  from{
		transform: rotateX(0);
		opacity: 0;
		}
	  to{
		transform: rotateX(-360deg);
		opacity: 1;
		}
	}
	
	/*　Y軸（横へ） */
	.rotateY{
	  animation-name:rotateYAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes rotateYAnime{
	  from{
		transform: rotateY(0);
		opacity: 0;
		}
	  to{
		transform: rotateY(-360deg);
		opacity: 1;
		}
	}
	
	/* Z 軸（左へ） */
	.rotateLeftZ{
	  animation-name:rotateLeftZAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes rotateLeftZAnime{
	  from{
		transform: rotateZ(0);
		opacity: 0;
		}
	  to{
		transform: rotateZ(-360deg);
		opacity: 1;
		}
	}
	
	/*　Z 軸（右へ） */
	.rotateRightZ{
	  animation-name:rotateRightZAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes rotateRightZAnime{
	  from{
		transform: rotateZ(0);
		opacity: 0;
		}
	  to{
		transform: rotateZ(360deg);
		opacity: 1;
		}
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.rotateXTrigger,
	.rotateYTrigger,
	.rotateLeftZTrigger,
	.rotateRightZTrigger{
		opacity: 0;
	}
	
	/*==================================================
	ボンッ、ヒュッ
	===================================*/
	
	/* 拡大 */
	.zoomIn{
	  animation-name:zoomInAnime;
	  animation-duration:0.5s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes zoomInAnime{
	  from {
	  transform: scale(0.6);
	  opacity: 0;
	  }
	
	  to {
		transform: scale(1);
	  opacity: 1;
	  }
	}
	
	/* 縮小 */
	.zoomOut{
	  animation-name:zoomOutAnime;
	  animation-duration:0.5s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes zoomOutAnime{
	  from {
	  transform: scale(1.2);
	  opacity: 0;
	  }
	
	  to {
		transform:scale(1);
	  opacity: 1;
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.zoomInTrigger,
	.zoomOutTrigger{
		opacity: 0;
	}
	
	/*==================================================
	じわっ
	===================================*/
	
	/* ぼかしから出現 */
	.blur{
	  animation-name:blurAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes blurAnime{
	  from {
	  filter: blur(10px);
	  transform: scale(1.02);
	  opacity: 0;
	  }
	
	  to {
	  filter: blur(0);
	  transform: scale(1);
	  opacity: 1;
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.blurTrigger{
		opacity: 0;
	}
	
	/*==================================================
	にゅーん
	===================================*/
	
	/* 滑らかに変形して出現 */
	.smooth{
	  animation-name:smoothAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	  transform-origin: left;
	  opacity:0;
	}
	
	@keyframes smoothAnime{
	  from {
	  transform: translate3d(0, 100%, 0) skewY(12deg);
	  opacity:0;
	  }
	
	  to {
	  transform: translate3d(0, 0, 0) skewY(0);
	  opacity:1;
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	 
	.smoothTrigger{
		opacity: 0;
	}
	
	/*==================================================
	スーッ（枠線が伸びて出現）
	===================================*/
	
	/*枠線が伸びて出現*/
	
	.lineTrigger{
	  position: relative; /* 枠線が書かれる基点*/
	  opacity:0;
	}
	
	.lineTrigger.lineanime{
	  animation-name:lineAnimeBase;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	}
	
	@keyframes lineAnimeBase{
	  from {
		opacity:0;
	  }
	
	  to {
		opacity:1;  
	}
	}
	
	/*上下線*/
	.lineTrigger::before,
	.lineTrigger::after{
	  position: absolute;
	  content:"";
	  width:0;
	  height:1px;
	  background:#333;/* 枠線の色*/
	}
	
	/*左右線*/
	.line2::before,
	.line2::after{
	  position: absolute;
	  content:"";
	  width: 1px;
	  height:0;
	  background:#333;/* 枠線の色*/
	}
	
	/*上線*/
	.lineTrigger::before {
	  top:0;
	  left:0;
	}
	
	.lineTrigger.lineanime::before {
	  animation: lineAnime .5s linear 0s forwards;/*表示されて0秒後に上線が0.5秒かけて表示*/
	}
	
	/*右線*/
	.line2::before{ 
	  top:0;
	  right:0;
	}
	
	.lineTrigger.lineanime .line2::before {
	  animation: lineAnime2 .5s linear .5s forwards;/*表示されて0.5秒後に右線が0.5秒かけて表示*/
	}
	
	/*下線*/
	.lineTrigger::after { 
	  bottom:0;
	  right:0;
	}
	
	.lineTrigger.lineanime::after {
	  animation: lineAnime .5s linear 1s forwards;/*表示されて1秒後に下線が0.5秒かけて表示*/
	}
	
	/*左線*/
	.line2::after{ 
	  bottom:0;
	  left:0;
	}
	
	.lineTrigger.lineanime .line2::after {
	  animation: lineAnime2 .5s linear 1.5s forwards;/*表示されて1.5秒後に左線が0.5秒かけて表示*/
	}
	
	@keyframes lineAnime {
	  0% {width:0%;}
		100%{width:100%;}
	}
	
	@keyframes lineAnime2 {
	  0% {height:0%;}
		100%{height:100%;}
	}
	
	/*枠線内側の要素*/
	
	.lineTrigger.lineanime .lineinappear{
	  animation: lineInnerAnime .5s linear 1.5s forwards;/*1.5秒後に中央のエリアが0.5秒かけて表示*/
	  opacity: 0;/*初期値を透過0にする*/ 
	}
	
	@keyframes lineInnerAnime{
	  0% {opacity:0;}
		100% {opacity:1;}
	}
	
	
	/*==================================================
	シャッ（背景色が伸びて出現）
	===================================*/
	
	/*背景色が伸びて出現（共通）*/
	.bgextend{
	  animation-name:bgextendAnimeBase;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
	  position: relative;
	  overflow: hidden;/*　はみ出た色要素を隠す　*/
	  opacity:0;
	}
	
	@keyframes bgextendAnimeBase{
	  from {
		opacity:0;
	  }
	
	  to {
		opacity:1;  
	}
	}
	
	/*中の要素*/
	.bgappear{
	  animation-name:bgextendAnimeSecond;
	  animation-duration:1s;
	  animation-delay: 0.6s;
	  animation-fill-mode:forwards;
	  opacity: 0;
	}
	
	@keyframes bgextendAnimeSecond{
	  0% {
	  opacity: 0;
	  }
	  100% {
	  opacity: 1;
	}
	}
	
	/*左から*/
	.bgLRextend::before{
	  animation-name:bgLRextendAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #666;/*伸びる背景色の設定*/
	}
	@keyframes bgLRextendAnime{
	  0% {
		transform-origin:left;
		transform:scaleX(0);
	  }
	  50% {
		transform-origin:left;
		transform:scaleX(1);
	  }
	  50.001% {
		transform-origin:right;
	  }
	  100% {
		transform-origin:right;
		transform:scaleX(0);
	  }
	}
	
	/*右から*/
	.bgRLextend::before{
	  animation-name:bgRLextendAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #666;/*伸びる背景色の設定*/
	}
	@keyframes bgRLextendAnime{
	  0% {
		transform-origin:right;
		transform:scaleX(0);
	  }
	  50% {
		transform-origin:right;
		transform:scaleX(1);
	  }
	  50.001% {
		transform-origin:left;
	  }
	  100% {
		transform-origin:left;
		transform:scaleX(0);
	  }
	}
	
	/*下から*/
	.bgDUextend::before{
	  animation-name:bgDUextendAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #666;/*伸びる背景色の設定*/
	}
	@keyframes bgDUextendAnime{
	  0% {
		transform-origin:bottom;
		transform:scaleY(0);
	  }
	  50% {
		transform-origin:bottom;
		transform:scaleY(1);
	  }
	  50.001% {
		transform-origin:top;
	  }
	  100% {
		transform-origin:top;
		transform:scaleY(0);
	  }
	}
	
	/*上から*/
	.bgUDextend::before{
	  animation-name:bgUDextendAnime;
	  animation-duration:1s;
	  animation-fill-mode:forwards;
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		background-color: #666;/*伸びる背景色の設定*/
	}
	@keyframes bgUDextendAnime{
	  0% {
		transform-origin:top;
		transform:scaleY(0);
	  }
	  50% {
		transform-origin:top;
		transform:scaleY(1);
	  }
	  50.001% {
		transform-origin:bottom;
	  }
	  100% {
		transform-origin:bottom;
		transform:scaleY(0);
	  }
	}
	
	/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
	.bgappearTrigger,
	.bgUDextendTrigger,
	.bgDUextendTrigger,
	.bgRLextendTrigger,
	.bgLRextendTrigger{
		opacity: 0;
	}
	
	
	/*========= レイアウトのためのCSS ===============*/
	
	.wrapper{
	  overflow: hidden;
	}
	
	.flex{
	  display:flex;
	  flex-wrap: wrap;
	}
	
	.box{
	  width: 220px;
	  padding: 20px;
		margin: 0 20px 20px 20px;
	  background: #666;
	  color: #fff;
	  box-sizing:border-box;
	}
	
	.bgextend,
	.lineTrigger{
	  width: 220px;
	  padding: 20px;
		margin: 0 20px 20px 20px;
	  box-sizing:border-box;
	}
	
	
	
	/*==================================================
	アニメーション設定
	===================================*/
	
	/* アニメーションの回数を決めるCSS*/
	
	.count2{  
	  animation-iteration-count: 2;/*この数字を必要回数分に変更*/
	}
	
	.countinfinite{  
	  animation-iteration-count: infinite;/*無限ループ*/
	}
	
	/* アニメーションスタートの遅延時間を決めるCSS*/
	
	.delay-time05{  
	  animation-delay: 0.5s;
	}
	
	.delay-time1{  
	  animation-delay: 1s;
	}
	
	.delay-time15{  
	  animation-delay: 1.5s;
	}
	
	.delay-time2{  
	  animation-delay: 2s;
	}
	
	.delay-time25{  
	  animation-delay: 2.5s;
	}
	
	/* アニメーション自体が変化する時間を決めるCSS*/
	
	.change-time05{  
	  animation-duration: 0.5s;
	}
	
	.change-time1{  
	  animation-duration: 1s;
	}
	
	.change-time15{  
	  animation-duration: 1.5s;
	}
	
	.change-time2{  
	  animation-duration: 2s;
	}
	
	.change-time25{  
	  animation-duration: 2.5s;
	}
	
	
	
	