/* =========================================================================
   基本設定・変数宣言
   ========================================================================= */
:root {
  /* ブランドカラー */
  --color-primary: #C39D77;
  /* 少し温かみのあるブラウン・ゴールド系 */
  --color-secondary: #E3D9C9;
  /* 背景などに使う優しいベージュ */
  --color-accent: #FF8E53;
  /* アクセントカラー：杏（あんず）色 */

  /* テキストカラー */
  --text-main: #333333;
  --text-light: #666666;
  --text-white: #FFFFFF;

  /* 背景カラー */
  --bg-main: #FAFAF8;
  /* 真っ白ではない、目に優しい色 */
  --bg-light: #F2EEE8;

  /* フォント（Kiwi Maruは丸みがありアットホーム。M PLUSは読みやすい） */
  --font-base: 'M PLUS Rounded 1c', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-title: 'Kiwi Maru', serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* =========================================================================
   リセット＆共通クラス
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

/* イラストと文字をまとめるバッジスタイル */
.title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 2.5px solid var(--color-primary);
  border-radius: 100px;
  padding: 8px 35px 8px 15px;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.title-badge img {
  height: 90px;
  width: auto;
  mix-blend-mode: multiply;
}

.title-badge .badge-text {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-main);
  font-weight: bold;
}

.title-img {
  max-width: 150px;
}

