@charset "utf-8";

/* ==================================================
   セクションクイックナビ（店舗一覧・イベント一覧）
================================================== */
.section-quick-nav {
    position: sticky;
    top: 50px; /* モバイルヘッダー高さ */
    z-index: 95; /* .mobile-filter-btn-wrapper(z-index:90)と同値だと
                     DOM順で後にある絞り込みボタンが上に重なって見えるため、
                     クイックナビを確実に前面表示させる */
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
    .section-quick-nav { display: none; }
}

.section-quick-nav__inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: .5rem;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.section-quick-nav__inner::-webkit-scrollbar {
    display: none;
}

.section-quick-nav__btn {
    display: inline-block;
    padding: .3rem .5rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    background: #f9f9f9;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.section-quick-nav__btn svg {
    vertical-align: -2px;
    margin-right: 1px;
}
.section-quick-nav__btn:hover,
.section-quick-nav__btn:active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/* スクロール時にナビ＋ヘッダーで隠れないよう余白確保 */
#favorites,
#js-event-list-ajax-wrapper,
#section-recommend,
#section-popular,
#section-calendar,
#venue-calendar,
#venue-details,
#venue-map,
#venue-recommend {
    scroll-margin-top: 110px;
}
@media (min-width: 768px) {
    #favorites,
    #js-event-list-ajax-wrapper,
    #section-recommend,
    #section-popular,
    #section-calendar,
    #venue-calendar,
    #venue-details,
    #venue-map,
    #venue-recommend {
        scroll-margin-top: 130px;
    }
}

/* ==================================================
   プライバシーポリシー・利用規約
================================================== */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 5% 60px;
}
.privacy-body {
    line-height: 2;
    color: #444;
}
.privacy-body h2 {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 40px 0 10px;
    padding-left: 10px;
    border-left: 4px solid var(--main-color);
}
.privacy-body p {
    margin-bottom: 1em;
}
.privacy-body a {
    color: var(--main-color);
    text-decoration: underline;
}

/* ==================================================
   一覧セクションヘッダー（見出し＋絞り込みボタン）
================================================== */
.list-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 15px;
}
.list-section-title {
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--global-heading-color, #334155);
  padding-left: 12px;
  border-left: 4px solid var(--main-color);
  margin: 0;
}
/* ヘッダー内のボタンは fixed を解除してインライン表示 */
.list-section-header .mobile-filter-btn-wrapper {
  position: static;
  transform: none;
  bottom: auto;
  left: auto;
  width: auto;
  pointer-events: auto;
  text-align: right;
}
@media (min-width: 768px) {
  .list-section-header .mobile-filter-btn-wrapper { display: none; }
}
/* 狭い画面（370px想定）では見出しと絞り込みボタンの横並びが窮屈なため縦積みに */
@media (max-width: 400px) {
  .list-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .list-section-header .mobile-filter-btn-wrapper {
    align-self: flex-end;
  }
  /* 縦積みで.list-section-headerの高さが増える分、アンカージャンプ時に
     スクロール停止位置が浅すぎてsticky状態のクイックナビと重なってしまう。
     #js-event-list-ajax-wrapperの手前にある.list-section-header分の高さも
     ここでまとめて避けられるよう、余白を広めに確保する */
  #js-event-list-ajax-wrapper {
    scroll-margin-top: 200px;
  }
}

/* ==================================================
   1. イベント絞り込みフィルター（スマホ：モーダル / PC：通常BOX）
================================================== */
/* ▼▼ スマホ専用：画面下の追従ボタン ▼▼ */
.mobile-filter-btn-wrapper {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90; /* かなり手前 */
  width: 100%;
  text-align: center;
  pointer-events: none; /* ラッパー自体はタッチを透過 */
}
.btn-mobile-filter {
  pointer-events: auto; /* ボタン本体はタッチ可能 */
  background-color: var(--global-heading-color, #334155);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ▼▼ スマホ専用：モーダルオーバーレイ ▼▼ */
.event-filter-wrapper {
  display: none; /* 初期状態は非表示（JSで開く） */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 16px 30px;
}

/* 内部白パネル */
.filter-modal-panel {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

/* ヘッダー */
.filter-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 16px 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}
.filter-modal-header h3 { margin: 0; font-size: 0.875rem; color: #334155; }
.btn-filter-close {
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #64748b;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
}

/* フォーム中身（スクロール対象） */
.filter-form-inner {
  padding: 15px 20px;
  overflow-y: auto;
  flex: 1;
}

/* フッター（パネル下部に固定） */
.filter-modal-footer {
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-radius: 0 0 16px 16px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
}
.btn-filter-apply {
  width: 100%; background: var(--main-color); color: #333; border: none;
  border-radius: 6px; padding: 14px; font-size: 0.875rem; font-weight: bold; cursor: pointer;
}

/* フィルター中身のデザイン */
.filter-group { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px dashed #e2e8f0; }
.filter-label { font-weight: bold; font-size: 0.875rem; margin-bottom: 8px; color: #334155; }
.filter-checkboxes { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.checkbox-label { font-size: 0.875rem; color: #475569; display: inline-flex; align-items: center; gap: 4px; }
.checkbox-label input[type="checkbox"] { width: 15px; height: 15px; margin: 0; }

/* フリーワード検索 */
.keyword-flex { display: flex; width: 100%; gap: 10px; }
.free-word-input { flex: 1; padding: .5rem 1rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.9375rem; box-sizing: border-box; }
.btn-keyword-search { flex-shrink: 0; padding: 0 16px; background-color: var(--main-color); color: #333; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; }

/* ▼▼▼ PC時（768px以上）：追従ボタンを消し、モーダルを通常のBOXに戻す ▼▼▼ */
@media (min-width: 768px) {
  .mobile-filter-btn-wrapper { display: none; }

  .event-filter-wrapper {
    display: block !important;
    position: static;
    background: transparent;
    padding: 0;
    overflow: visible;
    z-index: auto;
    margin-bottom: 40px;
  }

  .filter-modal-panel {
    max-width: 100%;
    max-height: none;
    overflow-y: visible;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f5;
  }

  .filter-modal-header,
  .filter-modal-footer { display: none; }

  .filter-form-inner { padding: 20px; overflow: visible; }
  .filter-group { flex-direction: row; padding: 10px 0; }
  .filter-label { width: 120px; margin-bottom: 0; flex-shrink: 0; }
  .keyword-flex { max-width: 400px; }
}

/* ==================================================
   2. イベント一覧（カードデザイン）
   archive-card-grid グリッドは common.css に定義済み
================================================== */
/* ▼▼ TOPと同じカードデザインをここにも記述 ▼▼ */
.card {
  width: 100%; height: 100%; position: relative;
  border: 1px solid #e0e0e0; border-radius: .8rem;
  background: #fff; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* 2026-09-02：日時リボンをカードの外に少しはみ出させるため overflow: visible に変更。
     元は overflow: hidden で、それがcard-thumb画像の角も一緒に丸くクリップしていたため、
     単純にvisibleへ変えるとサムネイル画像の角が四角いまま飛び出して見た目が崩れていた。
     対策として、画像の角丸クリップは下のcard-thumb側に個別に持たせている。 */
  overflow: visible;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }

.card-thumb {
  width: 100%; aspect-ratio: 1 / 1; background-color: #f5f5f5;
  overflow: hidden;
  border-radius: .8rem .8rem 0 0; /* cardのoverflow:visible化に伴い、画像の角丸クリップをここで肩代わり */
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* NO IMAGE（写真未掲載）プレースホルダーの見栄え改善
   2026-08-23：同じ薄灰色の四角が何件も並ぶと壊れて見えるため、
   今の情報カード（.on-card）と同じ3色ローテーションを店舗一覧のカードにも適用 */
.card-thumb img[src*="NO-IMAGE"] {
    object-fit: contain;
    padding: 16%;
    box-sizing: border-box;
}
.card:nth-child(3n+1) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), .14), rgba(var(--main-color-rgb), .04));
}
.card:nth-child(3n+2) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), .14), rgba(var(--accent-color-rgb), .04));
}
.card:nth-child(3n) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--sub-color-rgb), .16), rgba(var(--sub-color-rgb), .05));
}

