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

.t_shadow{
	text-shadow: 0px 0px 8px rgba(0,0,0,0.9);
}

/**/
.main_img:nth-of-type(2) {
    -webkit-animation-delay: 10s;
    animation-delay: 10s; }

.main_img:nth-of-type(3) {
     -webkit-animation-delay: 20s;
     animation-delay: 20s; }

.main_img:nth-of-type(4) {
     -webkit-animation-delay: 30s;
     animation-delay: 30s; }

.main_img:nth-of-type(5) {
     -webkit-animation-delay: 40s;
     animation-delay: 40s; }

@keyframes anime {
    0%	 {opacity: 0;}
    8%	 {opacity: 1;}
    17%	 {opacity: 1;}
    25%	 {opacity: 0;transform: scale(1.2);z-index:9;}
    100% { opacity: 0 }
}

@-webkit-keyframes anime {
    0%	 {opacity: 0;}
    8%	 {opacity: 1;}
    17%	 {opacity: 1;}
    25%	 {opacity: 0;transform: scale(1.2);z-index:9;}
    100% { opacity: 0 }
}

.history_imgBox .text_area{
    display: flex;
    justify-content: center;/*上下中央揃え*/
    flex-direction: column;/*タテ積*/
}




/**/
@media screen and (min-width: 350px){
  .p_main{
    margin: 50px 0;
  }
  
  .history_imgBox {
    height: 550px;
    overflow: hidden;
    position: relative;
    background-color: #9ff;
}

  .text_area {
    z-index:11;
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    height:auto;
    display: block;
    padding: 0 0 !important;
    transition: 0.5s;
}

  .main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 650px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: -20px;
    -webkit-animation: anime 50s 0s infinite;
    animation: anime 50s 0s infinite;
     }

  .leo {
    z-index:15;
    width: 150px;
    position: absolute;
    left: 24%;
    bottom: -1%;
    transition: 0.5s;
    }

  .kuw {
    z-index:13;
    width: 150px;
    position: absolute;
    right: 15%;
    bottom: -10%;
    transition: 0.5s;
    }

  .kuw_sv {
    z-index:13;
    width: 150px;
    position: absolute;
    left: 4%;
    top: -2%;
    transition: 0.5s;
  }

  


/**/
@media screen and (min-width: 480px){
  .text_area{
    z-index:11;
    
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    display: block;
    width:100%;
    padding: 0 10% !important;
  }

}

/**/
@media screen and (min-width:740px){
    .text_area{
    z-index:11;
    
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    display: block;
    width:100%;
    padding: 0 10% !important;
  }

}


/**/
@media screen and (min-width:1024px){
/*history*/
  .p_main{
    margin: 50px 0;
  }

  .history_imgBox {
    height: 800px;
    overflow: hidden;
    position: relative;
    background-color: #9ff;
  }

  .history_imgBox .text_area p{
    line-height: 2.0;
    font-size: 14px;

    width: 750px;
    margin: 0 auto;
    text-align: justify;
    margin-bottom: 32px;

    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.5);
  }


  .text_area{
    /**/
    z-index:11;
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    /**/
    width:100%;
    height: auto;
    padding: 20% !important;
}

  .main_img {
    z-index:10;
    opacity: 0;
    width: 100%;
    height: 1000px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 50s 0s infinite;
    animation: anime 50s 0s infinite; 
  }

  .leo {
    z-index:12;
    width: 220px;
    position: absolute;
    left: 13%;
    bottom: -1%;
    }

    .kuw {
    z-index:13;
    width: 220px;
    position: absolute;
    right: 12%;
    bottom: -10%;
    }

  .kuw_sv {
    z-index:13;
    width: 220px;
    position: absolute;
    left: -1%;
    top: -5%;
  }
}








