/* footer start. */
#footer-pc {
  width: 100%;
  background-color: #e9ecef;
  /* margin-top: 10px; */
}

#footer-pc .footer_container {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0 30px 0;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
}
#footer-pc .footer_container .link_section {
  margin-top: 30px;
  width: fit-content;
  flex: 1;
}
#footer-pc .footer_container .link_section a {
  color: #495057;
  font-size: 13px;
}
#footer-pc .footer_container .link_section a:hover {
  text-decoration: underline;
}
#footer-pc .footer_container .other_section {
  margin-top: 30px;
  flex: 1;
  margin-left: 20%;
}
#footer-pc .footer_container .other_section .social_media {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
#footer-pc .footer_container .other_section .social_media a svg path {
  transition: 0.1s ease;
}
#footer-pc .footer_container .other_section .social_media a:hover svg path {
  fill: #008172;
}

#footer-pc .footer_container .other_section .company_info {
  margin-top: 10px;
  color: #495057;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
#footer-pc .link_section ul {
  display: flex;
  flex-direction: column;
  gap: 5;
}
#footer-pc .link_section ul li {
  list-style: none;
}

#footer-pc .link_section h3 {
  font-size: 16px;
  color: #0a65c2;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: start;
}
#footer-pc .link_section a {
  color: #000000;
  line-height: 20px;
}

#footer-pc .info {
  font-size: 13px;
  color: #555555;
  float: left;
  text-align: right;
  margin-right: 7px;
}
#footer-pc .copyright {
  font-size: 13px;
}
#footer-pc .info .browser_set {
  font-weight: bolder;
  color: #000000;
}
.footerLine {
  border-bottom: #157dc6 5px solid;
  margin-top: 10px;
}
#footerNew {
  font-family: "新細明體";
  margin-top: 23px;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  letter-spacing: 0.5pt;
  color: #545454;
}
#footerNew a:link,
#footerNew a:visited,
#footerNew a:hover,
#footerNew a:active {
  text-decoration: none;
  color: #047fff;
}
#footerNew .infoFooter {
  margin-top: 12px;
}
/* footer end. */

@media (max-width: 768px) {
  #footer-m {
    width: 100%;
    background-color: #e9ecef;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 8rem;
  }
  #footer-m .footer_container {
    width: 100%;
    padding: 10px 21.5px 30px 21.5px;
    display: flex;
    flex-direction: row;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  #footer-m .footer_container .link_section {
    margin-top: 20px;
    width: 20%;
    flex: 1 1 calc(25% - 20px);
    text-align: start;
    min-width: 120px;
  }
  #footer-m .link_section h3,
  .other_section h3 {
    font-size: 15px;
    color: #0a65c2;
    font-weight: 1000 !important;
    margin: 10px 0;
    text-align: start;
  }
  #footer-m .footer_container .link_section a {
    color: #495057;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.6;
  }
  #footer-m .link_section ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  #footer-m .link_section ul li {
    list-style: none;
  }
  #footer-m .footer_container .link_section a {
    color: #495057;
  }
  #footer-m .footer_container .other_section {
    text-align: start;
    margin-top: 20px;
    flex: 1 1 calc(25% - 20px);
  }
  #footer-m .footer_container .other_section .company_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  #footer-m .company_info p {
    color: #495057;
    font-size: 12px;
    margin: 0;
  }
  #footer-m .social_media {
    justify-content: center;
    display: flex;
    gap: 10px;
  }
  #footer-m .footer_container .social_media a svg path {
    transition: 0.1s ease;
  }
  #footer-m .social_media a:hover svg path {
    fill: #008172;
  }
  #footer-m .copyright {
    padding: 15px 10px;
    font-size: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  @media screen and (max-width: 430px) {
    #footer-m .footer_container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}
