body{
    overflow-x: hidden;
}
/* ============================
   店舗名
============================ */
.shop-title {
  text-align: center;
  font-size: 28px;
  margin-top: 30px;
  font-weight: bold;
}

/* ============================
   メイン画像
============================ */
.shop-main-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 260px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 6px;
  overflow: hidden;
}


/* ============================
   タブメニュー（食べログ風）
============================ */
.tab-menu {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 25px;
  border-bottom: 2px solid #333;
}

.tab {
  padding: 12px 25px;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
  border-bottom: 3px solid transparent;
  transition: 0.2s;
}

.tab:hover {
  color: #fff;
}

.tab.active {
  color: #fff;
  border-bottom: 3px solid #fbbc04;
}

/* ============================
   タブコンテンツ
============================ */
.tab-content {
  padding: 25px 20px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================
   詳細タブ
============================ */
.detail-item {
  background: #1a1a1a;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.detail-item strong {
  font-size: 16px;
  color: #fbbc04;
}

.detail-item p {
  margin: 6px 0 0;
  line-height: 1.6;
}

/* Map */
.map-wrap iframe {
  border-radius: 8px;
  margin-top: 10px;
}

/* ============================
   メニュータブ
============================ */
.menu-text {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.7;
  background: #1a1a1a;
  padding: 18px;
  border-radius: 8px;
}

/* ============================
   スタッフ紹介
============================ */
#staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.staff-card {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.staff-card:hover {
  background: #222;
  transform: translateY(-4px);
}

.staff-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.staff-name {
  margin-top: 10px;
  font-size: 16px;
}

/* ============================
   写真ギャラリー
============================ */
#photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.photo-thumb:hover {
  opacity: 0.8;
  transform: scale(1.03);
}

/* ============================
   モーダル
============================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

#photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.card-title,
.card-catch,
.detail-item p,
.staff-name {
  overflow-wrap: break-word;
  word-break: break-word;
}

.detail-item a{
    color: #fbbc04;
}

.detail-item a:hover{
    background-color: #666;
}


/* ============================
   スマホ対応
============================ */
@media (max-width: 768px) {

  /* タブ */
  .tab {
    padding: 10px 15px;
    font-size: 16px;
  }

  /* スタッフ：2列 */
  #staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 写真：3列 */
  #photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-thumb {
    height: 100px;
  }
}

/* ============================
   メニュー切替バナー
============================ */
.menu-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.menu-btn {
  padding: 10px 20px;
  background: #222;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
  color: #ccc;
  border: 1px solid #333;
}

.menu-btn:hover {
  background: #333;
}

.menu-btn.active {
  background: #fbbc04;
  color: #000;
  border-color: #fbbc04;
}


/* ============================
   トップ広告・一覧ページ 共通カード
============================ */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.shop-card {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: 0.25s ease;
}

.shop-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.shop-info {
  padding: 12px 14px;
  text-align: center;
}

.shop-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.shop-info p {
  font-size: 14px;
  color: #666;
}

.shop-card:hover {
  transform: translateY(-4px);
  border-color: #bbb;
  background: #fafafa;
}

@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   スタッフモーダル
============================ */
.staff-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.staff-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #111;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
}

.staff-modal-content img {
  width: 260px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.staff-modal-name {
  font-size: 20px;
  color: #fff;
}

.staff-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.page-title{
  text-align: center;
}
.coupon-box {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  color: #fff;
}

.coupon-box button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ff4081;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.coupon-box button:disabled {
  background: #555;
  cursor: default;
  opacity: 0.6;
}

.coupon-link {
  display: inline-block;
  margin-top: 8px;
  color: #4fc3f7;
  text-decoration: underline;
  font-weight: bold;
}

.coupon-list {
  max-width: 800px;
  margin: 20px auto;
}

.coupon-item {
  background: #222;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #fff;
}

.coupon-item h2 {
  margin-bottom: 10px;
}

.coupon-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ff4081;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.coupon-btn:disabled {
  background: #555;
  cursor: default;
  opacity: 0.6;
}

.coupon-btn.disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.6;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: #fff;
}

.gyo-list button,
.alpha-list button {
  margin: 5px;
  padding: 10px 15px;
  background: #444;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 24px;
}

.search-banner{
  text-align: center;
  align-items: center;
  justify-content: center;
}
