/* css reset*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
::before,
::after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
/* css reset*/

@font-face {
  font-family: "NotoSansTC";
  src: url("../fonts/NotoSansTC-Regular.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "NotoSansTC";
  src: url("../fonts/NotoSansTC-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "NotoSansTC";
  src: url("../fonts/NotoSansTC-Bold.ttf");
  font-weight: 700;
}
body {
  font-family: "NotoSansTC";
  font-weight: 400;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 999999;
}
.PC-wrap {
  max-width: 992px;
  margin: 0 auto;
}
.MB {
  display: none;
}
.logo {
  height: 145px;
  background-color: #657d9b;
  background-image: url("../img/layout/logo-PC.png");
  background-position: center;
  background-repeat: no-repeat;
}
header .PC .nav-bar {
  padding-top: 11px;
  display: flex;
  justify-content: center;
  background-color: #fff;
}
header .PC .nav-item {
  padding: 11px 15px 22px 15px;
  z-index: 999;
  position: relative;
  cursor: pointer;
  font-weight: 500;
}

header .PC .nav-title {
  line-height: 26.4px;
  color: #657d9b;
  font-size: 22px;
}
header .PC .nav-item:hover .nav-title {
  padding-bottom: 4px;
  border-bottom: 1px solid #3a5266;
}
header .PC .nav-item ul {
  position: absolute;
  top: 57px;
  left: 0;
  white-space: nowrap;
  background-color: rgba(58, 82, 102, 0.9);
  text-align: start;
  padding-top: 16px;
  display: none;
}

header .PC .nav-item li {
  color: #fff;
  padding: 0 16px;
  margin-bottom: 13px;
  font-size: 13px;
}

header .PC .nav-item li a {
  color: #fff;
  line-height: 17px;
}
header .PC .nav-item li a:hover {
  border-bottom: 1px solid #fff;
}
main {
  padding-top: 215px;
}
footer {
  position: relative;
  background-color: #657d9b;
  padding-top: 112px;
  padding-bottom: 46px;
  background-image: url("../img/layout/footer-PC.png");
  background-repeat: no-repeat;
  background-position: center left 20px;
}
footer .social {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
footer .social a {
  margin: 0 7px;
}
footer .contact {
  text-align: center;
}
footer .contact a {
  display: inline-block;
  color: #657d9b;
  padding: 10px 16px;
  background-color: #fff;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 500;
}
footer .top {
  position: absolute;
  bottom: 22px;
  right: 22px;
  padding-bottom: 4px;
}
footer .top::after {
  content: "";
  position: absolute;
  display: none;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 1px;
  border: 100px;
  background-color: #fff;
}
footer .top:hover::after {
  display: block;
}
.fix-contact {
  position: fixed;
  right: 6px;
  bottom: 137px;
  z-index: 999;
}
.fix-contact a {
  display: block;
  margin-top: -20px;
  width: 88px;
}
.fix-contact a img {
  width: 100%;
}
.footer-content {
  padding-left: 30%;
  display: flex;
  align-items: center;
}
.footer-1 {
  margin-right: 55px;
}

.footer-1 a {
  display: inline-block;
  margin-right: 14px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 3px;
}
.footer-1 a:hover {
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
}
@media (max-width: 1439px) {
  .logo {
    height: 100px;
    background-image: url("../img/layout/logo-992-PC.png");
  }
  header .PC .nav-title {
    font-size: 15px;
  }
  header .PC .nav-item {
    padding: 5px 9px 16px 9px;
  }
  header .PC .nav-item ul {
    top: 45px;
    padding-top: 12px;
  }
  header .PC .nav-item li {
    padding: 0 13px;
    margin-bottom: 11px;
  }
  main {
    padding-top: 158px;
  }
  footer {
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url("../img/layout/footer-992-PC.png");
  }
  footer .contact a {
    font-size: 15px;
    letter-spacing: 2px;
  }
  footer .social {
    margin-bottom: 15px;
  }
}

@media (max-width: 992px) {
  body {
    min-width: 100%;
  }
  .PC {
    display: none;
  }
  .MB {
    display: block;
  }
  .logo {
    background-image: url("../img/layout/logo-MB.png");
    background-size: 186px;
    background-position: left 25px center;
    height: 72px;
  }
  header .hamburger-btn {
    width: 42px;
  }
  header .MB {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-wrap: wrap;
    padding-right: 25px;
  }
  header .MB .menu-list {
    display: none;
    z-index: 9;
    height: 80vh;
    overflow: scroll;
    left: 0;
    right: 0;
    position: absolute;
    top: 72px;
    background-color: #657d9b;
    padding-top: 30px;
  }
  header .MB a {
    color: #fff;
  }
  header .MB .list-item {
    border-bottom: 1px solid #c1cbd7;
  }
  header .MB .list-item .list-title {
    display: block;
    padding: 30px 0 30px 40px;
    font-size: 30px;
  }
  header .MB .list-item .list-title span {
    padding-left: 14px;
    border-left: 3.5px solid #3a5266;
    display: inline-block;
  }
  header .MB .list-item ul {
    display: none;
    background-color: #3a5266;
    text-align: center;
    font-size: 27px;
  }
  header .MB .list-item li {
    padding-top: 21px;
    padding-bottom: 21px;
    border-bottom: 1px solid #b0bac2;
  }
  header .MB .list-item li:last-child {
    border: none;
  }
  main {
    padding-top: 72px;
  }
  footer {
    padding-top: 40px;
    padding-bottom: 204px;
    background-image: url("../img/layout/footer-MB.png");
    background-size: 258px;
    background-position: bottom 76px left 50%;
  }
  footer .social {
    margin-bottom: 31.2px;
  }
  footer .contact a {
    padding: 11.5px 18px;
  }
  footer .social a {
    width: 48px;
    margin: 0 9px;
  }
  footer .social a img {
    width: 100%;
  }
  footer .top {
    display: none;
  }
  .fix-contact {
    bottom: 307px;
  }
  .footer-content {
    padding-left: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-1 {
    padding-left: 60px;
    padding-right: 60px;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .footer-1 a {
    margin-bottom: 26px;
    margin-right: 19px;
  }
  .fixbottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 999;
    background-color: #93a4b9;
  }
  .fixbottom a {
    width: 25%;
    padding: 14px 25px;
    border-right: 1px solid #657d9b;
  }
  .fixbottom a:last-child {
    border: none;
  }
  .fixbottom img {
    width: 100%;
  }
}
