

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap');


@font-face {
  font-family: "ChenYuluoyan";
  src: url("../fonts/ChenYuluoyan-Thin.ttf") format("truetype");
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 2%;
}

body, html {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body.modal-open > .parent {
  position: fixed;
  overflow: hidden;
  height: 100%;
}


a:link {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
}



.navbar {
  background-color: #fff;
  height: 72px;
  width: 100%;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9998;
}

.navbar-wrapper {
  width: 100%;
  max-width:1240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0px 20px;
  z-index: 9999;
}

.logo img {
  width: 234px;
  height: 32px;
}

.links a {
  margin: 0 10px;
  text-decoration: none;
  color: #2A2A2A;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.links a:hover::after,
.links a:active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #3f3f3f;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 4px 0;
}

.sidebar {
  display: none;
  flex-direction: column;
  background-color: #3B7BBF;
  position: fixed;
  align-items: center;
  gap:48px;
  top: 72px;
  right: 0;
  width: 300px;
  height: calc(100% - 72px);
  padding: 20px;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.menu-icon{
  width: 24px;
  height: 24px;
}

.sidebar :first-child{
  padding-top: 72px;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar a {
  color: #fff;
  text-decoration: none;
  margin: 10px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

@media (max-width: 1024px) {
  .links {
      display: none;
  }

  .hamburger {
      display: flex;
  }

  .sidebar {
      display: flex;
  }

  .sidebar.open {
      transform: translateX(0);
  }
}

.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


article{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}


.footer-rule{
  background-color: #F7F7F7;
  padding: 24px 0;
  height:auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap:12px 36px;
}

.footer-container{
  background-color: #F7F7F7;
  padding: 24px 0;
  height:auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap:12px 36px;
}



.footer-item{
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-item img{
  width: 200px;
  height: auto;
  text-align: center;
}

.footer-item p{
  color:#006CAF;
  font-size:14px;
  font-weight: bold;
}

.footer-item-img-block{
	display: block;
}

.footer-item-partner img{
    padding-left: 5px;
}

.footer-item.footer-item-mt{
    margin-top: 6px;
}

.footer-item-text{
	display: block;
}

.footer-item .footer-item-content{
  width: 200px;
  height: auto;
  text-align: center;
}

@media only screen and (min-width: 768px) {
	.footer-item-img-block{
		display: flex;
	}
	
	.footer-item-partner img{
		width: 84vw;
		padding-left: 5px;
	}
	
	.footer-item-text{
		display: flex;
	}
	
	.footer-item.footer-item-mt{
		margin-top: 0px;
	}
}

.content {
  padding-top: 108px;
  display:flex;
  justify-content: center;
  flex-direction: column;
  max-width: 1024px;
  
}

.color-white {
  color: white;
}

.color-blue {
  color: #1763A1;
}

.text-center {
  text-align: center !important;
}



.title_divider {
  border-top: 2px solid #1763A1;
  width: 124px;
  margin: auto;
  margin-bottom:56px;
}

.wrapper {
  min-height: 100vh;
  padding: 20px 36px;
  background-image: url("../images/bg_light.png");
  background-size: cover cover;
  background-position: center top;
  background-repeat: repeat no-repeat;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-wrapper {
  min-height: 100vh;
  padding: 15px;
  background-image: url("../images/bg_img.png");
  background-size: cover;
  background-position: center top;
  background-repeat: repeat no-repeat;
  margin: auto;
}


.logo img {
  width: 290px;
  height: 42px;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  font-size: 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-right: 15px;
}

/* index */

.home-wrapper{
  /* min-height: 100vh;
  width: 100vw;
  background-image: url("../images/index/bg_home.png");
  background-size: cover;
  background-position: center top;
  background-repeat: repeat no-repeat;
  background-attachment: fixed; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.background-m{
  display:initial;
  top:72px;
  background: url("../images/index/bg_home_m.png") no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  background-position-x: 50%;
  background-position-y: 50%;
  position: fixed;
  height: 100%;
  width: 100%;
}

.background{
  display:none;
  top:72px;
  background: url("../images/index/bg_home.png") no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  background-position-x: 50%;
  background-position-y: 50%;
  position: fixed;
  height: 100%;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .background-m{
    display:none;
  }
  .background{
    display:initial;
  }

}

.home-wrapper p{
  font-size: 16px;
  color:white;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 0.16em;
  text-align: center;
  z-index: 3000;
}

.home-section{
  position: relative;
  height: 200vh;
  width:100%;
  min-height:600px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}





.home-content-wrapper{
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: calc(10vh + 72px);
  padding-bottom: 10vh;
  width:100%;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  opacity: 0;
  min-height:600px;
}

.home-content-wrapper.shown {
  /* CSS properties for all home sections except the first one */
  opacity: 1;
}


.home-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.letter{
  width: 100px;
  height: auto;
}

.skip-button-container{
  opacity:1;
  display:initial;
  position: fixed;
  bottom: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width:100%;
  z-index: 9950;
}

.skip-button{
  background-color: rgba(0, 0, 0, 0.1);
  padding: 14px 70px;
  color: white;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid rgba(256, 256, 256, 0.8);
  border-radius: 4px;
  cursor: pointer;
}




.cta-border{
  border: 1px solid #fff;
  border-radius: 4px;
  z-index:9000;
}

.cta{
  background-color: #fff;
  padding: 12px 24px;
  color: #5D5D5D;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  border: 0px;
  cursor: pointer;
  margin:6px;
  letter-spacing: 0.16em;
  z-index:9999;
}


.tree-tl {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 60%;
  top: 72px;
  left: -50px;
  display:none;
}

.tree-br {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 70%;
  bottom: 100px;
  right: -50px;
  overflow:hidden;
  display:none
}

.tree-m{
  display:initial;
  position: absolute;
  width: 120%;
  height: auto;
  max-width: 150%;
  bottom: 50px;
  overflow:hidden;
}

#section-A  .home-content-wrapper{
  justify-content: center;
  margin-top:-72px;
}

#section-C  .home-content-wrapper{
  justify-content: start;
  padding-top:30vh;
}

#section-D  .home-content-wrapper{
  justify-content: start;
  padding-top:30vh;
}

.cloud-bl {
  position: absolute;
  width: 50%;
  height: auto;
  max-width: 50%;
  display: none;
  bottom:-50px;
  left: 0px;
  z-index: 10;
}

.cloud-br{
  position: absolute;
  width: 50%;
  height: auto;
  max-width: 60%;
  display: none;
  right: -50px;
  bottom:-20px;
  z-index: 11;
  overflow:hidden;
}

.cloud-bl_m {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 70%;
  bottom:0px;
  display:initial;
  left: 0px;
}

.cloud-br_m{
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 70%;
  bottom:0px;
  display: initial;
  right: -40px;
}

.mountain{
  width: 256px;
  height: auto;
}


.mountain-bl {
  position: absolute;
  width: 65%;
  height: auto;
  max-width: 65%;
  bottom: 0px !important;
  left: 0px;
  z-index: 10;
}

.mountain-br{
  position: absolute;
  width: 70%;
  height: auto;
  max-width: 70%;
  bottom: 0px !important;
  right: 0px;
  z-index: 11;
}

#section-E .home-content-wrapper{
justify-content: start;
padding-top:15vh;
}

.zoom{
  position: absolute;
  width: 105%;
  max-width: 105%;
  height: auto;
  display: none;
  bottom: -200px !important;
  z-index: 10;
}

.zoom-m {
  position: absolute;
  min-width: 300px;
  width: 150%;
  max-width: 150%;
  height: auto;
  display: initial;
  bottom: -20px !important;
  z-index: 10;
  
}

.zoom-visual_m{
  display:initial;
  z-index: 5;
  min-width: 300px;
  width:100%;
  max-width: 100%;
  height: auto;

}

.zoom-visual{
  z-index: 5;
  min-width: 360px;
  width:80%;
  max-width: 100%;
  height: auto;
  display:none;
}

.train{
  position: absolute;
  width:100%;
  min-width: 600px;
  max-width: 100%;
  height: auto;
  bottom: -10px !important;
  z-index: 10;
}

#br-mobile{
  display:block;
}


@media only screen and (min-width: 768px) {
  #br-mobile{
    display: none;
  }

  .zoom-visual{
    display:initial;
  }

  .zoom-visual_m{
    display:none;
  }

  .home-wrapper p{
    font-size: 20px;
    font-weight: 700;
    line-height: 55px;
  }

  .tree-tl {
    width: 100%;
    max-width: 40%;
    left: -50px;
    top: -50px;
    display:initial;
  }

  .tree-br {
    width: 100%;
    max-width: 40%;
    bottom: 0px;
    right: -50px;
    display:initial;
  }

  .tree-m{
    display:none;

  }

  #section-C  .home-content-wrapper{
    justify-content: center;
    padding-top:0px;

  }

  
