/*
 * 課題別の解決力（/challenges/ と各課題ページ）2026-10 の追加スタイル
 * - 一覧: 各課題に「柱：止まらない／迷わない／伝わる」のラベル（トップ・/benefits/ と同じ3つの柱）
 * - 各課題ページ: 末尾の「課題別の解決力 一覧」の前に「この課題に応える柱」→ /benefits/#pillar-*
 * - 文字組みは /benefits/ と同じ基準（assets/css/benefits-v2.css 冒頭の表）
 * - 変更したら、読み込んでいる5ページ（一覧＋柱のある4課題）の ?v= を上げる
 */

/* 一覧: 柱のラベル */
.p-challengesV2-pillar {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .1rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  background: #29baa2;
}

/* 各課題ページ: この課題に応える柱 */
.p-challengesV2-related {
  padding: 40px 20px;
  background: #f9ffeb;
}
.p-challengesV2-related__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.p-challengesV2-related__label {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.7;
  color: #1d3d36;
}
.p-challengesV2-related__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  padding: 2rem 2.4rem;
  border: 1px solid #cfe9e4;
  border-radius: 8px;
  background: #fff;
  color: #1d3d36;
  transition: box-shadow .3s;
}
.p-challengesV2-related__link:hover,
.p-challengesV2-related__link:focus-visible {
  box-shadow: 0 4px 16px rgba(41, 186, 162, .2);
}
.p-challengesV2-related__link b {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #29baa2;
}
.p-challengesV2-related__link span {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}
.p-challengesV2-related__link span::after {
  content: " →";
  color: #1f8f7c;
}

@media screen and (min-width: 768px), print {
  .p-challengesV2-related {
    padding: 56px 32px;
  }
  .p-challengesV2-related__label {
    font-size: 1.6rem;
  }
  .p-challengesV2-related__link {
    flex-direction: row;
    justify-content: center;
    gap: 1.6rem;
  }
  .p-challengesV2-related__link b {
    font-size: 2rem;
  }
  .p-challengesV2-related__link span {
    font-size: 1.6rem;
  }
}
