@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap");
/* ==========================================================================
   店舗一覧：グローバルナビ・タブメニュー追従
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body,
#wraper,
#main_content,
#content,
#main_content > .wrap {
  overflow: visible !important;
}

.sticky-tab-wrapper {
  position: sticky;
  top: 80px;
  z-index: 9;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 40px;
}
@media screen and (max-width: 700px) {
  .sticky-tab-wrapper {
    top: 60px;
    padding: 10px 0;
    margin-bottom: 20px;
  }
}

.tabmenu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1100px;
  overflow: visible;
}
@media screen and (max-width: 700px) {
  .tabmenu {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    gap: 8px;
  }
  .tabmenu::-webkit-scrollbar {
    display: none;
  }
}
.tabmenu li {
  float: none !important;
  width: auto !important;
  background: #f8f9fa !important;
  color: #666 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  line-height: 1.2 !important;
  white-space: nowrap;
  margin-bottom: 0 !important;
  text-align: center;
}
@media screen and (max-width: 700px) {
  .tabmenu li {
    padding: 8px 12px !important;
  }
}
.tabmenu li.current, .tabmenu li:hover {
  background: #ffffff !important;
  border: 1px solid #004680 !important;
  color: #004680 !important;
}
.tabmenu li {
  /* 不要になっていた nth-child の指定を削除しました */
}

.access-grid-container .card-layout-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
@media screen and (max-width: 700px) {
  .access-grid-container .card-layout-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.area-section {
  margin-bottom: 120px;
  scroll-margin-top: 150px;
}
@media screen and (max-width: 700px) {
  .area-section {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
  }
}

.shop-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 24px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  /* ▼ Gridレイアウトによる2段構成（左画像・右テキスト、下ボタン） ▼ */
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 20px 1fr;
  grid-template-columns: 40% 1fr;
  -ms-grid-rows: auto 20px auto;
      grid-template-areas: "image info" "actions actions";
  gap: 20px; /* 画像・テキスト・ボタン間の余白を一括指定 */
  /* ▼ スマホ時のレイアウト設定 ▼ */
}
@media screen and (max-width: 700px) {
  .shop-card {
    padding: 16px; /* スマホ時はカード内側の余白を少し狭める */
    -ms-grid-columns: 100px 12px 1fr;
    grid-template-columns: 100px 1fr; /* 左の画像を100px固定、残りをテキスト領域に */
    -ms-grid-rows: auto 12px auto;
        grid-template-areas: "image info" "actions actions";
    gap: 12px; /* スマホ時は要素間の隙間も少し狭める */
  }
}
.shop-card:hover {
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.shop-card__image-wrapper {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: image;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f0f0;
}
.shop-card__image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 画質低下の原因となるため image-rendering: crisp-edges は削除しました */
}
.shop-card__info {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: info;
}
.shop-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.shop-card__name a {
  color: #333;
  text-decoration: none;
}
.shop-card__name a:hover {
  color: #004680;
  text-decoration: underline;
}
.shop-card__address {
  position: relative;
  margin-bottom: 8px;
}
.shop-card__tel {
  /* 削除: display: flex; と align-items: center; */
  line-height: 1.6; /* 縦並びになった際の上下の隙間を見やすく調整 */
}
.shop-card__tel .badge_01 {
  display: inline-block; /* 追加: バッジの形状を保つため */
  vertical-align: middle; /* 追加: テキストとバッジの縦位置を揃えるため */
  margin-top: -2px; /* 縦位置の微調整（必要に応じて変更してください） */
  background: #004680;
  color: #ffffff;
  padding: 1px 6px;
  margin-right: 6px;
  font-size: 11px;
  border-radius: 2px;
  border: none;
}
.shop-card__actions {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: actions;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 700px){
  .shop-card__image-wrapper {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .shop-card__info {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .shop-card__actions {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
  }
}
.shop-card__actions .btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 700px) {
  .shop-card__actions .btn {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1; /* スマホ時は2つのボタンを横幅いっぱいに均等配置 */
  }
}
.shop-card__actions .btn--map {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #d1d5db;
}
.shop-card__actions .btn--map:hover {
  background: #e5e7eb;
  color: #333;
}
.shop-card__actions .btn--detail {
  background: transparent;
  color: #004680;
  border: 1px solid #004680;
}
.shop-card__actions .btn--detail:hover {
  background: #004680;
  color: #ffffff;
}