/*=======================================
  取扱い医療機関 共通
=========================================*/

/* ── ページ全体 ── */
.shop__list-select {
  margin-bottom: 10px;
}
.shop__list-select h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* ── 静的データ（JS読み取り用・非表示） ── */
#static-shop-data {
  display: none;
}


/*=======================================
  取扱い医療機関 トップページ
=========================================*/

/* ── 検索ボックス全体 ── */
.shop__list-select .shop-select {
  margin: 0 70px;
}
.shop__list-select .shop-select .shop-select_wrap {
  padding: 50px 70px 30px 70px;
  border-radius: 0 0 15px 15px;
  border: 1px solid #727171;
}

/* ── 地方ブロックヘッダー ── */
.shop__list-select .shop-select .region-header {
  background: #727171;
  padding: 15px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 15px 15px 0 0;
}
.shop__list-select .shop-select .region-header span {
  color: #fff;
  font-size: 1.7rem;
  font-weight: bold;
}

/* ── 地方ボタン ── */
.shop__list-select .shop-select .region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}
.shop__list-select .shop-select .region-btn {
  padding: 12px 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.15s;
}
.shop__list-select .shop-select .region-btn:hover {
  background: #eeefef;
}
.shop__list-select .shop-select .region-btn.is-active {
  background: #fdeef1;
  color: #f19dae;
  border-color: #f19dae;
}

/* ── 都道府県ボタン（地方選択後に表示） ── */
.shop__list-select .shop-select .pref-btn-wrap {
  display: none;
  margin-bottom: 40px;
}
.shop__list-select .shop-select .pref-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop__list-select .shop-select .pref-btn {
  padding: 10px 18px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.shop__list-select .shop-select .pref-btn:hover {
  background: #eeefef;
}
.shop__list-select .shop-select .pref-btn.is-active {
  background: #fdeef1;
  border-color: #f19dae;
  color: #f19dae;
}

/* ── ドロップダウン＋検索ボタン ── */
.shop__list-select .shop-select .dropdown-search-wrap {
  margin-bottom: 30px;
}
.shop__list-select .shop-select .select-box-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.shop__list-select .shop-select .select-wrap {
  flex: 1;
  position: relative;
}
.shop__list-select .shop-select .select-wrap select {
  width: 100%;
  padding: 15px 32px 15px 20px;
  border: 1px solid #8c8c8c;
  border-radius: 5px;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  font-size: 1.5rem;
}
.shop__list-select .shop-select .select-wrap::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.0rem;
  color: #727171;
  pointer-events: none;
}
.shop__list-select .shop-select .search-btn {
  padding: 12px 20px;
  background: #727171;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  width: 180px;
  font-weight: bold;
}
.shop__list-select .shop-select .search-btn:hover {
  opacity: 0.8;
}

/* ── または区切り ── */
.shop__list-select .shop-select .or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 22px 0;
  color: #595757;
  font-size: 1.3rem;
}
.shop__list-select .shop-select .or-divider::before,
.shop__list-select .shop-select .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd;
}

/* ── 現在地ボタン ── */
.shop__list-select .shop-select .location-btn-pink {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: #f19dae;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.7rem;
  margin-bottom: 8px;
  box-sizing: border-box;
  font-weight: bold;
}
.shop__list-select .shop-select .location-btn-pink:hover {
  background: #e0737b;
}
.shop__list-select .shop-select .location-note-small {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 10px;
}

/* ── 注意書き ── */
.shop__list-select .shop-notice {
  background: #eeefef;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1.2rem;
  color: #555;
  text-align: center;
  line-height: 1.8;
  margin: 40px 80px;
}
.shop__list-select .shop-notice p {
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.shop__list-select .shop-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  margin-right: -8px;
}


/*=======================================
  取扱い医療機関 都道府県ページ
=========================================*/

