/* award-float.css - paste at end of CSS stack */

/* 基本 */
.award-float-section {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #fbfcfd 0%, #f6f9fb 60%);
  color: #0b0b0b;
  padding: 64px 0;
  -webkit-font-smoothing:antialiased;
}

/* canvas */
.award-float-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 内部 */
.award-float-inner {
  position: relative;
  z-index: 6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* 左カラム（テキスト） */
.award-float-left { flex: 1 1 60%; position: relative; }

/* マーク（切り抜きロゴ） */
.award-mark-wrap {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(10,20,30,0.06);
  transform: translateY(-18px);
  margin-bottom: 8px;
  backdrop-filter: blur(6px);
}
.award-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08));
}

/* kicker */
.af-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .18em;
  color: rgba(10,10,10,0.6);
  opacity: 0;
  transform: translateY(8px);
}

/* タイトル */
.af-title {
  margin: 0;
  line-height: 0.92;
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 64px);
  color: #0b0b0b;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(18px) scale(.98);
  display:inline-block;
  position: relative;
}

/* メイン行を強調 */
.af-main { display:block; font-size: clamp(44px, 9vw, 96px); }

/* サブテキスト */
.af-sub {
  margin-top: 14px;
  color: rgba(10,10,10,0.75);
  font-size: 16px;
  opacity: 0;
  transform: translateY(12px);
}

/* 右側の光オブジェクト */
.award-float-right { flex: 1 1 40%; position: relative; height: 160px; }
.af-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px) saturate(1.1);
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(.6);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), opacity .45s ease;
}
.af-glow-a { width: 260px; height: 260px; left: 8%; top: 0; background: radial-gradient(circle, rgba(255,240,220,0.95), rgba(255,220,180,0.06)); }
.af-glow-b { width: 320px; height: 320px; left: 36%; top: -20px; background: radial-gradient(circle, rgba(220,240,255,0.95), rgba(180,220,255,0.06)); }
.af-glow-c { width: 200px; height: 200px; left: 68%; top: 10px; background: radial-gradient(circle, rgba(230,210,255,0.95), rgba(210,180,255,0.06)); }

/* 登場クラス（JSで付与） */
.award-float-appear .af-kicker { animation: afFadeIn .7s ease forwards .08s; }
.award-float-appear .af-title { animation: afTitleIn .9s cubic-bezier(.2,.9,.2,1) forwards .18s; }
.award-float-appear .af-sub { animation: afFadeIn .7s ease forwards .6s; }
.award-float-appear .af-glow { opacity: 1; transform: scale(1); }

/* アンダーライン光（タイトル下） */
.af-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,220,140,0.95), rgba(255,255,255,0.9));
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(255,200,120,0.08);
}
.award-float-appear .af-title::after { animation: afUnderline 0.9s cubic-bezier(.2,.9,.2,1) forwards 0.9s; }

/* アニメーション keyframes */
@keyframes afFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes afTitleIn {
  0% { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(6px); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes afUnderline {
  0% { width: 0%; opacity: 0; transform: translateX(-6px); }
  60% { width: 110%; opacity: 1; transform: translateX(0); }
  100% { width: 100%; opacity: 1; transform: translateX(0); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .af-glow, .af-title::after, .af-title, .af-kicker, .af-sub { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
  #awardFloatCanvas { display: none !important; }
}

/* responsive */
@media (max-width: 900px) {
  .award-float-inner { flex-direction: column; gap: 18px; padding: 0 12px; }
  .award-float-right { height: 120px; order: -1; }
  .af-main { font-size: clamp(32px, 10vw, 56px); }
  .award-mark-wrap { margin-bottom: 12px; transform: translateY(0); }
}
