html {
  font-size: 10px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-size: 1.4rem;
  font-family:
  -apple-system,
  BlinkMacSystemFont,
  'Microsoft YaHei',
  Arial, sans-serif;
}

.show {
  display: block;
}

.hide {
  display: none;
}

@media (max-width: 768px) {
  /* navbar */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
  }

  .navbar {
    padding: 0 15px;
    border-bottom: 1px solid #e3e3e3;
  }

  .navbar::after {
    content: '';
    display: block;
    clear: both;
  }

  .navbar-brand {
    position: relative;
    height:  59px;
    border: 0;
    padding: 0;
    float: left;
  }

  img.navbar-logo {
    position: absolute;
    height: 25px;
    top: 17.5px;
  }

  .navbar-toggler {
    width:  32px;
    height:  32px;
    border: 0;
    padding: 0;
    float: right;
    margin-top: 13.5px;
    margin-right: -5px;
    background: url(/images/times.svg) center center no-repeat;
    background-size: 32px auto;
    cursor: pointer;
  }

  .navview {
    z-index: 1001;
    position: relative;
    background-color: #BBB;
    display: none;
  }

  .nv-mask, .nv-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }

  .nv-mask {
    background: #bbb;
    opacity: 0;
    -webkit-transition: opacity 400ms ease;
    -moz-transition: opacity 400ms ease;
    -o-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  .nv-wrapper {
    left: 40px;
    padding-top: 60px;
    background: #fff;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
  }

  .nv-toggler {
    position: absolute;
    top: 13.5px;
    left: 0;
    pointer-events: none;
    display: block;
    content: '';
    width: 32px;
    height: 32px;
    background: url('/images/times.svg') center center no-repeat;
    background-size: 32px auto;
  }

  .-fade {
    opacity: 1;
    background-color: #bbb;
  }

  .-show {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0)
  }

  .-show .nv-toggler {
    left: -53px;
  }

  .nav-group:nth-of-type(2) {
    border-top: 1px solid #E5E5E5;
  }

  .nav-group:nth-last-of-type(1) {
    margin-bottom: 32px;
  }

  .nav-name {
    padding: 0 46px 0 30px;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    color: #8d8d8d;
    line-height: 48px;
  }

  ul.nav-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .nav-item {
    border-bottom: 1px solid #e5e5e5;
  }

  .nav-link {
    position: relative;
    display: block;
    color: #3D4145;
    background-color: #F7F7F7;
    text-decoration: none;
    padding: 0 46px 0 30px;
    line-height: 60px;
    font-size: 1.5rem;
  }

  .nav-link:hover {
    background-color: rgba(247, 247, 247, .65);
  }

  .nav-link::after {
    position: absolute;
    content: '';
    width: .7rem;
    height: .7rem;
    border-top: .1rem solid #111;
    border-right: .1rem solid #111;
    right: 2.7rem;
    top: 2.5rem;
    transform: rotate(45deg);
  }

  #nav-stories {
    display: none;
  }

  /* main */
  .main {
    margin-top: 60px;
  }

  /* swipter */
  .swiper-container {
    margin-bottom: 15px;
  }

  .swiper-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
  }

  .swiper-pagination-bullet-active {
    background: #333;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .swiper-button-prev, .swiper-button-next {
    display: none;
  }

  /* footer */
  footer {
    padding: 0;
  }

  .ftnav {
    border-top: 1px solid #e3e3e3;
  }

  .ftnav-name {
    padding: 0 46px 0 30px;
    border-bottom: 1px solid #e3e3e3;
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    color: #8D8D8D;
    line-height: 48px;
  }

  .ftnav-group:nth-of-type(1) .ftnav-name {
    border-top: 0;
    display: none;
  }

  .ftnav-nav {
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  .ftnav-item {
    border-bottom: 1px solid #E5E5E5;
  }

  .ftnav-link {
    position: relative;
    display: block;
    color: #3D4145;
    background-color: #F7F7F7;
    text-decoration: none;
    padding: 0 46px 0 30px;
    line-height: 60px;
    font-size: 1.5rem;
  }

  .ftnav-link:hover {
    background-color: rgba(247, 247, 247, .65);
  }

  .ftnav-link::after {
    position: absolute;
    content: '';
    width: .7rem;
    height: .7rem;
    border-top: .1rem solid #111;
    border-right: .1rem solid #111;
    right: 2.0rem;
    top: 2.5rem;
    transform: rotate(45deg);
  }

  .copyright {
    font-size: 1.2rem;
    background: #101112;
    padding: 28px 0 30px;
  }

  .copyright span {
    display: block;
    color: #8D8D8D;
    line-height: 37px;
    text-align: center;
  }

  .copyright div {
    text-align: center;
  }

  .copyright a {
    color: #8D8D8D;
    text-decoration: none;
    line-height: 37px;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #444;
  }

  .copyright a:hover {
    text-decoration: underline;
  }

  .copyright a:nth-of-type(1) {
    padding-left: 0;
  }

  .copyright a:nth-last-of-type(1) {
    padding-right: 0;
    border-right: 0;
  }

  /* list */
  .list {
    font-size: 0;
  }

  .list-link {
    display: block;
    margin: 0 auto;
    font-size: 0;
  }

  .list-item {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* localnav */
  .localnav {
    position: sticky;
    top: 60px;
    padding: 0 15px;
    background: rgba(247, 247, 247, .9);
    border-bottom: 1px solid #e3e3e3;
  }

  .localnav h1 {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 3;
    color: #333;
  }

  .localnav h1 a {
    color: #333;
    text-decoration: none;
  }

  .localnav h1 a:hover {
    text-decoration: underline;
  }

  /* grid */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    grid-gap: 15px;
    background-color: #F5F6F7;
    padding: 15px;
  }

  a.grid-item {
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    border-radius: 5px;
    position: relative;
  }

  .grid-name {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 3px;
  }

  .grid-image {
    display: block;
    margin: 50px auto 0;
    width: 100%;
  }

  /* story page */
  .story-banner {
    width: 100%;
  }

  .story-banner img {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .story-content {
    padding: 15px 4%;
    color: #333;
  }

  .story-content .content-wrapper {
    padding: 15px 15px;
    background: rgb(239, 239, 239);
    background: rgba(229, 229, 229, 0.7);
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    font-size: 13px;
    letter-spacing: .5px;
  }

  .story-content .content-wrapper p {
    text-indent: 1.5em;
  }

  /* showcase */
  .showcase {
    padding-bottom: 30px;
  }

  a.showcase-item {
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .showcase-image {
    display: block;
    margin: 0 auto;
    max-height: 300px;
    max-width: 100%;
  }

  .showcase-isnew {
    font-size: 13px;
    color: #FE9500;
  }

  .showcase-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
  }

  .showcase-price {
    font-size: 13px;
    color: #007AFF;
  }

  /* hide them */
  .brands,
  .swiper-container.landscape
  {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 769px) {
  body {
    background-color: #F5F6F7;
  }

  /* brands */
  .brands {
    background-color: white;
    padding-top: 10px;
  }

  .brands-wrapper {
    max-width: 980px;
    background-color: white;
    margin: 0 auto 0;
  }

  .brand-list {
    padding: 60px 0;
    margin: 0;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
  }

  .brand-item {
    margin: 0 40px;
  }

  .brand-item:first-of-type {
    margin-left: 0;
  }

  .brand-item:last-of-type {
    margin-right: 0;
  }

  .brand-link {
    padding: 7px 50px;
    color: #333;
    text-decoration: none;
    border: 1px solid rgba(0, 3, 51, .65);
  }

  .brand-link:hover {
    text-decoration: underline;
  }

  /* navbar */
  header {
    border-bottom: 1px solid #e3e3e3;
    background-color: white;
  }

  .navbar {
    margin: 0 auto;
    max-width: 980px;
    padding: 0 22px;
    height: 114px;
  }

  .navbar-toggler {
    width:  30px;
    height:  30px;
    border: 0;
    padding: 0;
    float: right;
    margin-top: 42px;
    margin-right: -5px;
    background: url(/images/times.svg) center center no-repeat;
    background-size: 30px auto;
    cursor: pointer;
  }

  .navbar-brand {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
  }

  img.navbar-logo {
    position: absolute;
    height: 30px;
    padding: 0 10px;
    top: 42px;
    margin-left: -35px;
  }

  .navview {
    max-width: 980px;
  }

  .nv-wrapper {
    z-index: 1000;
    min-width: 90px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    background: white;
    padding: 15px 20px;
    position: absolute;
    top: 55px;
    right: 0;
    margin-right: 20px;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.06),0 10px 40px rgba(0,0,0,.15);
    box-shadow: 0 0 0 1px rgba(0,0,0,.06),0 10px 40px rgba(0,0,0,.15);
  }

  .nav-items {
    margin: 0;
    padding: 0;
    display: flex;
    list-style-type: none;
    font-size: 1.4rem;
    flex-direction: column;
  }

  .nav-item {
    margin: 0 5px;
  }

  .nav-link {
    padding: 0;
    text-decoration: none;
    color: #333;
    line-height: 35px;
    display: block;
  }

  .navbar-toggler:hover, .navbar-brand:hover, .nav-link:hover {
    opacity: .65;
  }

  .nv-wrapper, span.nv-toggler, .nav-name {
    display: none;
  }

  .-show {
    display: block;
  }

  /* swipter */
  .swiper-slide img {
    display: block;
    height: auto;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
  }

  /* footer */
  footer {
    background: #191919;
    padding: 30px 0 0;
  }

  .ftnav {
    display: flex;
    max-width: 980px;
    margin: 0 auto 30px;
    padding: 0 22px;
    justify-content: space-between;
  }

  .ftnav-name {
    color: white;
    margin: 0;
    line-height: 2.5;
    font-weight: 400;
  }

  .ftnav-nav {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
  }

  .ftnav-link {
    color: #999;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 2.5;
  }

  .ftnav-link:hover {
    color: white;
    text-decoration: underline;
  }

  .copyright {
    display: flex;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 22px;
    position: relative;
  }

  .copyright span {
    color: #999;
    font-size: 1.1rem;
  }

  .copyright div {
    margin-left: auto;
  }

  .copyright a {
    color: #999;
    font-size: 1.1rem;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    border-right: 1px solid #444;
  }

  .copyright a:nth-last-of-type(1) {
    padding-right: 0;
    border-right: 0;
  }

  .copyright a:hover {
    color: white;
    text-decoration: underline;
  }

  .copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    max-width: 980px;
    margin: 0 auto;
    background: #444;
  }

  /* list */
  .list {
    display: flex;
    flex-direction: column;
    background-color: white;
    margin-top: 10px;
  }

  .list-link {
    margin: 0 auto;
    font-size: 0;
  }

  .list-item {
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  /* localnav */
  .localnav {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #e3e3e3;
    background: rgba(247, 247, 247, .9);
  }

  .localnav h1 {
    margin: 0 auto;
    font-weight: 400;
    color: #333;
    font-size: 1.6rem;
    max-width: 980px;
    line-height: 3;
  }

  .localnav h1 a {
    color: #333;
    text-decoration: none;
  }

  .localnav h1 a:hover {
    text-decoration: underline;
  }

  /* container */
  .container-fluid {
    background-color: white;
  }

  .container {
    max-width: 980px;
    margin: 0 auto;
  }

  /* grid */
  .grid {
    padding: 10px 0 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    grid-gap: 2px;
  }

  a.grid-item {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    background-color: white;
    position: relative;
  }

  a.grid-item:hover {
    opacity: .9;
  }

  .grid-name {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 5px;
    line-height: 1.5;
  }

  .grid-image {
    width: 65%;
    height: auto;
    display: block;
    margin: 55px auto 0;
  }

  /* story page */
  .story-banner {
    width: 100%;
    min-width: 768px;
  }

  .story-banner img {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .story-content {
    padding: 48px 4% 0;
    color: #333;
  }

  .story-content .content-wrapper {
    width: 40%;
    min-width: 600px;
    padding: 24px 48px;
    background: rgb(239, 239, 239);
    background: rgba(229, 229, 229, 0.7);
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
    font-size: 13px;
    letter-spacing: .5px;
  }

  .story-content .content-wrapper p {
    text-indent: 1.5em;
  }

  /* showcase */
  .showcase {
    max-width: 980px;
    margin: 10px auto 0;
    background-color: white;
  }

  a.showcase-item {
    display: block;
    text-align: center;
    text-decoration: none;
    padding-bottom: 30px;
  }

  /* a.showcase-item:hover .showcase-name {
    text-decoration: underline;
  } */

  .showcase-image {
    display: block;
    margin: 0 auto;
    max-width: 90%;
  }

  .showcase-isnew {
    font-size: 14px;
    color: #FE9500;
    line-height: 1.5;
  }

  .showcase-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.5;
  }

  .showcase-price {
    font-size: 14px;
    color: #007AFF;
    line-height: 1.5;
  }

  /* hide them */
  .swiper-container.portrait {
    display: none;
  }
}



/* Medium devices (tablets, 1000px and up) */
@media (min-width: 1000px) {
  .nv-wrapper {
    margin-right: calc(50vw - 490px);
  }
}