/* ==================================================
   NO IMAGE（写真未掲載）プレースホルダーの見栄え改善
   同じ画像が並ぶと単調で寂しい印象になるため、
   カードごとに背景色を3パターンで循環させ、
   ロゴが不自然に引き伸ばされないよう contain 表示にする
================================================== */
.card-thumb img[src*="NO-IMAGE"] {
    object-fit: contain;
    padding: 16%;
    box-sizing: border-box;
}
.venue-card:nth-child(3n+1) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), .14), rgba(var(--main-color-rgb), .04));
}
.venue-card:nth-child(3n+2) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), .14), rgba(var(--accent-color-rgb), .04));
}
.venue-card:nth-child(3n) .card-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--sub-color-rgb), .16), rgba(var(--sub-color-rgb), .05));
}

.card .event-date {
  position: absolute; top: -.5rem; right: -.2rem;
  background-color: var(--accent-color); color: #fff;
  padding: .2rem; margin: 0; font-size: 0.75rem; font-weight: bold;
  line-height: 1.3;
  /* 2026-08-29：カードが狭くなり日時が2行に折り返す際、幅がカード全体まで
     広がってしまっていたため、内容量に応じた幅にし、折り返した2行は
     どちらも右揃えにする。
     【追記】width:fit-contentだけだと、1行に収まらない文字列の場合
     「使える幅いっぱい」にフォールバックしてしまう仕様のため、
     文字量に応じた固定の上限幅（max-width）も併用して確実に絞る。 */
  width: fit-content;
  max-width: 72px;
  text-align: right;
  border-radius: 4px 0 0 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); z-index: 10;
}
/* 日時帯のみサイト全体の最小14pxルールの例外（「毎月第三火曜」等、長文になると帯が大きくなりすぎるため） */

