/* 葉は透過画像、CTA文言は選択・読み上げ可能なHTML。 */
.btn.btn-leaf {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: min(100%, 410px);
  aspect-ratio: 3 / 1;
  min-height: 72px;
  padding: 0 12%;
  gap: 9px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: clamp(13px, 4vw, 17px);
  line-height: 1.5;
  white-space: nowrap;
  text-align: center;
  transition: transform 180ms ease;
}

.btn-leaf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("./cta-leaf.png") center / contain no-repeat;
  pointer-events: none;
  transition: filter 180ms ease;
}

.btn-leaf .leaf-arrow {
  font-size: 1.2em;
  line-height: 1;
}

.btn.btn-leaf:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.btn-leaf:hover::before {
  filter: brightness(0.92) drop-shadow(0 3px 3px rgba(43, 58, 47, 0.12));
}

.btn.btn-leaf:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.btn.btn-leaf:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn.btn-leaf,
  .btn-leaf::before {
    transition: none;
  }
}
