.wrapper {
  max-width: 450px;
  padding: 0;
  margin: 0 auto;
  position: relative;
}

a,
a:hover {
  text-decoration: none;
}

body {
  font-family: "Microsoft JhengHei", sans-serif !important;
  overflow: hidden;
  overflow-y: auto;
  background-color: #FFF6CB;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix {
  clear: both;
  display: block;
  width: 100%;
}

.txt-button {
  font-weight: 900;
  color: #644424;
  font-size: 16px;
  line-height: 24px;
}

header {
  height: 44px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 20px;
}
header a {
  display: block;
  width: 97px;
  margin: 0 auto;
}
header a img {
  display: block;
  width: 100%;
}

footer {
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  display: block;
  text-align: center;
  padding: 30px 0;
  background: url(../img/foot-bg.png) #8D5A25 no-repeat bottom center;
  background-size: 100% auto;
  height: 168px;
  text-align: center;
}

.main .bg {
  display: block;
  width: 100%;
  height: 90svh;
  min-height: 620px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
}
.main .home {
  position: relative;
}
.main .home a {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 7%;
  width: 64%;
}
.main .home a img {
  display: block;
  width: 100%;
}
.main .qa {
  position: relative;
  display: none;
}
.main .qa .step {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  width: 85.6%;
}
.main .qa .title {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  top: 6%;
}
.main .qa .buttons {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 82.4%;
  bottom: 0;
}
.main .qa .buttons img {
  display: block;
  width: 100%;
}
.main .qa .buttons a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
}
.main .qa .buttons a:last-of-type {
  top: 45%;
}
.main .end {
  position: relative;
}
.main .end .img {
  display: block;
  width: 100%;
}
.main .end .share-btn,
.main .end .award-btn {
  display: block;
  width: 82.7%;
  margin: 10px auto 0 auto;
}
.main .end .share-btn img,
.main .end .award-btn img {
  display: block;
  width: 100%;
}
.main .end .share-btn:last-of-type,
.main .end .award-btn:last-of-type {
  margin-bottom: 40px;
}
.main .end > span {
  display: block;
  margin: 25px auto 20px auto;
  line-height: 24px;
  color: #3D648E;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.main .end > span img {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  margin: 0 15px;
}
.main .end .alert {
  border-radius: 16px;
  background: #F9E09D;
  padding: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #8E5720;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  width: 87.2%;
  margin: 0 auto 20px auto;
}
.main .end .alert img {
  display: block;
  width: 32px;
  margin-right: 10px;
}
.main .end .txt {
  margin: 16px auto 0 auto;
  width: 87.7%;
  border-radius: 10px;
  border: 2px solid #65421F;
  background: #fff;
}
.main .end .txt title {
  display: block;
  border-radius: 8px 8px 0px 0px;
  border-bottom: 2px solid #65421F;
  background: #E2C5F7;
  text-align: center;
  color: #6A3287;
  font-size: 16px;
  font-weight: 700;
  line-height: 31px;
}
.main .end .txt p,
.main .end .txt ol {
  width: 86.6%;
  margin: 10px auto;
  color: #8C8C6D;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}
.main .end .txt p.no,
.main .end .txt ol.no {
  list-style: none;
}
.main .end .txt p.no li,
.main .end .txt ol.no li {
  margin-left: 0;
}
.main .end .txt p b,
.main .end .txt ol b {
  font-weight: bold;
  color: #6A3287;
}
.main .end .txt p li,
.main .end .txt ol li {
  margin-left: 15px;
}
.main .end .txt p a,
.main .end .txt ol a {
  color: #405882;
  text-decoration: underline;
}
.main .end .txt:last-of-type {
  margin-bottom: 24px;
}
.main .end .atxt {
  display: block;
  width: 82.7%;
  margin: 25px auto 0 auto;
}
.main .end .aarrow {
  position: relative;
  margin: 0 auto 10px auto;
  height: 48px;
  overflow: hidden;
}
.main .end .aarrow img {
  position: absolute;
  left: 50%;
  top: 0px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 48px;
  -webkit-animation: arrow-move-down 1s linear infinite;
          animation: arrow-move-down 1s linear infinite;
  z-index: 10;
  opacity: 1;
}

@-webkit-keyframes arrow-move-down {
  0% {
    top: -100px;
    opacity: 0;
  }
  30% {
    top: 0px;
    opacity: 1;
  }
  70% {
    top: 0px;
    opacity: 1;
  }
  100% {
    top: 100px;
    opacity: 0;
  }
}

@keyframes arrow-move-down {
  0% {
    top: -100px;
    opacity: 0;
  }
  30% {
    top: 0px;
    opacity: 1;
  }
  70% {
    top: 0px;
    opacity: 1;
  }
  100% {
    top: 100px;
    opacity: 0;
  }
}