/* ===== bbs.css: 来店予告BBSページ専用スタイル ===== */

/* ===== HERO ===== */
.bbs-hero {
  position: relative;
  width: 100%;
  background: #0a0000 top center / cover no-repeat;
  padding-bottom: 75%;
  transition: background-image 0.3s;
}
@media (min-width: 500px) {
  .bbs-hero { padding-bottom: 0; height: 68vh; max-height: 620px; }
}
.bbs-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    transparent 0%,
    transparent 42%,
    rgba(8,0,0,0.4) 58%,
    rgba(8,0,0,0.82) 72%,
    #0a0000 88%
  );
  pointer-events: none; z-index: 1;
}
.bbs-count-inner {
  position: absolute;
  bottom: 55px; left: 0; right: 0;
  text-align: center; pointer-events: auto;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
@media (min-width: 500px) {
  .bbs-count-inner { bottom: 90px; gap: 8px; }
}
.bbs-count-sub {
  font-size: 11px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85); margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.bbs-count-num-wrap {
  display: inline-flex; align-items: baseline; gap: 2px; margin-bottom: 4px;
}
.bbs-count-num {
  font-size: clamp(44px, 13vw, 72px);
  font-weight: 900; color: #ff2244; line-height: 1;
  text-shadow: 0 0 12px rgba(255,30,60,0.9), 0 0 28px rgba(255,30,60,0.6), 0 0 55px rgba(255,30,60,0.3);
}
.bbs-count-unit {
  font-size: clamp(16px, 4vw, 24px); font-weight: bold; color: rgba(255,255,255,0.85);
}
.bbs-like-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,100,100,0.4); border-radius: 50px;
  padding: 10px 22px; min-height: 44px; color: #fff; font-size: 14px; letter-spacing: 0.08em;
  cursor: pointer; font-family: inherit; margin-bottom: 12px; transition: background 0.2s;
}
.bbs-like-btn:active, .bbs-like-btn.liked { background: rgba(220,50,80,0.3); }
.bbs-post-btn-wrap {
  width: 100%;
  position: relative; z-index: 3;
}
.bbs-post-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #7a0000, #b82020);
  border: none; border-radius: 0;
  padding: 16px 32px; color: #fff;
  font-size: 15px; letter-spacing: 0.12em;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(120,0,0,0.4);
  transition: opacity 0.15s;
}
.bbs-post-btn:active { opacity: 0.85; }

/* ===== 日付タブ ===== */
.date-tabs-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #0d0000;
}
.date-tabs-wrap::-webkit-scrollbar { display: none; }
.date-tabs { display: flex; white-space: nowrap; padding: 0 6px; min-width: max-content; }
.date-tab {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 11px; margin: 5px 2px; min-height: 44px;
  cursor: pointer; border-radius: 20px; font-size: 12px;
  color: rgba(255,255,255,0.38); transition: all 0.2s;
  border: 1px solid transparent;
}
.date-tab.active {
  background: rgba(184,32,32,0.18); border-color: rgba(184,32,32,0.5); color: #fff;
}
.today-badge {
  font-size: 10px; background: #b82020; border-radius: 3px; padding: 1px 5px; color: #fff;
}

