/**
 * 2025/11/03 Block9 Style：都道府県別アコーディオン表示
 * 目的：
 *   - bambie.co.jpのFAQデザインに準拠した見た目で都道府県と施設を表示
 */

#nearest-prefecture-container {
  margin: 2em 0;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.prefecture-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.prefecture-header {
  background: #fff8e1;
  padding: 14px 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-bottom: 1px solid #f1e9d0;
  position: relative;
}

.prefecture-header::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}

.prefecture-header.active::after {
  content: "−";
}

.prefecture-body {
  background: #fffdf7;
  padding: 10px 18px;
}

.facility-row {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  line-height: 1.5;
}

.facility-name {
  font-weight: 600;
  color: #333;
}

.facility-address {
  color: #666;
  font-size: 0.9em;
}

.facility-distance {
  display: inline-block;
  color: #999;
  font-size: 0.85em;
  margin-top: 2px;
}

/* =========================================
 * 2025/11/03 iOS誤動作対策追加
 * 目的：
 *   - iPhone / iPad Safari・Chromeが都道府県名を住所として自動リンク化し、
 *     Googleマップ起動を誘発する問題をCSSで無効化する
 * 注意：
 *   - 他機能への影響を防ぐため、prefecture-header内のみ限定
 * ========================================= */
.prefecture-header a {
  pointer-events: none !important;
  text-decoration: none !important;
  color: inherit !important;
}
.prefecture-header {
  -webkit-touch-callout: none;
}

/* =========================================
 * 2025/11/03 キャンペーン実施中ラベル装飾
 * 目的：
 *   - キャンペーン期間中の施設に赤字・太字・点滅の強調表示を付与
 * ========================================= */
.campaign-active {
  display: block;
  margin-top: 2px;
  color: #dc2626;          /* 赤色 */
  font-weight: 700;        /* 太字 */
  font-size: 0.95em;
  animation: atr-blink 1s step-start infinite;
}

@keyframes atr-blink {
  50% {
    opacity: 0;
  }
}