/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 19 2026 | 07:35:22 */
/* 動画タブ切り替えコンポーネント CSS */

/* コンポーネント固有の設定 */
.video-tab-component {
  /* 変数定義（このブロック内のみ有効） */
  --vt-bg-blue: #e3f2fd;
  --vt-text-blue: #1565c0;
  --vt-bg-pink: #fce4ec;
  --vt-text-pink: #c2185b;
  --vt-bg-green: #e8f5e9;
  --vt-text-green: #2e7d32;
  --vt-anim-speed: 0.4s;

  max-width: 400px; /* 縦長動画に最適な幅 */
  margin: 0 auto;   /* 中央寄せ */
  width: 100%;
  box-sizing: border-box;
}

/* 内部要素のスタイルリセット */
.video-tab-component *,
.video-tab-component *::before,
.video-tab-component *::after {
  box-sizing: inherit;
}

/* タブナビゲーション */
.video-tab-component .tab-nav {
  display: flex;
  flex-direction: column; /* スマホ: 縦並び */
  gap: 8px;
  margin-bottom: 16px;
}

/* PC等: 横並び */
@media (min-width: 480px) {
  .video-tab-component .tab-nav {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* タブボタン */
.video-tab-component .tab-btn {
  flex: 1;
  padding: 12px 8px;
  border: none;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: inherit; /* 親フォントを継承 */
}

/* ホバー時の動き */
.video-tab-component .tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* アクティブ時の色設定 */
.video-tab-component .tab-btn[data-color="blue"].active {
  background-color: var(--vt-bg-blue);
  color: var(--vt-text-blue);
  border-left: 4px solid var(--vt-text-blue);
}
.video-tab-component .tab-btn[data-color="pink"].active {
  background-color: var(--vt-bg-pink);
  color: var(--vt-text-pink);
  border-left: 4px solid var(--vt-text-pink);
}
.video-tab-component .tab-btn[data-color="green"].active {
  background-color: var(--vt-bg-green);
  color: var(--vt-text-green);
  border-left: 4px solid var(--vt-text-green);
}

/* 動画表示エリア */
.video-tab-component .tab-content {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  display: none;
  opacity: 0;
}

/* 縦長動画比率 (9:16) 維持 */
.video-tab-component .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 aspect ratio (935/526 ≒ 1.77) */
}

.video-tab-component .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 表示アニメーション */
.video-tab-component .tab-content.active {
  display: block;
  animation: vt-slideFadeIn var(--vt-anim-speed) forwards;
}

@keyframes vt-slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}