/*
Theme Name: &torch Bakery
Theme URI: https://and-torch-bakery.jp
Description: &torch Bakery 専用テーマ。練馬区西大泉のパン屋さん用カスタムテーマです。
Author: &torch Bakery
Version: 1.0.0
License: Private
Text Domain: andtorch
*/

/* ===== RESET & BASE ===== */
/* Google Fonts は functions.php から wp_enqueue_style で読み込み */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent; /* タップ時の青ハイライトを消す */
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Maru Gothic', 'Rounded Mplus 1c', sans-serif;
  font-weight: 400;
  color: #3a2d24;
  background: #faf8f5;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* タップ遅延（300ms）を解消 */
a, button, [role="button"], label, select {
  touch-action: manipulation;
}

/* ===== VARIABLES ===== */
:root {
  --dark-red: #7b1c1c;
  --brown: #3a2d24;
  --cream: #faf8f5;
  --light-cream: #f5f0e8;
  --gold: #c4a45a;
  --text-light: #7a6a5a;
  --white: #ffffff;
  --ig-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 1px 12px rgba(58,45,36,0.08);
}
.site-header.page-header {
  background: rgba(250, 248, 245, 0.97);
  box-shadow: 0 1px 12px rgba(58,45,36,0.08);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.site-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--dark-red);
  font-weight: 400;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--brown);
  font-weight: 400;
  transition: color 0.25s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--dark-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.site-nav a:hover { color: var(--dark-red); }
.site-nav a:hover::after { transform: scaleX(1); }
.nav-reserve {
  background: var(--dark-red) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 2px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
}
.nav-reserve::after { display: none !important; }
.nav-reserve:hover { background: #5c1515 !important; }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;        /* タッチターゲット拡大：44px以上を確保 */
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brown);
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(250,248,245,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: var(--brown);
  text-decoration: none;
  font-weight: 400;
  min-height: 44px;           /* タッチターゲット確保 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  width: 100%;
  text-align: center;
}
.mobile-nav .nav-reserve {
  font-size: 0.85rem !important;
  padding: 12px 36px !important;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  height: 100dvh;           /* iOS Safari で正確な画面高さを取得 */
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── クロスフェード動画背景 ────────────────────────────── */
.hero-videos {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-videos video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-videos video.active {
  opacity: 1;
}

/* ── Portrait (スマホ) : 静止画で高速表示＋通信量節約 ──────── */
@media (orientation: portrait) {
  .hero-videos { display: none !important; }     /* 動画を完全に非表示 */
  /* hero-video-playing による opacity:0 を強制上書き */
  .hero-bg,
  .hero-video-playing .hero-bg {
    background-image: url('img/hero-mobile.jpg') !important;
    background-position: center center;
    opacity: 1 !important;
    transform: none;
    transition: transform 6s ease;
  }
  .hero-bg.loaded,
  .hero-video-playing .hero-bg.loaded {
    transform: scale(1.03);
  }
}

/* ── Landscape (PC/タブレット横) : 動画クロスフェード ────────── */
@media (orientation: landscape) {
  .hero-videos video {
    object-position: center 38%;     /* パン作り動画は上寄りに手元がある */
  }
}

/* 静止画フォールバック（動画が読み込まれない場合） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease, opacity 1.5s ease;
  z-index: 0;
}
.hero-bg.loaded { transform: scale(1); }
/* 動画再生中は静止画を隠す */
.hero-video-playing .hero-bg { opacity: 0; }

/* 暗めグラデーション：写真を活かしつつ白文字を読みやすく */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,18,10,0.15) 0%,
    rgba(30,18,10,0.30) 35%,
    rgba(30,18,10,0.35) 65%,
    rgba(30,18,10,0.25) 100%
  );
  z-index: 1;
}

/* ── ヒーローテキスト（テキストシャドウ方式：背景を遮らない） ─── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 48px;
}
/* デコライン（上下） */
.hero-content::before,
.hero-content::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--white);
  opacity: 0.6;
  margin: 0 auto;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}
.hero-content::before { margin-bottom: 28px; }
.hero-content::after  { margin-top: 28px; }

