:root {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #26382b;
  background: #f8f6f0;
  font-synthesis: none;
  font-size: 14px;
  --forest: #34583d;
  --olive: #748848;
  --line: #e2dfd4;
  --paper: #fffcf7;
  --muted: #6c746a;
  --shadow: 0 2px 9px #26382b10;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #af7a2e;
  outline-offset: 3px;
}
button {
  border: 0;
}
button,
input,
select {
  min-height: 36px;
}
[hidden] {
  display: none !important;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -10000px;
  top: 8px;
  z-index: 3000;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  left: 10px;
}
.brand-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 32px;
  background: linear-gradient(165deg, #fffcf7 30%, #e9eee0);
  border-bottom: 1px solid #e7e6da;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.brand-divider {
  font-weight: 400;
  margin: 0 0.12em;
}
.private-badge {
  border: 1px solid #d7ddcb;
  border-radius: 20px;
  padding: 5px 10px;
  color: #65725c;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 64px;
  padding: 0 32px;
  background: linear-gradient(105deg, #526f4e, #2c4934);
  color: #fffdf2;
  box-shadow: 0 2px 5px #26382b15;
}
.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding: 14px 24px;
  background: none;
  color: inherit;
  font-size: 17px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-item span {
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
}
.nav-item:hover {
  background: #ffffff0a;
}
.nav-search {
  margin: auto 0 auto auto;
  width: clamp(220px, 24vw, 360px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f8f0ec;
  color: var(--forest);
  border: 1px solid #fff8;
  border-radius: 30px;
  padding: 0 15px;
}
.nav-search span {
  font-size: 26px;
}
.nav-search input {
  min-width: 0;
  width: 100%;
  background: none;
  border: 0;
  outline-offset: 2px;
  color: #344e39;
  font-size: 13px;
  padding: 9px 0;
}
main {
  padding: 0 16px;
  max-width: 2200px;
  margin: auto;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 4px;
  flex-wrap: wrap;
}
.select-control {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 170px;
  padding: 0 12px;
  border: 1px solid #dedcd1;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.select-control select {
  min-width: 0;
  max-width: 210px;
  background: transparent;
  border: 0;
  color: #35422e;
  padding: 8px 5px;
  font-weight: 600;
}
.category-chips {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
  max-width: 100%;
}
.category-chip {
  border: 1px solid #dfded3;
  border-radius: 22px;
  background: var(--paper);
  padding: 7px 15px;
  white-space: nowrap;
  box-shadow: 0 1px 4px #26382b06;
  min-height: 34px;
}
.category-chip.active {
  background: #e4ebd2;
  border-color: #dbe6c3;
  color: #344a23;
  font-weight: bold;
}
.reset-button {
  background: none;
  text-decoration: underline;
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}
.catalog-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 11px;
  color: var(--muted);
  padding: 0 7px 10px;
  min-height: 25px;
}
.catalog-strip #visible-count {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.catalog-strip #selection-summary {
  flex: 1;
}
.catalog-strip button {
  min-height: 24px;
  font-size: 11px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 16px;
  min-height: 760px;
  height: calc(100dvh - 258px);
  max-height: 1100px;
}
.map-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #e1ece6;
  border: 1px solid #dce5d9;
}
.map-shell {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: 400px;
}
.map-board {
  position: absolute;
  inset: 0;
  background: #c9e1e0 !important;
}
.map-board.leaflet-container {
  font-family: inherit;
}
.map-board .leaflet-control-attribution {
  font-size: 10px;
  background: #fffcf5e8;
  line-height: 1.5;
  max-width: 80%;
  text-align: right;
}
.map-board .leaflet-control-zoom {
  border: 1px solid #ccd5c7;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 20px;
}
.map-board .leaflet-control-zoom a {
  color: var(--forest);
  background: #fffdf5;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-family: Arial, sans-serif;
}
.map-board .leaflet-control-scale {
  margin: 10px 0 16px 20px;
}
.map-board .leaflet-control-scale-line {
  background: #fffdf2b8;
  border-color: #4a6958;
  color: #2f4939;
}
.map-top-actions {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  z-index: 800;
}
.map-control {
  border: 1px solid #c4cdbd;
  border-radius: 13px;
  background: #fffcf3f5;
  box-shadow: 0 2px 5px #1c3f2920;
  padding: 9px 15px;
  font-weight: 600;
  color: #34583d;
}
.settings-trigger span {
  font-size: 19px;
  vertical-align: -1px;
}
.settings-trigger[aria-expanded="true"] {
  border-color: #7b8d59;
  box-shadow: 0 0 0 2px #8c9d6f33;
}
.settings-anchor {
  position: relative;
}
.settings-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 310px;
  border: 1px solid #cbd3c1;
  border-radius: 16px;
  background: #fffcf7fa;
  padding: 12px 17px;
  box-shadow: 0 6px 22px #25433035;
}
.settings-popover:before {
  content: "";
  position: absolute;
  right: 43px;
  top: -8px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #fffcf7;
  border-top: 1px solid #cbd3c1;
  border-left: 1px solid #cbd3c1;
}
.popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
}
.popover-heading h2 {
  font-size: 14px;
}
.popover-heading button {
  background: none;
  font-size: 23px;
  padding: 0 4px;
}
.toggle-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 49px;
  border-top: 1px solid #e8e4d7;
  font-size: 13px;
  cursor: pointer;
}
.toggle-row input {
  position: absolute;
  right: 0;
  width: 38px;
  height: 28px;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}