/* レギュラーイベントは日時帯の色を変えて、単発イベント（--accent-color）と一目で区別できるようにする */
.card.regular-event-card .event-date {
  background-color: var(--sub-color, #d99c02);
}

.card-body { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
/* 2026-08-29：カード内テキストはサイト共通の最小14pxルールの例外として、
   カード密度を上げるためにあえて13px未満（12px）に縮小 */
.card-title { font-size: 0.75rem; margin: 0; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
    .card-body { padding: 8px; }
}
.event-venue { font-size: 0.75rem; color: var(--main-color, #000064); font-weight: 600; margin: 0; margin-top: auto; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.event-venue .venue-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 2026-08-29：スマホの狭いカードだと、地域タグ（.event-region-badge）が
   flex-shrink:0で幅を確保する分、会場名がほぼ表示できなくなっていたため、
   スマホのみ縦積みにして会場名に横幅をフルで使わせる */
@media (max-width: 767px) {
    .event-venue {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .event-venue .venue-name-text {
        max-width: 100%;
    }
}

/* ページネーション */
.pagination { text-align: center; margin-top: 50px; }
.pagination .page-numbers { display: inline-block; padding: 8px 16px; background: #fff; margin: 0 4px; border-radius: 4px; text-decoration: none; color: #333; }
.pagination .current { background: var(--global-heading-color); color: #fff; }

/* スマホでは間隔・文字サイズを詰めて折り返しを防ぐ */
@media (max-width: 480px) {
    .pagination { margin-top: 30px; }
    .pagination .page-numbers {
        padding: 5px 9px;
        margin: 0 2px;
        font-size: 0.8125rem;
    }
}

/* ▼▼▼ 追加：店舗一覧（venue-card）特有のデザイン ▼▼▼ */
.venue-card .card-link {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; height: 100%;
}
/* 店舗用カテゴリーリボン（イベントとは色を変えて差別化！） */
.card .venue-badge {
  position: absolute; top: -.5rem; right: -.2rem;
  background-color: var(--sub-color, #d99c02); /* サブカラーのオレンジを使用 */
  color: #fff;
  padding: .2rem; margin: 0; font-size: 0.75rem; font-weight: bold;
  border-radius: 4px 0 0 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); z-index: 10;
}
/* ロゴと店名の横並び設定 */
.venue-card .card-title {
  display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.75rem;
}
/* 長い店名でもレイアウトが崩れないように制御 */
.venue-card .card-title span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 丸い店舗ロゴ */
.venue-card .venue-logo {
  width: 36px; height: 36px; object-fit: cover; border-radius: 50%;
  border: 1px solid #f0f0f0; flex-shrink: 0; background-color: #fff;
}

/* ==================================================
   3. 店舗・イベント詳細（Singleページ）
================================================== */
.event-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 5% 15px;
    box-sizing: border-box;
    background-color: #fff;
}
.event-title {
    font-size: 1.5rem; /* 【2026-09-09修正】fc-toolbar-title/venue-titleとサイズを統一 */
    margin-bottom: 15px;
    /* 【2026-09-30変更】黄色い帯（背景）に変更。黄色背景は白文字だと視認性が低いため文字色は濃色のまま */
    color: #333;
    background: var(--main-color);
    padding: 10px 16px;
    border-radius: 4px;
    line-height: 1;
}
.event-thumbnail, .event-img-block, .event-sentence-block, .event-details-section, .event-recommend-section {
    margin-bottom: 30px;
}

/* 外部リンク（dl内横並び） */
.event-external-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.event-external-link {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 2px solid var(--main-color, #000064);
    border-radius: 20px;
    color: var(--main-color, #000064);
    font-weight: bold;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.event-external-link:hover {
    background: var(--main-color, #000064);
    color: #fff;
}
.event-img-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
/* 【2026-09-09追加】画像拡大表示(ライトボックス)のクリック可能な見た目 */
.event-img-block a.glightbox,
.venue-img-block a.glightbox {
    display: block;
    cursor: zoom-in;
}
.event-sentence-block {
    font-size: 0.875rem;
    line-height: 1.7;
}
.event-details-section h3 {
    font-size: 0.875rem;
    border-left: 4px solid #0073aa;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* --- リピーター画像（sub_images）の配置グリッド --- */
.event-sub-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.event-sub-images-grid .event-img-block {
    margin-bottom: 0;
}

/* --- タクソノミーフィルターリンクボタン --- */
.taxonomy-cat,
.taxonomy-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin: 2px 4px 2px 0;
    transition: opacity 0.2s;
    line-height: 1.8;
}
.taxonomy-cat:hover,
.taxonomy-tag:hover {
    opacity: 0.75;
}
.taxonomy-cat {
    background: var(--main-color);
    color: #333;
    font-weight: bold;
}
.taxonomy-tag {
    background: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
}

/* --- 詳細リスト --- */
.venue-detail-list dt,
.event-detail-list dt {
    font-weight: bold;
    background: #f7f7f7;
    padding: 8px 10px;
    margin-top: 10px;
    border-radius: 4px;
}

.venue-detail-list dd,
.event-detail-list dd {
    margin: 5px 0 15px 10px;
    min-height: 1.5em;
}
.venue-link {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}
.venue-link:hover {
    text-decoration: underline;
}

/* --- 関連イベント --- */
.event-recommend-section h4 {
    font-size: 0.875rem;
    margin-bottom: 15px;
}

/* --- タブレットサイズ以上の指定（768px〜） --- */
@media (min-width: 768px) {
    .event-container {
        padding: 5% 30px;
    }
    .event-sub-images-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .venue-detail-list,
    .event-detail-list {
        display: grid;
        grid-template-columns: 180px 1fr;
        border-top: 1px solid #ddd;
        padding-top: 10px;
    }

    .venue-detail-list dt,
    .event-detail-list dt {
        background: none;
        padding: 12px 10px;
        margin-top: 0;
        border-bottom: 1px solid #eee;
    }

    .venue-detail-list dd,
    .event-detail-list dd {
        margin: 0;
        padding: 12px 10px;
        border-bottom: 1px solid #eee;
    }
}

/* --- PCサイズ以上の指定（1024px〜） --- */
@media (min-width: 1024px) {
    .event-container {
        max-width: 960px;
        margin: 40px auto;
    }
    .event-sentence-block {
        /* 【2026-09-09修正】旧: 0.6875rem(11px)。デスクトップ幅で本文が
           スマホ時(14px)より小さくなってしまっていた誤り。venue-sentence-block
           のデスクトップ設定と完全に揃える形で1.125rem(18px)に修正。 */
        font-size: 1.125rem;
        line-height: 1.8;
    }
}
.venue-container { max-width: 100%; margin: 20px auto; padding: 5% 15px; box-sizing: border-box; background-color: #fff; }
.venue-title { font-size: 1.5rem; margin-bottom: 15px; } /* 【2026-09-09修正】fc-toolbar-title/event-titleとサイズを統一 */
.venue-thumbnail img,
.event-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 600px;        /* 縦長すぎる画像が画面を埋め尽くすのを防ぐ */
    object-fit: contain;      /* 切り取らずに全体を表示！ */
    background-color: #f8fafc; /* 余白ができた時の背景色 */
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.venue-thumbnail, .venue-calendar-section, .venue-img-block, .venue-sentence-block, .venue-details-section, .venue-map-section, .venue-recommend-section { margin-bottom: 30px; }
.venue-img-block img { width: 100%; height: auto; display: block; border-radius: 6px; }
.venue-img-caption { font-size: 0.8125rem; color: #666; text-align: center; margin: 8px 0 0; line-height: 1.5; }
.venue-sentence-block { font-size: 0.9375rem; line-height: 1.7; }
.venue-calendar-section h3, .venue-details-section h3 { font-size: 0.875rem; border-left: 4px solid #333; padding-left: 10px; margin-bottom: 15px; }
.venue-calendar-image { width: 100%; height: auto; display: block; border-radius: 6px; }

/*.venue-detail-list { display: grid; grid-template-columns: 100px 1fr; border-top: 1px solid #ddd; padding-top: 10px; font-size: 1.5rem; }
.venue-detail-list dt { font-weight: bold; background: #f7f7f7; padding: 8px 10px; border-radius: 4px; }
.venue-detail-list dd { min-height: 1.5em; padding: 8px 10px; }*/

.venue-twin-images { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.venue-twin-images .venue-img-block { margin-bottom: 0; }

.venue-recommend-section h4 { font-size: 0.875rem; margin-bottom: 15px; }
.recommend-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.recommend-card { text-decoration: none; color: #333; }
.recommend-thumb { border-radius: 4px; overflow: hidden; background-color: #f5f5f5; position: relative; }
.recommend-thumb img { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.recommend-thumb video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; pointer-events: none; }
.recommend-name { font-size: 0.875rem; margin-top: 5px; font-weight: bold; }

/* NO IMAGE（写真未掲載）プレースホルダーの見栄え改善：類似店舗・関連イベントのカードにも適用 */
.recommend-thumb img[src*="NO-IMAGE"] {
    object-fit: contain;
    padding: 16%;
    box-sizing: border-box;
}
.recommend-card:nth-child(4n+1) .recommend-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), .14), rgba(var(--main-color-rgb), .04));
}
.recommend-card:nth-child(4n+2) .recommend-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), .14), rgba(var(--accent-color-rgb), .04));
}
.recommend-card:nth-child(4n+3) .recommend-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--sub-color-rgb), .16), rgba(var(--sub-color-rgb), .05));
}
.recommend-card:nth-child(4n) .recommend-thumb:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

@media (min-width: 768px) {
    .venue-container { padding: 5% 30px; }
    /* 【2026-09-09修正】venue-titleのサイズ指定は.venue-title-wrapper .venue-title
       （common.css、1024px〜で2rem）に一本化したため、ここは削除。 */
    /*.venue-detail-list { grid-template-columns: 180px 1fr; padding-top: 10px; }
    .venue-detail-list dt { background: none; padding: 12px 10px; margin-top: 0; border-bottom: 1px solid #eee; }
    .venue-detail-list dd { margin: 0; padding: 12px 10px; border-bottom: 1px solid #eee; }*/
    .venue-twin-images { flex-direction: row; }
    .venue-twin-images .venue-img-block { flex: 1; }
    .recommend-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
    .venue-container { max-width: 960px; margin: 40px auto; }
    .venue-sentence-block { font-size: 1.125rem; line-height: 1.8; }
}

/* ==================================================
   🌟 全カレンダー共通：デザイン＆カラー設定
================================================== */

/* カレンダーセル内の画像非表示ルールは削除済み（画像はポップアップのみ表示） */

/* --- 2. カテゴリー別の配色設定 --- */

/* 共通：角丸・左ボーダーアクセント */
.fc-event-single,
.fc-event-regular,
.fc-event-staff,
.fc-event-hours,
.fc-event-other {
    border-radius: 4px !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* ① 単発イベント（オレンジ） 🎉 */
.fc-event-single {
    background-color: #f57c00 !important;
    border-left: 4px solid #bf360c !important;
}
.fc-event-single,
.fc-event-single .fc-event-title,
.fc-event-single .fc-list-event-title,
.fc-event-single a {
    color: #fff !important;
}

/* ② 定期イベント（グリーン） 🔁 */
.fc-event-regular {
    background-color: #388e3c !important;
    border-left: 4px solid #1b5e20 !important;
}
.fc-event-regular,
.fc-event-regular .fc-event-title,
.fc-event-regular .fc-list-event-title,
.fc-event-regular a {
    color: #fff !important;
}

/* ③ スタッフ出勤・シフト（ブルー） 👤 */
.fc-event-staff {
    background-color: #1976d2 !important;
    border-left: 4px solid #0d47a1 !important;
}
.fc-event-staff,
.fc-event-staff .fc-event-title,
.fc-event-staff .fc-list-event-title,
.fc-event-staff a {
    color: #fff !important;
}

/* ④ 営業時間・店休（レッド） 🕐 */
.fc-event-hours {
    background-color: #e53935 !important;
    border-left: 4px solid #b71c1c !important;
}
.fc-event-hours,
.fc-event-hours .fc-event-title,
.fc-event-hours .fc-list-event-title,
.fc-event-hours a {
    color: #fff !important;
}

/* ⑤ その他（パープル） 📝 */
.fc-event-other {
    background-color: #7b1fa2 !important;
    border-left: 4px solid #4a148c !important;
}
.fc-event-other,
.fc-event-other .fc-event-title,
.fc-event-other .fc-list-event-title,
.fc-event-other a {
    color: #fff !important;
}


/* --- 3. 共通の文字レイアウト調整 --- */
.fc-event-title,
.fc-event-title-container,
.fc-list-event-title {
    white-space: normal !important; /* 長いタイトルもはみ出さずに折り返し */
    text-align: center !important;  /* 文字を真ん中揃えに */
    font-size: 0.875rem !important;  /* スマホでも読みやすいサイズ */
    font-weight: bold !important;   /* 文字をクッキリ太字に */
    line-height: 1 !important;
}

/* カレンダーの背景透過バグを防止＆タップできることを明示 */
.fc-event {
    background-color: transparent;
    cursor: pointer;
}


/* --- 4. スマホ用リストビュー（listMonth）の調整 --- */
/* リスト表示の際、標準の丸ポッチを消してスッキリさせる */
.fc-list-event-dot {
    display: none !important;
}
/* タップしやすいように余白を広げ、触れた時にハイライトさせる */
.fc-list-event:hover td {
    background-color: #f8fafc !important;
}
.fc-list-table td {
    padding: 12px 14px !important;
}

/* ==================================================
   🌟 マイページ：タブ切り替え UI
================================================== */
.mypage-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto; /* スマホで入り切らない場合は横スクロール */
    white-space: nowrap;
}
.mypage-tabs .tab-btn {
    padding: .5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: -2px; /* borderを重ねるため */
    font-size: 0.9375rem;

}
.mypage-tabs .tab-btn:hover {
    color: #334155;
    background-color: #f8fafc;
}
.mypage-tabs .tab-btn.is-active {
    color: #0073aa; /* アクティブ時の文字色 */
    border-bottom-color: #0073aa; /* アクティブ時の下線色 */
}
/* タブコンテンツのアニメーション */
.tab-content {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==================================================
   投稿リスト（page-mypost / page-yourpost / page-yourevent 共通）
================================================== */
.my-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.my-post-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}
.my-post-item__left {
    display: flex;
    gap: 15px;
    align-items: center;
}
.my-post-item__thumb {
    width: 80px;
    height: 60px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    flex-shrink: 0;
}
.my-post-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my-post-item__no-image {
    font-size: 0.875rem;
    color: #aaa;
}
.my-post-item__status {
    font-size: 0.875rem;
    padding: 2px 6px;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 5px;
    display: inline-block;
}
.my-post-item__title {
    margin: 0;
    font-size: 1rem;
}
.my-post-item__date {
    color: #888;
}
.my-post-item__edit-btn {
    padding: 8px 15px;
    background: #26a65b;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: bold;
    white-space: nowrap;
}
.my-post-pagination {
    margin-top: 20px;
}
.my-post-empty {
    color: #666;
    margin-top: 20px;
}


/* ==================================================
   店舗詳細ページ (single.php)
================================================== */
.owner-claim-banner {
    font-size: 1.125rem;
    background-color: #e3f2fd;
    color: #0A61A8;
    border: 1px solid #90caf9;
    border-radius: 3px;
    padding: 1em;
    margin-bottom: 20px;
}
.btn-claim {
    background-color: #0A61A8;
    color: #fff;
    display: block;
    margin: 0 auto;
    width: fit-content;
    padding: .7rem 1rem;
    text-decoration: none;
}
.venue-header-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.venue-referral-cta {
    margin: 0 0 20px;
}
.venue-referral-cta .btn-claim {
    border-radius: 8px;
    font-weight: bold;
}
.venue-logo-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}
.venue-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.venue-title-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.venue-title {
    margin-bottom: 0;
    font-size: 1.5rem; /* 【2026-09-09修正】fc-toolbar-title/event-titleとサイズを統一（PC側は common.css の .venue-title-wrapper .venue-title で2remに上書き） */
    line-height: 1;
    /* 【2026-09-30変更】黄色い帯（背景）に変更。黄色背景は白文字だと視認性が低いため文字色は濃色のまま */
    color: #333;
    background: var(--main-color);
    padding: 10px 16px;
    border-radius: 4px;
}
.venue-header-area .js-favorite-btn {
    position: relative;
    inset: auto;
    flex-shrink: 0;
    margin-top: 0;
}
.venue-map-iframe {
    border: 0;
    border-radius: 6px;
    width: 100%;
}

/* ==================================================
   イベント一覧 日付カレンダーコントロール
================================================== */
/* 【2026-10-03追加】ページ冒頭（タイトル／検索・一覧エリア）も他のsectionと同じく
   padding: 20px 0 40pxで統一。背景色は.section-favoritesと同じく付けず透明のまま。 */
.page-header-block,
.section-event-list,
.section-venue-list {
    padding: 20px 0 40px;
}
/* 【2026-10-03追加】サイト全体での交互背景色（front-page.phpと同じ2色をブロック単位で交互に） */
.recommend-block {
    background: #78663d;
    padding: 20px 0 40px;
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.event-calendar-section {
    padding: 20px 0 40px;
    background: rgba(var(--main-color-rgb), .3);
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cal-center {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cal-center input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.875rem;
    height: 36px;
    background-color: rgba(255,255,255,.7);
}
.cal-btn {
    padding: 6px 14px;
    background: var(--main-color);
    color: #333;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    height: 36px;
    transition: opacity 0.2s;
}
.cal-btn:hover {
    opacity: 0.8;
}
.cal-btn-today {
    padding: 6px 12px;
    background: #555;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    height: 36px;
    transition: opacity 0.2s;
}
.cal-btn-today:hover {
    opacity: 0.8;
}
.cal-loading {
    text-align: center;
    color: #999;
    font-size: 0.875rem;
    padding: 20px 0;
}
@media (max-width: 767px) {
    .calendar-controls {
        gap: 6px;
    }
    .cal-btn,
    .cal-btn-today {
        font-size: 0.75rem;
        padding: 4px 8px;
        height: 30px;
    }
    .cal-center {
        gap: 4px;
    }
    .cal-center input[type="date"] {
        font-size: 0.75rem;
        padding: 4px 6px;
        height: 30px;
    }
}
@media (max-width: 400px) {
    .calendar-controls {
        gap: 4px;
    }
    .cal-btn,
    .cal-btn-today {
        font-size: 0.6875rem;
        padding: 3px 6px;
        height: 28px;
    }
    .cal-center input[type="date"] {
        font-size: 0.6875rem;
        padding: 3px 4px;
        height: 28px;
        max-width: 130px;
    }
}


/* ==========================================
   【Step 4】参加予定者アバター（single-event.php）
   ========================================== */
.attendees-section {
    margin: 16px 0 20px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.attendees-avatar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.attendee-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    background: #e2e8f0;
    flex-shrink: 0;
}
.attendee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.attendee-avatar--more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
    color: #64748b;
    background: #e2e8f0;
}
.attendee-avatar--dummy {
    background: linear-gradient(135deg, #cbd5e1 0%, #e2e8f0 100%);
}
.attendees-note {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
.attendees-note--private {
    color: #94a3b8;
    font-style: italic;
}
/* ティーザー（非公開時） */
.attendees-teaser {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.attendees-avatar-row--blurred .attendee-avatar {
    filter: blur(6px);
    opacity: 0.5;
}
.attendees-teaser-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
.attendees-teaser-text a {
    color: #e91e63;
    font-weight: bold;
}

/* ==========================================
   今夜の営業情報（まとめページ）
   ========================================== */
.open-now-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 4% 60px;
}
.page-header-block {
    text-align: center;
    margin-bottom: 24px;
}
.page-header-block .page-title {
    /* サイズ・色は共通の .page-title（css/common.css）に合わせる。ここでは余白のみ調整 */
    margin: 0 0 6px;
}
.page-header-block .page-subtitle {
    font-size: 0.875rem;
    color: #888;
    margin: 0;
}
/* 地域タブ */
.open-now-region-tabs,
.on-preview-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.on-region-tab,
.on-preview-tab {
    padding: 5px 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
}
.on-region-tab:hover,
.on-preview-tab:hover {
    border-color: var(--main-color);
    color: var(--sub-color);
}
.on-region-tab.is-active,
.on-preview-tab.is-active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
/* 絞り込み */
.open-now-filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.on-filter-btn {
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
}
.on-filter-btn.is-active {
    background: var(--sub-color);
    border-color: var(--sub-color);
    color: #fff;
    font-weight: bold;
}
/* カードリスト */
.open-now-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 768px)  { .open-now-list { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .open-now-list { grid-template-columns: repeat(5, 1fr); } }
.on-preview-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 768px)  { .on-preview-list { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .on-preview-list { grid-template-columns: repeat(5, 1fr); } }
/* カード（他の.cardデザインに寄せて統一：角丸・枠線・影の挙動を合わせる） */
.on-card {
    display: block;
    position: relative; /* お気に入りバッジの基準点 */
    text-decoration: none;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: .8rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.on-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.on-card--open    { border-top: 3px solid #2ecc71; }
.on-card--closing { border-top: 3px solid #f1c40f; }
.on-card--closed  { border-top: 3px solid #e74c3c; }
/* 【2026-09-03追加】曜日別営業時間からの推測表示（オーナー投稿ではない） */
.on-card--scheduled { border-top: 3px solid #7c93c9; }

/* フォールバックセクション（ステータスなし時のおすすめ店舗） */
.on-fallback-section {
    margin-top: 16px;
    grid-column: 1 / -1; /* open-now-list グリッド全幅にスパン */
}
.on-fallback-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #888;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid #ddd;
}
.on-fallback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 768px)  { .on-fallback-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .on-fallback-grid { grid-template-columns: repeat(5, 1fr); } }

/* フォロー中バッジ */
.on-card-fav-badge {
    font-size: 0.875rem;
    margin-left: 4px;
    vertical-align: middle;
}

/* カード画像エリア（他の.card-thumbと同じ正方形比率に統一） */
.on-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    position: relative; /* 【2026-09-26追加】動画バッジ(.media-video-badge)の位置基準 */
}
.on-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* NO IMAGE（写真未掲載）プレースホルダーの見栄え改善：今夜の営業情報プレビューのカードにも適用 */
.on-card-img[src*="NO-IMAGE"] {
    object-fit: contain;
    padding: 16%;
    box-sizing: border-box;
}
.on-card:nth-child(3n+1) .on-card-img-wrap:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), .14), rgba(var(--main-color-rgb), .04));
}
.on-card:nth-child(3n+2) .on-card-img-wrap:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), .14), rgba(var(--accent-color-rgb), .04));
}
.on-card:nth-child(3n) .on-card-img-wrap:has(img[src*="NO-IMAGE"]) {
    background: linear-gradient(135deg, rgba(var(--sub-color-rgb), .16), rgba(var(--sub-color-rgb), .05));
}

