/* 利用可能な決済方法セクション専用CSS */

.payment-methods-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.payment-methods-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 248, 255, 0.6) 0%, transparent 70%);
  z-index: 0;
}

.payment-methods-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(248, 250, 252, 0.8) 0%, transparent 70%);
  z-index: 0;
}

.payment-methods-section .container {
  position: relative;
  z-index: 1;
}

.payment-methods-section .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.payment-methods-section .section-title h3 {
  font-size: 42px;
  font-weight: 700;
  color: var(--headings-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.payment-methods-section .section-title h3 span {
  background: linear-gradient(135deg, #4a90e2 0%, #6bb6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.payment-methods-section .section-title h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e7dd 100%);
  border-radius: 2px;
}

.payment-methods-section .section-title p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  max-width: 700px;
  margin: 30px auto 0;
}

/* メインカード */
.payment-main-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.payment-main-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.payment-card-header {
  background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(116, 185, 255, 0.1);
}

.payment-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(116, 185, 255, 0.03) 0%, transparent 70%);
  animation: float 30s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.payment-card-header h4 {
  color: #2c3e50;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.5px;
}

.payment-card-header .badge {
  background: rgba(116, 185, 255, 0.15);
  color: #4a90e2;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(116, 185, 255, 0.2);
}

.payment-card-body {
  padding: 40px 30px;
}

/* 決済方法グリッド - シンプル版 */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.payment-method-item {
  background: #ffffff;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.payment-method-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.8) 0%, rgba(232, 244, 253, 0.6) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.payment-method-item:hover::before {
  width: 100%;
}

.payment-method-item:hover {
  border-color: #d1e7dd;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(116, 185, 255, 0.12);
}

.payment-method-item .method-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e7dd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(116, 185, 255, 0.15);
  border: 1px solid rgba(116, 185, 255, 0.1);
}

.payment-method-item .method-icon i {
  font-size: 32px;
  color: #4a90e2;
}

.payment-method-item .method-name {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.payment-method-item .method-description {
  font-size: 14px;
  color: #64748b;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* 特別な決済方法のハイライト - プリペイドカード */
.payment-method-item.featured {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #a7f3d0;
  border-width: 2px;
}

.payment-method-item.featured .method-icon {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.payment-method-item.featured .method-icon i {
  color: #059669;
}

.payment-method-item.featured::after {
  content: 'お得';
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #60A5FA 0%, #059669 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* プリペイドカード情報 */
.prepaid-info {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.prepaid-info::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.prepaid-info h5 {
  font-size: 24px;
  color: #059669;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.prepaid-info .discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #60A5FA 0%, #059669 100%);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.prepaid-info p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* その他の決済方法 */
.other-payment-info {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.other-payment-info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

/* 決済方法バッジ */
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.payment-badges .badge {
  background: rgba(54, 144, 217, 0.1);
  color: var(--theme-color1);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(54, 144, 217, 0.2);
  transition: all 0.3s ease;
}

.payment-badges .badge:hover {
  background: var(--theme-color1);
  color: white;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {
  .payment-methods-section {
    padding: 70px 0;
  }
  
  .payment-methods-section .section-title h3 {
    font-size: 36px;
  }
  
  .payment-card-header h4 {
    font-size: 24px;
  }
  
  .payment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .payment-method-item {
    min-height: 180px;
    padding: 25px 20px;
  }
  
  .payment-method-item .method-icon {
    width: 70px;
    height: 70px;
  }
  
  .payment-method-item .method-icon i {
    font-size: 32px;
  }
  
  .payment-method-item .method-name {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .payment-methods-section {
    padding: 60px 0;
  }
  
  .payment-methods-section .section-title h3 {
    font-size: 32px;
  }
  
  .payment-methods-section .section-title p {
    font-size: 16px;
  }
  
  .payment-card-header {
    padding: 25px 20px;
  }
  
  .payment-card-body {
    padding: 30px 20px;
  }
  
  .payment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .payment-method-item {
    min-height: 150px;
    padding: 25px 20px;
  }
  
  .payment-method-item .method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .payment-method-item .method-icon i {
    font-size: 28px;
  }
  
  .payment-method-item .method-name {
    font-size: 18px;
  }
  
  .prepaid-info h5 {
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .payment-methods-section .section-title h3 {
    font-size: 28px;
  }
  
  .payment-card-header h4 {
    font-size: 20px;
  }
  
  .payment-method-item .method-name {
    font-size: 14px;
  }
  
  .payment-method-item .method-icon {
    width: 35px;
    height: 35px;
  }
  
  .payment-method-item .method-icon i {
    font-size: 18px;
  }
}