

:root {
  
  --c-brand:#0d8ee0; --c-brand-light:#1b99fe; --c-white:#fff;
  --c-ink:#1a1a1a; --c-text:#222; --c-text-sub:#555; --c-text-sub2:#666; --c-muted:#888;
  --c-border:#ddd; --c-border-light:#eee; --c-sale:#d63333;
  
  --r-3:3px; --r-4:4px; --r-8:8px; --r-10:10px; --r-12:12px; --r-16:16px; --r-pill:999px; --r-circle:50%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #111827;
  background-color: aliceblue;
}

a { text-decoration: none; color: inherit; }
button { -webkit-tap-highlight-color: transparent; -webkit-appearance: none; cursor: pointer; }
img { display: block; max-width: 100%; }

.page-wrapper { min-height: 100vh; }
.page-container { max-width: 480px; margin: 0 auto; background: var(--c-white); min-height: 100vh; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }
.main-content { padding-bottom: 32px; }

.site-header { background: var(--c-white); border-bottom: 1px solid var(--c-border-light); padding: 7px 16px; }
.header-container { max-width: 800px; margin: 0 auto; }
.header-content { display: flex; align-items: center; }
.header-logo-image { height: 20px; width: auto; }

.kv-area { width: 100%; background: var(--c-white); }
.kv-image { width: 100%; height: auto; display: block; }

