:root {
  --vt: 100vh;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  line-height: 1.3;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}
.viewport {
  position: fixed;
  width: 100vw;
  height: 100vh /* Use vh as a fallback for browsers that do not support Custom Properties */;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
.main {
  width: 100%;
  height: 100%;
}
.main img.detail {
  width: 100%;
  height: auto;
  -webkit-box-reflect: below 0 -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(40%, transparent), to(rgba(255,255,255,0.8)));
}
.drawer {
  --n: 0;
  --per: 0%;
  --titleOpen: 5rem;
  --stepSize: 13.8%;
  --thumbnailHeight: 8.25%;
  position: fixed;
  top: calc(100% - var(--titleOpen));
  top: calc(var(--vh, 1vh) * 100 - var(--titleOpen));
  width: 100%;
  height: calc(200vh);
  background-color: rgba(255,255,255,0.9);
  z-index: 1;
  transition: transform 30ms linear;
  transform: translateY(calc(var(--per) * -1 * var(--stepSize)));
  box-shadow: 0 -1px 4px rgba(0,0,0,0.25);
  border-radius: 1.2rem 1.2rem 0 0;
}
.pos3 .drawer {
  background-color: #fff;
}
.drawer:not(.hide-thumbnail) > .thumbnail-container {
  height: calc(var(--per) * 1 * var(--thumbnailHeight) + 0.9rem);
}
.map-page .drawer::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background-color: #fff;
  border-radius: 1.2rem 1.2rem 0 0;
  z-index: 2;
}
.map-page.pos1 .drawer:not(.hide-thumbnail) {
  border-radius: 0;
}
.map-page.pos1 .drawer:not(.hide-thumbnail)::after {
  border-radius: 0;
}
.pos3 .drawer .drawer-container {
  height: calc(var(--vh, 1vh) * 100);
}
.drawer .grip {
  position: relative;
  left: 45%;
  width: 10%;
  height: 1.3rem;
  z-index: 3;
}
.drawer .grip::before {
  content: '';
  position: absolute;
  top: 0.25rem;
  width: 100%;
  height: 0.5rem;
  background-color: #999;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}
.drawer .grip::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -300%;
  height: 370%;
  width: 700%;
}
.thumbnail-container {
  position: absolute;
  overscroll-behavior-x: contain /* prevent browser from bubbling event which migth cause history forward or back*/;
  -webkit-overflow-scrolling: touch /* Lets it scroll lazy */;
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000) /* fix border radius first paint */;
  top: calc(var(--per) * -1 * var(--thumbnailHeight));
  left: 0;
  width: 100vw;
  height: 0;
  margin-bottom: 0.5rem;
  border-radius: 1.2rem 1.2rem 0 0;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.25);
  z-index: -1;
}
.pos3 .thumbnail-container {
  border-radius: 0;
}
.thumbnail-container::after {
  pointer-events: none;
  position: absolute;
  content: '';
  box-shadow: inset 0 8px 12px rgba(0,0,0,0.35);
  top: 0;
  left: 0;
  right: 0;
  height: 25vw;
  z-index: 5;
}
.thumbnail-container .thumbnail {
  display: block;
  max-width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  white-space: nowrap;
  cursor: pointer;
  border-right: 0.5rem solid #fff;
}
.thumbnail-container .thumbnail + .grip {
  top: 20rem;
}
.distance-pin {
  display: block;
  width: 2.3rem;
  height: 2.3rem;
  fill: #90a4ae;
}
.active .distance-pin {
  fill: #666;
}
menu.art-list {
  display: block;
  margin: 0 -2vmin;
  padding: 0 0 1rem 1rem;
  list-style: none;
  box-shadow: 0 1px 3px #999;
}
menu.art-list li {
  display: flex;
  padding-top: 1rem;
  cursor: pointer;
}
menu.art-list li > div {
  flex-grow: 0;
}
menu.art-list li > div.description {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
menu.art-list li > div:nth-child(2),
menu.art-list li > div:nth-child(3) {
  border-bottom: 1px solid #ddd;
}
menu.art-list .distance {
  padding-right: 1rem;
  width: 4rem;
  height: 4rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
menu.art-list .description {
  padding-bottom: 0.75rem;
}
menu.art-list .description .title {
  font-size: 1.6rem;
}
menu.art-list .description address a {
  color: #666;
  text-decoration: none;
}
menu.art-list .description .titleTranslation {
  font-size: 1.5rem;
}
menu.art-list .description .titleTranslation + address {
  display: none;
}
.drawer-container {
  position: relative;
  padding: 0 4vmin;
  height: auto;
  overflow-y: scroll;
  font-size: 1.6rem;
  line-height: 2rem;
  color: #666;
}
header,
.heading {
  margin-left: 3rem;
  margin-bottom: 1rem;
}
.heading-1st {
  margin-bottom: 1rem;
}
.drawer-stop {
  display: none;
  position: absolute;
  top: 0;
  padding-top: 4px;
  width: 100vw;
  height: auto;
  background-color: #fff;
  z-index: 3;
  overflow: hidden;
}
.scrolling-drawer .drawer-stop {
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.pos3 .drawer-stop {
  display: block;
}
.drawer-stop header,
.drawer-stop .heading {
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}
.drawer-stop .heading-1st {
  margin-top: 0.6rem;
  margin-left: 3rem;
}
.pos3 .drawer header,
.pos3 .drawer .heading {
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}
.pos3 .drawer .heading-1st {
  margin-top: 0.6rem;
  margin-bottom: 2rem;
}
h1 {
  font-size: 1.6rem;
}
h1 + h1 {
  font-size: 1.5rem;
  font-weight: normal;
}
h1 + h1::before {
  content: '(';
}
h1 + h1::after {
  content: ')';
}
p {
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.6rem;
  line-height: 2.2rem;
}
address {
  font-size: 1.4rem;
  font-weight: normal;
}
address * + em::before,
address * + a::before {
  content: ',';
  text-decoration: none;
  padding-right: 3px;
}
.selected #cancel {
  display: block;
}
.drawer-stop .close {
  top: 1.5rem;
  left: 1.5rem;
}
.close {
  position: absolute;
  width: 21px;
  height: 21px;
  cursor: pointer;
  background: url("/images/Back.svg") center no-repeat;
  transform: rotate(-90deg);
  z-index: 1;
}
.drawer .back {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}
.back {
  position: absolute;
  width: 20px;
  height: 21px;
  cursor: pointer;
  background: url("/images/Back.svg") center no-repeat;
  z-index: 1;
}
.hide {
  display: none;
}
