:root {
  --text-color: #2D2824;
  --text-en-color: #272b38;
  --primary-color: #8c0086;
  --primary-color-hover: #9a51df;
  --secondary-color: #143174;
}

h1 {
  padding: 0;
  margin: 0;
}

body {
  font-family: sans-serif;
  line-height: 1;
  font-size: 16px;
}

a {
  text-decoration: none;
}

#Application,
#Products,
#Contact {
  margin-top: -100px;
  padding-top: 100px;
}

.text-purple {
  color: var(--primary-color);
}

.bg-p1 {
  background-color: #e6e9f0;
}

.bg-p2 {
  background-color: #e4e6ea;
}

.bg-p3 {
  background-color: #f0f2f7;
}

/* 漢堡選單 */
.hamburger {
  display: block;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 2.5px;
  background: #fff;
  border-radius: 25%;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

.hamburger.active .line:nth-child(1) {
  transform: translateY(11.2px) rotate(45deg);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1200px) {
  .hamburger {
    display: none;
  }
}

/* menu */
.navbar-toggler,
.navbar-toggler:focus {
  border: none;
  color: #fff;
  box-shadow: none;
}

.logo {
  padding: 20px 0;
  width: 120px;
  height: 20px;
  background-image: url("../img/logo-w.png");
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .logo {
    width: 170px;
    height: 60px;
  }
}

.nav-bg {
  transition: all 0.2s ease;
  background-image: linear-gradient(to bottom, #000a77, #002c9a, #074ab4);
}


nav {
  transition: all 0.2s ease;
}

nav img {
  width: 100px;
}

nav .scroll a,
.nav-link {
  font-size: 16px;
  letter-spacing: 2.2px;
  outline: 0;
  padding: 20px 15px;
  color: #fff;
  transition: all 0.2s ease;
  position: relative;
}



nav .nav-item+.nav-item {
  margin-left: 0;
}

.nav-item-dropdown {
  position: relative;
  margin-right: 0;

}


nav .scroll a:hover,
.nav-link:focus,
.nav-link:hover {
  background-color: #ffffff42;
  color: #fff;
}

@media (min-width: 1200px) {
  nav .scroll a {
    padding: 40px 15px;

  }

  nav .nav-item+.nav-item {
    margin-left: 10px;
  }

  .nav-item-dropdown {
    margin-right: 30px;
  }

}



.dropdown-item-ja-l1 {
  list-style: none;
  display: none;
  position: absolute;
  z-index: 1091;
  width: auto;
  white-space: nowrap;
  padding-left: 0;
  box-shadow: 0 0.125rem 0.15rem rgba(0, 0, 0, 0.075);
  border-radius: 0px;
  border-top: 2px solid #666;
  /*overflow: hidden;*/
  /*border: 1px solid #fff;*/
}

.dropdown-item-ja-l1 {
  left: 5px;
  top: 100%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075);
  color: #666;
  background: #fff;
}


nav .scroll a.nav-link-l1 {
  width: 100%;
  display: block;
  outline: 0;
  padding: 10px 20px;
  margin: 0;
  color: #76787B;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid #fff;
  margin-bottom: 5px;
}

.nav-item-dropdown:hover .dropdown-item-ja-l1 {
  display: none;
}

@media (min-width: 1200px) {
  .nav-item-dropdown:hover .dropdown-item-ja-l1 {
    display: block;
  }
}

.nav-item-dropdown-l2:hover .dropdown-item-ja-l2 {
  display: block;
}

.nav-item-dropdown-l2:hover {
  display: block;
}

.btn-label {
  color: #fff;
  cursor: pointer;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
}



.btn-label i {
  padding: 5px;
}

.dropdown-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  color: #76787B;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 99999;
  /* pointer-events: none; */
}

.dropdown-btn i {
  display: block;
  padding: 10px;
}

#search,
#shopCart,
#phoneProduct,
#phoneNew,
#phoneAbout,
#phoneDownload,
#phoneOEM {
  display: none;
}

