@charset "UTF-8";
@font-face {
  font-family: MyCustomFont;
  src: local("Microsoft JhengHei"), local("微軟正黑體");
}
/* 修正粗體 */
@font-face {
  font-family: fontFixed;
  unicode-range: U+7db0, U+78A7, U+7B75;
  /* ASCII (碧筵綰) */
  font-style: normal;
  font-weight: bold;
  src: local("Yu Gothic"), local("MS Gothic");
}
/* 一般粗細的時候改回微軟正黑 */
@font-face {
  font-family: fontFixed;
  unicode-range: U+7db0, U+78A7, U+7B75;
  /* ASCII (碧筵綰) */
  font-style: normal;
  font-weight: normal;
  src: local("Microsoft JhengHei"), local("微軟正黑體");
}
/* 英文數字專用 */
@font-face {
  font-family: MyCustomFont; /* 同樣的 font-family */
  unicode-range: U+00-7F, U+00C0-00FF, U+2150-2169; /* ASCII,羅馬數字*/
  src: local(Verdana), local(Geneva), local(Arial), local(Helvetica);
}
body {
  margin: 0;
  padding: 0;
  font-family: fontFixed, MyCustomFont, sans-serif;
  font-size: max(16px, 2.6vmin);
  color: #333;
  background-color: #666;
  word-wrap: break-word;
  overflow: hidden;
  -webkit-text-size-adjust: none;
}

video {
  outline: none;
}

.preloadBox {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

#panorama {
  width: 100vw;
  height: 100vh;
}
#panorama .ui {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 90;
  display: none;
  padding: 1em;
  box-sizing: border-box;
}
#panorama .ui .logo {
  position: relative;
  width: 360px;
  height: auto;
  display: block;
}
#panorama .ui h1.title {
  position: relative;
  width: 320px;
  margin: 0.5em 0 0 0;
  color: #fff;
  padding: 0.5em 1em;
  background-color: rgba(156, 185, 211, 0.7);
  text-shadow: 0 0 6px #000;
  font-size: 1.2em;
}
#panorama .ui h1.title span {
  font-size: 0.9em;
  font-weight: bold;
}
#panorama .ui .menuBox {
  position: absolute;
  width: 220px;
  height: 100vh;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s;
}
#panorama .ui .menuBox .btnGroup {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  padding: 1em;
  box-sizing: border-box;
}
#panorama .ui .menuBox .btnGroup .btn {
  position: relative;
  width: 100%;
  cursor: pointer;
}
#panorama .ui .menuBox .btnGroup .btn:not(:last-child) {
  margin-bottom: 1em;
}
#panorama .ui .menuBox .btnGroup .btn img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}
#panorama .ui .menuBox .btnGroup .btn p {
  position: relative;
  text-align: center;
  font-size: 0.8em;
  margin: 0.3em 0 0 0;
  color: #fff;
}
#panorama .ui .menuBox .btnGroup .btn:hover p {
  color: yellow;
  background-color: rgba(0, 0, 0, 0.5);
}
#panorama .ui .menuBox .btnGroup .btn.act img {
  box-shadow: 0 0 0 3px yellow;
}
#panorama .ui .menuBox .btn-hide {
  position: absolute;
  width: 2em;
  height: 100px;
  left: -2em;
  border-radius: 10px 0 0 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
#panorama .ui .menuBox .btn-hide::after {
  position: absolute;
  content: "▶";
  display: block;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: #fff;
}
#panorama .ui .menuBox.out {
  right: -220px;
}
#panorama .ui .menuBox.out .btn-hide {
  background-color: rgba(0, 0, 0, 0.3);
}
#panorama .ui .menuBox.out .btn-hide::after {
  content: "◀";
}
#panorama .ui .menuBox.out .btn-hide:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#panorama .custom-hotspot {
  background: url(../images/info.png) no-repeat center;
  background-size: contain;
  width: 3.5vw;
  height: 3.5vw;
  min-width: 50px;
  min-height: 50px;
}
#panorama .custom-hotspot.logo {
  background: url(../images/logo.png) no-repeat center;
  background-size: cover;
  width: 20vw;
  height: 20vw;
}
#panorama .pnlm-scene {
  background: url(../images/arrow.png) no-repeat center;
  background-size: contain;
  width: 3.5vw;
  height: 3.5vw;
  min-width: 50px;
  min-height: 50px;
  animation: animation_arrow 0.8s reverse infinite;
}
#panorama .popupLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0;
}
#panorama .popupLayer .btn-area-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
#panorama .popupLayer .popupBox {
  position: absolute;
  width: 90%;
  max-width: 660px;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
#panorama .popupLayer .popupBox .popup {
  position: relative;
  width: 100%;
  border-radius: 15px;
  background-color: #fff;
  padding: 15px;
  box-sizing: border-box;
  cursor: default;
}
#panorama .popupLayer .popupBox .popup p {
  position: relative;
  margin: 0;
}
#panorama .popupLayer .popupBox .popup p.title {
  font-size: 1.4em;
  text-align: center;
  font-weight: bold;
  padding: 0 1em;
  line-height: 1.2em;
}
#panorama .popupLayer .popupBox .popup p.text {
  color: #333;
  padding: 0 0.4em 0.5em 0.4em;
  margin-top: 0.5em;
}
#panorama .popupLayer .popupBox .popup ul {
  position: relative;
  margin: 0;
  padding-bottom: 0.5em;
  color: #333;
}
#panorama .popupLayer .popupBox .popup img {
  width: 100%;
  height: auto;
  display: block;
}
#panorama .popupLayer .popupBox .popup img.hr {
  padding-bottom: 0.5em;
}
#panorama .popupLayer .popupBox .popup video {
  width: 100%;
  height: auto;
  display: block;
}
#panorama .popupLayer .popupBox .popup::before {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(255, 255, 255, 0.3);
  padding: 4px;
  border: 1px solid #fff;
  border-radius: 15px;
  z-index: -1;
}
#panorama .popupLayer .popupBox .popup:after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
#panorama .popupLayer .popupBox .btn-close {
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  top: 0.5em;
  right: 0.5em;
  cursor: pointer;
  transform: rotate(45deg);
}
#panorama .popupLayer .popupBox .btn-close::before, #panorama .popupLayer .popupBox .btn-close::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-sizing: border-box;
  border-style: solid;
  border-color: #333;
  border-width: 5px;
}
#panorama .popupLayer .popupBox .btn-close::before {
  border-top: none;
  border-bottom: none;
  border-right: none;
  width: 50%;
  left: calc(50% - 3px);
}
#panorama .popupLayer .popupBox .btn-close::after {
  border-left: none;
  border-bottom: none;
  border-right: none;
  height: 50%;
  top: calc(50% - 3px);
}
#panorama .videoLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  background-color: #000;
}
#panorama .videoLayer.act {
  z-index: 100;
  opacity: 1;
}
#panorama .videoLayer video {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
#panorama .switchBox {
  position: absolute;
  bottom: 40px;
  left: 1em;
  z-index: 101;
}
#panorama .switchBox .btn {
  position: relative;
  width: 4em;
  display: inline-block;
  cursor: pointer;
}
#panorama .switchBox .btn img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

@keyframes animation_arrow {
  50% {
    background-position: center bottom;
  }
}