:root {
}

* {
  letter-spacing: 2px;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  touch-action: manipulation;
}

body {
  background: #EEE;
}

#content > section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.leaf1, .leaf2, .leaf3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 3em;
  height: 3em;
  z-index: 5;
  transform-style: preserve-3d;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
}

@media screen and (min-width: 800px) {
  #content {
    max-width: 800px;
    margin: 0 auto;
  }
  .bg img {
    max-width: 800px;
  }
}

#content > section:not(#s1, #s7, #s10) > *:not(.background) {
  position: absolute;
}

#content > section img {
  max-width: 100%;
  display: block;
}

#content > section#s1, #content > section#s7 {
  background: none;
  height: unset;
}

#content > section#s1 img:first-child, #content > section#s7 img:first-child {
  width: 100%;
  height: auto;
  display: block;
}


[data-aos=falling] {
  top: var(--top);
  right: var(--right);
  transform: rotate(60deg) scale(0.8) skewY(50deg);
  width: 4em;
  opacity: 0.5;
}
[data-aos=falling].aos-animate {
  top: var(--endtop);
  right: var(--endright);
  transform: rotate(0deg) scale(1) skewY(0deg);
  opacity: 1;
}

[data-aos][data-aos][data-aos-duration='4500'] {
  transition-duration: 4500ms;
}
[data-aos][data-aos][data-aos-duration='4600'] {
  transition-duration: 4600ms;
}
/* s1 */
#s1 .i1 {
  --top: 30%;
  --right: -10%;
  --endright: 12%;
  --endtop: 73%;
  position: absolute;
}

#s1 .i2 {
  --top: 30%;
  --right: 120%;
  --endright: 22%;
  --endtop: 80%;
  position: absolute;
}

#s1 .i3 {
  --top: -5%;
  --right: 70%;
  --endright: 50%;
  --endtop: 90%;
  transform: translate(50%, 0);
  position: absolute;
}


/* s2 */
#s2 .t1 {
  top: 5%;
  left: 6%;
  width: 68%;
}

#s2 .i1 {
  right: 5%;
  top: 5%;
  z-index: 2;
}

#s2 .p1 {
  left: 0;
  top: 24.3%;
  width: 85%;
}

#s2 .p2 {
  right: 0;
  top: 58%;
  width: 85%;
}

#s2 .i4 {
  left: 6%;
  bottom: 5%;
  width: 50%;
}

#s2 .i2 {
  --top: -5%;
  --right: 50%;
  --endright: 9%;
  --endtop: 51%;
}

#s2 .i3 {
  --top: -5%;
  --right: 30%;
  --endright: 17%;
  --endtop: 53%;
}
/* s3 */
#s3 .t1 {
  top: 5%;
  left: 6%;
  width: 75%;
}

#s3 .i1 {
  right: 5%;
  top: 3%;
  width: 24%;
}

#s3 .p1 {
  left: 0;
  top: 24.3%;
  width: 85%;
}

#s3 .p2 {
  right: 0;
  top: 58%;
  width: 85%;
}

#s3 .i4 {
  left: 4%;
  bottom: 2%;
  width: 65%;
}

#s3 .i5, #s3 .i6, #s3 .i7 {
  width: 11%;
  bottom: 7%;
}

#s3 .i5 {
  left: 55%;
}

#s3 .i6 {
  left: 70%;
}

#s3 .i7 {
  left: 85%;
}

#s3 .i2 {
  --top: -5%;
  --right: 10%;
  --endright: 80%;
  --endtop: 54%;
}

#s3 .i3 {
  --top: -5%;
  --right: 50%;
  --endright: 85%;
  --endtop: 60%;
}

/* s4 */
#s4 .t1 {
  top: 5%;
  left: 6%;
  width: 65%;
}

#s4 .i1 {
  right: 5%;
  top: 2%;
  width: 30%;
} 

#s4 .p1, #s4 .i2, #s4 .p2 {
  left: 0;
  width: 100%;
}

#s4 .p1 {
  top: 22%;
  z-index: 2;
}

#s4 .i2 {
  top: 45%;
}

#s4 .p2 {
  top: 62%;
  z-index: 2;
}

/* s5 */
#s5 .t1 {
  top: 5%;
  left: 6%;
  width: 55%;
}

#s5 .i1 {
  right: 5%;
  top: 2%;
  width: 35%;
} 

#s5 .p1 {
  left: 0;
  top: 17%;
  width: 100%;
}

#s5 .t2 {
  top: 70%;
  left: 6%;
  width: 65%;
}

#s5 .i2 {
  left: 5%;
  bottom: 2%;
  width: 60%;
} 

/* s6 */
#s6 .t1 {
  top: 5%;
  right: 50%;
  transform: translate(50%, 0);
  width: 65%;
}

#s6 .p1 {
  left: 0;
  top: 30%;
  width: 100%;
}

#s6 .i1 {
  --top: -8%;
  --right: 50%;
  --endright: 11%;
  --endtop: 5%;
}

#s6 .i2 {
  --top: -8%;
  --right: 10%;
  --endright: 18%;
  --endtop: 12.5%;
}

#s6 .i3 {
  top: 80%;
  right: 50%;
  transform: translate(50%, 0);
  width: 8em;
}

#s6 .i4 {
  top: 87%;
  right: 30%;
  width: 5.5em;
}

/* s7 */

/* s8 */
#s8 .p1 {
  top: 5%;
  left: 0%;
  width: 90%;
}

#s8 .t1 {
  top: 55%;
  right: 50%;
  transform: translate(50%, 0);
  width: 75%;
}

#s8 .i1 {
  transform: translate(50%, 0);
}

#s8 .i2 {
  transform: translate(50%, 0);
}