/* カテゴリーバッジ（画像右上。他のカードの.venue-badgeと共通デザイン） */
.on-card .venue-badge {
    position: absolute; top: 12px; right: 0;
    background-color: var(--sub-color, #d99c02);
    color: #fff;
    padding: 5px 10px 5px 6px; margin: 0; font-size: 0.75rem; font-weight: bold;
    border-radius: 4px 0 0 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); z-index: 10;
}

/* お気に入りバッジは他のカードと同じ既定位置（カード右下）をそのまま使用 */

/* カード本体（他の.card-bodyと同じ余白に統一） */
.on-card-body {
    padding: 12px;
}
.on-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 2px;
}
.on-card-badge {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 8px;
}
.on-badge-open    { background: #e6f9ee; color: #1a7a3c; }
.on-badge-closing { background: #fff8e0; color: #8a6a00; }
.on-badge-closed  { background: #ffeaea; color: #a00; }
.on-badge-scheduled { background: #eef1fa; color: #3b4b7a; }
.on-card-ago {
    font-size: 0.75rem;
    color: #bbb;
}

/* 店名行（ロゴ＋名前） */
.on-card-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}
.on-card-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
    background-color: #fff;
    flex-shrink: 0;
}
.on-card-title {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--global-heading-color);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.on-card-text {
    font-size: 0.75rem;
    color: #666;
    margin: 3px 0 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 【2026-09-11追加】地図で探すページ：リスト（近い順）表示の距離タグ。
   ポップアップ用.map-popup-distanceと同系色でカード内にも表示する */
.on-card-distance {
    font-size: 0.8125rem;
    color: #0078d4;
    font-weight: bold;
    margin: 4px 0 0;
}

.on-card-region {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 4px 0 0;
}

/* ==========================================
   サンプルカード（今の情報：実際の投稿が0件の間に表示）
   2026-08-23：実在店舗のステータスを無断で表示する代わりに、
   RAMUNE君が案内する架空のカードで機能イメージを見せる。
   ========================================== */
.on-sample-section {
    grid-column: 1 / -1; /* preview/list のグリッド全幅にスパン */
}
.on-sample-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.on-sample-intro__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}
.on-sample-intro__text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #333;
}
.on-sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 768px)  { .on-sample-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .on-sample-grid { grid-template-columns: repeat(5, 1fr); } }