@media (max-width: 768px) {
  .title-badge {
    padding: 6px 20px 6px 12px;
    gap: 8px;
  }
  .title-badge img {
    height: 60px;
  }
  .title-badge .badge-text {
    font-size: 1.3rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .title-badge .badge-text {
    font-size: 1.1rem;
    white-space: normal;
  }
}

.section-desc {
  text-align: center;
  margin-bottom: 30px;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

/* スマホ用改行クラス（PC・タブレットでは非表示） */
.sp-only {
  display: none;
}
@media (max-width: 900px) {
  .sp-only {
    display: inline;
  }
}

/* PCのみ表示（スマホ等では非表示） */
.pc-only {
  display: block;
}
@media (max-width: 900px) {
  .pc-only {
    display: none !important;
  }
}

/* スマホのみ表示（ブロック要素） */
.sp-block {
  display: none;
}
@media (max-width: 900px) {
  .sp-block {
    display: block !important;
  }
}


/* PDFビューアのレスポンシブな高さ設定 */
.pdf-viewer-container {
  width: 100%;
  height: 1000px; /* PC用：より大きく、読みやすく */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {
  .pdf-viewer-container {
    height: 250px; /* スマホ用：サムネイル的なコンパクトサイズ */
  }
}

/* =========================================================================
   ボタン系
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: #A37F5D;
  color: var(--text-white);
}

.btn-tel {
  background-color: var(--text-main);
  color: var(--text-white);
}

.btn-line {
  background-color: #06C755;
  color: var(--text-white);
}

.btn-tel-large {
  background-color: var(--text-main);
  color: var(--text-white);
  padding: 15px 30px;
  font-size: 1.2rem;
  width: 100%;
  max-width: 300px;
}

.btn-line-large {
  background-color: #06C755;
  color: var(--text-white);
  padding: 15px 30px;
  font-size: 1.2rem;
  width: 100%;
  max-width: 300px;
}

/* =========================================================================
   ヘッダー＆ナビゲーション
   ========================================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  /* 透過を無くし、ロゴの白背景と完全に一体化させる */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 90px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo a {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo a img {
  mix-blend-mode: multiply;
  /* 白背景を透過させてヘッダー色に馴染ませる */
}

.logo i {
  color: var(--color-primary);
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.global-nav ul {
  display: flex;
  gap: 20px;
}

.global-nav ul li a {
  color: var(--text-main);
  font-weight: bold;
}

.global-nav ul li a:hover {
  color: var(--color-primary);
}

.nav-contact {
  display: flex;
  gap: 10px;
}

/* =========================================================================
   ヒーロー（トップ画像）
   ========================================================================= */
.hero {
  padding-top: 90px;
  /* ヘッダー分 */
  position: relative;
  /* デフォルト（PC版）はフレックスボックスで左右分割 */
  display: flex;
  align-items: stretch;
  /* 子要素の高さを揃える */
  min-height: 500px;
  height: calc(100vh - 90px);
  background-color: #000;
  overflow: hidden;
}

.hero-image {
  flex: 0 0 66.66%;
  /* 左側 2/3 を画像エリアに */
  position: relative;
  height: 100%;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  /* 2秒かけてゆっくりフェード（3秒ごとに切り替え） */
  z-index: 1;
}

.hero-image img.active {
  opacity: 0.8;
  /* PC版では少し明るめに */
  z-index: 2;
}

/* スマホ版（透過なし版）の画像用のopacityを上書き */
@media (max-width: 900px) {
  .hero-image img.active {
    opacity: 1;
  }
}

/* PC版の右側情報エリア用のスタイル追加 */
.hero-content {
  flex: 0 0 33.33%;
  /* 右側 1/3 を情報エリアに */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: var(--bg-light);
  /* カフェ風の明るい背景色 */
  color: var(--text-main);
  z-index: 10;
  text-align: center;
  overflow-y: visible;
  overflow-x: hidden;
}

/* タブレット横向き対策（901px 〜 1200px程度） */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero-image {
    flex: 0 0 50%;
  }
  .hero-content {
    flex: 0 0 50%;
    padding: 30px 30px 160px 30px; /* 右下の固定ボタンと被らないよう下余白を追加 */
  }
  .hero-content h2 {
    font-size: 2.0rem; /* 確実に収まるようにさらに縮小（英文削除のため少し拡大） */
    letter-spacing: -0.05em; /* 字間をギュッと詰める */
  }
}

.hero-content h2 {
  font-family: var(--font-title);
  color: var(--color-primary);
  /* タイトル色をオレンジ/ブラウン系に */
  font-size: 2.8rem;
  line-height: 1.5;
  margin-bottom: 25px;
  text-shadow: none;
}

.hero-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 35px;
  text-align: left;
  display: inline-block;
}

.hero-intro p {
  margin-bottom: 12px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* タブレット縦画面時のボタンの左残りを防止 */
  gap: 15px;
  width: 100%;
}

.hero-btn-main {
  padding: 15px 30px;
  font-size: 1.2rem;
}

/* --- スマホ版（元の縦長フルサイズレイアウトに戻す） --- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    min-height: calc(100vh - 90px);
  }

  .hero-image {
    position: absolute;
    /* 親(hero)に対して絶対配置し、背景のように広げる */
    top: 90px;
    /* ヘッダー分下げる */
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    flex: none;
  }

  /* スマホ版の .hero-image img 画像の暗さ指定（opacity: 0.6等）を削除し、PC版の0.8をそのまま受け継いで明るくする */

  .hero-content {
    position: relative;
    flex: none;
    width: 100%;
    justify-content: center; /* 中央寄せに戻し、余白で上部にオフセット */
    min-height: calc(100vh - 90px);
    background-color: transparent;
    color: var(--text-main);
    padding: 30px 20px 160px 20px; /* 下部余白を固定ボタンが被らない「最小限」に抑える */
    overflow-y: visible; /* スクロールをボディに任せる */
  }

  .hero-content h2 {
    color: var(--text-main);
    font-size: 2.2rem; /* 画面に収まるよう少し縮小（英文削除のため少し拡大） */
    margin-bottom: 15px; /* 下余白を詰める */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    /* 白いフチのような淡い影を付けて読みやすく */
  }

  .hero-intro {
    color: var(--text-main);
    /* 文字色を黒に */
    text-shadow: none;
    font-size: 0.95rem; /* 少し縮小して1画面に収める */
    font-weight: 500;
    line-height: 1.6; /* 行間も少し詰める */
    margin-bottom: 25px; /* 下余白を詰める */
    background-color: rgba(255, 255, 255, 0.6);
    /* 文字の背景に薄めで明るい（白系）半透明マットを敷く */
    padding: 12px 15px; /* 内余白も少し詰める */
    border-radius: 8px;
    display: inline-block;
  }
}



/* =========================================================================
   お知らせ（News）
   ========================================================================= */
.news-container {
  background: var(--text-white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.news-item {
  display: flex;
  border-bottom: 1px dashed #ccc;
  padding: 15px 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-weight: bold;
  color: var(--color-primary);
  width: 100px;
  flex-shrink: 0;
}

.news-text {
  flex-grow: 1;
}

/* =========================================================================
   カレンダー（Calendar）
   ========================================================================= */
.calendar-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.calendar-carousel::-webkit-scrollbar {
  display: none;
}
.calendar-slide {
  flex: 0 0 calc(50% - 15px);
  scroll-snap-align: center;
}
@media (max-width: 768px) {
  .calendar-carousel {
    gap: 15px;
  }
  .calendar-slide {
    flex: 0 0 100%;
    /* スマホは左右少し切れるようにせず、あえて100%してスワイプ感を出してもいいですし、
       デザインに合わせて 85% とかにして次月をチラ見せするテクニックもあります。
       今回はユーザーが直感的に次月があると分かりやすいよう、100%にして下の「ドットとスワイプヒント」で誘導します。 */
  }
}
.calendar-pagination {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}
@media (max-width: 768px) {
  .calendar-pagination {
    display: flex;
  }
}
.calendar-pagination .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  transition: background-color 0.3s;
}
.calendar-pagination .dot.active {
  background-color: #FF8E53;
}
.calendar-pagination .swipe-hint {
  font-size: 0.8rem;
  color: #888;
  margin-left: 10px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; transform: translateX(3px); }
  100% { opacity: 0.6; transform: translateX(0); }
}

.calendar-table th {
  border-bottom: 2px solid #eee;
  font-weight: bold;
}

.calendar-table td {
  padding: 8px 5px;
  border-bottom: 1px solid #f9f9f9;
  position: relative;
  z-index: 1;
}

/* 営業日の丸い背景（画像のようなテイスト） */
.calendar-table td.closed::before,
.calendar-table td.bar::before,
.calendar-table td.course::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: -1;
}

