html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
  height: 100%;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.2s;
}

p {
  margin: 0;
}

img {
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0;
}

/* header */
header {
  width: 100%;
  height: 78px;
  background: #fff;
  box-shadow: 0 0 3px rgba(1, 22, 39, 0.3);
  position: fixed;
  top: 0;
  z-index: 5;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

header .container,
.main .container {
  width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  max-width: 1200px;
}
.main .container {
  width: 65vw;
}

.logo {
  display: inline-block;
  margin: 3px 0 0 0;
  float: left;
}

.web {
  position: absolute;
  margin: 14px 0 0 0;
  left: 50%;
  transform: translateX(-50%);
}

.menu {
  float: right;
  transition: 0.2s;
}

.menu ul {
  padding: 0;
  margin: 11px 0 0 0;
  list-style: none;
}

.menu ul li a {
  display: inline-block;
  color: #0e93e9;
  font-size: 0.76rem;
  border: 1px solid #a1dafb;
  border-radius: 3px;
  /* box-sizing: border-box; */
  height: 53px;
  width: 70px;
  line-height: 85px;
  position: relative;
  transition: 0.2s;
}
.menu ul li span {
  position: relative;
  display: inline-block;
  margin: 0 0 0 5px;
  border-radius: 3px;
}
.menu ul li span:hover {
  background: linear-gradient(#1cc3f0, #0d8ee8);
  color: #fff;
}
.menu ul li span:hover a {
  background: linear-gradient(#1cc3f0, #0d8ee8);
  color: #fff;
}
.menu ul li a:before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  transition: 0.2s;
}

/* .menu ul li a:nth-of-type(1):before {
    background: url(../img/menu01.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(1):hover:before {
    background: url(../img/menu01_h.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(2):before {
    background: url(../img/menu02.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(2):hover:before {
    background: url(../img/menu02_h.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(3):before {
    background: url(../img/menu03.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(4):before {
    background: url(../img/menu04.png) 50% 9px no-repeat;
}

.menu ul li a:nth-of-type(4):hover:before {
    background: url(../img/menu04_h.png) 50% 9px no-repeat;
} */
/* header 結束 */

.main {
  width: 100%;
  min-height: calc(100vh - 78px);
  height: auto;
  background: #f3fbff url(../img/BG.jpg) 50% 50% no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
  margin: 78px 0 0 0;
  position: relative;
  box-sizing: border-box;
}

.main .container {
  min-height: calc(100vh - 78px);
  height: auto;
  display: grid;
  grid-template-columns: 50% 50%;
}
.left {
  position: relative;
  width: 100%;
}
.left img {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 58%;
  transform: translateX(-50%) translateY(-50%);
}
.right {
  position: relative;
  text-align: center;
  width: 100%;
}
.right-box {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.title {
  /* padding-top: 80px; */
  width: 100%;
}
.kf_box {
  padding: 1vw 0 1vw 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.kf_box img {
  margin-top: 0.5vw;
  width: 100%;
}
.kf_btn {
  width: 292px;
  width: 49%;
  height: 5.5vw;
  display: inline-block;
  background-size: 100% auto;
  /* margin: 0 0 15px 0; */
  background-size: contain !important;
}
/* .kf_btn:nth-of-type(1){
    background: url(../img/kf01.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(1):hover{
    background: url(../img/kf01_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(2){
    background: url(../img/kf02.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(2):hover{
    background: url(../img/kf02_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(3){
    background: url(../img/kf03.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(3):hover{
    background: url(../img/kf03_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(4){
    background: url(../img/kf04.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(4):hover{
    background: url(../img/kf04_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(5){
    background: url(../img/kf05.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(5):hover{
    background: url(../img/kf05_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(6){
    background: url(../img/kf06.png) 50% 50% no-repeat;
    background-size: 100% auto;
}
.kf_btn:nth-of-type(6):hover{
    background: url(../img/kf06_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
} */

/* footer */
footer {
  font-family: "微軟雅黑", "Noto Sans TC", "Microsoft Yahei", sans-serif;
  background-color: #353f4b;
  color: #a4acb4;
}

.flex {
  display: flex;
}

.vender-logo-g {
  margin: auto;
  justify-content: center;
}

.vender-logo {
  padding: 36px;
}

.sitemap-link-group nav,
.licence-group-g {
  justify-content: center;
  text-align: center;
}

.licence-group-g {
  padding: 10px 0;
  font-size: 14px;
}

.licence-item {
  padding: 10px 0 15px 0;
  width: 33.33%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.licence-item-img {
  margin: auto;
  width: 200px;
  margin-bottom: 20px;
}

.licence-item-img .img01 {
  margin: auto;
  /* background-image: url(../img/footer/license/lincense01.png); */
  background-repeat: no-repeat;
  height: 39px;
  width: 42px;
}

/* .licence-item-img .img01:hover {
    background-image: url(../img/footer/license/lincense01-hover.png);
} */

.licence-item-img .img02 {
  margin: auto;
  /* background-image: url(../img/footer/license/lincense02.png); */
  background-repeat: no-repeat;
  height: 30px;
  width: 154px;
}

/* .licence-item-img .img02:hover {
    background-image: url(../img/footer/license/lincense02-hover.png);
} */

.licence-item-img .img03 {
  margin: auto;
  /* background-image: url(../img/footer/license/lincense03.png); */
  background-repeat: no-repeat;
  width: 89px;
  height: 25px;
}

/* .licence-item-img .img03:hover {
    background-image: url(../img/footer/license/lincense03-hover.png);
} */

.licence-item-img .img04 {
  margin: auto;
  /* background-image: url(../img/footer/license/lincense04.png); */
  background-repeat: no-repeat;
  width: 169px;
  height: 40px;
}

/* .licence-item-img .img04:hover {
    background-image: url(../img/footer/license/lincense04-hover.png);
} */

.licence-item-img .img05 {
  margin: auto;
  /* background-image: url(../img/footer/license/lincense05.png); */
  background-repeat: no-repeat;
  width: 37px;
  height: 40px;
}

/* .licence-item-img .img05:hover {
    background-image: url(../img/footer/license/lincense05-hover.png);
} */

.copyright {
  text-align: center;
  line-height: 2;
  padding: 20px;
  font-size: 13px;
}

.divi-line {
  margin-top: -20px;
  padding: 0 20px;
}

.divi-line.l01 {
  padding: 0 40px;
}

.ele-lang-wrap {
  width: 100px;
  position: relative;
  top: 1px;
  z-index: 10;
  text-align: left;
  border: 1px solid #727272;
  background: url("../img/lang/dp-icon.png") 80px 1px no-repeat #353f4b;
  padding: 2px;
}

.ele-lang-title {
  height: 20px;
  line-height: 20px;
  cursor: pointer;
  padding-right: 15px;
  text-indent: 5px;
  color: #b0b4b3;
  align-items: center;
  font-size: 12px;
}

.ele-lang-group {
  display: none;
  position: absolute;
  z-index: 100;
  font-size: 12px;
  background-color: #353f4b;
  border-right: 1px solid #aeaead;
  border-left: 1px solid #aeaead;
  border-bottom: 1px solid #aeaead;
  width: 110px;
  margin-top: 5px;
  left: -2px;
  padding: 4px;
}

.w120 {
  width: 120px;
}

.ele-lang-group a {
  height: 22px;
  line-height: 22px;
  display: block;
  text-indent: 5px;
  text-decoration: none;
  color: #b0b4b3;
  /* width: 300px; */
}

.ele-lang-current,
.ele-lang-group a:hover {
  color: #fff;
  background-color: #505050;
}

/* use flag and select */
.ele-lang-wrap,
.ele-lang-option {
  position: relative;
  vertical-align: top;
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.ele-lang-option {
  padding-left: 23px;
}

.ele-lang-flag {
  position: absolute;
  width: 24px;
  height: 22px;
  left: 4px;
  top: 0;
  background: url("../img/lang/cn.png") 2px 2px no-repeat;
}

.ele-lang-zh-cn {
  background: url("../img/lang/cn-hk.png") 2px 2px no-repeat;
}

.ele-lang-en {
  background: url("../img/lang/en.png") 2px 2px no-repeat;
}

.ele-lang-ja {
  background-position: 2px -118px;
}

.ele-lang-ko {
  background-position: 2px -158px;
}

.ele-lang-vi {
  background-position: 2px -198px;
}

.ele-lang-th {
  background-position: 2px -238px;
}

/* footer end */

@media screen and (max-width: 1200px) {
  header .container {
    width: auto;
  }

  .main .container {
    /* width: 100%;
    padding: 30px 0px 0 10px; */
  }

  .card {
    width: calc(33% - 2vw);
    margin: 0 0.8vw 30px 0.8vw;
    vertical-align: top;
  }

  .card img {
    width: 100%;
  }

  .card_btn {
    display: block;
  }

  .card:hover .cover {
    opacity: 0;
  }

  footer {
    display: none;
  }

  .footer_menu {
    display: block;
  }
}

/* @media screen and (max-width: 1000px) {
  .menu,
  .web {
    display: none;
  }

  .web_m {
    display: block;
  }

  .search_m {
    opacity: 1;
  }

  .logo {
    float: initial;
    margin: 8px 0 0 0;
  }

  .logo img {
    height: 60px;
  }
}

@media screen and (max-width: 800px) {
  .main .container {
    padding: 30px 10px;
  }

  .web_m {
    margin: 25px 0 0 0;
    height: 35px;
  }

  .card {
    width: calc(50% - 2vw);
    margin: 0 0.8vw 30px 0.8vw;
    vertical-align: top;
  }

  .lightbox {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  header {
    height: 57px;
  }

  .logo {
    margin: 5px 0 0 0;
  }

  .logo img {
    height: 50px;
  }

  .web_m {
    margin: 15px 0 0 0;
    height: 30px;
  }

  .search_m {
    margin: 12px 0 0 0;
  }

  .search_m img {
    height: 33px;
  }

  .main {
    margin: 57px 0 0 0;
    background: url(../img/BG_m.png) 50% 100% no-repeat;
    background-size: cover;
  }
  .main .container {
    padding-bottom: 80px;
  }

  .card {
    width: calc(50% - 3vw);
    margin: 0 0.8vw 15px 0.8vw;
  }
}

@media screen and (max-width: 340px) {
  .web_m {
    margin: 18px 0 0 0;
    height: 25px;
  }
} */
/* @media screen and (max-width: 1700px) {
  .main .container {
    width: 1130px;
  }
}
@media screen and (max-width: 1600px) {
  .main .container {
    width: 1100px;
  }
}
@media screen and (max-width: 1000px) {
  .main .container {
    width: 800px;
  }
} */