/*
Theme Name: store-child
Template: rehub_tcd099   ←親テーマのディレクトリ名（正確に！）
*/

/* archive-store.css
   ─── archive-store_review.php 用スタイルのみ ─── */

/*-----------------------------------
  1. 店舗リスト全体
-----------------------------------*/
.store-archive .store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.store-archive .store-list-item {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/*-----------------------------------
  2. 店舗アイテムカード
-----------------------------------*/
.store-archive .item-inner {
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.store-archive .item-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 2-1) 各セクションを必ずブロック幅に */
.store-archive .desc,
.store-archive .cost-table,
.store-archive .offer-list,
.store-archive .actions {
  flex-basis: 100%;
}



/* 各画像アイテム */
.service-image-slider .service-thumb {
  flex: 0 0 auto;             /* 幅を固定せず、内容に合わせる */
  scroll-snap-align: start;    /* 横スクロールのスナップ */
}

/* 画像そのもの */
.service-image-slider .service-thumb img {
  display: block;
  width: 800px;       /* PC向けの基本サイズ */
  height: 600px;      /* PC向けの基本高さ */
  object-fit: cover;
  border-radius: 4px;
}




/*-----------------------------------
  4. 詳細エリア
-----------------------------------*/
.store-archive .details {
  padding: 5px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/*-----------------------------------
  5. 店舗名
-----------------------------------*/
.store-archive .store-name {
  font-size: 20px;
  font-weight: bold;
  color: #0073aa;
  margin-bottom: 5px;
  background: #f5f5f5;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

/*-----------------------------------
  6. 営業ステータスバッジ
-----------------------------------*/
.store-archive .store-status {
  font-size: 13px;
  color: #fff;
  background: #28a745;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}
.store-archive .store-status.closed {
  background: #888;
}

/*-----------------------------------
  7. ジャンル×エリアタグ
-----------------------------------*/
.store-archive .taxo {
  font-size: 13px;
  color: #0073aa;
  margin-bottom: 10px;
  background: #e0f3ff;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-right: 6px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

/*-----------------------------------
  8. メタ情報リスト
-----------------------------------*/
.store-archive .meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: #555;
}
.store-archive .meta-list li {
  margin-bottom: 5px;
}

/*-----------------------------------
  9. 料金テーブル
-----------------------------------*/
.store-archive .cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.store-archive .cost-table th,
.store-archive .cost-table td {
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 13px;
}
.store-archive .cost-table th {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
  width: 40%;
}

/*-----------------------------------
 10. サービス一覧リスト
-----------------------------------*/
.store-archive .offer-list {
  list-style: disc inside;
  margin: 12px 0;
  padding: 0;
  font-size: 13px;
}
.store-archive .offer-list li {
  margin-bottom: 4px;
}




/*-----------------------------------
 12. ページネーション
-----------------------------------*/
.store-archive .pagination {
  margin: 24px 0;
  text-align: center;
}

/*-----------------------------------
 13. 検索結果カウントセクション
-----------------------------------*/
.count-section {
  background: #eef6fc;
  border-left: 4px solid #0073aa;
  border-radius: 4px;
  padding: 14px 20px;
  margin: 20px 0;
  text-align: center;
}
.count-section p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #0073aa;
}
@media (max-width: 767px) {
  .count-section {
    padding: 8px 12px;
  }
  .count-section p {
    font-size: 14px;
  }
}

/*-----------------------------------
 11. アクションボタン（詳細・電話）
-----------------------------------*/
/* 1. アクションボタン全体の共通スタイル */
.store-archive .btn-call,
.store-archive .btn-detail {
  display: inline-block;
  width: 140px;           /* 横幅固定 */
  height: auto;           /* 高さ固定 */
  line-height: 50px;      /* テキストを縦中央に揃える */
  padding: 0 5px;        /* 左右余白 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 6px;
  /* font-size: 14px; */
  font-weight: bold;
  text-align: center;     /* テキストを横中央に揃える */
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

/* 2. btn-call 固有のカラー設定 */
.store-archive .btn-call {
  background-color: #fff !important;
  color: #000000 !important;
  border: none;
  background-image: none !important;
}

/* 4. btn-detail 固有のカラー設定 */
.store-archive .btn-detail {
  background-color: #fff !important;
  color: #000000 !important;
  border: none;
  background-image: none !important;
}

/* 6. アクションボタン全体レイアウト */
.store-archive .actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}