html {
  font-size: 10px;
}

body {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  font-family: 'Noto Sans TC', sans-serif, Arial, Helvetica, sans-serif;
  text-align: center;
  background-color: #ffff;
  background-image: radial-gradient(#bdc8c7 0, transparent 0.2rem);
  background-size: 2.4rem 2.4rem;
  line-height: 4rem;
  letter-spacing: 0.09rem;
}
.block-font {
  display: block;
}
.nav .li-1::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  background: #c3dae3;
  width: 13px;
  height: 100%;
  z-index: -1;
}
.shadow {
  box-shadow: rgba(0, 0, 0, 0.1) 0rem 0.6rem 0.7rem 0.2rem,
    rgba(0, 0, 0, 0.06) 0rem 0.2rem 0.6rem 0.2rem;
}
.mt {
  margin-top: 2.6rem;
}

.mt-m {
  margin-top: 4rem;
}
.mt-l {
  margin-top: 8rem;
}

.mb {
  margin-bottom: 2.2rem;
}

.font-bold {
  font-weight: 800;
}

.color-b {
  color: var(--d-black);
}

.color-g {
  color: var(--dark-green);
}
.flex-p {
  display: flex;
}

.bg2 {
  max-width: 40%;
  right: 0;
  top: 0;
}

.bg3 {
  max-width: 80%;
  right: 0;
  bottom: -120px;
}

.bg4 {
  max-width: 20%;
  left: 0;
  top: 50%;
}

.s1 {
  margin: 0 auto;
  padding-top: 12.8rem;
  max-width: 106rem;
}

.s1 .title-s1 {
  display: inline;
  margin: 0 auto;
  padding: 0.4rem 1.3rem;
  font-size: 1.6rem;
  font-weight: 300;
  color: #ffffff;
  background-color: var(--dark-green);
}

.s1 .title-s2 {
  margin-top: 2.3rem;
  margin-bottom: 5.3rem;
  font-size: 3.6rem;
  font-family: 'Noto Serif TC';
  font-weight: 800;
  color: var(--f-bg);
  line-height: 5rem;
  letter-spacing: 0.09rem;
}
img {
  width: 100%;
}
.s1 .down {
  width: 3.2rem;
  padding: 3rem 0 6rem 0;
}
.s1 p {
  margin: 0 auto;
  padding-top: 4.2rem;
  padding-bottom: 3.5rem;
  max-width: 77rem;
  padding: 0 3.1rem;
  font-weight: 500;
  text-align: left;
  color: #404040;
}

.s2,
.s3,
.s4,
.s5 {
  margin: 0 auto;
  max-width: 86rem;
  padding: 0 3.1rem;
}
.s6 {
  margin: 0 auto;
  max-width: 95rem;
}
.pd-l {
  padding-left: 6.1rem;
  padding-right: 6.1rem;
}
.title-green,
.s2 .pd-l,
.s3 .pd-l,
.s5 .pd-l,
.s4 .pd-l {
  text-align: left;
}
.title-green {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 3rem;
  letter-spacing: 0.12rem;
}
.s2 .p1 {
  padding-top: 1.8rem;
  padding-bottom: 3.8rem;
}
.s2 .p2 {
  padding-top: 6rem;
  padding-bottom: 3rem;
}
.s3 {
  padding-top: 8.4rem;
}
.s4 {
  padding-top: 5rem;
}
/* .block.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 77.8rem;
  margin-top: 3rem;
  margin-bottom: 4.4rem;
  padding-left: 6rem;
  padding-right: 6rem;
}
.item {
  width: 24%;
} */
.s5 {
  padding-top: 7.4rem;
}

.footer-bg a {
  font-size: 2rem;
  font-family: 'Noto Serif TC';
  font-weight: 700;
  text-align: left;
  color: var(--f-bg);
  letter-spacing: 0.01rem;
}
.footer-bg {
  display: flex;
  justify-content: center;
  margin-top: 8.8rem;
  margin-bottom: 4.4rem;
}

