@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@400;500;700&family=Varela+Round&display=swap");
/**** VARIABLES ****/
/* popup基本預設設定 不用動 */
.popup-wrap {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  content: "";
  background: rgba(26, 25, 25, 0.9);
  z-index: 100;
}
.popup-wrap .popup-box {
  width: 100%;
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
  position: absolute;
  top: 50%;
  left: 50%;
  /* popup自訂設定 */
}
.popup-wrap .popup-box .content {
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 3;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1em 1.5em 2em 1.5em;
  background: url("../img/popMap.png") no-repeat bottom center #ffffff;
  background-size: contain;
  border-radius: 1vw;
  border: #f9eecd solid 3px;
  color: #82785e;
  width: 35vw;
  /* 關閉按鈕樣式 */
}
@media (max-width: 1440px) {
  .popup-wrap .popup-box .content {
    width: 62vw;
  }
}
@media (max-width: 820px) {
  .popup-wrap .popup-box .content {
    width: 80vw;
  }
}
@media (max-width: 480px) {
  .popup-wrap .popup-box .content {
    width: 90vw;
  }
}
.popup-wrap .popup-box .content ul {
  line-height: 1.8;
  padding-top: 0;
  font-size: 17px;
  height: 30rem;
  overflow-y: scroll;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media (max-width: 576px) {
  .popup-wrap .popup-box .content ul {
    font-size: 18px;
    overflow-y: scroll;
    height: 104vw;
  }
}
.popup-wrap .popup-box .content ul li {
  margin: 2% 0;
  line-height: 1.2;
}
@media (max-width: 576px) {
  .popup-wrap .popup-box .content ul li {
    line-height: 1.3;
  }
}
.popup-wrap .popup-box .content h2 {
  margin: 0 auto;
  width: 85%;
  display: -ms-grid;
  display: grid;
  place-items: center;
}
@media (max-width: 820px) {
  .popup-wrap .popup-box .content h2 {
    width: 100%;
  }
}
.popup-wrap .popup-box .content a {
  color: #8c7bfe;
}
.popup-wrap .popup-box .content span {
  color: #ff6192;
}
.popup-wrap .popup-box .content .close-btn {
  width: 3.12rem;
  display: inline-block;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  right: 45%;
  bottom: -15%;
}
.popup-wrap .popup-box .content .close-btn:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}