/* 🔗 noteバナー共通スタイル  */
.note-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(90deg, #fffce3 0%, #ffefc3 100%);
  padding: 12px 16px;
  border: 2px solid #f7cf5e;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(247, 207, 94, 0.4);
  animation: fadeInBanner 1s ease-out forwards;
}

.note-banner img {
  width: 500px;
  height: auto;
  animation: floatIcon 3s infinite ease-in-out;
}

.note-callout {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  animation: pulseText 2.5s infinite ease-in-out;
}

/* 🎞️ アニメーション定義 */
@keyframes fadeInBanner {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseText {
  0%, 100% { color: #333; transform: scale(1); }
  50% { color: #d35400; transform: scale(1.05); }
}
.note-banner-image img {
  display: block;
  margin: 0 auto;
  max-width: 120px;
  height: auto;
}

.note-banner-callout {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #d35400;
  margin-top: 0.5rem;
  animation: pulseText 2.5s infinite ease-in-out;
}
.note-banner {
  text-align: center;
  margin-top: 1.2rem;
}

.note-banner-img {
  max-width: 400px;
  height: auto;
  display: inline-block;
}

.note-callout {
  text-align: center;
  font-size: 1.1rem;
  color: #e67e22;
  font-weight: bold;
  margin-top: 0.5rem;
  animation: fadeInText 1.8s ease-in-out;
}


.text-banner-link:hover .text-banner {
  box-shadow: 0 0 12px rgba(240, 194, 62, 0.5);
  transform: scale(1.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



@keyframes slideText {
  0%   { transform: translateX(-20px); opacity: 0.6; }
  25%  { opacity: 1; }
  75%  { transform: translateX(20px); opacity: 1; }
  100% { transform: translateX(0px); opacity: 0.6; }
}


@keyframes flashSpeed {
  0%   { transform: scale(1) rotate(0deg); opacity: 1; }
  50%  { transform: scale(1.05) rotate(1deg); opacity: 0.9; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.text-banner-link {
  text-decoration: none;
  display: block;
  margin: 1.4rem auto;
  max-width: 800px;
}

.text-banner {
  background: linear-gradient(135deg, #d3f7c4 0%, #a5e291 50%, #87d17c 100%);
  border: 4px solid #3fa34d;
  border-radius: 14px;
  padding: 20px 32px;
  box-shadow: 0 0 20px rgba(63,163,77,0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.text-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2), transparent 70%);
  z-index: 0;
}

.text-banner-line {
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  margin: 8px 0;
  animation: slideGlow 6s ease-in-out infinite;
}

.text-banner-line:first-child {
  font-size: 1.4rem;
  color: #cc2200;
  text-shadow: 2px 2px 2px #ffd;
}

.text-banner-line:last-child {
  font-size: 1.2rem;
  color: #0a4c2c;
  text-shadow: 1px 1px 1px #eef;
}

@keyframes slideGlow {
  0%   { transform: translateX(-30px); opacity: 0.6; }
  25%  { transform: translateX(-5px); opacity: 1; }
  75%  { transform: translateX(5px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

.banner-wrapper {
  position: relative;
  max-width: 800px;
  margin: 1.4rem auto;
  text-decoration: none;
  display: block;
}

.banner-content {
  background: linear-gradient(135deg, #d3f7c4 0%, #a5e291 50%, #87d17c 100%);
  border: 4px solid #3fa34d;
  border-radius: 14px;
  padding: 24px 36px;
  box-shadow: 0 0 20px rgba(63,163,77,0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.banner-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.25), transparent 70%);
  z-index: 0;
}

.banner-text {
  position: relative;
  z-index: 1;
}

.banner-line {
  font-weight: 900;
  letter-spacing: 1px;
  margin: 8px 0;
  white-space: nowrap;
}

.banner-line:first-child {
  font-size: 1.4rem;
  color: #cc2200;
  text-shadow: 2px 2px 2px #ffd;
}

.banner-line:last-child {
  font-size: 1.2rem;
  color: #0a4c2c;
  text-shadow: 1px 1px 1px #eef;
}

/* 馬のイラスト配置 */
.banner-horse {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 100px;
  height: auto;
  z-index: 1;
}

/* G3マーク配置 */
.banner-grade {
  position: absolute;
  top: 8px;
  right: 10px;
  background-color: #cc2200;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