.icon-a-rightl {
  font-size: 1.4rem;
  margin-left: 0.8rem;
  color: var(--green);
}
.f-item > div {
  display: block;
  position: absolute;
  bottom: 0;
}
.f-item span i {
  font-size: 10px;
  color: var(--dark-green);
  margin-left: 10px;
}
.f-item {
  padding: 20px 18px;
}
.item-1 {
  width: 42%;
  height: 26rem;
  position: relative;
  background: url(../img/button-blue.png);
  background-position: center;
  background-size: cover;
  background-repeat: none;
  margin: 5px 10px;
}
.item-2 {
  width: 42%;
  height: 26rem;
  position: relative;
  background: url(../img/button-green.png);
  background-position: center;
  background-size: cover;
  background-repeat: none;
  margin: 5px 10px;
}

.item-3 {
  width: 42%;
  height: 26rem;
  position: relative;
  background: url(../img/button-pink.png);
  background-position: center;
  background-size: cover;
  background-repeat: none;
  margin: 5px 10px;
}
.item-1:hover,
.item-2:hover,
.item-3:hover {
  transform: scale(0.9);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: all 0.7s ease;
}

.footer {
  margin-top: 15rem;
  margin-bottom: 10.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
}
.footer p {
  display: inline-block;
}

.footer img {
  max-width: 17.6rem;
}

/* re2 */
.text-line {
  line-height: 3;
  letter-spacing: 0.15rem;
  color: var(--green);
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 12px;
  text-decoration-thickness: 1px;
}
.rep2-s5,
.rep1-s5,
.rep3-s5 {
  margin: 0 auto;
  max-width: 95rem;
}

.s3 .rep2-flex {
  display: flex;
  padding-left: 6.1rem;
  padding-right: 6.1rem;
  justify-content: flex-start;
  justify-items: left;
  text-align: left;
  color: #404040;
}
.s3 .rep2-flex .rep2-item {
  flex: 1;
  justify-self: l;
}

/* .icon-d {
    background-image: url('../img/pc/icon.png');
    background-position: center;
    background-size: cover;
    background-repeat: none;
} */
/* re3 */

.rep3-s5 .item-2 {
  position: relative;
  background-image: url('../img/pc/button\ \(3\).png');
  background-position: center;
  background-size: cover;
  background-repeat: none;
  height: 36rem;
}
.rep3-s5 .item-2 img {
  position: absolute;
  bottom: 2.6rem;
  right: 19.6rem;
  width: 6.6rem;
}
.s3.re3 {
  padding-top: 5.4rem;
}
.footer-bg.re3 {
  margin-top: 6.6rem;
}

/* pc-background */

.index-bg3 {
  position: absolute;
  bottom: -106px;
}
.index-bg5 {
  position: absolute;
  width: 30%;
  top: 50%;
}
/* 
mobile re1  */

@media screen and (max-width: 900px) {
  html {
    font-size: 9px;
  }

  .pd-l {
    padding-left: 0;
    padding-right: 0;
  }
  .home p {
    padding-right: 1.6rem;
    padding-left: 1.6rem;
    line-height: 1;
  }
  .s3 .rep2-flex {
    display: flex;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-start;
    justify-items: left;
    text-align: left;
    gap: 1rem;
  }
}

@media screen and (max-width: 650px) {
  html {
    font-size: 7px;
  }
  body {
    font-size: 12px;
  }
  .home p {
    font-size: 2rem;
    padding-right: 1.6rem;
    padding-left: 1.6rem;
    line-height: 1;
  }
  .s1 .title-s2 {
    margin: 2.2rem auto;
    max-width: 42.2rem;
  }
  .block.flex {
    flex-wrap: wrap;
  }
  .block .item {
    width: 48%;
  }
  .blob2,
  .blob1,
  .blob {
    display: none;
  }
  .rep1-s5 .item-1 {
    width: 98%;
  }

  .item-1 {
    width: 98%;
  }

  .item-2 {
    width: 98%;
  }
  .item-3 {
    width: 98%;
  }

  .item {
    width: 48%;
  }

  .footer-bg {
    flex-wrap: wrap;
  }
}
