/* =========================
   成功モーダル（共通）
========================= */

/* 画面全体を暗くする背景 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* モーダル本体 */
.modal-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  text-align: center;
  animation: modalFadeIn .25s ease-out;
}

.modal-box h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #1f7a3a;
}

.modal-box p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #333;
}

/* ボタン */
.modal-actions a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.modal-actions a:hover {
  opacity: .9;
}

/* フェードイン */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-box {
  background: #f5f8ff;
  border: 1px solid #dbe4ff;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0 24px;
}

.info-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.info-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}
/* 画像なし用：ダミー四角（一覧の崩れ防止） */
.thumb-placeholder{
  width:120px;
  height:120px;
  border-radius:16px;
  background:#eef2f7;
  border:1px solid #d8e0ea;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  font-size:12px;
}