/*手機選單*/

#float_sp_info {
  position: relative;
}

.top_nav_sp {
  display:none;
}

.mobchild_menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  color: #333;
}

.mob_normal_btn {
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
  border-right: none;
  border-top: none;
}

.mobchild_menu .mob_normal_btn {
  background-color: #e6e6e6;
  border-bottom: 1px solid #cecece;
}

/* .mob_normal_btn.active{
        background-color: #ddd;
    } */

.new_moba_box {
  width: 100%;
  display: flex;
  flex-direction: row;
  position: relative;
  color: #333;
}

.new_moba_box.active {
  background-color: #f7f7f7;
}

.mob_child_i {
  width: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e4e4;
  border-top: none;
}

.mob_child_i.active {
  background-color: #ab1e2b;
  border-color: #ab1e2b;
  color: white;
}

.mobii_menu {
  width: 100%;
  position: relative;
}

.mobii_menu::before {
  content: '';
  width: 50%;
  left: 0px;
  height: 2px;
  bottom: -1px;
  background-color: #95000c;
  position: absolute;
  transform: translateX(0%);
  transition: 0.2s ease;
}

.mobii_menu.active::before {
  transform: translateX(100%);
}

.mobii_chosebtn {
  width: 50%;
  text-align: center;
  height: 100%;
  padding: 15px 0px;
  transition: 0.2s ease;
}

.mobii_chosebtn.active {
  background-color: #e8e8e8;
}

.mobii_jsarea {
  display: flex;
  flex-direction: column;
  width: 100%;
  opacity: 0;
  transition: 0.2s ease;
  padding-bottom: 200px; 
}

.mobii_jsarea.active {
  opacity: 1;
}

.mob_menu_box .pt_lnum {
  font-size: 11px;
}

.child_btn {
  width: 22px;
  font-size: 13px;
}

.top_nav a:hover,
.top_nav_last a:hover {
  color: var(--webmainho);
}

.third_ctl_btn_active {
  color: var(--webmainho);
}

.red_spnum_float {
  position: absolute;
  background-color: red;
  width: 18px;
  display: inline-flex;
  aspect-ratio: 1;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  border-radius: 99%;
  color: white;
  letter-spacing: 0px;
  box-sizing: border-box;
  padding-bottom: 2px;
  left: 10px;
  top: 0px;
  font-weight: 600;
}

.red_spnum_float2 {
  position: absolute;
  background-color: red;
  width: 18px;
  display: inline-flex;
  aspect-ratio: 1;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  border-radius: 99%;
  color: white;
  letter-spacing: 0px;
  box-sizing: border-box;
  padding-bottom: 2px;
  left: 15px;
  top: -6px;
  font-weight: 600;
}

li.active {
  border-bottom: none;
}

.mob_menu {
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  padding: 13px 0px;
}

.mob_menu.active {
  background-color: #f7f7f7;
}

.mob_menu_box ul {
  padding-left: 0px;
}

.mob_menu_box {
  transform: translate3d(-100%, 0, 0);
  position: fixed;
  width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 999;
  left: 0px;
  top: 0px;
  overflow-y: scroll;
  transition: transform 0.5s ease;
  max-width: 80%;
}

.mob_menu_box.open {
  transform: none;
}

.sp_mob_menu_box {
  position: fixed;
  width: 340px;
  height: 100vh;
  background-color: white;
  z-index: 999;
  right: 0px;
  top: 0px;
  overflow-y: scroll;
  /* padding: 10px; */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  transition: 0.5s ease;
}

.sp_mob_menu_box.open {
  transform: none;
}

.mob_menu_box02 {
  color: #292929;
  padding: 0px;
  letter-spacing: 2px;
  margin: 0px;
}

.mob_menu03 {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
}

.mob_menu03_i {
  margin-left: auto;
  font-size: 17px;
}

.mob_menu03_sec_i {
  margin-left: auto;
  font-size: 17px;
  margin-right: 20px;
}

.mob_sec_menu {
  background-color: #f1f1f1;
}

.mob_sec_menu:nth-child(2) {
  margin-top: 10px;
}

.mob_sec_menu li {
  display: flex;
  flex-direction: column;
}

.mob_sec_menu a {
  padding: 10px 20px;
  font-size: 15px;
}

.mob_third_menu {
  background-color: #efefef;
}

/*電腦選單*/
.top_icon_box01 {
  position: absolute;
  display: flex;
  flex-direction: row;
  right: 3%;
  top: 5px;
  z-index: 3;
}

.top_icon_box01 a {
  margin-right: 25px;
  font-size: 20px;
}

.top_icon_box01 a:last-child {
  margin-right: 0px;
}