/* ===== BBSリスト ===== */
.bbs-list-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 16px 7px;
}
.bbs-list-left { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.55); }
.bbs-list-right { font-size: 12px; color: #b82020; }

.bbs-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bbs-icon {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,50,50,0.4); background: rgba(200,50,50,0.1); overflow: hidden;
}
.bbs-icon img { width: 22px; height: 22px; object-fit: contain; }
.bbs-name { flex: 0 0 54px; font-size: 15px; font-weight: bold; }
.bbs-msg { flex: 1; font-size: 14px; color: rgba(255,255,255,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbs-time { font-size: 12px; color: rgba(255,255,255,0.35); flex: 0 0 38px; text-align: right; }
.bbs-arrow { font-size: 15px; color: rgba(255,255,255,0.2); margin-left: 4px; }
.bbs-edit-btn { background: none; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.45); font-size: 11px; padding: 2px 8px; border-radius: 4px; cursor: pointer; white-space: nowrap; min-height: 44px; }

.bbs-reply-item {
  padding: 8px 16px 8px 62px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
}
.bbs-reply-name { font-size: 11px; color: #b82020; margin-bottom: 3px; }
.bbs-reply-msg { font-size: 13px; color: rgba(255,255,255,0.55); }
.bbs-reply-time { font-size: 11px; color: rgba(255,255,255,0.28); margin-top: 3px; }

.bbs-more {
  display: block; text-align: right; padding: 9px 16px 12px;
  font-size: 13px; color: #b82020; cursor: pointer;
  background: none; border: none; font-family: inherit; width: 100%;
}
.bbs-empty {
  text-align: center; padding: 32px 16px;
  color: rgba(255,255,255,0.25); font-size: 14px;
}

/* ===== イベントセクション ===== */
.bbs-event-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 13px 16px 0;
}
.bbs-event-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.bbs-event-header-left { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.55); }
.bbs-event-header-right { display: flex; align-items: center; gap: 7px; }
.bbs-event-date-label { font-size: 12px; color: #b82020; }
.event-dots { display: flex; gap: 5px; }
.event-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.18); cursor: pointer; }
.event-dot.active { background: #b82020; }

.bbs-event-slider-outer { overflow: hidden; margin: 0 -16px; padding: 0 16px; }
.bbs-event-slider-track { display: flex; gap: 8px; transition: transform 0.4s ease; }
.bbs-event-card {
  flex: 0 0 calc(33.3% - 6px);
  border-radius: 7px; overflow: hidden;
  background: #1a0505; text-decoration: none; display: flex; flex-direction: column;
}
.bbs-event-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; flex-shrink: 0; }
.bbs-event-card-body {
  padding: 6px 8px 8px;
  background: #1a0505;
}
.bbs-event-card-name { font-size: 12px; font-weight: bold; color: #fff; line-height: 1.3; }
.bbs-event-card-shop { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.bbs-no-event {
  display: none; text-align: center; color: rgba(255,255,255,0.3);
  font-size: 13px; padding: 16px 0;
}

/* ===== 料金リンク ===== */
.bbs-price-wrap { padding: 20px 16px 40px; }
.bbs-price-btn {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 13px 18px; color: rgba(255,255,255,0.65);
  text-decoration: none; font-size: 13px; letter-spacing: 0.08em;
  background: rgba(255,255,255,0.03);
}
.bbs-price-btn-arrow { color: rgba(255,255,255,0.28); font-size: 18px; }

/* ===== 投稿モーダル ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  z-index: 300; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.bbs-modal {
  background: #1a0000; border-radius: 18px 18px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%; max-width: 700px;
  padding: 20px 20px 40px;
  transform: translateY(100%); transition: transform 0.3s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .bbs-modal { transform: translateY(0); }
.bbs-modal-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
}
.bbs-modal-title { font-size: 15px; font-weight: bold; letter-spacing: 0.08em; }
.bbs-modal-close {
  background: none; border: none; color: rgba(255,255,255,0.5); font-size: 22px; cursor: pointer; padding: 4px;
}
.bbs-modal-label { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; margin-bottom: 8px; }
.sex-grid { display: flex; gap: 8px; margin-bottom: 16px; }
.sex-choice {
  flex: 1; padding: 10px 4px; border-radius: 8px; text-align: center;
  font-size: 11px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.sex-choice img { display: block; margin: 0 auto 4px; width: 24px; height: 24px; object-fit: contain; }
.sex-choice.selected { border-color: #b82020; background: rgba(184,32,32,0.2); color: #fff; }
.bbs-modal-input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  padding: 12px 14px; color: #fff; font-size: 14px; font-family: inherit;
  margin-bottom: 12px; outline: none;
}
.bbs-modal-input:focus { border-color: rgba(184,32,32,0.6); }
.bbs-modal-input::placeholder { color: rgba(255,255,255,0.25); }
textarea.bbs-modal-input { resize: none; height: 80px; }
.icon-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px;
}
.icon-choice {
  aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; cursor: pointer;
  border: 2px solid transparent; background: rgba(255,255,255,0.05);
  transition: border-color 0.15s;
}
.icon-choice.selected { border-color: #b82020; background: rgba(184,32,32,0.2); }
.bbs-modal-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 16px; line-height: 1.6; }
.bbs-modal-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #7a0000, #b82020);
  border: none; border-radius: 50px; color: #fff;
  font-size: 15px; font-weight: bold; letter-spacing: 0.1em;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(120,0,0,0.5); transition: opacity 0.15s;
}
.bbs-modal-submit:active { opacity: 0.85; }
.bbs-modal-error { color: #ff6060; font-size: 13px; margin-bottom: 12px; display: none; }
.bbs-modal-error.show { display: block; }
.bbs-required { font-size: 10px; color: #ff6060; background: rgba(255,60,60,0.15); padding: 1px 6px; border-radius: 3px; letter-spacing: 0.05em; }

.bbs-flash-error {
  background: rgba(184, 32, 32, 0.85);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.03em;
}