.switch-track {
  width: 37px;
  height: 23px;
  border-radius: 20px;
  background: #c7c9c0;
  flex: none;
  transition: background 0.15s;
  pointer-events: none;
}
.switch-track:before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  margin: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.15s;
}
.toggle-row input:checked + .switch-track {
  background: #526d40;
}
.toggle-row input:checked + .switch-track:before {
  transform: translateX(14px);
}
.toggle-row input:focus-visible + .switch-track {
  outline: 3px solid #af7a2e;
  outline-offset: 3px;
}
.move-to-selected {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 650;
  background: #fffaf0;
  border: 1px solid #c7d4bc;
  border-radius: 30px;
  padding: 11px 20px;
  font-weight: bold;
  box-shadow: 0 3px 9px #1c3f2930;
  color: #34583d;
}
.move-to-selected span {
  font-size: 22px;
  line-height: 16px;
  vertical-align: -2px;
}
.map-status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  background: #f2f5ea;
  color: #63745c;
  min-height: 37px;
  font-size: 11px;
}
.map-messages {
  flex: 1;
  min-width: 0;
}
.map-status-row p {
  line-height: 1.5;
}
.map-status-row button {
  min-height: 20px;
  white-space: nowrap;
  font-size: 11px;
}
.photo-marker {
  background: none;
  border: 0;
}
.photo-pin {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px;
  background: #fffdf7;
  border: 1px solid #acb6a0;
  border-radius: 11px;
  box-shadow: 0 2px 7px #24433255;
}
.photo-pin:after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: calc(50% - 6px);
  width: 11px;
  height: 11px;
  background: #fffdf7;
  border-right: 1px solid #acb6a0;
  border-bottom: 1px solid #acb6a0;
  transform: rotate(45deg);
  z-index: -1;
}
.map-board .photo-marker .photo-pin img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 7px;
}
.pin-photo-count {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: #183e2acc;
  color: white;
  font-size: 9px;
  border-radius: 4px;
  padding: 1px 4px;
}
.photo-marker.is-selected .photo-pin {
  border: 3px solid #526d40;
  box-shadow:
    0 0 0 3px #fff,
    0 4px 12px #29482c66;
  padding: 3px;
}
.photo-marker.is-selected .photo-pin:after {
  background: #526d40;
  border-color: #526d40;
}
.dot-pin {
  width: 100%;
  height: 100%;
  background: #718548;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 6px #23443266;
}
.photo-marker.is-selected .dot-pin {
  background: #355b34;
  border: 4px solid #fefcf3;
  box-shadow: 0 0 0 3px #748848;
}
.photo-cluster {
  border: 0;
  background: none;
}
.cluster-count {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8faed;
  border: 3px solid #809359;
  color: #34583d;
  box-shadow: 0 2px 8px #254a3040;
  font-weight: bold;
  font-size: 14px;
}
.cluster-photo-preview {
  position: relative;
  width: 84px;
  height: 72px;
  overflow: hidden;
  background: #fffdf7;
  border: 3px solid #fffdf7;
  outline: 1px solid #a8baa4;
  border-radius: 11px;
  box-shadow: 0 3px 12px #254a3060;
}
.cluster-photo-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  height: 100%;
}
.cluster-photo-images.is-2 {
  grid-template-rows: 1fr;
}
.cluster-photo-images.is-3 .cluster-photo-tile:first-child {
  grid-row: 1 / 3;
}
.cluster-photo-tile {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.map-board .photo-cluster .cluster-photo-tile img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
.cluster-photo-total {
  position: absolute;
  right: 1px;
  bottom: 1px;
  border-radius: 5px;
  padding: 3px 5px;
  background: #223d2de8;
  color: #fffdf6;
  line-height: 1;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 3px #0004;
}
.photo-cluster:hover .cluster-photo-preview,
.photo-cluster:focus-visible .cluster-photo-preview {
  outline: 3px solid #7c9654;
}
.mobile-map-return {
  display: none;
}
.photo-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 240px;
  gap: 16px;
  min-height: 0;
  min-width: 0;
}
.selected-detail {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.detail-frame {
  position: relative;
  flex: none;
  aspect-ratio: 16/8.3;
  border-radius: 13px;
  overflow: hidden;
  background: #e7e9da;
}
.detail-enlarge {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: none;
  padding: 0;
  border-radius: 13px;
}
.detail-enlarge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.enlarge-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 31px;
  height: 31px;
  line-height: 29px;
  font-size: 27px;
  background: #243b3b96;
  color: #fff;
  border-radius: 7px;
}
.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-size: 33px;
  background: #fffdf5f0;
  border: 1px solid #deddd2;
  border-radius: 50%;
  box-shadow: 0 1px 5px #233b3720;
}
.photo-arrow.previous {
  left: 12px;
}
.photo-arrow.next {
  right: 12px;
}
.photo-arrow:disabled {
  display: none;
}
.detail-photo-count {
  position: absolute;
  right: 12px;
  bottom: 11px;
  border-radius: 11px;
  padding: 5px 11px;
  background: #213128bd;
  color: white;
  font-size: 12px;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.detail-copy {
  overflow: auto;
  padding: 13px 6px 3px;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.detail-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.045em;
  color: #273525;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 15px;
  font-size: 12px;
  margin-top: 8px;
  color: #4c5949;
}
.source-date {
  font-size: 11px;
  color: #73776b;
  margin: 6px 0 2px;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 9px;
}
.category-tag {
  display: inline-block;
  border-radius: 22px;
  background: #e8edd6;
  padding: 4px 13px;
  color: #52682e;
  font-size: 11px;
}
.photo-caption,
.place-description {
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  color: #333f30;
}
.place-description {
  margin-top: 7px;
}
.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.location-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 0 8px;
  border-bottom: 1px solid #eeeadf;
}
.detail-map-move {
  background: #335c41;
  color: #fffefa;
  border-radius: 12px;
  padding: 10px 14px;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px #26452c22;
}
.detail-map-move:hover {
  background: #244a35;
}
.detail-google-map {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 4px;
  color: #3b6343;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}
.location-kind-note,
.location-missing {
  color: #7f806f;
  font-size: 10px;
  flex-basis: 100%;
}
.location-note {
  color: #7c7862;
  font-size: 10px;
  line-height: 1.7;
  max-width: 55%;
}
.article-action {
  flex: none;
  margin-left: auto;
}
.read-article {
  display: inline-block;
  background: linear-gradient(120deg, #537c56, #27513c);
  border-radius: 18px;
  padding: 10px 22px;
  color: #fffef4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 2px #fff2;
  white-space: nowrap;
}
.read-article:hover {
  filter: brightness(1.1);
}
.preparing {
  font-size: 12px;
  color: #777d6a;
  border-radius: 8px;
  background: #f0f0e6;
  padding: 8px 12px;
}
.detail-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 15px;
  min-height: 100%;
  padding: 30px;
  text-align: center;
  background: linear-gradient(145deg, #f8f8ed, #fdfbf5);
  border-radius: 12px;
}
.detail-empty .empty-icon {
  font-size: 50px;
  font-weight: 100;
  color: #81906b;
}
.detail-empty h2 {
  font-family: "Yu Mincho", serif;
  font-size: 23px;
}
.detail-empty p {
  font-size: 12px;
  color: #76816d;
  line-height: 2;
  max-width: 270px;
}
.places-shelf {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 13px 12px 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 3px 10px;
  flex: none;
}
.shelf-heading h2 {
  font-size: 16px;
  letter-spacing: 0.04em;
}
.shelf-heading h2 span {
  color: #748638;
  font-size: 21px;
}
.text-button {
  padding: 0 2px;
  background: transparent;
  border: 0;
  min-height: 30px;
  font-weight: 500;
  white-space: nowrap;
}
.text-button:hover {
  text-decoration: underline;
}
.shelf-heading .text-button {
  font-size: 12px;
}
.shelf-heading .text-button span {
  font-size: 23px;
  vertical-align: -1px;
}
.card-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #c8cbb8 transparent;
  overscroll-behavior-x: contain;
  padding-bottom: 7px;
}
.rail-inner {
  position: relative;
  height: 100%;
}
.place-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  min-width: 0;
  padding: 6px;
  background: #fffdf8;
  border: 1px solid #e1dfd0;
  border-radius: 12px;
  color: #2c3929;
  box-shadow: 0 2px 5px #3a45290a;
  gap: 4px;
  overflow: hidden;
}
.rail-inner .place-card {
  position: absolute;
  top: 0;
  bottom: 0;
}
.place-card.is-selected {
  border-color: #6d8845;
  box-shadow:
    inset 0 0 0 1px #6d8845,
    0 2px 6px #3c552c12;
}
.card-image {
  display: block;
  position: relative;
  aspect-ratio: 1.42;
  max-height: 107px;
  width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: #e7e9db;
  flex: none;
}
.card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.card-photo-count {
  position: absolute;
  right: 5px;
  bottom: 4px;
  background: #26382bb0;
  border-radius: 5px;
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
}
.card-title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.5;
  font-size: 13px;
  flex: none;
}
.card-prefecture {
  font-size: 10px;
  line-height: 1.5;
  color: #5e6956;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.card-state {
  color: #8a8061;
  font-size: 9px;
  line-height: 1.6;
  white-space: nowrap;
}
.card-preparing {
  background: #efeee6;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 9px;
  color: #707866;
  margin-top: auto;
}
.shelf-next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 43px;
  min-height: 43px;
  border: 1px solid #deded0;
  border-radius: 22px 0 0 22px;
  box-shadow: -2px 0 6px #26382b17;
  font:
    32px Arial,
    sans-serif;
  background: #fffcf5ee;
  color: #2c5c43;
}
.empty-state {
  padding: 30px 10px;
  color: #7b806e;
  font-size: 13px;
  line-height: 2;
  text-align: center;
}
.page-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 25px;
  font-size: 11px;
  color: #78806f;
  padding: 15px 6px 22px;
  line-height: 1.8;
}
.page-footer > p {
  flex: 1;
  min-width: 240px;
}
.page-footer details {
  max-width: 780px;
}
.page-footer details[open] {
  flex-basis: 100%;
}
.page-footer summary {
  cursor: pointer;
}
.page-footer details p {
  margin: 7px 0;
  font-size: 11px;
}
.page-footer select {
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  border-radius: 6px;
  padding: 4px;
  min-height: 30px;
}
dialog {
  border: 1px solid #dadccb;
  border-radius: 20px;
  background: var(--paper);
  padding: 24px;
  color: #2c3929;
  max-width: calc(100vw - 32px);
  box-shadow: 0 20px 90px #0a221355;
}
dialog::backdrop {
  background: #152b23ad;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}
.dialog-heading h2 {
  font-family: "Yu Mincho", serif;
  font-size: 26px;
  line-height: 1.5;
}
.dialog-heading p {
  font-size: 12px;
  color: #7a806f;
  margin-top: 4px;
}
.quiet-button {
  padding: 7px 12px;
  border: 1px solid #d2d8c6;
  background: #f8f8ef;
  border-radius: 10px;
  white-space: nowrap;
}
.quiet-button:hover {
  background: #e8eddc;
}
.catalog-dialog {
  width: 1000px;
  max-height: 85dvh;
}
.all-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.all-grid .place-card {
  gap: 5px;
}
.all-grid .card-image {
  max-height: none;
}
.all-grid .card-title {
  font-size: 14px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  font-size: 12px;
}
.articles-dialog {
  width: 780px;
  max-height: 85dvh;
}
.eyebrow {
  font-size: 10px !important;
  letter-spacing: 0.17em;
  color: #7b8964 !important;
}
.dialog-description {
  color: #747d6b;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.8;
}
#article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.article-pick {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e1d1;
  border-radius: 12px;
  background: #fffdf8;
  padding: 10px;
  min-width: 0;
}
.article-pick:hover {
  border-color: #83975d;
}
.article-pick img {
  width: 75px;
  height: 70px;
  flex: none;
  border-radius: 7px;
  object-fit: cover;
}
.article-pick > span {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.article-pick strong {
  font-size: 13px;
  line-height: 1.5;
}
.article-pick span span,
.article-pick small {
  font-size: 10px;
  color: #7a816e;
}
.article-pick .article-chevron {
  margin-left: auto;
  font-size: 26px;
  color: #7f9167;
}
.photo-viewer {
  width: min(1100px, 94vw);
  max-height: 94dvh;
  padding: 18px;
  background: #14271f;
  color: #f7f6e9;
  border-color: #56705b;
}
.viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.viewer-top h2 {
  font-family: "Yu Mincho", serif;
  font-size: 22px;
}
.viewer-top button,
.photo-navigation button {
  background: #f4f5e8;
  color: #34533d;
  border-radius: 9px;
  padding: 7px 13px;
}
.photo-viewer figure {
  margin: 0;
}
.photo-viewer figure img {
  width: 100%;
  height: min(66dvh, 720px);
  object-fit: contain;
  max-width: 100%;
  background: #0f1d17;
}
.photo-viewer figcaption {
  padding: 10px 0;
  font-size: 12px;
  line-height: 1.8;
  color: #d7e0cc;
}
.photo-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
}
.viewer-help {
  text-align: center;
  color: #95aa94;
  font-size: 10px;
  margin-top: 12px;
}
.image-failed {
  object-fit: contain !important;
  background: #e5e8da;
}
@media (min-width: 1700px) {
  .workspace {
    min-height: 900px;
  }
  .photo-pane {
    grid-template-rows: minmax(0, 1fr) 272px;
  }
  .card-image {
    max-height: 140px;
  }
  .detail-frame {
    aspect-ratio: 16/8.5;
  }
  .detail-copy {
    padding: 18px 10px 7px;
  }
  .photo-caption {
    font-size: 14px;
  }
  .detail-meta {
    font-size: 14px;
  }
  .shelf-heading h2 {
    font-size: 18px;
  }
}
@media (max-width: 1200px) {
  .main-nav {
    gap: 0;
    padding: 0 18px;
  }
  .nav-item {
    padding: 14px 17px;
    font-size: 15px;
  }
  .nav-search {
    width: 240px;
  }
  .brand-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .filter-bar {
    gap: 9px;
  }
  .category-chip {
    padding: 6px 12px;
  }
  .workspace {
    gap: 12px;
    min-height: 760px;
  }
  .selected-detail {
    padding: 10px;
  }
  .detail-copy {
    padding: 11px 3px 4px;
  }
  .detail-footer {
    flex-wrap: wrap;
    gap: 8px;
  }
  .location-note {
    max-width: 100%;
    width: 100%;
  }
  .read-article {
    padding: 8px 20px;
  }
  .photo-pane {
    gap: 12px;
  }
  .map-top-actions {
    right: 12px;
    top: 18px;
  }
  .map-control {
    padding: 8px 11px;
    font-size: 12px;
  }
  .detail-frame {
    aspect-ratio: 16/9;
  }
  .detail-title {
    font-size: 25px;
  }
  .category-chips {
    flex: 1;
    min-width: 300px;
  }
}
@media (max-width: 860px) {
  .mobile-map-return {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 44px;
    padding: 8px 4px;
    color: var(--forest);
  }
  .brand-header {
    min-height: 68px;
    padding: 10px 17px;
  }
  .brand {
    font-size: 23px;
  }
  .private-badge {
    font-size: 9px;
    padding: 4px 8px;
  }
  .main-nav {
    flex-wrap: wrap;
    padding: 0 12px;
    gap: 0;
    min-height: 57px;
  }
  .nav-item {
    font-size: 13px;
    flex: 1;
    padding: 13px 10px;
    gap: 7px;
  }
  .nav-item span {
    font-size: 21px;
  }
  .nav-search {
    width: 220px;
    flex: 1;
    margin: 8px 8px 8px 15px;
  }
  .nav-search input {
    font-size: 12px;
  }
  .workspace {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
    gap: 14px;
  }
  .map-pane {
    height: 510px;
  }
  .map-shell {
    min-height: 0;
  }
  .photo-pane {
    grid-template-rows: auto 240px;
    gap: 14px;
  }
  .selected-detail {
    padding: 13px;
    min-height: 450px;
  }
  .detail-frame {
    aspect-ratio: 16/7.5;
  }
  .detail-copy {
    overflow: visible;
    min-height: 0;
    padding: 15px 5px 6px;
  }
  .detail-footer {
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    margin-top: 3px;
  }
  .location-note {
    max-width: 55%;
    width: auto;
  }
  .detail-title {
    font-size: 29px;
  }
  .detail-meta {
    font-size: 13px;
  }
  .card-image {
    max-height: 110px;
  }
  .filter-bar {
    min-height: 0;
    padding-top: 13px;
    padding-bottom: 10px;
  }
  .category-chips {
    flex: 1 1 100%;
    min-width: 0;
  }
  .category-chip {
    font-size: 12px;
  }
  .catalog-strip {
    font-size: 10px;
    padding-bottom: 9px;
  }
  .catalog-strip #selection-summary {
    min-width: 220px;
  }
  .page-footer {
    font-size: 10px;
  }
  .all-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  :root {
    font-size: 13px;
  }
  .brand-header {
    padding: 10px 13px;
    gap: 7px;
  }
  .brand {
    font-size: 19px;
    letter-spacing: 0.03em;
  }
  .brand-divider {
    margin: 0 0.05em;
  }
  .brand-section {
    font-size: 16px;
  }
  .private-badge {
    display: none;
  }
  .main-nav {
    padding: 0 8px;
  }
  .nav-item {
    font-size: 11px;
    padding: 13px 7px 16px;
    gap: 5px;
    letter-spacing: 0.02em;
  }
  .nav-item span {
    font-size: 19px;
  }
  .nav-search {
    flex: 1 1 100%;
    margin: 0 5px 10px;
  }
  .nav-search input {
    padding: 6px 0;
    min-height: 33px;
  }
  .nav-search span {
    font-size: 22px;
  }
  main {
    padding: 0 10px;
  }
  .filter-bar {
    gap: 7px;
    padding: 11px 0 8px;
  }
  .select-control {
    min-width: 0;
    flex: 1;
    gap: 3px;
    padding: 0 8px;
  }
  .select-control select {
    width: 100%;
    max-width: none;
    font-size: 11px;
    padding: 8px 0;
  }
  .category-chips {
    gap: 6px;
  }
  .category-chip {
    padding: 5px 11px;
    font-size: 11px;
    min-height: 40px;
  }
  .catalog-strip {
    padding-left: 3px;
    gap: 3px 13px;
  }
  .catalog-strip #selection-summary {
    min-width: 180px;
  }
  .map-pane {
    height: 395px;
    border-radius: 15px;
  }
  .map-top-actions {
    top: 12px;
    right: 12px;
    gap: 6px;
  }
  .map-control {
    font-size: 11px;
    padding: 7px 9px;
    border-radius: 10px;
  }
  .map-board .leaflet-control-zoom {
    margin: 12px;
  }
  .map-board .leaflet-control-zoom a {
    width: 31px;
    height: 31px;
    line-height: 31px;
    font-size: 22px;
  }
  .map-board .leaflet-control-attribution {
    font-size: 8px;
  }
  .settings-popover {
    width: 275px;
    max-width: calc(100vw - 49px);
    padding: 9px 13px;
  }
  .toggle-row {
    min-height: 47px;
    font-size: 12px;
  }
  .map-status-row {
    padding: 7px 10px;
    font-size: 9px;
    min-height: 35px;
  }
  .map-status-row button {
    font-size: 9px;
  }
  .move-to-selected {
    font-size: 12px;
    right: 12px;
    bottom: 42px;
    padding: 9px 13px;
  }
  .map-board .leaflet-control-scale {
    margin-left: 12px;
    margin-bottom: 12px;
  }
  .selected-detail {
    padding: 10px;
    border-radius: 15px;
    min-height: 430px;
  }
  .detail-frame {
    aspect-ratio: 16/9;
    border-radius: 10px;
  }
  .detail-copy {
    padding: 12px 3px 3px;
  }
  .detail-title {
    font-size: 26px;
  }
  .detail-meta {
    font-size: 11px;
    gap: 5px 12px;
  }
  .source-date {
    font-size: 10px;
    margin-top: 5px;
  }
  .photo-caption,
  .place-description {
    font-size: 12px;
    line-height: 1.9;
  }
  .detail-tags {
    margin: 7px 0;
  }
  .category-tag {
    font-size: 10px;
    padding: 4px 11px;
  }
  .detail-footer {
    gap: 8px;
    align-items: center;
    padding-top: 10px;
  }
  .location-note {
    font-size: 9px;
    max-width: 49%;
  }
  .read-article {
    font-size: 12px;
    padding: 9px 16px;
    border-radius: 15px;
  }
  .photo-pane {
    grid-template-rows: auto 233px;
  }
  .places-shelf {
    padding: 10px 8px 8px;
    border-radius: 15px;
  }
  .shelf-heading {
    padding-bottom: 9px;
  }
  .shelf-heading h2 {
    font-size: 15px;
  }
  .shelf-heading .text-button {
    font-size: 11px;
  }
  .card-title {
    font-size: 12px;
  }
  .card-image {
    max-height: 109px;
  }
  .page-footer {
    padding-top: 13px;
    gap: 9px;
  }
  dialog {
    max-width: calc(100vw - 20px);
    padding: 15px;
    border-radius: 15px;
  }
  .dialog-heading {
    gap: 9px;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
  .dialog-heading .quiet-button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .all-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .all-grid .card-title {
    font-size: 12px;
  }
  .all-grid .card-image {
    aspect-ratio: 1.3;
  }
  #article-list {
    grid-template-columns: 1fr;
  }
  .article-pick img {
    width: 80px;
    height: 68px;
  }
  .photo-viewer {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    padding: 12px;
  }
  .viewer-top h2 {
    font-size: 19px;
  }
  .viewer-top button {
    font-size: 11px;
    padding: 7px;
  }
  .photo-viewer figure img {
    height: 55dvh;
  }
  .photo-navigation {
    gap: 15px;
  }
  .photo-navigation button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .photo-viewer figcaption {
    font-size: 11px;
  }
  .detail-photo-count {
    right: 9px;
    bottom: 9px;
    font-size: 11px;
  }
  .photo-arrow {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.rail-inner .card-image {
  flex: 0 1 auto;
  min-height: 60px;
}
.card-prefecture,
.card-state {
  flex: none;
}
.inline-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -4px;
  flex: none;
}
.nav-item .inline-icon {
  width: 24px;
  height: 24px;
}
.nav-search .inline-icon {
  width: 20px;
  height: 20px;
}
.select-control > .inline-icon {
  width: 18px;
  height: 18px;
}
.shelf-heading h2 .inline-icon {
  color: #748638;
  vertical-align: -4px;
}
.detail-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.detail-location .inline-icon {
  width: 15px;
  height: 15px;
  color: #53725b;
}
@media (max-width: 860px) {
  .nav-item .inline-icon {
    width: 21px;
    height: 21px;
  }
}
@media (max-width: 540px) {
  .nav-item .inline-icon {
    width: 19px;
    height: 19px;
  }
  .select-control > .inline-icon {
    width: 16px;
    height: 16px;
  }
}
/* 代表位置の確認フラグはデータで保持し、通常の閲覧UIには開発ラベルを出さない。 */
.coincident-places {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #e9e3d4;
}
.coincident-places > p {
  color: #7c765f;
  font-size: 10px;
  margin-bottom: 6px;
}
.coincident-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.coincident-choice {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-height: 29px;
  padding: 4px 9px;
  border: 1px solid #dadbc7;
  border-radius: 9px;
  background: #faf8ef;
  font-size: 10px;
}
.coincident-choice[aria-pressed="true"] {
  background: #e8edd8;
  border-color: #89996e;
}

