@charset "UTF-8";
/* CSS Document */
* {
/*  outline: 1px solid #c00;*/
}
header {
  z-index: 10;
}
.slider-area{
    position: relative;
    margin: 30px auto 70px;
}
.top-logo{
    position: absolute;
    width: 500px;
    top: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}
.page-flex{
    display: flex;
    gap: 30px;
}
main {
    flex: 7;
}
aside {
    flex: 3;
}
.sticky {
  position: sticky;
  top: 130px;
}
/*スライドのスタイル*/
.slider {
  margin: 0 auto 40px;
  width: 80%;
}
/*ボックスのレイアウト*/
.slide-items .slick-slide {
  margin-right: 1vw !important;
  margin-left: 1vw !important;
}
/*スライドの中身*/
.side-scroll-item {
    height: 600px;
  aspect-ratio: 4 / 3;
  img {
    height: 100%;
    object-fit: cover;
    margin: auto;
      object-position: 40% center;
  }
}
.blink {
  animation: blinking 0.8s ease-in-out infinite alternate;
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.top-news {
  width: min(1300px, 100%);
  margin: 0 0 0 auto;
  border: solid 2px var(--text-color);
  border-top-right-radius: 30px;
  overflow: hidden;
}
.top-top {
  color: white;
  background: var(--text-color);
  padding: 10px 20px;
}
.top-items, .support {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  width: 110%;
  margin: 100px 0 100px -10%;
  padding: 50px 70px;
}
.top-items {
  border: solid 3px var(--main-color);
  box-shadow: 0 0 10px 3px rgba(100, 100, 0, .3);
}
.contents { /*商品のまとめ*/
  margin: 20px auto 30px;
  display: flex;
  gap: 0 70px;
  padding: 20px;
  overflow: scroll;
}
.contents::-webkit-scrollbar {
  width: 0;
  height: 8px;
}
.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-color: inherit;
  border-radius: 8px;
  border-right: 1px solid transparent; /* 透明なボーダーをつける */
  border-left: 1px solid transparent; /* 透明なボーダーをつける */
  background-clip: padding-box; /* 背景を切り取る */
}
.content { /*商品それぞれ*/
  list-style: none;
  transition: transform 1s;
  .mid-text {
    width: 300px;
    margin-top: 8px;
  }
  &:hover {
    transform: scale(1.05);
    img {
      box-shadow: 0 0 4px 2px rgba(150, 100, 0, .3);
    }
  }
}
.content img {
  height: 300px;
  background: #aaa;
  border-radius: 8px;
  object-fit: cover;
  transition: box-shadow 1s;
}
.plice span {
  font-size: 13px;
  margin-left: 3px;
}
.top-items-group, .top-items h2, .support h2, .support-flex {
  width: 1200px;
  margin: 10px 0 20px auto;
}
/*詳細ページリンクの矢印*/
.to-page {
  text-align: right;
  color: var(--text-color);
  position: relative;
  padding: 0 5px 0 15px;
  margin-bottom: 30px;
}
.to-page::after, .to-page::before {
  content: "";
  position: absolute;
  width: 80px;
  transition: width 1s;
  border-right: 15px solid transparent;
}
.to-page::before {
  right: 0px;
  bottom: -18px;
  border-top: 16px solid var(--main-color);
  border-radius: 3px;
}
.to-page::after {
  right: 7px;
  bottom: -21px;
  border-top: 16px solid white;
  border-radius: 2px;
}
.to-page:hover::before, .to-page:hover::after {
  width: 120px;
  transition: width .5s;
}
.support {
  background: var(--main-color);
}
.support h2, .top-items h2, .top-about h2 {
  border-bottom: solid 2px var(--text-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.support-flex {
  display: flex;
  justify-content: space-between;
}
.support-group {
  width: calc(100% / 2 - 20px);
  transition: transform 1s;
  &:hover {
    transform: scale(1.05);
  }
}
.support-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  object-fit: cover;
  transition: box-shadow 1s;
  &:hover {
    box-shadow: 0 0 4px 2px rgba(100, 150, 0, .5);
  }
}
.support-title {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  img {
    width: 30px;
    height: 30px;
  }
  p {
    margin-left: 10px;
  }
}
.top-about {
  width: min(1300px, 100%);
  margin: 0 0 0 auto;
  padding-right: 30px;
}
.aside-img {
  width: max(200px, 40%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 30px;
    overflow: hidden;
    img{
        height: 100%;
    }
}
@media (width <=750px) {
    .page-flex{
        display: block;
    }
.top-logo{
    width: 330px;
    top: 10vh;
    left: 50%;
    transform: translate(-50%, 50%);
}
  .sticky {
    padding-top: 0;
    position: static;
  }
.slider-area{
    margin-top: 0;
}
  .slider {
    width: 100%;
  }
.side-scroll-item {
    height: 600px;
  aspect-ratio: 3 / 4;
    }
  .slick-prev:before, .slick-prev:after, .slick-next:before, .slick-next:after {
    opacity: 0;
  }
  .top-news {
    width: 95%;
    margin: 100px auto;
    border: solid 2px var(--text-color);
    border-top-right-radius: 30px;
    overflow: hidden;
  }
.news-title::after {
    display: none;
}
.top-items, .support {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
  margin-inline: 0;
  padding: 40px 0;
}
.top-items {
    border-right: none;
    border-left: none;
  border-top: solid 3px var(--main-color);
  border-bottom: solid 3px var(--main-color);
  box-shadow: 0 0 10px 3px rgba(100, 100, 0, .3);
}
  .top-items-group, .support-flex, .top-items h2, .support h2 {
    width: 90%;
  margin: 0 auto 50px;
}
  .support-flex {
    display: block;
  }
  .support-group {
    width: 100%;
    margin-bottom: 30px;
    &:hover {
      transform: none;
    }
  }
  .top-about {
    width: 95%;
    margin: 0 auto 50px;
    padding-right: 0;
  }
  .aside-flex {
    display: flex;
    justify-content: center;
      align-items: center;
    grid-template-columns: 1fr 1fr;
    width: 95%;
    margin: auto;
    }
    .aside-img{
    margin: 0 auto 30px;
  }
  }