@charset "UTF-8";

/* slogan */
.slogan h1 {
  transform: translateY(60%);
}
.Video--wrapper {
  width: 100%;
  margin: auto;
  overflow: hidden;
  position: relative;
}
.Video--wrapper::before {
  width: 100%;
  height: 120%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  display: block;
  background-image: url(https://cdn.mygame.com.tw/efunad/img/pattern.png);
}
.mouse {
  width: 2rem;
  height: 0;
  padding-bottom: 4rem;
  background-image: url(https://cdn.mygame.com.tw/efunad/img/icon/mouse.svg);
  background-size: contain;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
}
.mouse div {
  width: 100%;
  height: 0;
  padding-bottom: 40%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(https://cdn.mygame.com.tw/efunad/img/icon/arrow.svg);
  background-size: contain;
  z-index: 3;
  animation: mouse 1s linear infinite;
}
#myVideo {
  width: 100%;
  min-width: 1200px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* section */
.contentBox--wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  padding-bottom: 0;
}
.content1,
.content2 {
  position: relative;
}
.content1 {
  width: 45%;
  text-align: center;
  padding-right: 2.5%;
}
.content1 h2,
.content1 h4,
.content1 p {
  text-align: left;
}
.content1 .more {
  margin-top: 15%;
}
.content2 {
  width: 45%;
  padding: 1.5% 3%;
  border: 1px solid #ccc;
  background-color: #fff;
  min-width: 460px;
  opacity: 0;
}
.content2 .list--dice {
  list-style: disc inside;
}
.content2 div {
  width: 100%;
  display: block;
  padding: 4% 0;
  border-top: 1px solid #ccc;
}
.title .letter {
  display: inline-block;
  line-height: 1em;
  transform-origin: 0 0;
}

.content2 div h4 {
  line-height: clamp(1.5rem, 2vw, 2.5rem);
}
.content2 div h3,
.content2 div ul,
.content2 div p {
  width: 77%;
  display: inline-block;
}

.content2 .imgLeft {
  width: 17%;
  max-width: 100px;
  margin-right: 2%;
}
.content2 div:first-child {
  border: none;
}
/* .content2 h3 {
  line-height: clamp(1.5rem, 2.5vw, 5rem);
} */
.content2 div.img--wrapper {
  border: none;
  width: unset;
  display: inline-block;
  padding: 0;
}
.content2 div.img--wrapper img {
  height: clamp(1.3rem, 1.7vw, 2rem);
  margin: 0;
  max-width: 100%;
}
.adhero-logo {
  height: clamp(1rem, 1.3vw, 1.5rem) !important;
}
/* .content2 div.img--wrapper img:nth-child(1) {
  width: 50%;
}
.content2 div.img--wrapper img:nth-child(2) {
  width: 13%;
}
.content2 div.img--wrapper img:nth-child(3) {
  width: 13%;
} */
.content2 p img {
  width: auto;
  height: 2rem;
  margin: 0 0.5rem;
}
.content3 {
  width: 100%;
  margin: 10% auto 10%;
}
.content3 .contentBox--wrapper {
  width: 100%;
  flex-wrap: nowrap;
  align-items: stretch;
  padding: 0;
}
.brand {
  width: 90%;
}
.brandBox {
  width: 25% !important;
  box-shadow: rgb(0 0 0 / 20%) 0px 6px 20px 0px,
    rgb(0 0 0 / 10%) 0px 2px 4px 0px,
    rgb(255 255 255 / 2%) 0px 0px 0px 1px inset;
}
/* .brandBox .cretification {
  width: 85%;
  margin: 11% auto 0;
} */
.brandBox .cretification {
  width: 80%;
  margin: 0% auto;
  padding: 6% 0;
  height: 80%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.brandBox .cretification img {
  width: 100%;
  height: auto;
  margin: 0 auto 4%;
  display: block;
}
.brandBox .cretification.fb img:first-child {
  width: 100%;
  height: auto;
  margin: 0 auto 4%;
  display: block;
}
.brand--logo {
  height: 5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.brand--logo img {
  max-height: 52px;
  display: block;
  margin: auto;
  max-width: 100%;
}
.brand--logo .google-logo {
  max-height: 72px;
}
.brandBox p {
  padding-bottom: 2%;
  display: flex;
  /* height: 3rem; */
  align-content: center;
  justify-content: center;
  align-items: flex-start;
}
/* .brandBox p {
  padding-bottom: 6%;
  display: block;
} */
/* .brandBox .cretification.fb img:first-child{
  max-width: unset;
} */
.brandBox .cretification.fb {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.cretification.fb img {
  width: 30%;
  height: auto;
  margin: 2% auto;
}

.content4 h2 {
  width: 90%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.content4 p {
  display: block;
  width: 100%;
  margin: 3% auto 0;
}
.content4 .swiper-slide {
  flex-direction: column;
}
.content4 .news-swiper {
  margin: 2% 0 0;
}
.content4 .swiper-pagination {
  position: relative;
  margin: 2% auto;
}
.content5 {
  overflow-x: hidden;
}
.content5 .serviceBox {
  width: 100%;
  margin: auto;
  position: relative;
  background-position: top center;
  background-size: 100% auto;
  height: 0;
  padding-bottom: 42%;
}
.serviceBox div {
  width: 40%;
  margin: auto;
  height: auto;
  position: absolute;
  padding: 3%;
  top: 50%;
  left: 50%;
  background-color: white;
  border: 1px solid #f1f1f1;
}
.serviceBox p {
  margin: -2% 0 0;
}
.serviceBox a.more {
  float: right;
}
.s1 {
  background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_01.png);
}
.s2 {
  background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_02.png);
}
.s3 {
  background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_03.png);
}
.s4 {
  background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_04.png);
}
.s1 div,
.s3 div,
.s2 div,
.s4 div {
  margin-top: -190px;
}
.content6 {
  background-image: url(https://cdn.mygame.com.tw/efunad/img/clientBg.jpg);
  background-size: contain;
  padding: 8% 0;
  background-color: #fff;
}
.content6 h2 {
  display: block;
  text-align: center;
}
.clientBox {
  margin: 5% auto 0;
  text-align: center;
  display: flex;
  width: 100%;
  max-width: 1400px;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: center;
  align-items: stretch;
}
.clientBox h3 {
  font-weight: 900;
  margin-bottom: 5%;
}
.clientBox div {
  width: 25%;
  padding: 2% 4%;
  color: #000;
  display: flex;
  flex-direction: column;
  border-left: 1px solid;
}
.clientBox div:last-child {
  border-right: 1px solid;
}
.clientBox div::before {
  color: #000;
  width: 1px;
  content: " ";
  display: block;
}
.clientBox div input {
  width: 95%;
  pointer-events: none;
  border: none;
  margin: auto;
  display: inline-block;
  background: transparent;
  text-align: center;
  font-size: clamp(3.2rem, 3.5vw, 4rem);
  line-height: clamp(3.5rem, 3.7vw, 4.2rem);
  word-break: keep-all;
}
.clientBox div span {
  width: 100%;
  display: block;
  margin: auto;
}
@media screen and (max-width: 960px) {
  .s1 div,
  .s3 div,
  .s2 div,
  .s4 div {
    margin-top: 15%;
  }
  .content1 {
    width: 100%;
    padding-right: unset;
    padding-bottom: 13%;
  }
  .content2 {
    width: 100%;
    padding: 1.5% 3%;
    min-width: unset;
  }
  .content1 .more {
    margin-top: 3%;
  }
  .content2 div h3,
  .content2 div ul,
  .content2 div p {
    width: 70%;
    display: inline-block;
  }
  .content2 div ul {
    margin: 1% 0 0 1.5%;
  }
  .content2 div.img--wrapper {
    width: 50%;
    /* margin: 2% 0; */
  }
  .brandBox {
    width: 30% !important;
    padding: 3% 2%;
  }
  .brand--logo {
    height: 4rem;
  }
  .brand--logo img {
    max-width: 190px;
    max-height: 40px;
  }
  .brandBox .brand--logo .google-logo {
    max-height: 55px;
  }
  .brandBox .cretification img,
  .brandBox .cretification.fb img:first-child {
    max-width: 250px;
    margin: 0 auto 5%;
  }
  .brandBox .cretification {
    width: 70%;
    height: 35vw;
    padding: 6% 0 0 0;
  }
  .content4 h2 {
    width: 90%;
  }
  .clientBox {
    width: 85%;
  }
  .clientBox div {
    width: 50%;
    padding: 2% 4%;
    margin-bottom: 3%;
  }
  .clientBox div:nth-child(2) {
    border-right: 1px solid;
  }
  .content4 .swiper-pagination {
    margin: 7% auto 2%;
  }
  .content5 .serviceBox {
    padding-bottom: 96%;
    background-size: 160% auto;
  }
  .content5 .serviceBox:nth-child(odd) {
    background-position: top left;
  }
  .content5 .serviceBox:nth-child(even) {
    background-position: top right;
  }
  .serviceBox div {
    width: 90%;
    padding: 3%;
    left: 5%;
  }
  .serviceBox p {
    margin: 0%;
  }
  .s1 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_01.png);
  }
  .s2 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_02.png);
  }
  .s3 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_03.png);
  }
  .s4 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_04.png);
  }
  .s2 div,
  .s4 div {
    left: 95%;
  }
  .content5 .serviceBox .underline::before {
    bottom: -30%;
  }
}