#section-D  .home-content-wrapper{
  justify-content: center;
  padding-top:0px;
}

  .cloud-bl {
    display:initial;
  }
  
  .cloud-br{
    display: initial;
  }
  
  .cloud-bl_m {
    display: none;
    
  }
  
  .cloud-br_m{
    display: none;
 
  }

  .mountain{
    width: 400px;
  }

  .mountain-bl {
    width: 40%;
    max-width: 40%;
    bottom: 0px !important;
    left: 0px;
  }
  
  .mountain-br{
    width: 40%;
    max-width: 40%;
    bottom: 0px !important;
    right: 0px;
  }

  .zoom{
    display: initial;
  }
  
  .zoom-m {
    display: none;
  }

  #section-B  .home-content-wrapper{
    justify-content: center;
  }



  #section-E .home-content-wrapper{
    padding-top:12vh;
    }



    .train{
      width:100%;
      min-width: 600px;
      max-width: 45%;
      max-height: 50vh;
    }
    

}

@media only screen and (min-width: 1024px) {

  .train{
    min-width: 480px;
    max-width: 55%;
    max-height: 48vh;

  }
  

}


fbtn .text-center {
  text-align: center;
}



.m-b-20 {
  margin-bottom: 20px !important;
}

.m-b-4 {
  margin-bottom: 4em !important;
}

