body,
html {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #dfe3e4;
  font-family: "Helvetica Neue", "Noto Sans TC", "Microsoft JhengHei",
    sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
#all {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #fff;
}
table {
  display: table;
  border: 1px #646464;
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: inherit;
}
a:hover, a.clicked {
  text-decoration: none;
  color: #ea1126;
}
ul,
ol {
  list-style-type: none;
  font-size: 0;
  padding-left: 0;
}
ul li,
ol li {
  font-size: 1rem;
}
.disc,
.decimal {
  padding-left: 1.75rem;
}
.disc > li {
  list-style: disc;
}
.decimal > li {
  list-style: decimal;
}
#header {
  background-color: #cfd6db;
  color: #454545;
  font-size: 0.75rem;
  height: 2.125rem;
  line-height: 2.125rem;
}
#nav ul {
  margin: 0;
}
#nav li {
  position: relative;
}
#nav > ul > li > a {
  display: block;
  height: 100%;
  padding: 0 0.75rem;
  line-height: 5rem;
}
#nav li.active > a,
#nav > ul > li > a:hover {
  box-shadow: 0 -3px #ea1126 inset;
}
#nav li.active > a::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  display: block;
  height: 5px;
  width: 5px;
  margin-left: -2px;
  background-color: #ea1126;
  transform: rotate(45deg);
}
.under-nav {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 38rem;
  z-index: 1030;
  box-shadow: 0 0 1rem #666;
  border-radius: 5px;
}
#nav .dropdown-toggle:hover + .under-nav,
#nav .dropdown-toggle:active + .under-nav,
.under-nav:hover {
  display: block;
}
.nav-img {
  width: 50%;
  padding-right: 1rem;
}
.hr::after {
  content: "";
  display: block;
  width: 7.375rem;
  height: 0.1875rem;
  border: 0;
  margin: 0.5rem auto 3rem;
  background-color: #ea1126;
  opacity: 1;
}
#contact-us-side-btn {
  position: fixed;
  right: 0;
  top: 65%;
  background-color: #ea1126;
  color: #f0f0f0;
  z-index: 1029;
}
#contact-us-side-content {
  position: fixed;
  width: 100%;
  max-width: 400px;
  min-height: 65px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  background-color: #f0f0f0;
  box-shadow: 0 0 30px 0 #000;
  display: none;
  z-index: 1029;
}
section {
  padding-bottom: 5rem;
  padding-top: 3rem;
}
section:nth-child(even) {
  background-color: #eaeaea;
}
.bg-before {
  position: relative;
  background-color: #fff !important;
}
.bg-before::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2rem;
  background: no-repeat #f0f0f0;
  background-image: linear-gradient(180deg, #f0f0f0 0, #fff 100%);
}
.bg-lazyloaded {
  background-repeat: no-repeat;
}
.breadcrumb,
.submenu {
  white-space: nowrap;
  overflow: auto;
}
.breadcrumb {
  background-color: #fff;
  padding: 0;
  margin: 0;
}
.breadcrumb ul,
.breadcrumb ol,
.submenu ul,
.submenu ol {
  margin: 0;
}
.breadcrumb li {
  display: inline-block;
  padding: 0.25rem;
  font-size: 0.875rem;
}
.breadcrumb li + li:before {
  display: inline-block;
  content: ">";
  margin-right: 0.25rem;
}
.submenu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f2f2f2;
  text-align: center;
}
.submenu li {
  display: inline-block;
  padding: 0 0.5rem;
  margin: 0.5rem 0;
}
.submenu li + li {
  border-left: 1px solid #333;
}
.back-to-top {
  display: none;
  position: fixed;
  bottom: 0.5rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  color: #fff;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 10;
  transition: all 0.4s ease;
}
.back-to-top.abs {
  display: inline-block !important;
  position: absolute;
  top: -2rem;
  bottom: auto;
  right: 0;
  left: 0;
  margin: 0 auto;
  opacity: 1;
  width: 4rem;
  height: 4rem;
  line-height: 3.2rem;
  font-size: 2rem;
  transition: all 0.4s ease;
}
.back-to-top svg {
  width: 33%;
  height: 40%;
}
#footer {
  background-color: #fafafa;
  position: relative;
  padding-top: 2rem;
}
#footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.625rem;
  background: no-repeat #d6d6d6;
  background-image: linear-gradient(180deg, #d6d6d6 0, #fafafa 100%);
}
.main-color {
  color: #ea1126;
}
.main-bg {
  background-color: #ea1126;
}
.text-blue {
  color: #1f4d81;
}
.bg-blue {
  background-color: #1f4d81;
}
.bg-gray {
  background-color: #eaeaea;
}
.bg-white {
  background-color: #fff;
}
.navbar-toggle,
#navbar-toggle-menu {
  display: none;
}
.navbar-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  background-color: transparent;
  font-size: 0;
}
.navbar-toggle:after,
.navbar-toggle:before {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #bcbcbc;
  right: 0;
  top: 50%;
  transform-origin: 50% 50%;
  transition: transform 0.25s;
}
.navbar-toggle::before {
  transform: translate3d(0, -8px, 0);
}
.navbar-toggle::after {
  width: 40%;
  transform: translate3d(0, 8px, 0);
}
.navbar-toggle span {
  position: absolute;
  height: 2px;
  width: 70%;
  background-color: #bcbcbc;
  right: 0;
  top: 50%;
  transform-origin: 50% 50%;
  transition: opacity 0.25s;
}
.navbar-toggle.act {
  display: inline-block;
}
.navbar-toggle.act:before {
  transform: rotate3d(0, 0, 1, 45deg);
}
.navbar-toggle.act:after {
  transform: rotate3d(0, 0, 1, -45deg);
  width: 100%;
}
#navbar-toggle-menu {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 1500;
  background-color: rgba(50, 50, 50, 0.95);
}
figure.banner {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
figure.banner[data-image] {
  padding-top: calc(10 / 72 * 100%);
  background-position: left center;
  background-repeat: no-repeat;
}
figure.banner > img {
  min-width: 60rem;
}
.banner figcaption {
  position: absolute;
  font-size: 1.25rem;
  height: 4rem;
  top: 0;
  bottom: 0;
  margin: auto 0 auto 7%;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.grid-list > li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
}
@media (max-width: 1039px) {
  #nav {
    display: none;
  }
  .navbar-toggle {
    display: inline-block;
  }
}
.bg-1 {
  background: #eceff1;
  color: #37474f;
}
.bg-2 {
  background: #7986cb;
  color: #eceff1;
}
.bg-3 {
  background: #37474f;
  color: #fff;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
  width: 15rem;
  height: 3rem;
  border: 0;
  background: 0;
  color: inherit;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  margin-top: 1.625em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  cursor: pointer;
}
.button:focus {
  outline: 0;
}
.button > i,
.button > span {
  vertical-align: text-bottom;
}
.bg-1 .button {
  color: #37474f;
  border-color: #37474f;
}
.bg-2 .button {
  color: #eceff1;
  border-color: #eceff1;
}
.bg-3 .button {
  color: #fff;
  border-color: #fff;
}
.button--size-s {
  font-size: 14px;
}
.button--size-m {
  font-size: 16px;
}
.button--size-l {
  font-size: 18px;
}
.button--size {
  font-size: 1rem;
}
.button--text-upper {
  letter-spacing: 2px;
  text-transform: uppercase;
}
.button--text-thin {
  font-weight: 300;
}
.button--text-medium {
  font-weight: 400;
}
.button--text-thick {
  font-weight: 600;
}
.button--round-s {
  border-radius: 4px;
}
.button--round-m {
  border-radius: 15px;
}
.button--round-l {
  border-radius: 40px;
}
.button--border-thin {
  border: 1px solid #ea1126;
  box-shadow: 0 0 1px #ea1126;
}
.button--border-medium {
  border: 2px solid #ea1126;
}
.button--border-thick {
  border: 3px solid;
}
.button--ujarak {
  transition: border-color 0.4s, color 0.4s;
  color: #ea1126;
  background-color: #fff;
}
.button--ujarak::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ea1126;
  z-index: -1;
  opacity: 0;
  transform: scale3d(0.7, 1, 1);
  transition: transform 0.4s, opacity 0.4s;
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--ujarak.button--round-s::before {
  border-radius: 2px;
}
.button--ujarak.button--inverted::before {
  background: #ea1126;
}
.button--ujarak,
.button--ujarak::before {
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}
.button--ujarak:hover {
  color: #fff;
  border-color: #ea1126;
}
.button--ujarak.button--inverted:hover {
  color: #ea1126;
  border-color: #fff;
}
.button--ujarak:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes anim-moema-1 {
  60% {
    transform: scale3d(0.8, 0.8, 1);
  }
  85% {
    transform: scale3d(1.1, 1.1, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}
@keyframes anim-moema-2 {
  to {
    opacity: 0;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes anim-nanuk-1 {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  49% {
    opacity: 1;
    transform: translate3d(0, 100%, 0);
  }
  50% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    color: inherit;
  }
  51% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    color: #fff;
  }
  100% {
    color: #fff;
  }
}
@keyframes anim-nanuk-2 {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  49% {
    opacity: 1;
    transform: translate3d(0, -100%, 0);
  }
  50% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
    color: inherit;
  }
  51% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    color: #fff;
  }
  100% {
    color: #fff;
  }
}
@keyframes anim-naira-1 {
  50% {
    transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0);
  }
}
@keyframes anim-naira-2 {
  50% {
    transform: translate3d(0, 50%, 0) rotate3d(0, 0, 1, 10deg);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, 0);
  }
}
.button {
  -webkit-tap-highlight-color: transparent; /* 移除 iPhone 長按白邊 */
  -webkit-touch-callout: none; /* 禁止 iOS 長按選單 */
  user-select: none; /* 禁止選取文字 */
  outline: none; /* 移除點擊外框 */
}
