/* =========================
   7. ウェルカムパーティー演出
========================= */

/* ガーランド（旗）のスタイル */
.party-decoration {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.flag {
  background: var(--chalk-pink);
  color: #fff;
  width: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: 'Yomogi', cursive;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 80%, 0% 100%); /* 旗の形 */
  animation: flagSwing 2s ease-in-out infinite alternate;
  transform-origin: top center;
}

/* 旗の色を交互に変える */
.flag:nth-child(even) { background: #4cc9f0; }
.flag:nth-child(3n) { background: #ff9f1c; }

@keyframes flagSwing {
  from { transform: rotate(-5deg); }
  to { transform: rotate(5deg); }
}

/* 見出しの装飾 */
.welcome-header {
  text-align: center;
  margin-bottom: 40px;
}

.welcome-lead {
  font-family: 'Yomogi', cursive;
  font-size: 1.2rem;
  color: var(--accent-red);
  background: white;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  box-shadow: 2px 2px 0 var(--tape-color);
}

/* カードを招待状風に */
.content-card {
  border: 2px solid #eee;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(0,0,0,0.05) 1px, transparent 0);
  background-size: 20px 20px; /* ドット柄でポップに */
  position: relative;
}

/* ボタンをより「押しやすく」ポップに */
.btn.ghost {
  border: 2px solid var(--text-main);
  background: #fff;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--text-main);
  transition: all 0.2s;
}

.btn.ghost:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text-main);
  background: var(--rainbow);
  color: #fff;
}

/* =========================
   7. ハイパー・ウェルカムパーティー演出
========================= */

/* 1. 全体の背景に紙吹雪を降らせる（疑似要素で作成） */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    radial-gradient(circle, #ffbcc9 20%, transparent 20%),
    radial-gradient(circle, #4cc9f0 20%, transparent 20%),
    radial-gradient(circle, #ffd93d 20%, transparent 20%);
  background-size: 100px 100px, 150px 150px, 120px 120px;
  background-position: 0 0, 50px 50px, 20px 80px;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* 2. ガーランドの強化（少し大きく、光るように） */
.party-decoration {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.flag {
  background: var(--chalk-pink);
  color: #fff;
  width: 50px; /* サイズアップ */
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  font-family: 'Yomogi', cursive;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%);
  animation: flagSwing 1.5s ease-in-out infinite alternate;
  transform-origin: top center;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.1);
}

.flag:nth-child(even) { background: #4cc9f0; animation-delay: 0.2s; }
.flag:nth-child(3n) { background: #ff9f1c; animation-delay: 0.4s; }
.flag:nth-child(3n+1) { background: #6ee7b7; animation-delay: 0.1s; }

/* 3. 見出しをライブのネオン風に */
.content-card h2 {
  font-family: 'Yomogi', cursive;
  background: var(--rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 25px;
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.1));
}

/* 4. カードをド派手に（立体感＋グラデーション枠） */
.content-card {
  border: none;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 
    0 10px 0px var(--wood-frame), 
    0 15px 30px rgba(0,0,0,0.1);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

/* カードの角に「お祝いのリボン」をつける */
.content-card::after {
  content: "JOIN US!";
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--accent-red);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(40deg);
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 5. 問い合わせボタン：ゲーミング風アニメーション */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn.ghost {
  position: relative;
  border: 3px solid var(--text-main);
  background: #fff;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 15px;
  box-shadow: 6px 6px 0 var(--text-main);
  transition: 0.2s;
  overflow: hidden;
  z-index: 1;
}

.btn.ghost:hover {
  color: #fff;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--text-main);
}

/* ボタンの中を虹色が走る演出 */
.btn.ghost::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--rainbow);
  transition: 0.4s;
  z-index: -1;
}

.btn.ghost:hover::before {
  left: 0;
}

/* 6. アニメーション：ふわふわ浮く（新歓日程などのブロック） */
.placeholder-block {
  background: #fdfdfc;
  border: 2px dashed var(--chalk-pink);
  padding: 20px;
  border-radius: 15px;
  animation: floating 3s ease-in-out infinite alternate;
}

@keyframes floating {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}