@charset "utf-8";
/* CSS Document */

/*==================================
フェードアニメーション用
===================================*/

/*-- 汎用アニメーション --*/
.view {
  opacity: 0;   
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  -webkit-transform: translate(0, 20px);
  transform: translate(0, 20px);
}
/*-- 左からのアニメーション --*/
.view.for_left {
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
  opacity: 0;
}
.is-show {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.view.for_left.is-show {
  opacity: 0;   
  animation:ease-out show_two 1s both;
  animation-delay: 0s;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}
/*-- 左からのアニメーション 個別 --*/
.view.block_left {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.is-show {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.view.block_left.is-show .cel_left {
  opacity: 0;   
  animation:ease-out show_two 1.3s both;
  animation-delay: 0s;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}




/*-- 右からのアニメーション --*/
.view.for_right {
  -webkit-transform: translate(100%, 0);
  transform: translate(100%, 0);
  opacity: 0;
}
/*.is-show {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
} */
.view.for_right.is-show {
  opacity: 0;   
  animation:ease-out show_two 1s both;
  animation-delay: 0s;
  -webkit-transform: translate(100%, 0);
  transform: translate(100%, 0);
}

/*-- transition-delay --*/
.delay_03 {
	transition-delay: 0.3s !important;
    animation-delay: 0.3s !important;
}
.delay_06 {
	transition-delay: 0.6s !important;
	animation-delay: 0.6s !important;
}
.delay_09 {
	transition-delay: 0.9s !important;
	animation-delay: 0.9s !important;
}
.delay_12 {
	transition-delay: 1.2s !important;
	animation-delay: 1.2s !important;
}
.delay_15 {
	transition-delay: 1.5s !important;
	animation-delay: 1.5s !important;
}
.delay_18 {
	transition-delay: 1.8s !important;
	animation-delay: 1.8s !important;
}


/*-- 左からのアニメーション --*/
.view.block_left {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.is-show {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}
.view.for_left.is-show {
  opacity: 0;   
  animation:ease-out show_two 1s both;
  animation-delay: 0s;
  -webkit-transform: translate(-100%, 0);
  transform: translate(-100%, 0);
}



/*-- トップスライド用アニメーション --*/
/*-- absoluteで前面を固定 --*/
.appear_front img {
	max-width: 1100px;
	height: 100%;
}

.top_back {
	width: 1100px;
	height: auto;
	margin: 0 auto;
	background: url(../../../img/top_img.jpg) no-repeat center center;
	background-size: contain;
}

/*--- トップの絵が出てくるのがずれる ---*/
.appear {
  opacity: 0;   
  animation:ease-out show_two 1s both;
  animation-delay: 0s;
  -webkit-transform: translate(0, 20px);
  transform: translate(0, 20px);
}
@keyframes show_two {
	0% {
		opacity:0;
	}
	100% {
        transform: translate(0, 0);
		opacity:1;
	}
}

.appear_front {
  opacity: 0;   
  animation:ease-out show_two 1s both;
  animation-delay: 0.5s;
  -webkit-transform: translate(0, 30px);
  transform: translate(0, 30px);
}


/*--- ひたすら回転 ---*/

.rotation {
  animation:ease-out rotation 1s infinite;
}
@keyframes rotation {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}
.rotation:before {
  content: "";
  animation:ease-out rotation 1s infinite;
}
@keyframes rotation {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(360deg);
	}
}

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

/*-- trasition-delay --*/
.delay_03 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}
.delay_06 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}
.delay_09 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}
.delay_12 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}
.delay_15 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}
.delay_18 {
	transition-delay: 0s !important;
    animation-delay: 0s !important;
}

/*-- trasition-delay sp --*/
.delay_sp_03 {
	transition-delay: 0.3s !important;
    animation-delay: 0.3s !important;
}
.delay_sp_06 {
	transition-delay: 0.6s !important;
	animation-delay: 0.6s !important;
}
.delay_sp_09 {
	transition-delay: 0.9s !important;
	animation-delay: 0.9s !important;
}
.delay_sp_12 {
	transition-delay: 1.2s !important;
	animation-delay: 1.2s !important;
}
.delay_sp_15 {
	transition-delay: 1.5s !important;
	animation-delay: 1.5s !important;
}
.delay_sp_18 {
	transition-delay: 1.8s !important;
	animation-delay: 1.8s !important;
}



}

/*----------------------------
	loading
----------------------------*/
.loading {
width: 100vw;
height: 100vh;
background: rgba(0,0,0,1.0);
position: fixed;
top: 0;
left: 0;
z-index: 999 !important;
}
.loading img {
width: 80px;
height: 80px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -40px;
margin-left: -40px;
}
