body {
  margin: 0;
  padding: 0;
  padding-top: 70px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
@media (max-width: 540px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 14px;
  }
  h5,
  h6 {
    font-size: 12px;
  }
}
.container {
  width: 100vw;
  margin-left: auto;
  margin-right: auto;
}
.small-container {
  width: 1080px;
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}
a {
  color: #333;
  text-decoration: none;
}
.flex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.flex.stretch {
  align-items: stretch;
}
.flex.center {
  align-items: center;
}
.flex.vcenter {
  justify-content: center;
}
.flex.gap {
  gap: 10px;
}
.flex.gap-2 {
  gap: 20px;
}
.flex.gap-3 {
  gap: 30px;
}
.flex.row {
  flex-direction: row;
}
.flex.wrap {
  flex-wrap: wrap;
}
.flex .auto {
  flex: 1;
}
.bold {
  font-weight: bold;
}
.text-center {
  text-align: center;
}
.red {
  color: #c92810;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 70px;
  padding: 20px;
  border-bottom: 1px solid #d5d5d5;
  box-sizing: border-box;
  z-index: 100;
  background: #fafafa;
}
header .logo:hover {
  text-decoration: none;
}
header h1 {
  margin: 0;
  font-size: 20px;
}
header .menu {
  display: none;
}
header .navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1300px) {
  header a.menu {
    display: inline-block;
  }
  header .navigation {
    position: absolute;
    left: 0;
    top: 70px;
    width: 100vw;
    background: #fafafa;
    gap: 0;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  header .navigation.show {
    max-height: 500px;
  }
  header .navigation a {
    padding: 10px 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #d5d5d5;
  }
  header .navigation a:hover {
    background: #eee;
    text-decoration: none;
  }
}
.category-name {
  font-size: 55px;
  text-align: center;
  margin: 0;
}
.categroy-links {
  display: -ms-grid;
  display: grid;
  gap: 10px;
  -ms-grid-columns: minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr) 10px minmax(100px, 1fr);
  grid-template-columns: repeat(8, minmax(100px, 1fr));
  margin-bottom: 30px;
}
@media (max-width: 800px) {
  .categroy-links {
    -ms-grid-columns: (1fr)[6];
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 600px) {
  .categroy-links {
    -ms-grid-columns: (1fr)[4];
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 400px) {
  .categroy-links {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-title {
  font-size: 24px;
  margin: 0;
  font-weight: bold;
  color: #333;
}
.page-title.center {
  text-align: center;
}
.staff-list {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid #eee;
  background: #eee;
  box-sizing: border-box;
}
.staff-list .item {
  text-align: center;
  background: #fafafa;
  position: relative;
  z-index: 1;
}
.staff-list .item:hover {
  background: #fff;
  box-shadow: 0 16px 100px rgba(42,45,65,0.102);
  z-index: 2;
}
.staff-list .item img {
  width: 264px;
  height: 264px;
  max-width: 264px;
  max-height: 264px;
  aspect-ratio: 1;
  -o-object-fit: contain;
     object-fit: contain;
}
.staff-list .item .info {
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  align-items: stretch;
}
.staff-list .item .btn {
  display: block;
  padding: 5px 10px;
  border: #777 1px solid;
  text-align: center;
}
.staff-list .item .btn:hover {
  background: #f0f0f0;
}
.staff-list .item .btn.black {
  background: #333;
  border-color: #333;
  color: #fff;
}
@media (max-width: 1060px) {
  .staff-list {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 530px) {
  .staff-list {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
  }
}
.pagination {
  width: 100%;
  justify-content: center;
}
.pagination a {
  width: 80px;
  text-align: center;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #eee;
}
.pagination a:hover {
  background: #eee;
  text-decoration: none;
}
footer {
  font-size: 10px;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.breadcrumb {
  padding: 20px 0;
}
.breadcrumb .sep {
  margin: 0 5px;
}
.breadcrumb span,
.breadcrumb h3 {
  color: #999;
  margin: 0;
  font-size: 12px;
  font-weight: normal;
  display: inline-block;
}
.staff-page {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
}
.staff-page .image img {
  width: 500px;
  height: 500px;
  -o-object-fit: contain;
     object-fit: contain;
}
.staff-page .info {
  flex: 1;
}
.staff-page .info .price {
  font-size: 24px;
  font-weight: bold;
}
.staff-page .info .btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background: #333;
  border: 1px solid #333;
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
}
.staff-page .info .btn:hover {
  text-decoration: none;
}
.staff-page .info .btn.ghost {
  background: #fafafa;
  border: 1px solid #777;
  color: #333;
}
.staff-page .info .btn.ghost:hover {
  background: #eee;
  border: 1px solid #777;
}
@media (max-width: 1000px) {
  .staff-page .image img {
    width: 300px;
    height: 300px;
  }
}
@media (max-width: 720px) {
  .staff-page .image img {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 600px) {
  .staff-page {
    flex-direction: column;
    gap: 20px;
  }
  .staff-page .image img {
    width: 300px;
    height: 300px;
  }
}
.extension {
  width: 100%;
  border: 1px solid #999;
  padding: 30px;
  background: #fafafa;
  font-size: 18px;
  color: #444;
  box-sizing: border-box;
}
.extension .btn {
  padding: 10px 20px;
  border: 1px solid #eee;
  background: #c92810;
  color: #fff;
}
.extension .btn:hover {
  text-decoration: none;
}
@media (max-width: 600px) {
  .extension {
    font-size: 15px;
  }
  .extension .btn {
    font-size: 12px;
  }
}
.quality-check {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.quality-check img {
  width: 100%;
}
.banner {
  width: 100%;
  padding: 50px 0;
}
.banner .content {
  width: 600px;
  max-width: 90%;
  margin: auto;
}
.banner .content h1,
.banner .content h2,
.banner .content h3,
.banner .content h4,
.banner .content h5,
.banner .content h6 {
  margin: 0;
  line-height: 1;
}
.banner .content .btn {
  font-size: 18px;
  padding: 2px 40px;
  background: #ff0400;
  color: #fff;
  border-radius: 3px;
}
.banner .content .text {
  font-size: 13px;
  color: #444;
  margin-top: 20px;
  line-height: 2;
}
.index-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
}
.categories {
  max-width: 90%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 90px 1fr;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  -moz-column-gap: 90px;
       column-gap: 90px;
}
.categories a {
  width: 140px;
  text-align: center;
  padding: 10px 20px;
  border-radius: 3px;
  background: #ff0400;
  color: #fff;
}
@media (max-width: 550px) {
  .categories {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
  .categories a {
    width: 100px;
    padding: 5px 10px;
  }
}
@media (max-width: 360px) {
  .categories {
    -ms-grid-columns: (1fr)[1];
    grid-template-columns: repeat(1, 1fr);
  }
}
