/* 店内ジオラマ（店舗案内から） — 左メニュー無し・横いっぱい */
.main.main--diorama {
  float: none !important;
  width: 100% !important;
  max-width: 1000px !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 4px 8px 8px;
}
.main.main--diorama .site-bc {
  margin: 0 0 6px 0;
  padding: 4px 0;
}
.main.main--diorama .svc-page.svc-page--wide.diorama-page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 8px 4px 8px;
}
.diorama-page {
  --nav-blue: #1f4f9a;
  --nav-blue-deep: #173d7a;
  --accent: #f07812;
  --accent-price: #c85a10;
  --text: #1a2333;
  --muted: #555;
  --line: #c5d0e0;
  --line-soft: #e5e9f0;
  --hero-bg: #f7f9fc;
  --radius-md: 8px;
  font-size: 14px;
  color: var(--text);
}
.diorama-page .sp-title {
  margin: 0 0 4px 0 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
}
.diorama-page .diorama-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 10px 0;
}
.diorama-page .diorama-head .sp-intro {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  flex: 1 1 280px;
}
.diorama-page .diorama-head .diorama-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.diorama-page .diorama-shell {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(40, 60, 100, 0.12);
}
.diorama-page .diorama-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: var(--nav-blue);
  color: #fff;
}
.diorama-page .diorama-bar .brand {
  font-weight: 900;
  font-size: 16px;
}
.diorama-page .diorama-bar .brand em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #ffd4a8;
  margin-left: 8px;
}
.diorama-page .diorama-cart {
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.diorama-page .status-bar {
  display: none;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 7px 14px;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}
body.is-debug .diorama-page .status-bar { display: flex; }
.diorama-page .status-bar strong { color: var(--nav-blue-deep); }
.diorama-page .diorama-main {
  display: grid;
  /* 一覧を狭くして店内を優先表示 */
  grid-template-columns: minmax(0, 1fr) 240px;
  min-height: 0;
}
@media (max-width: 900px) {
  .diorama-page .diorama-main { grid-template-columns: 1fr; }
  .diorama-page .sidebar {
    border-left: none !important;
    border-top: 1px solid var(--line-soft);
    max-height: 320px;
  }
}
.diorama-page .scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #c5d3e6;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.diorama-page .stage {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  line-height: 0;
}
.diorama-page canvas {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  cursor: default;
  touch-action: manipulation;
}
.diorama-page .welcome {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  max-width: 250px;
  padding: 10px 32px 10px 12px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 2px 10px rgba(40,60,100,0.1);
}
.diorama-page .welcome.is-hidden { display: none; }
.diorama-page .welcome b {
  color: var(--nav-blue);
  display: block;
  margin-bottom: 4px;
}
.diorama-page .welcome-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: #5a6478;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
.diorama-page .hotspot {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -100%);
  background: var(--nav-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(23,61,122,0.35);
  white-space: nowrap;
}
.diorama-page .hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--nav-blue);
}
.diorama-page .hotspot:hover,
.diorama-page .hotspot.active { background: var(--nav-blue-deep); }
.diorama-page .bubble {
  position: absolute;
  z-index: 6;
  max-width: 210px;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid var(--nav-blue);
  border-radius: var(--radius-md);
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
  pointer-events: none;
  transform: translate(-50%, -100%);
  display: none;
}
.diorama-page .bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--nav-blue);
}
.diorama-page .bubble .who {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--nav-blue);
  margin-bottom: 2px;
}
.diorama-page .bubble.on { display: block; }
.diorama-page #bubbleCust { border-color: var(--accent); }
.diorama-page #bubbleCust::after { border-top-color: var(--accent); }
.diorama-page #bubbleCust .who { color: var(--accent-price); }
.diorama-page .sidebar {
  border-left: 1px solid var(--line-soft);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.diorama-page .sidebar-head {
  position: relative;
  padding: 12px 36px 12px 12px;
  background: var(--accent);
  color: #fff;
}
.diorama-page .sidebar-head h2 {
  margin: 0;
  font-size: 15px;
  color: #fff;
}
.diorama-page .sidebar-head .meta {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  margin-top: 3px;
}
.diorama-page .sidebar-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}
.diorama-page .sidebar-body {
  padding: 10px;
  overflow: auto;
  flex: 1;
  max-height: 560px;
}
.diorama-page .empty-hint {
  color: var(--muted);
  font-size: 12px;
  padding: 16px 6px;
}
.diorama-page .panel-tools {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.diorama-page .panel-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.diorama-page .prod {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 8px;
  background: #fff;
}
.diorama-page .prod:hover {
  border-color: var(--nav-blue);
  background: #f8fbff;
  transition: border-color 0.15s, background 0.15s;
}
.diorama-page .prod .thumb {
  width: 56px;
  height: 44px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #e8eef6, #cfd9e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--nav-blue);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}
.diorama-page .prod .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diorama-page .prod .name {
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
}
.diorama-page .prod .name:hover {
  color: var(--nav-blue);
  text-decoration: underline;
}
.diorama-page .prod-spec-list {
  margin: 4px 0 0;
  padding: 0 0 0 14px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}
.diorama-page .prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.diorama-page .detail-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-md);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
  flex-shrink: 0;
}
.diorama-page .detail-btn:hover {
  background: #c85a10;
}
.diorama-page .prod .price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-price);
}
.diorama-page .cart-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.diorama-page .cart-btn.wide {
  width: 100%;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
}
.diorama-page .linkish {
  background: none;
  border: none;
  color: var(--nav-blue);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.diorama-page .linkish.danger { color: #a33; }
.diorama-page .detail-thumb {
  height: 110px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e8eef6, #cfd9e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-blue);
  font-weight: 700;
  font-size: 12px;
  margin: 10px 0;
}
.diorama-page .detail-name { font-size: 15px; font-weight: 800; }
.diorama-page .detail-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-price);
  margin-top: 8px;
}
.diorama-page .detail-blurb {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 10px 0 0;
}
.diorama-page .cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  margin: 8px 0;
}
.diorama-page .cart-row .name { font-size: 12px; font-weight: 700; }
.diorama-page .cart-row .spec { font-size: 10px; color: var(--muted); }
.diorama-page .cart-qty {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-price);
}
.diorama-page .cart-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 800;
  color: var(--nav-blue-deep);
  text-align: right;
}
.diorama-page .footer-feats {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  border-top: 1px solid var(--line-soft);
  background: #fafbfd;
  min-height: 0;
}
.diorama-page .footer-feats div {
  padding: 12px;
  font-size: 12px;
  color: var(--muted);
  border-right: 1px solid var(--line-soft);
  line-height: 1.4;
}
.diorama-page .footer-feats div:last-child { border-right: none; }
.diorama-page .footer-feats b {
  display: block;
  color: var(--nav-blue-deep);
  margin-bottom: 4px;
  font-size: 15px;
}
