@charset "utf-8";
/* 「ジェットスター 商品枠のみ」レスポンシブCSS */
.product .box {
  width: 92%;
  margin: 4% auto;
}
.product__list {
  display: grid;
  color: #000;
  @media (861px <=width) {
    --gap: 20px;
    --col-num: 2;
    grid-template-columns: repeat(auto-fit, calc((100% - var(--gap) * (var(--col-num) - 1)) / var(--col-num)));
    justify-content: center;
    gap: var(--gap);
  }
  @media (981px <=width) {
    --gap: 10px;
  }
}
.product__list--inner {
  font-size: min((20vw / 7.5), 12px);
  line-height: 1.4;
  color: inherit;
  font-weight: normal;
  border: 1px solid #a0a0a0;
  display: grid;
  grid-template-areas: 'img txt';
  grid-template-columns: min((243.5vw / 7.5), 180px) 1fr;
  grid-template-rows: max-content 1fr;
  align-items: start;
  gap: 0 min((20vw / 7.5), 15px);
  position: relative;
  text-decoration: none;
  padding: min((18vw / 7.5), 15px);
}
.product__list--image-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: min((10vw / 7.5), 8px);
  width: 100%;
  padding-top: calc((628 / 944) * 100%);
  position: relative;
  grid-area: img;
}
.product__list--image {
  object-fit: contain;
  object-position: center top;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  /*aspect-ratio: 944 / 628;
  height: min((162vw / 7.5), 186px);*/
}
.product__list--type {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0.2em 0.2em 0.25em;
  font-weight: bold;
  align-content: center;
  position: relative;
}
.product__list--label {
  font-size: min((20vw / 7.5), 11px);
  line-height: 1.2;
  color: #fff;
  padding: 0.5em 0.75em;
  font-weight: bold;
  background: var(--product-label-bg, #000);
  &.is-business {
    --product-label-bg: #001a4b;
  }
}
.product__list--text-wrapper {
  grid-area: txt;
}
.product__list--title {
  font-size: min((24vw / 7.5), 16px);
  font-weight: bold;
}
.product__list--minmax {
  font-size: min((32vw / 7.5), 18px);
  color: #e70000;
  font-weight: bold;
}
.product__list--detail,
.product__list--price {
  color: #333;
}
.product__list--detail,
.product__list--minmax ~ [class^='product__list--'] {
  margin-top: 0.25em;
}

@media (width <861px) {
  .product__list--item:not(:first-child) {
    --yohaku: min((20vw / 7.5), 15px);
    margin-top: var(--yohaku);
  }
  .product__list--type {
    width: 100%;
  }
  .product__list--detail {
    margin-top: min((15vw / 7.5), 15px);
  }
  .product__list--price {
    margin-top: min((20vw / 7.5), 20px);
  }
}

@media (width >=861px) {
  .product__list--data {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #efefef;
  }
  .product__list--inner {
    height: 100%;
  }
  .product__list--label-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
  }
  .product__list--image-wrapper {
    display: grid;
    grid-template-rows: auto 1fr;
    .product__list--image {
      width: 100%;
      height: auto;
    }
  }
  .product__list--type {
    padding: 0.5em;
  }
  .product__list--text-wrapper {
    display: grid;
    align-content: space-between;
    gap: 1em;
    &::after {
      content: none;
    }
  }
}
/*------------------------------------------------*/
/*★ ＝＝ hover ＝＝ ★*/
@media (hover: hover) and (pointer: fine) {
  .product__list--inner {
    > [class$='-wrapper'] {
      transition: opacity 0.3s;
      .product__list--inner:hover & {
        opacity: 0.7;
      }
    }
  }
}
