v@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&display=swap);
body {
  background-color: #fafafa;
  color: #333333;
  line-height: 1.8;
  font-weight: 400;
  font-family: "Noto Sans TC", sans-serif, Arial,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
 "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
 "Segoe UI Symbol", "微軟正黑體", Microsoft JhengHei, 新細明體, PMingLiU;
}

.navbar-light .navbar-nav .nav-link {
  color: #333333;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #198e61;
}

a {
  color: #333333;
  text-decoration: none;
}

a:hover {
  color: #198e61;
}

video {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.ratio-4x2-8 {
  --bs-aspect-ratio: calc(2.8 / 4 * 100%);
}

.container-fluid {
  max-width: 1440px;
  margin: 0 auto;
}

.bg-top {
  background: url(../img/bg_top.png) left bottom no-repeat;
}

.video-frame {
  background-color: #282828;
  border: 16px solid #282828;
  outline: unset;
  border-radius: 1rem;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.2);
}

.bg-hexagon-1 {
  background: url(../img/hexagon_1.svg) center 45% no-repeat;
  position: relative;
  overflow: hidden;
}

.bg-hexagon-2 {
  background: url(../img/hexagon_2.svg) center 27% no-repeat;
  position: relative;
  overflow: hidden;
}

.bg-hexagon-3 {
  background: url(../img/hexagon_3.svg) center 20% no-repeat;
  position: relative;
  overflow: hidden;
}

.bg-hexagon-4 {
  background: url(../img/hexagon_4.svg) center top no-repeat;
  position: relative;
  overflow: hidden;
}

.bg-hexagon-5 {
  background: url(../img/hexagon_5.svg) center top no-repeat;
  position: relative;
  overflow: hidden;
}

.bg-hexagon-6 {
  background: url(../img/hexagon_6.svg) center bottom no-repeat;
  position: relative;
  overflow: hidden;
  margin-top: -8%;
}

.m-minus-s1 {
  margin-top: -5.5rem;
}

.m-minus-s2 {
  margin-top: -5.5rem;
}

.title-float-left {
  width: 42%;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 7%;
}

.title-float-right {
  width: 42%;
  position: absolute;
  z-index: 2;
  right: 0;
  top: 15%;
}

.title-float-img-s1 {
  width: 50%;
  position: absolute;
  text-align: end;
  z-index: 2;
  right: 0;
  top: 45%;
}

.text-footer {
  font-size: .9rem;
  line-height: 1.5;
}

h2 {
  line-height: 1.5;
}

/* button */
.btn-s1 {
  background-color: #333333;
  display: inline-block;
  min-width: 134px;
  border-radius: .3rem;
  padding: .4rem 1rem;
  color: #fff;
}

.btn-s1:hover {
  background-color: #4e4e4e;
  color: #fff;
}

.bg-footer {
  background: #fafafa;
  background: linear-gradient(180deg, #fafafa 0%, #ececec 100%);
}

hr {
  background: #a7a7a7;
}

.divider {
  font-size: 1.2rem;
  font-weight: lighter;
  color: #dadada;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: "Open Sans","Helvetica Neue",Arial,sans-serif;
  transition: all .2s;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active, #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #198e61 !important;
  background-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

h2 {
  text-align: center;
}

h2 span.dot {
  position: relative;
}

h2 span.dot::after {
  content: "　";
  width: 36px;
  height: 36px;
  background-color: #198e61;
  border-radius: 2rem;
  display: inline-block;
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -10%;
}

/* navbar */
.navbar-light .navbar-toggler, .navbar-dark .navbar-toggler {
  border: 0;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Menu "Hamburger" Icon Animations */
.navbar-toggler {
  border: none;
  background: transparent !important;
}

.navbar-toggler:focus {
  outline: none;
  background: transparent !important;
}

.navbar-toggler .icon-bar {
  background-color: #2c2c2c;
  -webkit-transform: rotate(0deg) translate(0px, 0px);
  transform: rotate(0deg) translate(0px, 0px);
  transition: ease all .2s;
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
}

.navbar-toggler .icon-bar + .icon-bar {
  margin-top: 6px;
}

.navbar-toggler .icon-bar:nth-child(2) {
  width: 24px;
  transition: ease all .2s;
}

.navbar-toggler:hover > .icon-bar:nth-child(2) {
  width: 24px;
  transition: ease all .2s;
}

.navbar-toggler:active > .icon-bar:nth-child(2) {
  width: 24px;
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(5px, 6px);
  transform: rotate(45deg) translate(5px, 6px);
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(2) {
  opacity: 0;
  transition: ease all .2s;
}

.navbar-toggler:not(.collapsed) .icon-bar:nth-child(3) {
  -webkit-transform: rotate(-45deg) translate(5px, -6px);
  transform: rotate(-45deg) translate(5px, -6px);
  transition: ease all .2s;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 1rem;
    font-weight: 500;
  }
}

@media screen and (max-width: 820px) {
  #mainNav {
    border-bottom: 0 solid rgba(33, 37, 41, 0.1);
  }
  .nav-item a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .navbar-nav {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
    padding-top: 1rem;
  }
  .navbar-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
  }
  .navbar-nav li:last-child {
    border-bottom: 0 solid rgba(0, 0, 0, 0.05);
  }
  .navbar-nav li ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-link {
    text-align: center;
  }
  .dropdown-menu-s3 ul.dropdown-menu {
    border-top: 2px solid rgba(0, 0, 0, 0.5) !important;
    background-color: white !important;
  }
  h2 span.dot::after {
    content: "　";
    width: 28px;
    height: 28px;
    right: -6%;
    bottom: -15%;
  }
  .title-float-img-s1 {
    right: 5%;
    top: 50%;
  }
}

@media (max-width: 576px) {
  .text-footer {
    font-size: .85rem;
    line-height: 1.5;
  }
}
