/*
Theme Name: Mivue
Description: 個人も店舗も、ビジュアルで魅せるWordPressテーマ。
Version: 0.61.0
Author: CIT
Text Domain: mivue
*/

/* ===== 変数 ===== */
:root {
  --gold: #c9a96e;
  --gold-light: #e8b86d;
  --dark: #1a1a1a;
  --dark-2: #2d2d2d;
  --gray-bg: #fafaf8;
  --border: #efefec;
  --text: #333;
  --muted: #999;
  --max-w: 480px;
}

/* ===== リセット ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  background: var(--gray-bg);
  color: var(--text);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ===== ヘッダー ===== */
.mivue-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.mivue-header-inner {
  padding: 12px 16px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.store-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--dark-2), #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; overflow: hidden; color: #fff; font-weight: 800;
}
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-name { font-size: 15px; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; }
.store-name small { display: block; font-size: 8px; font-weight: 400; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-right svg { width: 21px; height: 21px; fill: none; stroke: #333; stroke-width: 1.8; stroke-linecap: round; }
.hamburger-btn { background: none; border: none; padding: 2px; display: flex; flex-direction: column; gap: 5px; }
.hamburger-btn span { display: block; width: 20px; height: 2px; background: #333; border-radius: 2px; }

/* トップページ（プロフィール）はロゴ・店名がすぐ下に出るためヘッダー側は非表示 */
.mivue-header--gallery .header-left { display: none; }
.mivue-header--gallery .mivue-header-inner { justify-content: flex-end; }

/* ===== ドロワー ===== */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; backdrop-filter: blur(2px); }
.drawer-overlay.open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; width: 260px; max-width: 80vw; height: 100%;
  background: #fff; z-index: 101; transform: translateX(100%);
  transition: transform 0.28s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer-store { display: flex; align-items: center; gap: 8px; }
.drawer-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--dark-2), #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; overflow: hidden; color: #fff; font-weight: 800;
}
.drawer-icon img { width: 100%; height: 100%; object-fit: cover; }
.drawer-store-name { font-size: 13px; font-weight: 800; color: var(--dark); }
.drawer-close { background: none; border: none; font-size: 18px; color: #aaa; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.drawer-section { padding: 14px 20px 6px; font-size: 9px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.drawer-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 13px; font-weight: 500; color: #333; }
.drawer-item svg { width: 18px; height: 18px; fill: none; stroke: #888; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.drawer-divider { height: 1px; background: #f0f0ec; margin: 8px 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--border); }
.drawer-menu-list { list-style: none; margin: 0; padding: 8px 0; }
.drawer-menu-list li a { display: flex; align-items: center; padding: 12px 20px; font-size: 13px; font-weight: 500; color: #333; text-decoration: none; }
.drawer-menu-list li a:hover { background: #f9f9f7; }
.drawer-reserve {
  display: block; width: 100%; background: var(--dark); color: #fff;
  border: none; border-radius: 8px; padding: 12px;
  font-size: 13px; font-weight: 700; text-align: center;
}

/* ===== 表紙（ブログページ・静止画1枚のみ） ===== */
.hero-cover {
  position: relative; height: 220px;
  background: linear-gradient(160deg, var(--dark-2), #555); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-cover-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-cover-overlay {
  position: relative; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 24px;
}
.hero-cover-title { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; line-height: 1.3; margin-bottom: 6px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-cover-title em { color: var(--gold); font-style: normal; }
.hero-cover-sub { font-size: 12px; color: rgba(255,255,255,0.75); letter-spacing: 0.5px; }

/* ===== プロフィール（トップページ） ===== */
.profile { background: #fff; }
.profile-inner { padding: 20px 18px 14px; display: flex; gap: 14px; align-items: flex-start; }
.profile .avatar { width: 76px; height: 76px; border-radius: 50%; background: #ddd; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; border: 2px solid var(--border); overflow: hidden; }
.profile .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { flex: 1; min-width: 0; padding-top: 2px; }
.profile-name { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.2px; }
.profile-bio { font-size: 12px; line-height: 1.65; color: var(--text); margin-bottom: 6px; }
.profile-url { font-size: 11px; color: #1a73e8; text-decoration: none; }
.profile-url:hover { text-decoration: underline; }

/* ===== 左固定サイドバー（デスクトップ・トップページ専用） ===== */
.mivue-sidebar { display: none; }

/* ===== 今日の状態バー ===== */
.today-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.open { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); animation: pdot 2s ease infinite; }
.status-dot.closed { background: #ef4444; }
.status-dot.preparing { background: #f59e0b; }
@keyframes pdot { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); } 50% { box-shadow: 0 0 0 5px rgba(34,197,94,0.07); } }
.today-status-text { font-size: 12px; font-weight: 700; color: var(--dark); flex-shrink: 0; }
.today-hours { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.today-sep { width: 1px; height: 14px; background: #e8e8e4; flex-shrink: 0; margin: 0 2px; }
.today-msg { font-size: 11px; color: #555; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-msg strong { color: var(--dark); font-weight: 700; }

/* ===== お知らせ横スクロール ===== */
.news-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; }
.news-scroll { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.news-scroll::-webkit-scrollbar { display: none; }
.news-card { flex-shrink: 0; background: var(--gray-bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; align-items: flex-start; gap: 8px; width: 220px; }
.news-card.pinned { border-color: var(--gold); background: #fefdf8; }
.news-icon { font-size: 18px; flex-shrink: 0; line-height: 1.2; }
.news-label { font-size: 8px; font-weight: 700; color: var(--gold); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 3px; }
.news-text { font-size: 11px; color: #333; line-height: 1.55; font-weight: 500; }
.news-ago { font-size: 9px; color: #bbb; margin-top: 3px; }

/* ===== 期間限定コンテンツ ===== */
.limited-wrap { background: #fff; border-bottom: 1px solid var(--border); }
.limited-trigger { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; cursor: pointer; user-select: none; }
.limited-trigger-left { display: flex; align-items: center; gap: 8px; }
.limited-flame { font-size: 15px; }
.limited-trigger-text { font-size: 13px; font-weight: 700; color: var(--dark); }
.limited-count { font-size: 10px; font-weight: 700; color: #fff; background: #ef4444; border-radius: 10px; padding: 2px 7px; margin-left: 2px; }
.limited-chevron { font-size: 11px; color: #bbb; transition: transform 0.2s; display: inline-block; }
.limited-chevron.open { transform: rotate(180deg); }
.limited-body { display: none; padding: 0 0 14px; }
.limited-body.open { display: block; }
.limited-scroll { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.limited-scroll::-webkit-scrollbar { display: none; }
.limited-card { flex-shrink: 0; width: 110px; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 9/16; box-shadow: 0 2px 10px rgba(0,0,0,0.15); background: #ddd; }
.limited-card-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.limited-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 8px 8px 10px; }
.limited-card-ttl { font-size: 8px; font-weight: 700; letter-spacing: 0.4px; padding: 2px 6px; border-radius: 6px; align-self: flex-start; margin-bottom: 5px; white-space: nowrap; }
.ttl-day  { background: #ef4444; color: #fff; }
.ttl-week { background: #3b82f6; color: #fff; }
.ttl-span { background: #8b5cf6; color: #fff; }
.ttl-hl   { background: var(--gold); color: #fff; }
.limited-card-title { font-size: 10px; font-weight: 700; color: #fff; line-height: 1.4; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.limited-card-video-icon { position: absolute; top: 8px; right: 8px; font-size: 13px; opacity: 0.9; }

/* ===== タブバー ===== */
.tab-bar {
  display: flex; background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 57px; z-index: 40;
}
.tab-btn {
  flex: 1; background: none; border: none; padding: 13px 0 11px;
  font-size: 13px; font-weight: 600; color: #bbb;
  position: relative; letter-spacing: 0.2px; transition: color 0.15s;
}
.tab-btn::after {
  content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%;
  height: 2px; background: var(--dark); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.2s ease;
}
.tab-btn.active { color: var(--dark); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-badge {
  display: inline-block; background: #f0f0ec; color: #aaa;
  font-size: 9px; font-weight: 700; border-radius: 7px;
  padding: 1px 6px; margin-left: 5px; vertical-align: middle;
}
.tab-btn.active .tab-badge { background: var(--dark); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== フィルターチップ ===== */
.filter-wrap { padding: 12px 16px 10px; background: var(--gray-bg); border-bottom: 1px solid var(--border); }
.filter-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0; background: transparent; border: 1px solid #d8d8d8;
  border-radius: 20px; padding: 5px 14px; font-size: 11px; font-weight: 400;
  color: #888; white-space: nowrap;
}
.filter-chip.active { background: var(--dark); border-color: var(--dark); color: #fff; font-weight: 600; }

/* ===== ギャラリーグリッド ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.gallery-item { aspect-ratio: 4/5; position: relative; overflow: hidden; cursor: pointer; background: #ddd; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:active img { transform: scale(0.97); }
.gallery-no-image { width: 100%; height: 100%; background: linear-gradient(160deg, #667eea, #764ba2); }
.gallery-video-badge { position: absolute; bottom: 7px; right: 7px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.gallery-new { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 2px rgba(201,169,110,0.25); }

/* ===== ひとことフィード ===== */
.feed-list { padding: 0 16px; }
.feed-post { padding: 16px 0; border-bottom: 1px solid #f0f0ec; display: flex; gap: 11px; }
.feed-post:last-child { border-bottom: none; }
.feed-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, #667eea, #764ba2); }
.feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-body { flex: 1; min-width: 0; }
.feed-header { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.feed-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.feed-role { font-size: 10px; color: #aaa; }
.feed-time { font-size: 10px; color: #ccc; margin-left: auto; flex-shrink: 0; }
.feed-text { font-size: 13px; color: #2a2a2a; line-height: 1.7; margin-bottom: 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.feed-text.expanded { display: block; overflow: visible; cursor: pointer; }
.feed-more { background: none; border: none; padding: 0 0 8px; font-size: 12px; color: #999; cursor: pointer; display: block; font-weight: 600; }
.feed-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-thumb video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
/* フィードメディアグリッド (X風) */
.feed-media-grid { margin-top: 8px; margin-bottom: 10px; border-radius: 12px; overflow: hidden; }
.feed-media-grid img, .feed-media-grid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-media-grid video { background: #000; }
.fmg-1 { aspect-ratio: 16/9; }
.fmg-1 img, .fmg-1 video { height: 100%; }
.fmg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 16/9; }
.fmg-3 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16/9; }
.fmg-3 .fmg-item:first-child { grid-row: 1 / 3; }
.fmg-4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16/9; }
.fmg-item { overflow: hidden; position: relative; cursor: pointer; }
.fmg-item img, .fmg-item video { width: 100%; height: 100%; object-fit: cover; }
.pv-car-wrap { position: relative; width: 100%; height: 100%; overflow: hidden; }
.pv-car-track { display: flex; height: 100%; transition: transform 0.3s ease; }
.pv-car-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-car-track video { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }

/* ===== フィードメディアライトボックス ===== */
.flb-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  z-index: 500; align-items: center; justify-content: center;
}
.flb-overlay.open { display: flex; }
.flb-close {
  position: fixed; top: 16px; right: 16px;
  width: 36px; height: 36px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
  color: #fff; font-size: 16px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; z-index: 501;
  backdrop-filter: blur(4px);
}
.flb-stage { position: absolute; inset: 0; }
.flb-media { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.flb-stage .car-wrap { height: 100%; }
.flb-stage .car-track img { object-fit: contain; background: transparent; }
.flb-stage .car-track video { object-fit: contain; }
@media (min-width: 768px) {
  .flb-stage { position: relative; inset: auto; width: 800px; max-width: 95vw; height: 80vh; }
}

/* ===== お知らせ詳細シート ===== */
.ns-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; backdrop-filter: blur(4px); }
.ns-overlay.open { display: block; }
.ns-sheet {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 32px); max-width: 480px; background: #fff;
  border-radius: 20px; max-height: 85vh;
  display: none; flex-direction: column; overflow: hidden;
  z-index: 201;
}
.ns-sheet.open { display: flex; animation: ltdSheetIn 0.22s ease; }
.ns-head { padding: 12px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.ns-icon { font-size: 22px; }
.ns-label { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; flex: 1; }
.ns-close { background: none; border: none; font-size: 18px; color: #ccc; cursor: pointer; line-height: 1; }
.ns-body { padding: 20px 20px 48px; overflow-y: auto; flex: 1; }
.ns-date { font-size: 11px; color: #bbb; margin-bottom: 8px; }
.ns-title { font-size: 18px; font-weight: 800; color: var(--dark); line-height: 1.45; margin-bottom: 14px; }
.ns-text { font-size: 14px; color: #555; line-height: 1.85; white-space: pre-wrap; }

/* ===== 期間限定詳細シート ===== */
.ltd-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 300; backdrop-filter: blur(4px); }
.ltd-sheet-overlay.open { display: block; }
.ltd-sheet {
  display: none; flex-direction: column;
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 32px); max-width: var(--max-w);
  background: #fff; border-radius: 20px;
  max-height: 90vh; overflow: hidden;
  z-index: 301;
}
.ltd-sheet.open { display: flex; animation: ltdSheetIn 0.25s ease; }
@keyframes ltdSheetIn { from{transform:translate(-50%,-46%);opacity:0;} to{transform:translate(-50%,-50%);opacity:1;} }
.ltd-sheet-img-wrap { position: relative; width: 100%; aspect-ratio: 9/16; max-height: 65vh; flex-shrink: 0; background: #222; overflow: hidden; }
.ltd-sheet-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltd-sheet-close { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; background: rgba(0,0,0,0.5); border: none; border-radius: 50%; color: #fff; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 4; }
.ltd-story-top-gradient { position: absolute; top: 0; left: 0; right: 0; height: 64px; background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent); z-index: 2; pointer-events: none; }
.ltd-story-bars { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 4px; z-index: 3; }
.ltd-story-bar-item { flex: 1; height: 2px; background: rgba(255,255,255,0.45); border-radius: 1px; overflow: hidden; }
.ltd-story-bar-fill { height: 100%; width: 0%; background: #fff; border-radius: 1px; }
.ltd-tap-prev { position: absolute; top: 0; left: 0; width: 40%; height: 100%; z-index: 1; }
.ltd-tap-next { position: absolute; top: 0; right: 0; width: 60%; height: 100%; z-index: 1; }
.ltd-sheet-body { padding: 20px 20px 40px; display: flex; flex-direction: column; overflow-y: auto; flex: 1; }
.ltd-sheet-title { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; line-height: 1.3; margin-bottom: 16px; }
.ltd-sheet-btn { display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; border-radius: 10px; padding: 13px; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: auto; }

/* ===== フローティングCTA ===== */
.floating-cta { position: sticky; bottom: 68px; display: flex; justify-content: flex-end; padding: 0 16px 8px; pointer-events: none; z-index: 40; }
.floating-btn {
  pointer-events: all; background: var(--dark); color: #fff;
  border: none; border-radius: 50px; padding: 12px 18px;
  font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  display: flex; align-items: center; gap: 6px;
}
.floating-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pls 1.5s ease infinite; }
@keyframes pls { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.3);} }

/* ===== 下部ナビ ===== */
.bottom-nav {
  background: #fff; border-top: 1px solid var(--border);
  display: flex; height: 60px;
  position: sticky; bottom: 0; z-index: 50;
}
.nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #bbb; font-size: 9px; }
.nav-item.active { color: var(--dark); }
.nav-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-center-wrap { width: 44px; height: 44px; background: var(--dark); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-top: -10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.nav-center-wrap svg { stroke: #fff; }
.nav-item:has(.nav-center-wrap) { gap: 1px; }

/* ===== モバイル投稿ビューワー ===== */
.pv-overlay {
  display: none; position: fixed; inset: 0; z-index: 250;
  overflow-y: scroll; -webkit-overflow-scrolling: touch; background: #111;
}
.pv-overlay.open { display: block; }
.pv-item { background: #fff; display: flex; flex-direction: column; margin-bottom: 8px; }
.pv-img-wrap { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: #111; }
.pv-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-img-placeholder { width: 100%; height: 100%; background: linear-gradient(160deg,#667eea,#764ba2); }
.pv-close { position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; background: rgba(0,0,0,0.5); border: none; border-radius: 50%; color: #fff; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 1; }
.pv-body { padding: 14px 20px 28px; display: flex; flex-direction: column; gap: 8px; }
.pv-cat { font-size: 9px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.pv-title { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; }
.pv-story { font-size: 13px; color: #555; line-height: 1.8; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pv-story.expanded { display: block; overflow: visible; cursor: pointer; }
.pv-more { background: none; border: none; padding: 2px 0 0; font-size: 12px; color: #999; cursor: pointer; display: block; font-weight: 600; }
.pv-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pv-cta { display: flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; border-radius: 10px; padding: 13px; font-size: 13px; font-weight: 700; text-decoration: none; }
.pv-btn-row { display: flex; gap: 8px; }
.pv-btn-sub { flex: 1; background: var(--gray-bg); border: none; border-radius: 8px; padding: 11px; font-size: 12px; font-weight: 600; color: #444; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; text-decoration: none; }

/* ===== ボトムシート ===== */
.modal-overlay { display: none; }
.sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; backdrop-filter: blur(4px); }
.sheet-overlay.open { display: block; }
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-w); background: #fff;
  border-radius: 20px 20px 0 0; max-height: 88vh;
  display: none; flex-direction: column; overflow: hidden;
  z-index: 201;
}
.sheet.open { display: flex; animation: sheetIn 0.25s ease; }
@keyframes sheetIn { from{transform:translateX(-50%) translateY(40px);opacity:0;} to{transform:translateX(-50%) translateY(0);opacity:1;} }
.sheet-handle-bar { padding: 12px 0 0; display: flex; justify-content: center; flex-shrink: 0; }
.sheet-handle { width: 36px; height: 4px; background: #ddd; border-radius: 2px; }
.sheet-photo { width: 100%; aspect-ratio: 4/5; flex-shrink: 0; position: relative; background: #eee; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-close { position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; background: rgba(0,0,0,0.45); border: none; border-radius: 50%; color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 1; }
.sheet-body { padding: 20px 20px 40px; overflow-y: auto; flex: 1; }
.sheet-cat { font-size: 9px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.sheet-title { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.sheet-story { font-size: 13px; color: #555; line-height: 1.85; margin-bottom: 18px; white-space: pre-wrap; }
.sheet-staff { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 10px 12px; background: var(--gray-bg); border-radius: 9px; }
.sheet-staff-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#667eea,#764ba2); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; overflow: hidden; }
.sheet-staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sheet-staff-name { font-size: 12px; font-weight: 700; }
.sheet-staff-role { font-size: 10px; color: #aaa; }
.sheet-divider { height: 1px; background: #f0f0ec; margin-bottom: 16px; }
.sheet-price-label { font-size: 9px; font-weight: 700; color: #bbb; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.sheet-price-list { list-style: none; margin-bottom: 20px; }
.sheet-price-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; color: #444; border-bottom: 1px solid #f5f5f2; }
.sheet-price-item:last-child { border-bottom: none; }
.sheet-price-val { font-weight: 700; color: var(--dark); }
.sheet-btn-reserve {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; background: var(--dark); color: #fff;
  border: none; border-radius: 10px; padding: 14px;
  font-size: 14px; font-weight: 700; margin-bottom: 8px; text-align: center;
}
.btn-pulse { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: pls 1.5s ease infinite; }
.sheet-btn-row { display: flex; gap: 8px; }
.sheet-btn-sub { flex: 1; background: #f5f5f2; border: none; border-radius: 8px; padding: 11px; font-size: 12px; font-weight: 600; color: #444; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* ===== 連絡先ポップオーバー（PC: LINE QR / 電話番号表示） ===== */
.contact-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 400; backdrop-filter: blur(4px); }
.contact-overlay.open { display: block; }
.contact-popover {
  display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 16px; padding: 28px 24px; width: 280px; max-width: 88vw;
  z-index: 401; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.contact-popover.open { display: block; }
.contact-popover-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 16px; color: #aaa; line-height: 1; }
.contact-popover-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--dark); }
.contact-popover-qr { width: 160px; height: 160px; object-fit: contain; margin: 0 auto 16px; display: block; border: 1px solid var(--border); border-radius: 8px; }
.contact-popover-link { display: block; font-size: 13px; color: var(--gold); text-decoration: underline; }
.contact-popover-tel { font-size: 24px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 16px; color: var(--dark); }
.contact-popover-copy {
  background: var(--dark); color: #fff; border: none; border-radius: 999px;
  padding: 10px 20px; font-size: 13px; font-weight: 700;
}

/* ===== ハイライトパネル ===== */
.hl-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; backdrop-filter: blur(4px); }
.hl-overlay.open { display: block; }
.hl-panel {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-w); background: #fff;
  border-radius: 20px 20px 0 0; max-height: 75vh;
  display: none; flex-direction: column; overflow: hidden;
  z-index: 201;
}
.hl-panel.open { display: flex; animation: sheetIn 0.25s ease; }
.hl-panel-handle-bar { padding: 12px 0 0; display: flex; justify-content: center; flex-shrink: 0; }
.hl-panel-handle { width: 36px; height: 4px; background: #ddd; border-radius: 2px; }
.hl-panel-head { padding: 10px 16px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.hl-panel-title { font-size: 15px; font-weight: 800; color: var(--dark); }
.hl-panel-meta { font-size: 10px; color: #aaa; margin-top: 2px; }
.hl-panel-close { background: none; border: none; font-size: 20px; color: #ccc; line-height: 1; padding: 4px; }
.hl-panel-body { overflow-y: auto; padding: 14px 16px 32px; }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hl-card { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 9/16; box-shadow: 0 2px 10px rgba(0,0,0,0.12); background: #ddd; cursor: pointer; }
.hl-card img { width: 100%; height: 100%; object-fit: cover; }
.hl-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.hl-card-badge { font-size: 8px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 6px; padding: 2px 7px; align-self: flex-start; margin-bottom: 5px; }
.hl-card-title { font-size: 11px; font-weight: 700; color: #fff; line-height: 1.4; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* ===== グローバルナビ（デスクトップ専用） ===== */
.global-nav { display: none; }

/* ===== WP管理バー対応 ===== */
@media screen and (max-width: 767px) {
  body.admin-bar .mivue-header { top: 46px; }
  body.admin-bar .tab-bar { top: calc(46px + 57px); }
}

/* ===== デモ注記 ===== */
.demo-notice {
  background: #fffbea; border-bottom: 1px solid #f0d080;
  color: #7a5c00; font-size: 12px; line-height: 1.6;
  padding: 10px 20px; text-align: center;
}

/* ===== お問い合わせフォーム ===== */
.contact-inner { max-width: 600px; margin: 0 auto; padding: 32px 20px 80px; }
.contact-head { margin-bottom: 36px; }
.contact-lead { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.contact-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.contact-method-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1.5px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--dark); transition: border-color 0.2s, box-shadow 0.2s; }
.contact-method-card:hover { border-color: var(--dark); box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.contact-method-primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.contact-method-primary:hover { border-color: var(--dark); opacity: 0.9; }
.cm-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method-card:not(.contact-method-primary) .cm-icon { background: #f5f5f3; }
.cm-label { font-size: 11px; font-weight: 600; opacity: 0.7; margin-bottom: 2px; }
.cm-desc { font-size: 14px; font-weight: 700; }
.cm-arrow { margin-left: auto; flex-shrink: 0; opacity: 0.5; }
.contact-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.contact-divider::before, .contact-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.cf-field { display: flex; flex-direction: column; gap: 8px; }
.cf-label { font-size: 13px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.cf-req { font-size: 10px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 4px; padding: 2px 6px; letter-spacing: 0.5px; }
.cf-input, .cf-select, .cf-textarea {
  width: 100%; padding: 13px 16px; font-size: 14px; color: var(--dark);
  border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit; box-sizing: border-box;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus {
  border-color: var(--dark); box-shadow: 0 0 0 3px rgba(30,30,30,0.07);
}
.cf-select-wrap { position: relative; }
.cf-select { appearance: none; cursor: pointer; }
.cf-select-wrap::after { content: '▾'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); font-size: 12px; }
.cf-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--dark); color: #fff; border: none; border-radius: 12px;
  padding: 16px 32px; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; margin-top: 8px;
}
.cf-submit:hover { opacity: 0.85; transform: translateY(-1px); }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cf-error { font-size: 13px; color: #c0392b; background: #fdf0ef; border-radius: 8px; padding: 10px 14px; }
.contact-thanks { display: none; text-align: center; padding: 60px 20px; }
.contact-thanks.show { display: block; animation: ct-in 0.5s ease; }
@keyframes ct-in { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
.ct-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.ct-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.ct-body { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.ct-home { display: inline-block; background: var(--dark); color: #fff; border-radius: 10px; padding: 12px 28px; font-size: 14px; font-weight: 700; text-decoration: none; }

/* ===== ブログ・固定ページ共通 ===== */
.blog-wrap, .blog-article-wrap, .page-wrap {
  padding: 32px 0 80px;
  min-height: 60vh;
}
.blog-inner, .blog-article-inner, .page-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-page-title, .page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dark);
}
.blog-heading { margin-bottom: 8px; }

/* ブログ一覧 */
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.blog-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card-thumb:hover img { transform: scale(1.04); }
.blog-card-body { padding: 16px 20px 20px; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.blog-card-cat { font-size: 10px; font-weight: 700; color: var(--gold); background: #fdf6e3; border-radius: 4px; padding: 2px 8px; letter-spacing: 0.5px; }
.blog-card-date { font-size: 11px; color: var(--muted); }
.blog-card-title { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.5; margin-bottom: 8px; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.blog-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 60px 0; }
.blog-pager { margin-top: 40px; display: flex; justify-content: center; }
.blog-pager .nav-links { display: flex; gap: 8px; }
.blog-pager .page-numbers { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--dark); border: 1px solid var(--border); text-decoration: none; }
.blog-pager .page-numbers.current { background: var(--dark); color: #fff; border-color: var(--dark); }
.blog-pager .page-numbers:hover:not(.current) { border-color: var(--dark); }

/* ブログ記事詳細 */
.blog-back { display: inline-flex; align-items: center; font-size: 12px; color: var(--muted); text-decoration: none; margin-bottom: 20px; }
.blog-back:hover { color: var(--dark); }
.blog-article-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-article-title { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1.4; margin-bottom: 24px; }
.blog-article-thumb { border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.blog-article-thumb img { width: 100%; height: auto; display: block; }
.blog-article-content { font-size: 15px; line-height: 1.9; color: #333; }
.blog-article-content h2 { font-size: 20px; font-weight: 700; margin: 2em 0 0.8em; padding-left: 12px; border-left: 4px solid var(--gold); }
.blog-article-content h3 { font-size: 17px; font-weight: 700; margin: 1.6em 0 0.6em; }
.blog-article-content p { margin-bottom: 1.4em; }
.blog-article-content img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.blog-article-content a { color: var(--gold); }
.blog-article-content ul, .blog-article-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.blog-article-content li { margin-bottom: 0.4em; }
.blog-article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.blog-article-nav a { font-size: 13px; color: var(--muted); text-decoration: none; max-width: 48%; line-height: 1.5; }
.blog-article-nav a:hover { color: var(--dark); }
.blog-article-nav-next { text-align: right; margin-left: auto; }

/* 固定ページ */
.page-thumb { border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.page-thumb img { width: 100%; height: auto; display: block; }
.page-content { font-size: 15px; line-height: 1.9; color: #333; }
.page-content h2 { font-size: 20px; font-weight: 700; margin: 2em 0 0.8em; padding-left: 12px; border-left: 4px solid var(--gold); }
.page-content h3 { font-size: 17px; font-weight: 700; margin: 1.6em 0 0.6em; }
.page-content p { margin-bottom: 1.4em; }
.page-content img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.page-content a { color: var(--gold); }
.page-content ul, .page-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.page-content li { margin-bottom: 0.4em; }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: 14px; }
.page-content th, .page-content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.page-content th { background: #f9f9f7; font-weight: 700; }

/* ===== フッター ===== */
.mivue-footer { display: none; }

/* ===== デスクトップ（768px以上） ===== */
@media (min-width: 768px) {
  body { max-width: 100%; }

  /* コンパクトヘッダー（ロゴ＋ハンバーガー）はブログ等でそのまま表示。トップページのみサイドバーに置き換え */
  body.mivue-sidebar-layout .mivue-header { display: none; }
  body.mivue-sidebar-layout .drawer-overlay,
  body.mivue-sidebar-layout .drawer { display: none !important; }

  /* ブログ等（トップページ以外）：ハンバーガーから出るドロワーをトップページのサイドバーと同じ見た目に統一（左からスライド・ダーク背景） */
  body:not(.mivue-sidebar-layout) .drawer {
    left: 0; right: auto;
    transform: translateX(-100%);
    background: #0f1117;
    width: 260px;
    box-shadow: 8px 0 30px rgba(0,0,0,0.25);
  }
  body:not(.mivue-sidebar-layout) .drawer.open { transform: translateX(0); }
  body:not(.mivue-sidebar-layout) .drawer-head { border-bottom: none; }
  body:not(.mivue-sidebar-layout) .drawer-store-name { color: #fff; }
  body:not(.mivue-sidebar-layout) .drawer-close { color: rgba(255,255,255,0.5); }
  body:not(.mivue-sidebar-layout) .drawer-item {
    border-radius: 999px; margin: 0 8px; color: #e7e9ea;
  }
  body:not(.mivue-sidebar-layout) .drawer-item svg { stroke: #c7c9cb; }
  body:not(.mivue-sidebar-layout) .drawer-item:hover { background: rgba(255,255,255,0.08); }
  body:not(.mivue-sidebar-layout) .drawer-menu-list li a { border-radius: 999px; margin: 0 8px; color: #e7e9ea; }
  body:not(.mivue-sidebar-layout) .drawer-menu-list li a:hover { background: rgba(255,255,255,0.08); }
  body:not(.mivue-sidebar-layout) .drawer-divider { background: rgba(255,255,255,0.12); }
  body:not(.mivue-sidebar-layout) .drawer-foot { border-top: none; }
  body:not(.mivue-sidebar-layout) .drawer-reserve { background: #fff; color: #0f1117; border-radius: 999px; }

  /* トップページ専用：左固定サイドバー */
  body.mivue-sidebar-layout { padding-left: 240px; }
  .mivue-sidebar {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 0; left: 0; width: 240px; height: 100vh;
    padding: 20px 16px; z-index: 200; overflow-y: auto;
  }
  .sidebar-logo { font-size: 22px; font-weight: 800; color: #fff; padding: 10px 12px 20px; letter-spacing: -0.5px; }
  .mivue-sidebar .sidebar-menu { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .mivue-sidebar .sidebar-menu li { list-style: none; }
  .mivue-sidebar .nav-item,
  .mivue-sidebar .sidebar-menu a {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 999px;
    color: #e7e9ea; font-size: 16px; text-decoration: none; transition: background 0.15s;
  }
  .mivue-sidebar .nav-item:hover,
  .mivue-sidebar .sidebar-menu a:hover { background: rgba(255,255,255,0.08); }
  .mivue-sidebar .nav-item.active { font-weight: 700; color: #fff; }
  .mivue-sidebar .nav-icon { font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; }
  .mivue-sidebar .nav-cta {
    margin-top: 16px; background: #fff; color: #0f1117; font-weight: 700; font-size: 15px;
    padding: 14px 20px; border-radius: 999px; text-align: center; text-decoration: none;
  }

  /* トップページ専用：プロフィール拡大表示 */
  .profile-inner { padding: 36px 32px 28px; gap: 24px; max-width: 1200px; margin: 0 auto; }
  .profile .avatar { width: 130px; height: 130px; font-size: 56px; }
  .profile-name { font-size: 22px; margin-bottom: 12px; }
  .profile-bio { font-size: 14px; margin-bottom: 10px; }
  .profile-url { font-size: 13px; }

  /* コンパクトヘッダーの中身をブログ幅（800px）に揃える */
  .mivue-header-inner { max-width: 800px; margin: 0 auto; padding: 14px 20px; }
  body.admin-bar .mivue-header { top: 32px; }

  /* 表紙（ブログ）：控えめな高さのまま。文字だけ少し拡大 */
  .hero-cover-title { font-size: 28px; }
  .hero-cover-sub { font-size: 13px; }

  /* 今日の状態バー */
  .today-bar { padding: 0; gap: 0; display: block; }
  .today-bar-inner {
    max-width: 1200px; margin: 0 auto; padding: 12px 32px;
    display: flex; align-items: center; gap: 24px;
  }

  /* お知らせ・期間限定を content-zone 幅に揃える */
  .news-scroll {
    max-width: 1200px; margin: 0 auto;
    padding-left: 32px; padding-right: 32px;
  }
  .limited-trigger {
    max-width: 1200px; margin: 0 auto;
    padding-left: 32px; padding-right: 32px;
  }
  .limited-scroll {
    max-width: 1200px; margin: 0 auto;
    padding-left: 32px; padding-right: 32px;
  }

  /* コンテンツゾーン（front-page.phpのラッパー） */
  .content-zone {
    max-width: 1200px; margin: 0 auto; padding: 32px 32px 80px;
  }

  /* タブバー */
  .tab-bar {
    position: static; border-bottom: 1px solid var(--border);
    padding: 0; background: transparent; margin-bottom: 32px;
    max-width: 1200px; margin: 0 auto 32px;
  }
  .tab-btn {
    padding: 0 4px 14px; margin-right: 32px; flex: none;
    font-size: 15px;
  }

  /* フィルター */
  .filter-wrap { padding: 0 0 24px; background: transparent; border: none; }
  .filter-scroll { flex-wrap: wrap; overflow: visible; }
  .filter-chip { padding: 7px 18px; font-size: 13px; }

  /* ギャラリー */
  .gallery-grid { grid-template-columns: repeat(5, 1fr); gap: 3px; }
  .gallery-item img { transition: transform 0.4s ease; }
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:active img { transform: scale(1.05); }

  /* ひとことフィード */
  .feed-list { padding: 0; max-width: 680px; }
  .feed-text { font-size: 15px; }

  /* フローティングCTA・ボトムナビ非表示 */
  .floating-cta { display: none; }
  .bottom-nav { display: none; }

  /* ハイライトパネル */
  .hl-panel { max-width: 520px; }

  /* フッター */
  .mivue-footer {
    display: block;
    background: var(--dark);
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 40px 32px;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  }
  .footer-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
  .footer-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; }
  .footer-social { display: flex; gap: 10px; margin-top: 16px; }
  .footer-social-icon {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7);
    transition: background 0.15s, color 0.15s;
  }
  .footer-social-icon svg { width: 16px; height: 16px; }
  .footer-social-icon:hover { background: rgba(255,255,255,0.16); color: #fff; }
  .footer-col-title { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 10px; font-size: 12px; color: rgba(255,255,255,0.5); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 32px; max-width: 1200px; margin: 0 auto;
    font-size: 11px; color: rgba(255,255,255,0.2);
    display: flex; justify-content: space-between;
  }

  /* デスクトップモーダル */
  .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 300; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
  .modal-overlay.open { display: flex; }
  .modal {
    background: #fff; border-radius: 4px;
    width: 1200px; max-width: 95vw; height: 88vh;
    display: grid; grid-template-columns: 1.1fr 1fr;
    overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    animation: modalIn 0.22s ease;
  }
  @keyframes modalIn { from{transform:scale(0.96) translateY(12px);opacity:0;} to{transform:scale(1) translateY(0);opacity:1;} }
  .modal-photo { position: relative; background: #111; overflow: hidden; }
  .modal-photo > img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
  .modal-close {
    position: fixed; top: 16px; right: 20px;
    width: 36px; height: 36px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
    color: #fff; font-size: 18px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 310;
  }
  .modal-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
    color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: flex;
    align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 310;
    transition: background 0.15s;
  }
  .modal-nav:hover { background: rgba(255,255,255,0.3); }
  .modal-nav:disabled { opacity: 0.2; cursor: default; }
  .modal-prev { left: 16px; }
  .modal-next { right: 16px; }
  .modal-detail { padding: 40px 36px 32px; display: flex; flex-direction: column; overflow-y: auto; }
  .modal-store { font-size: 10px; color: #bbb; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
  .modal-cat { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
  .modal-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; margin-bottom: 20px; }
  .modal-story { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 28px; white-space: pre-wrap; }
  .modal-staff { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
  .modal-staff-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#667eea,#764ba2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; overflow: hidden; }
  .modal-staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .modal-staff-name { font-size: 13px; font-weight: 700; }
  .modal-staff-role { font-size: 11px; color: #aaa; margin-top: 1px; }
  .modal-divider { height: 1px; background: #f0f0ec; margin-bottom: 24px; }
  .modal-price-label { font-size: 10px; font-weight: 700; color: #bbb; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
  .modal-price-list { list-style: none; margin-bottom: 28px; }
  .modal-price-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f5f5f2; color: #444; }
  .modal-price-item:last-child { border-bottom: none; }
  .modal-price-val { font-weight: 700; color: var(--dark); }
  .modal-cta { margin-top: auto; }
  .modal-btn-reserve {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; background: var(--dark); color: #fff; border: none;
    border-radius: 10px; padding: 15px; font-size: 14px; font-weight: 700;
    cursor: pointer; margin-bottom: 8px; text-decoration: none; text-align: center;
  }
  .modal-btn-row { display: flex; gap: 8px; }
  .modal-btn-sub { flex: 1; background: #f5f5f2; border: none; border-radius: 8px; padding: 11px; font-size: 12px; font-weight: 600; color: #444; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 5px; text-decoration: none; }

  /* bottom sheetはデスクトップで非表示 */
  .sheet-overlay, .sheet { display: none !important; }
}

/* ===== single.php ===== */
.single-wrap { display: flex; flex-direction: column; }
.single-photo {
  width: 100%; aspect-ratio: 4/5;
  position: relative; background: #eee; overflow: hidden; flex-shrink: 0;
}
.single-photo > img { width: 100%; height: 100%; object-fit: cover; }
.single-detail { padding: 20px 20px 100px; }
.single-store {
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #999; margin-bottom: 8px;
}

@media (min-width: 768px) {
  .single-wrap {
    flex-direction: row;
    max-width: 960px;
    margin: 48px auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,0.10);
    align-items: stretch;
  }
  .single-photo {
    flex: 0 0 420px;
    aspect-ratio: 4/5;
    max-height: 525px;
  }
  .single-detail {
    flex: 1;
    padding: 40px 40px 40px;
    overflow-y: auto;
    max-height: 525px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .single-detail .sheet-btn-reserve { margin-top: auto; }
}

/* ===== カルーセル ===== */
.car-wrap {
  position: relative; width: 100%; height: 100%; overflow: hidden;
}
.car-track {
  display: flex; height: 100%;
  transition: transform .3s ease;
  will-change: transform;
}
.car-track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  position: static;
}
.car-track video {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.car-prev, .car-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
}
.car-prev { left: 10px; }
.car-next { right: 10px; }
.car-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.car-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: background .2s;
}
.car-dot.active { background: #fff; }

/* ===== 目次 ===== */
.mivue-toc {
  background: var(--gray-bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px; margin: 24px 0;
}
.mivue-toc-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.mivue-toc ol { padding-left: 18px; }
.mivue-toc li { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.mivue-toc li a { color: var(--text); text-decoration: none; }
.mivue-toc li a:hover { color: var(--gold); }
.mivue-toc-sub { padding-left: 12px; font-size: 13px; color: var(--muted); }

/* ===== 人気記事 ===== */
.mivue-popular { margin: 32px 0 8px; }
.mivue-popular-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.mivue-popular-list { list-style: none; padding: 0; counter-reset: popular; }
.mivue-popular-item {
  counter-increment: popular;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); position: relative;
}
.mivue-popular-item::before {
  content: counter(popular);
  font-size: 18px; font-weight: 800; color: var(--border);
  min-width: 20px; text-align: center; flex-shrink: 0;
}
.mivue-popular-thumb { flex-shrink: 0; }
.mivue-popular-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; display: block; }
.mivue-popular-link { font-size: 13px; line-height: 1.5; color: var(--text); text-decoration: none; }
.mivue-popular-link:hover { color: var(--gold); }

/* ===== ブログ 2カラムレイアウト ===== */
.blog-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.blog-main { flex: 1; min-width: 0; }
.blog-layout--article { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.blog-layout--article .blog-article-wrap { flex: 1; min-width: 0; }
@media (max-width: 1023px) {
  .blog-layout { flex-direction: column; }
  .blog-layout--article { padding: 24px 16px; }
}

/* ===== サイドバー ===== */
.blog-sidebar { width: 280px; flex-shrink: 0; }
@media (max-width: 1023px) { .blog-sidebar { width: 100%; } }

.sidebar-widget {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,169,110,.3);
}
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; font-size: 13px; color: var(--text); text-decoration: none;
}
.sidebar-cat-list a:hover { color: var(--gold); }
.sidebar-cat-count { font-size: 11px; color: var(--muted); }

.sidebar-popular-list { list-style: none; padding: 0; margin: 0; }
.sidebar-popular-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.sidebar-popular-item:last-child { border-bottom: none; }
.sidebar-popular-thumb { flex-shrink: 0; }
.sidebar-popular-thumb img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; display: block; }
.sidebar-popular-link { font-size: 12px; line-height: 1.5; color: var(--text); text-decoration: none; }
.sidebar-popular-link:hover { color: var(--gold); }

.sidebar-recent-list { list-style: none; padding: 0; margin: 0; }
.sidebar-recent-item { padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-link {
  display: block; font-size: 12px; line-height: 1.5;
  color: var(--text); text-decoration: none; margin-bottom: 2px;
}
.sidebar-recent-link:hover { color: var(--gold); }
.sidebar-recent-date { font-size: 11px; color: var(--muted); }

/* ===== ジャーナルモード ===== */
.jnl-container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.jnl-section { padding: 40px 0; }
.jnl-section--gray { background: #f8f8f8; }
.jnl-section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; border-left: 4px solid var(--accent, #333); padding-left: 10px; }
.jnl-section-title { font-size: 1.1rem; font-weight: 700; }
.jnl-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
@media (max-width: 768px) { .jnl-two-col { grid-template-columns: 1fr; } }

/* ヒーロー */
.jnl-hero-section { padding: 24px 0; }
.jnl-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .jnl-hero-grid { grid-template-columns: 1fr; } }
.jnl-hero-img { aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #ddd; }
.jnl-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.jnl-hero-img--blank { aspect-ratio: 16/9; background: linear-gradient(135deg, #333, #555); border-radius: 8px; }
.jnl-hero-body { padding: 12px 0; }
.jnl-hero-title { font-size: 1.25rem; font-weight: 700; line-height: 1.5; margin: 6px 0; }
.jnl-hero-title a:hover { opacity: .75; }

/* サイドカード */
.jnl-hero-side { display: flex; flex-direction: column; gap: 16px; }
.jnl-side-card { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: start; }
.jnl-side-thumb { width: 100px; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; background: #ddd; flex-shrink: 0; }
.jnl-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jnl-side-thumb--blank { background: linear-gradient(135deg, #aaa, #bbb); }
.jnl-side-title { font-size: .9rem; font-weight: 600; line-height: 1.5; }
.jnl-side-card:hover .jnl-side-title { opacity: .75; }

/* 記事リスト */
.jnl-article-list { display: flex; flex-direction: column; gap: 20px; }
.jnl-list-item { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: start; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.jnl-list-thumb { width: 100px; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; background: #ddd; flex-shrink: 0; }
.jnl-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jnl-list-thumb--blank { background: linear-gradient(135deg, #aaa, #bbb); }
.jnl-list-title { font-size: .95rem; font-weight: 600; line-height: 1.5; margin: 4px 0; }
.jnl-list-item:hover .jnl-list-title { opacity: .75; }

/* 共通 */
.jnl-cat { display: inline-block; background: var(--accent, #333); color: #fff; font-size: .65rem; padding: 2px 8px; border-radius: 3px; font-weight: 600; }
.jnl-cat--sm { font-size: .6rem; }
.jnl-excerpt { font-size: .85rem; color: #666; line-height: 1.6; margin-top: 4px; }
.jnl-excerpt--sm { display: none; }
.jnl-meta { font-size: .75rem; color: #999; margin-top: 4px; }
@media (min-width: 769px) { .jnl-excerpt--sm { display: block; } }

/* ===== アドセンス広告枠 ===== */
.mivue-ad-slot { width: 100%; margin: 16px 0; text-align: center; }
.mivue-ad-dummy { background: #e5e7eb; border: 2px dashed #bbb; border-radius: 6px; padding: 24px; color: #888; font-size: .8rem; }
.ad-sidebar { display: none; }
.ad-mobile { display: block; }
.ad-footer-mobile { display: block; }
@media (min-width: 769px) {
  .ad-sidebar { display: block; }
  .ad-mobile { display: none; }
  .ad-footer-mobile { display: none; }
}

/* ===== LP ===== */
.mivue-lp-page { margin: 0; padding: 0; background: #fff; }
.lp-wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 80px; }
.lp-wrap img { max-width: 100%; height: auto; border-radius: 8px; }

/* ===== ナビ スクロール自動隠し ===== */
.global-nav, .mivue-header { transition: transform 0.3s ease; }
.global-nav.nav-scroll-hidden  { transform: translateY(-100%); }
.mivue-header.nav-scroll-hidden { transform: translateY(-100%); }
.tab-bar { position: relative !important; top: auto !important; }
