@charset "utf-8";
/* 「マイクラ 商品枠のみ」レスポンシブCSS */
#product {
  --sec-ttl-size-h: min((70vw / 7.5), 57px);
  --sec-ttl-mb: min((62vw / 7.5), 54px);
  --base-btn-yohaku-ue:  min((67vw / 7.5), 62px);
  background: #bedbad;
  padding: min((120vw / 7.5), 100px) 0 min((150vw / 7.5), 124px);
}
.product__list {
  display: grid;
  color: #000;
  @media(width >=861px) {
    --gap: 14px;
    --col-num: 4;
    grid-template-columns: repeat(auto-fit, calc((100% - var(--gap) * (var(--col-num) - 1)) / var(--col-num)));
    justify-content: center;
    gap: var(--gap);
  }
}
.product__list--inner {
  font-size: min((20vw / 7.5), 12px);
  line-height: 1.4;
  color: inherit;
  font-weight: normal;
  background: #fff;
  border: 1px solid #e3d0a8;
  display: grid;
  grid-template-columns: min((243.5vw / 7.5), 280px) 1fr;
  gap: min((10vw / 7.5), 10px) min((20vw / 7.5), 30px);
  position: relative;
}
.product__list--image {
  aspect-ratio: 944 / 628;
  object-fit: cover;
  height: min((162vw / 7.5), 186px);
}
.product__list--type {
  background: #000;
  color: #fff;
  text-align: center;
  padding: .2em .2em .25em;
  font-weight: bold;
  align-content: center;
}
.product__list--label-wrapper:has(.product__list--label.is-economy) {
  display: none;
}
.product__list--label {
  font-size: min((20vw / 7.5), 11px);
  line-height: 1.2;
  color: #fff;
  padding: .5em .75em;
  font-weight: bold;
  background: var(--product-label-bg, #000);
  &.is-business {
    --product-label-bg: #001a4b;
  }
}
.product__list--title {
  font-weight: bold;
}
.product__list--minmax {
  color: #e70000;
  font-weight: bold;
}
.product__list--title, .product__list--minmax {
  font-size: min((24vw / 7.5), 16px);
}
.product__list--detail, .product__list--price {
  color: #333;
}
.product__list--detail, .product__list--minmax ~ [class^="product__list--"] {
  margin-top: .25em;
}
@media(width < 861px) {
  .product__list--item:not(:first-child) {
    --yohaku: min((10vw / 7.5), 15px);
    margin-top: var(--yohaku);
  }
  .product__list--inner {
    padding: min((18vw / 7.5), 15px);
    grid-template-areas:
      "img label"
      "img txt";
    grid-template-rows: max-content 1fr;
    &:has(.product__list--label.is-economy) {
      grid-template-areas: "img txt";
    }
  }
  .product__list--image-wrapper {
    grid-area: img;
  }
  .product__list--label-wrapper {
    grid-area: label;
    display: flex;
    flex-wrap: wrap;
    gap: min((10vw / 7.5), 8px);
  }
  .product__list--text-wrapper {
    grid-area: txt;
  }
  .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--item, .product__list--data {
    display: contents;
  }
  .product__list--inner {
    grid-template-columns: 1fr;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 0;
    border: 1px solid #b1b9c4;
  }
  .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: .5em;
  }
  .product__list--text-wrapper {
    padding: 8px 10px 10px;
    display: grid;
    align-content: space-between;
    gap: 1em;
  }
}
/*------------------------------------------------*/
/*★ ＝＝ hover ＝＝ ★*/
@media (hover : hover) and (pointer : fine) {
  .product__list--inner {
    > [class$="-wrapper"] {
      transition: var(--default-hover-transition-opacity);
      .product__list--inner:hover & {
        opacity: var(--default-hover-opacity);
      }
    }
  }
}