@charset "utf-8";
/*
 * CSS Document
 * ==========================================================================
 * 版權所有 2021 鉅潞科技網頁設計公司，並保留所有權利。
 * 網站地址: http://www.grnet.com.tw
 * ==========================================================================
 * $Author: Meggie $
 * $Date: 2021-05-18 $
 * **請注意: 本樣式檔提供各分頁製作獨立樣式，共同樣式請於完成後併入此樣式檔。
*/

/* ---全域樣式--- */
* {
  -webkit-backface-visibility: hidden;
}
html,
body {
  height: 100%;
}
html {
  font-size: 10px;
  line-height: 10px;
}
img {
  display: block;
  border: 0;
  width: 100%;
  height: auto;
  vertical-align: top;
  border: 0;
}
a, a:visited, a:hover, a:focus, a:active {
  text-decoration: none;
  outline: none;
}
a {
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -ms-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}
:focus, :active {
  outline: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
p {
  line-height: inherit;
}
ol.reset, ul.reset, li.reset {
  margin: 0;
  padding: 0;
  list-style: none;
}
section, article, aside, footer, header, nav, main {
  display:block;
}

body {
  font-family: 'Arial', 'sans-serif', 'Microsoft JhengHei', '微軟正黑體';
  font-size: 1.6rem;
  color: #666;
  overflow-x: hidden;
  background-color: #fff;
  -webkit-text-size-adjust: none;
}
.hidden-ele {
  position: absolute;
  top: -1px; clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
  clip: rect(1px, 1px, 1px, 1px);
  margin: 0;
  height: 0;
}
ol.reset, ul.reset, li.reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---進場效果--- */
.load {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100%;
  font-size: 0;
  pointer-events: none;
}
.load .logo {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 50px;
  background: url('../images/load_logo.png') no-repeat 0 0;
  background-size: cover;
  overflow: hidden;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-animation: loadlogo .8s .3s forwards;
  -webkit-animation: loadlogo .8s .3s forwards;
  animation: loadlogo .8s .3s forwards;
}
@keyframes loadlogo {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes loadlogo {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.load .color-block {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.load .color-block .color-bg {
  position: absolute;
  width: 23.333333%;
  height: 100%;
  background-color: #e8f4eb;
}
.load .color-block .color-bg:nth-child(1) {
  top: 0;
  left: 0;
  width: 15%;
}
.load .color-block .color-bg:nth-child(2) {
  bottom: 0;
  left: 15%;
}
.load .color-block .color-bg:nth-child(3) {
  top: 0;
  left: calc((70% / 3) + 15%);
}
.load .color-block .color-bg:nth-child(4) {
  bottom: 0;
  left: calc((70% / 3) + 15% + (70% / 3));
}
.load .color-block .color-bg:nth-child(5) {
  top: 0;
  right: 0;
  width: 15%;
}
.load .color-block .color-bg {
  -moz-animation: colorbg .5s 1s forwards;
  -webkit-animation: colorbg .5s 1s forwards;
  animation: colorbg .5s 1s forwards;
}
@keyframes colorbg {
  0% {
    height: 100vh;
  }
  100% {
    height: 0;
  }
}
@-webkit-keyframes colorbg {
  0% {
    height: 100vh;
  }
  100% {
    height: 0;
  }
}
@media only screen and (max-width: 1559px) {
  .load .color-block .color-bg {
    width: 28%;
  }
  .load .color-block .color-bg:nth-child(1) {
    width: 8%;
  }
  .load .color-block .color-bg:nth-child(2) {
    left: 8%;
  }
  .load .color-block .color-bg:nth-child(3) {
    left: calc((84% / 3) + 8%);
  }
  .load .color-block .color-bg:nth-child(4) {
    left: calc((84% / 3) + 8% + (84% / 3));
  }
  .load .color-block .color-bg:nth-child(5) {
    width: 8%;
  }
}
@media only screen and (max-width: 1279px) {
  .load .color-block .color-bg {
    width: 30%;
  }
  .load .color-block .color-bg:nth-child(1) {
    width: 5%;
  }
  .load .color-block .color-bg:nth-child(2) {
    left: 5%;
  }
  .load .color-block .color-bg:nth-child(3) {
    left: calc((90% / 3) + 5%);
  }
  .load .color-block .color-bg:nth-child(4) {
    left: calc((90% / 3) + 5% + (90% / 3));
  }
  .load .color-block .color-bg:nth-child(5) {
    width: 5%;
  }
}
@media only screen and (max-width: 991px) {
  .load .color-block .color-bg {
    display: none;
  }
}

#header,
.topnav,
.line,
#index .list,
#index .list .item,
#index .list .item .pic span,
#index .list .item .logo,
#index .list .item .logo div {
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
#header {
  background: #e8f4eb;
}
/* ---line--- */
.line {
  position: fixed;
  top: 200px;
  z-index: 10;
  width: 1px;
  height: 100vh;
  background-color: rgba(202,231,209,.8);
}
.line-1 {
  left: 5%;
}
.line-2 {
  left: calc((90% / 3) + 5%);
}
.line-3 {
  left: calc((90% / 3) + 5% + (90% / 3));
}
.line-4 {
  right: 5%;
}
@media only screen and (max-width: 1559px) {
  .line-1 {
    left: 8%;
  }
  .line-2 {
    left: calc((84% / 3) + 8%);
  }
  .line-3 {
    left: calc((84% / 3) + 8% + (84% / 3) - 1px);
  }
  .line-4 {
    right: 8%;
  }
}
@media only screen and (max-width: 1279px) {
  .line-1 {
    left: 5%;
  }
  .line-2 {
    left: calc((90% / 3) + 5%);
  }
  .line-3 {
    left: calc((90% / 3) + 5% + (90% / 3) - 1px);
  }
  .line-4 {
    right: 5%;
  }
}
@media only screen and (max-width: 991px) {
  .line {
    z-index: 0;
    background-color: rgba(202,231,209,.45);
  }
}

/* ---header--- */
#header {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 20px 50px;
  width: 100%;
  /*height: 88px;*/
  height: 150px;
}
#header .container {
  position: relative;
  padding: 0;
  max-width: 1420px;
}
#header h1 {
  margin: 0;
  /*width: 270px; height: 60px;*/
  width: 330px; height: 73px;
  color: #fff;
  text-align: center;
  background: url('../images/logo_group.png') no-repeat 0 0;
  background-size: cover;
  overflow: hidden;
  margin: 0 auto;
}
#header h1 span {
  display: block;
  width: 100%;
  height: 100%;
}

