footer {
  background-color: #222;
  clear: both;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-top: 8px solid #178eb7;
  /* ----- fotMenu ----- */
  /* ----- info ----- */
}

footer .footerBox {
  padding: 2em 0 0;
}

footer .companyName span {
  height: 0;
  visibility: hidden;
  display: block;
  opacity: 0;
  height: 0;
  visibility: hidden;
}

footer .logoFot {
  margin-bottom: 3em;
  display: block;
  text-align: center;
}

footer .logoFot img {
  width: 164px;
  max-width: 100%;
  margin: 0 auto;
}

footer .fotMenu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

footer .fotMenu ul, footer .fotMenu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .fotMenu > ul {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

footer .fotMenu > ul > li {
  padding: 0 1em;
  position: relative;
  margin-bottom: 2em;
  width: calc( 100% /4);
}

footer .fotMenu > ul > li::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  right: 0;
  top: 0;
  z-index: 1;
  display: block;
  background-color: rgba(255, 255, 255, 0.2);
}

footer .fotMenu > ul > li:last-of-type::after {
  display: none;
}

footer .fotMenu li a.title {
  color: #ffffff;
  display: block;
  width: 100%;
  font-family: "Noto Sans TC", Arial, Helvetica;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 0.5em;
}

footer .fotMenu li a.title:hover {
  color: #f38d1b;
}

footer .fotMenu ul.submenu li {
  position: relative;
  padding-left: 0.5em;
}

footer .fotMenu ul.submenu li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 3px;
  height: calc(100% - 16px);
  display: inline-block;
  margin-right: 0.5em;
  background-color: #ffffff;
}

footer .fotMenu ul.submenu li a {
  color: #f38d1b;
  font-family: "Noto Sans TC", Arial, Helvetica;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.7;
}

footer .fotMenu ul.submenu li a:hover {
  opacity: 1;
}

@media screen and (max-width: 991px) {
  footer .fotMenu {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1em 0;
  }
  footer .fotMenu > ul > li {
    width: calc( 100% /2);
  }
}

@media screen and (max-width: 575px) {
  footer .fotMenu {
    padding: 1em 0 0;
  }
  footer .fotMenu > ul > li {
    width: 100%;
    margin-bottom: 1em;
    padding-bottom: 1em;
  }
  footer .fotMenu > ul > li::after {
    width: 100%;
    height: 1px;
    top: auto;
    bottom: 0;
  }
}

@media screen and (max-width: 360px) {
  footer .fotMenu {
    padding-top: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  footer .fotMenu li a.title {
    margin-bottom: 0;
    padding: 0.5em 0;
  }
}

footer .info {
  margin-bottom: 1em;
  overflow: hidden;
}

footer .info p, footer .info a, footer .info b {
  color: #ffffff;
  opacity: 0.7;
  font-size: 16px;
  font-weight: 400;
  font-family: "Noto Sans TC", Arial, Helvetica;
  margin: 0;
}

footer .info i {
  width: 25px;
  height: 25px;
  margin: 0.5em 0.5em 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

footer .info i.iPhone {
  background-image: url(../images/iPhone_w.png);
}

footer .info i.iFax {
  background-image: url(../images/iFax_w.png);
}

footer .info i.iMail {
  background-image: url(../images/iMail_w.png);
}

footer .info i.iMap {
  background-image: url(../images/iMap_w.png);
}

footer .info a:hover {
  opacity: 1;
}

footer .info .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  color: #ffffff;
  margin-bottom: 0.5em;
  padding: 0 0.5em;
}

footer .info .item .txt {
  width: calc( 100% - 80px);
}

footer .info b {
  font-weight: 500;
}

footer .info .tel {
  pointer-events: none;
}

@media screen and (max-width: 960px) {
  footer .info .tel {
    pointer-events: initial;
  }
}

footer .footerBottom {
  background-color: #ffffff;
  border-top: 7px solid #178eb7;
  width: 100%;
  padding: 0.5em 3%;
}

footer .cop {
  text-align: center;
}

footer .cop p {
  font-size: 14px;
  font-weight: 400;
  color: #178eb7;
  font-family: "Noto Sans TC", Arial, Helvetica;
}

#btnTop {
  width: 50px;
  height: 50px;
  background-color: #178eb7;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0;
  position: fixed;
  z-index: 5;
  bottom: 30px;
  right: 1em;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#btnTop i.iArrow {
  width: 40%;
  height: 40%;
  background-image: url(../images/iArrowSty01_w.png);
  background-size: 100%;
  background-repeat: no-repeat;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

#btnTop:hover {
  bottom: 40px;
  background-color: #f38d1b;
}

@media screen and (max-width: 900px) {
  #btnTop {
    width: 42px;
    height: 42px;
    right: 0.5em;
  }
}
