/* ===========================
   会場案内図ページ (play.php風)
   =========================== */
body.map-page {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #dce8f7 0%, #b5c8e8 100%);
  color: #1a2a44;
  -webkit-font-smoothing: antialiased;
}

/* ===== ヘッダー ===== */
.map-header {
  text-align: center;
  padding: 50px 20px 25px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.map-header h1 {
  font-family: 'Hiragino Kaku Gothic ProN', 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  color: #0a2856;
  margin: 0;
  text-shadow: 0 2px 6px rgba(255,255,255,0.6);
}
.map-header .lead {
  font-size: clamp(16px, 2.5vw, 22px);
  color: #163d68;
  margin-top: 10px;
}

/* ===== メイン ===== */
.map-main {
  width: min(92%, 1000px);
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 120px;
}

/* ===== マップ画像カード風 ===== */
.map-frame {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ===== 画像共通設定 ===== */
.map-image {
  width: 100%;
  height: auto;
  max-width: 900px; 
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.map-image:hover {
  transform: scale(1.02);
}

/* ===== セクション全体の調整 ===== */
.map-section {
  text-align: center;
  margin-bottom: 50px;
}

.map-frame {
  position: relative;
  display: inline-block;
  max-width: 900px; /* 画像と同じ幅制限を設定 */
  width: 100%;
}

/* ===== 拡大ボタン（常時表示） ===== */
.zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.85);
  border: 2px solid #3a7abf;
  border-radius: 50%;
  padding: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.zoom-btn:hover {
  background: rgba(255,255,255,1);
}

/* ===== モーダル表示 ===== */
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.map-modal.show {
  display: flex;
}
.map-modal-img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ===== スマホ調整 ===== */
@media (max-width: 768px) {
  .map-image,
  .map-frame {
    max-width: 100%;
  }
}

/* ===== 拡大ボタン（常時表示） ===== */
.zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(22, 61, 104, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.3s ease;
}
.zoom-btn:hover {
  background: rgba(22, 61, 104, 1);
  transform: scale(1.1);
}

/* ===== 説明文 ===== */
.map-caption {
  color: #163d68;
  font-size: 0.95rem;
  margin-top: 10px;
  opacity: 0.85;
}

/* ===== 拡大表示モーダル ===== */
.map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.map-modal.show {
  display: flex;
}
.map-modal-img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
  cursor: zoom-out;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .map-header {
    padding: 36px 12px 20px;
  }
  .map-header h1 {
    font-size: 28px;
  }
  .map-header .lead {
    font-size: 15px;
  }
  .map-main {
    padding: 30px 0 100px;
  }
  .zoom-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .map-caption {
    font-size: 0.85rem;
  }
}

/* === 広告画像調整 === */
.ad-banner {
  text-align: center;
  margin: 40px auto 60px;
}

.ad-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ad-banner a {
  display: inline-block;  /* ← リンク領域を画像の大きさに限定 */
}

.ad-banner img {
  display: block;  /* ← 画像の余白をなくす */
  width: auto;
  height: auto;
  margin: 0 auto;
}

/* === フッター固定対策 === */
.footer-space {
  height: 120px; /* ← フッターの高さに合わせて調整（固定footerなら必要） */
}

.kitchencar-info {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: var(--info-bg);
  border-radius: 999px;
  padding: 10px 18px;
  margin: 10px auto 26px;
  max-width: 900px;
  border: 1px solid rgba(44, 62, 114, 0.12);
  font-weight: 600;
  color: #222c4a;
}
.kitchencar-info strong { 
  color: var(--accent); 
  margin-right: 6px; 
  font-weight: 700; 
  font-size: 1.7rem;
}
.kitchencar-info span { 
  font-size: 1rem;
  opacity: 0.95; 
}

/*snsiconの設定*/
.sns {
    border-radius: 50px;
    margin-inline: auto;
    width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px white;
    background-color: var(--white1);
}

.sns a {
    margin: 12px 16px;
    width: 29px;
}

.sns img {
    width: 29px;
}

.cicon p {
  font-size: clamp(10px, 2vw, 15px); 
  margin: 2px 0 4px;
  font-weight: 900;
text-align:center
}