.hero-en {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  letter-spacing: 0.32em;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow:
    0 0 20px rgba(250,248,245,0.9),
    0 0 40px rgba(250,248,245,0.5),
    0 1px 3px rgba(58,45,36,0.25);
}
.hero-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  margin-bottom: 22px;
  color: var(--white);
  text-shadow:
    0 0 24px rgba(250,248,245,0.95),
    0 0 48px rgba(250,248,245,0.6),
    0 0 80px rgba(250,248,245,0.3),
    0 2px 4px rgba(58,45,36,0.2);
}
.hero-subtitle {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.24em;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  text-shadow:
    0 0 18px rgba(250,248,245,0.9),
    0 0 36px rgba(250,248,245,0.5),
    0 1px 3px rgba(58,45,36,0.2);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  z-index: 2;
  text-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2.2s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== INSTAGRAM SECTION ===== */
.instagram-section {
  padding: 88px 48px;
  background: var(--white);
  text-align: center;
}
.ig-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ig-icon {
  width: 26px; height: 26px;
  background: var(--ig-gradient);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ig-icon svg { fill: white; width: 15px; height: 15px; }
.ig-title-ja {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--brown);
}
.ig-title-en {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--text-light);
  margin-bottom: 32px;
  font-style: italic;
}
.ig-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
}
/* Smash Balloon feed wrapper */
.ig-feed-wrap {
  max-width: 1100px;
  margin: 0 auto 36px;
}
/* ── Smash Balloon デフォルト UI を上書き ── */
.ig-feed-wrap .sbi_follow_btn a,
.ig-feed-wrap #sbi_load .sbi_load_btn {
  background: var(--brown) !important;
  border-radius: 2px !important;
  font-family: 'Zen Maru Gothic', sans-serif !important;
  letter-spacing: 0.18em !important;
  font-size: 0.78rem !important;
}
.ig-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-ig-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--brown);
  color: var(--white);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  border-radius: 2px;
  transition: background 0.3s;
}
.btn-ig-more:hover { background: #5a4030; color: var(--white); }
.btn-ig-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ig-gradient);
  color: var(--white);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  border-radius: 2px;
  transition: opacity 0.3s;
}
.btn-ig-follow:hover { opacity: 0.85; color: var(--white); }
.btn-ig-follow svg, .btn-ig-more svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ===== SECTIONS COMMON ===== */
.section-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.35em;
  color: var(--dark-red);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 400;
}
.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brown);
  margin-bottom: 18px;
}
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* ===== CONCEPT ===== */
#concept {
  padding: 100px 48px;
}
.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.concept-image { position: relative; }
.concept-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.concept-image::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}
.concept-text { padding-right: 20px; }
.concept-body {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 2.3;
}
.concept-body strong { color: var(--dark-red); font-weight: 400; }

/* ===== PRODUCTS ===== */
#products {
  background: var(--light-cream);
  padding: 100px 48px;
  text-align: center;
}
#products .section-label,
#products .section-title,
#products .section-divider { margin-left: auto; margin-right: auto; }
#products .section-divider { margin: 0 auto 16px; }
.products-desc {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 2.1;
  max-width: 520px;
  margin: 0 auto 52px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1080px;
  margin: 0 auto 48px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #e8ddd0;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58,45,36,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}
.gallery-item:hover .gallery-overlay { background: rgba(58,45,36,0.32); }
.gallery-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s;
}
.gallery-item:hover .gallery-name { opacity: 1; transform: translateY(0); }

/* タッチデバイス：ホバーなし → 商品名を常に表示 */
@media (hover: none) {
  .gallery-overlay { background: rgba(58,45,36,0.28); }
  .gallery-name { opacity: 1; transform: translateY(0); }
  .gallery-item:active img { transform: scale(1.03); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1px solid var(--dark-red);
  color: var(--dark-red);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  transition: all 0.3s;
  border-radius: 2px;
}
.btn:hover { background: var(--dark-red); color: var(--white); }
.btn-fill {
  background: var(--dark-red);
  color: var(--white) !important;
}
.btn-fill:hover { background: #5c1515 !important; border-color: #5c1515 !important; }

/* ===== REVIEWS (お客様の声) ===== */
#reviews {
  padding: 100px 48px;
  background: var(--white);
  text-align: center;
}
#reviews .section-label,
#reviews .section-title,
#reviews .section-divider { margin-left: auto; margin-right: auto; }
#reviews .section-divider { margin: 0 auto 16px; }
.reviews-desc {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 2.1;
  max-width: 520px;
  margin: 0 auto 48px;
}
.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 10px 24px;
  background: var(--cream);
  border-radius: 40px;
  text-decoration: none;
  transition: box-shadow 0.3s;
}
.reviews-google-badge:hover { box-shadow: 0 2px 12px rgba(58,45,36,0.12); }
.reviews-google-badge svg { flex-shrink: 0; }
.reviews-google-stars { display: flex; gap: 2px; }
.reviews-google-stars svg { width: 16px; height: 16px; fill: #FBBC05; }
.reviews-google-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto 48px;
}
.review-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 32px 28px 28px;
  text-align: left;
  position: relative;
  transition: box-shadow 0.3s;
}
.review-card:hover { box-shadow: 0 4px 20px rgba(58,45,36,0.08); }
.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.9rem;
  color: var(--brown);
  font-weight: 500;
  flex-shrink: 0;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown);
}
.review-stars { display: flex; gap: 1px; }
.review-stars svg { width: 13px; height: 13px; fill: #FBBC05; }
.review-body {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 2;
  letter-spacing: 0.02em;
}
.review-quote-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.08;
}
/* Google Reviews プラグイン wrapper */
.reviews-plugin-wrap {
  max-width: 1080px;
  margin: 0 auto 40px;
}

