/* RPO Problems Section Styles */

.rpo-problems {
  padding: var(--spacing-2xl) 0;
}

.rpo-problems__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2xl);
  padding: 0 160px var(--spacing-2xl);
  max-width: 1440px;
  margin: 0 auto;
}

/* サービス概要 */
.rpo-problems__overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.rpo-problems__overview-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rpo-problems__title {
  font-family: var(--font-family-main);
  font-weight: 500;
  font-size: var(--font-size-4);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  letter-spacing: 3.2px;
  text-align: center;
  margin: 0;
}

.rpo-problems__description {
  font-family: var(--font-family-main);
  font-weight: 500;
  font-size: var(--font-size-8);
  line-height: 1.86;
  color: var(--color-text-primary);
  letter-spacing: 0.48px;
  text-align: center;
  max-width: 886px;
  margin-top: var(--spacing-lg);
}

/* 解決できる悩み */
.rpo-problems__solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  width: 100%;
}

.rpo-problems__solution-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.rpo-problems__solution-title {
  font-family: var(--font-family-main);
  font-weight: 500;
  font-size: var(--font-size-4);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  letter-spacing: 3.2px;
  text-align: center;
  margin: 0;
}

.rpo-problems__cards {
  display: flex;
  gap: var(--spacing-xl);
  padding: var(--spacing-md) 0;
  width: 100%;
  justify-content: center;
}

.rpo-problems__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  width: 346.67px;
}

.rpo-problems__card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  background-color: var(--color-white);
  border-radius: 100px;
  padding: 34px 40px;
}

.rpo-problems__card-icon svg {
}

.rpo-problems__card-title {
  font-family: var(--font-family-main);
  font-weight: 500;
  font-size: var(--font-size-5);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
  letter-spacing: 0.72px;
  text-align: center;
  margin: 0;
  width: 346.67px;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .rpo-problems__content {
    padding: 0 var(--spacing-2xl) var(--spacing-2xl);
  }
  
  .rpo-problems__cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .rpo-problems__card {
    width: 300px;
  }
  
  .rpo-problems__card-title {
    width: 300px;
  }
}

@media screen and (max-width: 960px) {
  .rpo-problems__content {
    padding: 0 var(--spacing-md) var(--spacing-2xl);
    gap: var(--spacing-xl);
  }
  
  .rpo-problems__title {
    font-size: var(--font-size-5);
    letter-spacing: 2.4px;
  }
  
  .rpo-problems__solution-title {
    font-size: var(--font-size-5);
    letter-spacing: 2.4px;
  }
  
  .rpo-problems__cards {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }
  
  .rpo-problems__card {
    width: 100%;
    max-width: 400px;
  }
  
  .rpo-problems__card-title {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .rpo-problems {
    padding: var(--spacing-xl) 0;
    padding-top: 0;
  }
  
  .rpo-problems__content {
    padding: 0;
    gap: var(--spacing-xl);
  }
  
  .rpo-problems__overview-text {
    gap: var(--spacing-sm);
  }
  .rpo-problems__title {
    font-size: var(--font-size-7);
    letter-spacing: 1.8px;
  }
  
  .rpo-problems__solution-title {
    font-size: var(--font-size-7);
    letter-spacing: 1.8px;
  }
  
  .rpo-problems__description {
    font-size: var(--font-size-9);
    letter-spacing: 0.36px;
    text-align: left;
    margin-top: 0;
  }
  .rpo-problems__solution {
    gap: var(--spacing-md);
  }
  .rpo-problems__cards {
    gap: var(--spacing-md) 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    padding: 0;

  }
  .rpo-problems__card {
    gap: var(--spacing-xs);
    width: calc(100% / 2);
  }
  
  .rpo-problems__card-icon {
    width: 120px;
    height: 120px;
    padding: 24px;
  }
  
  .rpo-problems__card-icon svg {
    width: 72px;
    height: 72px;
  }
  
  .rpo-problems__card-title {
    font-size: var(--font-size-10);
    letter-spacing: 0.54px;
  }
}