.outline-border {
  display: inline-block;
  border: 2px solid black;
  border-radius: 5px;
  padding: 5px;
}

.btn {
  width: 192px;
  height: 60px;
  border: 2px solid white;
  border-radius: 5px;
  background-color: transparent;
  color: black;
  padding: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.title {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.desc {
  color: rgba(255, 255, 255, 0.6);
}

.content p {
  margin-block-end: 1em;
  font-size: 16px;
  letter-spacing: 0.12em;

}
/* rule */

.rule h2 {
  font-size: 15px;
  letter-spacing: 0.16em;

}

.rule ol li {
  font-size: 15px;
  letter-spacing: 0.16em;
}

.rule .prepare ol {
  padding-left: 1.5em;
}

.rule .process ol {
  list-style-type: none;
}

.article_section{
  margin-bottom: 56px;
  max-width: 748px;
}

.article_section p:last-child{
  margin-block-end: 0;
}

.introduce_content{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.block_section{
    max-width: 900px;
    margin-bottom: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap:wrap;
    gap:28px
  }
  
.block{
  border:1px solid #ABC6DD  ;
  padding: 30px 20px;
  background-color: #EAF1F7;
  display:flex;
  flex-direction:row;
  justify-content: center;
  align-items: center;
  gap:20px
}

.block img{
  width: 60px;
  height: auto;
}


.block-content h3{
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #1763A1;
  font-weight: 700;
  margin-bottom: 15px;
}

.block-content p{
  font-size: 13px;
  letter-spacing: 0.16em;
  line-height: 1.8;
  font-weight: 500;
  padding-bottom: 0px;
}

.last{
  line-height: 1.8;
}

.article_title  {
  display:flex;
  flex-direction: row;
  align-items: center;
  color: #1763A1;
  margin-block-end: 1em;
}

.rule .article_title img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

/* station */

.station-section{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: start;
  gap:24px;
  margin-bottom:64px;
  padding-left: 12px;
  padding-right: 12px;
  
}

.attraction-map{
  width: 300px;
  height: auto;
}

.attraction-block{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap:32px;
}

.attraction-slider{
  width: 360px;
  display:flex;
  flex-direction:row;
  justify-content: center;
  align-items: center;
  overflow:hidden;
  min-height: 280px;
}

.swiper-wrapper{
  align-self:flex-start;
}

.swiper-slide{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  width: 340px;
}

.swiper-slide img{
  display:block;
  width: 300px;
  height: auto;
}

.swiper-slide div{
  display:block;
  width: 90%;
  background-color: #D1E0EC;
  border:none;
  padding:8px 0;
  color: #2D72AA;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-align: center;
  font-weight: 800;
  border-radius:9999px;
}

.swiper-button-next {
  position: relative;
  right:24px;
  color:transparent;
  background-image: url("../images/button/swiper-button-next.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  height: auto;
}

.swiper-button-prev {
  position: relative;
  left:24px;
  color:transparent;
  background-image: url("../images/button/swiper-button-prev.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  height: auto;
}

.swiper-pagination{
  display: absolute  !important;
  top:60px;
}


.swiper-pagination-bullet-active{
  background-color: #1763A1;
}

.detail-grid{
  display:none;
}

.detail-grid.active{
  display:grid;
  gap: 20px;
  grid-template-rows:1fr 3px 1fr 1fr;
  grid-template:
  "a"
  "l"
  "b"
  "c"
}

.item-detail > .detail-bullet {
  margin-bottom:20px
}

.item-detail :last-child {
  margin-bottom:0px
}

.detail-grid p {
  font-size: 13px;
  letter-spacing: 0.16em;
  line-height: 1.8;
  font-weight: 500;
  padding-bottom: 0px;
}


.detail-grid  h3{
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #1763A1;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
}

.detail-grid  a{
  color: #000;
  text-decoration: underline;
}

.item-a {
  grid-area: a;
  max-width: 360px;
}

.item-b {
  grid-area: b;
  display:flex;
  min-width:140px;
  flex-direction:row;
  justify-content: space-between;
  align-items:start;
  gap:20px;
}

.item-b-image {
  width: 100px;
  height: 100px;
  display:flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.30) 100%
  );
}

.item-b-image img{
  width: 50px;
  height: auto;
}

.item-c {
  grid-area: c;
}

.detail-divider {
  grid-area: l;
  border-bottom: 1px solid #000000;
  border-right: none;
}


@media only screen and (min-width: 768px) {
  .station-section{
    flex-direction:row-reverse;
    gap:80px;
  }

  .detail-grid.active{
    grid-template-columns:auto 3px auto auto;
    max-width: 500px;
    grid-template:
    "b l a a"
    "b l c c";
  }

  .item-b {
    flex-direction:column;
    justify-content:start;
    align-items:start;
  }

  .detail-divider {
    border-bottom: none;
    border-right: 1px solid #000000;
  }
  
}

/* journey */

.journey .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.journey .title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 17px;
  letter-spacing: 0.16em;
}

.journey .desc {
  font-size: 15px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-align: center;
}

.station h2 {
  font-size: 15px;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}

.station .desc {
  font-size: 15px;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.station .info {
  position: relative;
  border: 1px solid black;
  border-radius: 5px;
  padding: 15px;
}

.info__open {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  background-color: black;
  color: white;
  padding: 4px 14px;
  border-radius: 5px;
  position: absolute;
  top: 0.5em;
  right: 1em;
}

.station__map {
  position: relative;
  text-align: right;
}
.station img {
  width: 273px;
  height: 278px;
  text-align: center;
}
.station__map__info {
  position: absolute;
  top: 0;
  left: 0.5em;
}

/* mission */

.missions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  margin:auto;
  min-width:348px;
  max-width: 475px;
  margin-top:10px;
}

.missions__mission {
  position: relative;
  border-radius: 4px;
  border: 1px solid #fff;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.30) 100%
  );
  min-height: 100px;
  max-width: 170px;
  cursor: pointer;
}

.missions__mission__name {
  position: absolute;
  font-size: 16px;
  letter-spacing: 0.16em;
  top: 10px;
  left: 14px;
  color: rgba(255, 255, 255, 1);
}

.missions__mission__wait__img {
    background-color: rgb(255 255 255 / 60%);
    min-height: 100px;
    position: sticky;
}

.missions img{
  position: absolute;
  width: 140px;
  height: auto;
  bottom:0px;
  right:8px
}

.treasures {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
  margin: 10px auto;
  max-width: 475px;
  min-width: 348px;
}

.treasures__image__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.30) 100%
  );
}

.treasures__image__wrapper img {
  width: 50px;
  height: auto;
}

@media only screen and (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }

  .nav-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #3b7bbf;
    overflow-x: hidden;
    transition: 0.5s;
    padding: 50px 0px;
  }

  .menu-item {
    margin: 0 auto;
    padding-top: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu .menu-item a {
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
  }

  .nav-menu a:hover {
    color: #f1f1f1;
  }

  

  .nav-menu li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    color: white;
  }

  .nav-menu.show {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 250px;
  }
}



@media only screen and (min-width: 768px) {

  .last{
    text-align:center !important;
  }

  .block_section{
    flex-wrap: nowrap;
  }

  .block{
    max-width: 220px;
    flex-direction:column;
    min-height: 320px;
    justify-content: start;
 
  }

  .title_divider {
    width: 270px;
  }

}