/* ── ページヘッダー ── */
.city_section-head {
  margin-top: 30px;
}
.city_section-title {
  font-size: 1.9rem;
  font-weight: bold;
}
.city-select-label {
  margin-top: 15px;
  margin-bottom: -17px !important;
}

/* ── 市区町村ボタン ── */
.city-wrap {
  padding: 0.5rem 0 1rem;
  margin-top: 15px;
  margin-bottom: 10px;
}
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.city-btn {
  display: inline-block;
  padding: 7px 15px;
  font-size: 14px;
  border: 0.5px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.city-btn:hover {
  background: #eeefef;
}
.city-btn.is-active {
  background: #fdeef1;
  border-color: #f19dae;
  color: #f19dae;
}

/* ── 店舗一覧（JS出力エリア） ── */
#shop-list-inner {
  padding: 20px 0 50px 0;
}

/* ── 見出し（医療機関／一般店舗） ── */
.result-heading-clinic {
  padding: 8px;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 2px;
  background: #fdeeed;
  margin-top: 20px;
  margin-bottom: 15px;
}
.result-heading-store {
  padding: 8px;
  text-align: center;
  font-size: 1.4rem;
  border-radius: 2px;
  background: #f4f4f4;
  margin-top: 20px;
  margin-bottom: 15px;
}

/* ── 店舗カード ── */
.shop {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fff;
}
.shop-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.shop-info {
  flex: 1;
}
#shop-list-inner .shop h3 {
  color: #ee858c;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 8px;
}
#shop-list-inner .shop address {
  font-style: normal;
  line-height: 1.8;
}
#shop-list-inner .shop address a {
  word-break: break-all;
}
#shop-list-inner .shop address img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 3px;
}

/* ── 地図リンクボタン ── */
.address_map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 6px 15px;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s;
  font-size: 12px;
}
.address_map img {
  width: 30%;
  margin-bottom: 2px;
}
.address_map:hover {
  opacity: 0.8;
}

/* ── 0件時の表示 ── */
.no-shop-box {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
}
.no-shop-icon {
  margin-bottom: 5px;
  color: #ccc;
  font-size: 36px;
}
.no-shop-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.no-shop-btn {
  display: block;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 14px;
  text-decoration: none;
  background: #f5f5f5;
}
.no-shop-btn:last-child {
  margin-bottom: 0;
}
.no-shop-btn:hover {
  opacity: 0.8;
}

/* ── トップへ戻るボタン ── */
.shop__list .btn-continue {
  font-size: 15px;
  height: 55px;
  padding-top: 14px;
}


/*=======================================
  取扱い医療機関 マップページ
=========================================*/

/* ── ページヘッダー ── */
.map_section .location_section {
  margin-bottom: 40px;
  text-align: center;
}
.map_section .location_section-title {
  font-size: 2rem;
  font-weight: bold;
}
.map_section p {
  font-size: 16px;
  margin-top: 15px;
}

/* ── 現在地取得ボタン ── */
.map_section .location_loc-row {
  margin-top: 10px;
}
.map_section .location_btn {
  padding: 10px 25px;
  border: 1px solid #8c8c8c;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 16px;
}
.map_section .location_btn::after {
  content: '▶';
  margin-left: 15px;
  display: inline-block;
  transform: scaleY(0.8);
}

/* ── Google マップ ── */
#map {
  width: 100%;
  height: 700px;
  margin-bottom: 50px;
}

/* ── 吹き出し ── */
.info-box {
  min-width: 200px;
  font-size: 14px;
}
.info-header {
  margin-bottom: 12px;
}
.info-title {
  font-weight: bold;
  font-size: 17px;
  margin-right: 8px;
  color: #f091a5;
  text-decoration: none;
}
.info-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.btn-small {
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}
.btn-call {
  background: #f3a8b4;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.btn-route {
  background: #b5b5b6;
  color: #fff;
  font-size: 16px;
}
.tel {
  font-size: 16px;
}
.gm-style-iw-d {
  margin-bottom: 7px;
}