/* このページだけの追加調整（結果カード下の余白はshared.cssに共通化済み） */
/* Founderレビュー：文字量・情報設計の見直し（この1ツールのみ対象） */

/* 見出し・補足文・チェック項目の階層をはっきり分ける */
.section-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.section-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* 詳細説明は「詳しく見る」に分離し、初期表示の文字量を減らす */
.section-details {
  margin: 0 0 0.85rem;
}

/* summaryを1つの押せる行として整える。標準の三角マーカーは消し、
   CSSで統一したシェブロンに置き換える */
.section-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-left: -0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.section-details summary::-webkit-details-marker {
  display: none;
}
.section-details summary::marker {
  content: none;
}
.section-details summary:hover,
.section-details summary:focus-visible {
  color: var(--text);
  background: var(--surface);
}
.section-details summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

/* シェブロン：閉時は右向き、開くと下向きに回転 */
.section-details summary::after {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.section-details[open] summary::after {
  transform: rotate(45deg);
}

/* 開いた本文は「一段下の補足情報」に見えるよう、地の色を変えた箱にする */
.section-details p {
  margin: 0.5rem 0 0;
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* チェック項目は16px以上、1行で読める長さに短縮済み */
.checklist label {
  font-size: 1rem;
  line-height: 1.6;
}

/* 結果メッセージ：完了時は複数行のため左寄せ・行間広めに */
.result {
  font-size: 1rem;
  white-space: pre-line;
}
.result.complete {
  text-align: left;
  line-height: 1.7;
}

/* 完了後の次の一歩は1つだけ、はっきり見せる */
.next-step {
  margin-bottom: 2rem;
}
.next-step-link {
  display: block;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--text);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  box-sizing: border-box;
}
.next-step-link:hover {
  opacity: 0.85;
}
