@charset "UTF-8";

/* ==========================================
   Base & Reset
   ========================================== */
:root {
  --primary-color: #0288d1;
  --bg-indoor: #e53935;
  --bg-outdoor: #1e88e5;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e0e0e0;
  --table-header-bg: #f2f5f8;
  --bg-main: #f8f9fa;
}

body {
  margin: 0;
  padding: 20px 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* 表示切り替えルール */
.pc { display: block; }
.sp { display: none !important; }

/* ==========================================
   Map Container & Pin Styling
   ========================================== */
.map-box {
  position: relative !important;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background-color: #fff;
}

.map-box img {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  width: 24px;
  height: 24px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 50%;
  position: absolute !important;
  background: linear-gradient(135deg, #007aff, #0056b3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.map-pin a {
  color: #ffffff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PC用 ピン位置指定 (%) */
.pin-1  { top: 18%; left: 68%; }
.pin-2  { top: 38%; left: 60%; }
.pin-3  { top: 38%; left: 64%; }
.pin-4  { top: 32%; left: 34%; }
.pin-5  { top: 38%; left: 32%; }
.pin-6  { top: 46%; left: 42%; }
.pin-7  { top: 52%; left: 20%; }
.pin-8  { top: 50%; left: 38%; }
.pin-9  { top: 72%; left: 52%; }
.pin-10 { top: 72%; left: 44%; }
.pin-11 { top: 80%; left: 31%; }
.pin-12 { top: 90%; left: 54%; }
.pin-13 { top: 84%; left: 52%; }
.pin-14 { top: 80%; left: 66%; }
.pin-15 { top: 80%; left: 70%; }
.pin-16 { top: 30%; left: 64%; }
.pin-17 { top: 22%; left: 26%; }
.pin-18 { top: 18%; left: 62%; }
.pin-19 { top: 50%; left: 54%; }
.pin-20 { top: 90%; left: 42%; }
.pin-21 { top: 26%; left: 29%; }
.pin-22 { top: 30%; left: 28%; }

/* ==========================================
   Table & Badges
   ========================================== */
.tobacco_style_pc { width: 100%; overflow-x: auto; margin: 30px 0; }
.custom-table { width: 100%; border-collapse: collapse; background: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); margin-bottom: 30px; }
.custom-table th, .custom-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
.custom-table th { background-color: var(--table-header-bg); font-weight: 600; color: #444; }
.custom-table tr:hover { background-color: #f1f5f9; }
.custom-table a { color: var(--primary-color); text-decoration: none; }

.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; color: #ffffff; }
.badge-indoor { background-color: var(--bg-indoor); }
.badge-outdoor { background-color: var(--bg-outdoor); }
.section-divider { border: 0; height: 1px; background: #ddd; margin: 40px 0; }

.tobacco_style_sp { display: none; }

/* ==========================================
   Responsive (Mobile View)
   ========================================== */
@media only screen and (max-width: 640px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
  .tobacco_style_pc { display: none; }
  .tobacco_style_sp { display: block; text-align: left; }

  /* モバイル時ピン位置 (px) */
  .pin-1  { top: 18%; left: 68%; }
  .pin-2  { top: 38%; left: 60%; }
  .pin-3  { top: 38%; left: 64%; }
  .pin-4  { top: 32%; left: 34%; }
  .pin-5  { top: 38%; left: 32%; }
  .pin-6  { top: 46%; left: 42%; }
  .pin-7  { top: 52%; left: 20%; }
  .pin-8  { top: 50%; left: 38%; }
  .pin-9  { top: 72%; left: 52%; }
  .pin-10 { top: 72%; left: 44%; }
  .pin-11 { top: 80%; left: 31%; }
  .pin-12 { top: 90%; left: 54%; }
  .pin-13 { top: 84%; left: 52%; }
  .pin-14 { top: 80%; left: 66%; }
  .pin-15 { top: 80%; left: 74%; }
  .pin-16 { top: 30%; left: 64%; }
  .pin-17 { top: 22%; left: 26%; }
  .pin-18 { top: 18%; left: 62%; }
  .pin-19 { top: 50%; left: 54%; }
  .pin-20 { top: 90%; left: 42%; }
  .pin-21 { top: 26%; left: 31%; }
  .pin-22 { top: 30%; left: 28%; }

  .sp-card-list { list-style: none; padding: 0; margin: 0; }
  .sp-card { background: #ffffff; border-radius: 8px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
  .sp-card-title { font-size: 1rem; font-weight: bold; margin-bottom: 6px; }
  .sp-card-title a { color: var(--primary-color); text-decoration: none; }
  .sp-card-desc { font-size: 0.88rem; color: #555; margin: 4px 0; }
  .sp-card-meta { margin-top: 8px; font-size: 0.85rem; }
}

footer { margin-top: 30px; padding: 20px 0; }
footer a { color: var(--primary-color); text-decoration: none; }
