/* ===== Sticky YouTube CTA Banner ===== */
#sticky-yt-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#sticky-yt-cta.is-visible {
  transform: translateY(0);
}

#sticky-yt-cta.is-hidden {
  transform: translateY(100%);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
}

.sticky-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-btn {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.sticky-cta-btn:hover,
.sticky-cta-btn:focus {
  background: #cc0000;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sticky-cta-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 3px;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.sticky-cta-close:hover,
.sticky-cta-close:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

/* デスクトップでは非表示 */
@media (min-width: 769px) {
  #sticky-yt-cta {
    display: none !important;
  }
}

/* ===== Micro CTA (works pages) ===== */
.micro-cta {
  margin: 12px 0 20px;
  padding: 10px 16px;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.micro-cta-icon {
  margin-right: 4px;
}

.micro-cta-link {
  color: #16a34a;
  font-weight: bold;
  text-decoration: underline;
}

.micro-cta-link:hover,
.micro-cta-link:focus {
  color: #15803d;
}
