/* お便りフォーム：テーマカードの中の「お便りのヒント」
   最初は閉じていて、押すと開く。ヒントは1行に1つ（PC でも1列）。 */
.fmp-theme-card .fmp-hints { margin-top: 14px; border-top: 1px dashed #372D21; }
.fmp-theme-card .fmp-hints[hidden] { display: none; }
.fmp-theme-card .fmp-hints__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 48px; margin: 0; padding: 0 2px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: #372D21; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0.06em; text-align: left;
  cursor: pointer; -webkit-appearance: none; appearance: none;
}
.fmp-theme-card .fmp-hints__toggle:focus-visible { outline: 2px solid #372D21; outline-offset: 2px; }
.fmp-theme-card .fmp-hints__toggle svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.fmp-theme-card .fmp-hints__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.fmp-theme-card .fmp-hints__body { padding: 4px 2px 16px; }
.fmp-theme-card .fmp-hints__body[hidden] { display: none; }
.fmp-theme-card .fmp-hints__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fmp-theme-card .fmp-hints__list li {
  position: relative; margin: 0; padding: 0 0 0 14px;
  color: #372D21; font-size: 14px; font-weight: 400; line-height: 1.7; letter-spacing: 0.02em;
}
.fmp-theme-card .fmp-hints__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.fmp-theme-card .fmp-hints__closing { margin: 12px 0 0; font-size: 13px; font-weight: 400; line-height: 1.8; letter-spacing: 0.04em; }
.fmp-theme-card .fmp-hints__closing:empty { display: none; }
/* ヒントの欄があるときは、カードの下の余白を詰める（下の線と開閉ボタンがカードの底に来るように） */
.fmp-theme-card.has-hints { padding-bottom: 6px; }
@media (max-width: 700px) {
  .fmp-theme-card .fmp-hints__list li { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .fmp-theme-card .fmp-hints__toggle svg { transition: none; } }

/* Small-text typography must not embolden the hint copy. */
#letter-form .fmp-theme-card .fmp-hints__list li,
#letter-form .fmp-theme-card .fmp-hints__closing { font-weight: 400 !important; }
