.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-space-around {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.img-100-100-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos_relative {
  position: relative;
}

.titleStyle {
  font-size: 3.75rem;
  line-height: 5.625rem;
}

.subtitleStyle {
  font-size: 1.5rem;
  line-height: 2.25rem;
}

@media screen and (max-width: 476px) {
  .titleStyle {
    font-size: 2.25rem;
    line-height: 3.375rem;
  }
  .subtitleStyle {
    font-size: 1.375rem;
    line-height: 2.0625rem;
  }
}
body {
  scroll-behavior: smooth;
}

main #banner {
  height: 700px;
  background: url("../img/index/banner.png") no-repeat;
  background-size: cover;
  position: relative;
}
main #banner .text {
  position: absolute;
  right: 35%;
  bottom: 70px;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  letter-spacing: 5px;
}
main #banner .text .title_md {
  font-size: 30px;
  text-shadow: 0px 0px 7px white;
}
main #banner .text .title_xs {
  font-size: 22px;
  text-shadow: 0px 0px 10px white;
}
main #service {
  border-bottom: 1px solid #b4d6dc;
  padding: 135px 0;
}
main #service li a {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
main #service li a img {
  height: 95px;
  object-fit: contain;
}
main #service li a p {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  color: #494949;
}
main #service li:hover a img {
  transform: scale(1.2);
  transition: all linear 0.2s;
}
main #service li:hover a p {
  color: #427387;
}
main #about {
  position: relative;
  background: url("../img/index/decorate.png") no-repeat;
  background-position: right 50%;
}
main #about .content {
  border-bottom: 1px solid #b4d6dc;
  padding: 135px 0 0;
}
main #about .content > div img {
  width: 500px;
  object-fit: contain;
}
main #about .content > div .text {
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  padding-right: 50px;
}
main #about .content > div .text h1 {
  width: 115px;
  height: 115px;
  font-size: 40px;
  border: 1px solid #b4d6dc;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 3px;
  -webkit-writing-mode: tb;
  writing-mode: tb;
}
main #about .content > div .text p {
  font-size: 22px;
  letter-spacing: 3px;
  line-height: 2.2;
}
main #article {
  font-family: "Noto Sans TC", sans-serif;
  padding: 50px 0;
}
main #article h1 {
  width: 115px;
  height: 115px;
  font-size: 40px;
  border: 1px solid #b4d6dc;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 3px;
  -webkit-writing-mode: tb;
  writing-mode: tb;
  margin-bottom: 50px;
}
main #article #article-container .loader {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
main #article #article-container div .card {
  height: 200px;
}
@media screen and (max-width: 768px) {
  main #article #article-container div .card {
    height: 410px;
  }
  main #article #article-container div .card div .img {
    height: 200px;
    width: auto;
    object-fit: cover;
    justify-content: center;
  }
  main #article #article-container div .card div .text {
    height: 200px;
  }
  main #article #article-container div .card div .text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}
main #article #article-container div .card div .img {
  height: 200px;
  width: auto;
  object-fit: cover;
  justify-content: center;
}
main #article #article-container div .card div .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
main #article .articleSlider .card {
  border: 1px solid #b4d6dc;
}
main #article .articleSlider .slick-dots li.slick-active button:before {
  color: #b4d6dc;
}
main #article .articleSlider .slick-dots {
  width: 80%;
  margin-left: 10%;
}
main #article .articleSlider a {
  color: #494949;
  text-decoration: none;
}
main #article .articleSlider a .img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 20px 20px;
}
main #article .articleSlider a .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main #article .articleSlider a .text .card-title {
  font-size: 18px;
  font-weight: 700;
}
main #article .articleSlider a .text .card-text {
  overflow: hidden;
  max-height: 120px;
}

@media screen and (max-width: 768px) {
  #banner {
    height: 700px !important;
    background: url("../img/index/banner_xs.png") no-repeat !important;
    background-size: 100% 100% !important;
    background-position: 90% 30% !important;
    position: relative;
  }
  #banner .text {
    position: absolute;
    right: 10% !important;
    bottom: 50px !important;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    color: white;
    letter-spacing: 5px;
  }
  #banner .text .title_md {
    font-size: 30px;
    text-shadow: 0px 0px 7px white;
  }
  #banner .text .title_xs {
    font-size: 22px;
    text-shadow: 0px 0px 10px white;
  }
  #service {
    border-bottom: none !important;
    padding: 50px 0 !important;
  }
  #service ul {
    flex-wrap: wrap;
  }
  #service ul li {
    margin-top: 50px;
  }
  #service ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  #service ul li a img {
    height: 70px;
    object-fit: contain;
  }
  #service ul li a p {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    text-align: center;
    font-family: "Noto Sans TC", sans-serif;
    color: #494949;
  }
  #service ul li:hover a img {
    transform: scale(1.2);
    transition: all linear 0.2s;
  }
  #service ul li:hover a p {
    color: #427387;
  }
  #about {
    position: relative;
    background: none !important;
  }
  #about:before {
    content: url("../img/index/decorate.png");
    position: absolute;
    right: 0;
    top: -350px;
    transform: scale(0.5);
    transform-origin: right bottom;
  }
  #about .content {
    border-bottom: none !important;
    padding: 0px 0 0 !important;
  }
  #about .content > div img {
    width: 80% !important;
    object-fit: contain;
    margin: 30px auto 0;
  }
  #about .content > div .text {
    display: flex;
    flex-direction: column;
    -webkit-writing-mode: inherit !important;
    writing-mode: inherit !important;
    padding-right: 0px !important;
    padding-left: 0;
  }
  #about .content > div .text h1 {
    width: 115px;
    height: 115px;
    font-size: 40px;
    border: 1px solid #b4d6dc;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 3px;
    -webkit-writing-mode: tb;
    writing-mode: tb;
    display: block;
    margin: 0 auto 50px;
  }
  #about .content > div .text p {
    font-size: 18px !important;
    letter-spacing: 3px;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    line-height: 2 !important;
    align-items: center;
  }
  #article {
    font-family: "Noto Sans TC", sans-serif;
    padding: 50px 0;
  }
  #article .h1 {
    width: 115px;
    height: 115px;
    font-size: 40px;
    border: 1px solid #b4d6dc;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 3px;
    -webkit-writing-mode: tb;
    writing-mode: tb;
    margin-bottom: 50px;
  }
  #article .articleSlider {
    flex-direction: column;
    position: relative;
  }
  #article .articleSlider .card {
    border: 1px solid #b4d6dc;
  }
  #article .articleSlider .slick-dots li.slick-active button:before {
    color: #b4d6dc;
  }
  #article .articleSlider .card {
    width: 80%;
    margin: 0 auto;
  }
  #article .articleSlider .slick-dots {
    width: 80%;
    margin-left: 7% !important;
  }
  #article .articleSlider a {
    width: 80% !important;
    color: #494949;
    text-decoration: none;
  }
  #article .articleSlider a .img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px !important;
  }
  #article .articleSlider a .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #article .articleSlider a .text .card-title {
    font-size: 18px;
    font-weight: 700;
  }
  #article .articleSlider a .text .card-text {
    font-size: 14px;
  }
}
#loaderCover {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  background: rgba(128, 128, 128, 0.3411764706);
}
#loaderCover .loader {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
  position: relative;
  top: 50%;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}