@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;400;500;600;700&display=swap);

html,body{
	font-family:'Noto Sans TC','微軟正黑體',sans-serif;
	font-size:10px;
	color:#fff;
	text-size-adjust:100%;
	-webkit-text-size-adjust:100%;
  height:auto;
/*   overflow: hidden; */
  letter-spacing: .125em;
}

body{
/*   overflow:scroll; */
}

/*.arboria{font-family:arboria,Arial,'Noto Sans TC','微軟正黑體',sans-serif}*/


img,svg{width: 100%;height: auto;display: block;}

img{max-width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);}



@media screen and (min-width: 1000px) {
    html {
        font-size: calc(10 / 1920 * 100vw);
    }
}

@media screen and (max-width: 999px) {
    html {
        font-size: 1.3333vw;
    }
}


@media screen and (max-width: 750px) {
    html {
        font-size: 1.3333vw;
    }
}

html,body{
/*   overflow-x: hidden; */
}
section{
  position: relative;
  width: 100%;
  overflow: hidden;
}

.event{
  background: url('../images/map_bg.jpg');
  background-size: cover;
  height: 107.5rem;
  margin-top: -1px;
}
.rule-btn{width:59rem ;position: absolute;bottom: 10.3rem;right: calc(50% + 17rem);cursor: pointer;}

.update-btn{width:59rem ;position: absolute;bottom: 10.3rem;left: calc(50% + 17rem);cursor: pointer;}
.update-btn input{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}
.fixed-btn{position: absolute;width: 11.4rem;right: 2rem;top: 50%;transform: translateY(-50%);-webkit-transform: translateY(-50%);z-index: 9;cursor: pointer;}

.taiwan-canvas{
  width: 57.3rem;
  position: absolute;
  bottom: 2.5rem;
  left: calc(50% + 10rem);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.event-number{
  font-size: 5.1rem;
  font-weight: bold;
  position: absolute;
/*   display: flex;
  justify-content: center;
  align-items: center; */
  top: 11rem;
  left: 23%;

}
.event-number p{display: inline-block;}
.event-number span{
  font-size: 7.4rem;
  background: #781D4C;
  border: 1px solid #fff;
  line-height: 7.1rem;
  height: 7.1rem;
  padding: 0 .125em;
  margin: 0 .25rem;
/*   display: inline-block; */
}
#canvas{
  background: #000;
}

footer{
  position: relative;
  background: #781D4C;
  padding:40px 50px 15px 50px;
}

