/* Bridal Fair Manager Pro Front Styles */
.wrapper { max-width: 980px; margin: 0 auto; padding: 24px; }
@media (max-width: 768px) {
  .wrapper { padding: 0px; }
}
.bfm-hero { display:flex; gap:24px; flex-wrap:wrap; }
.bfm-hero .thumb img { width: 320px; height:auto; border-radius:10px; object-fit:cover; }
.bfm-meta { font-size:14px; color:#666; margin: 6px 0 18px; }
.bfm-section { margin: 28px 0; }
.button-primary, .button { display:inline-block; padding:10px 16px; border-radius:8px; text-decoration:none; }
.button-primary { background:#2563eb; color:#fff; }
.button { background:#f3f4f6; color:#111827; }
.bfm-slots{ list-style:none; padding-left:0; display:flex; flex-wrap:wrap; gap:10px; }
.bfm-reserve.wrapper .title{ font-size:20px; margin-bottom:12px; }
.bfm-reserve dl{ display:grid; grid-template-columns: 180px 1fr; gap:8px 14px; }
.bfm-reserve dt{ font-weight:bold; }
.bfm-reserve input[type=text], .bfm-reserve input[type=email], .bfm-reserve textarea{ width:100%; padding:8px; border:1px solid #ddd; border-radius:6px; }
.bfm-reserve .submit-center{ text-align:center; margin-top:16px; }
.confirm-table{ width:100%; border-collapse:collapse; }
.confirm-table th,.confirm-table td{ border:1px solid #eee; padding:8px; text-align:left; }
.errors{ background:#fee2e2; color:#991b1b; padding:10px; border-radius:8px; margin:10px 0; }

/* ============================
   モーダル基本
============================ */
.date-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: none;
}
.date-modal.show {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #fff;
  margin: 40px auto;
  padding: 25px 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 36px;
  height: 36px;
  border: none;
  font-size: 26px;
  background: #eee;
  border-radius: 50%;
  cursor: pointer;
}
.modal-close:hover {
  background: #ddd;
}

/* ============================
   タイトル
============================ */
.modal-header h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* ============================
   月移動
============================ */
.modal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0 20px;
}

.month-nav-btn {
  background: #eee;
  padding: 8px 15px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.month-nav-btn:hover {
  background: #ddd;
}

.month-range-label {
  font-size: 16px;
  font-weight: bold;
}

/* ============================
   カレンダー2ヶ月分
============================ */
.calendar-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 25px;
}
.cal {
  width: 48%;
  background: #fafafa;
  border-radius: 8px;
  padding: 10px 15px 20px;
  border: 1px solid #e1e1e1;
}
@media (max-width: 768px) {
    .cal {
    width: 108%;
    padding: 10px;
    }
}
.cal-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 8px;
  background: #333;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* 曜日 */
.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 5px;
  text-align: center;
}
.cal-w {
  font-weight: bold;
  padding: 4px 0;
  font-size: 13px;
  color: #555;
}

/* 日付 */
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  height: 42px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #eee;
  font-size: 14px;
}
@media (max-width: 768px) {
    .cal-day {
    height: 32px;
    }
}
.cal-day:hover {
  background: #f2f2f2;
}

.cal-day.selected {
  background: #e76c62;
  color: #fff;
  border-color: #d65b53;
}

.cal-day.disabled {
  color: #bbb;
  background: #f7f7f7;
  pointer-events: none;
}

.cal-day.empty {
  background: transparent;
  border: none;
}

/* ============================
   曜日フィルタ
============================ */
.weekday-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  justify-content: center;
}
.w-btn {
  padding: 8px 16px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
@media (max-width: 768px) {
    .w-btn {
  padding: 8px 16px;
    }
}
.w-btn:hover {
  background: #e9e9e9;
}
.w-btn.active {
    background: #e76c62;
    color: #fff;
    border-color: #e76c62;
}

/* ============================
   選択一覧
============================ */
.selected-list {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}
#selectedList {
  display: inline-block;
  margin-left: 6px;
  color: #444;
}
#selectedList,
#selectedDatesDisplay {
    display: none !important;
}
/* ============================
   モーダルのフッター
============================ */
.modal-footer {
  text-align: center;
}
.apply-btn {
  background: #b88a44;
  color: #fff;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.apply-btn:hover {
  background: #d2a157;
}

/* ============================
   選択中の開催日（検索フォーム側）
============================ */
.selected-dates-display {
  margin-top: 10px;
  padding: 8px 12px;
  background: #f7f7f7;
  border-radius: 6px;
  font-size: 13px;
  color: #444;
}
.selected-dates-display:empty {
  display: none;
}

/* ボタン */
.date-select-btn {
  padding: 8px 18px;
  background: #ddd;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ccc;
}
.date-select-btn:hover {
  background: #ccc;
}

.clear-btn {
  background: #d5d5d5;
  color: #333;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.clear-btn:hover {
  background: #c2c2c2;
}

@media (max-width: 768px) {
  .modal-month-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .modal-month-nav button {
    flex: 1;
    margin: 0 5px;
  }
}

/* ===== モーダル全体を少し小さく ===== */
#dateModal .modal-content {
    max-height: 85vh;       /* 画面の85%までに制限（PC） */
    overflow-y: auto;       /* 中身がはみ出ればスクロール */
    padding: 20px 28px;
}

/* ===== モーダルの上下余白調整 ===== */
#dateModal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 4vw; /* ← スマホでも自然に余白がつく */
}

/* ===== スマホ用：さらにコンパクトに ===== */
@media (max-width: 768px) {
    #dateModal .modal-content {
        max-height: 80vh;   /* スマホは80%に縮小 */
        padding: 16px 18px;
        border-radius: 12px;
        width: 100%;
    }

    /* タイトルの文字サイズ調整 */
    #dateModal .modal-header h2 {
        font-size: 1.2rem;
    }

    /* 月ナビゲーションのサイズ調整 */
    #dateModal .month-nav-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    /* カレンダーの数字など小さく */
    #dateModal .cal-day-btn {
        font-size: 14px;
        padding: 6px;
    }

}

/* ============================
   アンケート完了ページ
============================ */

.bfm-q-thanks-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}

.bfm-q-thanks-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.bfm-q-thanks-message {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.bfm-q-thanks-btnwrap {
    text-align: center;
}

.bfm-q-thanks-btn {
    display: inline-block;
    background: #d3b5a3;
    color: #fff;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
}
.bfm-q-thanks-btn:hover {
    opacity: 0.85;
}

/* ===========================================
   Bridal Questionnaire — Gold Elegant Style
=========================================== */

.bfm-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Noto Sans JP", sans-serif;
    color: #444;
}

.bfm-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: #c9a063;
    margin-bottom: 15px;
}

.bfm-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

hr {
    border: none;
    border-top: 1px solid #e5e2dc;
    margin: 30px 0;
}

.bfm-form-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.bfm-form-table th {
    width: 260px;
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    background: #f9f6f1;
    border-bottom: 1px solid #e5e2dc;
    vertical-align: top;
    color: #333;
}

.bfm-form-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e2dc;
}

.bfm-form-table input[type="text"],
.bfm-form-table input[type="number"],
.bfm-form-table input[type="email"],
.bfm-form-table select,
.bfm-form-table textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #dcd9d4;
    border-radius: 4px;
    font-size: 14px;
}

.bfm-form-table textarea {
    resize: vertical;
}

.bfm-form-table label {
    margin-right: 14px;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}

/* ラジオ・チェックの見た目調整 */
.bfm-form-table input[type="radio"],
.bfm-form-table input[type="checkbox"] {
    transform: scale(1.1);
    margin-right: 4px;
}

/* 送信ボタン */
.submit-btn {
    text-align: center;
    margin-top: 30px;
}

.bfm-submit {
    background: #c9a063;
    color: #fff;
    padding: 14px 48px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}

.bfm-submit:hover {
    background: #b38a52;
}


/* ▼ アンケートフォーム共通デザイン補正 */
.bfm-form-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: separate;
}

.bfm-form-table th {
  width: 26%;
  background: #f9f6f1;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;

  font-weight: 600;
  color: #5a4632;
}

.bfm-form-table td {
  width: 74%;
  padding: 12px 16px;
  background: #f7f7f7;

}

/* ▼ 入力項目は横いっぱいに広がりすぎないよう制御 */
.bfm-form-table input[type="text"],
.bfm-form-table input[type="email"],
.bfm-form-table input[type="number"],
.bfm-form-table select,
.bfm-form-table textarea {
  width: 100%;
  max-width: 520px;   /* ←広すぎを防止 */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 15px;
}

/* ▼ 複数チェックボックスの縦並び調整 */
.bfm-form-table label {
  display: inline-block;
  margin: 4px 12px 4px 0;
}

/* ▼ 送信ボタン */
.bfm-submit {
  background: #caa56f;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.bfm-submit:hover {
  opacity: 0.85;
}

/* ▼ アレルギーの追加欄の見た目 */
.allergy-rows input[type="text"] {
  max-width: 400px;
}


/* スマホ対応 */
@media (max-width: 768px) {
    .bfm-container {
        padding: 0 5px;
    }
    .bfm-form-table th {
        width: 92%;
        display: block;
        background: #f9f6f1;
        border-bottom: none;
        padding-bottom: 4px;
    }

    .bfm-form-table td {
        width: 92%;
        display: block;
        border-bottom: 1px solid #e5e2dc;
        padding-top: 0;
    }

    .bfm-form-table tr {
        display: block;
        margin-bottom: 0px;
    }
}


.qc-wrap {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
}

.qc-title {
  font-size: 26px;
  margin-bottom: 24px;
  font-weight: 600;
}

.qc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.qc-table th {
  width: 180px;
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 10px;
}
.qc-table td {
  border: 1px solid #ddd;
  padding: 10px;
}

