@charset "utf-8";.collections-detail-page {
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}
.page-title {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  padding: 20px 0;
}
.collection-column-settings p {
  padding: 6px 0;
}
.collection-column-settings .image.ty-column1 {
  margin: 0 0 35px 0;
  max-height: 80vh;
  height: 100%;
  position: relative;
}
.collection-column-settings .image.ty-column1 img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}
.video-vertical {
  max-width: 400px;     /* PCでの横幅制限 */
  margin: 0 auto;       /* 中央寄せ */
}

.video-vertical iframe {
  width: 100%;
  aspect-ratio: 9 / 16; /* 縦長動画ならここで比率を指定 */
  height: auto;
  border: none;
}
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
  margin: 0 -2px;
}

.video-item {
  flex: 0 0 49%;       /* 常に2列 */
  margin-bottom: 12px;
  position: relative;
  padding-top: 56.25%; /* 16:9 (標準) */
}

.video-item iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
@media (min-width: 992px) {
  .video-vertical {
    max-width: 400px;   /* 横幅を制限（例: 400px） */
    margin: 0 auto;     /* 中央寄せ */
  }
}
@media (max-width: 1024px) {
  .collection-column-settings .image.ty-column1 {
    height: auto;
    max-height: 85vh;
  }
  .collection-column-settings .image.ty-column1 img {
    max-height: 85vh;
  }
}
@media (max-width: 991px) {
  .collections-detail-page .image {
    margin: 0 0 20px 0;
  }
  .collections-detail-page {
    padding: 0 20px;
  }
}
.ty-column1 {
  width: 100%;
  display: inline-block;
  vertical-align: top;
}
.collection-column-settings .ty-column2-rap {
  display: flex;
  gap: 0 1%;
}
.collection-column-settings .image.ty-column2 {
  flex: 1;
}

@media (min-width: 992px) {
.collection-column-settings .image.ty-column2 img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}
}
.visible-phone {
  display: none !important;
}
@media (max-width: 767px) {
  .hidden-phone {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
@media (max-width: 767px) {
  .video-item {
    padding-top: 75%;  /* 4:3 に近い比率 → 縦が大きくなり1.3倍見え */
  }
}

.video-grid-wrapper {
  margin: 0 -20px; /* 親 .collections-detail-page の padding を打ち消す */
}
}
}
}