@charset "UTF-8";
/*-------------------------------------------------------------------------------*/
/*    $Megamen2                                                                  */
/*-------------------------------------------------------------------------------*/
@media (max-width: 767px) {
  #main-nav-wrap {
    display: none;
  }
}

.nav-content {
  width: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.nav-content > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media (min-width: 1200px) {
  .nav-content {
    max-width: 1100px;
    width: calc(100% - 380px);
    margin-left: auto;
  }
  .nav-content > ul {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
}

.nav-item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  pointer-events: auto;
  white-space: nowrap;
}

.nav-tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 60px;
}
.nav-tab a {
  position: relative;
  padding: 0.25rem;
  color: #222222;
  font-size: 1.4375em;
}
.nav-tab a::before {
  content: "";
  display: block;
  position: absolute;
  left: -0.5rem;
  z-index: -1;
  width: 22px;
  height: 20px;
  background-color: #ffeca1;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.nav-tab a:hover {
  color: #0074d3;
  font-weight: bold;
}
.nav-tab a:hover::before {
  left: -0.75rem;
  background-color: #ffdb69;
}

.dropdowns {
  display: none;
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 0 0.75rem;
  text-align: left;
  background-color: white;
  border-top: 1px solid rgba(158, 158, 158, 0.2);
  -webkit-box-shadow: 0 2rem 2rem 0.125rem rgba(0, 0, 0, 0.05);
          box-shadow: 0 2rem 2rem 0.125rem rgba(0, 0, 0, 0.05);
}

.secondary-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 1rem auto;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.secondary-nav::after {
  content: "";
  display: table;
  clear: both;
}
@media (min-width: 1200px) and (min-width: 576px) {
  .secondary-nav {
    width: 546px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) and (min-width: 768px) {
  .secondary-nav {
    width: 728px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) and (min-width: 992px) {
  .secondary-nav {
    width: 952px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) and (min-width: 1200px) {
  .secondary-nav {
    width: 1140px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) and (min-width: 1400px) {
  .secondary-nav {
    width: 1240px;
    max-width: 100%;
  }
}
@media (min-width: 1200px) and (min-width: 1600px) {
  .secondary-nav {
    width: 1540px;
    max-width: 100%;
  }
}

.sec-item {
  width: calc(99.99% / 5);
  padding: 0.5rem 0.25rem;
}
@media (min-width: 992px) {
  .sec-item {
    width: calc(99.99% / 5);
  }
}

.sec-tit a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  padding-left: 1rem;
  color: rgba(34, 34, 34, 0.85);
  font-size: 1.25em;
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.sec-tit a::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - .75rem);
  left: 0;
  width: 4px;
  height: 1.5rem;
  background-color: #0074d3;
}
.sec-tit a:hover, .sec-tit a:focus {
  padding-left: 1.5rem;
  font-weight: bold;
}

.third-item {
  padding: 0.5rem 0 0.5rem 1rem;
}
.third-item a {
  display: block;
  padding: 0.35rem 0;
  color: rgba(34, 34, 34, 0.85);
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.third-item a:hover, .third-item a:focus {
  padding-left: 0.5rem;
  color: #0074d3;
}

.third-more {
  display: block;
  padding: 0.5rem 0 0.5rem 1rem;
  color: #222222;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.third-more:after {
  content: "...";
}
.third-more:hover, .third-more:focus {
  padding-left: 1.5rem;
  color: #0074d3;
}

/*-------------------------------------------------------------------------------*/
/*    $-客製選單                                                          */
/*-------------------------------------------------------------------------------*/
.taxnav {
  display: block;
  padding: 0.25rem;
  color: #504d4d;
}
.taxnav-tit {
  display: block;
  padding: 0.75rem 0;
  text-align: center;
}
@media (min-width: 992px) {
  .taxnav-tit {
    font-size: 1.25em;
  }
}
.taxnav-img {
  position: relative;
  width: 100%;
  padding-bottom: 56.75%;
  overflow: hidden;
}
.taxnav-img img {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.taxnav:hover, .taxnav:focus {
  font-weight: bold;
}
.taxnav:hover .taxnav-img, .taxnav:focus .taxnav-img {
  outline: 3px solid rgba(0, 116, 211, 0.75);
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
.taxnav:hover img, .taxnav:focus img {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

/*-------------------------------------------------------------------------------*/
/*    $-客製選單                                                          */
/*-------------------------------------------------------------------------------*/
.imgicon-nav {
  padding: 0.25rem;
  color: #504d4d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.imgicon-nav-tit {
  display: block;
  padding: 0;
  margin-left: 0.25rem;
  white-space: normal;
  width: calc(99.9% - 80px - .25rem);
}
@media (min-width: 992px) {
  .imgicon-nav-tit {
    font-size: 1.25em;
  }
}
.imgicon-nav-img {
  width: 80px;
  text-align: center;
  overflow: hidden;
}
.imgicon-nav:hover, .imgicon-nav:focus {
  font-weight: bold;
}
.imgicon-nav:hover .imgicon-nav-img, .imgicon-nav:focus .imgicon-nav-img {
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}