/* ▼ ボタン共通デザイン */
.qc-btn {
    display: inline-block;
    padding: 12px 40px;
    margin: 0 10px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

/* ▼ 戻るボタン */
.qc-btn-back {
    background: #ddd;
    color: #333;
    border: 1px solid #bbb;
}
.qc-btn-back:hover {
    background: #ccc;
}

/* ▼ 送信ボタン */
.qc-btn-send {
    background: #bfa27a;
    color: #fff;
    border: 1px solid #bfa27a;
}
.qc-btn-send:hover {
    background: #a98a63;
}

.qc-message {
  margin: 30px 0;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.qc-actions-center {
  text-align: center;
  margin-top: 30px;
}


.fair-btn-call{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:14px 0;
  border:2px solid #2c7f90;
  color:#2c7f90;
  font-size:18px;
  font-weight:600;
  text-decoration:none;
  transition:.2s ease;
}

.fair-btn-call:hover{
  background:#2c7f90;
  color:#fff;
}

/* ===== 当日用電話ボックス ===== */

.fair-call-wrap{
    border: 1px solid #ffd4bf;
    border-radius: 10px;
    padding: 30px 30px 28px;
    margin: 0 0 40px;
    background: radial-gradient(circle at top left, #fff7f2 0, #fff 55%);
}

.fair-call-heading{
  font-size:1.4rem;
  font-weight:bold;
  color:#333;
  margin:0 0 12px;
}

.fair-call-number{
  font-size:2.2rem;
  font-weight:700;
  margin:0 0 14px;
  color:#b88a44;
}

.fair-call-number a{
  color:#b88a44;
  text-decoration:none;
  border-bottom:2px solid #b88a44;
}

.fair-call-meta{
  font-size:0.95rem;
  color:#444;
  line-height:1.7;
}

.fair-call-meta p{
  margin:0 0 4px;
}

@media(max-width:768px){
  .fair-call-wrap{
    padding:22px 18px;
    text-align:center;
  }

  .fair-call-heading{
    font-size:1.2rem;
    margin-bottom:8px;
  }

  .fair-call-number{
    font-size:1.9rem;
    margin-bottom:10px;
  }
}

.fair-time-list-wrap {
  margin-top: 10px;
  margin-bottom: 15px;
}

.fair-time-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #555;
}

.fair-time-list {
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: sans-serif;
}

.fair-time-label {
  margin-right: 8px;
  font-weight: 600;
}

.fair-required-time-wrap {
  margin-top: 4px;
  font-family: sans-serif;
}

.fair-required-time {
  font-size: 14px;
  font-size: 0.8rem;
  color: #555;
}
.fair-required-time .label {
  font-weight: bold;

}


.time-sep {
  color: #aaa;
  padding: 0 4px;
}


.fair-time-slots-wrap {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fair-time-slots-title {
    font-size: 14px;
    font-weight: bold;
    color: #b88a44; /* ゴールド系（既存デザインと統一） */
    margin-bottom: 8px;
}


.fair-time-slots {
    background: #fdf7f7;
    border: 1px solid #f3eaea;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 7px;
    border-radius: 4px;
    margin: 12px 0 18px;
}

.fair-time-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    background: #fff;
    border: 1px solid #e3dede;
    border-radius: 6px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
    font-family: sans-serif;
}

.fair-time-slot .mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 20%;
    color: #fff;
    font-size: 0; /* ← 中の文字を見えなくする */
    position: relative;
}


.fair-time-slot.is-full {
  opacity: 0.4;
}

.mark-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 4px;
}




/* ✕（満席） */
.fair-time-slot.mark-full .mark {
    background-color: #d06666;
}

.fair-time-slot.mark-full .mark::before {
    content: "×";
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}


.fair-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.fair-time-slot {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #fff;
    border: 1px solid #e3dede;
    border-radius: 6px;
    padding: 5px 10px;
}

.mark-icon {
    width: 13px;
    height: 13px;
}

/* --- PC・SP 共通の表示に統一 --- */
.pc-only { display: block; }
.sp-only { display: none; }

/* --- SPでもPCと同じデザインにする --- */
@media (max-width: 768px) {

    /* PCのみ要素をSPでも表示する */
    .pc-only { display: none !important; }

    /* SP専用要素は不要なので隠す */
    .sp-only { display: block !important; }

    /* ▼ 旧SPレイアウトを無効化（縦100%表示を撤廃） */
    .fair-time-slots-column,
    .fair-time-slot-row {
        display: unset !important;
        gap: unset !important;
        padding: unset !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    /* ▼ SPでもPCと同じ横並びのレイアウトにする */
    .fair-time-slots {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .fair-time-slot {
        width: auto !important;
        display: flex;
        align-items: center;
        gap: 1px;
        font-size: 12px;
        padding: 5px 7px;
        border: 1px solid #e3dede;
        border-radius: 8px;
        background: #fff;
    }

    .fair-time-slot img.mark-icon {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }
}

/* フェアタイトルのリンク装飾リセット */
.fair-title a {
    color: inherit !important;       /* 元の文字色をそのまま使う */
    text-decoration: none !important; /* 下線なし */
    display: inline-block;
}

/* ホバー時だけ軽く反応（お好みで調整可能） */
.fair-title a:hover {
    opacity: 0.85;
}

/* 開催時間タイトル（特典のデザインに合わせる） */
.fair-time-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin: 16px 0 10px;
    color: #c4672e; /* 特典と同じ色 */
    font-family: inherit;
}

/* 開催時間アイコン（時計） */
.fair-time-title::before {
    content: "⏰";   /* ←お好みで変更可（時計アイコン） */
    font-size: 1.0rem;
    margin-right: 8px;
}

/* 通常タグ */
/* ▼ 通常タグ */
.fair-tag {
  background: #f7f1e6;
  color: #8b5e2b;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 20px;
}

/* ▼ ハイライトタグ */
.fair-tag-highlight {
  background: #b88a44 !important;
  color: #fff !important;
  font-weight: 600;
  border: 1px solid #a07a33 !important;
}




.bf-archive {
    font-family: 'Noto Serif JP', serif;
    font-size: 100%;
    line-height: 1.5;
    color: #262626;
    -webkit-font-smoothing: antialiased;
}
/* PC/共通：まずは非表示にしておく */
.sp-only{
  display:none;
}
.sp-fair-modal{
  display:none;
}

/* SPだけで表示 */
@media(max-width:768px){
  .sp-only{
    display:block;
  }
  .pc-only{
    display:none;
  }

}


/* ==========================================================
   検索部分
========================================================== */
/* ===================================================
   ▼ 検索フォーム全体
=================================================== */
.fair-search-form{
  margin:0 auto 40px;
  max-width:980px;
}

.bf-search-layout{
  display:block;
  gap:20px;
  margin-top:10px;
}

.bf-search-left,
.bf-search-right{
  flex:1;
  min-width:0;
}

.bf-feature-box{
  padding:18px 20px 20px;
  background:#fff;
  border-radius:12px;
  border:1px solid #f0e2d5;
  box-shadow:0 3px 10px rgba(0,0,0,0.03);
}

.feature-checkboxes{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.bf-feature-label{
  font-weight:bold;
  color:#6b4c2a;
  margin-bottom:10px;
}

.wrapper {
    margin: 0 auto;
    max-width: 980px;
}

/* ===================================================
   ▼ カレンダー横スクロール
=================================================== */

body.dragging-disable-select { user-select:none !important; }

#bfCalScrollWrap{
  position:relative;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  border:1px solid #f0e2d5;
  border-radius:10px;
  background:#fff;
}

#bfCalScrollWrap::-webkit-scrollbar{ display:none; }
#bfCalScrollWrap{ scrollbar-width:none; }

.bf-cal-scroll-inner{
  display:flex;
  gap:12px;
  padding:8px 4px;
}

.bf-cal-month{
  background:#fff;
  border-radius:8px;
  padding:8px 6px 10px;
  scroll-snap-align:start;
  box-sizing:border-box;
}

@media (min-width:769px){
  .bf-cal-month{ flex:0 0 32.7%; }
}
@media (max-width:768px){
  .bf-cal-month{ flex:0 0 75%; }
}

.bf-cal-month-title{
  text-align:center;
  font-weight:700;
  font-size:14px;
  color:#5d3e1f;
  margin-bottom:4px;
}

/* ===================================================
   ▼ カレンダー表（表＋セル）
=================================================== */

.bf-cal-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:12px;
}

.bf-cal-table th,
.bf-cal-table td{
  text-align:center;
}