.footer-links{
  margin-bottom: 60px;
}
footer > p{
  font-size: 23px;
  line-height: 1.5em;
  margin-bottom: 1em;
}
.copyright{
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

.copyright p{
  font-weight: bold;
  color: rgb(202 202 230 / .62);
  font-size: 20px;
  margin-bottom: 0;
}
.footer-links{display: flex;justify-content: space-between;align-items: center;}
.footer-links p{font-size: 15px;margin-right: 1em;}
.footer-links > div{display: flex;align-items: center;}
.link-hope{width: 14.2rem;display: inline-block;}
.link-fb{width: 17.5rem;display: inline-block;margin-right: 40px;}
.link-yt{width: 16.1rem;display: inline-block;}

.photo-pop{
  position: fixed;
  width: 108rem;
  height: 95dvh;
  z-index: 99;
  background:#ED7044 ;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.download-btn{
  width: 29.8rem;
  margin-top: 20px;
}
.privey-pop,.rule-pop{
  position: fixed;
  width: 186rem;
  height: 95dvh;
  z-index: 10;
  background:#ED7044 ;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.privey-pop{
  padding: 8rem 4rem 4rem 4rem;

}
.privey-pop  .content,.rule-pop .content{
  padding: 0 10.5rem;
  font-size: 3.4rem;
  line-height: 1.5em;
}
.privey-pop .content{
  padding: 1em;
  font-size: 2.1rem;
  line-height: 1.5em;
  height: 100%;
  color: #fff;
  overflow-y: scroll;
}
.privey-pop .content ul{
  padding-left: 1em;
}
.privey-pop .content ul li{margin: 1rem 0;}
.rule-steps{
  width: 165.6rem;
  margin: 0 auto;
  margin-top: 8dvh;
}
.close-btn{
  position: absolute;
  width: 5.4rem;
  right: 3rem;
  top: 3rem;
  cursor: pointer;
}

.photowall,.create,.photo-step3{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #F5AD48;
  z-index: 9;
  padding-top:15dvh ;
}
.photowall{
  overflow-y: scroll;
}
.create,.photo-step3{
  overflow: auto;
  padding-bottom: 50px;
    -webkit-user-select: none; /* Safari */
  user-select: none;
}
.photowall::before,.create::before,.photo-step3::before{
  content: "";
  width: 100%;
  height: 13.1rem;
  background: url('../images/bg-top.png') center top no-repeat;
  background-size: 100% auto;
  position: absolute;
  left: 0;
  top: 0;
}
.photowall::after{
  content: "";
  width: 22.5rem;
  height: 34.5rem;
  background: url('../images/wall-ing.png') center top no-repeat;
  background-size: 100% auto;
  position: absolute;
  left: 0;
  bottom: 0;
}
.photo-pop-pic{
  width: 502px;
}
.create::after,.photo-step3::after{
  content: "";
  width: 58rem;
  height: 70dvh;
  background: url('../images/sec-ing.png') left bottom no-repeat;
  background-size: auto 100%;
  position: fixed;
  left: 0;
  bottom: 0;
}
.title{
  font-size: 4.4rem;
  text-align: center;
  font-weight: bold;
  color: #fff;
}
.wall-title{
  width: 36.9rem;
  margin-bottom: 5dvh;
}

.wall-content{
  
  width: 90%;
  margin: 0 auto;
  margin-top: 10dvh;
}
.wall-list{
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}
.swiper-wrapper{
  -webkit-user-select: none; /* Safari */
  user-select: none;
}
.home-btn{
  width: 31.1rem;
  position: absolute;
  top: 15dvh;
  left: 7.2rem;
  cursor: pointer;
}
.swiper-slide{cursor: pointer;}
.prev-btn{
  position: absolute;
  width: 31.1rem;
  top: 15dvh;
  left: 7.2rem;
  z-index: 3;
  cursor: pointer;
}

.next-btn{
  position: absolute;
  width: 31.1rem;
  top: calc(750px + 15dvh);
  right: 7.2rem;
  z-index: 3;
  cursor: pointer;
}

.create-canvas{
  width: 502px;
  height: 703px;
  margin: 0 auto;
  margin-top: 40px;
  position: relative;
}
.create-tools{
  position: absolute;
  right: calc(100% + 30px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
.zoom-in-btn{width: 62px;}
.zoom-out-btn{width: 62px;margin-top: 12px;}
.again-btn{width: 192px;margin-top: 60px;}

.frame-container{
  position: absolute;
  width: 446px;
  height: 446px;
  left: 28px;
  top: 92px;
  background: #000;
  z-index: 0;
}
.create-frame{
  left: 0;
  top: 0;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.frame-tools{
  position: absolute;
  left: calc(50% + 350px );
  top: 50%;
  transform: translateY(-50%);
}
.frame-tools div{display: flex;align-items: center;margin: 5rem 0;}
.frame-tools input[type='radio']{display: none;}
.frame-tools label{position: relative;}
.frame-tools label:before{
  content: "";
  display: block;
  border-radius: 3rem;
  width: 6rem;
  height: 6rem;

}
.frame-tools span{font-size: 3.2rem;margin-left: 1em;}
.frame-tools input#frame1 + label:before{  background: #771D4C;}
.frame-tools input#frame2 + label:before{  background: #ED7044;}
.frame-tools input#frame3 + label:before{  background: #0F1E3B;}

.frame-tools input:checked + label:after{
  content: "";
  position: absolute;
  background: url('../images/check.svg') center center no-repeat;
  background-size: 100% auto;
  width: 80%;
  height: 100%;
  top: 0;
  left: 10%;
}
.create-canvas2{
  position: relative;
  margin-left: 0;
  margin-right: 10rem;
}
.photo-content{
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: 5rem;
  padding-right: 10rem;
  z-index: 1;
}

.slogin-tools{

}
.slogin-tools > div{display: flex;margin-bottom: 4rem;align-items: center;}
.slogin-tools input[type='radio']{display: none;}
.slogin-tools span{font-size: 3.2rem;margin-left: 1em;}
.slogin-tools label{
  position: relative;
  border-radius: 3rem;
  width: 6rem;
  height: 6rem;
  background: #ED7045;
  display: block;
}
.slogin-tools label:before{
  content: "";
  display: block;
  border-radius: 3rem;
  width: 6rem;
  height: 6rem;
  background: url('../images/arrow.png');
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;

}
.slogin-tools input:checked + label{
  background: #781D4C;
}
.text-option {position: relative;margin-left:2rem ;}
.text-option img{
  width: 56.3rem;
}

.text-option span{
  font-size: 3.2rem;
  position: absolute;
  margin-left: 0;
  left: 9.2rem;
  white-space:nowrap;
  top: 2rem;
}
.autoinput{
  font-size: 3.2rem;
  position: absolute;
  margin-left: 0;
  left: 9.2rem;
  top: 2rem;
  display: flex;
}
.autoinput input{
  width: 100%;
  font-size: 3.2rem;
  background: transparent;
  outline: none;
  border: none;
  color: #fff;
  margin-left: .5em;
}
.font-input,.font-no{width: 4.7rem;}
.text-option .no-inputtext{display: flex;align-items: center;}
.text-option .no-inputtext span{
  position: relative;
  left: 1em;top: 0;
}
.slogin-tools > p{
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.25em;
}
.slogin-tools > p a{
  color: #3580B4;
  text-decoration: underline;
}
.finish-btn {
  font-size: 4.4rem;
  font-weight: bold;
  margin-top: 2rem;
}
.finish-btn img{width: 31.1rem;}



.authorize-pop{
  position: fixed;
  width: 100rem;
  max-height: 95dvh;
  height: 76.8rem;
  z-index: 10;
  background:#ED7044 ;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding:4rem 14rem ;
}

.authorize-pop .title{
  margin-bottom: .5em;
}
.authorize-pop .content{
  padding: 1em;
  font-size: 2.1rem;
  line-height: 1.5em;
  background: #fff;
  height: 100%;
  color: #781D4C;
  border-radius: 2.5rem;
}
.authorize-pop .content ul{padding-left: 1em;}
.form-pop{
  position: fixed;
  width: 976px;
  max-height: 95dvh;
/*   height: 76.8rem; */
  z-index: 10;
  background:#ED7044 ;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 25px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  padding:4rem 12rem ;
  overflow-y: scroll;
}
.form-title{
  width: 608px;
  margin-bottom: 50px;
}
.form-pop .title{
  margin-bottom: 25px;
  font-size: 38px;
}
.form-btns{
  display: flex;
  margin: 42px 0;

}
.form-btns > div{
  margin: 0 50px;
  font-size: 38px;
  line-height: 54px;
  height: 60px;
  border-radius:30px ;
  border: 3px solid #fff;
  padding: 0 1em;
  cursor: pointer;
}
.form-btns > div:hover{
  color: #ED7044;
  background: #fff;
}
.form-pop .content{
  padding: 1em;
  font-size: 21px;
  line-height: 1.5em;
  background: #fff;
  color: #781D4C;
  border-radius: 25px;
}
.form-pop .content ul,.rule-txt{
  padding-left: 1em;
}
.rule-title{
  font-size: 24px;
  margin: .5em 0;
}


.formbox li{
  display: flex;
  align-items: center;
  margin: 22px 0;
  flex-wrap: wrap;
}
.formbox label{
  width: 5.25em;
  font-size: 38px;
  line-height: 53px;
}
.form-tiptxt{
  font-size: 14px;
/*   padding-left: calc(38px * 5.25); */
  width: 504px;
  line-height: 1.5em;
  margin: 1em 0 0 0;
  
}

.formbox input{
  width: 504px;
  height: 53px;
  border-radius: 27px;
  outline: none;
  border: none;
  font-size: 22px;
  padding: 0 .75em;

}
.mb{display: none;}

.wall-list-wrap{width: 100%;position: relative;margin-bottom: 30px;}
.swiper-button-prev,.swiper-button-next{
  background: url('../images/arrow-btn.svg') center center no-repeat;
  width: 6rem;
  height: 6rem;
  background-size: cover;
}
.swiper-button-prev{left: -7rem;}
.swiper-button-next{right: -7rem;}
.swiper-button-prev:after,.swiper-button-next:after{
  content: none;
}
.swiper-button-prev{
  transform:scaleX(-1);
  -webkit-transform:scaleX(-1);
}
#mapCanvas{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}


@media (min-width: 1001px) and (max-height: 860px) {
  .photo-pop-pic{
    width: auto;
    height:80%;
  }
  .photo-pop-pic img{
    height: 100%;
    width: auto;
  }
}

@media (max-width: 1000px) and (max-width: 767px) {
  .photo-pop{
    max-width: 75%;
    height: 90dvh;
  }
}
@media (max-width: 1000px) {
  .pc{display: none;}
  .mb{display: block;}
  .event{
    background: url('../images/mb/map_bg.jpg');
    background-size: cover;
    height: 85.4rem;
  }
  .taiwan-canvas{
    width: 39.8rem;
    bottom: 8.6rem;
    left: 22.5rem;
    transform: none;
  }
  .rule-btn{width: 27.6rem;bottom: 5.5rem;right: initial;left: 3.2rem;}
  .update-btn{width: 27.6rem;bottom: 5.5rem;left: initial;right: 3.2rem;}

  .footer-links{
    flex-direction: column-reverse;
  }
  .footer-links > div:nth-child(1){
    margin-top: 5rem;

  }
  footer{padding: 3.2rem 5rem 4rem 5rem;}
  .footer-links p{font-size: 2.1rem;}
  .link-hope{width: 15.8rem;}
  footer > p{
    font-size: 3.4rem;
  }
  footer > p.footer-txt2{
    font-size: 3rem;letter-spacing: 0;
  }
  .copyright{
    padding-top: 1rem;
    flex-direction: column;
  }
  .copyright p{
    font-size: 2.7rem;
    margin-bottom: 1em;
    line-height: 3.7rem;
    letter-spacing: 0;
  }
  .close-btn{width: 4.1rem;right: 2rem;top:2rem}
  /*  rule */
  .rule-steps{
    width: 45.6rem;
    margin-top: 3rem;
  }
  .photo-pop,.rule-pop{
    width: 68.5rem;
    height: auto;
    padding-bottom: 4rem;
    border-radius: 2rem;
    padding-top:4rem ;
  }
  .privey-pop{
    width: 68.5rem;
    max-height: 90dvh;
    border-radius: 2rem;
  }
  .photo-pop{
    padding-top: 10rem;
  }
  .photo-pop-pic{
    width: 90%;
  }
  .create-tools{
    right: initial;
    left: calc(100% + 2rem);
    bottom: 0rem;
    align-items: flex-start;
  }
  .zoom-in-btn{width: 3.8rem;}
  .zoom-out-btn{width: 3.8rem;margin-top: 1rem;}
  .again-btn{width: 11.8rem;margin-top: 60px;position: absolute;bottom: -5rem;right: calc(100% + 2rem);}


  .privey-pop .content,.rule-pop .content{font-size: 2.4rem;padding: 0 3.5rem;line-height: 1.25em;}
  .event-number{font-size: 2.8rem;left: 9rem;top: 7.5rem;}
  .event-number span {
      font-size: 4rem;
      background: #781D4C;
      border: 1px solid #fff;
      line-height: 4rem;
      height: 4rem;
      padding: 0 .125em;
      margin: 0 .125rem;
  }
  .fixed-btn{
    width: 4.5rem;
  }


  /*  step2  */
  .create, .photo-step3{
    padding-top: 9rem;
  }
  .title{font-size: 2.5rem;}
  .prev-btn,.home-btn{
    width: 15.4rem;
    top: 8.3rem;
    left: 3.8rem;
  }
  .wall-content{
    width: 80vw;
  }
  .finish-btn img{width: 15.4rem;}
  .photo-content{
    margin-top: 6rem;
  }
  .create-canvas {
      width: 38.6rem;
      height: 54rem;
      margin: 0;
      margin-top: 0px;
      position: relative;
  }
  .frame-tools{
    position: relative;
    left: 0;
    top: 8rem;
    transform: none;
    margin-left: 7.3rem;
  }
  .frame-container{
    width: 34.3rem;
    height: 34.3rem;
    left: 2.1rem;
    top: 7rem;
  }
  #canvas,#canvas2{
    width: 100%;
    height: 100%;
  }
  .create::after, .photo-step3::after{
    width: 35rem;
    height: 45rem;
  }
  .frame-tools label:before {
      border-radius: 2.2rem;
      width: 4.4rem;
      height: 4.4rem;
  }
  .frame-tools span{font-size: 2.3rem;}
  .next-btn{
    width: 15.4rem;
    right: 4rem;
    bottom: initial;
    top: 77.7rem;
  }
  .photo-step3 .title{padding-left: 6em;}
  .photo-step3 .photo-content{
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }
  .slogin-tools label,
  .slogin-tools label:before {
      width: 3.9rem;
      height: 3.9rem;
  }
  .text-option img{width: 35.9rem;}

  .text-option span{
    font-size: 2rem;
    left: 6rem;
    top: 1rem;
  }
  .autoinput {
      font-size: 2rem;
      left: 6rem;
      top: 1rem;
  }
  .slogin-tools{
    
    
    margin-top: 3.5rem;
  }
  .autoinput input{font-size: 2rem;}
  .font-input, .font-no{width: 2.9rem;}
  .slogin-tools > div{
    width: fit-content;
    width: 43rem;
    margin: 0 auto;
    margin-bottom: 3rem;
  }
  .slogin-tools > p{
    font-size: 1.7rem;
    line-height: 1.5em;
  }
  .slogin-tools > div.finish-btn{
    width: auto;
    position: absolute;
    right: 4rem;
    top: 105rem;
    margin: 0;
    font-size: 2.5rem;
  }

  .authorize-pop{
    width: 68.5rem;
    height: auto;
    padding: 5rem 3.2rem 3rem 3.2rem;
    border-radius: 2rem;
  }
  .authorize-pop .title{
    margin-bottom: 1em;
  }

  .form-pop{
    width: 68.5rem;
    border-radius: 2rem;
    padding: 5rem 3.2rem 3rem 3.2rem;
  }
  .form-title{
    width: 40.5rem;
    margin-bottom: 1rem;
  }

  .formbox li{
    margin:0 0 3rem 0;
    justify-content: center;
  }
  .formbox label{
    width: 5.5em;
    font-size: 2.5rem;
    line-height: 3.6rem;
  }
  .form-tiptxt{
    width: 40rem;
    font-size: 1.4rem;
  }
  .formbox input{
    width: 40rem;
    height: 4rem;
    line-height: 4rem;
    border-radius: 1.8rem;
    font-size: 2rem;
  }
  .form-btns {
    margin: 3rem 0;
}
  .form-btns > div {
      margin: 0 3.4rem;
      font-size: 3rem;
      line-height: 5rem;
      height: 5.4rem;
      border-radius: 2.5rem;
      border: .2rem solid #fff;
      padding: 0 1em;
      cursor: pointer;
  }
  .form-pop .title{
    margin-bottom: 1.5rem;
    font-size: 2.6rem;
  }
  .rule-title{
    font-size: 2.4rem;
    margin: .5em 0;
  }

  .form-pop .content{
    width: 100%;
    font-size: 2rem;
  }
  .swiper-button-prev, .swiper-button-next{
    width: 4rem;
    height: 4rem;
    top: 50%;
  }
}

.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, .swiper-pagination-fraction{
  position: relative;
  top: initial;
  bottom: initial;
  margin-top: 2rem;
}
.swiper-pagination-bullet{
  width: 3rem;
  height: 3rem;
  text-align:center;
  line-height: 3rem; 
  font-size: 1.8rem;
  background: #fff;
  opacity: .8;
  color: #781d4c;
  -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.swiper-pagination-bullet:hover,.swiper-pagination-bullet-active{
  background: #781d4c;
  color: #fff;
  opacity: 1;
}