*:link,
*:visited,
*:hover,
*:active,
*:focus,
* {
  transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans TC", sans-serif, Arial;
  margin: 0;
  padding: 0;
  background-color: #c12723;
  font-size: 16px;
  line-height: 25px;
  box-sizing: border-box;
}

.simpleheadbartmp {
  width: 100%;
  height: 60px;
  background: #fff;
  position: absolute;
  top: 0;
  z-index: 666;
  position: fixed;
}
.simpleheadbartmp .logo {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.simpleheadbartmp .logo a {
  display: block;
  width: 205px;
  height: 48px;
  cursor: pointer;
  background: url(../images/mobile_logo.svg) 0 0 no-repeat;
  background-size: 130px;
  margin: 16px 30px 8px;
  text-indent: 100%;
  white-space: nowrap;
}

.Wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 60px auto 0;
  background-color: #f75949;
  position: relative;
}
@media all and (max-width: 767.98px) {
  .Wrapper {
    overflow-x: hidden;
  }
}

.twmdcb_templestitlebox {
  display: flex;
  justify-content: center;
  padding: 0 60px;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox {
    padding: 0;
  }
}
.twmdcb_templestitlebox .twmdcbt_title {
  display: block;
  margin: 30px 30px 0;
  width: 100%;
  max-width: 600px;
  text-align: center;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox .twmdcbt_title {
    margin: 30px 30px 0;
  }
}
.twmdcb_templestitlebox .twmdcbt_title img {
  width: 100%;
}
.twmdcb_templestitlebox .twmdcbt_lanternL1 img, .twmdcb_templestitlebox .twmdcbt_lanternL2 img, .twmdcb_templestitlebox .twmdcbt_lanternR1 img, .twmdcb_templestitlebox .twmdcbt_lanternR2 img {
  width: 100%;
}
.twmdcb_templestitlebox .twmdcbt_lanternL1 {
  margin: 0 auto;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox .twmdcbt_lanternL1 {
    display: none;
  }
}
.twmdcb_templestitlebox .twmdcbt_lanternL2 {
  margin: 0 auto;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox .twmdcbt_lanternL2 {
    display: none;
  }
}
.twmdcb_templestitlebox .twmdcbt_lanternR1 {
  margin: 0 auto;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox .twmdcbt_lanternR1 {
    display: none;
  }
}
.twmdcb_templestitlebox .twmdcbt_lanternR2 {
  margin: 0 auto;
}
@media all and (max-width: 767.98px) {
  .twmdcb_templestitlebox .twmdcbt_lanternR2 {
    display: none;
  }
}

.twmdcbt_prayerbox {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  position: relative;
  padding: 0px 0;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .twmdcbt_prayerbox {
    grid-template-columns: 1fr 2fr 1fr;
  }
}
.twmdcbt_prayerbox .twmdcbt_dragonheadL,
.twmdcbt_prayerbox .twmdcbt_dragonheadR {
  justify-self: center;
}
.twmdcbt_prayerbox .twmdcbt_dragonheadL img,
.twmdcbt_prayerbox .twmdcbt_dragonheadR img {
  width: 100%;
}
.twmdcbt_prayerbox .twmdcbt_prayertext {
  position: relative;
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #fff;
}
.twmdcbt_prayerbox .twmdcbt_prayertext::before {
  display: none;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox .twmdcbt_prayertext::before {
    display: block;
    position: absolute;
    content: "";
    width: 40px;
    height: 40px;
    background: url(../images/twmdcbtimg_stars.svg) no-repeat;
    background-size: 100% auto;
    right: 15px;
    top: -50px;
    z-index: 5;
  }
}
.twmdcbt_prayerbox .twmdcbt_dragonheadL {
  position: relative;
  margin-right: 30px;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox .twmdcbt_dragonheadL {
    margin-right: 0;
  }
}
.twmdcbt_prayerbox .twmdcbt_dragonheadL::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  background: url(../images/twmdcbtimg_stars.svg) no-repeat;
  background-size: 100% auto;
  right: 0;
  bottom: -50px;
  z-index: 2;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox .twmdcbt_dragonheadL::before {
    display: none;
  }
}
.twmdcbt_prayerbox .twmdcbt_dragonheadR {
  position: relative;
  margin-right: 30px;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox .twmdcbt_dragonheadR {
    margin-right: 0;
  }
}
.twmdcbt_prayerbox .twmdcbt_dragonheadR::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  background: url(../images/twmdcbtimg_stars.svg) no-repeat;
  background-size: 100% auto;
  right: 0;
  top: -50px;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox .twmdcbt_dragonheadR::before {
    display: none;
  }
}
@media all and (max-width: 767.98px) {
  .twmdcbt_prayerbox {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "text text" "left right";
    gap: 20px;
    padding: 40px 0 0px;
  }
  .twmdcbt_prayerbox .twmdcbt_prayertext {
    grid-area: text;
    padding-top: 0;
  }
  .twmdcbt_prayerbox .twmdcbt_dragonheadL {
    grid-area: left;
  }
  .twmdcbt_prayerbox .twmdcbt_dragonheadR {
    grid-area: right;
  }
  .twmdcbt_prayerbox .twmdcbt_dragonheadL img,
  .twmdcbt_prayerbox .twmdcbt_dragonheadR img {
    max-width: none;
  }
}

