@charset "UTF-8";
.profile {
  padding-top: 200px;
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}

.profile-container {
  background-color: #FBE401;
  border: 2px solid #222222;
  border-radius: 30px;
  max-width: 1024px;
  width: 100%;
  padding: 80px;
  position: relative;
  display: flex;
}

.profile-title {
  width: 400px;
  position: absolute;
  top: -60px;
}

.profile-name {
  font-size: 32px;
  margin: 0 0 24px;
}

.spacer {
  margin-bottom: 16px;
}

.card-green {
  position: absolute;
  width: 350px;
  bottom: -70px;
  right: 150px;
  transform: rotate(-6deg);
  z-index: 1;
  --base-rotate: -6deg;
  --mid-rotate: -4deg; /* 浮いた時に少し角度を戻す */
  animation: fuyofuyo 4s ease-in-out infinite;
}

.card-pink {
  position: absolute;
  width: 210px;
  bottom: -120px;
  right: -30px;
  transform: rotate(10deg);
  z-index: 2; /* ピンクを上に重ねる */
  --base-rotate: 10deg;
  --mid-rotate: 12deg; /* 浮いた時にさらに少し傾ける */
  animation: fuyofuyo 5s ease-in-out infinite; /* 秒数を変えてズレを作る */
  animation-delay: 0.5s; /* 開始タイミングをずらす */
}

@keyframes fuyofuyo {
  0% {
    transform: rotate(var(--base-rotate)) translateY(0);
  }
  50% {
    transform: rotate(var(--mid-rotate)) translateY(-15px); /* 上に15px浮く */
  }
  100% {
    transform: rotate(var(--base-rotate)) translateY(0);
  }
}
.another-contact {
  margin: 160px auto 0;
  max-width: 100%;
}
.another-contact .deco {
  display: none;
}

.contact-card {
  background: #D0AAE5;
}

@media (max-width: 1150px) {
  .profile {
    padding: 160px 0 80px;
    margin: 0 16px;
  }
  .profile-container {
    display: block;
    padding: 0 24px 200px;
  }
  .profile-title {
    width: 200px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%); /* 中央寄せ */
  }
  .profile-text-area {
    width: 100%;
    padding-top: 56px;
    margin-bottom: 0px;
    text-align: center;
  }
  .profile-name {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
  }
  .card-green {
    width: 200px;
    bottom: -80px;
    left: 0;
    right: 120px;
    margin: 0 auto;
    transform: translateX(-50%) rotate(-6deg);
    /* ふよふよアニメーションの変数をスマホ用に上書き */
    --base-rotate: -6deg;
    --mid-rotate: -4deg;
  }
  .card-pink {
    width: 140px; /* スマホサイズに縮小 */
    bottom: -130px;
    left: 120px;
    right: 0;
    margin: 0 auto;
    transform: translateX(-50%) rotate(10deg);
    /* ふよふよアニメーションの変数をスマホ用に上書き */
    --base-rotate: 10deg;
    --mid-rotate: 12deg;
  }
  .another-contact {
    margin: 80px auto 0;
  }
  .another-contact .contact-card {
    margin-top: 0;
  }
}
@media (max-width: 650px) {
  .profile-text-area {
    width: 100%;
    padding-top: 56px;
    margin-bottom: 0px;
    text-align: start;
  }
}/*# sourceMappingURL=profile.css.map */