/* =============================================
   課題と解決（/solution/ ・ /solution/{slug}/）
   Figma: Solution_Wire_PC (1966:562) / Solution_01〜06 (1991:924 ほか)
   記事の枠（kn-article / kn-chapter / kn-toc）は knowledge.css、
   タイトル帯・パンくず・NEXT は service.css を共用する。so- は本ページ固有。
   ============================================= */

.so-chapter {
  gap: 24px;
}

.so-chapter.is-gap32 {
  gap: 32px;
}

.so-p {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--sv-sec);
  overflow-wrap: anywhere;
}

.so-callout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--sv-gold);
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.so-callout-label {
  font-weight: 700;
  font-size: 12px;
  color: var(--sv-gold);
}

.so-callout-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--sv-ink);
}

.so-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-list li {
  display: flex;
  gap: 8px;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--sv-sec);
}

.so-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--sv-gold);
}

.so-silo,
.so-hex {
  margin: 0;
}

.so-silo img {
  display: block;
  width: 100%;
  height: auto;
}

/* CW/Img：左右に余白のある画像を、776×560の枠いっぱいに寄せて切り抜く */
.so-hex {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
  padding: 24px 0;
  overflow: hidden;
  border-radius: 8px;
}

.so-hex img {
  display: block;
  flex: none;
  max-width: none;
  height: 100%;
  width: auto;
}

/* ch04：6つの観点 */
.so-groups {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.so-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.so-group-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.so-group-en {
  font-family: var(--kn-en-cond);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--sv-blue);
}

.so-group-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--sv-ink);
}

.so-group-text {
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--sv-sec);
}

.so-policies {
  margin: 0;
  padding: 0;
  list-style: none;
}

.so-policy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e7e6;
}

.so-policy-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--sv-ink);
}

.so-policy-text {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--sv-sec);
}

/* 04_Other */
.so-other {
  background: #fff;
}

.so-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.so-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--sv-line);
  transition: box-shadow 0.3s, transform 0.3s;
}

.so-tile:hover {
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
  transform: translateY(-2px);
}

.so-tile-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--sv-ink);
}


@media (max-width: 1024px) {
  .so-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .so-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-hex {
    height: auto;
    padding: 0;
  }

  .so-hex img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .so-callout {
    padding: 20px;
  }
}

.so-tile .kn-more {
  height: 40px;
}

.so-page .kn-body {
  gap: 64px;
}

/* ハブの「詳しく読む」は a 要素そのもの。.kn-page a の色指定に負けないようにする */
.kn-page a.kn-more {
  color: var(--sv-gold);
}