.top_nav {
  position: relative;
  padding: 0px 15px;
  font-size: 16px;
}

.top_nav_last {
  position: relative;
  padding: 0px 15px;
  font-size: 16px;
}

.top_nav_a01 {
  padding: 20px 0px;
}

.top_nav::before {
  content: '';
  position: absolute;
  width: 1px;
  background-color: #ddd;
  right: 0px;
  height: 15px;
  top: 7px;
}

.top_nav::before:last-child {
  content: '';
  width: 0px;
}

.sub_menu {
  background-color: #fff;
  min-width: 200px;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
  padding: 10px;
  position: absolute;
  top: 40px;
  left: 0px;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.sub_menu::before {
  content: '';
  display: inline-block;
  width: 0px;
  height: 0px;
  position: absolute;
  border: 8px solid transparent;
  border-bottom: 10px solid #ddd;
  top: -20.5px;
  left: 35px;
}

.sub_menu::after {
  content: '';
  display: inline-block;
  width: 0px;
  height: 0px;
  position: absolute;
  border: 8px solid transparent;
  border-bottom: 10px solid white;
  top: -18.5px;
  left: 35px;
}

.sub_active {
  opacity: 1;
  pointer-events: all;
  transition: 0.5s ease;
}

.top_box01 {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: white;
  justify-content: center;
  position: fixed;
  top: 0px;
  z-index: 99;
  box-shadow: 0px 2px 20px 0px #ddd;
  /* border-bottom: 1px solid #ddd; */
  height: 80px;
}

.top_box02 {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  justify-content: center;
  max-width: 1920px;
  padding: 0 20px;
}

.top_box02_c {
  flex-direction: column;
}

.logo_img {
  height: 85px;
  width: auto;
  padding-top: 5px;
}

.top_box02 ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sub_menu li {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.sub_menu a {
  margin: 0 10px;
  display: flex;
  padding: 10px 0px;
  width: fit-content;
}

.top_box03 {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.top_box03 img {
  height: 30px;
  margin-right: 10px;
}

.top_box03 span {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0px;
}

.top_shopping_buybtn {
  background: var(--webmainho);
  width: 90%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  color: white;
  margin-top: 20px;
}

.top_shopping_buybtn2 {
  background: var(--webmainho);
  width: 100%;
  text-align: center;
  color: white;
  padding: 10px 0px;
}

.top_shopping_box {
  width: 300px;
  height: auto;
  border: 1px solid #ddd;
  position: fixed;
  right: 10px;
  top: 100px;
  z-index: 2;
  background-color: white;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top_box02_c .top_shopping_box {
  top: 150px;
}

.top_sp_box01 {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  padding: 0 10px 10px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
}

.top_sp_box01:last-child {
  border-bottom: none;
}

.top_sp_img {
  aspect-ratio: 1;
  width: 70px;
  background-position: center;
  background-size: cover;
  margin-right: 10px;
  margin-bottom: auto;
  background-color: #f6f6f6;
}

.top_sp_gdsword {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.top_sp_numbox {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.top_sp_num {
  /* margin-left: auto; */
  font-size: 16px;
  font-weight: 500;
  color: #ab1e2b;
}

.top_sp_i {
  margin-left: auto;
  font-size: 14px;
}

ul.third_menu {
  position: absolute;
  left: 220px;
  top: 0px;
  width: 200px;
  background-color: #f5f5f5;
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 230px;
  overflow-y: scroll;
}

ul.sub_menu {
  display: flex;
  flex-direction: column;
}

.top_nav_bar {
  display: none;
}

.top_revise_gdbox {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px;
  background-color: white;
  margin: auto;
  width: 95%;
  max-width: 800px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-sizing: border-box;
}

.logo_img_box {
  margin-right: auto;
}

@media (max-width: 1600px) {
  .top_icon_box01 a {
    margin-right: 15px;
  }

  .top_icon_box01 {
    right: 5%;
    top: 20px;
  }
}

@media (max-width: 1000px) {
  .top_box02 ul {
    display: none;
  }
  .mob_menu_btn {
    display: block;
  }

.top_nav_bar {    
    display: flex;
    position: absolute;
    left: 25px;
    font-size: 30px;
    top: 33px;
    color: #cfbe84;
}

  .logo_img_box {
    margin-right: auto;
    margin-left: auto;
  }


}

@media (max-width: 768px) {

  .logo_img {
    height: 65px;
    width: auto;
}

.top_nav_bar {
    display: flex;
    position: absolute;
    left: 25px;
    font-size: 25px;
    top: 27px;
    color: #cfbe84;
}

.top_nav_sp {
    display: flex;
    position: absolute;
    right: 25px;
    font-size: 25px;
    top: 27px;
    color: black;
}

}
