html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
a {text-decoration: none !important;cursor: pointer;color:black}

body {
  font-family: sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #333;
}
footer {
  background: #00489a;
  color: white;
  padding: 20px;
  text-align: center;
}
header {
  position: fixed;
  background:white ;
  color: #00489a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  right: 0;
  width: 100%;
  z-index: 99;
}
header .logo {
  margin: 20px 0 0 20px;
  color: black;
  font-weight: 600;
  font-size: 1.2rem;
  height: 50px;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}
.container {
  width: 100%;
  margin: 0 auto;
  background-color: #FFF;
  padding: 60px;
  border-radius: 30px;
}

@media screen and (max-width:990px) {
  .container {
    width: calc(100% - 50px);
  }
}

@media screen and (max-width:768px) {
  .container {
    width: calc(100% - 40px);
    padding: 30px 10px 60px 10px;
    border-radius: 30px;    }
}

@media screen and (min-width:991px) {
  .container {
    width: calc(100% - 80px);
  }
}

@media screen and (min-width:1280px) {
  .container {
    max-width: 1200px;
  }
}

@media screen and (min-width:1600px) {
  .container {
    max-width: 1600px;
  }
}
nav {
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
nav ul li a {
  display: block;
  padding: 12px 20px;
  color: #005bbb;
  text-decoration: none;
  font-weight: bold;
}
nav ul li a:hover {
  background: #003d75;
  color:#FFF
}
/* 手機版樣式 */
@media (max-width: 768px) {
  header .logo {
    position: absolute;
    left: 20px;
    top: 12.5px;
    margin:0;
    height: auto;
    font-size: 1.0rem;
  }
  .top, .banner {
    padding-top: 50px !important; }
  .menu {
    height: 50px;
  }
  .menu-toggle {
    position: absolute;
    top: 8px;
    right: 10px;
    display: block;
    width: 44px;
    height: 44px;
    z-index: 99;
  }

  .menu-toggle span {
    display: block;

  }
  .menu-toggle em,
  .menu-toggle em::after,
  .menu-toggle em::before {
    /* this is the menu icon */
    display: block;
    position: relative;
    height: 2px;
    width: 22px;
    background: #000000;
    border-radius: 5px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .menu-toggle em {
    /* this is the menu central line */
    margin: 20.5px auto 11px;
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
  }
  .menu-toggle em::before,
  .menu-toggle em::after {
    position: absolute;
    content: '';
    left: 0;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s, -webkit-transform .2s;
  }
  .menu-toggle em::before {
    /* this is the menu icon top line */
    -webkit-transform: translateY(-7px);
    -ms-transform: translateY(-7px);
    transform: translateY(-7px);
  }
  .menu-toggle em::after {
    /* this is the menu icon bottom line */
    -webkit-transform: translateY(7px);
    -ms-transform: translateY(7px);
    transform: translateY(7px);
  }
  .menu-toggle.active em {
    background-color: rgba(255, 255, 255, 0);
  }
  .menu-toggle.active em::before {
    transform: rotate(-45deg);
    top: 0;
  }
  .menu-toggle.active em::after {
    transform: rotate(45deg);
    top: 0;
  }
  nav {
    width: 100%;
    display: block;
    margin-top: 50px;
    background: #005bbb;
  }
  nav ul {
    display: none;
    flex-direction: column;
  }
  nav ul.active {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  nav ul li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }
  nav>ul>li>a {
    display: block;
    color: #FFF;
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 50px 10px 20px;
  }
  .section{
    padding:30px !important;
  }
  .grid-3 img{
    height: auto;
  }
  .row{
    flex-wrap: wrap;
  }
  .row .left, .row .right{
    width: 100% !important;
    flex: unset !important;
  }
  h2.section-title {
    font-size: 2rem !important;
  }
  .section-title span {
    font-size: 2.6rem !important
  }
  .more-link{
    display: none;
  }
  .row .right .img{
    height: 300px;
  }
  .column2{
  grid-template-columns: 100% !important;}
}
.visible {
      opacity: 1; transform: translateY(0);
    }
  .top{padding-top: 100px !important;   
  }
  .banner {
  width: 100%;
  height: auto;
  display: block;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  padding-top: 70px;
}
.banner picture,
.banner img{
  width: 100%;
  height: auto;
  display: block;
  background-position:center;
  background-size: cover;
  background-repeat: no-repeat
}
.container {
  margin: auto;
}
.fff{color:#FFF !important}
h2.section-title {
    font-size: 2.8rem;
    color: #00489a;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
}
h3.section-title {
    font-size: 2.0rem;
    margin-top: 10px;
    margin-bottom: 10px;
}
.section{
    padding:50px 20%;
}
.section_wide{
    padding:50px 10%;
}
.section-title span {
  font-size: 3.6rem;
  color: #b40758;
  margin-bottom: 20px;
  line-height: 0.8;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.grid-2 .column{
  display: flex;
  position: relative;
  flex-direction: column;
  border-radius: 30px;
  transition: transform .3s, box-shadow .3s;
}
.grid-2 .column .box{
  min-height: 200px;
  height: auto;
  padding:20px 20px; 
  text-align: left;
  background: #FFF;
  border-radius: 0 0 30px 30px;
  box-shadow: 6px 12px 2px rgba(0, 0, 0, 0.05);
  font-size: 1.25em;
}
.grid-2 .title{
  color: #ffffff;
  background: linear-gradient(to bottom, #004097 0%, #0096e6 100%);
  text-align: center;
  margin: 0 auto 0 0;
  padding: 20px 0;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.75rem;
  width: 100%;
  border-radius: 30px 30px 0 0;
  line-height: 1em;
}
.grid-2 img {
  width: 40%;
  display: inline-block;
  float:right;
  margin: 0 0 20px 20px;
}
.grid-2 .title span{font-size: 1rem;}
@media screen and (min-width: 991px) {
/*.grid-2 .title {min-height: 80px;}*/
.grid-2 .title span{font-size: 1.25rem;}}
.grid-2 img{
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  transition: all 0.5s ease;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.grid-3 .column{
  display: flex;
  position: relative;
  flex-direction: column;
  border-radius: 30px;
  transition: transform .3s, box-shadow .3s;
}
.grid-3 .title{
  color: #ffffff;
  background: linear-gradient(to bottom, #004097 0%, #0096e6 100%);
  text-align: center;
  margin: 0 auto 0 0;
  padding: 20px 0;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1.75rem;
  width: 100%;
  border-radius: 30px 30px 0 0;
}
@media screen and (min-width: 991px) {
/*.grid-3 .title {min-height: 80px;}*/}
.grid-3 .title span{font-size: 1rem;}
.grid-3 img{
  height: 220px;
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  transition: all 0.5s ease;
}
.grid-3 .column .box{
  min-height: 200px;
  height: auto;
  padding:20px 20px; 
  text-align: left;
  background: #FFF;
  border-radius: 0 0 30px 30px;
  box-shadow: 6px 12px 2px rgba(0, 0, 0, 0.05);
}
.box .btn {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 20px 12px;
  color: #ffffff;
  background: linear-gradient(to right, #096aed 0%, #0096e6 100%);
  text-align: center;
  padding: 10px 0;
  width: 170px;
}
.box .btns {
  text-align: center;
}
.card {
  background: white;
  padding: 30px 20px 50px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform .3s, box-shadow .3s;
  text-align: center;
}
.grid-3 .column:hover, .card:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);*/
}
.card img {
  max-width: 100%;
  border-radius: 20px;
  margin-bottom: 10px;
}

.news, .biz-opps {
  background: #FFF;
  border-radius: 50px;
  padding: 30px 5%;
}

.news-item, .biz-item {
  background: white;
  padding: 15px;
  /**border-left: 5px solid #00489a;**/
  border-top: 1px solid #eee;
  font-size: 1.2rem;
  transition: transform .3s;
}
.new-mark {
    display: inline;
    padding: 3px 10px;
    font-size: 0.8rem;
    background: #ff0077;
    border-radius: 5px;
    color: #fff;
}
.hot-mark {
    display: inline;
    padding: 3px 10px;
    font-size: 0.8rem;
    background: #00489a;
    border-radius: 5px;
    color: #fff;
}.more-link {
    float: right;
    right: 15px;
    font-size: 1rem;
    color: #007aff;
}
.rotating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.blink {
    animation-duration: 1s;
    animation-name: blink;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    81% {
        opacity: 0;
    }
}
.red:hover{
  background:#ff9af64a;
  transform: translateX(5px);
}
.blue:hover{
  background:#9ac2ff4a;
  transform: translateX(5px);
}
.row{
  display: flex;
  flex-direction: row;
  min-height: -webkit-fit-content;
  min-height: fit-content;
  max-width: 100%;
  background: #FFF;
  border-radius: 50px;
}
.row .left{
  min-height: 400px;
  width: 45%;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  color: #111111;
  margin: 20px;
}
.left h2{
  font-size: 3.6rem;
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.row .right{
  justify-content: center;
  width: 45%;
  padding:30px
}
.row .right .shape{
  background-color: #3b55ad;
  width: 80%;
  height: 407px;
  margin: 0 0 0 auto;
}
.row .right .img{
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url(images/about.png);
  background-size: cover;
  height: 480px;
  border-top-left-radius: 100px;
}
.column2{
    height: 100%;
    padding-inline-start: var(--grid-padding);
    padding-inline-end: var(--grid-padding);
    display: flex;
    outline-width: 1px;
    outline-style: none;
    outline-color: var(--grid-outline-color);
    display: grid;
    grid-gap: var(--grid-border);
    position: relative;
    grid-template-columns: 40% 40%;
    grid-column-gap: 50px;
    grid-row-gap: 30px;
}
.col3{
    display: block;}
.btn3{
    position: relative;
    min-width: min(100%, 12em);
    max-width: 100%;
    font-size: 1rem;
    padding: 0.5em 2em;
    min-height: 2.75em;
    background: linear-gradient(to right, #98d2f7 0%, #98d2f7 100%);
    color:#000000;
    border-radius: 10px;
    font-weight: 600;
}
.btn4{
    position: relative;
    min-width: min(100%, 12em);
    max-width: 100%;
    font-size: 1rem;
    padding: 0.3em 1.5em;
    min-height: 2.75em;
    color:#98d2f7;
    border: 3px solid #98d2f7;
    border-radius: 10px;
    font-weight: 600;
}
.btn5 {
    width: 50%;
    margin: 0 auto; 
    font-size: 1.2rem; 
    padding: 0.3em 0.8em; 
    line-height: 1.2; 
    color: #000000;
    background-color: #FFD700;
    border: 3px solid #000000;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}
.btn6 {
    display: inline-block;
    width: 350px;
    margin: 0 18px;
    font-size: 1.6rem;
    padding: 0.4em 0.8em;
    line-height: 1.2;
    color: #000000;
    background-color: #FFD700;
    border: 3px solid #000000;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}
#main .title{
    text-align: center;
}
footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}
/* ----- getLink ----- */
.getLink {
  width: 100%;
  margin: 20px auto 0 auto;
}

.getLink ul {
  display: flex;
  list-style: none;
  flex-direction: row;
  align-items: stretch;
  align-content: stretch;
  flex-wrap: wrap;
  margin: -10px;
}

.getLink ul li {
  display: inline-block;
  width: 50%;
  padding: 10px;
  box-sizing: border-box;
}

.getLink ul li a {
  position: relative;
  display: block;
  width: 100%;
  padding-right: 65px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.getLink ul li a:before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 65px;
  height: 100%;
  box-sizing: border-box;
  border-left: 1px solid #ccc;
  background: #f7f7f7;
}

.getLink ul li a:after {
  content: "";
  display: block;
  position: absolute;
  right: 23px;
  top: 50%;
  width: 19px;
  height: 19px;
  margin-top: -9.5px;
  box-sizing: border-box;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.getLink ul li a.download:after {
  background-image: url(../images/dnLink-icon-download.svg);
}

.getLink ul li a.link:after {
  background-image: url(../images/dnLink-icon-link.svg);
}

.getLink .wd {
  display: flex;
  width: 100%;
  min-height: 65px;
  padding: 9px 14px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.getLink .wd p {
  color: #000;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 135%;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.getLink a:hover .wd p,
.getLink a:focus .wd p {
  color: #C73F00;
}

.getLink .wd p span {
  display: inline-block;
  min-width: 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  line-height: 100%;
  text-transform: uppercase;
  padding: 3px 5px;
  background: #eb0014;
  box-sizing: border-box;
  vertical-align: middle;
  margin: -2px 10px 0 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.getLink .wd p span.pdf {
  background: #a40000;
}

.getLink .wd p span.odt,
.getLink .wd p span.doc,
.getLink .wd p span.docx {
  background: #0068b7;
}

.getLink .wd p span.ods,
.getLink .wd p span.xls,
.getLink .wd p span.xlsx {
  background: #378837;
}

.getLink .wd p span.odp,
.getLink .wd p span.ppt,
.getLink .wd p span.pptx {
  background: #FF6600;
}

.getLink .wd p span.rar {
  background: #67005E;
}

.getLink .wd p span.zip {
  background: #6a3906;
}

.getLink .wd p span.jpg,
.getLink .wd p span.png,
.getLink .wd p span.webp {
  background: #646bb4;
}

@media screen and (max-width:768px) {
  .getLink ul {
    margin: -7.5px;
  }

  .getLink ul li {
    width: 100%;
    padding: 7.5px;
  }
}

@media screen and (min-width:991px) {}

@media screen and (min-width:1200px) {}

@media screen and (min-width:1400px) {
  .getLink ul {
    margin: -15px;
  }

  .getLink ul li {
    padding: 15px;
  }

  .getLink .wd {
    padding: 9px 19px;
  }

  .getLink .wd p {
    font-size: 1.2rem;
  }

  .getLink .wd p span {
    padding: 4px 5px;
    margin-top: -4px;
  }
}
/** gallery **/
#gallery {
  width: 100%;
  margin: 20px auto 0 auto;
}

#gallery ul {
  list-style: none;
  margin: -10px;
  padding-inline-start: 0px;
}

#gallery ul li {
  display: inline-block;
  width: 25%;
  padding: 10px;
  vertical-align: top;
  box-sizing: border-box;
}

#gallery ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #000;
}

#gallery figure {
  margin: 0;
}

#gallery figure .pic {
  position: relative;
  width: 100%;
  padding-bottom: 66.66%;
  background: #faf9f7;
  overflow: hidden;
}

#gallery figure .pic .img {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#gallery a:hover figure .pic .img,
#gallery a:focus figure .pic .img {
  -webkit-transform: scale(1.08);
  -moz-transform: scale(1.08);
  -ms-transform: scale(1.08);
  -o-transform: scale(1.08);
  transform: scale(1.08);
}

#gallery figure figcaption {
  color: #000;
  font-size: 1.5em;
  line-height: 155%;
  font-weight: normal;
  margin-top: 10px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#gallery ul li a:hover figure figcaption,
#gallery ul li a:focus figure figcaption {
  color: #C73F00;
}

#gallery figure figcaption strong {
  display: inline-block;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

#gallery figure figcaption strong span {
  display: inline-block;
  color: #FFF;
  font-size: 0.9rem;
  line-height: 100%;
  padding: 5px 10px;
  background: #8c3c4a;
  margin-right: 10px;
  vertical-align: top;
}

@media screen and (max-width:990px) {
  #gallery ul li {
    width: 33.333%;
  }
}

@media screen and (max-width:768px) {
  #gallery ul li {
    width: 50%;
  }
}

@media screen and (max-width:460px) {
  #gallery ul li {
    width: 100%;
  }
}

