/* -------------------------- 中間大圖 -------------------*/
.homebig {
  background: url(../pic/商家專區.jpg);
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
}

.bigpic {
  position: relative;
}

.filter {
  width: 100%;
  height: 100%;
  background-color: rgba(202, 202, 202, 0.3);
  position: absolute;
  z-index: -1;
}

.line {
  width: 100%;
  height: 10px;
  background-color: #c17b3a;
}

.bigpic h1 {
  font-size: 78px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
  margin-top: 200px;
}

.bigpic p {
  color: #4b4b4b;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.4;
  margin-bottom: 200px;
}
.bigpic span {
  color: #47eb19;
}

/* ----------------------------------------- 開通流程 -------------------------------------- */
.pass {
  margin: 0 auto;
  max-width: 890px;
  padding: 0 20px;
}

.cards {
  counter-reset: my-awesome-counter;
  margin-top: 50px;
  margin-bottom: 50px;
}

.big {
  display: flex;
}

.card:nth-child(2n + 1) {
  margin-right: 50px;
}

.card {
  background-color: #fff2e5;
  border-radius: 13px;
  width: 50%;
  height: 30vh;
  position: relative;
  counter-increment: my-awesome-counter;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.card img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  object-fit: cover;
}

.card::before {
  content: counter(my-awesome-counter);
  color: #756e6e;
  font-size: 50px;
  font-weight: bold;
  position: absolute;
  left: -50px;
  line-height: 94px;
  width: 94px;
  height: 94px;
  top: -30px;
  background: white;
  border-radius: 50%;
  text-align: center;
}

.article {
  width: 430px;
  margin-top: 20px;
  letter-spacing: 4px;
}

.article h3 {
  color: #756e6e;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 30px;
}

.article p {
  font-size: 18px;
  font-weight: 600;
  color: #756e6e;
  line-height: 30px;
}

.article ul {
  list-style: disc;
  margin-left: 20px;
}

.article ol {
  list-style-type: decimal;
  margin-left: 20px;
}

.article li {
  margin: 20px;
}

/* ------------------------------------------- middle ------------------------------------ */
.outbg {
  background-color: #fff2e5;
  padding: 0 20px;
}
.middle {
  max-width: 890px;
  margin: auto;
  padding-top: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
}

.bigList {
  display: flex;
}

.List {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 70px;
}

.List a {
  margin-top: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #756e6e;
}

/* ------------------------------------------------ bottom ------------------------------------ */
.back {
  margin: 0 auto;
  max-width: 890px;
  padding: 0 20px;
}

.bottom {
  margin: 0 auto;
  max-width: 890px;
  padding: 0 20px;
}

.backend {
  margin: 0 auto;
}

.bot {
  display: flex;
  justify-content: center;
}

.leftSection,
.rightSection {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  flex-direction: column;
}

.button {
  display: flex;
  margin: 30px;
}

.button a {
  /* display: block; */
  text-decoration: none;
  color: #333333;
  display: flex;
  position: relative;
}

.aEng,
.aIos {
  margin-right: 50px;
}

.ios i {
  font-size: 40px;
  line-height: 65px;
  padding-left: 20px;
}

.ios i,
.eng i {
  font-size: 40px;
  line-height: 65px;
  padding-left: 20px;
}

.Andorid i {
  font-size: 40px;
  line-height: 70px;
  padding-left: 13px;
}

.taiwanese i {
  font-size: 40px;
  line-height: 70px;
  padding-left: 18px;
}

a .ios,
.Andorid,
.eng,
.taiwanese {
  background-color: #f3e5d8;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: -15px;
  z-index: 2;
}

.font {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.font h4 {
  font-size: 20px;
  color: #333333;
  margin: 30px 0;
  letter-spacing: 3px;
  padding: 0 60px;
}

.font p {
  width: 295px;
  font-size: 18px;
  letter-spacing: 5px;
  color: #756e6e;
  text-align: center;
  padding: 0 60px;
  line-height: 1.6;
}

.button .iosright {
  width: 170px;
  height: 35px;
  background-color: #f3e5d8;
  border-radius: 10px;
  font-size: 18px;
  color: #756e6e;
  /* position: absolute; */
  top: 20px;
  left: 60px;
}

.fontright h4 {
  font-size: 20px;
  color: #333333;
  margin: 30px 0;
  letter-spacing: 3px;
  padding: 0 60px;
}

.fontright p {
  width: 295px;
  font-size: 18px;
  letter-spacing: 5px;
  color: #756e6e;
  text-align: center;
  padding: 0 60px;
}

a .iosright {
  margin-top: 15px;
}

.iosright h5 {
  font-size: 18px;
  color: #756e6e;
  letter-spacing: 2px;
  padding: 10px 40px;
}

/* -------------------------------------- 加入我們 ----------------------------------- */

.joinUs,
.readMore {
  /* display: flex;
  width: 300px;
  height: 65px;
  margin-left: 25px; */
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.leftSection__bottom,
.rightSection__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.leftSection__bottom a,
.rightSection__bottom a {
  display: flex;
  margin: 20px auto;
  font-size: 39px;
  color: #333333;
  text-decoration: none;
  box-sizing: border-box;
}

.leftSection__bottom a i,
.rightSection__bottom a i {
  transition: all 1.5s;
}

.leftSection__bottom a h6,
.rightSection__bottom a h6 {
  padding-right: 50px;
}

.leftSection__bottom a:hover i,
.rightSection__bottom a:hover i {
  transform: translate(100%);
}

/* ====================== RWD ================================== */
@media screen and (max-width: 768px) {
  /* ================================ middle =========================== */
  .bigList {
    flex-direction: column;
  }

  .List {
    margin-bottom: 30px;
    margin-left: 0;
  }

  /* ========================== pass & bottom =========================== */
  .big {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .article {
    width: auto;
  }

  .card {
    margin: 0;
    width: 100%;
  }

  .card::before {
    left: -30px;
  }

  .card:nth-child(2n + 1) {
    margin: 0;
  }

  .article h3 {
    margin: 30px 0;
    text-align: center;
  }

  .button {
    flex-direction: column;
    align-items: center;
  }

  .button a {
    margin-bottom: 30px;
    margin-right: 0;
  }

  .bot {
    flex-direction: column;
    align-items: center;
  }

  .font {
    display: block;
    text-align: center;
    line-height: 1.6;
  }

  .font h4 {
    padding: 0;
  }

  .font p {
    font-size: 18px;
    letter-spacing: 5px;
    color: #756e6e;
    padding: 0 30px;
  }

  .leftSection__bottom a:hover i,
  .rightSection__bottom a:hover i {
    transform: none;
  }

  .leftSection__bottom a i,
  .rightSection__bottom a i {
    animation: translate 2s infinite;
    /* transform: translate(100%);
    transition: all 2s; */
  }

  @keyframes translate {
    0% {
      transform: translate(0%);
    }
    100% {
      transform: translate(100%);
    }
  }
}
