@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Khand:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montaga&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@100;300;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cuprum:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");
body, div, dl, dt, dd, ul, ol, li,
h1, h2, h4, h5, h6, pre, code,
form, fieldset, legend, input, button,
textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

fieldset, img {
  border: 0;
}

:focus {
  outline: 0;
}

address, caption, cite, code, dfn,
em, th, var, optgroup {
  font-style: normal;
  font-weight: normal;
}

abbr, acronym {
  border: 0;
  font-variant: normal;
}

input, button, textarea,
select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

code, kbd, samp, tt {
  font-size: 100%;
}

input, button, textarea, select {
  *font-size: 100%;
}

body {
  line-height: 1.5;
}

ol, ul {
  list-style: none;
}

sup, sub {
  font-size: 100%;
  vertical-align: baseline;
}

:link, :visited, ins {
  text-decoration: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

.clean::after, .container::after {
  display: block;
  clear: both;
  content: "";
}

.imgCover img, .news-modal .img img {
  width: 100% !important;
  height: 100% !important;
  height: auto\0;
  height: auto\9\0;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.no-fit-cover {
  background-position: center center !important;
  background-repeat: no-repeat;
}

.no-fit-cover img {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-animation: unset;
          animation: unset;
}

.no-fit-cover {
  background-size: cover !important;
}

.no-fit-cover::after, .no-fit-cover::before {
  background: transparent !important;
}

.flipx {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  -webkit-filter: FlipH;
          filter: FlipH;
}

.flipy {
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  -webkit-filter: FlipV;
          filter: FlipV;
}

.fade, .section-title, .header .navbar_logo, .header .menu a, .nav-control, .nav-control .dropdown-content a, .footer .link-block a.link, .btn-arrow-line, .modal-name {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade:hover, .section-title:hover, .header .navbar_logo:hover, .header .menu a:hover, .nav-control:hover, .nav-control .dropdown-content a:hover, .footer .link-block a.link:hover, .btn-arrow-line:hover, .modal-name:hover {
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

.fade-transform {
  -webkit-transition-property: position, left, top, right, bottom, display, -webkit-transform;
  transition-property: position, left, top, right, bottom, display, -webkit-transform;
  transition-property: transform, position, left, top, right, bottom, display;
  transition-property: transform, position, left, top, right, bottom, display, -webkit-transform;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.fade-transform:hover {
  -webkit-transition-property: position, left, top, right, bottom, -webkit-transform;
  transition-property: position, left, top, right, bottom, -webkit-transform;
  transition-property: transform, position, left, top, right, bottom;
  transition-property: transform, position, left, top, right, bottom, -webkit-transform;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.fade-color {
  -webkit-transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow, -webkit-box-shadow;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.fade-color:hover {
  -webkit-transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, opacity, background-image, text-shadow, -webkit-box-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow;
  transition-property: background-color, color, box-shadow, opacity, background-image, text-shadow, -webkit-box-shadow;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}

.scroller {
  overflow-y: scroll;
  scrollbar-color: #d4dde4 #f4f6f8;
  scrollbar-width: thin;
}

.card-scoll {
  /* width */
  /* Track */
  /* Handle */
  /* Handle on hover */
}

.card-scoll ::-webkit-scrollbar {
  width: 5px;
}

.card-scoll ::-webkit-scrollbar-track {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0px;
  background: #f4f6f8;
}

.card-scoll ::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background: #d4dde4;
}

.card-scoll ::-webkit-scrollbar-thumb:hover {
  background: #d4dde4;
}

@-webkit-keyframes scale-in {
  from {
    -webkit-transform: scale(0.7) translate3d(0, 100%, 0);
            transform: scale(0.7) translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    -webkit-transform: scale(0.7) translate3d(0, 100%, 0);
            transform: scale(0.7) translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-bottom {
  from {
    -webkit-transform: scale(0.7) translate3d(0, 100%, 0);
            transform: scale(0.7) translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  from {
    -webkit-transform: scale(0.7) translate3d(0, 100%, 0);
            transform: scale(0.7) translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

@-webkit-keyframes fading {
  0% {
    opacity: .1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .1;
  }
}

@keyframes fading {
  0% {
    opacity: .1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .1;
  }
}

@-webkit-keyframes move-right {
  0% {
    left: 0;
  }
  50% {
    left: 100%;
  }
  51% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

@keyframes move-right {
  0% {
    left: 0;
  }
  50% {
    left: 100%;
  }
  51% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

@-webkit-keyframes move-left {
  0% {
    right: 0;
  }
  50% {
    right: 100%;
  }
  51% {
    right: -100%;
  }
  100% {
    right: 0;
  }
}

@keyframes move-left {
  0% {
    right: 0;
  }
  50% {
    right: 100%;
  }
  51% {
    right: -100%;
  }
  100% {
    right: 0;
  }
}

@-webkit-keyframes move-top {
  0% {
    top: 0;
  }
  50% {
    top: -100%;
  }
  51% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}

@keyframes move-top {
  0% {
    top: 0;
  }
  50% {
    top: -100%;
  }
  51% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}

@-webkit-keyframes down {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

@keyframes down {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

@-webkit-keyframes border-move-right {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

@keyframes border-move-right {
  0% {
    left: -100%;
  }
  100% {
    left: 0;
  }
}

@-webkit-keyframes border-move-left {
  0% {
    left: 0;
  }
  100% {
    left: -100%;
  }
}

@keyframes border-move-left {
  0% {
    left: 0;
  }
  100% {
    left: -100%;
  }
}

@-webkit-keyframes stroke {
  0% {
  }
  100% {
    stroke: #999;
    stroke-dashoffset: 0;
  }
}

@keyframes stroke {
  0% {
  }
  100% {
    stroke: #999;
    stroke-dashoffset: 0;
  }
}

/*
*** font size
*/
/*
***   set media width
*/
/*
***   set responsive width
*/
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

select {
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
}

/*For IE10+*/
select::-ms-expand {
  display: none;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: left top;
  color: #333;
  font-size: 16px;
  font-family: "微軟正黑體",sans-serif;
  padding-top: 95px;
}

body.open {
  position: fixed;
}

.text-center {
  text-align: center;
}

.section-title {
  font-family: 'Montaga',"微軟正黑體",sans-serif;
  font-size: 38px;
  font-weight: normal;
  letter-spacing: 0;
}

.section-title.style2 {
  color: #dbaba2;
  font-size: 42px;
  margin-bottom: 1.5vw;
}

.header {
  font-family: 'Khand',"微軟正黑體",sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  position: fixed;
  top: 0;
  background: #fff8f3;
  width: 100%;
  padding-bottom: 15px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  z-index: 10;
  padding-top: 1Vw;
}

.header .navbar_logo {
  display: inline-block;
  vertical-align: middle;
  height: 70px;
  margin-top: 5px;
}

.header .navbar_logo img {
  height: 100%;
}

.header.scroll-to-fixed {
  padding-top: 0;
  padding-bottom: 5px;
  background: rgba(255, 248, 243, 0.95);
  -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.25);
}

.header.scroll-to-fixed .navbar_logo {
  height: 50px;
}

.header.scroll-to-fixed .nav-control {
  margin-top: 10px;
}

.header .menu {
  display: inline-block;
  vertical-align: middle;
  margin-left: 7%;
}

.header .menu a {
  display: inline-block;
  margin: 17px 0 0 45px;
  color: #333;
  font-size: 20px;
  letter-spacing: 2px;
  border-bottom: 3px solid #fff8f3;
}

.header .menu a:hover {
  border-bottom: 3px solid #e84638;
}

.container {
  margin: 0 auto;
  padding: 0 15px;
}

.header .container {
  position: relative;
  width: 90%;
}

/* nav */
.nav-control {
  float: right;
  margin-top: 25px;
}

.nav-control .dropdown {
  position: relative;
  display: inline-block;
}

.nav-control .dropdown-content {
  display: none;
  position: absolute;
  background-color: #edbe93;
  min-width: 55px;
  overflow: auto;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  margin-top: 5px;
}

.nav-control .dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.nav-control .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-control .show {
  display: block;
}

.nav-control-btn {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}

.language-btn span {
  display: block;
  padding: 0 25px 0 15px;
  width: 100%;
  line-height: 20px;
  background-color: #edbe93;
  color: #fff;
  border-radius: 20px;
}

.language-btn span:before, .language-btn span:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 7px;
  background: #fff;
  top: 9px;
}

.language-btn span:before {
  right: 11px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
}

.language-btn span:after {
  right: 7px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.language-btn .w3-dropdown-content {
  cursor: auto;
  color: #000;
  background-color: #fff;
  display: none;
  position: absolute;
  min-width: 160px;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.language-btn:hover .w3-dropdown-content {
  display: block;
}

.language-btn:hover > .w3-button:first-child,
.language-btn:hover .w3-dropdown-click:hover > .w3-button:first-child {
  background-color: #ccc;
  color: #000;
}

.menu-btn {
  cursor: pointer;
  margin-top: 7px;
  width: 35px;
  height: 35px;
}

.menu-btn:before {
  content: "";
  position: absolute;
  height: 2px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #edbe93;
  top: 50%;
  left: 50%;
  right: 50%;
  -webkit-transition: all .3s ease .2s;
  transition: all .3s ease .2s;
}

.menu-btn:after {
  content: "";
  position: absolute;
  height: 2px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  background: #edbe93;
  top: 50%;
  left: 50%;
  right: 50%;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.menu-btn > span {
  position: absolute;
  right: 0;
  width: 20px;
  height: 2px;
  background-color: #edbe93;
}

.menu-btn > span:nth-child(1) {
  width: 28px;
  top: 5px;
  -webkit-transition: width .3s ease .5s,background .7s ease 1s;
  transition: width .3s ease .5s,background .7s ease 1s;
}

.menu-btn > span:nth-child(2) {
  top: 12px;
  -webkit-transition: width .3s ease .4s,background .7s ease 1s;
  transition: width .3s ease .4s,background .7s ease 1s;
}

.menu-btn > span:nth-child(3) {
  width: 12px;
  top: 19px;
  -webkit-transition: width .3s ease .3s,background .7s ease 1s;
  transition: width .3s ease .3s,background .7s ease 1s;
}

.menu-btn.close-btn {
  z-index: 100;
}

.menu-btn.close-btn:before {
  left: 0;
  right: 0;
  -webkit-transition: all .3s ease .3s;
  transition: all .3s ease .3s;
  width: auto;
}

.menu-btn.close-btn:after {
  left: 0;
  right: 0;
  -webkit-transition: all .3s ease .4s;
  transition: all .3s ease .4s;
}

.menu-btn.close-btn span {
  background: #edbe93;
  width: 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.menu-btn.scroll span {
  background: #edbe93;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

/*footer*/
.footer {
  padding: 20px 7%;
  background-color: #c24850;
  background-image: url(../images/primary/bg-footer.jpg);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 40vw;
  color: #fffded;
}

.footer .link-block {
  float: left;
  width: 25%;
  padding: 2%;
}

.footer .link-block .category {
  font-family: 'Montserrat', "微軟正黑體",sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer .link-block-100 {
  float: left;
  padding: 2%;
}

.footer .link-block-100 .category {
  font-family: 'Montserrat', "微軟正黑體",sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 1266px) {
  .footer .link-block .category {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .footer .link-block .category {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .footer .link-block .category {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .footer .link-block .category {
    font-size: 16px;
  }
}

@media (max-width: 320px) {
  .footer .link-block .category {
    font-size: 14px;
  }
}

.footer .link-block a.link {
  font-family: 'Montserrat', "微軟正黑體",sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  display: block;
  color: #fff;
  margin: 7px 0;
}

@media (max-width: 1266px) {
  .footer .link-block a.link {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .footer .link-block a.link {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .footer .link-block a.link {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .footer .link-block a.link {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .footer .link-block a.link {
    font-size: 13px;
  }
}

.footer .link-block a.link:hover {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}

.footer .link-block a.link.link-icon {
  display: inline-block;
  margin-top: 20px;
  margin-right: 5%;
  width: 30px;
  height: 30px;
}

.footer .link-block a.link.link-icon:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}

.footer .link-block a.link.link-icon img {
  width: 100%;
}

.footer .copyright {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: rgba(4, 0, 0, 0.4);
  margin-top: 20px;
}

@media (max-width: 1266px) {
  .footer .copyright {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .footer .copyright {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .footer .copyright {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer .copyright {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .footer .copyright {
    font-size: 12px;
  }
}

.btn-arrow-line {
  font-family: 'Montaga',"微軟正黑體",sans-serif;
  font-size: 17px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #fff;
  overflow: hidden;
  padding: 10px 15px;
  min-width: 150px;
}

@media (max-width: 1266px) {
  .btn-arrow-line {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .btn-arrow-line {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .btn-arrow-line {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .btn-arrow-line {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .btn-arrow-line {
    font-size: 13px;
  }
}

.btn-arrow-line.transparent-white {
  border: 1px solid #fff;
  background-color: transparent;
}

.btn-arrow-line.solid-dark {
  border: 1px solid #3c3e4b;
  background-color: #3c3e4b;
}

.btn-arrow-line.solid-orange {
  border: 1px solid #dc4638;
  background-color: #dc4638;
}

.btn-arrow-line span {
  display: inline-block;
  vertical-align: middle;
}

.btn-arrow-line img {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.btn-arrow-line:hover > img {
  -webkit-transform: translateX(10px);
          transform: translateX(10px);
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
}

.btn-row {
  margin-top: 3vw;
}

#toTop {
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 1%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  border: none;
  text-indent: -9999px;
  background: url(../images/top.svg) no-repeat center center;
  background-size: 40px;
  z-index: 9;
  background-size: 100%;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

#toTop:hover {
  bottom: 25px;
  -webkit-transition: all linear .2s;
  transition: all linear .2s;
}

#toTop:active, #toTop:focus {
  outline: none;
}

/* The Modal (background) */
body.modalShow {
  overflow-y: hidden;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  padding-bottom: 100px;
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(1, 8, 10, 0.8);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #eeeeee;
  margin: auto;
  padding: 5vh 0;
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  max-width: 90vw;
  width: 800px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  min-height: 50vh;
}

.modal-name {
  font-family: 'Prompt',"微軟正黑體",sans-serif;
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 2px;
  position: absolute;
  right: 1%;
  bottom: 100%;
  color: #eeeeee;
  line-height: 30px;
}

@media (max-width: 1024px) {
  .modal-name {
    font-size: 40px;
    line-height: 27px;
  }
}

@media (max-width: 480px) {
  .modal-name {
    font-size: 35px;
    line-height: 24px;
  }
}

.news-modal .title {
  font-family: 'Lato', "微軟正黑體", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 1%;
  text-align: center;
}

@media (max-width: 768px) {
  .news-modal .title {
    font-size: 17px;
  }
}

.news-modal .date {
  font-family: 'Khand',"微軟正黑體",sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #c92e27;
  text-align: center;
}

.news-modal .date:before, .news-modal .date:after {
  content: "";
  width: 60px;
  display: inline-block;
  margin: 0 15px;
  height: 5px;
  vertical-align: middle;
  border-bottom: 1px solid #c92e27;
}

.news-modal .content {
  width: 100%;
  max-width: 650px;
  color: #8b8b8c;
  font-size: 15px;
  text-align: center;
}

.news-modal .content div,
.news-modal .content p {
  color: #8b8b8c;
  font-size: 15px;
}

.news-modal .img {
  position: relative;
  max-width: calc(3 * 30vw);
  max-height: calc(2 * 30vw);
  width: 800px;
  height: 535px;
}

.news-modal .img:before, .news-modal .img:after {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 50%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.news-modal .img:before {
  top: -2px;
  background-image: url("../images/others/news-img-top.png");
  background-position: left top;
}

.news-modal .img:after {
  bottom: -2px;
  background-image: url("../images/others/news-img-bottom.png");
  background-position: left bottom;
}

/* The Close Button */
.close {
  background-color: #c92e27;
  color: #fff;
  font-size: 15px;
  display: inline-block;
  padding: 7px 10px;
  width: 100px;
  cursor: pointer;
}

/*
* nav
*/
.open {
  top: 0;
  opacity: 1;
  display: table;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 99;
}

.open ul {
  margin-top: 8vh;
}

nav {
  display: none;
  position: absolute;
  top: 60px;
  opacity: 0;
  left: 0;
  right: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  overflow: hidden;
}

nav > ul {
  text-align: center;
}

li.line {
  padding: 3vh 0;
}

.line a {
  display: block;
  font-size: 22px;
  color: #fff;
}

@media (max-width: 1266px) {
  .line a {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .line a {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .line a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .line a {
    font-size: 20px;
  }
}

@media (max-width: 320px) {
  .line a {
    font-size: 18px;
  }
}

.line a:hover {
  opacity: 0.8;
}

.line img {
  width: 130px;
}

li.line:last-child img {
  width: 156px;
}

.sub-menu {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 30px;
}

.sub-menu li {
  display: inline-block;
  font-size: 18px;
  margin: 10px;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .header .container {
    width: 96%;
  }
  .header .menu {
    margin-left: 4%;
  }
  .header .menu a {
    margin-left: 20px;
    font-size: 18px;
    letter-spacing: 1px;
  }
  .section-title {
    font-size: 30px;
  }
  .section-title.style2 {
    font-size: 36px;
  }
  .btn-arrow-line {
    font-size: 16px;
    padding: 1.5% 2.5%;
    margin-top: 3vw;
  }
  .footer .link-block a.link.link-icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  .header .container {
    padding: 0;
  }
  .header .menu {
    display: none;
  }
  .header .nav-control {
    margin-top: 10px;
  }
  .header .navbar_logo {
    height: 55px;
  }
  .header.scroll-to-fixed .navbar_logo {
    height: 40px;
    margin-top: 8px;
  }
  .footer {
    background-size: 60vw;
  }
  .footer .link-block {
    width: 100%;
  }
  .footer .link-block a.link.link-icon {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  body {
    background-size: 80vw;
  }
  .section-title {
    font-size: 22px;
  }
  .section-title.style2 {
    font-size: 26px;
  }
  .btn-arrow-line {
    font-size: 14px;
    padding: 2% 4.5%;
  }
  .btn-arrow-line img {
    width: 40px;
    height: 15px;
  }
  .news-modal .date:before, .news-modal .date:after {
    display: none;
  }
  .news-modal .date, .news-modal .title {
    font-size: 14px;
    padding: 0 2%;
  }
  .news-modal .content div,
  .news-modal .content p {
    font-size: 13px;
    padding-left: 2%;
    padding-right: 2%;
  }
  .footer .link-block a.link.link-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 320px) {
  body {
    overflow-x: auto;
  }
}