.on-card--sample {
    opacity: .92;
}
.on-sample-tag {
    position: absolute;
    top: 10px;
    left: 0;
    background: #666;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 10px 3px 8px;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    z-index: 10;
}

/* ローディング・空状態 */
.open-now-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #aaa;
    padding: 40px 0;
    font-size: 0.875rem;
}
.open-now-empty,
.on-preview-empty {
    text-align: center;
    color: #aaa;
    padding: 30px 0;
    font-size: 0.875rem;
}
.open-now-empty-sub { font-size: 0.875rem; }

/* ==========================================
   TOPページ 今夜の営業情報プレビュー
   ========================================== */
/* 【2026-10-03修正】TOPページ全体で背景色を交互に変える。実際のページ上の
   並び順（イベント一覧→今夜の営業情報→注目の店舗→今日のイベント→
   マイ地域のイベント→新着のイベント→新着の店舗）に対して、
   #78663d（濃茶）と rgba(var(--main-color-rgb), .3)（既存のbody背景色）の
   2色がきちんと1つおきに交互になるよう、所属グループを位置基準で組み直した。
   new-events/new-barsは同じクラス(.section-new-arrivals)のため、
   :nth-of-type(奇数=new-events / 偶数=new-bars)で個別に振り分けている。 */
/* 【2026-10-03変更】縦方向の余白は全セクション共通で.innerのpadding: 40px 0のみに統一。
   以前はこのグループだけsection自体にもpadding: 20px 0 40pxを重ねていたため、
   セクションごとに余白量がばらついていた（さらにmarginは使わない：marginで余白を
   作るとbackground-colorの外側になり、隙間にbodyの色が見えてしまうため）。 */