@media screen and (min-width:991px) {}

@media screen and (min-width:1200px) {}

@media screen and (min-width:1400px) {
  #gallery ul {
    display: inline-flex;
    position: relative;
  }

  #gallery ul li {
    padding: 15px;
  }

  #gallery figure figcaption {
    font-size: 1rem;
  }
}

/* ----- pageBot ----- */
.pageBot {
  width: 100%;
  padding: 0;
  margin: 40px auto 0 auto;
}

.pageBot .tit {
  display: block;
  width: 100%;
  color: #000;
  font-family: "PingFang TC Semibold", "微軟雅黑", "Microsoft YaHei";
  font-size: 2.1em;
  font-weight: bold;
  line-height: 21px;
}

.pageBot .tit span {
  position: relative;
  display: inline-block;
  padding-left: 30px;
}

.pageBot .tit span:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  box-sizing: border-box;
  background-color: #000;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.pageBot .tit span.photo:before {
  -webkit-mask-image: url(../images/pageBot-icon-photo.svg);
  mask-image: url(../images/pageBot-icon-photo.svg);
}

.pageBot .tit span.download:before {
  -webkit-mask-image: url(../images/pageBot-icon-download.svg);
  mask-image: url(../images/pageBot-icon-download.svg);
}

.pageBot .tit span.link:before {
  -webkit-mask-image: url(../images/pageBot-icon-link.svg);
  mask-image: url(../images/pageBot-icon-link.svg);
}

