/** Shopify CDN: Minification failed

Line 10:0 Unexpected "<"
Line 99:0 Unexpected "<"

**/


/* CSS from section stylesheet tags */
<style>
.tabs-container { margin-top: 30px; }

.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-buttons button {
  border: 1px solid black;
  padding: 8px 20px;
  background-color: white;
  cursor: pointer;
}

.tab-buttons button.active {
  background-color: black;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== ギャラリー（比率維持・トリミングなし） ===== */
.tab-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
  margin-top: 30px;
}

.tab-gallery img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain; /* ← 比率維持してトリミングなし */
  background-color: #fff;
  border: 1px solid #f5f5f5;
}

/* ===== 動画部分 ===== */
.tab-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横2列 */
  gap: 20px;
  margin: 40px auto 0;
  width: 70%;
}

.youtube-video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-video-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* ===== モバイル対応 ===== */
@media (max-width: 749px) {
  .tab-gallery {
    grid-template-columns: 1fr;
  }

  .tab-gallery img {
    width: 80vw;
    max-height: none;
  }

  .tab-videos {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
</style>