/* 読み物系ページ（プライバシーポリシー・利用規約・ふところ日和について・使い方・お問い合わせ・
   お役立ち記事）で共通して使う、最小限の追加スタイル。
   アプリ本体（style.css）の配色・フォント・カードデザインはそのまま流用し、ここでは
   文章の読みやすさに関わる部分（行間・余白・リンク色）だけを補っている。 */
.policy-section p,
.policy-section li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text);
}

.policy-section p {
  margin: 0 0 10px;
}

.policy-section ul {
  margin: 0 0 10px;
  padding-left: 1.4em;
}

.policy-section li {
  margin-bottom: 6px;
}

.policy-section h3 {
  font-size: 0.98rem;
  margin: 0 0 8px;
}

.policy-section a {
  color: var(--color-primary-dark);
}

/* .policy-section a の文字色指定より優先させるため、ボタンには専用のセレクタで上書きする。
   特にbtn-primaryは背景色（テーマのメインカラー）と文字色が近くなり読みにくくなるため、白・太字にする。 */
.policy-section a.btn {
  text-decoration: none;
  text-align: center;
}

.policy-section a.btn-primary {
  color: #fff;
  font-weight: 700;
}

.policy-updated {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: right;
}

.back-to-app-row {
  display: flex;
  justify-content: center;
  padding: 4px 0 8px;
}

/* 手順を番号付きで説明するページ（使い方ガイド・音声入力のお困りページ等）で共通して使う見出し。 */
.guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
}

.guide-step-title {
  display: flex;
  align-items: center;
}

/* 機能紹介ページ（features/）の画面キャプチャ。横幅いっぱいに大きく表示されすぎないよう、
   スマホの実機幅に近い最大幅に抑え、中央寄せにする。 */
.feature-screenshot-figure {
  margin: 16px 0;
  text-align: center;
}

.feature-screenshot-figure img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-screenshot-figure figcaption {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* 画面キャプチャを2枚並べたいとき（例：目標の範囲内／オーバーの見比べ）。
   1枚あたりの最大幅を狭めて、スマホ幅でも横に並び、大きくなりすぎないようにする。 */
.feature-screenshot-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-screenshot-row .feature-screenshot-figure {
  margin: 0;
  flex: 1 1 140px;
  max-width: 180px;
}

.feature-screenshot-row .feature-screenshot-figure img {
  max-width: 100%;
}

/* 機能紹介の入口ページ（features/index.html）のカード一覧。articles/index.htmlの
   .article-list と同じ考え方（カード型リンク、カード内で見出し＋説明文）。 */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list-item a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
}

.feature-list-item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.feature-list-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