.calendar-table td.closed::before {
  background-color: #ffcc99;
  /* 淡いオレンジ（店休日） */
}

.calendar-table td.bar::before {
  background-color: #ffeaa7;
  /* 薄い黄色（バル＆テイクアウト） */
}

.calendar-table td.course::before {
  background-color: #b8e994;
  /* 淡い緑色（コース） */
}

/* =========================================================================
   メニュー（表示用グリッド）
   ========================================================================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.menu-card {
  background: var(--text-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.menu-card:hover {
  transform: translateY(-5px);
}

.placeholder-img {
  height: 200px;
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.3);
  font-weight: bold;
  font-size: 1.2rem;
}

.menu-card-title {
  font-family: var(--font-title);
  margin: 15px 15px 5px;
  font-size: 1.2rem;
}

.menu-card-price {
  margin: 0 15px 15px;
  font-weight: bold;
  color: var(--color-accent);
}

/* =========================================================================
   Instagram
   ========================================================================= */
.ig-embed-container {
  display: flex;
  justify-content: center;
}

.ig-placeholder {
  background: var(--text-white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.ig-placeholder p {
  margin-bottom: 20px;
}

.btn-outline {
  border: 2px solid var(--text-main);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--text-white);
}


/* =========================================================================
   店舗情報（アクセス）
   ========================================================================= */
.access-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.access-info {
  flex: 1;
  min-width: 300px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.info-table th {
  width: 30%;
  font-weight: bold;
  color: var(--color-primary);
  vertical-align: top;
}

.access-map {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================================================
   フッター
   ========================================================================= */
.footer {
  background-color: var(--text-main);
  color: var(--text-white);
  padding: 40px 0 20px;
  text-align: center;
}

.footer-logo img {
  max-width: 200px;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* =========================================================================
   ギャラリー（Gallery）
   ========================================================================= */
.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* =========================================================================
   レスポンシブデザイン（SP用）
   ========================================================================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 90px);
    background-color: var(--text-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .global-nav.is-active {
    right: 0;
  }

  .global-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .global-nav ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .global-nav ul li a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
  }

  .nav-contact {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .nav-contact .btn {
    width: 100%;
  }

  /* ハンバーガーアニメーション */
  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-bottom: 5px;
  }

  .access-wrapper {
    flex-direction: column;
  }

  .access-info,
  .access-map {
    width: 100%;
  }
}

/* =========================================================================
   下層ページ用（メニュー等）
   ========================================================================= */
.main-page {
  padding-top: 90px;
  /* ヘッダー分 */
}

.page-header {
  background-color: var(--color-secondary);
  padding: 40px 0;
  text-align: center;
}

.page-title {
  font-family: var(--font-title);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
}

/* タブデザイン */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 12px 25px;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-primary);
  transition: all 0.3s;
}