/* クーポン取得エリア（asoview共通フレームワーク） */
.coupon-notice-area {
  background: var(--c-white);
  padding: 8px 12px;
}
.coupon-notice-sub { display: block; text-align: center;font-size: 8px; font-weight: 500; line-height: 1.5; color: var(--c-text-sub2); }
.coupon-notice-sub:first-of-type { margin-top: 6px; }
.coupon-detail-link { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 10px; font-size: 12px; font-weight: 700; color: #926009; text-decoration: underline; text-underline-offset: 2px; }
.coupon-detail-link svg { width: 13px; height: 13px; }

.coupon-card { background: linear-gradient(135deg, #fffdf2 0%, #ffeda9 55%, #ffd363 100%); border: 1px solid #fceabd; border-radius: var(--r-8); overflow: hidden; }
.coupon-card-inner { display: flex; align-items: center; }
.coupon-info { flex: 1; padding: 8px 12px; }
.coupon-title { font-size: 14px; font-weight: 800; color: #e47402; margin-bottom: 1px; }
.coupon-pct { font-size: 18px; line-height: 1; letter-spacing: -0.02em; margin-right: 4px; }
.coupon-limited { font-size: 14px; font-weight: 700; color: #815405; text-align: center; margin-bottom: 8px; }
.coupon-limited::before { content: "＼"; margin-right: 4px; }
.coupon-limited::after { content: "／"; margin-left: 4px; }
.coupon-description { font-size: 10px; font-weight: 500 ; color: #926009; line-height: 1.4; }
.coupon-note { font-size: 9px; color: var(--c-muted); line-height: 1.4; }

.coupon-action {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8px 12px;
}
/* 区切りの縦破線：上下を少し空けて開始・終了 */
.coupon-action::before {
  content: "";
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  border-left: 1px dashed #d9c489;
}
.coupon-get-btn {
  display: inline-flex; align-items: center; gap: 2px;
  background: #ed9d13; color: var(--c-white);
  border: none; border-radius: var(--r-4);
  padding: 8px 14px; font-size: 13px; font-weight: 700;
  white-space: nowrap; transition: background-color .2s;
}
.coupon-get-btn-arrow { width: 14px; height: 14px; margin-right: -2px; }
.coupon-get-btn:hover { background: #e09006; }
/* 獲得済み＝暖色スタンプ（クリーム地＋チェック）。達成感を出す */
.coupon-get-btn--acquired {
  background: #fff8e9; color: #815405;
  border: none; cursor: default;
}
.coupon-get-btn-check { width: 15px; height: 15px; margin-left: 3px; }
.coupon-reuse { margin-top: 5px; font-size: 9px; font-weight: 700; color: #815405; text-align: center; line-height: 1.3; }
.coupon-float .coupon-get-btn--acquired { box-shadow: 0 6px 16px rgba(237, 157, 19, 0.22); }

/* ボタン内2段テキスト（フロート用） */
.coupon-get-btn-main { display: inline-flex; align-items: center; gap: 2px; }
.coupon-get-btn-sub { font-size: 10px; font-weight: 600; opacity: .95; }

/* 追従フロート（ナビ固定時に出現）：帯なし・中央に横長ボタンだけが浮く */
.coupon-float {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, calc(100% + 24px));
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.coupon-float.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.coupon-float .coupon-get-btn {
  flex-direction: column;
  gap: 1px;
  min-width: 280px;
  padding: 10px 32px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.coupon-float .coupon-get-btn-main { font-size: 16px; }
.coupon-float .coupon-get-btn--acquired .coupon-get-btn-main { font-size: 14px; }

/* キャンペーン注意事項 */
/* アンカーで飛んだ時に固定ナビ(.primary-nav)へ見出しが潜らないよう上に余白を確保 */
.campaign-notes { padding: 24px 16px 8px; background: var(--c-white); color: var(--c-text); scroll-margin-top: 140px; }
.campaign-notes-title { font-size: 16px; font-weight: bold; color: var(--c-ink); text-align: center; margin-bottom: 16px; }
.campaign-notes-content { display: flex; flex-direction: column; gap: 18px; }
.campaign-notes-heading { font-size: 13px; font-weight: bold; color: var(--c-ink); margin-bottom: 6px; }
.campaign-notes-list { margin: 0; padding-left: 1.2em; font-size: 12px; line-height: 1.7; color: var(--c-text-sub); }
.campaign-notes-list li { margin-bottom: 2px; }
.campaign-notes-note { font-size: 11px; color: var(--c-text-sub2); line-height: 1.6; }
.campaign-notes-button { text-align: center; margin-top: 12px; }
.scroll-to-coupon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--c-white); color: #926009;
  border: 1px solid #ed9d13; border-radius: var(--r-pill);
  padding: 10px 22px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background-color .2s;
}
.scroll-to-coupon-btn:hover { background: #fff8e9; }
.chevron-up-icon { width: 16px; height: 16px; }

.featured-section { padding: 12px 12px 24px; background: var(--c-white); }
.featured-heading {
  font-size: 16px;
  font-weight: bold;
  color: var(--c-ink);
  letter-spacing: 0.01em;
  margin-top: 12px;
}
.featured-subheading {
  font-size: 10px;
  color: var(--c-text-sub2);
  line-height: 1.5;
  margin-bottom: 8px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 260px;
}
.featured-card {
  position: relative;
  display: block;
  background: var(--c-border);
  border: none;
  border-radius: var(--r-10);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
}
.featured-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.featured-card:active { transform: scale(0.99); }
.featured-card:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.featured-card:nth-child(2) { grid-row: 1; grid-column: 2; }
.featured-card:nth-child(3) { grid-row: 2; grid-column: 2; }
.featured-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-card-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(to right, #1795da, #0f59b0);
  color: var(--c-white);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--r-4);
  line-height: 1.3;
  white-space: nowrap;
  z-index: 2;
}
.featured-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
}
.featured-card-copy {
  color: var(--c-white);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.featured-card:nth-child(1) .featured-card-copy { font-size: 16px; }

.featured-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-modal[hidden] { display: none; }
.featured-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.featured-modal-dialog {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-12);
  max-width: 360px;
  width: calc(100% - 32px);
  max-height: 66vh;
  max-height: 66dvh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
.featured-modal-dialog::-webkit-scrollbar { width: 5px; }
.featured-modal-dialog::-webkit-scrollbar-track { background: transparent; }
.featured-modal-dialog::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--r-3);
}
.featured-modal-dialog::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.3); }
.featured-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.5);
  color: var(--c-white);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: var(--r-circle);
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}
.featured-modal-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--c-border);
  overflow: hidden;
}
.featured-modal-image { width: 100%; height: 100%; object-fit: cover; }
.featured-modal-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.featured-modal-label {
  align-self: flex-start;
  background: linear-gradient(to right, #1795da, #0f59b0);
  color: var(--c-white);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: var(--r-4);
}
.featured-modal-title { font-size: 15px; font-weight: bold; color: var(--c-text); line-height: 1.4; }
.featured-modal-facility { font-size: 12px; color: #777; margin-top: -4px; }
.featured-modal-recommend { font-size: 13px; color: #444; line-height: 1.6; }

.featured-modal-section-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.featured-modal-reasons {
  background: #f0f8ff;
  border: 1px solid #d6ecfb;
  border-radius: var(--r-10);
  padding: 12px 14px;
}
.featured-modal-reason-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.featured-modal-reason { display: flex; gap: 8px; align-items: flex-start; }
.featured-modal-reason-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: var(--r-circle);
  background: var(--c-brand);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-modal-reason-icon svg { width: 11px; height: 11px; }
.featured-modal-reason-text { display: flex; flex-direction: column; gap: 2px; }
.featured-modal-reason-title { font-size: 13px; font-weight: bold; color: var(--c-ink); line-height: 1.4; }
.featured-modal-reason-desc { font-size: 12px; color: var(--c-text-sub); line-height: 1.5; }

.featured-modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  border-radius: var(--r-8);
  overflow: hidden;
}
.featured-modal-fact { background: var(--c-white); padding: 8px 10px; }
.featured-modal-fact dt { font-size: 10px; color: #999; margin-bottom: 2px; }
.featured-modal-fact dd { font-size: 13px; font-weight: bold; color: var(--c-text); }
.featured-modal-fact-discount {
  display: inline-block;
  background: var(--c-sale);
  color: var(--c-white);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: var(--r-3);
  margin-right: 5px;
  vertical-align: middle;
}

.featured-modal-review-box[hidden] { display: none; }
.featured-modal-review {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--c-text-sub2);
  font-size: 11px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.featured-modal-review-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: var(--r-circle);
  margin-top: 1px;
}

.featured-modal-actions {
  display: flex;
  gap: 8px;
  position: sticky;
  bottom: 0;
  margin: 4px -16px -16px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: var(--c-white);
  border-top: 1px solid var(--c-border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}
.featured-modal-btn {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border-radius: var(--r-8);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.featured-modal-btn-secondary {
  background: #f3f4f6;
  color: var(--c-text-sub);
}
.featured-modal-btn-secondary:hover { background: #e5e7eb; }
.featured-modal-btn-primary {
  background: var(--c-brand);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.featured-modal-btn-primary:hover { background: #0b73c0; }
.featured-modal-btn-arrow {
  width: 15px;
  height: 15px;
  margin-right: -4px;
}

.primary-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-radius: var(--r-16) var(--r-16) 0 0;
  margin-top: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.area-nav-tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 8px 0;
  list-style: none;
  margin: 0;
  border-bottom: 2px solid var(--c-brand);
}
.area-nav-tabs > li {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
}

.area-nav-tabs > li.is-active,
.area-nav-tabs > li:has(.area-nav-tab.active) {
  position: relative;
  z-index: 3;
}
.area-nav-tab {
  flex: 1 1 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 11px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7a89;
  background: #dbe3ea;
  border: 2px solid transparent;
  border-radius: var(--r-8) 8px 0 0;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.area-nav-tab:hover { color: var(--c-brand); }

.area-nav-tab.active {
  position: relative;
  z-index: 2; 
  color: var(--c-white);
  background: var(--c-brand);
  border-color: var(--c-brand);
  letter-spacing: 0.1em;
  padding: 14px 8px;
  margin-bottom: -2px;
}

.area-nav-tab.active::before,
.area-nav-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;       
  width: 8px;
  height: 10px;       
  background: var(--c-brand);
}
.area-nav-tab.active::before {
  left: -10px;
  
  -webkit-mask: radial-gradient(circle at top left, transparent 8px, #000 8.5px);
  mask: radial-gradient(circle at top left, transparent 8px, #000 8.5px);
}
.area-nav-tab.active::after {
  right: -10px;
  -webkit-mask: radial-gradient(circle at top right, transparent 8px, #000 8.5px);
  mask: radial-gradient(circle at top right, transparent 8px, #000 8.5px);
}

.genre-bar {
  padding: 10px 12px;
}

.genre-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.genre-nav-pills .filter-btn { margin-left: auto; }
.genre-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  color: #3a4a5a;
  background: aliceblue;
  border: none;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.genre-nav-tab:hover { background: #dcecfb; }
.genre-nav-tab.active {
  color: var(--c-white);
  background: var(--c-brand);
}

.genre-count {
  font-size: 9px;
  font-weight: 700;
  color: #1a6aa8;
  background: #d4e7f9;
  border-radius: var(--r-pill);
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.genre-nav-tab.active .genre-count { background: rgba(255, 255, 255, 0.28); color: var(--c-white); }
.genre-nav-tab.is-empty {
  opacity: 0.45;
  color: #9aa6b2;
  border-color: #e3e9ef;
  pointer-events: none;
  cursor: default;
}
.genre-nav-tab.is-empty .genre-count { background: #f1f3f5; color: #aab2bb; }

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 600;
  color: var(--c-brand-light);
  background: aliceblue;
  border: none;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.filter-btn svg { width: 13px; height: 13px; }

.filter-btn.active {
  color: var(--c-white);
  background: var(--c-brand-light);
}

.genre-section { padding: 16px; background: var(--c-white); }
.plans-list { display: flex; flex-direction: column; gap: 16px; }
.plans-empty {
  padding: 24px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13px;
  background: #f9fafb;
  border-radius: var(--r-8);
}

.plan-card {
  display: block;
  background: var(--c-white);
  border-radius: var(--r-12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  color: inherit;
}
.plan-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--c-border);
}
.plan-image { width: 100%; height: 100%; object-fit: cover; }

.plan-soldout-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(80, 80, 80, 0.92);
  color: var(--c-white);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: var(--r-4);
  z-index: 2;
}
.plan-card.is-soldout .plan-image { filter: grayscale(0.7); opacity: 0.7; }
.plan-card.is-soldout .plan-price-main-row { opacity: 0.6; }
.plan-info-wrapper { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 0; }

.plan-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-12);
  line-height: 1.4;
  white-space: nowrap;
}
.tag-category, .tag-area, .tag-beginner, .tag-age, .tag-kids {
  background: #e6f3ff;
  color: #0b73c0;
  font-weight: 600;
}

.plan-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plan-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--c-muted);
  min-width: 0;
  margin: -2px 0;
}
.plan-meta-item {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  white-space: nowrap;
}
.plan-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.plan-meta-facility {
  flex: 1 1 auto;
  min-width: 8ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-muted);
}

.plan-price-wrapper {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
.plan-price-original-row {
  line-height: 1.2;
  margin-bottom: -4px;
  margin-top: 2px;
}
.plan-price-original {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}
.plan-price-main-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.plan-price-discount {
  background: var(--c-sale);
  color: var(--c-white);
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: var(--r-4);
  align-self: center;
}
.plan-price { font-size: 22px; font-weight: bold; color: var(--c-sale); }
.plan-price-suffix { font-size: 12px; color: var(--c-muted); }

.plan-benefit-box {
  margin-bottom: 0;
}
.detail-benefit-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #8a6d00;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.5;
}
.detail-benefit-check {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #f5b500;
}

.plan-review-box {
  margin-top: 8px;
}
.detail-review {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #fffae6;
  border-radius: var(--r-8);
  padding: 7px 10px;
}
.detail-review-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: var(--r-circle);
  
  margin-top: 0;
}
.detail-review-text {
  color: var(--c-text-sub2);
  font-size: 11px;
  letter-spacing: -0.02em;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.availability-wrapper {
  padding: 4px 8px 0;
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}
.calendar-nav-btn {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  color: var(--c-text-sub2);
  padding: 0;
}
.calendar-nav-btn:hover { background: #f5f5f5; }
.calendar-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-nav-btn svg { width: 14px; height: 14px; }
.availability-calendar {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.availability-slot {
  text-align: center;
  padding: 4px 0;
  border-radius: var(--r-4);
  font-size: 11px;
  min-width: 0;
}
.slot-day { display: block; color: var(--c-muted); font-size: 10px; }
.slot-day.sun { color: var(--c-sale); }
.slot-day.sat { color: #3366cc; }
.slot-date {
  display: block;
  color: var(--c-text-sub);
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}
.slot-status {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #f39c12;
  min-height: 18px;
}
.slot-status.closed { color: #aaa; font-weight: 300; }
.slot-status.request { color: #f39c12; }
.slot-status.request svg { width: 14px; height: 14px; vertical-align: middle; }

.calendar-legend {
  font-size: 8px;
  color: var(--c-muted);
  padding: 2px 16px 8px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.calendar-legend svg { width: 12px; height: 12px; vertical-align: middle; }

.filter-sheet {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.filter-sheet[hidden] { display: none; }
.filter-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.filter-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: var(--c-white);
  border-radius: var(--r-16) var(--r-16) 0 0;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  animation: sheet-up 0.25s ease;
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--c-border-light);
}
.filter-sheet-title { font-size: 15px; font-weight: bold; color: var(--c-text); }
.filter-sheet-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--c-muted);
  width: 32px;
  height: 32px;
}
.filter-sheet-body {
  padding: 4px 16px 12px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.filter-group {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.filter-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.filter-check-box {
  width: 20px;
  height: 20px;
  border: 2px solid #cfd8e0;
  border-radius: 5px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.filter-check input:checked + .filter-check-box {
  background: var(--c-brand);
  border-color: var(--c-brand);
}
.filter-check input:checked + .filter-check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--c-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.filter-check input:focus-visible + .filter-check-box {
  outline: 2px solid var(--c-brand-light);
  outline-offset: 2px;
}
.filter-sheet-footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--c-border-light);
}
.filter-clear-btn {
  flex: 0 0 auto;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: bold;
  color: var(--c-text-sub);
  background: #f3f4f6;
  border: none;
  border-radius: var(--r-8);
}
.filter-clear-btn:hover { background: #e5e7eb; }
.filter-apply-btn {
  flex: 1 1 auto;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  color: var(--c-white);
  background: var(--c-brand);
  border: none;
  border-radius: var(--r-8);
}
.filter-apply-btn:hover { background: #0b73c0; }

.footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 11px;
  color: var(--c-muted);
}
.footer-disclaimer {
  font-size: 10px;
  line-height: 1.7;
  color: #aaa;
  text-align: left;
  max-width: 380px;
  margin: 0 auto 12px;
}

@media (max-width: 480px) {
  .calendar-nav-btn { flex: 0 0 24px; }
  .availability-slot { font-size: 10px; }
  .slot-status { font-size: 12px; }
  .slot-day { font-size: 9px; }
  .area-nav-tab { padding: 11px 8px; font-size: 13px; }
  .genre-nav-tab { padding: 3px 10px; font-size: 10px; }
  .filter-btn { padding: 3px 9px; font-size: 10px; }
  .section-title { font-size: 16px; }
  .featured-section { padding: 12px 12px 12px; }
  .featured-grid { gap: 6px; height: 220px; }
  .featured-card-copy { font-size: 12px; }
  .featured-card:nth-child(1) .featured-card-copy { font-size: 14px; }
  .featured-card-label { font-size: 9px; padding: 4px 6px 2px; }
}
