/**
 既存スタイルオーバーライド用_250609
*/

.collections-alternate
 {

  collection-banner {
    padding: 1.5em 0;
  }

  .content-over-media {
    justify-content: center;
  }

  .content-over-media>picture,
  .content-over-media>image-parallax picture {
    display: contents;
  }

  .content-over-media> :is(img, video, iframe, svg, video-media),
  .content-over-media>picture img,
  .content-over-media>image-parallax img {
    width: 35%;
    transform: initial;
    height: auto;
    min-width: initial;
    transform: initial !important;
    
    @media screen and (min-width: 700px) {
      max-width: 240px;
      width: 100%;
    }
  }

  .content-over-media {
    display: flex;
    place-items: initial;
    min-height: auto;
    align-items: center;
    column-gap: 32px;
  }

  .prose {
    display: flex;
  }

  .h1 {
    font-size: var(--text-h5);
  }

  .product-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    column-gap: 5px;
    row-gap: 0;
    padding-inline-start: 0;
    @media screen and (min-width: 700px) {
      column-gap: 48px;
      row-gap: 0;
    }
    &::after {
      content: "";
      display: block;
      order: 2;
    }
  }

  .product-image {
    max-width: 160px;

    img {
      width: 100%;
    }
  }

  .collection__label-list {
    padding-top: 16px;
    max-width: 800px;
    margin: 0 auto;
    
    &.is-sidebar {
      max-width: 1080px;
    }
  }
  
  .product-list {
    @media screen and (min-width: 700px) {
      max-width: 1080px;
      width: calc(100% - 16px * 2);
      margin: 0 auto;
    }
  }

  .product-text {
    text-align: start;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-width: 85px;
  }

  .product-text--deco {
    text-align: center;
  }

  .product-link__inner {
    text-align: right;
    margin-top: 8px;

    a {
      background-color: #000;
      color: #fff;
      padding: 0.25em;
      width: 100%;
      text-align: center;
      display: block;
      transition: 0.4s;

      &:hover {
        opacity: 0.8;
      }
    }
  }

  .product-link--download {
    order: 3;
  }


  .product-link--deco {
    grid-column: 3/5;
  }

  .collection__label-list {
    &::before {
      content: "";
      width: 1px;
      display: block;
    }

    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style-type: none;
    gap: 6px;
    padding: 1em 0;
    max-width: 1080px;
    width: 100%;

    @media screen and (min-width: 700px) {
      gap: 48px;
    }
  }

  .collection__label-item {
    list-style: none;
    line-height: 1;
    padding-inline-start: 0;

    position: relative;
    z-index: 1;
    font-weight: 700;
    text-align: start;
    font-size: 12px;

    @media screen and (min-width: 700px) {
      font-size: 14px;
    }

  }

  .collection {
    margin: 0;

    &.is-sidebar {
      &::before {
        content:"";
        display: block;
        height: 1px;
      }
    }
  }

  .collection-header {
    position: relative;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      background-color: #fafafa;
      width: 100vw;
      margin: 0 calc(50% - 50vw);
      height: 100%;
    }
  }
}