@charset "utf-8";
@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body{
  font-family: "Inter", Helvetica, 'Helvetica Neue', 'Noto Sans TC', sans-serif;
  padding-top: 60px;
  padding-left: 175px;
}

/* header */
header{
  width: 100%;
  background: #fff;
  position: fixed;
  border-bottom: 1px solid #ccc;
  left: 0;
  top: 0;
  z-index: 999;
}
header .top{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
header .top .logo{
  width: 320px;
  height: 29px;
  background: url('../images/logo-1.svg') top / 100% auto no-repeat;
  text-indent: -9999px;
  display: block;
  position: absolute;
  left: 2.5%;
  top: 50%;
  margin-top: -15px;
}
header .top .menu{
  display: flex;
}
header .top .menu a{
  width: 60px;
  height: 60px;
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  text-indent: -9999px;
  border-left: 1px solid #ccc;
  display: block;
  box-sizing: border-box;
  transition: all .3s;
}
header .top .menu a.search{
  background-image: url('../images/menu-icon2.svg');
}
header .top .menu a.login{
  background-image: url('../images/menu-icon3.svg');
}
header .top .menu a.cart{
  background-image: url('../images/menu-icon4.svg');
}

/* nav */
#nav{
  width: 175px;
  height: 100vh;
  background: #fff;
  position: fixed;
  left: 0;
  top: 60px;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
  z-index: 998;
}
#nav li a{
  width: 100%;
  height: 87px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #000;
  font-size: 14px;
  letter-spacing: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #ccc;
}
#nav li:nth-child(1) a{
  background-image: url('../images/menu-1.svg');
  background-position-y: 0.5px;
}
#nav li:nth-child(2) a{
  background-image: url('../images/menu-2.svg');
}
#nav li:nth-child(3) a{
  background-image: url('../images/menu-3.svg');
}
#nav li:nth-child(4) a{
  background-image: url('../images/menu-4.svg');
}
#nav li:nth-child(5) a{
  background-image: url('../images/menu-5.svg');
}

/* mobile */
#mobi_btn{
  display: none;
  width: 60px;
  height: 60px;
  background: url('../images/menu-icon1.svg') center / 100% auto no-repeat;
  text-indent: -9999px;
  position: absolute;
  left: 0;
  top: 0;
}
#mobile{
  display: none;
  width: 100%;
  height: calc(100vh - 60px);
  background: #fff;
  position: fixed;
  top: 61px;
  left: 0;
  overflow-y: scroll;
  z-index: 998;
}
#mobile li a{
  color: #000;
  font-size: 14px;
  text-align: center;
  letter-spacing: 2px;
  padding: 25px 0;
  display: block;
  border-bottom: 1px solid #ccc;
}

/* filter */
#filter{
  width: calc(100% - 175px);
  background: rgba(255, 255, 255, .9);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 61px;
  left: 175px;
  z-index: 997;
}
#filter li{
  width: 25%;
  border-left: 1px solid #ccc;
}
#filter li:first-child{
  border: none;
}
#filter li a{
  color: #000;
  font-size: 14px;
  text-align: center;
  display: block;
  padding: 15px 0;
}
#filter li .submenu{
  width: calc(100vw - 175px);
  height: calc(100vh - 105px);
  background: rgba(255, 255, 255, .9);
  position: absolute;
  left: 0;
  top: 45px;
  padding: 30px;
  box-sizing: border-box;
  overflow-y: scroll;
  display: none;
}
#filter li .submenu a{
  display: inline-block;
  padding: 20px;
}

/* footer */
footer{
  border-top: 1px solid #ccc;
}
footer .wrap{
  display: flex;
  justify-content: space-around;
  padding: 50px 0;
}
footer .wrap .copyright{
  width: 45%;
}
footer .wrap .copyright p{
  font-size: 10px;
  margin-top: 10px;
}
footer .wrap .copyright .note span{
  line-height: 18px;
  display: block;
}
footer .wrap .copyright .logo{
  width: 200px;
  height: 20px;
  background: url('../images/logo-1.svg') top / 100% auto no-repeat;
  text-indent: -9999px;
}
footer .wrap .list{
  width: 22%;
}
footer .wrap .list li a{
  color: #000;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 10px 0;
  display: block;
}

@media screen and (max-width:768px){
  body{
    padding-left: 0;
  }
  #mobi_btn{
    display: block;
  }

  header .top .logo{
    width: 190px;
    height: 22px;
    background-image: url('../images/logo-3.svg');
    left: 50%;
    margin-top: -11px;
    margin-left: -95px;
  }
  header .top .menu a.search{
    border-right: 1px solid #ccc;
    position: absolute;
    top: 0;
    left: 60px;
  }
  #nav{
    display: none;
  }
  #filter{
    width: 100vw;
    left: 0;
  }
  #filter li .submenu{
    width: 100%;
  }
}
@media screen and (max-width:480px){
  body{
    padding-top: 40px;
  }
  header .top .menu a,
  #mobi_btn{
    width: 40px;
    height: 40px;
  }
  header .top .logo{
    width: 150px;
    height: 17px;
    margin-top: -8px;
    margin-left: -75px;
  }
  header .top .menu a.search{
    left: 40px;
  }
  #mobile{
    height: calc(100vh - 40px);
    top: 41px;
  }
  #filter{
    top: 41px;
  }
  #filter li .submenu{
    height: calc(100vh - 85px);
    top: 43px;
  }
  #filter li a{
    font-size: 12px;
  }
  footer .wrap{
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 30px 0;
  }
  footer .wrap .copyright,
  footer .wrap .list{
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }
  footer .wrap .copyright .logo{
    margin: 0 auto;
  }
}