@charset "utf-8";

body {
  letter-spacing: 1px;
  font-family: "Microsoft JhengHei";
}

body img {
  max-width: 100%;
}

body a {
  transition: all 200ms ease-out 0s;
}

body a:focus,
body [type=button]:focus,
body [type="submit"]:focus,
body select:focus {
  outline: 3px #f44336 dotted !important;
  outline-offset: -3px;
  opacity: 1;
}

body input:focus, body select:focus,body textarea:focus {
  background-color: #ffeb3b !important;
  color: #000 !important;
  outline: 3px #f44336 dotted !important;
}

.into {
  position: absolute;
}

.into a {
  opacity: 0;
}
.pin{
    position: absolute;
    top: -150px;
}
/*上方區塊*/
header {
  position: relative;
  max-width: 1200px;
  margin: auto;
  width: 100%;
  padding: 10px 10px;
}


.logo .name {
    padding: 0 0 0 6px;
}

.logo .name p {
    margin: 0;
    line-height: 110%;
}

.logo .name_en {
    font-size: 0.1em;
    letter-spacing: 0;
    color: #8e8e8e;
}

.logo .name_ch {
    color: #353535;
    font-weight: bold;
    font-size: 90%;
}


.logo .name_title {
    color: #00958c;
    font-weight: bold;
    font-size: 115%;
    margin: 2px 0 0 0;
}

.logo a {text-decoration: none;}

.toplink {
  position: absolute;
  top: 0;
}
/*lightbox搜尋*/
.modal-content .search input {
  font-size: 110%;
  border: none;
  background-color: #dedede;
  padding: 5px 10px;
  width: 100%;
}

.modal-content .search .keyword {
  color: #000000;
  font-size: 110%;
  letter-spacing: 1px;
  margin: 0;
  font-weight: bold;
}

.modal-content .search>label {
  position: absolute;
  width: 100%;
  top: 0;
}

.modal-content .search .keyword svg {
  width: 20px;
  margin: -3px 0px 0 2px;
  height: 20px;
}

.modal-content .search .keyword svg .a {
  fill: #000;
}

.search_link a,
.search_link {
  color: #358fc6;
  padding: 5px 5px 5px 0;
}

.search_bt a {
  background-color: #338ec6;
  color: #fff;
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
}

.search_bt a:hover {
  text-decoration: none;
  background-color: #115682;
}

.search_bt a svg {
  width: 16px;
  height: 17px;
  fill: #fff;
  margin: -3px 0 0 0;
}

.modal-content .hotsearch {
  font-size: 95%;
  width: 100%;
  padding: 5px;
  position: relative;
}

.modal-content .hotsearch a {
  color: #009688;
  text-decoration: none;
}

.modal-content .hotsearch a:hover {
  text-decoration: underline;
}

.modal-content .adv a {
  color: #000;
  text-decoration: underline;
}

.modal-content .search .search_bt {
  padding: 0;
}

.modal-content .search {
  display: flex;
  padding: 30px 0 0 0;
  position: relative;
}

.modal-content .search_bt input[type="button"],
.modal-content .search_bt input[type="submit"] {
  margin: 0;
  background-color: #00897c;
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 6px 10px;
  color: #fff;
  font-size: 105%;
}
@media screen and (min-width: 480px) {
  .modal-content .adv {
    position: absolute;
    right: 15px;
    bottom: 20px;
  }
}

/*搜尋*/
.searchen .search input {
  border: none;
  padding: 5px 10px;
  width: 100%;
}

.searchen .search .keyword {
  color: #04837d;
  margin: 0;
  font-weight: bold;
  font-size: 120%;
  white-space: nowrap;
}


.searchen .search .keyword svg {
  width: 20px;
  margin: -3px 0px 0 2px;
  height: 20px;
}

.searchen .search .keyword svg .a {
  fill: #000;
}

.search_link a,
.search_link {
  color: #358fc6;
  padding: 5px 5px 5px 0;
}

.search_bt a {
  background-color: #338ec6;
  color: #fff;
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
}

.search_bt a:hover {
  text-decoration: none;
  background-color: #115682;
}

.search_bt a svg {
  width: 16px;
  height: 17px;
  fill: #fff;
  margin: -3px 0 0 0;
}