.topnav {
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.topnav li {
  display: inline-block;
  padding-left: 20px;
  font-size: 1.4rem;
  text-align: right;
  vertical-align: middle;
  line-height: 3rem;
}
.topnav li a {
  color: #666;
}
.topnav li a:hover {
  color: #1a9437;
}
.topnav li i {
  display: inline-block;
  margin-right: 8px;
  width: 30px;
  height: 30px;
  font-size: 1.3rem;
  color: #1a9437;
  text-align: center;
  vertical-align: middle;
  line-height: 3rem;
  border-radius: 50px;
  border: rgba(26,148,55,.3) solid 1px;
}

#header.fixed {
  padding: 10px 50px;
  height: 68px;
  background-color: rgba(255,255,255,.95);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .06);
}
@media only screen and (max-width: 991px) {
  #header {
    padding: 20px;
  }
  #header.fixed {
    padding: 10px 20px;
  }
}
@media only screen and (max-width: 767px) {
  #header {
    height: 79px;
    z-index: 20;
  }
  #header h1 {
    width: 180px;
    height: 39px;
  }
  .topnav li.tel,
  .topnav li.mail {
    padding-left: 10px;
    width: 40px;
    height: 32px;
    overflow: hidden;
  }
  .topnav li i {
    color: #fff;
    background-color: #1a9437;
  }
  #header.fixed {
    height: 59px;
  }
}
@media only screen and (max-width: 399px) {
  #header {
    padding: 10px 15px;
    height: 59px;
  }
  #header.fixed {
    padding: 10px 15px;
  }
}

/* ---footer--- */
#footer {
  position: relative;
  z-index: 22;
  padding: 18px 20px;
  width: 100%;
  text-align: center;
  background-color: #1a9437;
}
#footer ul {
  margin: 0 -10px;
  font-size: 0;
}
#footer ul li {
  display: inline-block;
  padding: 0 10px;
  font-size: 1.4rem;
  color: #fff;
  line-height: 2.6rem;
}
#footer ul li a {
  color: #fff;
}
#footer ul li i {
  padding-right: 6px;
}
#footer ul li.copyright,
#footer ul li.copyright a {
  color: #a1d3ad;
}
#footer ul li.copyright a:hover {
  text-decoration: underline;
}
@media only screen and (min-width: 992px) {
  #footer {
    position: absolute;
    z-index: 22;
    bottom: 0;
    left: 0;
  }
}

