html {
    scroll-behavior: smooth;
}

#wrapper{
    max-width: 900px;
    width: 100%;  
    margin: 0 auto;
}
#top_view{
    padding-bottom: 8rem;
    width: 100%;
}
picture{
    width: 100%;
}
.brand_img{
display:block;
max-width: 900px;
width: 100%; 
margin: auto;
margin-bottom: 5rem;
}

p{
    font-size:16px;
    line-height: 1.75rem;
    font-family:'Yu Gothic','ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','Yu Gothic UI','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}
h2{
    font-size:30px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Georgia','Cambria','Athelas','Bodoni 72',sans-serif;
}
.catchphrase{
    font-weight: bold;
}
.brand_name{
  font-size:0.8em;
  font-weight:bold;
}
.item_name{
  font-size: 0.9em;
}

#feature_intro,
.brand_intro{
    max-width: 900px;
    width: 100%;
    margin: auto;
    margin-bottom: 4rem;
}

article{
    margin-bottom: 9rem;
}
.price{
  color: #4d4d4d;
}
.item_list{
    max-width: 900px;
    width: 100%; 
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    transition: .8s cubic-bezier(0.45, 0, 0.55, 1);
    margin-bottom: 3rem;
}
.item_list li{
    width: 300px;
    box-sizing: border-box;
    padding: 15px;
    transition: .8s cubic-bezier(0.45, 0, 0.55, 1);

}
.item_list li a:hover{
    opacity: 0.8;

}
.item_list li img{
    width:100%;
}
.button{
    text-align: center;
}
.button a:hover{
      color:#252525;
      background-color: #fff;
      transform: scale(1.1);
}
.more{
    color:#fff;
    background-color: #252525;
    border: 2px #252525 solid;
    display: inline-block;
    padding: 10px 50px;
    border-radius: 40px;
    margin: 1rem auto ;
    transition: .5s cubic-bezier(0.45, 0, 0.55, 1);
}
.pagetop{
    writing-mode: vertical-rl;
    height: 135px;
    width: 1.5rem;
    position: fixed;
    right: 50px;
    bottom: 50px; 
    border-left: 1px solid #000;
    display: flex;
    justify-content: center;
    transition: 0.8s cubic-bezier(0.45, 0, 0.55, 1);
}
.pagetop:before{
    content:"";
    position: absolute;
    top: 0;
    right:15px;
    width: 1.5px;
    height: 20px;
    background: #444444;
    transform: skewX(-140deg);
}

.animation a:hover{
scale: 1.1;
}
.scroll-hidden {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.scroll-visible {
  opacity: 1;
  transform: translateX(0);
}

/*=====フッター=====*/
.buy a,
.viewmore a {
  font-size: 12px;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  text-align: center;
  color: #fff;
}
.viewmore {
  background-color: #000;
  max-width: 300px;
  height: 60px;
  margin: auto;
  position: relative;
}
.viewmore p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin: 0;
}
.viewmore a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.real_shop {
  max-width: 1200px;
  margin: 120px auto 80px;
  padding: 0 0.5rem;
}
.real_shop p {
  text-align: center;
}
.viewmore2 {
  background-color: #000;
  max-width: 1000px;
  height: 300px;
  margin: 0 auto 30px;
  position: relative;
  background-image: url(https://www.nextfocus.jp/RealShop/img/realshoptopimage.jpg);
  background-size: 200%;
  background-position: bottom;
}
.viewmore2 a::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
}
.viewmore2 .viewmore_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  margin: 0 0.5rem;
  padding: 0.5rem;
  z-index: 2;
}
.viewmore2 .viewmore_inner p {
  font-family:"Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.viewmore2 .border {
  max-width: 300px;
  height: 60px;
  margin: 20px auto 0;
  border: 1px solid #fff;
  position: relative;
}
.viewmore2 .border p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.viewmore2 p {
  z-index: 3;
  color: #fff;
}
.viewmore2 a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.viewmore2 .border::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.viewmore2 .title {
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-size: 1.4rem;
  letter-spacing: 0.25rem;
  margin-bottom: 10px;
}
.real_shop > .common_title,
.real_shop > .lineup_title_ja {
  text-align: center;
}


@media screen and (min-width:769px) and (max-width:1080px) {
    #wrapper{
        width:100%;
        margin: auto;
    }
    #feature_intro,
    .brand_intro{
    width: 90%;
    margin: auto;
    padding-bottom: 1.5rem;
  }
      .brand_img{
    width:90%;
  }
      .item_list{
      width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
    .item_list li{
    width: 33.333%;
    padding: 20px;
}
}

@media screen and (max-width:768px){

    h2{
        padding-bottom: 1rem;
    }
    img{
      width: 100%;
    }
    #feature_intro,
    .brand_intro{
    width: 100%;
    margin: auto;
    margin-bottom: 4rem;
    padding: 1em;
}

    .brand_img{
    width:100%;
    margin-bottom: 5rem;
}
    .item_list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
    .item_list li{
    width: 50%;
    padding: 10px;
}

.pagetop{
  visibility: collapse;
}
/*=====フッター=====*/
  .buy a,
  .viewmore a {
    font-size: 12px;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    text-align: center;
    color: #fff;
  }
  .viewmore {
    background-color: #000;
    max-width: 300px;
    height: 60px;
    margin: auto;
    position: relative;
  }
  .viewmore p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    margin: 0;
  }
  .viewmore a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
  }
  .real_shop {
    max-width: 1200px;
    margin: 120px auto 80px;
    padding: 0 0.5rem;
  }
  .real_shop p {
    text-align: center;
  }
  .viewmore2 {
    background-color: #000;
    max-width: 1000px;
    height: 300px;
    margin: 0 auto 30px;
    position: relative;
    background-image: url(https://www.nextfocus.jp/RealShop/img/realshoptopimage.jpg);
    background-size: 200%;
    background-position: bottom;
  }
  .viewmore2 a::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
  }
  .viewmore2 .viewmore_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    margin: 0 0.5rem;
    padding: 0.5rem;
    z-index: 2;
  }
  .viewmore2 .viewmore_inner p {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  }
  .viewmore2 .border {
    max-width: 300px;
    height: 60px;
    margin: 20px auto 0;
    border: 1px solid #fff;
    position: relative;
  }
  .viewmore2 .border p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .viewmore2 p {
    z-index: 3;
    color: #fff;
  }
  .viewmore2 a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
  }
  .viewmore2 .border::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
  }
  .viewmore2 .title {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 1.4rem;
    letter-spacing: 0.25rem;
    margin-bottom: 10px;
  }
  .real_shop > .common_title,
  .real_shop > .lineup_title_ja {
    text-align: center;
  }
      .viewmore {
      max-width: 400px;
      margin: 0 5%;
    }
    .viewmore2 {
      height: 380px;
      background-repeat: no-repeat;
      background-size: 500%;
      background-position: bottom;
    }
    .real_shop {
      margin: 80px auto 80px;
    }
    .viewmore2 a::after {
      background-color: rgba(0, 0, 0, 0.6);
    }
}