header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
  width: 100%;
  height: 127px;
  background-color: #f1f0ef;
  font-family: 'Roboto','Noto Sans TC', Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 1360px) {
  header {
    height: 90px;
  }
}

@media screen and (max-width: 1024px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 70px;
    background-color: #71130C;
  }
}

header button {
  padding: 0;
}

header .mbBtnNav {
  display: none;
  position: absolute;
  z-index: 6;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  cursor: pointer;
  background-color: #fff;
  height: 70px;
  top: 0;
  width: 4.5em;
  right: 0;
}

header .mbBtnNav b {
  color: #71130c;
  font-size: 12px;
}

header .mbBtnNav p {
  margin-top: 0.5em;
  width: 30px;
  float: right;
  position: relative;
  cursor: pointer;
  height: 20px;
}

header .mbBtnNav span {
  display: block;
  background: #71130c;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0px;
  -webkit-transition: all ease 0.35s;
  transition: all ease 0.35s;
}

header .mbBtnNav span:nth-of-type(1) {
  top: 0px;
}

header .mbBtnNav span:nth-of-type(2) {
  top: 8px;
}

header .mbBtnNav span:nth-of-type(3) {
  top: 16px;
}

@media screen and (max-width: 1024px) {
  header .mbBtnNav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

header .mbBtnNav.btnOpen b {
  color: #71130c;
}

header .mbBtnNav.btnOpen span:nth-of-type(1) {
  top: 7px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  background: #71130c;
}

header .mbBtnNav.btnOpen span:nth-of-type(2) {
  width: 0;
}

header .mbBtnNav.btnOpen span:nth-of-type(3) {
  top: 7px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  background: #71130c;
}

header .logo {
  margin-left: 0;
  height: 100%;
}

header .logo a {
  height: 100%;
  background-color: #5C0D06;
  width: 20%;
  min-width: 170px;
  float: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

header .logo img {
  max-height: 76px;
}

header .logo b {
  padding: 0 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #71130c;
  height: 100%;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

@media screen and (max-width: 1360px) {
  header .logo img {
    max-height: 60px;
  }
  header .logo b {
    font-size: 18px;
  }
  header .logo a {
    min-width: 130px;
  }
}

@media screen and (max-width: 1024px) {
  header .logo img {
    max-height: 50px;
  }
  header .logo a {
    min-width: 100px;
  }
  header .logo b {
    font-size: 16px;
    color: #fff;
  }
}

@media screen and (max-width: 600px) {
  header .logo b {
    display: none;
  }
}

.menu {
  width: calc( 100% -  670px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

@media screen and (max-width: 1360px) {
  .menu {
    width: calc( 100% -  460px);
  }
}

@media screen and (max-width: 1024px) {
  .menu {
    display: contents;
  }
}

/*quickLinkBox*/
.quickLinkBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  height: 80px;
  width: 90px;
  height: 35px;
  float: right;
  padding-right: 3%;
}

.quickLinkBox .link {
  white-space: nowrap;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.quickLinkBox .link i {
  width: 20px;
  height: 20px;
  display: block;
  display: block;
}

.quickLinkBox .link .btnOpen {
  background: none;
  border: none;
}

.quickLinkBox .link > a {
  padding: 0.8em;
}

.quickLinkBox .link .linkListBox {
  display: none;
  position: absolute;
  background-color: #71130c;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 6;
  top: 80px;
  width: 100px;
}

.quickLinkBox .link .linkListBox li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.quickLinkBox .link .linkListBox li a {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  width: 100%;
  display: block;
  padding: 4px;
}

.quickLinkBox .link .linkListBox li:hover a {
  background: #71130c;
}

@media screen and (max-width: 1024px) {
  .quickLinkBox {
    margin-right: 80px;
    padding-right: 0;
  }
  .quickLinkBox .link .linkListBox {
    top: 60px;
  }
}

@media screen and (max-width: 900px) {
  .quickLinkBox .link .linkListBox {
    top: 55px;
  }
}

.quickLinkBox .link.lang .btnOpen {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
}

.quickLinkBox .link.lang i {
  background: url("../images/iEarth.png") 0 0 no-repeat;
  background-size: 100%;
}

.quickLinkBox .link.lang.open .linkListBox {
  max-height: 300px;
  overflow-y: auto;
  display: block;
}

.quickLinkBox .link.inquiryList i {
  background: url("../images/iInquiry.png") 0 0 no-repeat;
  background-size: 100%;
}

.quickLinkBox .link.inquiryList a {
  position: relative;
  padding-right: 1.1em;
}

.quickLinkBox .link.inquiryList span {
  position: absolute;
  top: -2px;
  right: 0.6em;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background-color: #71130c;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  border-radius: 20px;
  -webkit-transition: all 0.25s ease 0s;
  transition: all 0.25s ease 0s;
}

@media screen and (max-width: 1024px) {
  .quickLinkBox .link.inquiryList i {
    background: url("../images/iInquiry_w.png") 0 0 no-repeat;
    background-size: 100%;
  }
  .quickLinkBox .link.inquiryList span {
    background-color: #fff;
    color: #71130c;
  }
}

.quickLinkBox .link.serch {
  background: none;
}

.quickLinkBox .link.serch .btnOpen {
  cursor: pointer;
  padding: 1em 0.5em;
}

.quickLinkBox .link.serch i {
  background: url("../images/iSerch_gy.png") 0 0 no-repeat;
  background-size: 100%;
}

.quickLinkBox .link.serch .srBox {
  position: absolute;
  top: 0;
  z-index: 7;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 0.3em 0.5em;
  border-radius: 3px;
  display: none;
  right: 40px;
  height: 30px;
}

.quickLinkBox .link.serch .srBox input {
  border: none;
  font-size: 16px;
  color: #333;
  width: 500px;
  max-width: calc(100% - 160px);
  border-bottom: 1px solid #999;
}

.quickLinkBox .link.serch .srBox .btnGoSerch {
  width: 24px;
  height: 35px;
}

@media screen and (max-width: 1024px) {
  .quickLinkBox .link.serch i {
    background: url("../images/iSerch_w.png") 0 0 no-repeat;
    background-size: 100%;
  }
}

@media screen and (max-width: 500px) {
  .quickLinkBox .link.serch .btnOpen {
    padding: 1em 0.5em;
  }
  .quickLinkBox .link.serch i {
    width: 24px;
    height: 24px;
  }
}

.quickLinkBox .link.serch.open .btnOpen {
  position: absolute;
  z-index: 10;
  padding: 0;
  right: 10%;
  top: 40px;
  background-color: #ebebeb;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.quickLinkBox .link.serch.open i {
  background: url("../images/iCancel_gy.png") 0 0 no-repeat;
  background-size: 100%;
  width: 18px;
  height: 18px;
  margin: 0 auto;
}

.quickLinkBox .link.serch.open .srBox {
  position: absolute;
  border: none;
  z-index: 7;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
  -webkit-transition: all ease 0.35s;
  transition: all ease 0.35s;
  padding: 0.3em 0.5em;
  border-radius: 3px;
  display: none;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.25s ease 0s;
  transition: all 0.25s ease 0s;
  top: 0;
  width: 100%;
  left: 0;
  height: 130px;
}

@media screen and (max-width: 800px) {
  .quickLinkBox .link.serch.open .btnOpen {
    right: 3%;
  }
}

@media screen and (max-width: 500px) {
  .quickLinkBox .link.serch.open .srBox {
    height: 80px;
  }
  .quickLinkBox .link.serch.open .srBox input {
    max-width: calc(100% - 130px);
  }
  .quickLinkBox .link.serch.open .btnOpen {
    top: 18px;
  }
}

/*headerMenuList*/
.headerMenuList {
  width: calc(100% - 90px);
}

.headerMenuList ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.headerMenuList li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.headerMenuList li .link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #383736;
  padding-bottom: 4.5em;
  width: 100%;
}

.headerMenuList li .link::after {
  content: "";
  height: 1px;
  width: 0;
  background-color: #71130c;
  position: absolute;
  left: 0;
  top: 25px;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.headerMenuList li .link.current {
  color: #71130c;
  font-weight: 500;
}

.headerMenuList li .navMore {
  display: none;
  width: 40px;
  height: 50px;
  background: url(../images/iArrow_gy.png) center center no-repeat;
  right: 0;
  top: -5px;
  position: absolute;
  z-index: 2;
  cursor: pointer;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

.headerMenuList li .navMore.btnOpen {
  -webkit-transform: rotate(0);
          transform: rotate(0);
}

.headerMenuList li .submenu {
  display: none;
  position: absolute;
  text-align: center;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: calc(100% + 2.6em);
  z-index: 5;
  width: 150px;
}

.headerMenuList li .submenu li a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #71130c;
  display: block;
  background-color: #fff;
  padding: 0.5em 0.2em;
}

.headerMenuList li .submenu li > .submenu {
  display: none;
  left: calc(50% + 150px);
  top: 0;
}

.headerMenuList li:hover .link {
  color: #71130c;
  font-weight: 500;
}

.headerMenuList li:hover .link::after {
  width: 100%;
}

.headerMenuList li:hover .link.current {
  color: #71130c;
  font-weight: 500;
}

.headerMenuList li:hover .submenu {
  display: block;
}

.headerMenuList li:hover .submenu li:hover a {
  color: #fff;
  background-color: #71130c;
}

.headerMenuList li.styleB {
  position: static;
}

.headerMenuList li.styleB .submenu {
  right: 0;
  width: 100%;
  max-width: 100%;
  padding: 36px 10%;
  top: 125px;
  background: #fff;
}

.headerMenuList li.styleB .submenu li {
  float: left;
  width: calc(100%/4);
}

.headerMenuList li.styleB .submenu li a {
  text-align: left;
  font-size: 16px;
  padding: 0 0.8em;
  color: #666;
}

.headerMenuList li.styleB .submenu li img {
  width: 280px;
  max-height: 176px;
}

.headerMenuList li.styleB .submenu li:hover a {
  background: none;
  font-weight: 700;
  color: #71130c;
}

.headerMenuList li.styleB .submenu li.navTitle b {
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
  color: #71130c;
  position: relative;
  line-height: 52px;
  display: inline-block;
}

.headerMenuList li.styleB .submenu li.navTitle b::before, .headerMenuList li.styleB .submenu li.navTitle b::after {
  content: "";
  height: 1px;
  width: 50%;
  background-color: #cdcccb;
  position: absolute;
  left: 50%;
  bottom: 0;
}

.headerMenuList li.styleB .submenu li.navTitle b::after {
  background-color: #71130c;
  left: 0;
}

.headerMenuList li.styleC {
  border: solid 1px #71130c;
}

.headerMenuList li.styleC .link {
  color: #71130c;
  padding: 0 1.6em;
}

.headerMenuList li.styleC .link::after {
  display: none;
}

.headerMenuList li.styleC:hover {
  background-color: #71130c;
}

.headerMenuList li.styleC:hover .link {
  color: #fff;
}

@media screen and (max-width: 1360px) {
  .headerMenuList li .submenu {
    top: calc(100% + 1.6em);
  }
  .headerMenuList li.styleB .submenu {
    top: 90px;
  }
}

@media screen and (max-width: 1024px) {
  .headerMenuList {
    display: none;
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 69px;
    padding-top: 0;
  }
  .headerMenuList ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
  }
  .headerMenuList li, .headerMenuList li:hover, .headerMenuList li.styleB, .headerMenuList li.styleB:hover, .headerMenuList li.styleC, .headerMenuList li.styleC:hover {
    border: none;
    border-bottom: solid 1px #dbdbdb;
    background: none;
    position: relative;
  }
  .headerMenuList li .link.current, .headerMenuList li:hover .link.current, .headerMenuList li.styleB .link.current, .headerMenuList li.styleB:hover .link.current, .headerMenuList li.styleC .link.current, .headerMenuList li.styleC:hover .link.current {
    color: #71130c;
  }
  .headerMenuList li .link, .headerMenuList li:hover .link, .headerMenuList li.styleB .link, .headerMenuList li.styleB:hover .link, .headerMenuList li.styleC .link, .headerMenuList li.styleC:hover .link {
    padding: 0.5em 1em;
    width: 100%;
    font-size: 18px;
    display: inline-block;
    color: #383736;
    font-weight: 500;
  }
  .headerMenuList li .link::after, .headerMenuList li:hover .link::after, .headerMenuList li.styleB .link::after, .headerMenuList li.styleB:hover .link::after, .headerMenuList li.styleC .link::after, .headerMenuList li.styleC:hover .link::after {
    display: none;
  }
  .headerMenuList li .navMore, .headerMenuList li:hover .navMore, .headerMenuList li.styleB .navMore, .headerMenuList li.styleB:hover .navMore, .headerMenuList li.styleC .navMore, .headerMenuList li.styleC:hover .navMore {
    display: inline-block;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }
  .headerMenuList li .submenu, .headerMenuList li:hover .submenu, .headerMenuList li.styleB .submenu, .headerMenuList li.styleB:hover .submenu, .headerMenuList li.styleC .submenu, .headerMenuList li.styleC:hover .submenu {
    overflow: hidden;
    height: 0;
    display: none;
    position: inherit;
    top: calc(100% + 1em);
    left: 0;
    width: 100%;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    text-align: left;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: #f1f0ef;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
  }
  .headerMenuList li .submenu li, .headerMenuList li .submenu li:hover, .headerMenuList li:hover .submenu li, .headerMenuList li:hover .submenu li:hover, .headerMenuList li.styleB .submenu li, .headerMenuList li.styleB .submenu li:hover, .headerMenuList li.styleB:hover .submenu li, .headerMenuList li.styleB:hover .submenu li:hover, .headerMenuList li.styleC .submenu li, .headerMenuList li.styleC .submenu li:hover, .headerMenuList li.styleC:hover .submenu li, .headerMenuList li.styleC:hover .submenu li:hover {
    border: none;
    background: none;
    border-bottom: 1px solid #dbdbdb;
  }
  .headerMenuList li .submenu li a, .headerMenuList li .submenu li:hover a, .headerMenuList li:hover .submenu li a, .headerMenuList li:hover .submenu li:hover a, .headerMenuList li.styleB .submenu li a, .headerMenuList li.styleB .submenu li:hover a, .headerMenuList li.styleB:hover .submenu li a, .headerMenuList li.styleB:hover .submenu li:hover a, .headerMenuList li.styleC .submenu li a, .headerMenuList li.styleC .submenu li:hover a, .headerMenuList li.styleC:hover .submenu li a, .headerMenuList li.styleC:hover .submenu li:hover a {
    padding: 0.5em 0 0.5em 1.5em;
    display: block;
    font-size: 14px;
    font-weight: 500;
    background: none;
    color: #666;
  }
  .headerMenuList li .submenu li > .submenu, .headerMenuList li .submenu li:hover > .submenu, .headerMenuList li:hover .submenu li > .submenu, .headerMenuList li:hover .submenu li:hover > .submenu, .headerMenuList li.styleB .submenu li > .submenu, .headerMenuList li.styleB .submenu li:hover > .submenu, .headerMenuList li.styleB:hover .submenu li > .submenu, .headerMenuList li.styleB:hover .submenu li:hover > .submenu, .headerMenuList li.styleC .submenu li > .submenu, .headerMenuList li.styleC .submenu li:hover > .submenu, .headerMenuList li.styleC:hover .submenu li > .submenu, .headerMenuList li.styleC:hover .submenu li:hover > .submenu {
    position: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    left: 0;
    height: auto;
    background: none;
    padding-left: 2em;
  }
  .headerMenuList li .submenu li > .submenu li, .headerMenuList li .submenu li:hover > .submenu li, .headerMenuList li:hover .submenu li > .submenu li, .headerMenuList li:hover .submenu li:hover > .submenu li, .headerMenuList li.styleB .submenu li > .submenu li, .headerMenuList li.styleB .submenu li:hover > .submenu li, .headerMenuList li.styleB:hover .submenu li > .submenu li, .headerMenuList li.styleB:hover .submenu li:hover > .submenu li, .headerMenuList li.styleC .submenu li > .submenu li, .headerMenuList li.styleC .submenu li:hover > .submenu li, .headerMenuList li.styleC:hover .submenu li > .submenu li, .headerMenuList li.styleC:hover .submenu li:hover > .submenu li {
    border: none;
  }
  .headerMenuList li .submenu.open, .headerMenuList li:hover .submenu.open, .headerMenuList li.styleB .submenu.open, .headerMenuList li.styleB:hover .submenu.open, .headerMenuList li.styleC .submenu.open, .headerMenuList li.styleC:hover .submenu.open {
    display: block;
    height: auto;
  }
  .headerMenuList li.styleB .submenu, .headerMenuList li.styleB:hover .submenu {
    padding: 1em 3%;
  }
  .headerMenuList li.styleB .submenu li, .headerMenuList li.styleB .submenu li:hover, .headerMenuList li.styleB:hover .submenu li, .headerMenuList li.styleB:hover .submenu li:hover {
    width: calc(100%/3);
    padding: 0 1%;
    border-bottom: none;
  }
  .headerMenuList li.styleB .submenu li a, .headerMenuList li.styleB .submenu li:hover a, .headerMenuList li.styleB:hover .submenu li a, .headerMenuList li.styleB:hover .submenu li:hover a {
    padding: 0;
  }
  .headerMenuList li.styleB .submenu li.navTitle, .headerMenuList li.styleB:hover .submenu li.navTitle {
    display: none;
  }
}

header.s .logo {
  width: 260px;
  -webkit-transition: all 0.25s ease 0s;
  transition: all 0.25s ease 0s;
}

header.s .headerMenuList li .link {
  font-size: 17px;
  -webkit-transition: all 0.25s ease 0s;
  transition: all 0.25s ease 0s;
}

.headerMenuList.open {
  display: block;
  height: 100%;
  overflow-y: auto;
  position: fixed;
  z-index: 50;
}
