/* 共通 */
:root {
  --red: #fc0000;
  --yellow: #ff3;
  --green: #090;
  --line: #ddd;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #e4e4e4 url("/images/v2/bg.jpg");
  color: #333;
  font: 14px/1.6 "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: #1558a0; }
.wrap { width: 100%; max-width: 970px; margin: 0 auto; padding: 0 15px; }

/* ヘッダー */
.bar { background: var(--red); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; }
.logo { flex: none; line-height: 0; }
.pop { min-width: 0; }
.home { flex: none; color: #222; font-weight: bold; text-decoration: none; }
.shop-nav { background: var(--yellow); border-bottom: 5px solid #000; padding: 6px 0; }
.shop-nav ul { display: flex; flex-wrap: wrap; }
.shop-nav a { display: block; padding: 4px 7px; color: #222; font-size: 13px; font-weight: bold; text-decoration: none; }
.shop-nav a::before { content: "▸"; color: var(--green); margin-right: 3px; }
.shop-nav a:hover,
.shop-nav a[aria-current] { background: var(--red); color: #fff; }

/* トップ：店舗一覧 */
main { padding-top: 20px; padding-bottom: 30px; }
.panel { min-width: 0; padding: 18px; background: #f4f4f4; border-radius: 4px; }
.list-title { margin: 0; color: var(--green); font-size: 25px; }
.lead { margin: 4px 0 14px; }
.shops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shops a { display: block; height: 100%; color: inherit; text-decoration: none; }
.shops img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; padding: 3px; background: #fff; border: 1px solid var(--line); }
.shops h2 { margin: 8px 0; color: var(--red); font-size: 16px; line-height: 1.3; }
.shops span { display: block; padding: 8px 10px; background: #fff; border: 1px solid var(--line); }
.shops a:hover span { background: var(--yellow); }

/* 店舗情報 */
.shop-title { margin: 12px 0 16px; font-size: 26px; line-height: 1.4; }
.shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shop h2 { margin: 0 0 10px; color: var(--green); font-size: 20px; }
.photo { display: block; margin-bottom: 14px; border: 3px solid #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 9px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { width: 92px; background: #fafafa; }
.map { display: block; width: 100%; background: #fff; }
iframe { display: block; width: 100%; height: 360px; border: 0; }
.button { display: block; margin-top: 12px; padding: 10px; background: var(--red); color: #fff; font-weight: bold; text-align: center; text-decoration: none; }
.back { margin: 24px 0 0; text-align: center; }

/* フッター */
footer { padding: 18px 0; background: #000; color: #fff; text-align: center; font-size: 12px; }
footer p { margin: 0 0 8px; }

/* スマートフォン */
@media (max-width: 767px) {
  .bar-inner { flex-wrap: wrap; padding-top: 6px; }
  .pop { order: 3; margin: 0 auto; }
  .shop-nav ul { display: contents; }
  .shop-nav .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 5px; }
  .shop-nav a { padding: 6px 2px; font-size: 12px; white-space: nowrap; }
  .panel { padding: 12px; }
  .list-title, .shop-title { font-size: 21px; }
  .shops { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .shops h2 { font-size: 13px; }
  .shop { grid-template-columns: minmax(0, 1fr); }
}
