/* ===== MinpakuForms: frontend.css（統一・重複排除版） ===== */

/* ベース */
.mpf-entry{ margin:1.5rem 0; font-size:16px; line-height:1.8; }
.mpf-row{ display:block; padding:.6rem 0; border-bottom:1px solid #eee; margin:0; }
.mpf-row:last-child{ border-bottom:none; }

/* ラベル/値 */
.mpf-label{ display:block; font-weight:700; color:#111; margin-bottom:.25rem; font-size:1rem; }
.mpf-val{ word-break:break-word; }
.mpf-val img{ max-width:100%; height:auto; border-radius:6px; display:block; margin:.4rem 0; }

/* ─ グループカード（枠＋見出し） ─ */
.mpf-card{
  border:1px solid #e5e7eb; border-radius:10px;
  padding:1.1rem 1.2rem; margin:1.5rem 0; background:#fafafa;
}
.mpf-card__title{
  margin:.1rem 0 1rem; font-size:1.125rem; line-height:1.4;
  font-weight:700; border-left:4px solid #0ea5e9; padding-left:.6rem; color:#111827;
}

/* トップレベルのラベルは“少し大きく” */
.mpf-card > .mpf-row > .mpf-label{ font-size:1.06rem; }

/* ─ サブグループ（区切り線だけ入れる・ラベルは太字のまま） ─ */
.mpf-sub{ border-top:1px dashed #e5e7eb; padding-top:.8rem; margin-top:.6rem; }
.mpf-sub__title{ margin:0 0 .6rem; font-weight:700; color:#374151; }

/* 読みやすさオプション */
@media (min-width: 800px){
  /* 2カラムにしたい場合はコメント解除 */
  /* .mpf-card > .mpf-row{display:grid;grid-template-columns:220px 1fr;gap:.6rem 1rem} */
}

/* 印刷向け: カード途中で改ページしにくくする */
@media print{
  .mpf-card{ page-break-inside: avoid; }
}