@media screen and (max-width: 480px) {
  .content4 .swiper-pagination {
    display: none;
  }
  .brandBox .cretification img,
  .brandBox .cretification.fb img:first-child {
    max-width: 250px;
    margin: 0 auto 0%;
  }
  .content5 .serviceBox {
    padding-bottom: 135%;
    background-size: 100% auto;
  }
  .s1 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_m01.png);
  }
  .s2 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_m02.png);
  }
  .s3 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_m03.png);
  }
  .s4 {
    background-image: url(https://cdn.mygame.com.tw/efunad/img/serviceBg_m04.png);
  }
  .s1 div,
  .s3 div,
  .s2 div,
  .s4 div {
    margin-top: 20px;
  }

  .content5 .serviceBox.s4 {
    padding-bottom: 142%;
  }
  .content6 {
    background-size: 170% auto;
    background-position-y: 90%;
  }
  .content2 div h3,
  .content2 div ul,
  .content2 div p {
    width: 100%;
  }
  .content2 div.img--wrapper {
    width: 43%;
  }
  .content2 .imgLeft {
    margin-right: 0%;
  }
  .content2 div h4 {
    margin-top: 0%;
  }
  .contentBox--wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
  }
  .content2 .list--dice li {
    list-style: disc inside;
    margin-left: 0.5rem;
  }
  .clientBox div input {
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: clamp(2.2rem, 3.7vw, 4.2rem);
  }
  .brandBox {
    padding: 5% 2%;
    margin: 3% auto;
    width: 80% !important;
  }
  .brand {
    min-height: 5.5rem;
  }
  /* .brandBox p {
    height: 4rem;
  } */
}

.news-swiper .swiper-pagination-bullet {
  margin-left: 10px;
}