.bf-cal-table th.sun{ color:#d40000; }
.bf-cal-table th.sat{ color:#005bbb; }

/* ----- 日付セルボタン共通 ----- */
.bf-cal-day-btn{
  width:100%;
  height:38px;
  border:1px solid #e3d6c8;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-size:12px;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.bf-cal-day-btn:hover{ background:#eae2d5; }

.bf-cal-day-btn .day-num{ line-height:1; }
.bf-cal-day-btn .day-status{
  font-size:10px;
  margin-top:2px;
}



.bf-cal-day-btn .day-status img {
  width: 11px;
  height: 11px;
  display: block;
  margin-top: 2px;
  opacity: 1 !important;
}

.is-tel .bf-cal-day-btn .day-status img {
    width: 17px;
    height: 11px;
  display: block;
  opacity: 1 !important;
}



/* ----- 曜日背景色（数字黒） ----- */
/* 祝日（日曜と同じ赤字・薄赤背景） */
.bf-cal-cell.sun .bf-cal-day-btn,
.bf-cal-cell.is-holiday .bf-cal-day-btn {
  color: #e60033 !important;       /* 赤文字 */
  background: #fdecec;  /* 薄赤背景 */
}

.bf-cal-cell.sat .bf-cal-day-btn{
  background:#eaf4ff;
}

/* ----- 選択済み ----- */
.bf-cal-cell.is-selected .bf-cal-day-btn,
.bf-cal-day-btn.is-selected{
  background:#D3B5A3;
  border-color:#D3B5A3;
  color:#fff;
}



/* ① 平日の disabled（背景は白） */
.bf-cal-cell.disabled:not(.sun):not(.sat):not(.is-holiday) .bf-cal-day-btn {
  background:#fff !important;
  border-color:#ddd;
  cursor:default;
}

/* ② 土曜の disabled（背景ブルー維持） */
.bf-cal-cell.disabled.sat .bf-cal-day-btn {
  background:#eaf4ff !important;
  border-color:#ddd;
  cursor:default;
}

/* ③ 日曜・祝日の disabled（背景ピンク維持） */
.bf-cal-cell.disabled.sun .bf-cal-day-btn,
.bf-cal-cell.disabled.is-holiday .bf-cal-day-btn {
  background:#fdecec !important;
  border-color:#ddd;
  cursor:default;
}

/* ④ disabled 共通：文字色を薄くする */
.bf-cal-cell.disabled .day-num,
.bf-cal-cell.disabled .day-status {
  color:#c8c8c8 !important;
}


.bf-cal-cell.empty .bf-cal-day-btn{
  opacity:0;
  pointer-events:none;
}


/* PC用 pill デザイン復元 */
@media (min-width:769px){

  .bf-feature-pill {
    position: relative;
    display: inline-block;
  }

  .bf-feature-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .bf-feature-pill span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f6f0e8;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d8c6aa;
    color: #6b4c2a;
    transition: all .2s ease;
  }

  .bf-feature-pill input:checked + span {
    background: #b88a44;
    color: #fff;
    border-color: #b88a44;
  }
}




/* ===================================================
   ▼ SP 最適化
=================================================== */
.sp-only{ display:none; }
.pc-only{ display:block; }

@media(max-width:768px){

  .pc-only{ display:none; }
  .sp-only{ display:block; }

  .fair-search-form{ padding:10px; }

  .sp-selected-terms-wrap{
    display:block;
    margin-top:8px;
    font-size:.85rem;
    color:#6b4c2a;
  }

  /* モーダル */
  .sp-fair-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:1000;
  }
  .sp-fair-modal.is-open{ display:block; }

  .fair-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
  }
  .fair-modal-content{
    position:absolute;
  }
}

/* ==========================================================
   一覧カード
========================================================== */

.fair-list{
    margin: 0 auto;
    max-width: 980px;
}


.fair-item {
  border:1px solid #e5e5e5;
  background:#fff;
  margin-bottom:30px;
}

/* 上部：日付+メインエリア横並び（PC） */
.fair-main-row{
  display:flex;
  border-bottom:1px solid #f0f0f0;
}

/* 日付ボックス */
.fair-date-col{
  width:110px;
  min-width:110px;
  background:#f7f5f2;
  border-right:1px solid #e5e5e5;
  text-align:center;
  padding:22px 8px;
  box-sizing:border-box;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
}
.fair-date-day{
  display:block;
  font-size:20px;
  line-height:1.3;
}
.fair-date-dow{
  display:block;
  font-size:14px;
}

/* メイン右側 */
.fair-main-col{
  flex:1;
  padding:16px 24px 20px;
  box-sizing:border-box;
  position: relative;
}

.fair-title{
  font-size:18px;
  margin:0 0 16px;
  font-weight:500;
  font-weight: 900;

}

/* 画像＋情報横並び */
.fair-main-inner{
  display:flex;
  gap:24px;
  align-items:flex-start;
}

.fair-thumb{
  display:block;
  width:240px;
  max-width:100%;
  flex:0 0 240px;
}
.fair-thumb img{
  display:block;
  width:100%;
  object-fit: cover;
  width: 240px;
  height: 240px;
}

/* 時間＆タグ */
.fair-info{
  flex:1;
  font-size:14px;
}
.fair-time-line{
  margin:0 0 6px;
}

.fair-tags{
  margin-bottom:10px;
}
.fair-tag{
    display: inline-block;
    font-size: 12px;
    padding: 2px 5px;
    margin: 0 4px 4px 0;
    border: 1px solid #b88a44;
    color: #b88a44;
    background: #fff;
    font-family: sans-serif;
}
.fair-tag-featured{
  background:#b88a44;
  color:#fff;
  border-color:#b88a44;
}


/* === 特典＋備考 ボックス === */
.fair-benefits-note-box {
  margin-top: 10px;
  padding: 22px 22px 20px;
  background: radial-gradient(circle at top left, #fff7f2 0, #fff 55%);
  border: 1px solid #ffd4bf;
}

.fair-benefits-title {
  font-size: 1.0rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #c4672e;
  margin-top: 0 !important;
}

.fair-benefits-title::before {
  content: "🎁";
  font-size: 1.0rem;
  margin-right: 8px;
}

.fair-benefits-list {
  margin: 0 0 8px;
  padding-left: 1.1em;
}

.fair-benefits-list li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  position: relative;
}

.fair-benefits-list li::marker {
  color: #f18b4b;
}

/* ボタン行 */
.fair-buttons-row{
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
    position: static;
    justify-content: flex-end;
}
.fair-btn{
    border: 1px solid #b88945;
    width: 170px;
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
    text-decoration: none;
    box-sizing: border-box;
}
.fair-btn-reserve{
  background:#b88a44;
  color: #fff !important;
}
.fair-btn-detail{
  background:#fff;
  color:#b88a44!important;
}

/* 同日フェアの開閉バー */
.same-day-section{
  background:#f7f5f2;
  border-top:1px solid #e5e5e5;
}
.toggle-others{
  width:100%;
  border:none;
  background:#f7f5f2;
  padding:14px 0;
  cursor:pointer;
  font-size:14px;
}

/* 開いた中身 */
.same-day-list{
  border-top:1px solid #e5e5e5;
}

/* サブフェアも同じデザイン（少し余白調整） */
.fair-item.sub-fair{
  border:none;
  margin-bottom:0;
  position: relative;
}
.fair-item.sub-fair .fair-main-col{
  padding-top:16px;
}

/* === お気に入りボタン === */
.fair-main-col{
  position: relative !important;
}

/* 共通スタイル */
.bfm-fav-btn{
  position: relative;
  width: 36px;
  height: 36px;
  border: 2px solid #e8a9b5;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.bfm-fav-btn:hover {
  transform: scale(1.08);
  border-color: #e07a8a;
  box-shadow: 0 3px 10px rgba(224, 122, 138, 0.25);
}

.bfm-fav-btn:active {
  transform: scale(0.95);
}

.bfm-fav-btn .bfm-fav-icon {
  font-size: 18px;
  color: #e8a9b5;
  line-height: 1;
  transition: color 0.2s ease;
}

.bfm-fav-btn .bfm-fav-icon::before {
  content: "♡";
}

.bfm-fav-btn:hover .bfm-fav-icon {
  color: #e07a8a;
}

/* お気に入り済み */
.bfm-fav-btn.is-faved {
  background: #e07a8a;
  border-color: #e07a8a;
}

.bfm-fav-btn.is-faved .bfm-fav-icon::before {
  content: "♥";
}

.bfm-fav-btn.is-faved .bfm-fav-icon {
  color: #fff;
}

.bfm-fav-btn.is-faved:hover {
  background: #d4697a;
  border-color: #d4697a;
}

/* PC用：タグの横に配置 */
.bfm-fav-btn-pc {
  position: absolute !important;
  top: 8px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 10;
}

/* スマホ用：日付ゾーンの右端 */
.bfm-fav-btn-sp {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.bfm-fav-btn-sp:hover {
  transform: translateY(-50%) scale(1.08);
}

.bfm-fav-btn-sp:active {
  transform: translateY(-50%) scale(0.95);
}

/* PC/SP表示切り替え */
.bfm-fav-btn-sp {
  display: none;
}
.bfm-fav-btn-pc {
  display: flex;
}

@media (max-width: 768px) {
  .bfm-fav-btn-sp {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
  .bfm-fav-btn-pc {
    display: none !important;
  }

  /* 日付ゾーンをposition relativeに */
  .fair-date-col {
    position: relative !important;
  }
}

/* ===== お気に入り絞り込みツールバー ===== */
.bfm-fav-toolbar {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 20px 0 !important;
}

.bfm-fav-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: 1px solid #d8c6aa !important;
  background: #f6f0e8 !important;
  color: #6b4c2a !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background .2s, color .2s, border-color .2s !important;
}

.bfm-fav-filter-btn:hover {
  background: #e7d6bf !important;
  border-color: #c9b18e !important;
}

.bfm-fav-filter-btn span[aria-hidden="true"] {
  font-size: 16px;
}

body.bfm-fav-mode .bfm-fav-filter-btn {
  background: #b88a44 !important;
  color: #fff !important;
  border-color: #b88a44 !important;
}

.bfm-fav-empty-hint {
  font-size: 14px;
  color: #6b4c2a;
  opacity: 0.8;
}

/* お気に入り絞り込み中：同日開催の帯っぽさを消す */
body.bfm-fav-mode .same-day-section{
  background: transparent;
  border-top: none;
}
body.bfm-fav-mode .same-day-list{
  border-top: none;
}

/* 詳細ページのボタンの位置調整 */
.fair-detail-header {
  position: relative; /* 親要素に相対位置を指定 */
}







/* ===============================
   月送りボタンデザイン
=============================== */
.bf-cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f1f1;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  color: #333;
}

.bf-cal-nav-btn:hover {
  background: #e5e5e5;
}

/* 無効化 */
.bf-cal-nav-btn.disabled {
  opacity: 0.4;
  cursor: default;
  background: #f7f7f7;
  border-color: #e5e5e5;
}

.bf-cal-nav-btn.disabled:hover {
  background: #f7f7f7;
}

/* ================================
   カレンダー上部のナビゲーション
================================ */

.bf-cal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 10px;
}

/* 月タイトル */
.bf-cal-month-wrap .bf-cal-month-label {
  font-size: 16px;
  font-weight: 600;
}

