/* 祈祷の実写真から受付案内・電話へつなぐ */
.prayer-scenes { background: #f1eee7; }
.prayer-scenes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.prayer-scenes-grid figure { margin: 0; min-width: 0; }
.prayer-scenes-grid img { display: block; width: 100%; height: auto; border-radius: 4px; }
.prayer-scenes-grid figcaption { padding: 12px 0; font-size: 16px; line-height: 1.7; color: #49443d; }
.prayer-scenes-next { margin-top: 22px; text-align: center; }
.prayer-scenes-next p { font-size: 16px; line-height: 1.9; }
.prayer-scenes-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0; }
.prayer-scenes-actions a { min-height: 48px; box-sizing: border-box; text-align: center; }
.prayer-scenes-actions .prayer-scenes-phone { background: #58483b; color: #fff; }
.prayer-scenes-next .prayer-scenes-hours { font-size: 14px; }
#prayer .prayer-card-photo { height: auto; aspect-ratio: auto; object-fit: contain; }
.prayer-card-actions { display: grid; gap: 10px; margin-top: 16px; }
.prayer-card-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 12px; box-sizing: border-box; border: 1px solid currentColor; font-size: 16px; line-height: 1.6; text-align: center; }
.prayer-card-actions a:hover { text-decoration: underline; }
.prayer-scenes-actions a:focus-visible, .prayer-card-actions a:focus-visible { outline: 3px solid #916b34; outline-offset: 4px; }
@media (max-width: 700px) {
  .prayer-scenes-grid { grid-template-columns: 1fr; gap: 18px; }
  .prayer-scenes-actions { flex-direction: column; }
  .prayer-scenes-actions a { width: 100%; white-space: normal; }
  .prayer-scenes-next { text-align: left; }
}

/* 原写真の画素内容を変えず、白を保ちながら暗部を持ち上げる。 */
.prayer-photo-filter { position: absolute; pointer-events: none; overflow: hidden; }
.prayer-scenes-grid img, #prayer .prayer-card-photo { filter: url(#prayer-photo-light); }

/* 安全祈願の写真を隠さず、案内と予約操作を写真の下に分ける。 */
#prayer .prayer-service-card { display: flex; flex-direction: column; min-height: 0; }
#prayer .prayer-service-card::after { display: none; }
#prayer .prayer-service-card .prayer-card-photo { position: static; display: block; width: 100%; height: auto; opacity: 1; transform: none; filter: none; flex: none; }
#prayer .prayer-service-card .card-body { padding: 26px; gap: 14px; }
#prayer .prayer-service-card .card-body h3 { margin: 0; }
#prayer .prayer-service-card .card-body p { font-size: 16px; line-height: 1.9; margin: 0; }