.section-open-now,
.section-today-events,
.section-new-arrivals:nth-of-type(odd) {
    background: #78663d;
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.section-owner-events,
.section-featured-venues,
.section-my-region,
.section-new-arrivals:nth-of-type(even) {
    background: rgba(var(--main-color-rgb), .3);
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.section-note {
    font-size: 0.875rem;
    color: #bbb;
    margin: -8px 0 14px;
}
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.section-title-row .section-title {
    margin: 0;
}
.section-more-link {
    font-size: 0.875rem;
    color: var(--main-color);
    text-decoration: none;
    font-weight: bold;
}
.section-more-link:hover { text-decoration: underline; }

/* 列数は.archive-card-gridと同じブレークポイントで各グリッド定義の直後に統一済み。
   カード内側のpadding・フォントサイズも他の.cardと合わせるため、
   ここでは列数以外の要素（タブの余白）のみスマホ調整する */
@media (max-width: 767px) {
    .open-now-region-tabs,
    .on-preview-tabs { gap: 4px; }
}


/* ==================================================
   店舗マップページ（page-map.php）
================================================== */
.map-page {
    padding-bottom: 60px;
}

/* 地域タブ */
.map-region-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 16px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 50px;
    z-index: 90;
}
@media (min-width: 768px) { .map-region-tabs { top: 70px; } }
@media (min-width: 1920px){ .map-region-tabs { top: 100px; } }
.map-region-tabs::-webkit-scrollbar { display: none; }

.map-region-tab {
    flex-shrink: 0;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.map-region-tab.is-active {
    background: var(--main-color, #FFB61C);
    border-color: var(--main-color, #FFB61C);
    color: #fff;
    font-weight: bold;
}

/* ステータス */
.map-status {
    padding: 8px 16px;
    font-size: 0.875rem;
    color: #888;
    min-height: 32px;
}

/* マップ本体 */
.map-canvas {
    width: 100%;
    height: 60vh;
    min-height: 320px;
    max-height: 640px;
    background: #e8e8e8;
    /* 【2026-08-25追加】スマホでマップをドラッグ操作した際に、ブラウザの
       ネイティブなページスクロールも同時に反応してしまい、地図の操作が
       安定しない不具合の対策。この要素上のタッチ操作は全てLeaflet側の
       JSに任せ、ブラウザ標準のスクロール/ズーム処理を無効化する。 */
    touch-action: none;
}

/* 【2026-08-25追加】スマホは画面が縦長で余裕があるため、地図の表示高さを広げる */
@media (max-width: 767px) {
    .map-canvas {
        height: 75vh;
        min-height: 420px;
    }
}

/* ==================================================
   【2026-09-04追加】スマホ専用：地図ページの全画面イマーシブ表示
   ----------------------------------------------------
   参考：homes.co.jpの地図検索のような「地図が画面いっぱい・フッターや
   ページの余計な要素が無い・絞り込みは地図の上にフローティング表示」
   というレイアウト。地図操作中に周囲の要素が動いてしまい操作しづらい、
   という指摘への対応。PC・タブレット（768px以上）は変更なし。
   ヘッダー（header、常時表示・高さmin(50px)・z-index:1001）はそのまま残す。
================================================== */
@media (max-width: 767px) {
    /* 【2026-09-11変更】リスト（近い順タイル）表示をデフォルトにしたため、以下の
       「地図全画面固定」レイアウトは、JSでマップタブに切り替えた時だけ付与される
       body.map-view-active がある時のみ適用する（.page-template-page-map-php だけでは
       発動しない）。リスト表示時は通常のページと同じくスクロール可能な一覧レイアウトになる。
       ページ全体をビューポート内に固定し、地図ページ自体のスクロールを止める
       （position:fixed + inset:0 は、iOS Safariでoverflow:hiddenだけでは
       残ってしまうスクロール/バウンスも確実に止められる定番の方法） */
    body.page-template-page-map-php.map-view-active {
        position: fixed;
        inset: 0;
        overflow: hidden;
    }

    .page-template-page-map-php.map-view-active .container {
        padding: 0;
        max-width: 100%;
    }

    /* タイトル・サブタイトル・下部の凡例テキストは地図面積を優先して非表示 */
    .page-template-page-map-php.map-view-active .page-title,
    .page-template-page-map-php.map-view-active .page-subtitle,
    .page-template-page-map-php.map-view-active .map-legend-note {
        display: none;
    }

    /* 【2026-09-14追加】今夜の営業情報ページ（page-open-now.php）と同じ不具合対策：
       マップ表示中はリスト/マップ切り替えボタンが通常の配置のままだと地図の下に
       隠れてしまい、リストへ戻る手段が無くなる。画面下部に浮かぶ丸ボタンとして残し、
       非アクティブな「📋 リスト」ボタンだけを表示することで「戻る」ボタンとして
       機能させる（open-nowの.on-map-immersive .view-toggle-barと同じ構成）。 */
    .page-template-page-map-php.map-view-active .map-view-toggle {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        margin: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
        border-radius: 24px;
    }
    .page-template-page-map-php.map-view-active .map-view-toggle .view-toggle-btn.is-active {
        display: none;
    }

    /* 絞り込みボタン＋ステータス表示を、地図の上に浮かぶ1枚のカードにまとめる */
    .page-template-page-map-php.map-view-active .map-overlay-topbar {
        position: fixed;
        top: 58px; /* ヘッダー(50px)の下に少し余白 */
        left: 12px;
        right: 12px;
        z-index: 1000; /* ヘッダー(1001)より下、Leaflet操作系より上 */
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(8px);
        border-radius: 14px;
        padding: 10px 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    }
    .page-template-page-map-php.map-view-active .map-overlay-topbar .list-section-header {
        margin: 0;
    }
    /* カード内では「絞り込み条件」の見出しテキストは省略し、ボタンだけ幅いっぱいに */
    .page-template-page-map-php.map-view-active .map-overlay-topbar .list-section-title {
        display: none;
    }
    .page-template-page-map-php.map-view-active .map-overlay-topbar .mobile-filter-btn-wrapper {
        width: 100%;
    }
    .page-template-page-map-php.map-view-active .map-overlay-topbar .btn-mobile-filter {
        width: 100%;
        justify-content: center;
    }
    .page-template-page-map-php.map-view-active .map-overlay-topbar #map-status {
        margin: 8px 0 0;
        padding: 0;
        min-height: 0;
        font-size: .8125rem;
        text-align: center;
    }

    /* 地図本体：ヘッダー直下から画面下端まで、横は画面いっぱい（100vw）に固定表示 */
    .page-template-page-map-php.map-view-active #map-canvas {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
        max-height: none;
        min-height: 0;
    }

    /* フッター・追従ウィジェット類は地図と重なって操作の邪魔になるため非表示
       （年齢確認オーバーレイ#age-verify-overlayは対象外、そのまま残す） */
    .page-template-page-map-php.map-view-active #footer,
    .page-template-page-map-php.map-view-active #ramune-stats-widget,
    .page-template-page-map-php.map-view-active .bottom-nav {
        display: none !important;
    }

    /* リスト表示中はトグルバー・絞り込みヘッダーを通常の縦並びで表示（フローティング化しない） */
    .page-template-page-map-php:not(.map-view-active) .map-overlay-topbar #map-status {
        display: none;
    }
}

/* Leaflet ポップアップ */
.map-popup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}
.map-popup-thumb {
    width: 100%;
    height: 100px;
    object-fit: contain;
    border-radius: 4px;
}
.map-popup-body {
    padding: 4px 2px;
}
.map-popup-title {
    font-weight: bold;
    font-size: 0.875rem;
    margin: 0 0 4px;
}
/* 【2026-09-04追加】今夜の営業情報マップのピン：リストのカードと同じステータスバッジを表示 */
.map-popup-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
}
.map-popup-region {
    font-size: 0.875rem;
    color: #888;
    margin: 0 0 4px;
}
.map-popup-address {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 6px;
}
.map-popup-link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--main-color, #FFB61C);
    font-weight: bold;
    text-decoration: none;
}
.map-popup-link:hover { text-decoration: underline; }

/* カスタムピン（RAMUNEアイコン） */
.map-pin-icon {
    background: none;
    border: none;
    text-align: center;
}
.map-pin-icon img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
    background: #fff;
}
/* 同一ビル複数店舗ピン（バッジ付き） */
.map-pin-icon--multi {
    position: relative;
}
.map-pin-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--accent-color, #03a39b);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
}

/* 同一ビル複数店舗ポップアップ（一覧） */
.map-popup-multi-wrap {
    min-width: 200px;
    max-width: 240px;
}
.map-popup-multi-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}
.map-popup-multi-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid #eee;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
}
.map-popup-multi-item:hover {
    background: #f7f7f7;
}
.map-popup-multi-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.map-popup-multi-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.map-popup-multi-title {
    font-weight: bold;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.map-popup-multi-body .map-popup-distance {
    margin: 2px 0 0;
    font-size: 0.75rem;
}

.map-legend-note__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: -3px;
    margin-right: 2px;
}

/* 凡例 */
.map-legend {
    padding: 8px 16px;
    font-size: 0.875rem;
    color: #999;
}
.map-legend-note {
    margin: 6px 16px 0;
    font-size: 0.875rem;
    color: #999;
}

/* 店舗一覧内マップセクション */
.venue-map-section-wrap {
    margin-top: 60px;
    padding-bottom: 60px;
}

