body {
  margin: 0;
  background: #fff8f6;
  font-family: 'Noto Sans JP', sans-serif;
  color: #5e4a47;
}

/* --- 動画ギャラリー全体 --- */
.video-gallery {
  max-width: 1100px;
  margin: 2.5rem auto 2rem auto;
  background: linear-gradient(120deg, #fff0fa 80%, #ffe4f1 100%);
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px rgba(217,91,150,0.10), 0 2px 8px rgba(255,182,193,0.10);
  padding: 2.5rem 1.5rem;
}

.gallery-title {
  text-align: center;
  color: #e17ca6;
  font-size: 2rem;
  margin-bottom: 1.5em;
  font-family: 'Zen Maru Gothic', 'Yu Gothic', sans-serif;
  letter-spacing: 0.05em;
}

/* --- フィルター --- */
.filter-controls {
  text-align: center;
  margin-bottom: 2em;
}
.filter-controls button {
  background: #fff6fb;
  border: 2px solid #f7c8d7;
  border-radius: 1.5em;
  color: #e17ca6;
  font-size: 1em;
  padding: 0.5em 1.5em;
  margin: 0 0.3em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.filter-controls button.active,
.filter-controls button:hover {
  background: #f7c8d7;
  color: #fff;
}

/* --- 動画リスト --- */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* --- 動画アイテム（左右交互） --- */
.video-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  background: #fff6fb;
  border-radius: 1.5rem;
  border: 2px dashed #f7c8d7;
  box-shadow: 0 2px 8px rgba(217,91,150,0.08);
  padding: 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}
.video-item.left .video-text {
  order: 1;
}
.video-item.left .video-frame {
  order: 2;
}
.video-item.right .video-frame {
  order: 1;
}
.video-item.right .video-text {
  order: 2;
}

/* --- 動画テキスト --- */
.video-text {
  flex: 1 1 auto;
  font-size: 1.08em;
  color: #ba8c63;
  width: 100%;
}
.video-text h3 {
  color: #fff;
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 0.8em;
  font-family: 'Zen Maru Gothic', 'Yu Gothic', sans-serif;
  background: linear-gradient(135deg, #e17ca6 0%, #f08ab8 100%);
  padding: 0.9em 1.3em;
  border-radius: 1.5em;
  box-shadow: 0 4px 15px rgba(225, 124, 166, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.05em;
  display: inline-block;
}
.video-text p {
  color: #2a2a2a;
  font-size: 1.05em;
  line-height: 1.6;
  margin: 0;
}

/* --- 動画フレーム --- */
.video-frame {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.video-frame iframe {
  width: 100%;
  max-width: 420px;
  height: 236px;
  border-radius: 1em;
  border: 4px solid #ffe4f1;
  background: #fff0fa;
  box-shadow: 0 2px 8px rgba(217,91,150,0.08);
}

/* --- アニメーション（任意） --- */
.fade-in {
  animation: fadeInUp 1s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

/* --- レスポンシブ --- */
@media (max-width: 1200px) {
  .video-item {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .video-item {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
  }
  .video-item.left .video-text,
  .video-item.right .video-text,
  .video-item .video-text {
    order: 0;
    text-align: center;
    padding: 0;
  }
  .video-item.left .video-frame,
  .video-item.right .video-frame,
  .video-item .video-frame {
    order: 1;
  }
  .video-text, .video-frame {
    max-width: 100%;
  }
  .video-frame iframe {
    max-width: 98vw;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .gallery-title {
    font-size: 1.3em;
  }
  .filter-controls button {
    font-size: 0.98em;
    padding: 0.4em 1em;
    margin: 0.2em 0.1em;
  }
}
@media (max-width: 600px) {
  .gallery-title {
    font-size: 1em;
  }
  .video-frame iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