/* ---歡迎頁--- */
#index {
  position: relative;
  width: 100%;
  min-height: 100vh;
  font-size: 0;
}
#index .list {
  position: relative;
  z-index: 5;
  margin: 0 auto;
  width: 90%;
  min-height: 100vh;
}
#index .list .item {
  display: inline-block;
  position: relative;
  z-index: 0;
  top: 0;
  width: 33.3333%;
  font-size: 1.6rem;
  vertical-align: top;
  overflow: hidden;;
}
#index .list .item .pic {
  position: relative;
  width: 100%;
  /*height: 480px;*/
  height: 60vh;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  overflow: hidden;
  -webkit-transition: all .8s ease-in-out;
  -moz-transition: all .8s ease-in-out;
  -ms-transition: all .8s ease-in-out;
  -o-transition: all .8s ease-in-out;
  transition: all .8s ease-in-out;
}
#index .list .item .pic:after {
  display: block;
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 25%;
}
#index .list .item .pic a {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
#index .list .item .pic span {
  display: block;;
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
}
#index .list .item .pic span:before,
#index .list .item .pic span:after {
  display: block;
  content: "";
  position: absolute;
  background-color: rgb(255,255,255,.6);
}
#index .list .item .pic span:before {
  width: 15%;
  height: 1px;
}
#index .list .item .pic span:after {
  width: 1px;
  height: 15%;
}
#index .list .item .pic span:nth-child(1):before,
#index .list .item .pic span:nth-child(1):after {
  top: 0;
  left: 0;
}
#index .list .item .pic span:nth-child(2):before,
#index .list .item .pic span:nth-child(2):after {
  bottom: 0;
  right: 0;
}
#index .list .item:hover .pic span {
  top: 60px;
  left: 60px;
  width: calc(100% - 120px);
  height: calc(100% - 120px);
}
#index .list .item:hover .pic span:before,
#index .list .item:hover .pic span:after {
  background-color: rgb(255,255,255,1);
}

#index .list .item .box {
  position: relative;
  z-index: 3;
  padding: 25px 30px 35px;
  background-color: #fff;
}
#index .list .item .logo {
  margin-bottom: 15px;
  min-height: 45px;
}
#index .list .item .logo a {
  display: block;
  width: 100%;
}
#index .list .item .logo h2 {
  margin: 0;
  font-size: 2rem;
  color: #fff;
  text-align: center;
}
#index .list .item .logo div {
  width: 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
}
#index .list .item .logo div:before {
  display: block;
  content: "";
  width: 100%;
}

#index .list .item .txt {
  margin: 0 0 30px 0;
  font-size: 1.5rem;
  line-height: 2.6rem;
  text-align: justify;
  text-justify: inter-ideograph;
  overflow: hidden;
}

.btn-enter {
  position: relative;
  float: right;
  padding-right: 22px;
  color: #1a9437;
  text-align: right;
}
.btn-enter:after {
  display: block;
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  margin-top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  background-color: rgba(26,148,55,.08);
}
.btn-enter a {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: #1a9437;
  text-align: right;
  font-weight: bold;
  letter-spacing: .1rem;
}
.btn-enter span {
  display: inline-block;
  position: relative;
  margin-left: 8px;
  width: 45px;
  height: 1px;
  vertical-align: middle;
  background-color: #1a9437;
}
.btn-enter span:after {
  display: block;
  content: "";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 12px;
  height: 1px;
  background-color: #3cb1e6;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#index .list .bnnb .pic {
  /*background-image: url('../images/bnnb_pic.jpg');*/
  background-image: url('../images/bnnb_pic_210525_1.jpg');
  background-position: 0 50%;
}
#index .list .bnnb .pic:after {
  background: -moz-linear-gradient(top,  rgba(0,53,103,0) 0%, rgba(0,53,103,.2) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(0,53,103,0) 0%,rgba(0,53,103,.2) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(0,53,103,0) 0%,rgba(0,53,103,.2) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00003567', endColorstr='#4d003567',GradientType=0 ); /* IE6-9 */
}
#index .list .item.bnnb .logo a {
  max-width: 300px;
  margin: 0 auto;
}
#index .list .item.bnnb .logo div {
  background-image: url('../images/logo_bnnb.png');
}
#index .list .item .logo div:before {
  padding-bottom: 17.65%;
}

