@charset "UTF-8";

/* ================================================
   販売店舗一覧ページ用カスタムCSS
   Bootstrap3ベース。高さ揃え＋折り返し＋視認性調整
   ================================================ */

/* 背景と基本文字色 */
body {
  background: #ffffff; /* 白背景 */
  color: #333;
  font-family: "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* 注意文ボックス（白背景サイト向け） */
.notice-box {
  background: #fff8e1;
  border: 1px solid #e0c97f;
  border-radius: 6px;
  padding: 14px 18px;
  color: #6b5600;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  margin: 20px 0 30px;
}

/* 都道府県リンクナビ */
.pref-nav {
  text-align: center;
  margin: 30px 0;
}
.pref-nav a {
  display: inline-block;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 15px;
  margin: 5px;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}
.pref-nav a:hover {
  background: #428bca;
  color: #fff;
  border-color: #357ebd;
}

/* 都道府県タイトル */
.pref-title {
  margin: 40px 0 20px;
  border-left: 6px solid #428bca;
  padding-left: 10px;
  font-size: 1.6em;
  font-weight: bold;
  color: #333;
}

/* ▼ 高さ揃えのためのFlex化 */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* 各カードの外側に十分な余白を確保 */
.row > [class*='col-'] {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  flex: 0 0 33.333%; /* PC：3列 */
  max-width: 33.333%;
}

/* row同士の間隔（都道府県ブロック間など） */
.row + .row {
  margin-top: 10px;
}





/* カードの幅を100%に固定して列幅に合わせる */
.store-card {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* タブレット（768〜991px）：2列 */
@media (max-width: 991px) {
  .row > [class*='col-'] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* スマホ（〜767px）：1列 */
@media (max-width: 767px) {
  .row > [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.store-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 店舗名 */
.store-name {
  font-size: 1.3em;
  color: #337ab7;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* 住所（きれいに折り返し） */
.store-address {
  word-break: break-all;
  white-space: normal;
  line-height: 1.6;
  color: #555;
}

/* 営業時間・販売予定日 */
.store-hours, .store-date {
  font-size: 0.95em;
  color: #555;
}
.store-date {
  margin-top: 6px;
  font-weight: bold;
  color: #d9534f;
}

/* Google Mapリンク */
.map-link {
  margin-top: auto;
  text-align: left;
}
.map-link .btn {
  margin-top: 8px;
}

/* ページ上部へ戻るリンク */
.back-to-top {
  text-align: right;
  margin-top: 10px;
}
.back-to-top a {
  font-size: 0.9em;
  color: #428bca;
}
.back-to-top a:hover {
  text-decoration: underline;
}