/* 共通デザイン */
.bf-cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  color: #333;
  font-size: 20px;
  line-height: 1;
  position: absolute;   /* ← 左右に固定 */
  top: 50%;
  transform: translateY(-50%);
}

/* 左右ボタン位置 */
#bfCalPrev {
  left: 5px;
}

#bfCalNext {
  right: 5px;
}

/* ホバー */
.bf-cal-nav-btn:hover {
  background: #f2f2f2;
}

/* グレーアウト（端） */
.bf-cal-nav-btn.disabled {
  opacity: 0.35;
  cursor: default;
  background: #fafafa;
  border-color: #e5e5e5;
}

.bf-cal-nav-btn.disabled:hover {
  background: #fafafa;
}


/* SP レイアウト */
@media (max-width:768px){
  .fair-list{
      padding:0 10px;
  }
  .fair-tags {
    margin-top: 0px;
    margin-bottom: 10px;
  }
  .fair-main-row{
    flex-direction:column;
  }
  .fair-date-col{
    width:100%;
    min-width:0;
    border-right:none;
    border-bottom:1px solid #e5e5e5;
    padding:10px 0;
  }
  .fair-main-col{
    padding:12px 12px 16px;
  }
  .fair-main-inner {
    display: flex;
    gap: 12px;
    flex-direction: row; /* ← 横並びにする */
    align-items: flex-start;
    margin-bottom: 15px;
  }
  .fair-thumb{
    display: inline;
    width: auto;
    max-width: 100%;
    flex: 0;
    width: 38%;
    min-width: 38%;
  }
  .fair-thumb img{
    width: 100%;
    min-width: 100%;
    object-fit: cover;
    width: 117px;
    height: 117px;
  }

  .fair-info {
    width: 62%;     /* ← 画像の残りスペース */
  }
  .fair-buttons-row {
    position: initial;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
  }
  .fair-buttons-row{

  }
  .fair-btn-detail{

  }
  .fair-btn{
     width: 100%;
  }
  .fair-benefits-title {
    margin-bottom: 10px;
  }
  .fair-benefits-list li {
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

}



/* PC：sp-time 非表示 */
.pc-time {

border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        display: block;
        height: auto;
        padding: 10px 15px;
        background: #FFFAFA;
        border: solid 1px #E3D9D9;
        margin: 10px auto !important;
        order: 2;
        -webkit-order: 2;
        font-size: 12px;
}
.sp-time { display: none; }

@media (max-width:768px) {
  /* SP：PC の開催時間を消す */
  .pc-time { display: none; }

  /* SP：画像の次に表示される開催時間 */
  .sp-time {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: block;
    height: auto;
    padding: 10px 15px;
    background: #FFFAFA;
    border: solid 1px #E3D9D9;
    margin: 10px auto !important;
    order: 2;
    -webkit-order: 2;
    font-size: 12px;
  }
}
/* =====================================================
   ▼ SP：フェア内容選択ボタン（フェア内容も選択する）
   ===================================================== */
@media (max-width:768px){

  .sp-fair-trigger-btn{
      width: 100%;
      padding: 12px 0;
      margin-top: 12px;
      background: #ffffff;
      color: #a57c43;
      border: 1px solid #a57c43;
      border-radius: 6px;
      font-size: 15px;
      text-align: center;
  }

  /* SP 選択中の内容行 */
  .sp-selected-terms-wrap{
    margin-top:10px;
    font-size:14px;
  }

}


/* =====================================================
   ▼ SP モーダル（フェア内容選択）
   ===================================================== */
@media (max-width:768px){

  .sp-fair-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:2000;
  }
  .sp-fair-modal.is-open{
    display:block;
  }

  .fair-modal-overlay{
    position:absolute;
    inset:0;
  }

  .fair-modal-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    background:#fff;
    border-radius:20px 20px 0 0;
    padding:24px 20px 30px;
    max-height:75vh;
    overflow-y:auto;
    animation:slideUp .3s ease;
  }

  @keyframes slideUp{
    from{ transform:translateY(40px); opacity:0; }
    to  { transform:translateY(0);   opacity:1; }
  }

  .fair-modal-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:16px;
    text-align:center;
  }

  .fair-modal-close{
    position:absolute;
    right:16px;
    top:12px;
    font-size:30px;
    background:none;
    border:none;
    color:#666;
  }

  .fair-term-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
  }

  .fair-term-item{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    background:#f6f0e8;
    border-radius:20px;
    font-size:14px;
    cursor:pointer;
  }

  /* ON状態 */
  .fair-term-item.is-checked{
    background:#b88a44 !important;
    color:#fff !important;
  }

  .fair-modal-footer{
    margin-top:20px;
  }

  #applyFairTerms{
    width:100%;
    padding:12px 0;
    border:none;
    border-radius:25px;
    background:#b88a44;
    color:#fff;
    font-size:15px;
  }
}


/* ===== SP モーダル：チェックボックスを非表示 ===== */

@media(max-width:768px){
  .fair-term-item input[type="checkbox"],
  .fair-term-check,
  .fair-term-check-featured {
    display:none !important;
  }
}

/* ===========================================
   ▼ 検索ボタン（統合 & 改善後）
=========================================== */

/* PC / 共通 */
.search-actions-bottom{
  text-align:center;
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:12px;
}

.search-actions-bottom .button{
  margin:0;
  text-align:center;
  padding:10px 0;
  border: none;
  font-size: 16px;
 font-family: inherit;

}