#index .list .tmb .pic {
  background-image: url('../images/tmb_pic.jpg');
  background-position: 100% 50%;
}
#index .list .tmb .pic:after {
  background: -moz-linear-gradient(top,  rgba(23,28,97,0) 0%, rgba(23,28,97,0.3) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(23,28,97,0) 0%,rgba(23,28,97,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(23,28,97,0) 0%,rgba(23,28,97,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00171c61', endColorstr='#4d171c61',GradientType=0 ); /* IE6-9 */
}
#index .list .item.tmb .logo {
  padding-top: 6px;
}
#index .list .item.tmb .logo a {
  max-width: 300px;
  margin: 0 auto;
}
#index .list .item.tmb .logo div {
  background-image: url('../images/logo_tmb.png');
}
#index .list .item.tmb .logo div:before {
  padding-bottom: 13.89%;
}

#index .list .bmm .pic {
  background-image: url('../images/bmm_pic.jpg');
  background-position: 42% 50%;
}
#index .list .bmm .pic:after {
  background: -moz-linear-gradient(top,  rgba(154,173,192,0) 0%, rgba(154,173,192,0.3) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(154,173,192,0) 0%,rgba(154,173,192,0.3) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(154,173,192,0) 0%,rgba(154,173,192,0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009aadc0', endColorstr='#4d9aadc0',GradientType=0 ); /* IE6-9 */
}
#index .list .item.bmm .logo {
  padding-top: 3px;
  font-size: 0;
  text-align: center;
}
#index .list .item.bmm .logo a {
  display: inline-block;
  max-width: 160px;
  vertical-align: middle;
}
#index .list .item.bmm .logo div {
  background-image: url('../images/logo_bmm.png');
}
#index .list .item.bmm .logo div:before {
  padding-bottom: 26.28%;
}
#index .list .item.bmm .logo .jun {
  margin: -4px 0 0 20px;
  max-width: 160px;
}
#index .list .item.bmm .logo .jun div {
  background-image: url('../images/logo_jun.png');
}
#index .list .item.bmm .logo .jun div:before {
  padding-bottom: 17.52%;
}
@media only screen and (max-width: 1559px) {
  #index .list {
    width: 84%;
  }
}
@media only screen and (max-width: 1365px) {
  #index .list .item .pic {
    /*height: 240px;*/
    height: 50vh;
  }
}
@media only screen and (max-width: 1279px) {
  #index .list {
    width: 90%;
  }
  #index .list .item .pic {
    /*height: 280px;*/
    height: 60vh;
  }
}
@media only screen and (max-width: 1199px) {
  #index .list .item .logo a {
    margin: 0 auto;
  }
  #index .list .item.bmm .logo a,
  #index .list .item.bmm .logo .jun {
    display: block;
  }
  #index .list .item.bmm .logo .jun {
    margin: 10px auto 0;
  }

  .btn-enter {
    padding-right: 16px;
  }
  .btn-enter:after {
    margin-top: -19px;
    width: 38px;
    height: 38px;
  }
  .btn-enter span {
    width: 30px;
  }
}
@media only screen and (max-width: 1079px) {
  #index .list .item .box {
    padding: 20px;
  }
  #index .list .item .pic {
    /*height: 320px;*/
    height: 55vh;
  }

  #index .list .bnnb {
    background-position: 10% 50%;
  }
  #index .list .tmb {
    background-position: 65% 50%;
  }
  #index .list .bmm {
    background-position: 2% 50%;
  }
}
@media only screen and (max-width: 991px) {
  #index .list {
    padding-top: 100px;
  }
  #index .list .item {
    margin-bottom: 40px;
    width: 100%;
  }
  #index .list .item .pic {
    height: 360px;
  }
  #index .list .item .box {
    padding-bottom: 0;
    background-color: transparent;
  }
}
@media only screen and (max-width: 639px) {
  #index .list {
    padding-top: 79px;
  }
  #index .list .item {
    margin-bottom: 30px;
  }
  #index .list .item .pic {
    height: 370px;
  }
  #index .list .item .box {
    padding-left: 0;
    padding-right: 0;
  }
  #index .list .item .txt {
    color: #444;
  }
}
@media only screen and (max-width: 399px) {
  #index .list {
    padding-top: 65px;
  }
  #index .list .item .pic {
    height: 330px;
  }
}

@media only screen and (min-width: 992px) {
  #index .list .wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  #index .list .item .txt {
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  #index .list .item:hover .pic {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
  }
}
@media only screen and (min-width: 1080px) {
  #index .list .item:hover {
    z-index: 10;
    top: -15px;
    box-shadow: 0 20px 20px rgba(0, 0, 0, .2);
  }
}