/* ===== NEWS ===== */
#news {
  padding: 100px 48px;
  background: var(--cream);
}
.news-inner { max-width: 860px; margin: 0 auto; }
.news-list { list-style: none; border-top: 1px solid #e0d8cc; }
.news-item {
  display: grid;
  grid-template-columns: 130px auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #e0d8cc;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s;
}
.news-item:hover { opacity: 0.65; }
.news-date {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.news-tag {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--dark-red);
  color: var(--dark-red);
  white-space: nowrap;
  font-weight: 400;
  margin-top: 2px;
}
.news-title-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--brown);
}
.news-all-wrap { text-align: right; margin-top: 36px; }

/* Single Post */
.single-post-wrap {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 24px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.post-date {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}
.post-content {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 2.2;
  color: var(--text-light);
}
.post-content h2, .post-content h3 { color: var(--brown); font-family: 'Zen Maru Gothic', sans-serif; }
.post-content a { color: var(--dark-red); }
.post-back { margin-top: 48px; }

/* Archive */
.archive-wrap {
  max-width: 860px;
  margin: 120px auto 80px;
  padding: 0 24px;
}
.archive-title { margin-bottom: 48px; }

/* ===== RESERVE BANNER ===== */
.reserve-banner {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 88px 48px;
}
.reserve-banner .section-label { color: var(--gold); }
.reserve-banner .section-title { color: var(--white); }
.reserve-banner .section-divider { background: var(--gold); margin: 0 auto 28px; }
.reserve-desc {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 2.1;
}

/* ===== ACCESS ===== */
#access { padding: 100px 48px; }
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.access-table tr { border-bottom: 1px solid #e8e0d4; }
.access-table td {
  padding: 16px 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-light);
  vertical-align: top;
}
.access-table td:first-child {
  width: 88px;
  color: var(--brown);
  font-weight: 400;
  letter-spacing: 0.06em;
}
.access-table a { color: inherit; text-decoration: none; }
.parking-info { display: flex; gap: 20px; margin-top: 20px; }
.parking-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.1em;
}
.parking-badge svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; }
.access-map-wrap {
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.access-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== STORE FEATURES ===== */
.store-features {
  padding: 88px 48px;
  background: var(--white);
}
.features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
}
.feature-card { text-align: center; }
.feature-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-card:hover .feature-img img { transform: scale(1.04); }
.feature-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--brown);
  margin-bottom: 10px;
}
.feature-desc {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1e120a;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 60px 48px 40px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
}
.footer-logo-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
}
.footer-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.footer-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: 0.2em;
}
.footer-tagline {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  margin-bottom: 36px;
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 400;
  margin-bottom: 28px;
  transition: color 0.25s;
}
.footer-ig:hover { color: var(--white); }
.footer-ig-icon {
  width: 22px; height: 22px;
  background: var(--ig-gradient);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.footer-ig-icon svg { fill: white; width: 12px; height: 12px; }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-family: 'Nunito', sans-serif;
  color: rgba(255,255,255,0.3);
}

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* ── タブレット・スマホ共通（960px以下） ─────────────────── */
@media (max-width: 960px) {
  /* ヘッダー */
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }

  /* セクション余白 */
  #concept, #products, #news, #access, #reviews, .reserve-banner { padding: 72px 24px; }
  .instagram-section { padding: 72px 24px; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 40px; }
  .store-features { padding: 64px 24px; }
  .features-inner { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 500px; }
  .feature-img { aspect-ratio: 4/3; margin-bottom: 12px; }
  .feature-title { font-size: 0.85rem; margin-bottom: 6px; }
  .feature-desc { font-size: 0.72rem; line-height: 1.7; }
  /* 3つ目のカード（駐車場）を中央に配置 */
  .feature-card:last-child { grid-column: 1 / -1; max-width: 55%; margin: 0 auto; }

  /* コンセプト */
  .concept-inner { grid-template-columns: 1fr; gap: 40px; }
  .concept-image::before { display: none; }
  .concept-image img { height: 280px; }
  .concept-text { padding-right: 0; }   /* 右余白をリセット */

  /* ギャラリー */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* アクセス */
  .access-inner { grid-template-columns: 1fr; gap: 40px; }
  .access-map-wrap { height: 280px; }   /* 420px → 280px に縮小 */

  /* ニュース */
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-all-wrap { text-align: center; }  /* 右寄せ → 中央揃え */

  /* Instagram */
  .ig-buttons { flex-direction: column; align-items: center; }
  .ig-buttons .btn-ig-more,
  .ig-buttons .btn-ig-follow { min-width: 220px; justify-content: center; }

  /* 駐輪場・駐車場バッジ */
  .parking-info { flex-wrap: wrap; gap: 12px; }

  /* 単独記事・アーカイブページの上余白 */
  .single-post-wrap { margin: 88px auto 60px; }
  .archive-wrap { margin: 88px auto 60px; }

  /* ヒーロー文字のletter-spacing を詰める */
  .hero-content { padding: 0 24px; }
  .hero-en       { letter-spacing: 0.18em; }
  .hero-subtitle { letter-spacing: 0.15em; }
  .ig-title-en   { letter-spacing: 0.18em; }

  /* フッター */
  .site-footer { padding: 40px 24px 32px; }
}

