/* 商品独自コメント4 ここから*/

/* 一覧 */
.reel__modal {
    padding: 20px 0;
}
.reel__modal-cards .swiper-wrapper {
    display: flex;
    gap: 1%;
}
.reel__modal-cards .reel__modal-card:nth-child(n+4) {
    display: none;
}

/* サムネイル */
.reel__modal-card-image{
    width: 172px;
    height: 290px;
    object-fit: cover;
}
/* クレジット */
.reel__modal-card-data {
    display: flex;
    align-items: center;
    padding: 5px 0;
}
img.reel__LoadedImg {
    width: 20px;
}
.reel__modal-card-title {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    font-size: 12px;
    height: 22px;
    justify-content: space-around;
}
/* 動き */
.reel__modal-card:hover {
  opacity: .6;
}
.modal__trigger {
  cursor: pointer;
}

/* 閉じる */
.reel__wrapper__close {
  position: absolute;
  top: 10px;
  right: 5px;
  width: 44px;
  height: 44px;
  background: rgba(50, 50, 50, 1);
  cursor: pointer;
  transition: opacity .3s;
  z-index: 1;
}
.reel__wrapper__close:hover {
  opacity: .6;
}
.reel__wrapper__close:focus-visible {
  outline: 2px solid #000;
}
.reel__wrapper__close:before,
.reel__wrapper__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: '';
}
.reel__wrapper__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.reel__wrapper__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* モーダル内のコンテンツ */
.reel__wrapper {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.reel__wrapper.is-open {
  display: block;
  pointer-events: auto;
}
.reel__wrapper.is-opening a {
  pointer-events: none;
}
.reel__layer {
  position: fixed;
  inset: 0; 
  height: 100%;
  background: rgba(50, 50, 50, .85);
  cursor: pointer;
}
.reel__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(calc(100% - 20px), 1000px);
  height: calc(100% - 40px);
  padding: 0 10px;
  background: #fff;
}
.reel__wrapper__inner {
  position: relative;
  height: 100%;
  padding: 55px 0px 0px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* 動画 */
.reel__player {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: calc(100dvh - 130px);;
  /* ←ここが肝：余白ぶん差し引き */
}
.reel_lists { flex: 1 1 auto; min-height: 0; overflow: auto; }

.reel__content {
  display: flex;
}
.reel_lists {
  width: 70%;
}
.reel__title {
  font-size: 15px;
  padding-bottom: 15px;
}
.reel__items {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  /* gap: 12px; */
  justify-content: space-between;
}
.reel__item {
  width: calc((100%) / 2);
  min-height: 300px;
  border: 3px solid #f2f2f2;
  padding: 12px;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.reel__item figure {
  margin: 0;
}
.reel__item figure img {
  width: 100%;
  height: auto;
  display: block;
}
.reel__item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.reel_name, .reel_price {
    font-family: Ariel;
}
.reel_name {
  margin: 10px 0 6px;
  line-height: 1.4;
  font-size: 14px;
  font-family: Arial, sans-serif;
}
.reel_price {
  margin-top: auto; /* 下部に自然配置 */
  text-align: right;
  font-size: 15px;
  letter-spacing: .5px;
}
.reel_price span {
  font-size: 12px;
}
.reel_attention {
  padding: 10px 0 5px;
  position:absolute;
  bottom:0;
  right:0;
}
.reel_attention p {
  font-size: 12px;
  color: #787878;
  margin: 0;
  letter-spacing: 0.0em;
}
/* 商品独自コメント4 ここまで*/