/* 配信代行カード */

.delivery-proxy-card {
  position: relative;
  overflow: hidden;
}

/* Eメール配信代行カード */
#delivery-proxy-email {
  border-color: #87CEEB;
  box-shadow: 0 8px 30px rgba(79, 165, 230, 0.12);
}

#delivery-proxy-email .proxy-icon-label {
  color: #4FA5E6;
}

#delivery-proxy-email .proxy-price-box {
  background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
}

#delivery-proxy-email:hover {
  box-shadow: 0 12px 40px rgba(79, 165, 230, 0.18) !important;
}

/* LINE配信代行カード */
#delivery-proxy-line {
  border-color: #00B900;
  box-shadow: 0 8px 30px rgba(0, 185, 0, 0.12);
}

#delivery-proxy-line .proxy-icon-label {
  color: #00B900;
}

#delivery-proxy-line .proxy-price-box {
  background: linear-gradient(135deg, #00B900 0%, #00a000 100%);
}

#delivery-proxy-line:hover {
  box-shadow: 0 12px 40px rgba(0, 185, 0, 0.18) !important;
}

/* SMS配信代行カード */
#delivery-proxy-sms {
  border-color: #ff567d;
  box-shadow: 0 8px 30px rgba(255, 86, 125, 0.12);
}

#delivery-proxy-sms .proxy-icon-label {
  color: #ff567d;
}

#delivery-proxy-sms .proxy-price-box {
  background: linear-gradient(135deg, #ff567d 0%, #ff3d66 100%);
}

#delivery-proxy-sms:hover {
  box-shadow: 0 12px 40px rgba(255, 86, 125, 0.18) !important;
}

.delivery-proxy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.delivery-proxy-card:hover::before {
  left: 100%;
}

.delivery-proxy-card:hover {
  transform: translateY(-5px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .delivery-proxy-card {
    margin: 20px 20px 20px !important;
    padding: 25px 20px !important;
  }
  
  .delivery-proxy-card h3 {
    font-size: 1.4rem !important;
    margin-bottom: 6px !important;
  }
  
  .delivery-proxy-card > div:first-child {
    margin-bottom: 15px !important;
  }
  
  .delivery-proxy-card > div:first-child p {
    font-size: 0.9rem !important;
  }
  
  /* アイコン行を2列表示に */
  .delivery-proxy-card > div:nth-child(2) {
    gap: 25px 20px !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
  }
  
  .delivery-proxy-card > div:nth-child(2) > div {
    flex: 0 0 calc(50% - 10px);
  }
  
  .delivery-proxy-card > div:nth-child(2) > div > div:first-child {
    font-size: 2.2rem !important;
    margin-bottom: 2px !important;
  }
  
  .delivery-proxy-card > div:nth-child(2) > div > p {
    font-size: 0.8rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:first-child {
    font-size: 1rem !important;
    margin-bottom: 3px !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:first-child span {
    font-size: 1.2rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:last-child {
    font-size: 0.85rem !important;
  }
  
  .delivery-proxy-card a {
    padding: 13px 30px !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .delivery-proxy-card h3 {
    font-size: 1.2rem !important;
  }
  
  .delivery-proxy-card > div:first-child p {
    font-size: 0.85rem !important;
  }
  
  /* アイコン行を2列表示に */
  .delivery-proxy-card > div:nth-child(2) {
    gap: 20px 15px !important;
  }
  
  .delivery-proxy-card > div:nth-child(2) > div > div:first-child {
    font-size: 1.8rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(2) > div > p {
    font-size: 0.7rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:first-child {
    font-size: 0.95rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:first-child span {
    font-size: 1.05rem !important;
  }
  
  .delivery-proxy-card > div:nth-child(3) p:last-child {
    font-size: 0.8rem !important;
  }
  
  .delivery-proxy-card a {
    padding: 12px 25px !important;
    font-size: 0.95rem !important;
  }
}

/* アニメーション効果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delivery-proxy-card {
  animation: fadeInUp 0.6s ease-out;
}

.delivery-proxy-card > div:nth-child(2) > div {
  transition: all 0.3s ease;
}

.delivery-proxy-card > div:nth-child(2) > div:hover > div:first-child {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}