.searchen .hotsearch {
  font-size: 95%;
  width: 100%;
  padding: 5px;
  position: relative;
}

.searchen .hotsearch a {
  color: #095e73;
  text-decoration: none;
}

.searchen .hotsearch a:hover {
  text-decoration: underline;
}

.searchen .adv a {
  color: #000;
  text-decoration: underline;
}

.searchen .search .search_bt {
  padding: 0;
}



.searchen .search_bt input[type="button"],
.searchen .search_bt input[type="submit"] {
  margin: 0;
  background-color: #019e97;
  color: #fff;
  width: 35px;
  background-image: url(../images/all/ic_search.svg);
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  background-size: 70%;
}


@media (min-width:992px) {
  .logo img {
    width: 80px;
}
  .searchen .search {
  width: 460px;
}
.searchen .search input {
  border: none;
  background-color: #ececec;
  padding: 5px 10px;
  width: 100%;
}
  header {
    padding: 15px 0;
  }

  header.smaller {
    display: none;
  }
  .social {
    display: none;
  }
  
}
@media (max-width:992px) {
  header{box-shadow: rgb(0 0 0 / 30%) 0 5px 5px;
}}
  
  header.smaller {
    position: fixed;
    top: 0;
    z-index: 99;
    background-color: #ffffff;
    max-width: 100%;
  }

  .logo {
    left: 10px;
    padding: 0 70px 0 0;
  }
    .logo img {
    width: 60px;
}
  .social ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  }
  .social ul li{
  width: 33.333%;
  padding: 10px;
  }
  .social ul li a{
  display: block;
  }
  .searchen .search>label {display: none;}
.searchen {
    padding: 10px 0;
}
  .searchen .search input{
    background-color: #efefef;
}
}

@media screen and (min-width: 480px) {
  .searchen .adv {
    position: absolute;
    right: 15px;
    bottom: 20px;
  }
}


/*fat*/
@media screen and (min-width: 992px) {
.fatfoot {
  background-image: url("../images/all/fatbg.jpg");
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 9;
  background-position: center bottom;
}
.fatfoot .btn {
  position: absolute;
  z-index: 9;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  text-indent: -9999px;
  background-color: #ffffff;
  border-radius: 50px;
  top: 0;
  transition: all 200ms ease-out;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fatfoot .btn:focus {
    outline: 3px #f00 dotted;
    background-color: #ffffff;
}
.fatfoot .btn.collapsed {
  top: 0;
}
.fatfoot .btn:before {
  content: "點選收合";
  color: #ffffff;
  top: 52px;
  display: block;
  text-indent: 0;
  white-space: nowrap;
  padding: 0;
  letter-spacing: 2px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
}

.fatfoot .btn:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    -webkit-transform: rotate(45deg) translate(-50%, -50%);
    transform: rotate(45deg) translate(-50%, -50%);
    position: absolute;
    border-top: solid 2px #000000;
    left: 38%;
    border-left: solid 2px #000000;
    top: 64%;
}

.fatfoot .btn.collapsed:after {
    border-bottom: solid 2px #000000;
    border-right: solid 2px #000000;
    border-left: none;
    border-top: none;
    top: 48%;
}

.fatfoot .btn.collapsed:before {
  content: "點選展開";
  color: #000;
}
.fatfoot .card-body {
  border: none;
  letter-spacing: 1px;
  padding: 4.25rem 1.25rem 1.25rem 1.25rem;
  background-color: transparent;
}

.fatfoot .card-body {
display:-webkit-flex;
display:flex;
-webkit-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-justify-content:center;
justify-content:center;
}
.fatfoot .card-body ul li {
  padding: 4px 0 4px 5px;
  margin: 0;
  list-style-type: none;
}
.fatfoot .card-body ul li.ftitle {
  font-size: 110%;
  font-weight: 600;
  padding: 15px 50px 10px 5px;
  border-bottom: 1px rgb(255,255,255,0.4) solid;
  margin: 0 0 8px 0;
  letter-spacing: 2px;
}


.fatfoot .card-body ul {
    padding: 0 15px;
}
.fatfoot .card-body ul li.ftitle a {
  color: #ffffff;
}

.fatfoot .card-body ul li.ftitle a:hover {
    color: #ffeb3b;
    text-decoration: none;
}
.fatfoot .card-body ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.fatfoot .card-body ul li a:hover {
    color: #fff;
    text-decoration: underline;
}
}
@media screen and (max-width: 992px) {
  .fatfoot{display: none;}
}
/*footer*/