/* ボタン色（既存そのまま） */
.bf-search-btn{
  background:#D3B5A3;
  color:#fff;
}
.bf-search-btn:hover{ background:#c39c5a; }

.bf-reset-btn{
  background:#e3d6c8;
  color:#6b4c2a;
  text-decoration: none;
}
.bf-reset-btn:hover{ background:#d7c8b4; }

/* ▼ PC：検索する（長め）・リセット（短め） */
@media (min-width:769px){
  .bf-search-btn{
    flex:0 0 220px;   /* 検索する：長め */
  }
  .bf-reset-btn{
    flex:0 0 140px;   /* リセット：短め */
  }
}

/* ▼ SP：横並び（現行＋幅調整） */
@media (max-width:768px){

  .search-actions-bottom{
    display:flex !important;
    gap:10px;
    margin-top:20px;
  }

  .search-actions-bottom .button{
    margin:0 !important;
    flex:1 1 0;
  }

  /* SP でも検索ボタンを少し長めに */
  .bf-search-btn{
    flex:0 0 65%;
  }
  .bf-reset-btn{
    flex:0 0 35%;
  }
}

.bfm-status-icon {
    width: 15px;
    height: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================
   フェア詳細ページ（single-bridal_fair）
========================================================== */

/* === 全体 === */
.bf-single {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.5;
  color: #444;
  -webkit-font-smoothing: antialiased;
}

.bf-single .divider {
  margin: 20px 0 40px;
  border: none;
  border-top: 1px solid #ddd;
}

/* セクション共通タイトル */
.bf-single .section-title {
  font-size: 1.6rem;
  margin-bottom: 18px;
  border-left: 6px solid #c9a35a;
  padding-left: 10px;
  font-weight: 700;
}

/* === ヘッダー === */
.bf-single .fair-header {
  text-align: left;
  position: relative;
}

/* 詳細画面のお気に入りボタン */
.bf-single .fair-header .bfm-fav-btn {
  position: absolute;
  bottom: 0;
  right: 0;
}

.bf-single .header-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bf-single .fair-date {
  font-weight: bold;
  font-size: 1.05rem;
  color: #333;
}

.bf-single .fair-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bf-single .fair-icon {
  background: #f7f1e6;
  color: #8b5e2b;
  font-size: 0.85rem;
  padding: 5px 10px;
  border-radius: 20px;
}

/* ハイライトアイコン */
.bf-single .fair-icon-highlight {
  background: #b88a44;
  color: #fff;
  font-weight: 600;
  border: 1px solid #a07a33;
}

.bf-single .fair-title {
    line-height: 1.5;
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 900;
}

.bf-single .fair-time {
  color: #555;
  font-weight: 500;
}

.bf-single .fair-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d8b55b, #c29d44);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* === 概要 === */
.bf-single .fair-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.bf-single .summary-left {
  flex: 0 0 400px;
  max-width: 400px;
}

.bf-single .summary-mainvisual {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.bf-single .summary-mainvisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bf-single .summary-right {
  flex: 1;
  min-width: 0;
  line-height: 1.8;
}

.bf-single .fair-desc {
  color: #444;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* === 特典＋備考 ボックス === */
.bf-single .fair-benefits-note-box {
  margin-top: 10px;
  padding: 22px 22px 20px;
  background: radial-gradient(circle at top left, #fff7f2 0, #fff 55%);
  border: 1px solid #ffd4bf;
}

.bf-single .fair-benefits-title {
  font-size: 1.0rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #c4672e;
  margin-top: 0 !important;
}

.bf-single .fair-benefits-title::before {
  content: "🎁";
  font-size: 1.0rem;
  margin-right: 8px;
}

.bf-single .fair-benefits-list {
  margin: 0 0 8px;
  padding-left: 1.1em;
}

.bf-single .fair-benefits-list li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  position: relative;
}

.bf-single .fair-benefits-list li::marker {
  color: #f18b4b;
}

/* 備考（ボックス内） */
.bf-single .fair-note-inbox {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #f1c7ba;
}

.bf-single .fair-note-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #8f5b2a;
  margin-bottom: 4px;
}

.bf-single .fair-note-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* === ステータス色 === */
.bf-single .full { color: #c00; font-weight: bold; }
.bf-single .active { color: #007cba; font-weight: bold; }
.bf-single .hidden { color: #999; font-style: italic; }

/* === スケジュール === */
.bf-single .fair-schedule-list {
  background: #fafafa;
  padding: 25px 30px;
  border-radius: 10px;
  border: 1px solid #ece7de;
}

.bf-single .fair-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5px;
  border-bottom: 1px solid #e8e8e8;
}

.bf-single .fair-schedule-row:last-child {
  border-bottom: none;
}

.bf-single .fs-time {
  font-size: 16px;
  color: #333;
  min-width: 160px;
}

.bf-single .fs-status {
  font-size: 15px;
  color: #333;
  min-width: 140px;
  text-align: left;
  font-weight: normal;
}

.bf-single .fs-status.full {
  color: inherit;
  font-weight: normal;
}

.bf-single .fs-btn {
  min-width: 180px;
  text-align: right;
}

.bf-single .fs-reserve-btn {
  display: inline-block;
  background: linear-gradient(135deg, #b8945e, #c9a56b);
  color: #fff;
  padding: 10px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 10px rgba(185,148,94,0.4);
}

.bf-single .fs-reserve-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(185,148,94,0.55);
}

/* === 含まれる内容 === */
.bf-single .fair-sections {
  margin-top: 10px;
}

.bf-single .fair-sections-grid {
  display: grid;
  gap: 40px;
}

.bf-single .section-block {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  background: #fff;
  border-radius: 0;
}

.bf-single .section-thumb {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 0;
}

.bf-single .section-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bf-single .section-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bf-single .section-text h3 {
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
  margin-top: 0 !important;
}

.bf-single .section-text-body p {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 0 !important;
}

/* === 戻るリンク === */
.bf-single .back-link {
  text-align: center;
  margin-top: 50px;
}

.bf-single .back-link a {
  color: #666;
  text-decoration: none;
}

.bf-single .back-link a:hover {
  text-decoration: underline;
}

/* === 詳細ページ SP === */
@media (max-width: 768px) {
  .bf-single .fair-summary {
    flex-direction: column;
  }

  .bf-single .summary-left,
  .bf-single .summary-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .bf-single .summary-mainvisual {
    max-width: 400px;
    margin: 0 auto 18px;
  }

  .bf-single .fair-title {
    font-size: 18px;
  }

  /* 詳細ページの左右余白 */
  .bf-single.wrapper {
    padding-left: 15px;
    padding-right: 15px;
    margin: 50px 0 100px;
  }

  .bf-single .fair-schedule-list {
    padding: 18px 16px;
  }

  .bf-single .fair-schedule-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
  }

  .bf-single .fs-time {
    min-width: auto;
    font-size: 15px;
  }

  .bf-single .fs-status {
    min-width: auto;
    flex: 1;
  }

  .bf-single .fs-reserve-btn {
    padding: 8px 20px;
    font-size: 13px;
    margin-left: auto;
  }

  .bf-single .section-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
  }

  .bf-single .section-text-body p {
    font-size: 0.75rem;
  }

  .bf-single .fair-sections-grid {
    gap: 24px;
  }
}

/* === 詳細ページ PC 2カラム === */
@media (min-width: 769px) {
  .bf-single .fair-sections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================
   フェア一覧ページ（archive-bridal_fair）
========================================================== */

.bf-archive {
    font-family: 'Noto Serif JP', serif;
    font-size: 100%;
    line-height: 1.5;
    color: #262626;
    -webkit-font-smoothing: antialiased;
}

/* PC/共通：SP用非表示 */
.bf-archive .sp-only {
  display: none;
}
.bf-archive .sp-fair-modal {
  display: none;
}

@media (max-width: 768px) {
  .bf-archive .sp-only {
    display: block;
  }
  .bf-archive .pc-only {
    display: none;
  }
}

/* ==========================================================
   検索部分
========================================================== */
.bf-archive .fair-search-form {
  margin: 0 auto 40px;
  max-width: 980px;
}

.bf-archive .bf-search-layout {
  display: block;
  gap: 20px;
  margin-top: 10px;
}

.bf-archive .bf-search-left,
.bf-archive .bf-search-right {
  flex: 1;
  min-width: 0;
}

.bf-archive .bf-feature-box {
  padding: 18px 20px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0e2d5;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.bf-archive .feature-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bf-archive .bf-feature-label {
  font-weight: bold;
  color: #6b4c2a;
  margin-bottom: 10px;
}

/* ==========================================================
   カレンダー横スクロール
========================================================== */
body.dragging-disable-select { user-select: none !important; }

.bf-archive #bfCalScrollWrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  border: 1px solid #f0e2d5;
  border-radius: 10px;
  background: #fff;
}

.bf-archive #bfCalScrollWrap::-webkit-scrollbar { display: none; }
.bf-archive #bfCalScrollWrap { scrollbar-width: none; }

.bf-archive .bf-cal-scroll-inner {
  display: flex;
  gap: 12px;
  padding: 8px 4px;
}

.bf-archive .bf-cal-month {
  background: #fff;
  border-radius: 8px;
  padding: 8px 6px 10px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .bf-archive .bf-cal-month { flex: 0 0 32.7%; }
}
@media (max-width: 768px) {
  .bf-archive .bf-cal-month { flex: 0 0 75%; }
}

.bf-archive .bf-cal-month-title {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #5d3e1f;
  margin-bottom: 4px;
}

/* ==========================================================
   カレンダー表（表＋セル）
========================================================== */
.bf-archive .bf-cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.bf-archive .bf-cal-table th,
.bf-archive .bf-cal-table td {
  text-align: center;
}

.bf-archive .bf-cal-table th.sun { color: #d40000; }
.bf-archive .bf-cal-table th.sat { color: #005bbb; }

/* 日付セルボタン共通 */
.bf-archive .bf-cal-day-btn {
  width: 100%;
  height: 38px;
  border: 1px solid #e3d6c8;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.bf-archive .bf-cal-day-btn:hover { background: #eae2d5; }
.bf-archive .bf-cal-day-btn .day-num { line-height: 1; }
.bf-archive .bf-cal-day-btn .day-status {
  font-size: 10px;
  margin-top: 2px;
}

.bf-archive .bf-cal-day-btn .day-status img {
  width: 11px;
  height: 11px;
  display: block;
  margin-top: 2px;
  opacity: 1 !important;
}

.bf-archive .is-tel .bf-cal-day-btn .day-status img {
  width: 17px;
  height: 11px;
  display: block;
  opacity: 1 !important;
}

/* 曜日背景色 */
.bf-archive .bf-cal-cell.sun .bf-cal-day-btn,
.bf-archive .bf-cal-cell.is-holiday .bf-cal-day-btn {
  color: #e60033 !important;
  background: #fdecec;
}

.bf-archive .bf-cal-cell.sat .bf-cal-day-btn {
  background: #eaf4ff;
}

/* 選択済み */
.bf-archive .bf-cal-cell.is-selected .bf-cal-day-btn,
.bf-archive .bf-cal-day-btn.is-selected {
  background: #D3B5A3;
  border-color: #D3B5A3;
  color: #fff;
}

/* disabled状態 */
.bf-archive .bf-cal-cell.disabled:not(.sun):not(.sat):not(.is-holiday) .bf-cal-day-btn {
  background: #fff !important;
  border-color: #ddd;
  cursor: default;
}

.bf-archive .bf-cal-cell.disabled.sat .bf-cal-day-btn {
  background: #eaf4ff !important;
  border-color: #ddd;
  cursor: default;
}

.bf-archive .bf-cal-cell.disabled.sun .bf-cal-day-btn,
.bf-archive .bf-cal-cell.disabled.is-holiday .bf-cal-day-btn {
  background: #fdecec !important;
  border-color: #ddd;
  cursor: default;
}

.bf-archive .bf-cal-cell.disabled .day-num,
.bf-archive .bf-cal-cell.disabled .day-status {
  color: #c8c8c8 !important;
}

.bf-archive .bf-cal-cell.empty .bf-cal-day-btn {
  opacity: 0;
  pointer-events: none;
}

/* PC用 pill デザイン */
@media (min-width: 769px) {
  .bf-archive .bf-feature-pill {
    position: relative;
    display: inline-block;
  }

  .bf-archive .bf-feature-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .bf-archive .bf-feature-pill span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f6f0e8;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d8c6aa;
    color: #6b4c2a;
    transition: all .2s ease;
  }

  .bf-archive .bf-feature-pill input:checked + span {
    background: #b88a44;
    color: #fff;
    border-color: #b88a44;
  }
}

/* ==========================================================
   月送りボタン・ナビゲーション
========================================================== */
.bf-archive .bf-cal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 10px;
}

.bf-archive .bf-cal-month-wrap .bf-cal-month-label {
  font-size: 16px;
  font-weight: 600;
}

.bf-archive .bf-cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  color: #333;
  font-size: 20px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bf-archive #bfCalPrev { left: 5px; }
.bf-archive #bfCalNext { right: 5px; }

.bf-archive .bf-cal-nav-btn:hover { background: #f2f2f2; }

.bf-archive .bf-cal-nav-btn.disabled {
  opacity: 0.35;
  cursor: default;
  background: #fafafa;
  border-color: #e5e5e5;
}

.bf-archive .bf-cal-nav-btn.disabled:hover { background: #fafafa; }

/* ==========================================================
   一覧ページ固有
========================================================== */
.bf-archive .fair-list {
  margin: 0 auto;
  max-width: 980px;
}

/* ==========================================================
   SP最適化
========================================================== */
@media (max-width: 768px) {
  .bf-archive .fair-search-form { padding: 10px; }

  .bf-archive .sp-selected-terms-wrap {
    display: block;
    margin-top: 8px;
    font-size: .85rem;
    color: #6b4c2a;
  }

  /* モーダル */
  .bf-archive .sp-fair-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
  }
  .bf-archive .sp-fair-modal.is-open { display: block; }

  .bf-archive .fair-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
  }
  .bf-archive .fair-modal-content {
    position: absolute;
  }

  .bf-archive .fair-list {
    padding: 0 10px;
  }
}

/* ==========================================================
   SP：フェア内容選択ボタン
========================================================== */
@media (max-width: 768px) {
  .bf-archive .sp-fair-trigger-btn {
    width: 100%;
    padding: 12px 0;
    margin-top: 12px;
    background: #ffffff;
    color: #a57c43;
    border: 1px solid #a57c43;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
  }

  .bf-archive .sp-selected-terms-wrap {
    margin-top: 10px;
    font-size: 14px;
  }
}

/* ==========================================================
   SP モーダル（フェア内容選択）
========================================================== */
@media (max-width: 768px) {
  .bf-archive .sp-fair-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
  }
  .bf-archive .sp-fair-modal.is-open { display: block; }

  .bf-archive .fair-modal-overlay {
    position: absolute;
    inset: 0;
  }

  .bf-archive .fair-modal-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 30px;
    max-height: 75vh;
    overflow-y: auto;
    animation: slideUp .3s ease;
  }

  @keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .bf-archive .fair-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
  }

  .bf-archive .fair-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 30px;
    background: none;
    border: none;
    color: #666;
  }

  .bf-archive .fair-term-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .bf-archive .fair-term-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #f6f0e8;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
  }

  .bf-archive .fair-term-item.is-checked {
    background: #b88a44 !important;
    color: #fff !important;
  }

  .bf-archive .fair-modal-footer {
    margin-top: 20px;
  }

  .bf-archive #applyFairTerms {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 25px;
    background: #b88a44;
    color: #fff;
    font-size: 15px;
  }
}

