footer {
  background-color: #334021;
  clear: both;
  width: 100%;
  position: relative;
  overflow: hidden;
  /* ----- iconBtn ----- */
  /* ----- fotMenu ----- */
  /* ----- info ----- */
}

footer .footerBox {
  padding: 1em 0;
}

@media screen and (max-width: 560px) {
  footer .footerBox {
    padding: 0 0 1em;
  }
}

footer .container {
  padding-left: 16px;
  padding-right: 16px;
}

@media screen and (max-width: 1199px) {
  footer .fotLeft {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2em;
    margin-bottom: 2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media screen and (max-width: 991px) {
  footer .fotLeft {
    margin-bottom: 0;
  }
}

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

footer .logoFot {
  -webkit-transform: translateY(-0.8em);
          transform: translateY(-0.8em);
}

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

@media screen and (max-width: 1199px) {
  footer .logoFot {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    margin-bottom: 0.5em;
  }
}

footer .iconBtnBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

footer .iconBtnBox .linksBox {
  position: relative;
}

footer .iconBtnBox .iconBtn {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 0.2em;
  cursor: pointer;
}

footer .iconBtnBox .iconBtn i {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
}

footer .iconBtnBox .iconBtn:hover i {
  background-color: #989c6e;
}

footer .iconBtnBox .links {
  position: absolute;
  width: 120px;
  top: 34px;
  background-color: #ffffff;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  height: 0;
}

footer .iconBtnBox .links::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  top: -7px;
  left: 10px;
  -webkit-clip-path: polygon(50% 0%, 0 100%, 100% 100%);
          clip-path: polygon(50% 0%, 0 100%, 100% 100%);
  background-color: #ffffff;
}

footer .iconBtnBox .links a {
  color: #334021;
  font-weight: 500;
  padding: 0.3em;
}

footer .iconBtnBox .links a:first-of-type {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

footer .iconBtnBox .links a:last-of-type {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

footer .iconBtnBox .links a:hover {
  background-color: rgba(152, 156, 110, 0.5);
}

footer .iconBtnBox .openLinks.links {
  opacity: 1;
  visibility: visible;
  height: auto;
}

footer .iconBtnBox .btnFb i {
  background-image: url("../images/iFb_w.svg");
}

footer .iconBtnBox .btnIg i {
  background-image: url("../images/iIg_w.svg");
}

footer .iconBtnBox .btnLine i {
  background-image: url("../images/iLine_w.svg");
}

footer .fotMenu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

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

footer .fotMenu li {
  min-width: 100%;
}

footer .fotMenu li a {
  color: #ffffff;
  display: block;
  width: 100%;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

footer .fotMenu li a:hover {
  color: #989c6e;
}

@media screen and (max-width: 1199px) {
  footer .fotMenu {
    border-right: none;
    border-left: none;
  }
}

@media screen and (max-width: 991px) {
  footer .fotMenu {
    -ms-flex-pack: distribute;
        justify-content: space-around;
    padding: 2em 0;
    margin-bottom: 2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}

footer .info, footer .infoTel {
  width: 100%;
  margin-bottom: 1em;
}

footer .info p, footer .info a, footer .info b, footer .infoTel p, footer .infoTel a, footer .infoTel b {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  font-family: "Noto Serif TC", serif;
}

footer .info a:hover, footer .infoTel a:hover {
  color: #989c6e;
}

footer .info p, footer .infoTel p {
  clear: both;
  display: block;
  margin: 0;
}

footer .info b, footer .infoTel b {
  width: auto;
  margin-right: 0.2em;
  height: 30px;
  float: left;
  display: inline-block;
  width: 68px;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  footer .info, footer .infoTel {
    width: 320px;
    max-width: 100%;
    display: table;
    margin: 0 auto 2em;
  }
}

footer .infoTel p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

footer .infoTel b {
  width: auto;
  float: none;
  margin-bottom: 0.2em;
}

footer .infoTel .tel {
  pointer-events: none;
  padding: 0 0.5em;
  font-size: 30px;
  font-weight: 500;
  border: 1px solid #ffffff;
  height: 50px;
  border-radius: 25px;
  margin-bottom: 0.5em;
}

@media screen and (max-width: 960px) {
  footer .infoTel .tel {
    pointer-events: initial;
    font-size: 26px;
    height: 46px;
    border-radius: 23px;
  }
}

footer .cop {
  font-size: 14px;
  color: #ffffff;
  font-family: "Noto Serif TC", serif;
}

#btnTop {
  width: 50px;
  height: 50px;
  background-color: #334021;
  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: #989c6e;
}

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