@media screen and (max-width:640px) {}

@media screen and (min-width:991px) {}

@media screen and (min-width:1200px) {
  .pageBot {
    margin-top: 50px;
  }
}

@media screen and (min-width:1400px) {
  .pageBot .tit {
    font-size: 1.6rem;
  }
}

@media screen and (min-width:1600px) {
  .pageBot {
    margin-top: 60px;
  }
}
.card2{
  display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    position: relative;
    cursor: default;
}
.mission{
  position: relative;
  grid-column: span 6;
  padding: 0px;
  gap: 1.25em;
  display: flex;
  flex-direction: row;
  height: 100%;
  cursor: text;
  margin-bottom: 30px;
}
.mission .icon{
      width: calc(25% * var(--media-scale));
      max-width: min(100%, 2.5em);
      flex: 1;
      fill: #006747;
      
}
.card-content {
  height: 100%;
  outline-width: 0px;
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  --block-margin: 0.75em;
  --grid-border: 1px;
  --grid-padding: 1.22em;
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: var(--flex-align);
  margin-bottom: 0.6em;
  width: fit-content;
  max-width: 100%;
}
.card-content h3{
  font-size: 1.25rem;margin: 0;
}
.card-content p {
  font-size: 1rem;margin: 0;
}
.mainList table {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  background: #ffffffcc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mainList th,
.mainList td {
  border: 1px solid #ccc;
  padding: 14px;
  text-align: left;
}

.mainList th {
  background: #00497a !important;
  color: #fff;
}
.mainList tr{background-color: #096aed17;}
.mainList tr:nth-child(even) {
  background-color: #f5faff;
}
.mainList table td small {
  display: block;
  color: #666;
  margin-top: 4px;
  font-size: 0.85em;
}
@media (max-width: 768px) {
  .mainList table {
    font-size: 0.9rem;
  }
    .btn6 {
        width: 90%; /* 小螢幕時縮小為90%寬 */
        font-size: 1.2rem; /* 文字也可稍微縮小 */
        margin-bottom: 1rem;
        margin: 0.5rem auto;
    }
}