/* SP モーダル：チェックボックスを非表示 */
@media (max-width: 768px) {
  .bf-archive .fair-term-item input[type="checkbox"],
  .bf-archive .fair-term-check,
  .bf-archive .fair-term-check-featured {
    display: none !important;
  }
}

/* ============================
   確認画面（PHP版）
============================ */
.bfm-confirm-lead {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.bfm-confirm-table {
  margin-bottom: 40px;
}

.bfm-confirm-table table {
  width: 100%;
  border-collapse: collapse;
}

.bfm-confirm-table th,
.bfm-confirm-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.bfm-confirm-table th {
  width: 180px;
  background: #faf8f5;
  font-weight: 600;
  color: #333;
}

.bfm-confirm-table td {
  color: #333;
}

.bfm-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.bfm-btn-back {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bfm-btn-back:hover {
  background: #e5e5e5;
}

.bfm-confirm-form {
  display: inline-block;
}

.bfm-btn-submit {
  background: linear-gradient(135deg, #b88a44 0%, #8b6914 100%);
  color: #fff;
  border: none;
  padding: 15px 50px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bfm-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 138, 68, 0.4);
}

/* ステップナビの完了状態 */
.bfm-step.is-done {
  background: #e8f5e9;
  border-color: #4caf50;
  color: #4caf50;
}

.bfm-step.is-done::after {
  content: '✓';
  margin-left: 5px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .bfm-confirm-table th {
    width: 100%;
    display: block;
    padding: 12px 15px 5px;
  }

  .bfm-confirm-table td {
    display: block;
    padding: 5px 15px 12px;
  }

  .bfm-confirm-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .bfm-btn-back,
  .bfm-btn-submit {
    width: 100%;
    text-align: center;
  }
}

/* プライバシーポリシーリンク */
.bfm-privacy-link {
  margin-top: 8px;
  font-size: 13px;
}
.bfm-privacy-link a {
  color: #0066cc;
  text-decoration: underline;
}
.bfm-privacy-link a:hover {
  text-decoration: none;
}

/* =============================================================================
   フェア一覧ページ（archive-bridal_fair.php より移動）
   ============================================================================= */

.bf-archive {
    font-family: 'Noto Serif JP', serif;
    font-size: 100%;
    line-height: 1.5;
    color: #262626;
    -webkit-font-smoothing: antialiased;
}
/* PC/共通：まずは非表示にしておく */
.sp-only{
  display:none;
}
.sp-fair-modal{
  display:none;
}

/* SPだけで表示 */
@media(max-width:768px){
  .sp-only{
    display:block;
  }
  .pc-only{
    display:none;
  }

}


/* ==========================================================
   検索部分
========================================================== */
/* ===================================================
   ▼ 検索フォーム全体
=================================================== */
.fair-search-form{
  margin:0 auto 40px;
  max-width:980px;
}

.bf-search-layout{
  display:block;
  gap:20px;
  margin-top:10px;
}

.bf-search-left,
.bf-search-right{
  flex:1;
  min-width:0;
}

.bf-feature-box{
  padding:18px 20px 20px;
  background:#fff;
  border-radius:12px;
  border:1px solid #f0e2d5;
  box-shadow:0 3px 10px rgba(0,0,0,0.03);
}

.feature-checkboxes{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.bf-feature-label{
  font-weight:bold;
  color:#6b4c2a;
  margin-bottom:10px;
}

.wrapper {
    margin: 0 auto;
    max-width: 980px;
}

/* ===================================================
   ▼ カレンダー横スクロール
=================================================== */

body.dragging-disable-select { user-select:none !important; }

#bfCalScrollWrap{
  position:relative;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  border:1px solid #f0e2d5;
  border-radius:10px;
  background:#fff;
}

#bfCalScrollWrap::-webkit-scrollbar{ display:none; }
#bfCalScrollWrap{ scrollbar-width:none; }

.bf-cal-scroll-inner{
  display:flex;
  gap:12px;
  padding:8px 4px;
}

.bf-cal-month{
  background:#fff;
  border-radius:8px;
  padding:8px 6px 10px;
  scroll-snap-align:start;
  box-sizing:border-box;
}

@media (min-width:769px){
  .bf-cal-month{ flex:0 0 32.7%; }
}
@media (max-width:768px){
  .bf-cal-month{ flex:0 0 75%; }
}

.bf-cal-month-title{
  text-align:center;
  font-weight:700;
  font-size:14px;
  color:#5d3e1f;
  margin-bottom:4px;
}

/* ===================================================
   ▼ カレンダー表（表＋セル）
=================================================== */

.bf-cal-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:12px;
}

.bf-cal-table th,
.bf-cal-table td{
  text-align:center;
}

.bf-cal-table th.sun{ color:#d40000; }
.bf-cal-table th.sat{ color:#005bbb; }

/* ----- 日付セルボタン共通 ----- */
.bf-cal-day-btn{
  width:100%;
  height:38px;
  border:1px solid #e3d6c8;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  font-size:12px;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.bf-cal-day-btn:hover{ background:#eae2d5; }

.bf-cal-day-btn .day-num{ line-height:1; }
.bf-cal-day-btn .day-status{
  font-size:10px;
  margin-top:2px;
}

/* ----- 曜日背景色（数字黒） ----- */
/* 祝日（日曜と同じ赤字・薄赤背景） */
.bf-cal-cell.sun .bf-cal-day-btn,
.bf-cal-cell.is-holiday .bf-cal-day-btn {
  color: #e60033 !important;       /* 赤文字 */
  background: #fdecec;  /* 薄赤背景 */
}

.bf-cal-cell.sat .bf-cal-day-btn{
  background:#eaf4ff;
}

/* ----- 選択済み ----- */
.bf-cal-cell.is-selected .bf-cal-day-btn,
.bf-cal-day-btn.is-selected{
  background:#D3B5A3;
  border-color:#D3B5A3;
  color:#fff;
}

/* ----- 選択不可（日付薄グレー、背景白） ----- */
.bf-cal-cell.disabled .bf-cal-day-btn{
  background:#fff;
  border-color:#ddd;
  color:#aaa;
  cursor:default;
}
.bf-cal-cell.disabled .day-num,
.bf-cal-cell.disabled .day-status{
  color:#c8c8c8 !important;
}
.bf-cal-cell.empty .bf-cal-day-btn{
  opacity:0;
  pointer-events:none;
}


/* PC用 pill デザイン復元 */
@media (min-width:769px){

  .bf-feature-pill {
    position: relative;
    display: inline-block;
  }

  .bf-feature-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .bf-feature-pill span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f6f0e8;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d8c6aa;
    color: #6b4c2a;
    transition: all .2s ease;
  }

  .bf-feature-pill input:checked + span {
    background: #b88a44;
    color: #fff;
    border-color: #b88a44;
  }
}




/* ===================================================
   ▼ SP 最適化
=================================================== */
.sp-only{ display:none; }
.pc-only{ display:block; }

@media(max-width:768px){

  .pc-only{ display:none; }
  .sp-only{ display:block; }

  .fair-search-form{ padding:10px; }

  .sp-selected-terms-wrap{
    display:block;
    margin-top:8px;
    font-size:.85rem;
    color:#6b4c2a;
  }

  /* モーダル */
  .sp-fair-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:1000;
  }
  .sp-fair-modal.is-open{ display:block; }

  .fair-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
  }
  .fair-modal-content{
    position:absolute;
  }
}

/* ==========================================================
   一覧カード
========================================================== */

.bf-archive .fair-list{
    margin: 0 auto;
    max-width: 980px;
}


.bf-archive .fair-item {
  border:1px solid #e5e5e5;
  background:#fff;
  margin-bottom:30px;
}

/* 上部：日付+メインエリア横並び（PC） */
.bf-archive .fair-main-row{
  display:flex;
  border-bottom:1px solid #f0f0f0;
}

/* 日付ボックス */
.bf-archive .fair-date-col{
  width:110px;
  min-width:110px;
  background:#f7f5f2;
  border-right:1px solid #e5e5e5;
  text-align:center;
  padding:22px 8px;
  box-sizing:border-box;
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
}
.bf-archive .fair-date-day{
  display:block;
  font-size:20px;
  line-height:1.3;
}
.bf-archive .fair-date-dow{
  display:block;
  font-size:14px;
}

/* メイン右側 */
.bf-archive .fair-main-col{
  flex:1;
  padding:16px 24px 20px;
  box-sizing:border-box;
  position: relative;
}

.bf-archive .fair-title{
  font-size:18px;
  margin:0 0 16px;
  font-weight:500;
  font-weight: 900;

}

/* 画像＋情報横並び */
.bf-archive .fair-main-inner{
  display:flex;
  gap:24px;
  align-items:flex-start;
}

.bf-archive .fair-thumb{
  display:block;
  width:240px;
  max-width:100%;
  flex:0 0 240px;
}
.bf-archive .fair-thumb img{
  display:block;
  width:100%;
  object-fit: cover;
  width: 240px;
  height: 240px;
}

/* 時間＆タグ */
.bf-archive .fair-info{
  flex:1;
  font-size:14px;
}
.bf-archive .fair-time-line{
  margin:0 0 6px;
}

.bf-archive .fair-tags{
  margin-top:10px;
}
.bf-archive .fair-tag{
    display: inline-block;
    font-size: 12px;
    padding: 2px 5px;
    margin: 0 4px 4px 0;
    border: 1px solid #b88a44;
    color: #b88a44;
    background: #fff;
    font-family: sans-serif;
}
.bf-archive .fair-tag-featured{
  background:#b88a44;
  color:#fff;
  border-color:#b88a44;
}


/* === 特典＋備考 ボックス === */
.bf-archive .fair-benefits-note-box {
  margin-top: 10px;
  padding: 22px 22px 20px;
  background: radial-gradient(circle at top left, #fff7f2 0, #fff 55%);
  border: 1px solid #ffd4bf;
}

.bf-archive .fair-benefits-title {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #c4672e;
  margin-top: 0 !important;
}

.bf-archive .fair-benefits-title::before {
  content: "🎁";
  font-size: 1.3rem;
  margin-right: 8px;
}

.bf-archive .fair-benefits-list {
  margin: 0 0 8px;
  padding-left: 1.1em;
}

.bf-archive .fair-benefits-list li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  position: relative;
}

.bf-archive .fair-benefits-list li::marker {
  color: #f18b4b;
}

/* ボタン行（一覧ページ専用） */
.bf-archive .fair-buttons-row{
    position: static;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 15px;
}
.bf-archive .fair-btn{
    border: 1px solid #b88945;
    width: 145px;
    text-align: center;
    padding: 6px 5px;
    font-size: 12px;
    text-decoration: none;
    box-sizing: border-box;
}
.bf-archive .fair-btn-reserve{
  background:#b88a44;
  color: #fff !important;
}
.bf-archive .fair-btn-detail{
  background:#fff;
  color:#b88a44!important;
}

/* 同日フェアの開閉バー（一覧ページ専用） */
.bf-archive .same-day-section{
  background:#f7f5f2;
  border-top:1px solid #e5e5e5;
}
.bf-archive .toggle-others{
  width:100%;
  border:none;
  background:#f7f5f2;
  padding:14px 0;
  cursor:pointer;
  font-size:14px;
}

/* 開いた中身（一覧ページ専用） */
.bf-archive .same-day-list{
  border-top:1px solid #e5e5e5;
}

/* サブフェアも同じデザイン（少し余白調整）（一覧ページ専用） */
.bf-archive .fair-item.sub-fair{
  border:none;
  margin-bottom:0;
  position: relative;
}
.bf-archive .fair-item.sub-fair .fair-main-col{
  padding-top:16px;
}
.bf-archive .fair-item.sub-fair .fair-buttons-row{

}


/* ===============================
   月送りボタンデザイン
=============================== */
.bf-cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f1f1;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  color: #333;
}

