.vanilla-wrapper {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 10px;
}


.vanilla-wrapper .content img{
  max-width: 300px;
}

.vanilla-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  background: #373737;
}

.vanilla-wrapper .card01 {
  max-width: 380px;
  height: 600px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1;
}

/* 2つめ以降のカードのカラー */
.vanilla-wrapper .card02{
  background: rgba(0, 145, 255, 0.1);
}

.vanilla-wrapper .card03{
  background: rgba(0, 255, 145, 0.1);
}

.vanilla-wrapper .card04{
  background: rgba(76, 0, 255, 0.1);
}


/* 中のコンテンツの動き */
.vanilla-wrapper .card01 .content {
  padding: 20px;
  text-align: center;
  transform: translateY(200px);
  opacity: 0.1;
  transition: 0.5s;
}

.vanilla-wrapper .card01:hover .content {
  transform: translateY(0px);
  opacity: 1;
}

.vanilla-wrapper .card01 .content h2 {
  position: absolute;
  top: -80px;
  right: 30px;
  font-size: 8em;
  color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.vanilla-wrapper .card01 .content h3 {
  font-size: 1.8em;
  color: #fff;
  z-index: 1;
}

.vanilla-wrapper .card01 .content p {
  font-size: 1em;
  color: #fff;
  font-weight: 300;
  padding-top: 30px;
}


@media screen and (max-width:1024px){
  .vanilla-wrapper {
    padding: 20px;
  }

  .vanilla-wrapper .card01{
    height:500px;
    width: 300px;
  }

  .vanilla-wrapper .card01 .content h3{
    font-size: 24px;
  }

  .vanilla-wrapper .card01 .content p{
    font-size: 14px;
    width: 200px;
    margin: 0 auto;
  }
}



/* 全体を流れる光のアニメーション */
.vanilla-wrapper p.shiny:after{
  position:absolute;
  top:-280%;
  left:-150%;
  content:"";
  height:640%;
  width:70px;
  background:linear-gradient(90deg, rgba(255,255,255,0),rgba(255,255,255,0.6) 40%,rgba(255,255,255,0),rgba(255,255,255,0.6),rgba(255,255,255,0));
  transform: rotate(60deg);
  animation:4.6s shine infinite linear;
}

@keyframes shine{
  0%{
    left:-100%;
  }
  100%{
    left:250%;
  }
}


/* リンクボタン 光 */
.vanilla-wrapper .c-button._shiny {
  display: block;
  position: relative;
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 0 0 #adadad;
  border-radius: 10px;
  margin:30px auto;
  font-size: 16px;
  width:150px;
  color: #222;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: 300ms;
}

.vanilla-wrapper .c-button._shiny::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fffbae;
  transition: 300ms;
  animation: shinyshiny 3s ease-in-out infinite;
}

.vanilla-wrapper .c-button._shiny:hover {
  text-decoration: none;
  color: #E00022;
  box-shadow: none;
  background-color: #f3c242;
  transform: translateY(3px);
}

@keyframes shinyshiny {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  10% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  11% { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}