#product:checked~.phone-product,
#shopCart:checked~.shopcart-item,
#phoneProduct:checked~.phone-item,
#phoneNew:checked~.phone-new-item,
#phoneAbout:checked~.phone-about-item,
#phoneDownload:checked~.phone-download-item,
#phoneOEM:checked~.phone-oem-item {
  opacity: 1;
  visibility: visible;
}

#search:checked~.search-item,
#phoneProduct:checked~.phone-item,
#phoneNew:checked~.phone-new-item,
#phoneAbout:checked~.phone-about-item,
#phoneDownload:checked~.phone-download-item,
#phoneOEM:checked~.phone-oem-item {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  display: block;
  z-index: 1100;
}

.size-right {
  right: 15px;
  font-size: 18px;
}

.phone-item,
.phone-new-item,
.phone-about-item,
.phone-download-item,
.phone-oem-item {
  background: linear-gradient(to left, #E8E8E8, #DCDDD8);
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 0;
  bottom: 0;
  height: 100vh;
  z-index: 1500;
  /*overflow-y: scroll;*/
  transition: all 0.3s ease;
  display: none;
}

.phone-new-item ul,
.phone-about-item ul,
.phone-download-item ul,
.phone-oem-item ul {
  list-style: none;
  padding-left: 0;
  background: #F6F6F6;
  /*border-radius: 15px;*/
  /*overflow: hidden;*/
}

.phone-new-item li,
.phone-about-item li,
.phone-download-item li,
.phone-oem-item li {
  background-color: #fff;
  border-bottom: 1px solid #D6D6D6;
}

.phone-new-item ul li a,
.phone-about-item ul li a,
.phone-download-item ul li a,
.phone-oem-item ul li a {
  color: #76787B;
  font-weight: bolder;
  font-size: 18px;
  transition: all 0.3s ease;
  display: block;
  padding: 10px 15px;
}

.phone-item .accordionm {
  background-color: #f6f6f6;
}

.phone-item .phone-link-title {
  color: #76787B;
  font-weight: bolder;
  font-size: 18px;
  transition: all 0.3s ease;
  padding-left: 15px;
  padding: 10px 0 10px 15px;
  background: #fff;
}

.phone-item .phone-link-title:hover,
.phone-new-item a:hover,
.phone-new-item ul li a:hover,
.phone-about-item ul li a:hover,
.phone-download-item ul li a:hover,
.phone-oem-item ul li a:hover {
  color: #76787B;
}

.phone-item .phone-link-body {
  display: block;
  font-size: 18px;
  padding: 5px 10px;
  margin-bottom: 5px;
  background: #76787B;
  color: #fff;
}

.phone-item .phone-link-body:hover {
  color: #f9c800;
}

#product:checked~.phone-item {
  display: block;
}

@media (min-width: 1200px) {
  .phone-item {
    display: none !important;
  }
}

.close-title {
  font-weight: bolder;
  display: block;
  color: #aaa;
  z-index: 1501;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-title:hover {
  color: #fff;
  transform: translateX(-10px);
}

.phone-item .accordion-item {
  background-color: transparent;
  border: 1px solid transparent;
}

.phone-item .accordion-button {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  flex-grow: 1;
  padding: 14px 15px !important;
  color: #fff;
}

.phone-item .accordion-button:focus {
  box-shadow: none;
}

.phone-item .phone-link-title {
  width: 100%;
}

.phone-item .phone-link-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
  background-color: #fff;
}

.phone-item .accordion-button:not(.collapsed) {
  background: #fff;
  box-shadow: none;
}

.accordion-item:first-of-type .accordion-button {
  background: #fff;
}

.icon-nav {
  width: auto;
}

.nav-bg .icon-nav .dropdown-menu {
  font-size: 17px;
  border-bottom: 1px solid #fff;
  padding: 0;
  outline: 0;
  background: #f0f0f0;
  border: 0;
  border-radius: 0px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075);
  letter-spacing: 1.5px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.nav-bg .icon-nav .dropdown-item,
nav .scroll .dropdown-item {
  color: #888;
  border-bottom: 1px solid #fff;
  padding: 10px 20px;
  margin-bottom: 5px;
  cursor: pointer;
}