.bf-cal-nav-btn:hover {
  background: #e5e5e5;
}

/* 無効化 */
.bf-cal-nav-btn.disabled {
  opacity: 0.4;
  cursor: default;
  background: #f7f7f7;
  border-color: #e5e5e5;
}

.bf-cal-nav-btn.disabled:hover {
  background: #f7f7f7;
}

/* ================================
   カレンダー上部のナビゲーション
================================ */

.bf-cal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 10px;
}

/* 月タイトル */
.bf-cal-month-wrap .bf-cal-month-label {
  font-size: 16px;
  font-weight: 600;
}

/* 共通デザイン */
.bf-cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  color: #333;
  font-size: 20px;
  line-height: 1;
  position: absolute;   /* ← 左右に固定 */
  top: 50%;
  transform: translateY(-50%);
}

/* 左右ボタン位置 */
#bfCalPrev {
  left: 5px;
}

#bfCalNext {
  right: 5px;
}

/* ホバー */
.bf-cal-nav-btn:hover {
  background: #f2f2f2;
}

/* グレーアウト（端） */
.bf-cal-nav-btn.disabled {
  opacity: 0.35;
  cursor: default;
  background: #fafafa;
  border-color: #e5e5e5;
}

.bf-cal-nav-btn.disabled:hover {
  background: #fafafa;
}


/* SP レイアウト */
@media (max-width:768px){
  .bf-archive .fair-list{
      padding:0 10px;
  }
  .bf-archive .fair-tags {
    margin-top: 0px;
    margin-bottom: 10px;
  }
  .bf-archive .fair-main-row{
    flex-direction:column;
  }
  .bf-archive .fair-date-col{
    width:100%;
    min-width:0;
    border-right:none;
    border-bottom:1px solid #e5e5e5;
    padding:10px 0;
  }
  .bf-archive .fair-main-col{
    padding:12px 12px 16px;
  }
  .bf-archive .fair-main-inner {
    display: flex;
    gap: 12px;
    flex-direction: row; /* ← 横並びにする */
    align-items: flex-start;
    margin-bottom: 15px;
  }
  .bf-archive .fair-thumb{
    display: inline;
    width: auto;
    max-width: 100%;
    flex: 0;
    width: 38%;
    min-width: 38%;
  }
  .bf-archive .fair-thumb img{
    width: 100%;
    min-width: 100%;
    object-fit: cover;
    width: 117px;
    height: 117px;
  }

  .bf-archive .fair-info {
    width: 62%;     /* ← 画像の残りスペース */
  }
  .bf-archive .fair-buttons-row {
    position: initial;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
  }
  .bf-archive .fair-buttons-row{

  }
  .bf-archive .fair-btn-detail{

  }
  .bf-archive .fair-btn{
     width: 100%;
  }
  .bf-archive .fair-benefits-list li {
    font-size: 0.78rem;
  }
}



/* PC：sp-time 非表示 */
.pc-time {

border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        display: block;
        height: auto;
        padding: 10px 15px;
        background: #FFFAFA;
        border: solid 1px #E3D9D9;
        margin: 10px auto !important;
        order: 2;
        -webkit-order: 2;
        font-size: 12px;
}
.sp-time { display: none; }

@media (max-width:768px) {
  /* SP：PC の開催時間を消す */
  .pc-time { display: none; }

  /* SP：画像の次に表示される開催時間 */
  .sp-time {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: block;
    height: auto;
    padding: 10px 15px;
    background: #FFFAFA;
    border: solid 1px #E3D9D9;
    margin: 10px auto !important;
    order: 2;
    -webkit-order: 2;
    font-size: 12px;
  }
}
/* =====================================================
   ▼ SP：フェア内容選択ボタン（フェア内容も選択する）
   ===================================================== */
@media (max-width:768px){

  .sp-fair-trigger-btn{
      width: 100%;
      padding: 12px 0;
      margin-top: 12px;
      background: #ffffff;
      color: #a57c43;
      border: 1px solid #a57c43;
      border-radius: 6px;
      font-size: 15px;
      text-align: center;
  }

  /* SP 選択中の内容行 */
  .sp-selected-terms-wrap{
    margin-top:10px;
    font-size:14px;
  }

}


/* =====================================================
   ▼ SP モーダル（フェア内容選択）
   ===================================================== */
@media (max-width:768px){

  .sp-fair-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:2000;
  }
  .sp-fair-modal.is-open{
    display:block;
  }

  .bf-archive .fair-modal-overlay{
    position:absolute;
    inset:0;
  }

  .bf-archive .fair-modal-content{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    background:#fff;
    border-radius:20px 20px 0 0;
    padding:24px 20px 30px;
    max-height:75vh;
    overflow-y:auto;
    animation:slideUp .3s ease;
  }

  @keyframes slideUp{
    from{ transform:translateY(40px); opacity:0; }
    to  { transform:translateY(0);   opacity:1; }
  }

  .bf-archive .fair-modal-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:16px;
    text-align:center;
  }

  .bf-archive .fair-modal-close{
    position:absolute;
    right:16px;
    top:12px;
    font-size:30px;
    background:none;
    border:none;
    color:#666;
  }

  .bf-archive .fair-term-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
  }

  .bf-archive .fair-term-item{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    background:#f6f0e8;
    border-radius:20px;
    font-size:14px;
    cursor:pointer;
  }

  /* ON状態 */
  .bf-archive .fair-term-item.is-checked{
    background:#b88a44 !important;
    color:#fff !important;
  }

  .bf-archive .fair-modal-footer{
    margin-top:20px;
  }

  #applyFairTerms{
    width:100%;
    padding:12px 0;
    border:none;
    border-radius:25px;
    background:#b88a44;
    color:#fff;
    font-size:15px;
  }
}


/* ===== SP モーダル：チェックボックスを非表示 ===== */

@media(max-width:768px){
  .bf-archive .fair-term-item input[type="checkbox"],
  .bf-archive .fair-term-check,
  .bf-archive .fair-term-check-featured {
    display:none !important;
  }
}

/* ===========================================
   ▼ 検索ボタン（統合 & 改善後）
=========================================== */

/* PC / 共通 */
.search-actions-bottom{
  text-align:center;
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:12px;
}

.search-actions-bottom .button{
  margin:0;
  text-align:center;
  padding:10px 0;
  border: none;
  font-size: 16px;
 font-family: inherit;

}

