/* ========================================================================
 * review_modal.css — 商品レビューポップアップ (口コミ全文表示モーダル)
 *
 * 切り出し元: ページ生成/area/assets/css/area_style.css L1770-1897 (2026-06-03)
 * 用途: area / chain 両ページで共通利用 (.js-review-pop カードクリックで表示)
 * 対応 JS: common/js/area_reviews.js (review_modal モジュール)
 * クラス命名: .rv-modal-* (28 クラス)
 * ======================================================================== */

.rv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}
.rv-modal-overlay.is-open {
  display: flex;
}
.rv-modal {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 18px 16px 16px;
}
.rv-modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.rv-modal-head {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.rv-modal-imgwrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}
.rv-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-modal-info {
  flex: 1;
  min-width: 0;
}
.rv-modal-name {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin: 0 0 3px;
}
/* 一覧カードのスタイルに合わせる: 店名はグレー細字 */
.rv-modal-shop {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin: 0 0 4px;
}
/* 評価: ★(黄) + 点数(太字) + 件数(グレー) */
.rv-modal-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}
.rv-modal-star {
  color: #ffcc00;
  margin-right: 3px;
}
.rv-modal-score {
  font-weight: bold;
  color: #333;
  margin-right: 4px;
}
.rv-modal-count {
  color: #666;
}
.rv-modal-reviews {
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
}
.rv-modal-bubble {
  padding: 8px 0;
  border-bottom: 1px solid #f4f4f4;
}
.rv-modal-bubble:last-child {
  border-bottom: none;
}
.rv-modal-stars {
  color: #ffcc00;
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}
.rv-modal-comment {
  font-size: 12px;
  line-height: 1.55;
  color: #444;
  margin: 0;
  word-break: break-word;
}
/* ポップアップ下部のアプリDL CTA（緑ボタン・下部に追従、左右下に余白を取りボタン表示） */
.rv-modal-cta {
  position: sticky;
  bottom: 0;
  display: block;
  margin: 14px 0 0;       /* 左右はモーダル padding(16px) ぶんの余白、下はモーダル padding-bottom */
  padding: 14px 16px;
  background: #43c66f;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;   /* ボタンらしく角丸 */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
