footer {
  background-color: #ececec;
  clear: both;
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
}
footer .container {
  max-width: 1400px;
  padding: 5em 3%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
footer .leftBox {
  width: 300px;
}
footer .fotMenu {
  width: 280px;
  margin-top: 70px;
  display: flex;
  justify-content: space-around;
}
footer .fotMenu ul, footer .fotMenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .fotMenu li {
  min-width: 100%;
}
footer .fotMenu li a {
  color: #929292;
  display: block;
  width: 100%;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 0.5em;
}
footer .fotMenu li a:hover {
  color: #45916b;
  text-decoration: underline;
}
footer .logoFot {
  margin-bottom: 1em;
}
footer .logoFot img {
  width: 164px;
  height: 62px;
  margin: 0;
}
footer .fotInfo {
  width: 100%;
  margin-bottom: 2em;
}
footer .fotInfo p, footer .fotInfo a, footer .fotInfo b {
  color: #333;
  font-size: 14px;
  font-weight: 400;
}
footer .fotInfo a:hover {
  color: #45916b;
}
footer .fotInfo p {
  margin-bottom: 1em;
  display: block;
}
footer .fotInfo b {
  width: auto;
  margin-right: 0.2em;
  height: 30px;
  float: left;
  display: inline-block;
}
footer .fotInfo .tel {
  pointer-events: none;
}
@media screen and (max-width: 960px) {
  footer .fotInfo {
    width: auto;
  }
  footer .fotInfo .tel {
    pointer-events: initial;
  }
}
footer .rightBox {
  width: 380px;
  margin-top: 70px;
}
footer .rightBox img {
  margin-bottom: 1em;
  font-size: 12px;
}
footer .rightBox .cop {
  font-size: 14px;
  color: #9a9a9a;
}
@media screen and (max-width: 1024px) {
  footer .container {
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2em 3%;
  }
}
@media screen and (max-width: 640px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    padding: 2em 3% 0;
  }
  footer .leftBox, footer .fotMenu, footer .rightBox {
    margin: 0;
    margin-bottom: 1em;
    padding-bottom: 1em;
    width: 400px;
    max-width: 100%;
    border-bottom: 1px solid #bbb;
  }
  footer .rightBox {
    border: none;
  }
  footer .fotMenu {
    justify-content: space-between;
  }
  footer .fotInfo {
    margin-bottom: 0;
  }
}

#btnTop {
  width: 46px;
  height: 46px;
  background-color: #333;
  padding: 0;
  border: none;
  position: absolute;
  z-index: 5;
  bottom: 20px;
  right: 1em;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#btnTop img {
  transform: rotate(180deg);
}
#btnTop:hover {
  bottom: 40px;
  transition: all 0.3s ease 0s;
}
@media screen and (max-width: 900px) {
  #btnTop {
    width: 42px;
    height: 42px;
    right: 0.5em;
  }
}