@charset "UTF-8";
/* CSS Document */
* {
/*  outline: 1px solid #c00;*/
}
.item-area {
  display: flex;
  align-items: center;
  margin-block: 80px;
}
/*スライダー*/
.slider {
  width: 500px;
  display: inline-block;
  margin-right: 30px;
}
.slide-items {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.slide-items .slick-slide {
  margin-right: 1vw !important;
  margin-left: 1vw !important;
}
.side-scroll-item {
  width: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background: #ccc;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/*商品説明*/
.item-about {
  width: 50%;
  .big-text {
    padding-bottom: 5px;
    border-bottom: 2px solid;
    margin-bottom: 20px;
  }
  .plice {
    margin-block: 30px;
  }
}
.syousai {
  margin-top: 30px;
}
.button {
  margin: 0;
  cursor: pointer;
  border: none;
}
/*おすすめ商品等*/
.contents { /*商品のまとめ*/
  margin: 20px auto 0;
  display: flex;
  gap: 30px;
  padding-block: 20px;
  margin-bottom: 60px;
}
.contents { /*商品のまとめ*/
  margin: 30px auto 30px;
  display: flex;
  overflow: scroll;
  gap: 30px;
}
.content { /*商品それぞれ*/
  width: 300px;
  flex: 0 0 auto;
  list-style: none;
  display: grid;
  justify-content: center;
  transition: transform 1s;
  .mid-text {
    margin-top: 8px;
  }
  &:hover {
    transform: scale(1.05);
    img {
      box-shadow: 0 0 4px 2px rgba(150, 100, 0, .3);
    }
  }
}
.content.hide {
  display: none;
}
.content img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #aaa;
  border-radius: 8px;
  object-fit: cover;
  transition: box-shadow 1s;
}
.content span, .item-area span {
  font-size: 13px;
  margin-left: 3px;
}
.reccomend{
    margin-bottom: 50px;
}
.reccomend h2, .ranking h2 {
  padding-bottom: 5px;
  border-bottom: 2px solid;
}
@media (width <=750px) {
  .slider {
    width: 100%;
    margin: 0 auto;
  }
  .item-area {
    width: 100%;
    flex-direction: column;
    margin: 80px auto;
  }
  .slide-items {
    margin: auto;
  }
  .item-about {
    margin-top: 20px;
    width: 100%;
  }
  .contents {
    overflow: scroll;
  }
  .contents::-webkit-scrollbar {
    width: 0;
    height: 8px;
    margin-top: 10px;
  }
  .contents::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 8px;
    border-right: 1px solid transparent; /* 透明なボーダーをつける */
    border-left: 1px solid transparent; /* 透明なボーダーをつける */
    background-clip: padding-box; /* 背景を切り取る */
  }
  .contents::-webkit-scrollbar-track {
    background: #ddd; /* 背景色 */
    border-radius: 8px;
    border-right: 1px solid transparent; /* 透明なボーダーをつける */
    border-left: 1px solid transparent; /* 透明なボーダーをつける */
    background-clip: padding-box; /* 背景を切り取る */
  }
  .content {
    width: 200px;
  }
}