/* V42 photomap UI: unify brand with existing site header without changing the wider interactive map. */
.brand-header { display:none; } /* Legacy element not in revised DOM; retained class styles for backwards reference. */
.main-nav { padding-inline:max(28px,calc((100% - 1196px)/2 + 28px)); }
/* The central CTA must remain in view without scrolling the description. */
.selected-detail .detail-intro {
  flex: 0 0 auto;
  min-width:0;
  padding:12px 6px 7px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  flex-wrap:wrap;
}
.selected-detail .detail-intro .detail-title {min-width:0;flex:1 1 180px;overflow-wrap:anywhere}
.selected-detail .detail-intro .article-action {margin-left:auto;flex:0 0 auto}
.selected-detail .detail-intro .read-article {display:inline-flex;align-items:center;justify-content:center;min-height:41px}
.selected-detail .detail-copy {padding-top:6px}
@media(max-width:1200px){.main-nav {padding-inline:max(18px,calc((100% - 1196px)/2 + 28px))}}
@media(max-width:860px){.main-nav {padding-inline:19px}}
@media(max-width:540px){
 .main-nav {padding-inline:10px}
 .selected-detail .detail-intro {padding:11px 3px 7px;gap:8px}
 .selected-detail .detail-intro .detail-title {flex-basis:155px;font-size:21px}
 .selected-detail .detail-intro .read-article {font-size:12px;padding:8px 12px}
}


