@charset "utf-8";
/* CSS Document */

.reason04 {
  display: block;
  padding-bottom: 120px;
}

.reason04 .container {
  margin-top: 120px;
  margin-bottom: 60px;
}

.reason04 .bg {
  width: 100%;
  background:url("/reason/img/bg_reason2024@2x.webp") center center / cover no-repeat;
}

.animation2024 {
  position: relative;
  margin-left: -17.2vw;
  margin-right: -14.8vw;
  width: 132vw;
  height: 68.7456vw;
  max-width: 1920px;
  max-height: 1000px;
  /*background:url("/reason/img/bg_reason2024@2x.png") center top / cover no-repeat;*/
}

.animation2024 img.reasons01 {
  position: absolute;
  z-index: 2;
  width: auto; 
  height: 68.7456vw;
  max-width: 1000px;
  max-height: 1000px;
  margin: auto;
  right: 0;        
  left: 0;
}

@media (min-width: 1024px){

  .animation2024 {
    width: 100vw;
    height: 52.08vw;
    margin: auto;
  }

  .animation2024 img.reasons01 {
    height: 52.08vw;
  }

}

div.reasons02 {
  position: absolute;
  z-index: 1;
  top:0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
  max-width:1920px;
}

div.reasons02 ul {
/*ul reset*/
  margin-block: 0;
  padding-block: 0;
  padding-inline: 0;
  list-style: none;
}

div.reasons02 ul.items {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* グリッドの行の高さを指定 */
  grid-template-rows: 25% 19% 21% 35%;
}

div.reasons02 ul.items li img {
  width: 100%;
}

/*----------------------------------------
    animation
----------------------------------------*/

.itemLeft,
.itemRight,
.itemLeft_down,
.itemRight_down {
    opacity: 0;
    display: block;
}

.action .itemLeft {
  animation-name:fadeLeftAnime;
  animation-duration:0.75s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px) translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.action .itemLeft_down {
  animation-name:fadeLeftAnime02;
  animation-duration:0.75s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeLeftAnime02 {
  from {
    opacity: 0;
    transform: translateX(-100px) translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.action .itemRight {
  animation-name:fadeRightAnime;
  animation-duration:0.75s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px) translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.action .itemRight_down {
  animation-name:fadeRightAnime02;
  animation-duration:0.75s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeRightAnime02 {
  from {
    opacity: 0;
    transform: translateX(100px) translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.thin{/*ぼかし*/
  filter: brightness(50%) blur(2px);
  transition: filter 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

/*=================================
アニメーション設定
===================================*/

/* アニメーション１回分の時間の長さを指定する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;
}

/* 動きをループさせるCSS*/

.count2{
animation-iteration-count: 2;/*この数字を必要回数分に変更*/
}

.countinfinite{
 animation-iteration-count: infinite;/*無限ループ*/
}

/* アニメーションの開始を遅らせるCSS*/

.delay-time025{
  animation-delay: 0.25s;
  }
  
.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*/

.timing-ease{
animation-timing-function:ease;
}

.timing-ease-in{
animation-timing-function:ease-in;
}

.timing-ease-out{
animation-timing-function:ease-out;
}

.timing-ease-in-out{
animation-timing-function:ease-in-out;	
}

.timing-linear{
animation-timing-function:linear;	
}

.timing-steps{
animation-timing-function:steps(4, end);	
}

.timing-cubic-bezier{
animation-timing-function:cubic-bezier(.17,.67,.67,.51);	
}
