@charset "UTF-8";

* {
  position: relative;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
  /*background: url(../images/bg.png);
  background-size: 150%;
  background-position: center;*/
}

a, a:hover {
  color: unset;
  text-decoration: none;
}

.container-fluid {
  height: 100%;
}

.wrap {
  max-width: 1200px;
  margin: auto;
}

header {
  position: fixed;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  z-index: 2;
}
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo .img_lg {
  height: 150px;
  transition: 0.5s;
}
.logo .img_sm {
  height: 0;
  transition: 0.5s;
}
.logo .logo_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #947839;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0;
  transition: 0.5s;
  transition-delay: opacity 0.5s;
}
.logo span + span {
  font-size: .8rem;
  margin-left: 2px;
}
.logo.shrink .img_lg {
  height: 0;
}
.logo.shrink .img_sm {
  height: 50px;
  margin-right: 5px;
}
.logo.shrink .logo_text {
  opacity: 1;
}

.nav {
  position: absolute;
  right: 30px;
}
.nav a {
  font-size: 1.2rem;
  margin-left: 30px;
  transition: 0.2s;
}
.nav a:hover {
  color: #947839;
}

main {
  padding: 30px;
  padding-top: 220px;
  transition: 0.5s;
  background: #fff;
}
main.expand {
  padding-top: 130px;
}
main .group {
  margin-bottom: 2rem;
  padding-left: 15px;
  border-left: 5px solid #234DA0;
}
main .group:nth-child(2) {
  border-left: 5px solid #7EA92E;
}
main .group:nth-child(3) {
  border-left: 5px solid #CA3A65;
}
main .group:nth-child(4) {
  border-left: 5px solid #EE7E18;
}
main h2 {
  margin-bottom: 1rem;
  color: #947839;
  font-weight: bold;
}
main p,main ol {
  font-size: 1.2rem;
}
main .table_wrap {
  height: 400px;
  overflow-Y: scroll;
}
main iframe {
  width: 100%;
  height: 250px;
  margin-bottom: 1rem;
}
main .contact_title {
  font-size: 1.4rem;
  font-weight: bold;
}
main .contact_text {
  font-size: 1rem;
}

footer {
  padding: 30px;
  background: #eee;
}
footer .wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

@media screen and (max-width: 991px) {
  header .wrap {
    justify-content: center;
  }

  .logo {
    justify-content: center;
  }
  .logo .img_sm, .logo .logo_text {
    display: none;
  }
  .logo .img_lg {
    height: 120px;
  }
  .logo.shrink .img_lg {
    height: 80px;
  }

  .nav {
    display: none;
  }

  .img_sm {
    position: absolute;
  }

  main {
    padding-top: 180px;
  }
  main.expand {
    padding-top: 140px;
  }
  main iframe {
    height: auto;
  }
}