footer{background-color: #00968e;}
footer ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
footer ul li {
  display: inline-block;
}

footer .info{
    padding: 25px 15px;
    font-size: 95%;
    color: #fff;
    text-align: center;
}
footer .info svg {
    width: 20px;
    height: 25px;
}
footer .info li a svg .e {
    fill: #06988a;
}
footer .info li a:hover svg .e {
    fill: #2ca36e;
}
footer .info ul li{
    width: 100%;
    line-height: 120%;
    padding: 3px 0;
}

footer .qr_link li img{
    width: 100px;
    margin: auto;
}

footer .qr_link li p {
    font-size: 90%;
    line-height: 100%;
    padding: 3px 0;
}

footer .qr_link li a {
    text-decoration: none;
    color: #000;
    text-align: center;
    display: block;
    width: 125px;
    letter-spacing: 0;
}
footer .acc_box {
    padding: 0 15px 15px;
}
footer .privacy {
  border-top: 1px #d5d5d5 solid;
  padding: 15px;
  text-align: center;
}
footer .privacy li a{
    display: block;
    color: #000;
    text-decoration: none;
    padding: 0 15px;
    border-right: 1px #9f9f9f solid;
}

footer .privacy li {
    padding: 5px 0;
}

footer .privacy li a:hover {
    text-decoration: underline;
    color: #009688;
}

footer .privacy li:last-child a {
    border: none;
}
@media screen and (min-width: 992px) {
  footer .acc_box{
  position: absolute;
  right: 15px;
  bottom: 1rem;
}

}
/*左右快捷*/
.shortcut {
  position: fixed;
  top: 20%;
  z-index: 9;
}

.shortcut.left {
    left: 0;
    width: 45px;
}

.shortcut.left li a {
    opacity: 0.5;
}

.shortcut.left li a:hover {
    opacity: 1;
}

.shortcut ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.shortcut.right {
  right: 10px;
}
.shortcut.right li {
    position: relative;
}

.shortcut.right li::before {
    content: "";
    width: 3px;
    height: 8px;
    display: block;
    margin: auto;
    background-color: rgba(0,0,0,0.1);
}

.shortcut.right li:first-child::before {
    display: none;
}
.shortcut.right li a {
    display: block;
    padding: 5px;
    border-radius: 50px;
    border: 3px #555 solid;
    width: 40px;
    height: 40px;
    text-align: center;
    opacity: 0.2;
    position: relative;
}

.shortcut.right li a p {
    opacity: 0;
    border-radius: 50px;
    background-color: #ffeb3b;
    white-space: nowrap;
    margin: 0;
    height: 40px;
    position: absolute;
    right: 0;
    top: -3px;
    line-height: 41px;
    color: #000;
    padding: 0 35px 0 15px;
    z-index: -1;
    display: none;
}

.shortcut.right li a:hover {
    opacity: 1;
    border: none;
}

.shortcut.right li a:hover p {
    opacity: 1;
    display: block;
}

.shortcut.right li img {
    width: 20px;
    height: 20px;
}
.ai {
  position: fixed;
  bottom: 10%;
  right: 10px;
  z-index: 9;
}

.ai a {
    text-indent: -9999px;
    display: block;
    position: relative;
    bottom: 0;
}

@media screen and (max-width: 992px) {
  .shortcut{display: none;}
}
@media screen and (min-width: 767px) {
  .ai a {
    width: 100px;
    height: 110px;
    background-image: url("../images/all/ic_ai.png");
}

.ai a:hover {
  background-image: url("../images/all/ic_aio.png");
  bottom: 10px;
}
}
@media screen and (max-width: 767px) {
  .ai a {
    width: 70px;
    height: 70px;
    background-image: url(../images/all/ic_ai_phone.png);
}
}

/*20231129無障礙修正*/
.shortcut.left li a:focus {
    opacity: 1;
}

.shortcut.right li a:focus {
    opacity: 1;
    border: none;
}

    .shortcut.right li a:focus p {
        opacity: 1;
        display: block;
    }