.land-viewer-embed {
  max-width: 100%;
}
.land-viewer-embed iframe {
  display: block;
  max-width: 100%;
}

/* ページに置くボタン(ショートコード)の既定の見た目。丸みのあるピル型で、状態(is-active /
   is-hidden / is-running)が一目で分かるようにしている。テーマに合わせて変えたい場合は、
   ショートコードのclass属性に独自クラスを付けて上書きするか、テーマのCSSで
   .land-viewer-...-button を上書きしてください。 */
.land-viewer-goto-button,
.land-viewer-visibility-button,
.land-viewer-tour-button,
.land-viewer-step-button,
.land-viewer-group-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 8px 4px 0;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #1f2937;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.land-viewer-goto-button:hover,
.land-viewer-visibility-button:hover,
.land-viewer-tour-button:hover,
.land-viewer-step-button:hover,
.land-viewer-group-button:hover {
  background: #f3f6ff;
  border-color: rgba(58, 109, 240, 0.45);
  box-shadow: 0 6px 16px rgba(58, 109, 240, 0.18);
  transform: translateY(-1px);
}
.land-viewer-goto-button:active,
.land-viewer-visibility-button:active,
.land-viewer-tour-button:active,
.land-viewer-step-button:active,
.land-viewer-group-button:active {
  transform: scale(0.97);
  box-shadow: none;
}
.land-viewer-goto-button:focus-visible,
.land-viewer-visibility-button:focus-visible,
.land-viewer-tour-button:focus-visible,
.land-viewer-step-button:focus-visible,
.land-viewer-group-button:focus-visible {
  outline: 3px solid rgba(58, 109, 240, 0.4);
  outline-offset: 2px;
}

/* いま開いている視点 / 実行中の巡回 */
.land-viewer-goto-button.is-active,
.land-viewer-tour-button.is-running {
  color: #fff;
  background: linear-gradient(180deg, #5b8cff, #3a6df0);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(58, 109, 240, 0.35);
}
/* 表示/非表示ボタン: 非表示中は薄く、点線で表す(iframeからの通知で切り替わる) */
.land-viewer-visibility-button.is-hidden,
.land-viewer-group-button.is-hidden {
  color: #6b7280;
  background: #f3f4f6;
  border-style: dashed;
  box-shadow: none;
}
