/* =============================================
   フローティングCTAバー
   ============================================= */

#ev-float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

#ev-float-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===== PC版 ===== */
.ev-float-bar__inner {
  background: #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 40px;
}

.ev-float-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #2e7d32 !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  border: 2px solid #fff;
  min-width: 220px;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.ev-float-bar__btn:hover {
  background: #2e7d32;
  color: #fff !important;
  text-decoration: none !important;
}

.ev-float-bar__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ===== スマホ版 ===== */
@media (max-width: 768px) {
  .ev-float-bar__inner {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 10px 12px;
    gap: 8px;
  }

  .ev-float-bar__btn {
    flex: 1;
    min-width: unset;
    padding: 10px 8px;
    font-size: 0.78rem;
    border-radius: 8px;
    background: #fff;
    color: #333 !important;
    border: 1.5px solid #ddd;
    flex-direction: column;
    gap: 4px;
  }

  .ev-float-bar__btn:hover {
    background: #f5f5f5;
    color: #333 !important;
  }

  .ev-float-bar__btn svg {
    width: 20px;
    height: 20px;
  }

  /* LINE ボタンだけ緑 */
  .ev-float-bar__btn--line {
    background: #06c755;
    color: #fff !important;
    border-color: #06c755;
  }

  .ev-float-bar__btn--line:hover {
    background: #05a948;
    color: #fff !important;
  }

  /* 電話ボタンだけグリーン */
  .ev-float-bar__btn--tel {
    background: #4caf50;
    color: #fff !important;
    border-color: #4caf50;
  }

  .ev-float-bar__btn--tel:hover {
    background: #388e3c;
    color: #fff !important;
  }
}