.nav-bg .icon-nav .dropdown-item:hover,
.nav-bg .icon-nav .dropdown-item:focus,
.nav-bg .icon-nav .dropdown-item:active,
nav .scroll .dropdown-item:hover,
nav .scroll .dropdown-item:focus,
nav .scroll .dropdown-item:active {
  background: #fff;
  color: #76787B;
}

.nav-bg .icon-nav .dropdown-menu[data-bs-popper] {
  /*right: 0;*/
  left: auto;
  top: 40px;
}

/* footer */
.footer {
  padding: 15px 0;
  background: #2e2923;
  color: #fff;
}

.footer .reserved {
  width: 100%;
  text-align: center;
}

.footer .reserved p {
  margin-bottom: 0;
  font-size: 14px;
}

.footer .reserved a {
  color: #fff;
}


.section-main {
  background: url('../img/main2.jpg')no-repeat center center /cover scroll;
  position: relative;
  width: 100%;
  height: 100vh;
}

.slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 40px;
  color: #fff;
  font-size: 24px;
  letter-spacing: 2.2px;
  line-height: 1.5;
  display: inline-block;
  z-index: 1;
  width: 100%;
}

.slogan h2 {
  color: var(--primary-color);
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-bottom: none;
  width: 100%;
  font-size: 28px;
  letter-spacing: 3px;
}

@media (min-width: 576px) {
  .slogan h2 {
    font-size: 30px;
    letter-spacing: 5px;

  }
}

@media (min-width: 992px) {
  .slogan h2 {
    font-size: 60px;
    letter-spacing: 10px;

  }
}



/* why */
.section-why {
  padding: 60px 0;
  background-color: #eceff6;
}

h2 {
  padding: 20px 0;
  text-align: center;
  font-weight: bolder;
  font-size: 30px;
  letter-spacing: 1.3px;
  color: #334e73;
  border-bottom: 3px solid var(--primary-color);
  margin-bottom: 0;
}

@media (min-width: 576px) {

  h2 {
    font-size: 30px;
  }
}

@media (min-width: 1200px) {
  h2 {
    font-size: 45px;
    padding: 40px 0;

  }
}

/* 產品系列 */
.section-products {
  background: #fff;
}

.section-products h3 {
  font-size: 18px;
  font-weight: bolder;
  color: #fff;
  background-image: linear-gradient(to right, #2a8dda, #226ab9);
  display: inline-block;
  padding: 10px 45px;
  border-radius: 30px;
}

.section-products ul {
  list-style: none;
  padding: 30px 0;
  margin-left: 0;
  text-align: center;
}

.section-application ul {
  list-style: none;
  padding: 30px 0;
  margin-left: 80px;
  margin-top: 20px;
}

.section-products li,
.section-application li {
  font-size: 15px;
  position: relative;
  font-weight: bolder;
  line-height: 1.4;

}

.section-products span {
  width: auto;
  display: inline-block;
  margin-right: 10px;
}

.section-application span {
  width: 100%;
  display: inline-block;
}

.section-products li+li,
.section-application li+li {
  margin-top: 20px;
}

.section-products li::after,
.section-application li::after {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary-color-hover);
  border-radius: 50%;
  display: none;

}

@media (min-width: 576px) {
  .section-products h3 {
    font-size: 22px;
  }
}


@media (min-width: 1200px) {
  .section-products ul {
    margin-left: 30px;
    text-align: left;
  }

  .section-products span {
    /* width: 200px; */
    margin-right: 0;
  }

  .section-products h3 {
    font-size: 28px;
  }

  .section-products li,
  .section-application li {
    font-size: 20px;
  }

  .section-products li::after,
  .section-application li::after {
    display: block;
  }
}

.section-products table,
.section-table table {
  font-size: 20px;
  text-align: center;
  background-color: #f0f2f7;
  white-space: nowrap;
}

.section-products table thead,
.section-table table thead {
  color: #fff;
  font-weight: bolder;
  background-color: #3191d9;
}

.section-products table tbody,
.section-table table tbody {
  font-size: 18px;
  color: #566693;
}

td,
th {
  vertical-align: middle;
  height: 50px;
  font-weight: bolder;
  font-size: 16px;
}

