@charset "utf-8";
/* CSS Document */

/* ▼ 最大3列に変更 */
.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ▼ カードデザイン（前回と同じ） */
.video-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ▼ 公開予定カード */
.video-card.upcoming {
  position: relative;
  opacity: 0.6;
  filter: grayscale(100%);
  pointer-events: none;
}

.video-card.upcoming:hover {
  transform: none;
  box-shadow: none;
}

.video-card.upcoming iframe {
  pointer-events: none;
}

.video-card.upcoming .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.video-card.upcoming .overlay span {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 4px;
}

/* ▼ タイトル・テキスト */
.video-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 14px 16px 6px;
}

.video-desc {
  font-size: 14px;
  color: #555;
  margin: 0 16px 16px;
  line-height: 1.6;
}

/* ▼ レスポンシブ設定（3→2→1 に自然に崩す） */
@media (max-width: 900px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .video-list {
    grid-template-columns: 1fr;
  }
}

/* 全体の横並びレイアウト */
.profile-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 40px 0;
}

/* 左側（写真＋名前） */
.profile-photo {
  width: 280px;
  flex-shrink: 0;
  text-align: center;
}

.profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.profile-name {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.profile-name span {
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  margin-top: 6px;
}

/* 右側（テキスト） */
.profile-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.9;
  color: #222;
}

.profile-text p {
  margin-bottom: 18px;
}

/* ▼ スマホ対応 */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    gap: 20px;
  }

  .profile-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .profile-text {
    font-size: 14.5px;
  }
}
