/* ========================================
   極上おしゃれボタン - les SALON
   ======================================== */

/* ===== 基本ボタン（金色グラデーション） ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-ja-sans);
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* ===== プライマリボタン（金色） ===== */
.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 3px solid transparent;
  background-clip: padding-box;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ===== アウトラインボタン（白抜き金縁） ===== */
.btn-outline-primary {
  background: transparent;
  color: #fff;
  border: 3px solid #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-outline-primary:hover {
  background: #fff;
  color: #D4AF37;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  text-shadow: none;
}

.btn-outline-primary:active {
  transform: translateY(-1px);
}

/* ===== セカンダリボタン（濃い色用） ===== */
.btn-secondary {
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 3px solid transparent;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
}

/* ===== 大きいボタン ===== */
.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* ===== 固定ページ内のボタン ===== */
.equipment-detail-page .btn-primary,
.equipment-detail-page .cta-button .btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%) !important;
  color: #fff !important;
  border: 3px solid transparent !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.equipment-detail-page .btn-primary:hover,
.equipment-detail-page .cta-button .btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
  background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 100%) !important;
}

.equipment-detail-page .btn-outline-primary {
  background: transparent !important;
  color: #B8860B !important;
  border: 3px solid #D4AF37 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.equipment-detail-page .btn-outline-primary:hover {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4) !important;
}

/* ===== CTAセクション内のボタン ===== */
.cta-section .btn,
.booking-cta .btn,
.cta-buttons .btn {
  min-width: 250px;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* ===== ヒーローセクション内のボタン ===== */
.hero-buttons .btn {
  min-width: 200px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ===== アイコン付きボタン ===== */
.btn i,
.btn .icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
  vertical-align: middle;
}

/* ===== モバイル対応 ===== */
@media (max-width: 767px) {
  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
  }
  
  .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
  
  .cta-section .btn,
  .booking-cta .btn,
  .cta-buttons .btn {
    min-width: 100%;
    width: 100%;
  }
  
  .hero-buttons .btn {
    min-width: 100%;
    width: 100%;
  }
}

/* ===== ボタングループ ===== */
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.button-group .btn {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 767px) {
  .button-group {
    flex-direction: column;
  }
  
  .button-group .btn {
    width: 100%;
  }
}

/* ===== サービスボタン専用スタイル ===== */
.service-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 180px !important;
}

.service-btn .btn-icon {
  font-size: 1.25rem !important;
  transition: transform 0.3s ease !important;
}

.service-btn .btn-text {
  font-weight: 700 !important;
}

.service-btn .btn-arrow {
  font-size: 1.125rem !important;
  transition: transform 0.3s ease !important;
  margin-left: 0.25rem !important;
}

.service-btn:hover .btn-icon {
  transform: scale(1.2) rotate(10deg) !important;
}

.service-btn:hover .btn-arrow {
  transform: translateX(4px) !important;
}

/* ===== ローディング状態 ===== */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ===== 光沢エフェクト ===== */
.btn.shine {
  background-size: 200% 200%;
  animation: shineMove 3s ease infinite;
}

@keyframes shineMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