#s8 .i1 {
  --top: 0%;
  --right: 70%;
  --endright: 50%;
  --endtop: 85%;
}

#s8 .i2 {
  --top: 0%;
  --right: 10%;
  --endright: 45%;
  --endtop: 90%;
}
/* s9 */
#s9 .t1 {
  top: 5%;
  right: 50%;
  transform: translate(50%, 0);
  width: 60%;
}

#s9 .p1 {
  top: 20%;
  right: 50%;
  transform: translate(50%, 0);
  width: 90%;
}

#s9 .t2 {
  top: 75%;
  right: 50%;
  transform: translate(50%, 0);
  width: 80%;
}

/* s10 */
#content #s10 {
  background: url(../../onePage/img/bg/bg_g.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

#s10 h2 {
  color:#FFF;
  font-size: 3.5em;
  text-align: center;
  letter-spacing: 0.5em;
  font-family: 'Noto Sans TC', sans-serif;
}

#s10 form {
  width: 70%;
  margin: 0 auto;
}

#s10 form > p > label {
  width: 5em;
  font-size: 2em;
  text-align: justify;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1em;
  color: #FFF;
  font-weight: 700;
  font-family: 'Noto Sans TC', sans-serif;
}

#s10 form > p > label:after {
  content: '';
  display: inline-block;
  width: 100%;
}

#s10 form > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2em 0;
  font-family: 'Noto Sans TC', sans-serif;
}

#s10 form > p input, #s10 form select {
  width: calc(100% - 7em);
  font-size: 1.7em;
  padding: 0.3em 0.5em;
  background: #FFFFFF66;
  border: none;
  outline: none;
  color: #6B6B68;
  font-family: 'Noto Sans TC', sans-serif;
}

#s10 form > p select {
  letter-spacing: 0;
}

#s10 form > p select option {
  font-size: 0.5em;
}

.desc p {
  font-size: 1.3em;
  color: #FFF;
  margin: 0.2em 0;
  font-family: 'Noto Sans TC', sans-serif;
}

.desc input {
  width: 2.8em;
  height: 2.8em;
}

.desc p label {
  display: flex;
  align-items: center;
  font-family: 'Noto Sans TC', sans-serif;
}

form input[type="submit"] {
  margin: 1em auto;
  display: block;
  font-size: 1.5em;
  padding: 0.3em 0.5em;
  letter-spacing: 0.5em;
  padding-left: 1em;
  border-radius: 20px;
  border: 2px solid #FFFF;
  background: none;
  backdrop-filter: grayscale(1);
  color: #FFF;
  font-weight: 700;
}

#s10 > iframe {
  margin-top: 3em;
}


#s10 .t1 {
  width: 80%;
  margin: 0 auto;
  display: block;
  margin: 2.5em auto;
}

#s10 .i1 {
  --top: -5%;
  --right: 0%;
  --endright: 18%;
  --endtop: 2%;
  position: absolute;
  width: 8%;
}

#s10 .i2 {
  --top: -5%;
  --right: 0%;
  --endright: 20%;
  --endtop: 4%;
  position: absolute;
}


/**/
.arrow {
  position: relative;
  margin-top: 5em;
  margin-left: 1em;
  display: inline-block;
  bottom: 13%;
  right: 50%;
  transform: translate(50%, 0);
}
.arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 25px;
  height: 25px;
  margin-left: -12px;
  border-left: 5px solid #C8D92F;
  border-bottom: 5px solid #C8D92F;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
.arrow span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
.arrow span:nth-of-type(2) {
  top: 25px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
.arrow span:nth-of-type(3) {
  top: 50px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/**/

/* rwd */

@media screen and (max-width: 700px) {
  #s2 .i1 {
    width: 30%;
  }
  #s6 .i3 {
    top: 82%;
    width: 6em;
  }
  #s6 .i4 {
    width: 4em;
  }
  #s10 form > p > label {
    font-size: 1.5em;
  }
  #s10 form > p input, #s10 form select {
    font-size: 1.2em;
  }
  .desc p {
    font-size: 1em;
  }
  .desc input {
    width: 2em;
    height: 2em;
  }
}

@media screen and (max-width: 500px) {
  [data-aos=falling] {
    width: 3em;
  }
  #s6 .i3 {
    top: 78%;
    width: 5em;
  }
  #s6 .i4 {
    width: 3em;
  }
  .arrow {
    bottom: 12%;
  }
  .arrow span {
    width: 15px;
    height: 15px;
    border-left: 3px solid #C8D92F;
    border-bottom: 3px solid #C8D92F;
  }
  .arrow span:nth-of-type(2) {
    top: 15px;
  }
  .arrow span:nth-of-type(3) {
    top: 30px;
  }
  #s10 h2 {
    font-size: 2.5em;
  }
  #s10 form > p > label {
    font-size: 1.3em;
  }
  #s10 form > p input, #s10 form select {
    font-size: 1em;
  }
  .desc p {
    font-size: 0.8em;
  }
  form input[type="submit"] {
    font-size: 1.3em;
    border-radius: 10px;
  }
}

@media screen and (max-width: 430px) {
  .leaf1, .leaf2, .leaf3 {
    width: 2.5em;
    height: 2.5em;
  }
  #s10 h2 {
    font-size: 2em;
  }
  #s10 form {
    width: 80%;
  }
  #s10 form > p > label {
    font-size: 1.2em;
  }
  #s10 form > p input, #s10 form select {
    font-size: 1em;
  }
}

@media screen and (max-width: 380px) {
  #s10 form > p > label {
    font-size: 1em;
    height: 1.1em;
    width: 6em;
  }
  #s10 form > p input, #s10 form select {
    font-size: 0.8em;
    width: calc(100% - 8em);
  }
}



