/* ============================
   全体
============================ */
body {
  margin: 0;
  background: #111;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================
   HEADER（PC / スマホ共通）
============================ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-title {
  font-size: 22px;
  font-weight: bold;
}

/* PCナビ */
.pc-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav li a {
  position: relative;
  padding: 4px 0;
  transition: 0.3s;
}

.pc-nav li a:hover {
  transform: translateY(-3px);
}

.pc-nav li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
}

.pc-nav li a:hover::after {
  width: 100%;
}

/* ハンバーガー */
.hamburger {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 9999;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.4s;
}

/* ✖ 変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  padding-top: 80px;
  transition: 0.4s ease;
  z-index: 9000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  padding: 0 20px;
}

.mobile-menu li {
  margin-bottom: 25px;
}

.mobile-menu a {
  font-size: 22px;
  display: inline-block;
  padding: 6px 0;
  transition: 0.3s;
}

.mobile-menu a:active {
  transform: translateX(8px);
  opacity: 0.8;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* ============================
   並び替えメニュー
============================ */
.sort-box {
  background: #000;
  padding: 15px 20px;
  position: sticky;
  top: 60px;
  z-index: 900;
}

.sort-toggle {
  font-size: 18px;
  cursor: pointer;
}

.sort-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: none;
  background: #222;
  border-radius: 8px;
}

.sort-list li {
  padding: 12px 15px;
  border-bottom: 1px solid #333;
  cursor: pointer;
}

.sort-list li:last-child {
  border-bottom: none;
}

.sort-list li:hover {
  background: #333;
}

/* ============================
   カードレイアウト（カテゴリ・業態）
============================ */
.section-title {
  text-align: center;
  margin-top: 40px;
  font-size: 24px;
  font-weight: bold;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 30px 20px;
}

/* カード本体（画像＋テキスト） */
.card {
  width: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: #fff;
}

.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
}

/* 画像 */
.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* 本文ラッパー */
.card-body {
  padding: 12px 14px 14px;
}

/* 店名 */
.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

/* キャッチコピー */
.card-catch {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* 予算 */
.card-budget {
  font-size: 13px;
  color: #ddd;
  margin-bottom: 6px;
}

/* 星評価（Google風） */
.card-rating {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fbbc04;
}

.card-rating .stars {
  letter-spacing: 1px;
  font-size: 15px;
}

.card-rating .rating-num {
  color: #fff;
  font-size: 13px;
}

/* ============================
   店舗単体ページ（shop.html）
============================ */

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

/* メイン画像 */
.shop-main-image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  margin-top: 20px;
}

/* 店舗詳細メニュー（PC 3 カラム） */
.shop-menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 30px 20px;
}

.shop-menu-grid a {
  width: 300px;
  padding: 18px;
  background: #222;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
  transition: 0.3s;
}

.shop-menu-grid a:hover {
  background: #333;
  transform: translateY(-4px);
}

/* サイト特典 */
.site-benefit {
  background: #222;
  padding: 25px;
  margin: 20px;
  border-radius: 10px;
  text-align: center;
}

.site-benefit h2 {
  margin-bottom: 10px;
}

/* 店舗詳細（縦並び） */
.shop-details {
  padding: 20px;
}

.shop-details section {
  margin-bottom: 40px;
}

.shop-details h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price-bar {
  margin: 8px 0 4px;
}

.price-bar-bg {
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 3px;
  position: relative;
}

.price-bar-range {
  position: absolute;
  top: 0;
  height: 6px;
  background: #fbbc04; /* Googleっぽい黄色 */
  border-radius: 3px;
}


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

  .pc-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }

  .card-image {
    height: 160px;
  }

  .shop-menu-grid {
    flex-direction: column;
    align-items: center;
  }

  .shop-menu-grid a {
    width: 90%;
    max-width: 400px;
  }
}


