@charset "utf-8";
/* CSS Document */

/* 浮遊申し込みボタン */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: floatPulse 3s ease-in-out infinite;
}

/* ---------------------
   メインボタン
---------------------- */
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;

  /* 濃い緑系グラデーション */
  background: linear-gradient(135deg, #228B22 0%, #006400 50%, #004d00 100%);
  color: #fff;
  text-decoration: none;

  border-radius: 50%;
  overflow: hidden;
  position: relative;

  -webkit-mask-image: radial-gradient(circle, white 100%, transparent 100%);
  mask-image: radial-gradient(circle, white 100%, transparent 100%);

  /* 緑系の影 */
  box-shadow:
    0 8px 20px rgba(34, 139, 34, 0.4),
    0 4px 10px rgba(34, 139, 34, 0.3),
    0 0 15px rgba(57, 255, 20, 0.3);

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 700;

  border: 2px solid rgba(57, 255, 20, 0.6) !important;
  outline: none !important;
}

/* ホバー効果 */
.floating-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(135deg, #32CD32 0%, #228B22 50%, #006400 100%);
  box-shadow:
    0 12px 30px rgba(57, 255, 20, 0.5),
    0 6px 15px rgba(57, 255, 20, 0.4),
    0 0 25px rgba(57, 255, 20, 0.4);
  border-color: rgba(57, 255, 20, 0.8) !important;
}

/* フォーカス */
.floating-btn:focus {
  outline: none !important;
  border: 2px solid rgba(57, 255, 20, 0.8) !important;
  box-shadow:
    0 8px 20px rgba(34, 139, 34, 0.4),
    0 4px 10px rgba(34, 139, 34, 0.3),
    0 0 0 3px rgba(57, 255, 20, 0.3);
}

/* ---------------------
   光沢エフェクト
---------------------- */
.floating-btn::before {
  content: '';
  position: absolute;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(57, 255, 20, 0.2),
    rgba(255, 255, 255, 0)
  );

  transform: rotate(45deg);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}

/* テキスト */
.btn-text {
  font-size: 1.0rem;
  line-height: 1.2;
  text-align: center;
  font-weight: 800;
  color: #fff;
  text-shadow: 
    0 0 8px rgba(57, 255, 20, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.8),
    1px 1px 2px rgba(0, 0, 0, 0.9);
  z-index: 2;
  position: relative;
}

/* 浮遊アニメーション */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

/* 光沢アニメーション */
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  50% {
    transform: translateX(100%) rotate(45deg);
  }
  100% {
    transform: translateX(-100%) rotate(45deg);
  }
}

/* ---------------------
   枠の点滅エフェクト
---------------------- */
.floating-btn::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;

  border: 2px solid #39FF14;
  border-radius: 50%;
  opacity: 0;

  animation: urgentBlink 2s ease-in-out infinite;
}

@keyframes urgentBlink {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(57, 255, 20, 0);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.6);
  }
}

/* ---------------------
   パルス効果
---------------------- */
.floating-btn {
  animation: buttonPulse 3s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(34, 139, 34, 0.4),
      0 4px 10px rgba(34, 139, 34, 0.3),
      0 0 15px rgba(57, 255, 20, 0.3);
  }
  50% {
    box-shadow:
      0 8px 20px rgba(34, 139, 34, 0.6),
      0 4px 10px rgba(34, 139, 34, 0.5),
      0 0 25px rgba(57, 255, 20, 0.5);
  }
}

/* ---------------------
   レスポンシブ対応
---------------------- */
@media (max-width: 1024px) {
  .floating-cta { bottom: 25px; right: 25px; }
  .floating-btn { width: 105px; height: 105px; }
  .btn-text { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .floating-cta { bottom: 20px; right: 20px; }
  .floating-btn { width: 100px; height: 100px; }
  .btn-text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .floating-cta { bottom: 15px; right: 15px; }
  .floating-btn { width: 95px; height: 95px; }
  .btn-text { font-size: 0.85rem; }
}

/* 動きを少なくしたい環境 */
@media (prefers-reduced-motion: reduce) {
  .floating-cta { animation: none; }
  .floating-btn { animation: none; }
  .floating-btn::before { animation: none; }
  .floating-btn::after { animation: none; }
  .floating-btn:hover { transform: none; }
}

/* 印刷では非表示 */
@media print {
  .floating-cta { display: none; }
}