/* =============================================
   いぬカフェRio LP - カスタムスタイルシート
   ============================================= */

/* ラッパー（PC時にスマホ幅で中央表示） */
#app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: #faf6f2;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  overflow: clip;
}

/* ベーススタイル */
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #2D2320;
  background-color: #faf6f2;
  letter-spacing: 0.01em;
}

h1, h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* 肉球背景パターン：非表示 */
.paw-pattern {
  display: none;
}

/* CTAボタン */
.cta-button {
  background: #2D2320;
  box-shadow: none;
  transition: all 0.2s ease;
}
.cta-button:hover {
  background: #4a3a36;
  transform: translateY(-1px);
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* ===== エリア絞り込みタブ ===== */
.filter-btn.active {
  background-color: #2D2320;
  color: white;
  border-color: #2D2320;
}

/* ===== KVセクション ===== */
.kv-section {
  position: relative;
  height: min(90vw, 432px);
  max-height: 432px;
  min-height: 360px;
  clip-path: inset(0 0 0 0 round 0 0 32px 32px);
  background-color: #2D2320;
  margin-top: -52px;
}

/* ===== 追従ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  transition: padding 0.3s ease;
}
.site-header-inner {
  padding: 10px 20px 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* ===== ドロワーメニュー ===== */
.menu-drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50vw - 240px));
  width: calc(min(100vw, 480px) * 0.8);
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  transform: translateX(calc(100% + 50vw));
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}
.menu-drawer.open {
  transform: translateX(0);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.menu-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 32px;
}
.menu-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0ebe7;
}
.menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.menu-nav-item {
  display: flex;
  flex-direction: column;
  padding: 14px 24px;
  border-bottom: 1px solid #f7f3f0;
  text-decoration: none;
  transition: background 0.15s;
}
.menu-nav-item:hover {
  background: #faf6f2;
}
.menu-nav-en {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #FF8A00;
  margin-bottom: 2px;
}
.menu-nav-ja {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2D2320;
}
.menu-header-cta {
  display: inline-flex;
  align-items: center;
  background: #FF8A00;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.menu-header-cta:hover {
  background: #5D4037;
}

/* ===== KVヘッダー（削除・旧定義） ===== */
.kv-header-inner {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kv-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.kv-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2D2320;
  font-size: 18px;
}
.kv-menu-btn:hover {
  background: rgba(255,255,255,0.32);
}

/* ===== KVオーバーレイ ===== */
.kv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

/* ===== KVテキスト ===== */
.kv-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 24px;
  padding-top: 80px;
  z-index: 20;
}
.kv-title {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.kv-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FF8A00;
  color: #fff;
  font-weight: 900;
  font-size: clamp(0.75rem, 3.5vw, 1rem);
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255,138,0,0.5);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.kv-cta-icon {
  color: #FF8A00;
}

/* ===== 魅力セクション ===== */
/* カルーセル廃止。レイアウトはHTML側のTailwindクラスで制御 */

/* ===== 口コミカルーセル ===== */
.review-carousel-outer {
  position: relative;
  padding-bottom: 40px;
  overflow: visible;
}
.review-viewport {
  overflow: visible;
  padding: 8px 0;
}
.review-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.review-card {
  flex: 0 0 78%;
  max-width: 300px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.3s;
}
.review-dot.active {
  background: #FF8A00;
  width: 24px;
}

/* ===== KV動画背景 ===== */
.kv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.kv-video.active {
  opacity: 1;
}

/* ===== こんな方におすすめ ===== */
.osusume-illust {
  width: 100%;
  max-width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.osusume-illust-placeholder {
  width: 120px;
  height: 120px;
  font-size: 80px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.osusume-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2D2320;
  line-height: 1.6;
}

/* ===== 店舗カード ===== */
.store-card {
  transition: opacity 0.3s ease, transform 0.2s ease;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.store-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.store-card.hidden {
  display: none;
}
