/* soukai2026 | hero.css - 紫グラデーションヒーロー */

.hero {
  background: linear-gradient(135deg, #5B2D9E 0%, #8B3DBF 40%, #C23B8A 80%, #E8507A 100%);
  display: flex; align-items: stretch;
  min-height: 180px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.09) 0%, transparent 45%);
}

/* テキスト側 */
.hero-text {
  flex: 1; padding: 20px 0 22px 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; z-index: 2;
}
.hero-line1 {
  font-size: 14px; color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 3px 10px; font-size: 10px; color: var(--white);
  letter-spacing: 0.08em; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 5px; height: 5px;
  background: var(--gold); flex-shrink: 0;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 34px; font-weight: 700; color: var(--white);
  line-height: 1.2; letter-spacing: 0.02em; margin-top: 0; margin-bottom: 6px;
  word-break: keep-all;
}
.hero-date-big {
  font-size: 30px; font-weight: 900; color: var(--white);
  letter-spacing: -0.01em; line-height: 1;
}
.hero-date-sub { font-size: 10px; color: rgba(255,255,255,0.8); margin-top: 4px; }
.hero-online {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 7px; font-size: 10px; color: var(--gold);
  border: 1px solid rgba(255,209,102,0.4); padding: 3px 8px;
  letter-spacing: 0.04em; width: fit-content;
}
.hero-online::before {
  content: ''; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* コバトン */
.hero-kobaton {
  width: 120px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  position: relative; z-index: 2;
}
.kobaton-img {
  width: 100px;
  animation: kfloat 3.8s ease-in-out infinite, ksway 3.8s ease-in-out infinite;
  transform-origin: 50% 95%;
}
.kobaton-shadow {
  width: 54px; height: 8px;
  background: rgba(0,0,0,0.22);
  animation: kshadow 3.8s ease-in-out infinite;
  transform-origin: center;
}

/* 星のキラキラ */
.hero-star { position: absolute; animation: kstar 2.8s ease-in-out infinite; }
.hero-star:nth-child(1) { top: 18px; right: 12px; }
.hero-star:nth-child(2) { top: 40px; right: 4px; animation-delay: 1.1s; }
.hero-star:nth-child(3) { top: 28px; left: 6px; animation-delay: 2s; }

/* グラデーションライン */
.hero-line {
  height: 3px;
  background: linear-gradient(90deg, #5B2D9E, #C23B8A, var(--gold));
}

/* アニメーション */
@keyframes kfloat  { 0%,100%{transform:translateY(0)} 45%{transform:translateY(-9px)} }
@keyframes ksway   { 0%,100%{transform:rotate(0deg)} 40%{transform:rotate(-2.5deg)} 80%{transform:rotate(1.5deg)} }
@keyframes kshadow { 0%,100%{transform:scaleX(1);opacity:.25} 45%{transform:scaleX(.68);opacity:.12} }
@keyframes kstar   { 0%,100%{opacity:0;transform:scale(.3)} 50%{opacity:1;transform:scale(1)} }
@keyframes blink   { 0%,100%{opacity:1} 50%{opacity:.3} }

/* レスポンシブ */
@media (min-width: 768px) {
  .hero { min-height: 240px; }
  .hero-text { padding: 28px 0 28px 32px; }
  .hero-title { font-size: 34px; }
  .hero-date-big { font-size: 38px; }
  .hero-kobaton { width: 160px; }
  .kobaton-img { width: 130px; }
  .kobaton-shadow { width: 70px; }
}

@media (min-width: 1024px) {
  .hero-kobaton { width: 200px; }
  .kobaton-img { width: 170px; }
  .kobaton-shadow { width: 90px; }
}
