/* footer */
footer {
  width: 100%;
  height: auto;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.875rem;
}

footer {
  background-color: #FFFFFF;
}

.foot-spons {
  width: 100%;
  margin: 0 auto;
  padding: 1vw 3.2vw 4vw;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media(max-width:1920px) {
  .foot-spons .list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .foot-spons .list:last-child {
    width: 100%;
    margin: 0;
  }
}

.foot-spons .list .title {
  flex: 1;
  text-align: center;
  color: #525355;
  margin-right: 20px;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.foot-spons .list-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-spons .list-main .title {
  margin-right: 0;
}

.foot-spons .list .spons {
  flex: 11;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0;
}

.foot-spons .list .spons a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  border: 1px solid #F6F6F6;
  height: 70px;
}

.foot-spons .list-main .spons a {
  height: 100px;
}

.foot-spons .list .spons a img {
  width: inherit;
  max-width: none;
  max-height: 68px;
  transform: scale(1);
  object-fit: contain;
}

.foot-spons .list-main .spons a img {
  max-height: 92px;
}

.foot-spons .list .spons a img:hover {
  transform: scale(1.01);
}

@media (max-width: 1024px) {
  .foot-spons {
    width: 100%;
    margin: 0 auto;
    padding: 3.2vw 6vw;
  }
}

@media (max-width: 768px) {
  .foot-spons {
    width: 100%;
    margin: 0 auto;
    padding: 4vw;
  }

  .foot-spons .list {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 0px;
  }

  .foot-spons .list-main {
    flex-direction: unset;
    flex-wrap: wrap;
  }

  .foot-spons .list .title {
    font-size: 0.875rem;
    margin-right: 0px;
    text-align: left;
  }

  .foot-spons .list .spons a {
    margin: 6px 6px 6px 0;
    height: 12vw;
  }

  .foot-spons .list .spons a img {
    max-height: 12vw;
  }

  .foot-spons .list-main .title {
    text-align: center;
  }

  .foot-spons .list-main .spons a {
    margin: 6px;
  }

  .foot-spons .list-main .spons a img {
    max-height: 10vw;
  }
}

@media (max-width: 500px) {
  .foot-spons {
    width: 100%;
    margin: 0 auto;
    padding: 4vw;
  }

  .foot-spons .list .title {
    font-size: 0.875rem;
    margin-right: 0px;
    text-align: left;
  }

  .foot-spons .list .spons a {
    height: 12vw;
  }

  .foot-spons .list .spons a img {
    max-height: 12vw;
  }

  .foot-spons .list-main .title {
    text-align: center;
    font-size: .75rem;
  }

  .foot-spons .list-main .spons a {
    margin: 6px;
  }

  .foot-spons .list-main .spons a img {
    max-height: 12vw;
  }

  .list-impor {
    margin-top: 1vw;
  }

}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.foot-main {
  color: #fff;
  background: rgb(44, 58, 136);
  background: linear-gradient(90deg, rgba(44, 58, 136, 1) 0%, rgba(0, 97, 200, 1) 100%);
  display: flex;
  align-items: flex-start;
}

.foot-main .wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 50px 0;
}

.foot-menu {
  width: 65%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: .875rem;
}

.foot-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.foot-title {
  position: relative;
  margin-bottom: 14px;
}

.foot-title p {
  position: relative;
  text-align: left;
}

.foot-title p::before {
  content: "";
  position: absolute;
  background: #38D200;
  bottom: -4px;
  left: 0px;
  width: 14px;
  height: 1px;
}

.foot-menu li a {
  text-align: left;
  color: #F0F0F0;
  font-size: .75rem;
  margin: 4px 0;
  display: flex;
}

.foot-menu li a:hover {
  color: #FFF;
}

.foot-info {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 40px;
}

.foot-info .c-info {
  width: 100%;
}

.foot-info .list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-info .list a {
  width: 100%;
  max-width: 262px;
  padding: 14px 10px;
  border-radius: 10vw;
  color: #fff;
  background: #38D200;
  border: 2px solid #38D200;
  box-shadow: 0px 3px 0px #0F3C80;
  font-size: 1rem;
  font-weight: 800;
}

.foot-info .list a:hover {
  border: 2px solid #fff;
}

.foot-info .list .txt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.foot-info .list .txt .pic {
  margin-right: 10px;
}

.foot-info .list .txt .pic img {
  width: auto;
  height: 41px;
}

.foot-info .list .txt .name {
  text-align: left;
}

.foot-info .list .txt .name h2 {
  font-size: .875rem;
}

.foot-info .list .txt .name p {
  font-size: .75rem;
}

.c-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0px;
}

footer .rules {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

footer .rules a {
  color: rgb(255, 255, 255, .7);
  font-size: .875rem;
}

footer .rules a:hover {
  color: rgb(255, 255, 255, 1);
}

footer .rules .line {
  width: 1px;
  height: 10px;
  background: rgb(255, 255, 255, .5);
  margin: 0px 10px;
}

.c-social p {
  font-size: .75rem;
  text-align: left;
  color: rgb(255, 255, 255, .7);
  margin-top: 0px;
}

.foot-main .wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.foot-menu,
.foot-info {
  width: 100%;
  margin: 0;
}

.foot-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media(max-width:1280px) {
  .foot-main .wrapper {
    padding: 36px 24px;
    grid-template-columns: 1fr;
  }
}

@media(max-width:768px) {
  .foot-main .wrapper {
    padding: 24px 16px;
  }

  .foot-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 26.0806隱藏 */
.foot-menu ul:nth-child(2) li:last-child,
.foot-menu ul:nth-child(3) li:nth-child(2),
.foot-menu ul:nth-child(3) li:last-child {
  display: none;
}