/* ── スマホ（480px以下） ─────────────────────────────────── */
@media (max-width: 480px) {
  /* セクション余白をさらに詰める */
  #concept, #products, #news, #access, #reviews, .reserve-banner { padding: 56px 20px; }
  .instagram-section { padding: 56px 20px; }
  .review-card { padding: 24px 20px 20px; }
  .store-features { padding: 48px 20px; }
  .features-inner { gap: 40px; }
  .site-footer { padding: 36px 20px 28px; }

  /* ヒーロー テキスト */
  .hero-content { padding: 0 20px; }
  .hero-content::before, .hero-content::after { width: 40px; }
  .hero-content::before { margin-bottom: 16px; }
  .hero-content::after  { margin-top: 16px; }
  .hero-en       { font-size: 0.72rem; letter-spacing: 0.12em; margin-bottom: 12px; }
  .hero-subtitle { font-size: 0.66rem; letter-spacing: 0.1em; }
  .hero-title    { letter-spacing: 0.14em; }
  .hero-scroll   { display: none; }   /* 小さい画面では SCROLL インジケーターを非表示 */

  /* セクション共通タイトル */
  .section-title   { letter-spacing: 0.08em; }
  .section-label   { letter-spacing: 0.22em; }

  /* Instagram見出し */
  .ig-title-ja { font-size: 1.35rem; }
  .ig-title-en { letter-spacing: 0.12em; }

  /* ギャラリー */
  .gallery-grid { gap: 3px; }

  /* ニュース */
  .news-item { padding: 20px 0; }

  /* 単独記事・アーカイブ */
  .single-post-wrap { margin: 80px auto 48px; padding: 0 20px; }
  .archive-wrap     { margin: 80px auto 48px; padding: 0 20px; }

  /* モバイルナビ間隔 */
  .mobile-nav { gap: 24px; }
  .mobile-nav a { font-size: 0.95rem; letter-spacing: 0.18em; }

  /* ボタン */
  .btn { padding: 13px 28px; font-size: 0.75rem; }
  .btn-ig-more, .btn-ig-follow { min-width: 180px; }

  /* テーブル（アクセス情報） */
  .access-table td        { font-size: 0.82rem; padding: 14px 0; }
  .access-table td:first-child { width: 72px; }
}

/* ── 極小スマホ（380px以下 / iPhone SE 第1世代など） ────── */
@media (max-width: 380px) {
  .site-logo-text { font-size: 1.05rem; letter-spacing: 0.1em; }
  .hero-title    { font-size: clamp(1.6rem, 7vw, 2rem); letter-spacing: 0.1em; }
  #concept, #products, #news, #access, #reviews, .reserve-banner { padding: 48px 16px; }
  .instagram-section { padding: 48px 16px; }
  .site-footer   { padding: 32px 16px 24px; }
  .gallery-grid  { gap: 2px; }
  .news-tag      { font-size: 0.58rem; padding: 2px 8px; }
}
