@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
  text-size-adjust: none;
  font-size: 15px;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body {
  background: #fff;
}
/*置頂按鈕*/
.gotop {
  position: fixed;
  right: 15px;
  bottom: 15px;
  width: 50px;
  height: 50px;
  background-color: #9c2d4e;
  padding: 15px 10px;
  /* opacity: 0; */
  transition: all 0.4s ease-in-out 0s;
  z-index: 999;
  border-radius: 10%;
}
.gotop a {
  text-align: center;
  color: rgb(255, 255, 255);
  text-decoration: none;
}
.gotop:active {
  box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
  transition: all 0s;
}

.wap {
  margin: 0;
  width: 100%;
  height: auto;
}
header {
  background: url(../image/header.jpg) no-repeat;
  background-size: cover;
  width: 100%;
  height: 730px;
  background-position: center;
  overflow: hidden;
  position: relative;
}
header .head {
  margin: 0 auto;
  width: 1451px;
  height: 580px;
  position: absolute;
  top: 18.2%;
  left: calc((100% - 1451px) / 2);
  animation: heartBeat 1.8s 0s infinite;
}

main {
  background-color: #ffffff;
}
main .main-wap {
  padding: 50px calc((100% - 1200px) / 2);
  
}
main .main-wap .winners {
  /* margin: 0px ; */
  padding: 20px calc((100% - 1000px) / 2);
  background-color: #800429;
  border-radius: 60px;
  text-align: center;
}
main .main-wap .winners img {
  padding: 0px;
  width: 100%;
  max-width: 400px;
}
main .main-wap .winnerall {
  margin: 30px 0px 0px 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
main .main-wap .winners .winnerall img {
  box-sizing: border-box;
  margin: 10px 0;
  width: 100%;
  max-width: 180px;
}

/* excellent */
main .main-excellent {
  background-image: url(../image/bg-01.jpg);
  background-size: cover;
  padding: 50px calc((100% - 1200px) / 2);
}
main .main-excellent .excellent {
  text-align: center;
  /* margin: 50px 0; */
}
main .main-excellent .excellent > img {
  width: 100%;
  max-width: 400px;
}
main .main-excellent .excellent > div {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 70px 100px;
  margin: 30px 0px 0px 0px;
  background-color: #fff;
  border-radius: 60px;
  text-align: left;
}
main .main-excellent .excellent > div table {
  width: 45%;
  margin: 0 auto;
  border-collapse: collapse;
}
main .main-excellent .excellent > div table td {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 2;
}
main .main-excellent .excellent > div table td:nth-child(3) {
  color: #800429;
}

/* experience */
main .main-experience {
  background-color: #4e9525;
  padding: 50px calc((100% - 1200px) / 2);
}
main .main-experience .experience {
  text-align: center;
  /* margin: 50px 0; */
}
main .main-experience .experience > .titie-img img {
  width: 100%;
  max-width: 505px;
}
main .main-experience .experience ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
main .main-experience .experience ul li {
  position: relative;
  margin: 30px 0px 0px;
  padding: 0px 30px 10px;
  width: 46%;
  background-color: #fff;
  border-radius: 60px;
}
main .main-experience .experience ul li h1 {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 30px;
  font-size: 2.8rem;
  font-weight: 900;
  color: #800429;
  background-color: #ffdf6e;
  border-radius: 0px 0px 10px 10px;
}
main .main-experience .experience ul li h2 {
  margin: 15px 0px;
  color: #9c2d4e;
  font-size: 1.6rem;
  font-weight: 500;
}
main .main-experience .experience ul li h3 {
  display: inline-block;
  margin: 15px 0px;
  padding: 10px 30px;
  color: #800429;
  font-size: 2rem;
  font-weight: 500;
  border-radius: 50px;
  border: #800429 2px dashed;
}
main .main-experience .experience ul li h3 span {
  font-weight: 900;
}
main .main-experience .experience ul li p {
  margin: 15px 0px;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2;
  text-align: justify;
}

/* 留單 */
.main-customer .customer {
  background-color: #ffd142;
  padding: 50px calc((100% - 1200px) / 2);
  width: 100%;
  text-align: center;
}
.customer p {
  font-size: 3rem;
  color: #800429;
  font-weight: 900;
}
.customer > div {
  margin: 30px 0px 0px 0px;
  padding: 20px;
  border-radius: 60px;
  background-color: #fff;
}

footer {
  margin: 0;
  padding: 20px 0;
  width: 100%;
  background-color: #800429;
  text-align: center;
  overflow: hidden;
  z-index: -999;
}
footer ul {
  margin: 0;
  padding: 10px 0 15px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
footer ul li {
  border-left: 1px solid #fed655;
  line-height: 1;
  padding: 0 10px;
}
footer ul li:first-child {
  border-left: 0px;
}
footer ul li a {
  text-decoration: none;
  color: #fed655;
  font-size: 16px;
}
footer p {
  color: #fff;
  line-height: 1.6;
}

/* ===== table+moblie ===== */
@media screen and (max-width: 1250px) {
  main .main-wap {
    padding: 50px 2%;
  }
  main .main-wap .winners {
    padding: 50px 2%;
  }
  main .main-excellent {
    padding: 50px 2%;
  }
  main .main-excellent .excellent > div {
    padding: 50px 0px;
  }
  main .main-excellent .excellent > div table td {
    font-size: 1.3rem;
  }
  main .main-experience {
    padding: 50px 2%;
  }
  main .main-experience .experience ul li h3 {
    font-size: 1.8rem;
  }
  .main-customer .customer {
    padding: 50px 2%;
  }
  footer {
    padding: 20px 2%;
  }
  footer ul li {
    line-height: 2;
  }
}

@media screen and (max-width: 1180px) {
  header {
    background: url(../image/head-tablet.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
    padding-bottom: 68%;
    margin: 0;
  }
  header .head {
    display: none;
  }
}

@media screen and (max-width: 820px) {
  header {
    background: url(../image/head-mobile.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: auto;
    padding-bottom: 68%;
    margin: 0;
  }
  header .head {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  header {
    width: 100%;
    height: auto;
    padding-bottom: 68%;
  }
  header .head {
    display: none;
  }
  main .main-wap {
    padding: 20px 4%;
  }
  main .main-wap .winners {
    /* margin: 20px 0px 50px 0; */
    padding: 15px 0;
    border-radius: 30px;
    text-align: center;
  }
  main .main-wap .winners img {
    width: 65%;
  }
  main .main-wap .winnerall {
    justify-content: space-around;
  }
  main .main-wap .winners .winnerall img {
    width: 100%;
    max-width: 280px;
  }

  /* excellent */
  main .main-excellent {
    padding: 50px 4%;
  }
  main .main-excellent .excellent > img {
    width: 65%;
  }
  main .main-excellent .excellent > div {
    padding: 30px 4% 15px 4%;
    border-radius: 30px;
  }
  main .main-excellent .excellent > div table {
    width: 100%;
  }
  main .main-excellent .excellent > div table td {
    font-size: 1.6rem;
  }
  main .main-excellent .excellent > div table td:nth-child(1) {
    width: 72%;
  }
  main .main-excellent .excellent > div table td:nth-child(2) {
    width: 15%;
  }
  main .main-excellent .excellent > div table td:nth-child(3) {
    width: 13%;
  }

  /* experience */
  main .main-experience {
    padding: 10px 4%;
  }
  main .main-experience .experience ul li {
    width: 100%;
    border-radius: 30px;
  }

  /* 留單 */
  main .main-customer .customer {
    width: 100%;
    padding: 50px 4%;
  }
  .customer p {
    padding: 0 10px;
    font-size: 2.5rem;
  }
  .customer > div {
    padding: 10px;
    border-radius: 30px;
  }

  footer {
    margin: 0;
    padding: 10px 1%;
    width: 100%;
  }
  footer ul {
    margin: 0;
    padding: 10px 0;
  }
  footer ul li {
    margin: 5px 0;
  }
  footer p {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  main .main-wap .winners .winnerall img {
    width: 100%;
    max-width: 220px;
  }
  /* excellent*/
  main .main-excellent .excellent > div table td {
    font-size: 1.3rem;
  }
  main .main-wap .top01 {
    margin-top: 100px;
  }
  main .main-wap .top01 > img {
    width: 300px;
    left: calc((100% - 300px) / 2);
    bottom: calc(100% - 20px);
    top: unset;
  }
  main .main-wap .top02 {
    margin-top: 100px;
  }
  main .main-wap .top02 > img {
    width: 300px;
    left: calc((100% - 300px) / 2);
    bottom: calc(100% - 20px);
    top: unset;
  }
  main .main-wap .top03 {
    margin-top: 100px;
  }
  main .main-wap .top03 > img {
    width: 300px;
    left: calc((100% - 300px) / 2);
    bottom: calc(100% - 20px);
    top: unset;
  }
}

@media (max-width: 500px) {
  main .main-wap .winners .winnerall img {
    width: 100%;
    max-width: 155px;
  }
  /* excellent */
  main .main-excellent {
    background-color: #4e9525;
    background-image: none;
  }
  main .main-excellent .excellent > div table td {
    font-size: 1rem;
  }
  main .main-excellent .excellent > div table td:nth-child(1) {
    width: 70%;
  }
  main .main-excellent .excellent > div table td:nth-child(2) {
    width: 15%;
  }
  main .main-excellent .excellent > div table td:nth-child(3) {
    width: 15%;
  }

  /* experience */
  main .main-experience .experience > .titie-img img {
    width: 85%;
  }
  main .main-experience .experience ul li h1 {
    font-size: 2.5rem;
  }
  main .main-experience .experience ul li h2 {
    font-size: 1.4rem;
  }
  main .main-experience .experience ul li h3 {
    font-size: 1.6rem;
  }
  main .main-experience .experience ul li p {
    font-size: 1rem;
  }
  .customer p {
    font-size: 2.2rem;
  }
}
