/* ============================================================
   Shop Detail Page  ― 店舗詳細ページ専用
   ============================================================ */

#shop-detail {
  background: var(--color-white);
}

/* ---- 店舗ヘッダー ---- */
.shop-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px);
  background: var(--color-blue);
  border-radius: 8px;
}

.shop-detail-name {
  font-family: var(--font-ja);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.3;
}

.shop-detail-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-white);
  background: transparent;
  border: 1px solid var(--color-white);
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---- 情報 + 地図レイアウト ---- */
.shop-detail-body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---- 情報テーブル ---- */
.shop-info-table {
  border-top: 2px solid var(--color-blue);
}

.shop-info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 18, 181, 0.1);
  align-items: start;
}

.shop-info-row dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.12em;
  padding-top: 3px;
  white-space: nowrap;
}

.shop-info-row dd {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.8;
  color: var(--color-dark);
}

.shop-info-row dd a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  transition: opacity 0.2s;
}

.shop-info-row dd a:hover { opacity: 0.7; }

.shop-info-row dd small {
  font-size: 11px;
  color: rgba(35, 24, 21, 0.55);
  letter-spacing: 0.04em;
}

/* Googleマップリンク */
.shop-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-blue) !important;
  letter-spacing: 0.06em;
  margin-top: 6px;
  transition: opacity 0.2s;
}

.shop-map-link:hover { opacity: 0.7; }

/* ---- Googleマップ埋め込み ---- */
.shop-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(0, 18, 181, 0.15);
  position: sticky;
  top: 130px;
}

.shop-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- フォトギャラリー ---- */
.shop-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.shop-gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-paleblue);
}

.shop-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-gallery-item:last-child:nth-child(3n - 2) {
  grid-column: 2;
}

/* ---- 一覧へ戻るボタン ---- */
.shop-detail-back {
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .shop-detail-body {
    grid-template-columns: 1fr;
  }

  .shop-map {
    position: static;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .shop-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-info-row {
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .shop-gallery {
    grid-template-columns: 1fr;
  }

  .shop-detail-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shop-info-row dt {
    padding-top: 0;
  }
}
