/* ボタン */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: inherit;
  user-select: none;
}

.btn--primary {
  background: var(--accent-color);
  color: var(--bg-white);
  box-shadow: var(--box-shadow-button);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.5);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--bg-white);
  color: var(--text-color);
  box-shadow: var(--box-shadow);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

.btn--lg {
  font-size: 1.5rem;
  padding: 20px 50px;
}

.btn--md {
  font-size: 1.1rem;
  padding: 15px 35px;
}

.btn--sm {
  font-size: 1rem;
  padding: 12px 25px;
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-lg);
  margin-bottom: 20px;
}

.badge--warning {
  background: var(--warning-color);
  color: var(--text-color);
}

.badge--success {
  background: var(--success-color);
  color: var(--bg-white);
}

/* カード */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 40px 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.card--featured {
  background: var(--primary-gradient);
  color: var(--bg-white);
  transform: scale(1.05);
  position: relative;
  z-index: 2;
}

.card--featured::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* アイコン */
.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.card--featured .icon {
  background: var(--bg-white);
  color: var(--text-color);
}

/* タイポグラフィ */
.heading-xl {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.heading-lg {
  font-size: 2.5rem;
  margin-bottom: 40px;
  line-height: 1.3;
}

.heading-md {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.heading-sm {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.price {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  color: var(--accent-color);
}

.card--featured .price {
  color: var(--bg-white);
}

/* リスト */
.list {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.list__item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-lighter);
  position: relative;
  padding-left: 20px;
}

.list__item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: var(--font-weight-bold);
}

.list__item:last-child {
  border-bottom: none;
}

.card--featured .list__item {
  border-bottom-color: rgba(255,255,255,0.2);
}

.card--featured .list__item::before {
  color: var(--bg-white);
}

/* お客様の声 */
.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial__text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial__author {
  font-weight: var(--font-weight-bold);
  color: var(--accent-color);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .heading-xl {
    font-size: 2rem;
  }
  
  .heading-lg {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .heading-md {
    font-size: 1.3rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
  
  .btn--lg {
    font-size: 1.2rem;
    padding: 18px 40px;
  }
  
  .card {
    padding: 30px 20px;
  }
  
  .icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .testimonial {
    padding: 30px 20px;
  }
  
  .testimonial__text {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .heading-xl {
    font-size: 1.8rem;
  }
  
  .heading-lg {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .btn--lg {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
}