@media (min-width: 992px) {

  td {
    font-size: 18px;
  }

  th {
    font-size: 20px;
  }
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  color: #566693;

}


.section-products p {
  color: var(--primary-color);
  padding: 30px 0;
  font-size: 18px;
  font-weight: bolder;
  line-height: 1.3;
  margin-bottom: 0;
}

@media (min-width: 992px) {

  .section-products p {
    font-size: 24px;
  }
}

/* 規格 */
.section-table {
  padding: 60px 0;
}

.section-table .btn-outline-click {
  border: 1px solid #59667a;
  color: #59667a;
  background-color: transparent;
  padding: 10px 5px;
  border-radius: 0px;
  font-weight: bolder;
  transition: all 0.2s ease-in-out;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 15px;

}

@media (min-width: 576px) {
  .section-table .btn-outline-click {
    padding: 10px 15px;
    font-size: 16px;

  }
}

.section-table .btn-outline-click:hover {
  background-color: #59667a;
  color: #fff;
}


.section-table .solid,
.section-table .light {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #59667a;
  display: inline-block;

}

.section-table .solid {
  background-color: #59667a;
}

.section-table .light {
  background-color: transparent;
}

.section-table p {
  font-weight: bolder;
  font-size: 16px;
  color: var(--secondary-color);
  margin-top: 10px;
  margin-bottom: 15px;
}

.section-table .table-responsive p {
  display: flex;
  justify-content: flex-end;
  align-items: center;

}

.section-table img {
  width: 100%;
}

@media (min-width: 992px) {
  .section-table p {
    font-size: 24px;
    margin-bottom: 60px;
  }

  .section-table img {
    width: 75%;
  }
}

/* 應用 */
.section-application {
  padding: 60px 0 60px 0;
}

.section-application img {
  width: 100%;
  height: auto;
}

.section-application p {
  text-align: left;
  padding: 10px 5px 5px 10px;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--secondary-color);
  font-weight: bolder;
  display: block;
}

@media (min-width: 992px) {
  .section-application img {
    width: 75%;
    height: 100%;
  }

  .section-application p {
    display: none;
  }
}

/* 案例 */
.section-case {
  padding: 60px 0 240px 0;
}

/* contact */
.section-contact {
  background: var(--secondary-color);
  padding: 60px 0;
}

.section-contact h2 {
  color: #fff;
  border-bottom: 1px solid #eee;
}


.form-label {
  color: #f0efeb;
  font-weight: bolder;
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-size: 16px;
}


.form-control {
  border-radius: 0;
  background: #f0efeb;
}

.btn-send {
  background-color: transparent;
  color: #fff;
  outline: none;
  border: none;
  font-weight: bolder;
  letter-spacing: 2px;
  font-size: 16px;
  transition: all 0.2s ease-in-out;
  border: 1px solid #fff;
  padding: 15px 55px;
  border-radius: 30px;
}

.btn-send:hover {
  color: var(--secondary-color);
  background-color: #fff;
}

@media (min-width: 992px) {
  .form-label {
    font-size: 20px;
  }

  .btn-send {
    font-size: 20px;

  }
}

/* scrollTop */
.arrow-up {
  position: fixed;
  bottom: 50px;
  right: 15px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.arrow-up.active {
  top: auto;
  bottom: 60px;
  opacity: 1;
  visibility: visible;
}

.arrow-up div {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #59667a;
  border-radius: 50%;
  border: 1px solid #59667a;
  cursor: pointer;
  color: #fff;
  font-weight: bolder;
  transition: all 0.3s ease;
}

.loading {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 100%);
  z-index: 9999;
  opacity: 0.9;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.sk-chase {
  width: 40px;
  height: 40px;
  position: relative;
  animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
  content: '';
  display: block;
  width: 25%;
  height: 25%;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
  animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3) {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
  animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
  animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
  animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3):before {
  animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
  animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
  animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
  animation-delay: -0.6s;
}

@keyframes sk-chase {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot {

  80%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sk-chase-dot-before {
  50% {
    transform: scale(0.4);
  }

  100%,
  0% {
    transform: scale(1.0);
  }
}