*{box-sizing:border-box} :root{color-scheme:light;--ink:#1c362f;--green:#145c46;--line:#d4dfd6;--paper:#f7f8f3}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,[tabindex]:focus-visible{outline:3px solid #ca8c23;outline-offset:2px}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.ic{width:1.22em;height:1.22em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.wrap{max-width:1360px;width:91%;margin-inline:auto}header{background:#fff;border-bottom:1px solid var(--line)}.bar,.brand,.help,.intro,.location,.under,.under p,.sectionhead,.sectionhead h2,.legend,footer,.controls,.badges{display:flex;align-items:center}.bar{height:68px;justify-content:space-between}.brand{font-weight:780;letter-spacing:.025em;font-size:19px;gap:12px}.help,#exit{border:1px solid var(--line);border-radius:30px;background:#fff;padding:8px 17px;gap:7px;font-size:14px;font-weight:650}.intro{justify-content:space-between;align-items:flex-end;margin:32px 0 22px}.eyebrow,.caption div,.under span,.locations .sectionhead span,footer span:last-child{font:700 12px/1.4 Arial,sans-serif;letter-spacing:.16em}.eyebrow{margin:0 0 5px;display:flex;align-items:center;gap:9px;color:var(--green)}.eyebrow i{width:21px;height:2px;background:#84a959}h1,h2,p{margin:0}h1{font-size:clamp(29px,3vw,45px);line-height:1.28;letter-spacing:.025em}.location{gap:7px;font-size:14px;font-weight:650}.location b,.map-panel .sectionhead span{background:#e4ebe0;border-radius:5px;padding:3px 8px;font:700 13px Arial,sans-serif}.stage{height:clamp(320px,34vw,474px);position:relative;isolation:isolate;border-radius:16px;overflow:hidden;background:#344b42;color:white}.stage:after{content:"";position:absolute;inset:58% 0 0;background:linear-gradient(transparent,#0b201dc7);pointer-events:none;z-index:-1}#view{position:absolute;inset:0;z-index:-2;cursor:grab;touch-action:pan-y;background-repeat:repeat-x;background-size:auto 100%;user-select:none}#view:active{cursor:grabbing}.badges{position:absolute;top:19px;left:21px;gap:8px;pointer-events:none}.badges span{font-size:12px;border-radius:30px;font-weight:650;padding:6px 12px}.mode{color:#203d31;background:#e4f0c7}.mode:before{content:"";display:inline-block;width:7px;height:7px;background:#47805a;border-radius:50%;margin-right:6px}.demo,#expand,.controls{background:#173530c9;color:white}.caption{position:absolute;bottom:24px;left:26px;pointer-events:none;text-shadow:0 1px 8px #102c2a}.caption div{color:#e2f3d1}.caption h2{font-size:clamp(22px,2.25vw,34px);margin-top:4px}#expand,.controls button{border:0;display:grid;place-items:center;width:42px;height:42px;border-radius:50%}#expand{position:absolute;right:20px;top:17px}.controls{position:absolute;right:21px;bottom:24px;border:1px solid #ffffff65;border-radius:30px;gap:4px}.controls button{background:transparent;color:white}.controls .ic{width:20px}.spot{position:absolute;transform:translate(-50%,-50%);border:2px solid white;border-radius:100px;background:#145c46;color:white;min-height:40px;padding:7px 14px;box-shadow:0 2px 10px #19382f55;font-weight:700;white-space:nowrap;font-size:14px}.spot:before{content:"◇";margin-right:6px;color:#deefb4}.other .spot{background:#35496b}.under{justify-content:space-between;gap:12px;padding:13px 1px;color:#56695e}.under p{gap:9px;font-size:14px}.under span{color:#66796b;white-space:nowrap}.guide{margin:22px 0 34px;display:grid;grid-template-columns:1.6fr 1fr;gap:20px}.map-panel,.locations{border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden}.sectionhead{justify-content:space-between;padding:18px 20px;gap:12px}.sectionhead h2{font-size:20px;gap:9px}.sectionhead h2 .ic{color:var(--green)}.locations .sectionhead span{color:#657767}.mapscroll{background:#f2f5ee;border-block:1px solid #e2e8df}.mapscroll svg{display:block;width:100%;height:auto}.route{fill:none;stroke-width:4;stroke-linejoin:round;stroke-linecap:round}.gardenRoute{stroke:#c25647}.parkRoute{stroke:#3c8660;stroke-dasharray:7 5}.blueRoute{stroke:#4282cc}.pin{cursor:pointer}.pin circle{fill:white;stroke:#32664e;stroke-width:2}.pin text{font:700 13px Arial;fill:#21523d;text-anchor:middle;dominant-baseline:central;pointer-events:none}.pin.current circle{fill:#195940;stroke:#d3e5a4;stroke-width:4}.pin.current text{fill:white}.pin.fixed{cursor:default}.legend{gap:21px;padding:11px 20px;font-size:13px;color:#536757}.legend span:before{content:"";display:inline-block;width:23px;border-top:3px solid #c25647;margin-right:7px;vertical-align:middle}.legend span+span:before{border-color:#3c8660;border-top-style:dashed}.other .legend span:before{border-color:#4282cc}.loc{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-top:1px solid #e5eae4;background:white;padding:11px 19px}.loc.active{background:#eef4e8}.loc strong{font-size:15px}.loc small{display:block;font-size:12px;color:#586b5f;margin-top:2px}.num{font:700 14px Arial;color:#42604f;border:1px solid #d0ddce;border-radius:8px;display:grid;place-items:center;width:34px;height:34px;background:#f5f7f0}.active .num{background:var(--green);color:white}.loc .tail{margin-left:auto;color:var(--green);font-size:13px}footer{justify-content:space-between;border-top:1px solid var(--line);padding:18px 0 26px;color:#5b7064;font-size:13px}.message:not(:empty){padding:12px 15px;background:#e9eee4;border-radius:8px;margin:2px 0 9px}.other .message{background:#e5ebf2}#exit{border-color:#b0bdb1}.stage:fullscreen,.stage.large{height:100%;width:100%;border-radius:0}.stage.large{position:fixed;inset:0;z-index:20}.stage button:hover,.loc:hover,.help:hover,#exit:hover{filter:brightness(.94)}dialog{border:1px solid var(--line);color:var(--ink);border-radius:16px;max-width:min(440px,91vw);padding:8px 22px 22px}dialog .sectionhead{padding:8px 0}dialog p{line-height:1.75;margin-top:14px}dialog::backdrop{background:#10271fb0}#close{background:#edf2e9;border:0;border-radius:50%;height:38px;width:38px;font-size:24px}
@media(max-width:760px){.wrap{width:92%}.bar{height:59px}.brand{font-size:16px;gap:7px}.brand img{width:31px;height:31px}.help{padding:7px 10px;font-size:13px}.intro{margin:22px 0 16px}.location{font-size:12px}.guide{grid-template-columns:1fr;gap:14px;margin-top:13px}.under span{display:none}.stage{height:clamp(310px,48vh,420px)}.caption{left:15px;bottom:19px}.controls{right:12px;bottom:15px;gap:0}.controls button{width:34px}.badges{left:14px;top:14px}.sectionhead{padding:15px}.under p{font-size:13px}.mapscroll{overflow-x:auto}.mapscroll svg{min-width:425px}.caption h2{max-width:calc(92vw - 135px);line-height:1.25}.location{gap:3px}.spot{font-size:13px}}
@media(max-width:410px){.intro{align-items:flex-start;flex-direction:column;gap:8px}}

.route { stroke-width: 7; }
.parkRoute { stroke-dasharray: 12 8; }
.elevatorRoute { stroke: #a07014; }
.pin circle { stroke-width: 3; }
.pin text { font-size: 23px; }
.pin.fixed circle { stroke: #356bab; }
.pin.fixed text { fill: #234f83; }
.pin.fixed.current circle { fill: #285b96; stroke: #b8ddf5; }
.pin.fixed.current text { fill: white; }
.legend { flex-wrap: wrap; row-gap: 8px; }
.legend span:nth-child(3)::before { border-color: #a07014; border-top-style: solid; }
.spot-sign {
  min-height: 0;
  border: 1px solid #81958a;
  border-radius: 6px;
  background: #f4f7ee;
  color: #294c3d;
  pointer-events: none;
}
.spot-sign::before { content: "P"; color: inherit; }
/* Follow the brightened section of n01 even when the panorama wraps. */
.stage.garden-panorama::after {
  mask-image: linear-gradient(90deg,
    #000 56.25%, rgb(0 0 0 / 35%) 64.58% 92.19%, #000 97.92%);
  mask-size: var(--panorama-width) 100%;
  mask-position: var(--panorama-left) 0;
  mask-repeat: repeat-x;
}
#map-view-direction {
  pointer-events: none;
  stroke: #926d0e;
  stroke-opacity: .65;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.other .spot-card {
  display: grid;
  place-items: center;
  width: 52px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}
.spot-card::before {
  content: "";
  width: 35px;
  height: 20px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 4px;
  background: linear-gradient(#eef5f2 36%, #466478 36% 56%, #cddfdb 56%);
  transform: skewX(-18deg) rotate(-14deg);
  box-shadow: 0 2px 5px #101915a8;
}
#stage-status { display: none; }
.stage:is(:fullscreen,.large) #stage-status:not(:empty) {
  display: block;
  position: absolute;
  top: 61px;
  left: 19px;
  max-width: min(560px,calc(100% - 38px));
  padding: 8px 12px;
  border-radius: 8px;
  background: #173530e8;
  font-size: 14px;
  pointer-events: none;
}
#door-dialog { padding: 22px; }
#door-dialog h2 { font-size: 21px; }
.door-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.door-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
#door-enter { background: var(--green); color: #fff; }

/* 固定ページのヘッダーとの重なりを避ける */
body {
  padding-top: 70px;
}

/* ツアー冒頭を少しコンパクトに */
.intro {
  padding-top: 15px;
}

.intro h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-top: 8px;
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 14px;
}

/* =========================
   探索モード
   ========================= */

.other .eyebrow {
  color: #356bab;
}

.other .eyebrow i {
  background: #4282cc;
}

.other .mode {
  color: #234f83;
  background: #dceaf7;
}

.other .mode::before {
  background: #4282cc;
}

.other .sectionhead h2 .ic {
  color: #356bab;
}

.other .loc.active {
  background: #e8f1fa;
}

.other .active .num {
  background: #356bab;
}

.other .loc .tail {
  color: #356bab;
}

.other .message:not(:empty) {
  background: #e5eff9;
}

.other #exit {
  border-color: #aabfd5;
  color: #234f83;
}

body.other {
  background: #f2f7fc;
}