@charset "utf-8";
/* CSS Document */
#content{
   background:url("../img/campaign/goguma/240228-gogumalatte-backgroundpattern.png")
    }

/*ボタン*/
.btn {
  max-width: 300px;
  margin: 50px auto;
    padding-bottom: 20px;
}
a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(175,12,123,1.00);
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: rgba(175,12,123,1.00);
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
}
a.btn_02:hover {
  background: rgba(175,12,123,1.00);
  color: #fff;
}
a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent rgba(175,12,123,1.00);
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}
a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}


/*上下に動かす*/
.updown{
animation-name:UpDown;
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
animation-direction: alternate;
}
/* アニメーションの設定 */
@keyframes UpDown{
/* 開始地点 */
0%{
/* Y軸0px */
transform: translateY(0);
}
/* 終了地点 */
100%{
/* Y軸30px */
transform: translateY(30px);
}
}
.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1s,visibility 1s, transform 1s;
}
.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes fadeInAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
    }

/*　PC用スタイル　
------------------------------------------------------*/
@media print, screen and (min-width:768px){
#main{
    width: 1080px;
    margin: auto;
}
.c-name{
       text-align: center;
    }  
    .c-name img{
        max-width: 100%;
    }    
.catch {
        margin: auto;
    position: relative;
}
     .bear{
    position: absolute;
    right: -40px;
    bottom: -10px;
    height: 475px;
    animation: shake 2s infinite;
    transform: rotate(10deg);
    z-index: 1;
    }
    
    .thema{
        text-align: center;
    }    
.thema img{
    max-width: 100%;
}
    .imageSP{
        display:none;
    } 
    .new{
        color: red;
        font-weight: bold;
        text-align: center;
        font-size: 120%;
    } 
    .info{
        line-height: 1.1em;
        background: #fff;
        padding:50px;
    }
.sns{
    justify-content: center;
    width:80%;
    padding:0 50px;
    text-align: center;
}    
/*応募方法*/
    #how{
        margin:auto;
        padding:50px 0;
    }
    .title{
        max-width:100%;
        margin: auto;
        text-align: center;
        margin-bottom: 30px;
    }
    .how_wrap{
        display: flex;
        justify-content: space-between;
    }
    .howbox{
        width:500px;
    }
    .howbox img{
        max-width: 100%;
    }
  @keyframes shake {
    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}
}
/*--------------------------------
スマホ用スタイル
-------------------------------------------------------*/
@media screen and (max-width:767px) {
#main{
    width: 100%;
}
    .c-name{
       text-align: center;
    }  
    .c-name img{
        max-width: 100%;
    } 
    .catch {
    max-width: 100%;
        position: relative;
    }
     .bear{
    position: absolute;
    right: 0;
    bottom: -10px;
    height: 200px;
    animation: shake 2s infinite;
    transform: rotate(10deg);
    z-index: 1;
    }
@keyframes shake {
    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}   
    .sns{
    justify-content: center;
    width:80%;
    padding:0 50px;
    text-align: center;
} 
/*応募方法*/
    #how{
        margin:auto;
        padding:50px 0;
    }
    .title{
        max-width:70%;
        margin: auto;
        text-align: center;
        margin-bottom: 30px;
    }
    .how_wrap{
        
    }
    .howbox{
        width:100%;
        text-align: center;
        margin-top: 50px;
    }
    .howbox img{
        max-width: 70%;
    }
     .thema{
        text-align: center;
    }    
.thema img{
    max-width: 100%;
}
    .imagePC{
        display:none;
    } 
   .info{
        line-height: 1.1em;
        background: #fff;
        padding:50px;
    }    


}