/* ボタン色（既存そのまま） */
.bf-search-btn{
  background:#D3B5A3;
  color:#fff;
}
.bf-search-btn:hover{ background:#c39c5a; }

.bf-reset-btn{
  background:#e3d6c8;
  color:#6b4c2a;
  text-decoration: none;
}
.bf-reset-btn:hover{ background:#d7c8b4; }

/* ▼ PC：検索する（長め）・リセット（短め） */
@media (min-width:769px){
  .bf-search-btn{
    flex:0 0 220px;   /* 検索する：長め */
  }
  .bf-reset-btn{
    flex:0 0 140px;   /* リセット：短め */
  }
}

/* ▼ SP：横並び（現行＋幅調整） */
@media (max-width:768px){

  .search-actions-bottom{
    display:flex !important;
    gap:10px;
    margin-top:20px;
  }

  .search-actions-bottom .button{
    margin:0 !important;
    flex:1 1 0;
  }

  /* SP でも検索ボタンを少し長めに */
  .bf-search-btn{
    flex:0 0 65%;
  }
  .bf-reset-btn{
    flex:0 0 35%;
  }
}

/* =============================================================================
   予約フォーム（reserve-form.php より移動）
   ============================================================================= */

/* ローディングオーバーレイ */
.bfm-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}
.bfm-loading-overlay.is-active {
  display: flex;
}
.bfm-loading-content {
  text-align: center;
  color: #fff;
}
.bfm-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: bfm-spin 0.8s linear infinite;
}
@keyframes bfm-spin {
  to { transform: rotate(360deg); }
}
.bfm-loading-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
/* ===============================
   レイアウト・共通
================================ */

/* ===== PC用 2カラムレイアウト（決定版） ===== */
@media (min-width: 768px) {

  .bfm-field {
    display: flex;
    align-items: flex-start;
    padding: 24px 0;
  }

  .bfm-field-head {
    width: 28%;
    min-width: 240px;
    margin-right: 24px;
  }

  .bfm-field-body {
    width: 72%;
  }
}


.bfm-reserve.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-family: "Noto Sans JP","Hiragino Sans","YuGothic","游ゴシック体",sans-serif;
  color: #333;
  box-sizing: border-box;
}
.bfm-title {
  font-size: 20px;
  letter-spacing: .05em;
  margin: 24px 0 20px;
}
.bfm-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 32px 0 12px;
}

/* ステップナビ */
.bfm-step-nav {
  display: flex;
  margin-bottom: 20px;
}
.bfm-step {
  flex: 1;
  text-align: center;
  font-size: 14px;
  padding: 10px 0;
  background: #f0f0f0;
  color: #999;
  position: relative;
}
.bfm-step + .bfm-step {
  margin-left: 2px;
}
.bfm-step span {
  position: relative;
  z-index: 2;
}
.bfm-step.is-current {
  background: #5b5b5b;
  color: #fff;
}
.bfm-step.is-done {
  background: #cfcfcf;
  color: #666;
}

/* グローバルエラー */
.bfm-global-error {
  background: #fff2f2;
  border: 1px solid #f3bbbb;
  color: #b30000;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
}
.bfm-global-error .icon { margin-right: 6px; }

/* フィールド共通 */
.bfm-field {
  border-bottom: 1px solid #f0f0f0;
  padding: 28px 0 32px;
}
.bfm-field:first-of-type {
  border-top: 1px solid #f0f0f0;
}
.bfm-field-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bfm-field-icon img {
  width: 26px;
  height: 26px;
}
.bfm-field-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.bfm-label-main {
  font-size: 16px;
  font-weight: 600;
}
.bfm-label-required {
  font-size: 11px;
  color: #c00;
  border: 1px solid #c00;
  padding: 1px 4px;
  border-radius: 2px;
}
.bfm-field-status {
  margin-left: auto;
  font-size: 16px;
  color: #8c7438;
}
.bfm-status-ok {
  display: inline-block;
}
.bfm-field-body {
  margin-top: 10px;
}
.bfm-field-body input[type="text"],
.bfm-field-body input[type="email"],
.bfm-field-body select,
.bfm-field-body textarea {
  width: 100%;
  font-size: 15px;
  padding: 9px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}
.bfm-field-body textarea {
  min-height: 120px;
  resize: vertical;
}
.bfm-field-row-2col {
  display: flex;
  gap: 8px;
}
.bfm-input-half {
  flex: 1;
}
.bfm-radio-row label,
.bfm-checkbox-row label {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  margin-right: 16px;
  margin-top: 6px;
}
.bfm-radio-row input,
.bfm-checkbox-row input {
  margin-right: 6px;
}

/* 予算 */
.bfm-budget-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bfm-budget-row input {
  max-width: 160px;
}
.bfm-budget-unit {
  font-size: 14px;
}

/* 静的テキスト */
.bfm-field-static .bfm-static-text {
  font-size: 14px;
}

/* エラー表示 */
.bfm-error {
  font-size: 12px;
  color: #c00;
  margin-top: 4px;
}
.bfm-field.has-error .bfm-field-body input,
.bfm-field.has-error .bfm-field-body select,
.bfm-field.has-error .bfm-field-body textarea {
  border-color: #c00;
  background: #fff8f8;
}
.bfm-field.is-valid .bfm-field-body input,
.bfm-field.is-valid .bfm-field-body select,
.bfm-field.is-valid .bfm-field-body textarea {
  border-color: #c6a46a;
}

/* プライバシー */
.bfm-field-privacy .bfm-privacy-label {
  font-size: 13px;
}

/* ボタン */
.bfm-submit-row,
.bfm-confirm-buttons {
  text-align: center;
  margin-top: 30px;
}
.bfm-confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.bfm-btn {
  display: inline-block;
  padding: 11px 44px;
  border-radius: 30px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background .25s, opacity .25s;
}
.bfm-btn-main {
  background: #c6a46a;
  color: #fff;
}
.bfm-btn-main:hover {
  opacity: .9;
}
.bfm-btn-sub {
  background: #b5b5b5;
  color: #fff;
}
.bfm-btn-sub:hover {
  opacity: .9;
}

/* 確認画面 */
#bfm-confirm-section {
  margin-top: 10px;
}
.bfm-confirm-block {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 0;
}
.bfm-confirm-block + .bfm-confirm-block {
  margin-top: 20px;
}
.bfm-confirm-row {
  display: flex;
  font-size: 14px;
  padding: 25px 0;
  border-bottom: 1px solid #f7f7f7;
}
.bfm-confirm-row:last-child {
  border-bottom: none;
}
.bfm-confirm-label {
  width: 30%;
  color: #666;
}
.bfm-confirm-value {
  width: 70%;
  color: #333;
}
.bfm-confirm-profile .bfm-confirm-row:first-of-type {
  margin-top: 4px;
}

/* バナーエリア（任意） */
.bfm-confirm-banner {
  margin-top: 30px;
}
.bfm-allergy-note-wrap {
  display: none;
}
/* --- アレルギー内容フィールドの余白・位置調整 --- */
.bfm-field[data-field="allergy_note"] {
  margin-top: 0; /* 余計な上マージンを消す */
  padding-top: 0;
}

/* アレルギー内容欄を自然に揃える */
.bfm-field[data-field="allergy_note"] .bfm-field-head {
  margin-bottom: 8px; /* ラベルと枠の間隔を統一 */
}


/* SP調整 */
@media (max-width: 767px) {
  .bfm-reserve.wrapper {
    padding: 30px 16px 50px;
  }
  .bfm-step-nav {
    margin-left: -16px;
    margin-right: -16px;
  }
  .bfm-step {
    font-size: 13px;
    padding: 9px 0;
  }
  .bfm-confirm-row {
    flex-direction: column;
  }
  .bfm-confirm-label,
  .bfm-confirm-value {
    width: 100%;
  }
  .bfm-confirm-label {
    margin-bottom: 2px;
  }
  .bfm-confirm-buttons {
    flex-direction: column;
  }
  .bfm-btn {
    width: 100%;
    max-width: 320px;
  }
  .bfm-field-row-2col {
    flex-direction: row;
  }
  .bfm-field[data-field="allergy_note"] {
    margin-top: -10px; /* 上に引き上げる（必要に応じて調整） */
  }
}

/* =============================================================================
   完了ページ（thanks.php より移動）
   ============================================================================= */

.bfm-reserve {
    max-width: 960px;
    margin: 0 auto;
}

/* =============================================================================
   確認ページ（page-fair-confirm.php より移動）
   ============================================================================= */

.confirm-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
}
.confirm-table th, 
.confirm-table td { 
    border: 1px solid #ccc; 
    padding: 8px; 
}
.confirm-btns button { 
    padding: 8px 20px; 
}
/* ============================================
   お気に入りポップアップ通知
   ============================================ */
.bfm-fav-toast {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: bfmToastFade 2s ease-out forwards;
  z-index: 1000;
}

.bfm-fav-toast::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
}

@keyframes bfmToastFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  15% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* お気に入りボタンの親要素に相対位置を設定 */
.bfm-fav-btn {
  position: relative;
}

/* ============================================
   予約フォーム：チェックボックス・ラジオボタンの表示保証
   外部テーマのreset.cssで非表示にされる問題を解消
   ============================================ */
.bfm-reserve input[type="checkbox"],
.bfm-reserve input[type="radio"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 16px !important;
    min-height: 16px !important;
    position: static !important;
    margin: 0 8px 0 0 !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.bfm-reserve input[type="radio"] {
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    appearance: radio !important;
}

.bfm-reserve label {
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* ============================================
   お気に入りボタン位置の強制修正（外部CSS対策）
   ============================================ */
.bf-archive .fair-main-col {
  position: relative !important;
}

.bf-archive .fair-main-col > .bfm-fav-btn-pc {
  position: absolute !important;
  top: 8px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 10 !important;
}

/* ============================================
   スマホ用お気に入りボタン位置の強制修正
   ============================================ */
@media (max-width: 768px) {
  .bf-archive .fair-date-col {
    position: relative !important;
  }
  
  .bf-archive .fair-date-col > .bfm-fav-btn-sp,
  .bf-archive .bfm-fav-btn-sp {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 10 !important;
  }
}