/* ==================================================
   リスト / マップ 切り替えトグル
================================================== */
.view-toggle-bar {
    display: flex;
    gap: 8px;
    margin: 16px 0 12px;
}
.view-toggle-btn {
    padding: 8px 20px;
    border: 1.5px solid #ddd;
    border-radius: 24px;
    background: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.view-toggle-btn.is-active {
    background: var(--main-color, #FFB61C);
    border-color: var(--main-color, #FFB61C);
    color: #fff;
    font-weight: bold;
}

/* マップビューコンテナ（店舗一覧） */
.venue-map-view {
    margin-bottom: 24px;
}

/* 営業情報マップビューコンテナ */
.open-now-map-view {
    padding: 0 16px 24px;
}

/* ==================================================
   【2026-09-04追加】スマホ専用：「今夜の営業情報」ページのマップビューを
   page-map.phpと同じ全画面イマーシブ表示にする。
   ----------------------------------------------------
   このページはリスト/マップの切り替え式のため、page-map.phpのように
   テンプレート全体には適用できない。JS側（page-open-now.phpの
   view-toggleクリック処理）で、マップ表示に切り替えた瞬間だけ
   body.on-map-immersive を付与し、それを起点にこの一式を適用する。
   PC・タブレット（768px以上）は変更なし。
================================================== */
@media (max-width: 767px) {
    body.on-map-immersive {
        position: fixed;
        inset: 0;
        overflow: hidden;
    }

    .on-map-immersive .map-legend-note {
        display: none;
    }

    .on-map-immersive .open-now-page {
        padding: 0;
        max-width: 100%;
    }

    /* 【2026-09-04修正】タイトル・サブタイトルをまとめて非表示にしていたが、
       サブタイトル（「オーナーが更新中のリアルタイム営業状況をチェック」＝
       表示対象の説明）はマップ表示中も見えている方が良いとの指摘を受け、
       見出し（h1・マスコットアイコン）だけ非表示にし、サブタイトルは
       地図の上に浮かぶ細い帯として残す。 */
    .on-map-immersive .page-header-block {
        position: fixed;
        top: 54px;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 4px 16px;
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(6px);
    }
    .on-map-immersive .page-header-block .page-title {
        display: none;
    }
    .on-map-immersive .page-header-block .page-subtitle {
        margin: 0;
        font-size: 0.75rem;
    }

    /* 【2026-09-04修正】リスト/マップ切り替えボタンを非表示にしてしまうと、
       マップに切り替えた後リストへ戻る手段が無くなるバグがあったため、
       画面下部に浮かぶ丸ボタンとして残す。現在アクティブな「マップ」ボタンは
       隠し、非アクティブな「📋 リスト」ボタンだけを表示することで、
       実質「戻る」ボタンとして機能させる（page-map.phpの絞り込みボタンと
       同じ位置・スタイルのフローティングボタン）。 */
    .on-map-immersive .view-toggle-bar {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        margin: 0;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
        border-radius: 24px;
    }
    .on-map-immersive .view-toggle-bar .view-toggle-btn.is-active {
        display: none;
    }

    /* 地域タブを、地図の上に浮かぶフローティングカードに変更
       （flex-wrapをnowrap化して必ず1行に収め、高さを一定にする） */
    .on-map-immersive .open-now-region-tabs {
        position: fixed;
        top: 90px;
        left: 12px;
        right: 12px;
        z-index: 1000;
        margin: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(8px);
        border-radius: 14px;
        padding: 10px 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    }
    .on-map-immersive .on-region-tab {
        flex-shrink: 0;
    }

    /* ステータス表示も、地域タブカードの下にもう1枚の小さいカードとして浮かせる */
    .on-map-immersive #open-now-map-status {
        position: fixed;
        top: 148px;
        left: 12px;
        right: 12px;
        z-index: 999;
        margin: 0;
        min-height: 0;
        text-align: center;
        background: rgba(255, 255, 255, .95);
        backdrop-filter: blur(8px);
        border-radius: 10px;
        padding: 6px 14px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    }

    /* マップ本体：ヘッダー直下から画面下端まで、横は画面いっぱいに固定表示 */
    .on-map-immersive #open-now-map-view {
        padding: 0;
    }
    .on-map-immersive #open-now-map-canvas {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: auto;
        max-height: none;
        min-height: 0;
    }

    /* フッター・追従ウィジェット類は地図と重なって操作の邪魔になるため非表示
       （年齢確認オーバーレイは対象外、そのまま残す） */
    .on-map-immersive #footer,
    .on-map-immersive #ramune-stats-widget,
    .on-map-immersive .bottom-nav {
        display: none !important;
    }
}

/* 距離表示（ポップアップ内） */
.map-popup-distance {
    font-size: 0.875rem;
    color: #0078d4;
    font-weight: bold;
    margin: 0 0 4px;
}

/* 現在地マーカー */
.map-current-location {
    background: none;
    border: none;
    font-size: 1.375rem;
    line-height: 1;
    text-align: center;
}

/* 閉店バッジ（カード用） */
.card-thumb {
    position: relative;
}
.shutdown-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
}
/* メイン動画バッジ（一覧・カード共通。2026-09-26追加）
   カードのサムネイル枠に動画を <video preload="metadata"> で1コマ目だけ軽量表示し、
   その上に「動画であることがわかる小さなマーク」を重ねる。実際の動画本体の再生は
   詳細ページ・モーダルでのみ行う（ここではフル読み込みしない）。 */
.card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* カード自体がリンクなので、動画側でのクリック操作は無効化 */
}
.media-video-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 999px;
    pointer-events: none;
    line-height: 1.4;
}

.venue-card--shutdown .card-thumb img {
    filter: grayscale(60%);
    opacity: 0.75;
}

