#header_main {
	position:fixed;
	width:100%;
	z-index:100;
  background: #FFF;
  max-width: 1920px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
	}
.head_topmenufixed_sp {
	padding:0;
	margin: 0;
	height:130px;
  border: 1px solid #931e23;
	}

.main-nav {
  border-top:0px solid #CCC;
  border-bottom:0px solid #CCC;
  text-align:right;
  color:#FFF;
  padding-top:0;
}


.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
  float: left;
  margin: 0;
  padding-left: 3%;
}
.nav-brand a {
  display: block;
  /*padding: 0 11px 0 100px;*/
  color: #FFF;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight:normal;
  line-height: 17px;
  text-decoration: none;
}
.nav-brand img {
  display: block;
  width: 100%;
  max-width: 500px;
}

#main-menu {
  clear: both;
  border-bottom: 0;
  padding-top: 0;
  padding-right: 3%;
  margin-top: 30px;
}

.tbtn_en {
  font-size: 1.2rem;
  padding: 10px 5px 5px 3px;
  text-align: center;
}

.btn_bg_slider  {
  background-image:linear-gradient(90deg, #931e23 2px, transparent 0);
    /*linear-gradient(90deg, white 1px, transparent 0);*/
  background-size: 2px 30px;
  background-position: 0 15px;
  background-repeat: no-repeat;
}

.btn_sub_bg_slider {
  border-left: 1px solid #931e23;
  padding-left: 5px;
}


/* sm-mint */
.sm-mint a .sub-arrow {
  top:30%;
}
/*選單項目間距*/
.sm-mint a, .sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active, .sm-mint a.highlighted {
  /*padding: 11px 15px;*/
  text-align: center;
}


/* Mobile menu toggle button */

.main-menu-btn {
  float: right;
  margin: 30px 20px 20px 20px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #931e23;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 1360px) {
  /* hide the button in desktop view */
  #main-menu {
    float: right;
    clear: none;
  }

  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    /*display: block;*/
	  display: inline-block;
  }

  .sm-mint a:hover .nav_item_top_line {
      color: #CCC;
      -webkit-transition: all 0.3s;
      transition: all 0.3s;
    } 
}


#top_btn_7 {
  margin-left: 100px;
}


#top_btn_7 a {
  padding-left:10px;
  padding-right:10px;
}

@media (max-width: 1460px) {

}


 


/*
#tbtn_icon_1,#tbtn_icon_2,#tbtn_icon_3,#tbtn_icon_4,#tbtn_icon_5,#tbtn_icon_6,#tbtn_icon_7,#tbtn_icon_8 {
  width:100%;
  height: 15px;
  margin: 0 auto 5px auto;
}
*/

.tbtn_icon_span {
  background-color:#9933CC ;
  padding:5px 15px;
  border-radius: 5px;
}
@media (max-width: 1540px) {
  .sm-mint a, .sm-mint a:hover, .sm-mint a:focus, .sm-mint a:active, .sm-mint a.highlighted {
    font-size: 1.2rem;
  }
  .tbtn_en {
    font-size: 1rem;
    padding-top:5px;
  }

  .nav-brand img {
    max-width: 450px;
  }
  .head_topmenufixed_sp {
    height:125px;
  }
}

@media (max-width: 1360px) {
  .head_topmenufixed_sp {
    height:100px;
  }
  #tbtn_icon_1,#tbtn_icon_2,#tbtn_icon_3,#tbtn_icon_4,#tbtn_icon_5,#tbtn_icon_6,#tbtn_icon_7,#tbtn_icon_8,#tbtn_icon_9{
    float: left;
    width: 25px;
    height: 50px;
    background-size:100% 100%;
    margin: 0 10px 0 10px;
  }

  #main-menu > li > ul > li {
    text-align: center;
  } 

  #main-menu > li > a {
    max-width: 250px;
    margin: 0 auto;
    /*text-align: left;*/
  }

  .nav-brand img {
    max-width: 350px;
  }
   .sm-mint a .sub-arrow {
    margin-top: -10px;
  }

  .btn_bg_slider  {
    background-image:none;
    background-size: 0 30px;
    background-position: 0 15px;
    background-repeat: no-repeat;
  }

  .btn_sub_bg_slider {
    border-left:0px;
    padding-left: 50px;
    width: 200px;
    text-align: left;
    margin: 0 auto;
  }
  .tbtn_en {
    font-size: 0.8rem;
    padding-top:5px;
  }

}
@media (max-width: 480px) {
  .nav-brand img {
    max-width: 250px;
  }
  .main-menu-btn {
    margin-top: 20px;
  }
  .head_topmenufixed_sp {
    height:70px;
  }
}

@media (max-width: 348px) {
  .nav-brand img {
    max-width: 200px;
  }
  .main-menu-btn {
    margin-left: 0px;
  }
  .head_topmenufixed_sp {
    height:55px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

@media (max-width: 1540px) {
  html {
    scroll-padding-top: 125px;
  }
}

@media (max-width: 1360px) {
  html {
    scroll-padding-top: 100px;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 70px;
  }
}

@media (max-width: 348px) {
  html {
    scroll-padding-top: 55px;
  }
}