/************************
  solutions セクション全体
************************/

.solutions-section {
  padding: 20px 20px;
  text-align: center;
  max-width: calc(100% - 200px);
  margin: 0 auto; /* 中央寄せ */
}

/* 小見出し（h3） */
.solutions-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937; /* text-gray-800 */
  margin-bottom: 4px; /* 行間を詰める */
  line-height: 1.4;
}


/* メイン見出し（h2） */
.solutions-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #1f2937;
  margin-top: 0;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.solutions-title .highlight {
  color: #06b6d4; /* アクセントカラー（シアン） */
}


@media (min-width: 768px) {
  .solutions-title {
    font-size: 2rem;
  }
}

/************************
  グリッドレイアウト
************************/

.solutions-section .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1023px) {
  .solutions-section .grid {
    grid-template-columns: 1fr;
  }
}

/************************
  カード本体
************************/

.solution-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/************************
  ヘッダー部分（番号・課題・解決）
************************/

/* 番号表示 */
.solution-number {
  font-weight: bold;
  color: #f43f5e; /* rose-500 */
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* 課題のラベル */
.solution-issue-box {
  display: flex;
  align-items: center;
  background-color: #fde2e2;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.solution-issue-box .icon {
  width: 34px;
  height: 34px;
}

.issue-text {
  font-weight: 500;
font-size: 1.15rem;
  color: #1e293b;
  margin: 0;
}

/* 解決のラベル */
.solution-answer-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.solution-answer-box .icon {
  width: 34px;
  height: 34px;
}

.answer-text {
  font-weight: 800;
	  font-size: 1.275rem;
  color: #111827; /* text-gray-900 */
  margin: 0;
}

/************************
  本文画像・説明文
************************/

.solution-card img.w-full {
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.solution-card p.text-sm {
  color: #4b5563; /* text-gray-600 */
  font-size: 0.875rem;
  line-height: 1.6;
	  text-align: left;
}

/************************
  その他色指定（再利用用）
************************/

.solution-card .text-green-600 {
  color: #16a34a;
}

.solution-issue-box .issue-text,
.solution-answer-box .answer-text {
  text-align: left;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 1.8em; /* 約2行分の高さを確保（1.4 × 2） */
}

@media (max-width: 767px) {
  .solutions-section {
    max-width: 100%;
    padding: 40px 16px; /* スマホでの余白を少し狭める */
  }
}