@charset "UTF-8";

/*----------------------------------- 
キービジュアル：トップページ SP
----------------------------------- */
.keyVisual {
  display: flex;
  flex-direction: column;
/*  padding: 65px 0 0;*/
}
.anime {
  display: none;
}


/* キャッチコピー SP
--------------------*/
.copyBox {
  width: auto;
  height: 430px;
  background: url("../images/keyVisualBack.gif") center bottom;
}
.copyBox div{
  width: auto;
  padding: 100px 0 0 0;
}
.copyBox div p.catch {
  width: auto;
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 130%;
  text-align: center;
  line-height: 2;
}
.copyBox div p.catch span {
  padding: 0 2px;
  font-size: 130%;
  font-weight: bold;
}
.copyBox div p.catch br.spB-tbN-pcB{
  display: block;
}



/*------------------------------------------------------
PC 768
------------------------------------------------------*/
@media screen and (min-width:768px) {

  .keyVisual {
    flex-direction: column-reverse;
  }
  .keyVisual .copyBox {
    width: auto;
    height: auto;
    background: url(../images/bg-alogo.png);
  }
  .keyVisual .copyBox div{
    padding: 50px 0;
  }
  /* キャッチコピー TB */
  .keyVisual .copyBox div p.catch {
    padding: 0;
  }
  .copyBox div p.catch br.spB-tbN-pcB{
    display: none;
  }

  /* ------------ main animetion PC ------------ */
  .anime{
    display: block;
    width: auto;
    position: relative;
    height: 520px;
    background: url("../images/keyVisualBack.gif") left bottom;
  }

  .anime p{
    width: 126px;
    height: 140px;	
    box-sizing: border-box;
    line-height: 1.2;
    font-size: 18px; font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    background: url("../images/bg-coment.gif") no-repeat left top;
    position: absolute;
      opacity: 0;
    /* animeation */
    animation-name: anime;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-play-state: running;
  }

  .anime p:first-child{
    padding: 40px 3px 0 12px;
    top:278px;
    left:2%;
    animation-delay: 0s;
  }

  .anime p:nth-child(2){
    padding: 35px 3px 0 12px;
    top:118px;
    left:4%;
    animation-delay: .2s;
  }

  .anime p:nth-child(3){
    padding: 30px 15px;
    top:385px;
    left:14%;
    animation-delay: .4s;
  }

  .anime p:nth-child(4){
    padding: 35px 0 0 7px;
    top:202px;
    left:18%;
    animation-delay: .6s;
  }

  .anime p:nth-child(5){
    padding: 30px 15px;
    top:330px;
    left:31%;
    animation-delay: .8s;
  }

  .anime p:nth-child(6){
    padding: 35px 0 0 10px;
    top:155px;
    left:35%;
    animation-delay: 1.0s;
  }

  .anime p:nth-child(7){
    padding: 40px 15px 0;
    top:415px;
    left:46%;
    animation-delay: 1.2s;
  }

  .anime p:nth-child(8){
    padding: 30px 15px;
    top:115px;
    right:28%;
    animation-delay: 1.4s;
  }

  .anime p:nth-child(9){
    padding: 30px 0 0 10px;
    top:260px;
    right:36%;
    animation-delay: 1.6s;
  }

  .anime p:nth-child(10){
    padding: 40px 5px 0 5px;
    top:125px;
    right:4%;
    text-align: center;
    animation-delay: 1.8s;
  }

  .anime p:nth-child(11){
    padding: 30px 5px 0 5px;
    top:380px;
    right:19%;
    text-align: center;
    animation-delay: 2.0s;
  }

  .anime p:nth-child(12){
    padding: 35px 5px 0 5px;
    top:238px;
    right:16%;
    text-align: center;
    animation-delay: 2.2s;
  }

  .anime p:last-child{
    padding: 35px 5px 0 5px;
    top:330px;
    right:2%;
    text-align: center;
    animation-delay: 2.4s;
  }

  @keyframes anime {
    0% {
      transform: translateY(0px);
    }

    50% {
      opacity: 1;
      transform: translateY(-100px);
    }

    60% {
      opacity: 1;	  	
      transform: translateY(-100px) scale(1);
    }

    80% {
      opacity: 1;
      transform: translateY(-100px) scale(1.2);
    }

    100% {
      opacity: 1;
      transform: translateY(-100px) scale(1);
    }
  }

}


/*------------------------------------------------------
PC 1000
------------------------------------------------------*/
@media screen and (min-width:1000px) {

  /*----------------------------------- 
  キービジュアル：トップページ 1000
  ----------------------------------- */
  .keyVisual {
    padding: 100px 0 0;
  }

}

/*------------------------------------------------------
PC 1200
------------------------------------------------------*/

@media screen and (min-width:1200px) {

  /*----------------------------------- 
  キービジュアル：トップページ 1200
  ----------------------------------- */
  .keyVisual {
    flex-direction: row-reverse;
    align-items: stretch;
    height: 520px;
    padding: 0;
  }

  /* キャッチコピー 1200
  ------------------------------*/
  .keyVisual .copyBox {
    width: 40%;
    height: 520px;
    padding: 0;
    background: url(../images/bg-alogo.png);
  }

  .keyVisual .copyBox div{
    max-width: 400px;
    padding: 20% 50px 0;
  }
  /* キャッチコピー PC1200 */
  .keyVisual .copyBox div p.catch {
    padding: 50px 0 0;
    text-align: left;
  }
  .copyBox div p.catch br.spB-tbN-pcB{
    display: block;
  }  

  .anime {
    width: 60%;
    background: url("../images/keyVisualBack.gif") left bottom;
  }

}

/*------------------------------------------------------
PC 1400
------------------------------------------------------*/

@media screen and (min-width:1400px) {

  /*----------------------------------- 
  キービジュアル：トップページ 1400
  ----------------------------------- */
  .keyVisual .copyBox div{
    max-width: 400px;
    padding: 10% 50px 0;
  }
  .keyVisual .copyBox div p.catch {
    padding: 80px 0 0;
  }

}