.twmdcbt_guidebox {
  position: relative;
  padding: 80px 0px 120px;
  background: url("../images/bg_midtop.svg") no-repeat top center, url("../images/bg_midbtm.svg") no-repeat bottom center, linear-gradient(to bottom, #f75949 0, #f75949 30px, #ffdcc6 30px, #ffdcc6 calc(100% - 30px), #f75949 calc(100% - 30px), #f75949 100%);
  background-size: contain, contain, cover;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_guidebox {
    background-size: 500px auto, 500px auto, cover;
  }
}
.twmdcbt_guidebox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/twmdcbtimg_midstar.svg") no-repeat left 5% center, url("../images/twmdcbtimg_midstar.svg") no-repeat right 5% center;
  background-size: 10% auto, 10% auto;
  pointer-events: none;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .twmdcbt_guidebox::before {
    display: none;
  }
}
@media all and (max-width: 767.98px) {
  .twmdcbt_guidebox::before {
    display: none;
  }
}

.twmdcbt_guideboxtitle {
  text-align: center;
  color: #f75949;
  margin-bottom: 90px;
  font-size: 28px;
  font-weight: bold;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_guideboxtitle {
    font-size: 20px;
  }
}

.twmdcbt_guideboxcontext {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_guideboxcontext {
    max-width: 100%;
    grid-template-columns: 1fr;
    padding: 20px 30px;
  }
}
.twmdcbt_guideboxcontext::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: url("../images/bg_midcandle.svg") no-repeat center/contain;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_item {
  background: #fff;
  border-radius: 20px;
  border: 4px solid #d0a157;
  padding: 24px 24px 20px;
  display: grid;
  grid-auto-rows: auto;
  row-gap: 8px;
  text-align: center;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_title {
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_title img {
  width: auto;
  height: 30px;
  display: inline-block;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_desc {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 4px;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_subdesc {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}
.twmdcbt_guideboxcontext .twmdcbt_guide_tips {
  font-size: 14px;
  line-height: 1.6;
  color: #956925;
  align-self: end;
}

.twmdcbt_templebox {
  position: relative;
  display: flex;
  flex-direction: column;
  background: url(../images/bg_btmcloud.svg) no-repeat center bottom;
  background-size: 100% auto;
  padding: 60px 0;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_templebox {
    background-size: 1000px auto;
  }
}
.twmdcbt_templebox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/twmdcbtimg_lanterns1.svg) no-repeat left 5% top, url(../images/twmdcbtimg_lanterns1.svg) no-repeat right 5% top;
  background-size: 80px auto, 80px auto;
  pointer-events: none;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_templebox::before {
    display: none;
  }
}
.twmdcbt_templebox .twmdcbt_temple_row {
  display: flex;
  justify-content: center;
  max-width: 675px;
  margin: 0 auto;
}
@media all and (max-width: 767.98px) {
  .twmdcbt_templebox .twmdcbt_temple_row {
    flex-direction: column;
  }
}
.twmdcbt_templebox .twmdcbt_temple_col {
  flex: 1;
  text-align: center;
  margin: 0px 30px 30px;
}
.twmdcbt_templebox .twmdcbt_temple_img {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}
.twmdcbt_templebox .twmdcbt_temple_img img {
  border: 5px solid #fff;
  border-radius: 25px;
}
.twmdcbt_templebox .twmdcbt_temple_img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: "";
  width: 0;
  height: 0;
  background: rgba(255, 186, 13, 0.5);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.twmdcbt_templebox .twmdcbt_temple_img:hover::before {
  animation: circle 1s;
}
@keyframes circle {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}
.twmdcbt_templebox .twmdcbt_temple_text {
  font-size: 1.5rem;
  font-weight: bold;
  height: 30px;
  margin-top: 5px;
  color: #fff;
}
.twmdcbt_templebox .twmdcbt_temple_link a {
  display: block;
  margin: 10px auto 0px;
  width: 205px;
  height: 43px;
  background: url(../images/btnbg.png) no-repeat;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 5px;
  line-height: 35px;
  transition: ease 0.3s all;
}
.twmdcbt_templebox .twmdcbt_temple_link a:hover {
  transform: scale(1.05);
}

.twmdcbtimg_infotitle {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 100%;
  max-width: 675px;
  margin: 0 auto;
}
.twmdcbtimg_infotitle p::before {
  display: inline-block;
  content: "";
  width: 40px;
  height: 40px;
  margin-right: 15px;
  background: url(../images/twmdcbtimg_infotitleicon.svg) no-repeat;
  vertical-align: middle;
}
.twmdcbtimg_infotitle p::after {
  display: inline-block;
  content: "";
  width: 40px;
  height: 40px;
  margin-left: 15px;
  background: url(../images/twmdcbtimg_infotitleicon.svg) no-repeat;
  vertical-align: middle;
}

.twmdcbtimg_infotext {
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
}
@media all and (max-width: 767.98px) {
  .twmdcbtimg_infotext {
    padding: 0 30px;
    font-size: 1.25rem;
  }
}
@media all and (max-width: 767.98px) {
  .twmdcbtimg_infotext span {
    display: block;
  }
}

.twmdcbtimg_infobox {
  box-sizing: border-box;
  width: 100%;
  max-width: 767px;
  margin: 0 auto;
  font-size: 1.125rem;
  padding-left: 15px;
  padding-right: 15px;
  background-color: rgba(255, 220, 198, 0.8);
  border-radius: 25px;
}
@media all and (max-width: 767.98px) {
  .twmdcbtimg_infobox {
    font-size: 1rem;
  }
}
.twmdcbtimg_infobox ol li {
  line-height: 1.5;
  margin-bottom: 1rem;
}
.twmdcbtimg_infobox ol li ul {
  list-style: lower-alpha;
  margin-left: -1rem;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.tooltip::after {
  display: inline-block;
  content: "";
  width: 30px;
  height: 30px;
  background: url(../images/twmdcbtimg_templeinfoicon.png) no-repeat;
  background-size: 25px;
  vertical-align: middle;
}
.tooltip .tooltiptext {
  box-sizing: border-box;
  visibility: hidden;
  width: 300px;
  background-color: rgba(51, 51, 51, 0.75);
  color: #fff;
  text-align: center;
  border-radius: 0;
  padding: 10px;
  font-size: 1rem;
  font-weight: normal;
  text-align: left;
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: calc(50% - 150px);
  opacity: 0;
  transition: ease 0.3s all;
}
.tooltip:hover .tooltiptext, .tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
  bottom: 52px;
  border-radius: 0 0 20px 20px;
}

/*footer*/
footer {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  background: #fff;
  padding: 15px;
}

#goTopBtn {
  position: fixed;
  right: 5%;
  bottom: 20px;
  cursor: pointer;
}
@media all and (max-width: 767.98px) {
  #goTopBtn {
    right: 50px;
  }
}
@media all and (min-width: 1601px) {
  #goTopBtn {
    right: 5%;
  }
}