/* ==================================================
   レギュラーイベントセクション（page-event-list.php）
================================================== */
.event-regular-section {
    padding: 20px 0 40px;
    background: #78663d;
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.popular-block {
    padding: 20px 0 40px;
    background: rgba(var(--main-color-rgb), .3);
    border-top: 1px solid rgba(var(--main-color-rgb), .18);
    border-bottom: 1px solid rgba(var(--main-color-rgb), .18);
}
.regular-region-tabs { margin: 0 0 20px; }
.venue-event-gallery-section { margin-top: 30px; }

/* 店舗詳細ページの「開催イベント」ギャラリー：件数が多くても縦に間延びしないよう横スクロールにする */
.venue-event-gallery-section .venue-event-gallery-scroll {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.venue-event-gallery-section .venue-event-gallery-scroll .card {
    flex: 0 0 auto;
    width: 150px;
    scroll-snap-align: start;
}
.venue-event-gallery-section .venue-event-gallery-scroll::-webkit-scrollbar {
    height: 6px;
}
.venue-event-gallery-section .venue-event-gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}
@media (min-width: 768px) {
    .venue-event-gallery-section .venue-event-gallery-scroll .card {
        width: 190px;
    }
}
.event-region-badge {
    display: inline-block;
    flex-shrink: 0;
    margin: 0;
    font-size: 0.75rem;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}
/* オーナー投稿イベントのバッジ（TOPページ「オーナーさん投稿のイベント」セクション用。2026-09-02追加） */
.owner-event-card .card-thumb {
    position: relative; /* バッジをこの要素基準で配置するため */
}
.owner-event-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    background: var(--main-color, #FFB61C);
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
/* 店舗カードの地域バッジ（イベントカードと同じデザインで統一） */
.venue-region-row {
    margin: 6px 0 0;
    margin-top: auto;
    padding-top: 6px;
}
.regular-event-card { cursor: pointer; }

/* イベントカード：お気に入り・参加予定ボタンをcard-body右上に半分はみ出す形で配置
   （地域タグ追加により、従来のcard全体下端基準の配置だと地域タグと重なるため） */
.event-card .card-body { position: relative; }
.event-card .favorite-btn {
    top: -18px;
    bottom: auto;
    right: 10px;
}
.card.event-card .attending-btn {
    top: -18px;
    bottom: auto;
    right: 52px;
}

/* 閉店バナー（詳細ページ用） */
.shutdown-banner {
    background: #fde2e7;
    border: 1px solid #f472a0;
    border-radius: 6px;
    padding: 14px 20px;
    margin-bottom: 20px;
    text-align: center;
}
.shutdown-banner p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: bold;
    color: #a3134a;
}

/* 該当なしメッセージ */
.no-events {
    padding: 60px 0 10px;
    text-align: center;
    color: #888;
    font-size: 0.875rem;
}

/* 【2026-09-03追加】該当なしメッセージ直下の「情報タレコミ」誘導リンク */
.no-events-tip {
    padding-bottom: 60px;
    text-align: center;
    color: #888;
    font-size: 0.875rem;
}
.no-events-tip a {
    color: var(--main-color, #e8a33d);
    font-weight: bold;
    text-decoration: underline;
}

/* ==================================================
   一般会員登録ページ（アカウント種類の説明）
================================================== */
.account-type-guide {
    margin-bottom: 48px;
}
.account-type-guide__title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--global-heading-color, #334155);
    margin-bottom: 16px;
}
.account-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 640px) {
    .account-type-cards { grid-template-columns: 1fr; }
}
.account-type-card {
    border: 2px solid var(--main-color, #FFB61C);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    background: rgba(var(--main-color-rgb, 255,182,28), 0.06);
}
.account-type-card--owner {
    border-color: var(--accent-color, #03a39b);
    background: rgba(var(--accent-color-rgb, 3,163,155), 0.05);
}
.account-type-card__badge {
    display: inline-block;
    background: var(--main-color, #FFB61C);
    color: #333;
    font-size: 0.875rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}
.account-type-card__name {
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--global-heading-color, #334155);
}
.account-type-card--owner .account-type-card__name {
    color: var(--accent-color, #03a39b);
}
.account-type-card__desc {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.6;
}
.account-type-features-details {
    margin-top: 12px;
}
.account-type-features-summary {
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}
.account-type-features-summary::-webkit-details-marker { display: none; }
.account-type-features-summary::before {
    content: '▶ ';
    font-size: 0.4375rem;
}
.account-type-features-details[open] .account-type-features-summary::before {
    content: '▼ ';
}
.account-type-features {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.875rem;
}
.feature-no { color: #94a3b8; }
.account-type-card__note {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 16px;
    line-height: 1.6;
}
.btn-owner-apply {
    display: block;
    text-align: center;
    background: var(--accent-color, #03a39b);
    color: #fff;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 16px;
    font-size: 0.875rem;
}
.registration-form-wrap {
    max-width: 520px;
    margin: 0 auto;
}
.registration-form-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--global-heading-color, #334155);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* ==================================================
   オーナーアカウント申請ページ
================================================== */
.owner-apply-flow {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}
.owner-apply-flow__title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--global-heading-color, #334155);
    margin-bottom: 20px;
}
.owner-apply-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.owner-apply-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--global-heading-color, #334155);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}
.step-body strong {
    display: block;
    font-weight: bold;
    color: #334155;
    margin-bottom: 4px;
}
.step-body p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}
/* ==========================================
   claim-store（既存店舗のオーナー権限申請）
   ========================================== */
.claim-target-box {
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.claim-target-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0 0 4px;
}
.claim-target-name {
    font-size: 0.875rem;
    font-weight: bold;
    color: #334155;
    margin: 0 0 4px;
}
.claim-target-address {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 10px;
}
.claim-target-link {
    font-size: 0.875rem;
    color: var(--main-color, #FFB61C);
    font-weight: bold;
    text-decoration: none;
}
.claim-target-link:hover {
    text-decoration: underline;
}

.owner-apply-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.owner-apply-form__title {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--global-heading-color, #334155);
    margin-bottom: 6px;
}
.owner-apply-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 24px;
}
.apply-form-section {
    margin-bottom: 32px;
}
.apply-section-title {
    font-size: 0.875rem;
    font-weight: bold;
    color: #334155;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.apply-field {
    margin-bottom: 18px;
}
.apply-label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    color: #334155;
    margin-bottom: 6px;
}
.required-mark {
    color: #e53e3e;
    margin-left: 2px;
}
.apply-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    box-sizing: border-box;
    background: #fff;
}
.apply-input:focus {
    outline: none;
    border-color: var(--global-heading-color, #334155);
    box-shadow: 0 0 0 3px rgba(51,65,85,0.1);
}
.apply-textarea {
    resize: vertical;
}
/* 2026-08-30：情報タレコミフォームの開始/終了日時など、横並びにしたい
   フィールドをまとめるためのラッパー（狭い画面では縦積みにする） */
.apply-form-row {
    display: flex;
    gap: 16px;
}
.apply-form-row .apply-field {
    flex: 1;
    min-width: 0;
}
@media (max-width: 480px) {
    .apply-form-row {
        flex-direction: column;
        gap: 0;
    }
}
.apply-field-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 4px 0 0;
}
.apply-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.apply-radio-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: normal;
    color: #334155;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
}
.apply-radio-option:has(input:checked) {
    border-color: var(--global-heading-color, #334155);
    background: #f8fafc;
}
.apply-radio-option input[type="radio"] {
    margin-top: 2px;
    accent-color: #FFB61C;
    flex-shrink: 0;
}
.apply-form-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}
.apply-privacy-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.6;
}
.apply-privacy-note a {
    color: #64748b;
    text-decoration: underline;
}
.btn-apply-submit {
    width: 100%;
    padding: 16px;
    background: var(--main-color, #f5c842);
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
}
.btn-apply-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.owner-apply-result {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}
.apply-result--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}
.apply-result--error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #fc8181;
}

/* ==================================================
   アカウントFAQ アコーディオン（登録ページ）
================================================== */
.account-faq {
    margin: 0 0 28px;
    background-color: #e3f2fd;
    color: #0A61A8;
    border: 1px solid #90caf9;
    border-radius: 10px;
    padding: 16px 18px 8px;
}
.account-faq__label {
    font-size: 0.875rem;
    font-weight: bold;
    color: #999;
    letter-spacing: 0.03em;
    margin: 0 0 8px;
}
.account-faq-item {
    border-bottom: 1px solid #e0e4e8;
}
.account-faq-item:first-of-type {
    border-top: none;
}
.account-faq-q {
    font-size: 0.875rem;
    font-weight: bold;
    color: #444;
    padding: 11px 32px 11px 2px;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    line-height: 1.5;
}
.account-faq-q::-webkit-details-marker { display: none; }
.account-faq-q::after {
    content: '＋';
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color, #f5c842);
    font-size: 0.625rem;
    line-height: 1;
}
details[open] > .account-faq-q::after {
    content: '－';
}
.account-faq-a {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.75;
    padding: 2px 2px 12px;
    margin: 0;
}
.account-faq-a code {
    background: #e8ecf0;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.82em;
    color: #c0392b;
}
.account-faq-a small {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 0.875rem;
}

/* ==================================================
   申請ページ：流れセクション アコーディオン
================================================== */
.apply-flow-details {
    margin: 0 0 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.apply-flow-summary {
    font-size: 0.875rem;
    font-weight: bold;
    color: #444;
    padding: 12px 36px 12px 14px;
    cursor: pointer;
    list-style: none;
    position: relative;
    background: #f8f9fa;
    user-select: none;
}
.apply-flow-summary::-webkit-details-marker { display: none; }
.apply-flow-summary::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.4375rem;
    color: #999;
    transition: transform 0.2s;
}
details[open] > .apply-flow-summary::after {
    transform: translateY(-50%) rotate(180deg);
}
.apply-flow-details .owner-apply-steps {
    margin: 0;
    padding: 14px 16px 16px;
    background: #fff;
}

/* ==================================================
   申請フォームのメール欄 インラインFAQ
================================================== */
.apply-field-details {
    margin-top: 6px;
}
.apply-field-details-q {
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    user-select: none;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.apply-field-details-q::-webkit-details-marker { display: none; }
.apply-field-details-a {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    padding: 6px 0 4px;
    margin: 0;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px 10px;
    margin-top: 4px;
}
.apply-field-details-a code {
    background: #e8ecf0;
    padding: 1px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.82em;
    color: #c0392b;
}

/* ==================================================
   登録・申請ページ共通：page-subtitle
================================================== */
.page-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #888;
    margin: -20px 0 28px;
    line-height: 1.6;
}

/* ==================================================
   基本テンプレート（記事用 single.php）
================================================== */
.article-single { max-width: 760px; margin: 0 auto; padding: 20px 0 60px; }
.article-date { text-align: center; color: #999; font-size: 0.85rem; margin: -20px 0 24px; }
.article-thumb { margin: 20px 0; border-radius: 8px; overflow: hidden; }
.article-thumb img { width: 100%; height: auto; display: block; }
.article-content {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}
.article-content img { max-width: 100%; height: auto; border-radius: 6px; }
.article-content p { margin-bottom: 1.4em; }
.article-tags { margin-top: 24px; font-size: 0.85rem; color: #999; }
.article-tags a { color: var(--main-color); text-decoration: none; margin-right: 8px; }