.menu-tab.active,
.menu-tab:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.menu-content {
  display: none;
  animation: fadeIn 0.5s;
}

.menu-content.active {
  display: block;
}

.menu-section-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-bottom: 2px dashed var(--color-secondary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.menu-section-desc {
  margin-bottom: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   追従ボタン（右下固定フローティングボタン・楕円形）
   ========================================================================= */
.fixed-footer-action {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.fixed-footer-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 35px;
  /* 楕円形（ピル型） */
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  gap: 10px;
}

.fixed-btn-tel {
  background-color: var(--text-main);
}

.fixed-btn-tel:hover {
  transform: scale(1.05);
}

.fixed-btn-line {
  background-color: #06C755;
}

.fixed-btn-line:hover {
  transform: scale(1.05);
}

/* スマホ表示でのボタン重なり防止とキャッチフレーズ調整 */
@media (max-width: 600px) {
  .fixed-footer-action {
    bottom: 15px;
    right: 15px;
    gap: 8px;
    z-index: 1100;
  }
  .fixed-footer-action a {
    padding: 10px 18px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-radius: 25px;
  }
  
  .hero-title {
    font-size: 1.2rem !important;
    letter-spacing: -0.01em;
    margin-bottom: 5px !important;
  }
  .hero-en {
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  .hero-btn-main {
    padding: 15px 30px !important;
    font-size: 1.2rem !important;
    max-width: 280px !important;
    margin-bottom: 20px;
  }
}

/* =========================================================================
   Instagramギャラリー
   ========================================================================= */
.ig-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .ig-gallery {
    grid-template-columns: repeat(2, 1fr);
    /* スマホは2列 */
    gap: 10px;
  }
}

/* テイクアウトエリア 3列グリッド（PC表示時） */
.takeout-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .takeout-image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .pc-only {
        display: none !important;
    }
}

.ig-item {
  position: relative;
  aspect-ratio: 1 / 1;
  /* 正方形にする */
  overflow: hidden;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ig-item:hover img {
  transform: scale(1.05);
  /* ホバーで少し拡大 */
}

.ig-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-item:hover .ig-overlay {
  opacity: 1;
  /* ホバーでInstagramアイコン表示 */
}

/* =========================================================================
   メニューカードのツールチップ（ホバーポップアップ）
   ========================================================================= */
.tooltip-card, .takeout-card {
  position: relative !important;
  overflow: visible !important; /* ポップアップを隠さないために追加 */
  cursor: pointer;
  transition: all 0.3s ease;
}

.tooltip-card:hover, .takeout-card:hover {
  background-color: var(--bg-light) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ツールチップの本体 */
.tooltip-card::after, .takeout-card::after {
  content: attr(data-description);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(90, 75, 60, 0.95);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  width: 260px;
  text-align: left;
  line-height: 1.6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  pointer-events: none;
}

/* ツールチップの小さな三角形 */
.tooltip-card::before, .takeout-card::before {
  content: "";
  position: absolute;
  bottom: 98%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border: 7px solid transparent;
  border-top-color: rgba(90, 75, 60, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  pointer-events: none;
}

.tooltip-card:hover::after,
.tooltip-card:hover::before,
.tooltip-card.is-active::after,
.tooltip-card.is-active::before,
.takeout-card:hover::after,
.takeout-card:hover::before,
.takeout-card.is-active::after,
.takeout-card.is-active::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .tooltip-card::after, .takeout-card::after {
    width: 220px;
  }
}

.takeout-card .menu-card-title {
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-size: 0.9rem;
  padding: 0 5px;
}

@media (max-width: 768px) {
  .takeout-card .menu-card-title {
    white-space: normal;
    letter-spacing: normal;
    font-size: 1rem !important;
  }
}
/* =========================================================================
   新設：楽しみ方ガイドページ用スタイル
   ========================================================================= */
.guide-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.guide-intro {
  text-align: center;
  margin-bottom: 50px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.guide-step-list {
  position: relative;
}

/* ステップ間の縦線 */
.guide-step-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  width: 2px;
  height: 100%;
  background-color: var(--color-secondary);
  z-index: 0;
}

.guide-step-item {
  position: relative;
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  z-index: 1;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.step-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  flex-grow: 1;
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

.step-img-box {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

/* 多言語表記用のスタイル */
.lang-en {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 5px;
  font-weight: normal;
  line-height: 1.4;
}

/* トップページの2枠用 */
.menu-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px; /* 少し幅を絞ってコンパクトに */
  margin-left: auto;
  margin-right: auto;
  gap: 20px; /* 余白を詰める */
}

@media (max-width: 600px) {
  .menu-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 15px; /* スマホではさらに詰める */
  }
}

.guide-card-img {
  height: 100px; /* さらに半分近くまで縮小 */
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.menu-card-title {
  margin: 10px 10px 2px !important; /* 余白を最小限に */
  font-size: 1rem !important;
}

.guide-card-img img {
  max-height: 100%;
  object-fit: contain;
}


/* =========================================================================
   共通モーダル（ポップアップ）スタイル
   ========================================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 450px;
  padding: 40px 30px 30px;
  border-radius: 20px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  color: #666;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.modal-title {
  color: var(--color-accent);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1.5px solid #eee;
  padding-bottom: 15px;
}

.modal-price {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
}

.modal-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}

/* タップ可能なカードのスタイル */
.menu-card.clickable {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.menu-card.clickable:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #fffdfb;
  border-color: var(--color-accent);
}

.menu-card.clickable:active {
  transform: translateY(-2px);
}

/* スマホ用スタイル調整（コースの楽しみ方タイトル等） */
@media (max-width: 768px) {
  .step-title {
    display: block !important;
    font-size: 1.05rem !important;
    line-height: 1.4;
    word-break: keep-all; /* 単語の途中での改行を防ぐ */
    overflow-wrap: break-word;
  }
  
  .step-title i {
    margin-right: 5px;
  }

  .lang-en {
    display: block !important;
    margin-top: 4px;
    margin-left: 0;
    font-size: 0.75rem; /* 英語を少し小さくして圧迫感を軽減 */
    color: #888;
    font-weight: normal;
    line-height: 1.5;
    font-style: italic;
  }

  .step-desc {
    font-size: 0.85rem; /* 本文も少し小さくして全体をコンパクトに */
    line-height: 1.6;
  }

  /* 番号とタイトルの距離を調整 */
  .step-content {
    padding-left: 10px;
  }
}
