@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC|Noto+Serif+TC&display=swap");
body {
  font-family: "Helvetica Neue", "Helvetica", "Arial", "STHeitiTC-Light", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif TC', serif;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

header h1 {
  text-indent: -9999px;
  background-image: url(../images/banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 45vw;
}

.stamp_group {
  padding-bottom: 100px;
}

@media screen and (min-width: 767px) {
  .stamp_group {
    padding-bottom: 120px;
  }
}

.stamp_group ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  width: 96%;
  margin: auto;
}

@media screen and (min-width: 767px) {
  .stamp_group ul {
    justify-content: flex-start;
  }
}

.stamp_group ul li {
  width: calc( 93% / 3);
  box-sizing: border-box;
  margin: 2.5% 1%;
}

@media screen and (min-width: 767px) {
  .stamp_group ul li {
    width: calc(90% / 4);
  }
}

.stamp_group ul li figure {
  margin: 0 1.5%;
  background-image: url(../images/not_collected.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90%;
}

.stamp_group ul li figure img {
  display: block;
  margin: 1rem auto 0 auto;
  width: 90%;
}

.stamp_group ul li.collect figure {
  background-image: url(../images/collected.png);
}

.stamp_group ul li h2 {
  color: #724120;
  font-size: 1.1rem;
  border-bottom: 2px solid #efe3cd;
  line-height: 1;
  margin-bottom: .5rem;
  margin-top: .5rem;
  display: flex;
  align-items: flex-end;
}

.stamp_group ul li h2.tl {
  /* font-size: 1rem; */
  font-size: .85rem;
}

.stamp_group ul li h2.tll {
  font-size: .85rem;
}

@media screen and (min-width: 480px) {
  .stamp_group ul li h2 {
    font-size: 1.3rem;
  }
  .stamp_group ul li h2.tl {
    font-size: 1.3rem;
  }
  .stamp_group ul li h2.tll {
    font-size: 1.1rem;
  }
}

.stamp_group ul li h2 i {
  color: #efe3cd;
  font-size: 1.1rem;
  padding-right: 8px;
}

@media screen and (min-width: 480px) {
  .stamp_group ul li h2 i {
    font-size: 2.5rem;
    margin-right: .5rem;
  }
}

.btn_area {
  display: flex;
  flex-direction: row;
  padding-bottom: 15px;
  overflow: hidden;
}

.btn_area img {
  width: 100%;
  display: block;
}

.btn_area .info, .btn_area .submit {
  width: 25%;
  border-bottom: 1px solid #d3cbbd;
  cursor: pointer;
}

@media screen and (min-width: 767px) {
  .btn_area .info, .btn_area .submit {
    width: 18%;
  }
}

.btn_area .collectarea {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d3cbbd;
  width: 50%;
  box-sizing: border-box;
}

@media screen and (min-width: 767px) {
  .btn_area .collectarea {
    width: 64%;
  }
}

.btn_area .collectarea h2 {
  color: #d93657;
  font-size: 2.5rem;
  margin: 0;
  padding: 0;
  line-height: 51px;
  padding-right: 5px;
  font-family: 'Times New Roman';
}

@media screen and (min-width: 340px) {
  .btn_area .collectarea h2 {
    font-size: 3.5rem;
  }
}

@media screen and (min-width: 767px) {
  .btn_area .collectarea h2 {
    font-size: 5rem;
    padding-right: 15px;
  }
}

.btn_area .collectarea span {
  display: block;
  text-align: center;
  font-size: 1rem;
}

@media screen and (min-width: 340px) {
  .btn_area .collectarea span {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 767px) {
  .btn_area .collectarea span {
    font-size: 2rem;
  }
}

.btn_area .collectarea span.ced {
  color: #d93657;
}

.btn_area .collectarea span.site {
  color: #8d8d8d;
}

.btn_area .collectarea span.site i {
  color: #000;
  font-style: normal;
  font-weight: 800;
}

.info_detail , .reset_detail {
  display: none;
  position: fixed;
  width: 98%;
  height: 95%;
  z-index: 2;
  top: 1%;
  left: 1%;
  background: #fff;
  box-shadow: 0px 0px 100px black, 0px 0px 100px black, 0px 0px 100px black;
  overflow-y: scroll;
  padding: 15px 20px;
  box-sizing: border-box;
  border-radius: 20px;
  font-size: 1.05rem;
  padding-bottom: 50px;
}

.info_detail.open , .reset_detail.open{
  display: block;
}

@media screen and (min-width: 767px) {
  .info_detail , .reset_detail {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    padding: 5%;
    box-shadow: 0px 0px 100px black, 0px 0px 100px black, 0px 0px 100px black, 0px 0px 100px black;
  }
}

@media screen and (min-width: 1023px) {
  .info_detail , .reset_detail {
    font-size: 1.25rem;
  }
}

.info_detail .close_btn , .reset_detail .close_btn  {
  background: #5d5d5d;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 1.5rem;
  position: fixed;
  top: 15px;
  right: 15px;
}

@media screen and (min-width: 767px) {
  .info_detail .close_btn , .reset_detail .close_btn{
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
    top: 60px;
    right: 60px;
  }
}

@media screen and (min-width: 1023px) {
  .info_detail .close_btn , .reset_detail .close_btn{
    top: 80px;
    right: 80px;
  }
}

.info_detail ul li {
  color: #724120;
  padding-left: 20px;
  background-image: url(../images/icon_item.png);
  background-repeat: no-repeat;
  background-position: left 5px;
}

.info_detail ul li span {
  color: #5d5d5d;
}

.info_detail ul.en li {
  background-image: url(../images/icon_item2.png);
}

.info_detail .en li {
  font-size: 1rem;
  color: #a1a1a1;
}

@media screen and (min-width: 1023px) {
  .info_detail .en li {
    font-size: 1.25rem;
  }
}

.info_detail ol li {
  padding-bottom: 2px;
  padding-top: 2px;
  background: none;
}

.info_detail ol li i {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #5d5d5d;
  border-radius: 100%;
  display: inline-block;
  line-height: 20px;
  text-align: center;
  font-style: normal;
  margin-right: 2px;
}

.info_detail ol li span {
  font-size: 1rem;
  color: #a1a1a1;
}

@media screen and (min-width: 1023px) {
  .info_detail ol li span {
    font-size: 1.25rem;
  }
}

.info_detail ol.en li i {
  border: 1px solid #a1a1a1;
}

.info_detail p span {
  display: block;
  font-size: 1rem;
  color: #a1a1a1;
}

@media screen and (min-width: 1023px) {
  .info_detail p span {
    font-size: 1.25rem;
  }
}

.info_detail h2 {
  color: #9c7016;
  font-size: 1.5rem;
  text-align: center;
  border-bottom: 1px solid #e0c99d;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
}

@media screen and (min-width: 1023px) {
  .info_detail h2 {
    font-size: 2rem;
  }
}

.info_detail h2 ~ h2 {
  margin-top: 2rem;
}

.info_detail h2 em {
  display: block;
  font-size: 1rem;
  font-style: normal;
}

@media screen and (min-width: 1023px) {
  .info_detail h2 em {
    font-size: 1.25rem;
  }
}

.info_detail h2 i {
  color: #724120;
  font-style: normal;
}

footer {
  background-color: rgba(126, 130, 216, 0.9);
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

@media screen and (min-width: 767px) {
  footer {
    text-align: center;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

footer p {
  width: 75%;
  margin-left: 25%;
}

@media screen and (min-width: 767px) {
  footer p {
    width: 100%;
    margin-left: 0;
  }
}

footer .mapbtn {
  position: absolute;
  left: 0;
  top: -40px;
}

@media screen and (min-width: 767px) {
  footer .mapbtn {
    top: -60px;
    left: 10px;
  }
  footer .mapbtn img {
    width: 150%;
  }
}

.txt_info {
  color: #8d8d8d;
  font-size: 0.9rem;
  width: 96%;
  margin: 1rem auto;
}

.reset_detail{
  padding-top: 5em;
  color: #5d5d5d
}

.reset_detail h2{
  font-size: 2rem;
  color: #ff5268;
  text-align: center;
}
.reset_detail i , .reset_detail strong{
  font-style: normal;
  color: #b31010;

}
.reset_detail strong{
  display: block;
  padding-bottom: .5em;
  font-size: 0.75em;
}
.reset_detail h3{
  font-size: 1.25rem;
  text-align: center;
  width: 95%;
  margin: auto;
}
.reset_detail p{
  font-size: 1.1rem;
  width: 80%;
  margin: 1em auto;
}
/*# sourceMappingURL=style.css.map */

.reset_detail .exlink {
  color: #d93657;
  width: 95%;
  height: 100px;
  box-sizing: border-box;
  margin: auto;
  padding-top: 20px;
  padding-left: 80px;
  display: block;
  background: #eee;
  border: 1px solid #eee;
  border-radius: 15px;
  text-decoration: none;
  font-size: 1.25rem;
  background-image: url(../images/link.png);
  background-repeat: no-repeat;
  background-position: 25px 30px;
}

.completion-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 50%;
  margin: 10px auto;
  background-color: #eeb30f; 
  opacity: 0; /* 初始隱藏 */
  animation: fadeInScale 0.3s ease-out forwards; /* 淡入放大 */
}

.check-mark {
  font-size: 4rem;
  color: #ffffff; /* 綠色勾勾 */
  transform: scale(0); /* 初始縮小 */
  animation: pulseCheck 0.6s ease-in-out 0.5s forwards; /* 0.5秒後開始跳動 */
}

/* 2. 定義 @keyframes */

/* 淡入放大動畫 */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 打勾符號跳動動畫 (模擬完成感) */
@keyframes pulseCheck {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 加上一個簡單的文字跳動 (可選) */
@keyframes textBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.warning-triangle {
  width: 0;
  height: 0;
  border-left: 52px solid transparent;
  border-right: 52px solid transparent;
  border-bottom: 92px solid #d80000; /* 單色 */
  margin: 1em auto 2em auto;

  position: relative;
}

/* 驚嘆號 */
.warning-triangle span {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  line-height: 1;
}



.stamp-card {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #724120;   /* 單色 */
  box-sizing: border-box;
}

/* 已集點 */
.dot.active {
  background: #724120;
  transform: scale(.85);
}

/* 說明文字 */
.stamp-text {
  text-align: center;
  font-size: 14px;
  color: #724120;
}

.dot:not(.active) {
  animation: hint 1.5s infinite;
}

@keyframes hint {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}