/* Non-public V42 review: two minimalist drag splitters and article CTA comparison. */
.layout-review-tools {
  display:flex; align-items:center; gap:9px 13px; flex-wrap:wrap;
  margin:8px 0 14px; padding:10px 14px;
  border:1px solid #d7ded2; border-radius:13px;
  background:#f5f6f0; color:#33473b;
}
.review-tools-heading {display:flex; flex-direction:column; gap:3px; margin-right:auto; font-size:12px}
.review-tools-heading small {font-size:10px; color:#738075; font-weight:400}
.review-mode-group {display:flex; gap:3px; padding:3px; border-radius:11px; background:#e7eae1}
.review-mode {font-size:12px; padding:6px 11px; border-radius:8px; min-height:36px; background:transparent; white-space:nowrap}
.review-mode[aria-pressed="true"] {background:#34583d; color:white; box-shadow:0 1px 4px #152d2030}
.review-tool-button {font-size:11px; min-height:36px; border:1px solid #b9cabb; border-radius:9px; background:#fffdfa; padding:7px 10px; white-space:nowrap}
.review-tool-button[aria-pressed="true"] {background:#e0eadf; color:#2a593d; border-color:#7ca084}
.mobile-view-tools {display:none}

.workspace {
  display:grid;
  grid-template-columns:minmax(0,var(--map-px,60%)) 28px minmax(0,1fr);
  column-gap:0;
  row-gap:0;
}
.workspace .map-pane {min-width:0}
.workspace .photo-pane {min-width:0}
.split-bar {position:relative; display:flex; align-items:center; justify-content:center; user-select:none; touch-action:none; z-index:6; outline-offset:2px}
.split-bar::before {content:""; position:absolute; background:#cfd8cf; z-index:-1; border-radius:5px}
.split-bar-vertical {width:28px; height:100%; cursor:col-resize; align-self:stretch}
.split-bar-vertical::before {top:9px; bottom:9px; width:1px; left:calc(50% - .5px)}
.split-bar-horizontal {height:30px; min-height:30px; width:100%; flex:0 0 30px; cursor:row-resize}
.split-bar-horizontal::before {left:8px; right:8px; height:1px; top:calc(50% - .5px)}
.split-handle {
  position:relative; display:grid; place-items:center; flex:0 0 auto;
  width:30px; height:30px; border:1px solid #d7ded6; border-radius:50%;
  background:#fffefa; color:#34583d; box-shadow:0 2px 8px #20332622;
  font:500 19px/1 Arial,sans-serif; transition:background-color .16s,border-color .16s;
}
.split-bar-horizontal .split-handle {width:30px;height:30px}
.split-bar:hover .split-handle,.split-bar:focus-visible .split-handle,.split-bar.is-dragging .split-handle {background:#e3ebdf;border-color:#76977d}
body.is-resizing-split {cursor:col-resize; user-select:none}
body.is-resizing-split.is-resizing-photo {cursor:row-resize}
body.is-resizing-split * {user-select:none!important}

.selected-detail {--photo-px:210px}
.selected-detail:not(:has(.detail-empty)) .detail-frame {height:var(--photo-px); min-height:0; flex:0 0 var(--photo-px); aspect-ratio:auto}
.selected-detail .detail-enlarge img {object-position:center}
.selected-detail.is-photo-contain .detail-enlarge img {object-fit:contain; background:#e4e9e4}
.selected-detail .detail-action-after-photo {flex:0 0 auto; min-height:0; padding:6px 4px 2px}
.selected-detail .detail-action-after-photo:empty {display:none}
.selected-detail .detail-action-footer {flex:0 0 auto; padding:9px 4px 3px; border-top:1px solid #e5e9de}
.selected-detail .detail-action-footer:empty {display:none}
.selected-detail .detail-intro {flex:0 0 auto; min-width:0; padding:6px 5px 4px; display:flex; align-items:center; justify-content:space-between; gap:8px 12px; flex-wrap:wrap}
.selected-detail .detail-intro .detail-title {min-width:0; flex:1 1 160px; overflow-wrap:anywhere; font-size:clamp(18px,2vw,29px)}
.selected-detail .detail-intro .article-action {margin-left:auto; flex:0 0 auto}
.selected-detail .detail-copy {flex:1 1 auto; min-height:0; overflow:auto; padding-top:5px; overscroll-behavior:contain}
.selected-detail .article-action {margin:0}
.selected-detail .detail-action-after-photo .read-article,
.selected-detail .detail-action-footer .read-article {display:flex; width:100%; align-items:center;justify-content:center; min-height:42px; border-radius:12px; text-align:center}
.selected-detail .detail-intro .read-article {display:inline-flex; align-items:center;justify-content:center; min-height:40px; font-size:12px; padding:8px 13px; border-radius:11px}
.selected-detail .detail-action-after-photo .article-action,
.selected-detail .detail-action-footer .article-action {width:100%}
@media (max-width:1200px) {
 .layout-review-tools {gap:8px; padding:9px}
 .review-mode {font-size:11px; padding:6px 8px}
}
@media (max-width:860px) {
 .layout-review-tools {margin-bottom:8px}
 .mobile-view-tools {display:flex; gap:8px; margin:8px 0; background:#edf1e9; border-radius:12px; padding:5px}
 .mobile-view-tools button {flex:1; min-height:44px; border-radius:9px; background:transparent; color:#34583d; font-weight:600}
 .mobile-view-tools button[aria-pressed="true"] {background:#34583d;color:white}
 .workspace {display:block; min-height:0; height:auto; max-height:none}
 .workspace > .split-bar-vertical {display:none}
 .workspace[data-mobile-view="detail"] .map-pane {display:none}
 .workspace[data-mobile-view="map"] .photo-pane {display:none}
 .workspace .map-pane {height:min(65dvh,550px); min-height:320px}
 .workspace .photo-pane {grid-template-rows: minmax(0,auto) 240px; gap:14px}
 .selected-detail {height:clamp(490px,75dvh,750px); min-height:0; padding:11px}
 .selected-detail:not(:has(.detail-empty)) .detail-frame {aspect-ratio:auto}
 .selected-detail .detail-copy {overflow:auto; min-height:0; padding-top:8px}
}
@media (max-width:540px) {
 .review-tools-heading {flex-basis:100%}
 .review-mode-group {width:100%; justify-content:space-between}
 .review-mode {flex:1;white-space:normal; font-size:11px; padding:6px 4px; min-height:43px}
 .review-tool-button {flex:1}
 .selected-detail {height:clamp(480px,78dvh,680px)}
 .selected-detail .detail-intro .detail-title {font-size:20px; flex-basis:140px}
 .selected-detail .detail-intro .read-article {font-size:11px; padding:7px 10px}
 .selected-detail .detail-action-after-photo .read-article,.selected-detail .detail-action-footer .read-article {font-size:12px}
}
@media (prefers-reduced-motion:reduce) {.split-handle {transition:none}}


/* Layout correction: content aligns exactly with existing site max 1196px header. */
#explorer {width:100%; max-width:1196px; padding:0 28px; margin-inline:auto;}
@media (max-width:760px){#explorer{padding-inline:19px}}
@media (max-width:350px){#explorer{padding-inline:15px}}
/* Review controls remain inside the content width and never expand the page. */
.layout-review-tools{max-width:100%;min-width:0}
.review-mode-group{min-width:0;flex-wrap:wrap}
.workspace{min-width:0}
.workspace .photo-pane, .workspace .map-pane {min-width:0}
.split-bar-vertical {overflow:visible}
@media (min-width:861px){.workspace{grid-template-columns:minmax(0,var(--map-px,60%)) 28px minmax(0,1fr); gap:0}}
/* The vertical handle must remain apparent between photo and detail in all ABC modes. */
.selected-detail .split-bar-horizontal{position:relative;display:flex;visibility:visible;}
@media (max-width:860px){.mobile-map-return{display:none}}


/* ---------- 2026-11-05: 実機レビュー用 2 splitters / A・B・C ---------- */
#explorer {width:100%;max-width:1196px;margin-inline:auto;padding:0 28px;}
.workspace {grid-template-columns:minmax(0,var(--map-px,60%)) 18px minmax(0,1fr)!important;column-gap:0!important;}
.workspace>.split-bar-vertical{width:18px;}
.workspace>.photo-pane{
 display:grid;grid-template-rows:minmax(0,var(--upper-px,510px)) 20px minmax(0,1fr);
 gap:0!important;min-width:0;min-height:0;height:100%;
}
.workspace>.photo-pane>.selected-detail{min-height:0;min-width:0;overflow:hidden;}
.workspace>.photo-pane>.places-shelf{min-height:0;min-width:0;overflow:hidden;}
#detail-list-resizer{width:100%;height:20px;min-height:20px;cursor:row-resize;touch-action:none;display:flex;align-items:center;justify-content:center;}
#detail-list-resizer::before{top:9px;left:8px;right:8px;height:1px;}
#detail-list-resizer .split-handle{width:26px;height:26px;line-height:1;font-size:17px;}
/* 写真と地点名の間には調整バーを置かない。*/
.selected-detail .split-bar-horizontal {display:none!important;}
.selected-detail:not(:has(.detail-empty)) .detail-frame{height:var(--photo-px,220px);flex:0 0 var(--photo-px,220px);min-height:0;}
.selected-detail .detail-copy{min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;}
.selected-detail .detail-intro{flex:0 0 auto;}
.selected-detail .detail-action-footer{margin-top:auto;z-index:2;background:var(--paper);}
.selected-detail .detail-action-after-photo .read-article{min-height:40px;}
/* 比較ボタンをレビューZIPごとのA/B/Cに対応させる */
.review-tools-heading strong {font-size:13px;}
.review-mode[aria-pressed="true"]{background:#34583d;color:#fff;}
.preview-variant-label {font-weight:700;font-size:11px; color:#496248;margin:0 0 0 2px;}
/* 上段・下段の境界は常に掴めるが、見た目は最小限にする */
.split-bar{touch-action:none;z-index:8;}
.split-bar::before{z-index:0;pointer-events:none;}
.split-bar .split-handle{z-index:1;}
/* A: 最小限で気づける丸形ハンドル */
html[data-review-variant="A"] .split-handle{background:#fffefa;border-color:#d7ded6;color:#34583d;opacity:1;box-shadow:0 1px 6px #20332620;}
html[data-review-variant="A"] .split-bar::before{background:#d1dacf;}
/* B: ← Ⅱ → と 上下矢印＋中央二本線。低コントラストで静か */
html[data-review-variant="B"] .split-handle{border:none;box-shadow:none;background:#f6f7f2;color:#7e9181;opacity:.76;border-radius:6px;font-size:12px;}
html[data-review-variant="B"] .split-bar::before{background:#dce1d9;}
html[data-review-variant="B"] .split-bar:hover .split-handle,html[data-review-variant="B"] .split-bar:focus-visible .split-handle{opacity:1;background:#ebf0e9;color:#34583d;}
/* C: 普段は細線だけに近く、ポインター時に掴みやすさを示す */
html[data-review-variant="C"] .split-handle{opacity:.18;box-shadow:none;border-color:transparent;background:#fbfcf8;color:#6b8570;font-size:13px;}
html[data-review-variant="C"] .split-bar::before{background:#e1e6df;}
html[data-review-variant="C"] .split-bar:hover .split-handle,html[data-review-variant="C"] .split-bar:focus-visible .split-handle,html[data-review-variant="C"] .split-bar.is-dragging .split-handle{opacity:1;border-color:#b9cbb9;background:#ecf2e9;}
/* B: 写真→記事ボタンの自然な順番 */
html[data-review-variant="B"] .selected-detail .detail-action-after-photo{padding:9px 4px 3px;}
/* C: 右上は写真・説明を横並び、右下の訪問地点を初期表示で広く */
@media (min-width:1040px){
  html[data-review-variant="C"] .selected-detail:not(:has(.detail-empty)){
    display:grid;grid-template-columns:minmax(0,54%) minmax(0,46%);grid-template-rows:auto minmax(0,1fr);gap:8px 13px;align-items:start;
  }
  html[data-review-variant="C"] .selected-detail .detail-frame{
    grid-column:1;grid-row:1 / 3;width:100%;height:100%!important;max-height:100%;min-height:0;align-self:stretch;flex:none;
  }
  html[data-review-variant="C"] .selected-detail .detail-intro{
    grid-column:2;grid-row:1;align-items:flex-start;padding:4px 1px;
  }
  html[data-review-variant="C"] .selected-detail .detail-intro .read-article{width:100%;text-align:center;}
  html[data-review-variant="C"] .selected-detail .detail-copy{
    grid-column:2;grid-row:2;padding:2px 2px 0;max-height:100%;min-height:0;overflow-y:auto;
  }
  html[data-review-variant="C"] .selected-detail .detail-action-after-photo,
  html[data-review-variant="C"] .selected-detail .detail-action-footer{display:none;}
}
/* C: 2段の訪問地点カードで回遊しやすく */
html[data-review-variant="C"] .rail-inner .place-card{max-height:none;}
html[data-review-variant="C"] .rail-inner .place-card .card-image{max-height:80px;}
html[data-review-variant="C"] .rail-inner .place-card .card-title{font-size:11px;}
/* 小画面では地図と詳細を表示切替、上下バーは詳細と一覧の間に維持 */
@media(max-width:860px){
  .workspace {display:block!important;min-height:0;height:auto;max-height:none;}
  .workspace>.split-bar-vertical{display:none;}
  .workspace[data-mobile-view="detail"] .map-pane{display:none;}
  .workspace[data-mobile-view="map"] .photo-pane{display:none;}
  .workspace .map-pane{height:min(65dvh,550px);min-height:320px;}
  .workspace>.photo-pane{height:clamp(760px,115dvh,1040px);min-height:0;grid-template-rows:minmax(0,var(--upper-px,550px)) 20px minmax(0,1fr);gap:0!important;}
  .workspace .selected-detail{height:auto;min-height:0;padding:11px;}
  .workspace .selected-detail .detail-copy{min-height:0;overflow:auto;}
  .workspace .photo-pane .places-shelf{min-height:0;}
  .mobile-map-return{display:none!important;}
  #explorer{padding-inline:19px;}
}
@media(max-width:350px){#explorer{padding-inline:15px;}}
@media(prefers-reduced-motion:reduce){.split-handle{transition:none;}}

html[data-review-variant="C"] .split-bar-vertical .split-handle {width:22px;height:30px;}

html[data-review-variant="B"] .split-bar-vertical .split-handle {width:37px;height:24px;}

.split-handle .grip-A,.split-handle .grip-B,.split-handle .grip-C{display:none;font-family:Arial,sans-serif;white-space:nowrap;}
html[data-review-variant="A"] .grip-A,html[data-review-variant="B"] .grip-B,html[data-review-variant="C"] .grip-C{display:block;}


/* 2026-11-06 C-layout review: 3 CTA treatments and immersive width. */
html[data-width-mode="wide"] #explorer{
  width:100%;max-width:2140px;
  margin-inline:auto;padding-inline:clamp(16px,1.9vw,44px);
}
html[data-width-mode="standard"] #explorer{max-width:1196px;width:100%;padding-inline:28px;margin-inline:auto;}
@media(min-width:861px){
  html[data-width-mode="wide"] .workspace{height:clamp(760px,calc(100dvh - 220px),1200px);max-height:1200px;}
}
/* Do not widen the shared site header; only this application surface is immersive. */
.cta-review-toolbar{gap:8px 12px;}
.cta-review-options,.width-review-group{display:flex;gap:3px;align-items:center;background:#e9ede5;padding:3px;border-radius:9px;flex-wrap:wrap;}
.width-review-group{background:#f9f9f4;border:1px solid #dce4d9;}
.cta-review-toolbar .review-mode{white-space:nowrap;font-size:11px;padding-inline:10px;}
.cta-review-toolbar .review-tools-heading{flex:1 1 200px;}
/* Keep copy readable even when the map is stretched across a large monitor. */
.selected-detail .detail-copy .place-description,.selected-detail .detail-copy .photo-caption {max-width:56ch;line-height:1.7;}
/* Map action: always secondary; article is unmistakably the primary reading action. */
.selected-detail .detail-map-move{
  color:#375b45;background:#fffdfa;border:1px solid #aebfac;box-shadow:none;
  border-radius:8px;padding:7px 9px;min-height:34px;font-size:11px;font-weight:650;
}
.selected-detail .detail-map-move::before{content:"⌖";margin-right:5px;font-size:15px;line-height:0;}
.selected-detail .detail-map-move:hover{color:#214732;background:#edf3eb;}
.selected-detail .detail-google-map{min-height:30px;font-size:11px;padding:4px 0;text-decoration-thickness:1px;color:#5e7062;}
.selected-detail .location-actions{gap:7px 10px;}
/* Maintain C layout, but respond to actual available RIGHT-PANEL width, not just viewport width. */
.workspace > .photo-pane{container:detail-width / inline-size;}
@media (min-width:861px){
 html[data-review-variant="C"] .selected-detail:not(:has(.detail-empty)){
   display:flex;flex-direction:column;gap:1px;
 }
 html[data-review-variant="C"] .selected-detail .detail-frame{
   height:var(--photo-px,220px)!important;max-height:none;flex:0 0 var(--photo-px,220px);width:100%;
 }
 html[data-review-variant="C"] .selected-detail .detail-intro{display:flex;padding:4px 2px 4px;}
 html[data-review-variant="C"] .selected-detail .detail-copy{padding:2px 2px 0;}
}
@container detail-width (min-width:540px) {
 @media (min-width:861px) {
   html[data-review-variant="C"] .selected-detail:not(:has(.detail-empty)){
      display:grid;grid-template-columns:minmax(0,52%) minmax(0,48%);
      grid-template-rows:auto minmax(0,1fr);gap:8px 15px;
   }
   html[data-review-variant="C"] .selected-detail .detail-frame{
      grid-column:1;grid-row:1 / 3;height:100%!important;max-height:100%;
      min-height:0;align-self:stretch;flex:none;
   }
   html[data-review-variant="C"] .selected-detail .detail-intro{grid-column:2;grid-row:1;align-items:flex-start;}
   html[data-review-variant="C"] .selected-detail .detail-copy{grid-column:2;grid-row:2;min-height:0;overflow-y:auto;}
 }
}
/* CTA visual A: reading link in title row, visibly different from the map controls. */
.cta-book-icon{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;flex:none;}
html[data-cta-variant="A"] .selected-detail .detail-intro .article-action{margin-left:auto;}
html[data-cta-variant="A"] .selected-detail .detail-intro .read-article{
  display:inline-flex;align-items:center;gap:6px;
  min-height:34px;padding:5px 3px;border-radius:0;
  color:#2d6246;background:transparent;border:0;border-bottom:1px solid #6f9077;
  box-shadow:none;font-size:12px;font-weight:750;white-space:nowrap;
}
html[data-cta-variant="A"] .selected-detail .detail-intro .read-article:hover{background:#eef4ea;}
/* CTA visual B: single editorial card inside the information block. */
.cta-editorial-card{display:none;}
html[data-cta-variant="B"] .selected-detail .cta-editorial-card{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
 gap:5px 10px;background:#edf1e7;border:1px solid #d6e3d0;
 border-left:3px solid #58795a;border-radius:9px;padding:8px 10px;margin:5px 0 7px;
}
html[data-cta-variant="B"] .cta-editorial-kicker{font-size:10px;letter-spacing:.1em;font-weight:650;color:#6e7865;}
html[data-cta-variant="B"] .cta-editorial-card .read-article{
 display:inline-flex;align-items:center;gap:6px;min-height:30px;
 padding:3px 0;border-radius:0;background:transparent;border:0;box-shadow:none;
 color:#2e6045;font-size:12px;font-weight:750;
}
html[data-cta-variant="B"] .cta-editorial-card .article-action{margin:0;}
/* CTA visual C: photographic link tab (lower left of actual photo, away from photo arrows and count). */
html[data-cta-variant="C"] .selected-detail .detail-frame .article-action{
 position:absolute;left:12px;bottom:10px;z-index:4;
}
html[data-cta-variant="C"] .selected-detail .detail-frame .read-article{
 display:inline-flex;align-items:center;gap:6px;min-height:36px;
 background:#fffcf2f4;border:1px solid #eee5d7;color:#315d44;
 border-radius:7px;padding:6px 11px;box-shadow:0 3px 9px #1e342c30;
 font-size:12px;font-weight:750;
}
html[data-cta-variant="C"] .selected-detail .detail-frame .read-article:hover{background:white;}
/* The location list reflows into more ROWS, not taller cards. */
html[data-review-variant="C"] .rail-inner .place-card{
 max-height:none;justify-content:flex-start;padding:7px;gap:4px;
}
html[data-review-variant="C"] .rail-inner .card-image{
 width:100%;height:89px;max-height:89px;min-height:75px;flex:0 0 auto;
}
html[data-review-variant="C"] .rail-inner .card-title{font-size:12px;line-height:1.45;}
html[data-review-variant="C"] .rail-inner .card-prefecture{font-size:10px;}
html[data-review-variant="C"] .card-track{scrollbar-gutter:stable;}
/* Not an ordinary button row on top of an image: do not obscure the next/back image arrows. */
@media(max-width:860px){
  html[data-width-mode="wide"] #explorer,html[data-width-mode="standard"] #explorer{padding-inline:19px;max-width:100%;}
  html[data-cta-variant="C"] .selected-detail .detail-frame .article-action{bottom:10px;left:10px;}
  .cta-review-toolbar{align-items:stretch;}
  .cta-review-toolbar .cta-review-options{width:100%;justify-content:space-between;}
  .cta-review-toolbar .cta-review-options .review-mode{flex:1 1 auto;}
}
@media(max-width:350px){html[data-width-mode="wide"] #explorer,html[data-width-mode="standard"] #explorer{padding-inline:15px;}}


/* 2026-11-06 C adopted layout / responsive CTA and rail fixes */
/* Override earlier C grid's align-items:start when the photo pane stacks. */
html[data-review-variant="C"] .selected-detail:not(:has(.detail-empty)) {
  align-items:stretch;
}
html[data-review-variant="C"] .selected-detail .detail-intro,
html[data-review-variant="C"] .selected-detail .detail-copy {
  width:100%; max-width:100%; min-width:0;
}
html[data-review-variant="C"] .selected-detail .detail-intro {
  justify-content:flex-start;align-items:center;
  gap:6px 14px;flex-wrap:wrap;
}
html[data-review-variant="C"] .selected-detail .detail-title {
  flex:1 1 170px;min-width:0;
}
html[data-cta-variant="A"] .selected-detail .detail-intro .article-action {
  margin-left:0; flex:0 0 auto; min-width:0;
}
html[data-cta-variant="A"] .selected-detail .detail-intro .read-article {
  display:inline-flex;min-height:34px;white-space:normal;line-height:1.4;
  border-radius:3px;text-align:left;
}
/* The existing internal detail scroll remains usable for unusually long descriptions,
   but the scrollbar no longer appears as a detached ornament. */
html[data-review-variant="C"] .selected-detail .detail-copy {
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#d5dfd5 transparent;
}
/* At tight panel sizes, keep the article link directly BELOW the title, left-aligned. */
@container detail-width (max-width:480px) {
  html[data-review-variant="C"] .selected-detail .detail-intro {
    display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  }
  html[data-review-variant="C"] .selected-detail .detail-intro .detail-title {
    flex:0 0 auto;width:100%;
  }
}
/* Detail may have extra content, but its visible article link cannot scroll away. */
html[data-review-variant="C"] .selected-detail .detail-intro {flex:0 0 auto;}
/* Chevron controls: symmetrical, discoverable and with an actual disabled state. */
.places-shelf .shelf-next {z-index:6;cursor:pointer;transition:opacity .12s ease, background .12s ease;}
.places-shelf .shelf-prev {left:0;right:auto;border-radius:0 22px 22px 0;box-shadow:2px 0 6px #26382b17;}
.places-shelf .shelf-next:disabled {opacity:.32;cursor:default;pointer-events:none;}
.places-shelf .shelf-next:hover:not(:disabled) {background:#f0f4e9;}
.places-shelf .shelf-next:focus-visible {outline:3px solid #567d61;outline-offset:3px;}
/* Card content never escapes its card even for long Latin/English business names. */
html[data-review-variant="C"] .place-card {min-height:0;}
html[data-review-variant="C"] .place-card .card-title,
html[data-review-variant="C"] .place-card .card-prefecture {min-width:0;max-width:100%;}
/* True side-by-side detail becomes usable earlier, based on the ACTUAL panel width.
   Fractional columns account for the gap rather than overflowing with 52% + 48% + gap. */
@container detail-width (min-width:460px) {
 @media (min-width:861px) {
  html[data-review-variant="C"] .selected-detail:not(:has(.detail-empty)) {
   display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
   grid-template-rows:auto minmax(0,1fr);gap:8px 12px;align-items:stretch;
  }
  html[data-review-variant="C"] .selected-detail .detail-frame {
   grid-column:1;grid-row:1 / 3;width:100%;height:100%!important;max-height:100%;min-height:0;flex:none;
  }
  html[data-review-variant="C"] .selected-detail .detail-intro {
   grid-column:2;grid-row:1;width:100%;min-width:0;align-self:start;flex:0 0 auto;
  }
  html[data-review-variant="C"] .selected-detail .detail-copy {
   grid-column:2;grid-row:2;width:100%;min-width:0;min-height:0;overflow-y:auto;
  }
 }
}
/* Compact multi-row shelf cards use a smaller image, not a stretched text box. */
html[data-review-variant="C"] .rail-inner .card-image {
 height:var(--rail-image-h,89px);min-height:0;max-height:none;
}
/* Preserve long-title readability in upper detail without forcing horizontal overflow. */
html[data-review-variant="C"] .detail-title {overflow-wrap:anywhere;}
/* Less visual chrome than a non-public comparison interface. */
.final-layout-tools {padding:8px 12px;gap:7px 11px;}
.final-layout-tools .review-tools-heading {flex:1 1 190px;}
.final-layout-tools .review-mode,.final-layout-tools .review-tool-button {font-size:12px;}
@media(max-width:860px){
 .final-layout-tools .review-tools-heading{flex:1 0 100%;}
 .final-layout-tools .width-review-group{flex:1 1 auto;}
 .final-layout-tools .review-tool-button{flex:1 1 auto;}
}

/* 同一地点の複数写真を地図上で展開するレビューUI。表示位置≠撮影GPS。 */
.single-place-photo-marker { background: none; border: 0; }
.single-place-photo-tile {
  display: block; position: relative; width: 100%; height: 100%;
  padding: 3px; overflow: hidden; border-radius: 10px;
  border: 3px solid #fffefa; background: #fffefa;
  box-shadow: 0 3px 10px #203a3159, 0 0 0 2px #5a7654;
  cursor: pointer;
}
.map-board .single-place-photo-tile img {
  width: 100%; height: 100%; max-width: 100%; object-fit: cover;
  border-radius: 5px;
}
.single-place-photo-number {
  position: absolute; bottom: 3px; right: 3px; padding: 1px 4px;
  border-radius: 4px; background: #1d3f2dc9; color: white;
  font-size: 11px; line-height: 1.4; font-weight: 700;
}
.single-place-photo-marker:focus-visible .single-place-photo-tile,
.single-place-photo-marker:hover .single-place-photo-tile {
  outline: 3px solid #d3a64c; outline-offset: 3px;
  box-shadow: 0 4px 16px #24422b88;
}

/* 2026-11-06: viewport-first automatic width and mobile usability. */
.private-review-banner {
  position: fixed; top: 0; right: 0; z-index: 99999;
  background:#70211b; color:#fff; padding:6px 12px;
  font:600 12px/1.5 system-ui,sans-serif;
  max-width:65vw; border-radius:0 0 0 8px;
}
.interaction-required {
  display:block; padding:14px; margin:8px auto 12px;
  background:#fff2dd; color:#6d3417;
  border:1px solid #e9b982; border-radius:12px;
  font:600 13px/1.65 system-ui,sans-serif;
}
html.js-ready .interaction-required {display:none}
/* With scripts blocked, never present a featureless blank map. */
html:not(.js-ready) .map-board {
  background-image:url("data:image/webp;base64,UklGRvgUAABXRUJQVlA4IOwUAAAQhQCdASpeARwCPqlSok4mJKciIrNZmOAVCWlu4XNGQBqMPSOt72pbV2PPIacpu72Sd+kupV4o+VISOfakPZO8Ah4v4czFPdf6z4KOrjKl/zPh6fif+D7BX8x/wvq1f53k//Rv+D7B37Dda70YBVSDGuu8USWIksRJYiSxEliJLESWIksRJYiSVQ3hWgkqaopbCL6/QwHeUhf3PANeElyYwti9RojRAy9/ZbJbOxS5RAXDr7dJf8/WWNUaa4/3Ko5vCdw6xJsijIXINomLMAmbe5/qFRId7FiGtHcm+onxI9Bw2b+dkpQAisYEENCdj4057lw76xGQyuU/YDLfbq9XRWlHcvy/82yELtcdbVN/j+2tj+8QIcIVRhOIhfU39SwoGVKRZ+A+3gBJIiB0vVQII/uiK5vACSFMABJCmAhreAEkKYACSFMABJCmAAkhPO3TDl6phKp+d4D7eAEkKYACQ35+DAbcynH4srlMVZVWKFsqrFBYLfwQpW8hnw5Uf6+IuBXlvACR8NIqj32GCo4Y5wE7P7blniFEzKfbhbgtbO8328AJISMMtV76P0wqi560jgdsSeKipJlR+kB5Wt2VxvJRyNAG6ZFIKFMABJCl64WZK8AiBW1ABaqtkJHszSB8RddeBNTfwOwcFcBjwwmR0SWZkJgOGtf1+RSqsULZVWjpVm/jApjoIJlK3PaUYftL08KVWKZ1xUu7BqVakU8Yfr5/DElUIbi88328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wl+tl7JoiNXlCKXgwwbMP4ZsKa7MzgL5VtQH/8qEY/YX1gihwLp+rcyefu2DXP0s3y+JNZJglUpu/ONA8Bp5/INmgNDubh5GirPgR1c/jPuzeUStbZy+RzaU04MIh3vn6/1jki9gBZ2VL2ezGt0A54BD5LsTojlXz0AWB9a0vWZg3vgwXpDZ2nxu8fBaFJ89PsiwEUK5V4isARuTmwPVzslrPlff0Xkc0/+Rwd4A+W3PR79Jk7xtVf269R4EgwCdsvxfMmMdgk6eJiq1QSsbNJRDp/dFooNBVrau8efTc1P3ppBEKktvJ6jzGv0V+wTh33mPFcQ/GdujzXQHDwnCadT7Iu7ns+UDwARMoCfgzVSnnwljaGKEpTpRcfNSrFCHmd2FVtG63C073asItmRQCQzdz12bXAo36v8FN9NFhl7s9riLIDFhuVIxDwGnoS8jSs/neolvnF9q/XoqlvdRsJ4yJ9QFbi2j1i2XfNYvqp2zynj13VAA2/muGsuf1umD0nzd3jXU/73OczTHe8X2Dcl7YCGT4wZD9MU1dMZ7CQvkIpS94N60MX7l+wmAb2UaTtpcCCgtNcB/yixqI3GQNz7jHTKvBJNFt+vGu+9Phc+bE/oihekeV3Ys4Yp0oIFd6P0x4SEeq/BU+ehh3fVbtivSUOo0GyYNPEvLdgYwMruOHH1PKvNmuQMpVtBDUCRLy0shc5PX/QJhSeBnGEXoEzBrqL8LX7ywU1f6nKT9VDfpsM3cWSA3UuLMg/kAtuJG4wszx1qg88rKZUMPY00yiyytQMv8BWw1hAR4phlInmWF1UwRuEi0XIfe3Bv5n+Nkjihsq07ABlHQ9hvMNLNYPWfAktY6s1ycpWwRvTb+Tl9hvLhZLriRu7pfdNpfAtnq2SAjwgolm2qP+s9sayuutpxIs9CfW0vyWkAhR7GrQF0LIpIVCGt7JjFpthdI/kPtdArs8jBNVE0K7dPSCRkrC4xlMPKL+ef6zxZ7b+JEg6XhK21oH5qypw58dAAAA") !important;
  background-position:center; background-repeat:no-repeat; background-size:contain;
}
@media(max-width:1199px){
  /* A tablet/phone never keeps the saved desktop wide layout. */
  html[data-width-mode="wide"] #explorer,
  html[data-width-mode="standard"] #explorer {
    width:100%;max-width:1196px;padding-inline:clamp(15px,2.4vw,28px);margin-inline:auto;
  }
}
@media(max-width:860px){
  /* Free up the first screen: resizing only applies to the two-pane desktop. */
  .final-layout-tools{display:none!important}
  .private-review-banner {
    position:relative; top:auto;right:auto;z-index:auto;
    max-width:none; border-radius:0;
    text-align:center; padding:5px 12px;
    font-size:11px;
  }
  html[data-width-mode="wide"] #explorer,
  html[data-width-mode="standard"] #explorer{padding-inline:15px}
  .interaction-required{margin:10px 14px;font-size:12px}
  .map-top-actions{z-index:450}
}

/* 非公開試作：地図操作を起点とした距離順表示の小さな状態ラベル */
.shelf-sort-note {display:inline-block; margin-inline-start:8px; font-size:10px; font-weight:500;
  border-radius:100px; padding:2px 6px; color:#41624e; background:#e9efe7;
  white-space:nowrap; vertical-align:middle; letter-spacing:0;}


/* 旅めくり・写真クイズ｜非公開試作: 既存の地図／訪問地点動作を保つ */
.journey-controls{display:flex;align-items:center;gap:5px;margin-left:auto;min-width:0;}
.journey-control{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;border:1px solid #ccd7c9;border-radius:9px;background:#fffefa;color:#315742;font-size:25px;line-height:1;cursor:pointer;transition:background .14s,border-color .14s;}
.journey-control:hover{background:#ebf1e8;border-color:#91ad91;}
.journey-control:focus-visible{outline:3px solid #d4a753;outline-offset:2px;}
.journey-control:disabled{opacity:.4;cursor:not-allowed;}
.journey-dice{font-size:23px;font-family:system-ui, sans-serif;}
.journey-position{color:#58705b;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:36px;text-align:center;}
.shelf-heading{gap:7px;}
.shelf-heading h2{white-space:nowrap;flex-shrink:0;}
.shelf-heading #open-all{flex-shrink:0;}
.quiz-dialog{width:min(670px,calc(100vw - 26px));max-height:calc(100dvh - 26px);padding:0;border:1px solid #d4dfd0;border-radius:17px;color:#253b2b;background:#fffef9;box-shadow:0 23px 70px #142c2340;overflow:auto;}
.quiz-dialog::backdrop{background:#132f24b5;backdrop-filter:blur(4px);}
.quiz-shell{padding:clamp(16px,3vw,26px);display:grid;gap:13px;}
.quiz-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.quiz-heading-row h2{font-size:clamp(20px,3vw,28px);line-height:1.4;margin:0;}
.quiz-eyebrow{font-size:10px;color:#70896f;letter-spacing:.17em;font-weight:700;margin:0 0 5px;}
.quiz-intro{font-size:13px;color:#5b715d;margin:0;}
.quiz-figure{margin:0;position:relative;border-radius:12px;overflow:hidden;background:#e4eae3;}
.quiz-figure img{display:block;width:100%;height:clamp(220px,43dvh,370px);object-fit:contain;}
.quiz-figure figcaption{background:#f0f3ec;padding:8px 12px;font-size:12px;color:#576b59;}
.quiz-answer{border:1px solid #d4decf;background:#edf3e9;border-radius:11px;padding:13px 15px;display:grid;gap:4px;}
.quiz-answer[hidden]{display:none;}
.quiz-answer strong{font-size:19px;}
.quiz-answer span{font-size:12px;color:#557057;}
.quiz-actions{display:flex;flex-wrap:wrap;gap:9px;}
.quiz-actions button{min-height:44px;padding:9px 18px;border-radius:10px;border:1px solid #c3d0bd;font-weight:700;cursor:pointer;}
.quiz-primary{background:#34583d;color:#fff;border-color:#34583d!important;}
.quiz-primary:hover{background:#254731;}
.quiz-secondary{background:#f2f5ee;color:#34583d;}
.quiz-actions button[hidden]{display:none;}
.dice-flip-overlay{position:fixed;inset:0;z-index:3000;background:#1a38273d;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.dice-flip-overlay[hidden]{display:none;}
.dice-flip-frame{background:#fffef6;padding:9px 9px 15px;border-radius:15px;box-shadow:0 15px 40px #15302265;text-align:center;transform:rotate(-2deg);}
.dice-flip-frame img{display:block;width:min(260px,65vw);height:min(190px,42vw);object-fit:cover;border-radius:9px;background:#e3e9e2;}
.dice-flip-frame span{display:block;font-size:14px;color:#33563b;font-weight:700;margin-top:9px;}
@media(max-width:560px){
 .journey-controls{gap:4px;}
 .journey-control{min-width:40px;min-height:40px;width:40px;height:40px;}
 .shelf-heading{flex-wrap:wrap;gap:7px;}
 .shelf-heading h2{font-size:15px;}
 .shelf-heading #open-all{margin-left:auto;}
 .quiz-shell{gap:12px;}
 .quiz-figure img{height:min(43dvh,310px);}
 .quiz-actions button{flex:1;}
}
@media(prefers-reduced-motion:reduce){.journey-control{transition:none}.quiz-dialog::backdrop{backdrop-filter:none}}


.mobile-journey-bar{display:none;}
.mobile-journey-label{font-weight:700;font-size:13px;color:#3f624a;margin-right:auto;}
@media(max-width:860px){
 .mobile-journey-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:6px 10px;margin:0 0 9px;border:1px solid #dce4d8;border-radius:12px;background:#f5f8f2;}
 #explorer:has(.workspace[data-mobile-view="detail"]) .mobile-journey-bar{display:none;}
 .mobile-journey-bar .journey-control{min-width:42px;min-height:42px;width:42px;height:42px;}
}
