/* ===== WEB予約ボタン & モーダル & モバイル固定バー ===== */

/* ヘッダー右側の目立つボタン */
.site-header .container { gap: 1rem; }
.reserve-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, #ff9eb0 0%, #ff7a95 100%);
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 122, 149, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}
.reserve-btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 122, 149, 0.5);
  opacity: 1;
}
.reserve-btn-header svg { flex: none; }

/* ナビの gap 計算に予約ボタンが含まれないよう、ヘッダー内の並び順を明示 */
.site-header .container { flex-wrap: nowrap; }

@media (max-width: 1200px) {
  .reserve-btn-header .reserve-btn-label-full { display: none; }
  .reserve-btn-header .reserve-btn-label-short { display: inline; }
}
@media (min-width: 1201px) {
  .reserve-btn-header .reserve-btn-label-short { display: none; }
}

/* ===== モーダル ===== */
.reserve-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 59, 54, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.reserve-modal-overlay.open { display: flex; }
.reserve-modal {
  background: #fff;
  border-radius: 28px;
  max-width: 480px;
  width: 100%;
  padding: clamp(1.75rem, 5vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(74, 59, 54, 0.28);
  position: relative;
  animation: reserveModalIn 0.3s ease;
}
@keyframes reserveModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.reserve-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface, #fdf1f3);
  color: var(--color-text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.reserve-modal-close:hover { background: var(--color-secondary); opacity: 1; }
.reserve-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-heading-ink);
  text-align: center;
  margin-bottom: 0.5rem;
}
.reserve-modal-sub {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}
.reserve-modal-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reserve-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  border: 2px solid var(--color-primary-light);
  background: var(--color-bg);
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
}
.reserve-option:hover {
  border-color: var(--color-accent);
  background: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 166, 183, 0.22);
  opacity: 1;
}
.reserve-option-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.reserve-option-body { flex: 1; }
.reserve-option-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-heading-ink);
  margin-bottom: 0.2rem;
}
.reserve-option-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.reserve-option-arrow {
  flex: none;
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* ===== モバイル固定バー ===== */
.mobile-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 -6px 20px rgba(74, 59, 54, 0.14);
  border-top: 1px solid var(--color-primary-light);
}
.mobile-fixed-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.mobile-fixed-bar a,
.mobile-fixed-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.7rem 0.25rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  border-right: 1px solid var(--color-primary-light);
}
.mobile-fixed-bar a:last-child,
.mobile-fixed-bar button:last-child { border-right: none; }
.mobile-fixed-bar .mfb-reserve { color: #fff; background: linear-gradient(135deg, #ff9eb0 0%, #ff7a95 100%); }
.mobile-fixed-bar svg { flex: none; width: 22px; height: 22px; }

@media (max-width: 768px) {
  .mobile-fixed-bar { display: block; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
}
