/* ============================================================
   page-hairstyle.css — ヘアスタイル動画
   ============================================================ */

/* 3列グリッド */
.hairstyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* 各動画アイテム（9:16縦長） */
.hairstyle-item {
  position: relative;
  padding-top: 177.78%; /* 9:16 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  background: #1a1a1a;
}

.hairstyle-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ページネーション */
.hairstyle-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hairstyle-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 0 8px;
  transition: all 0.2s;
}

.hairstyle-pagination .page-numbers.current,
.hairstyle-pagination .page-numbers:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* 空メッセージ */
.hairstyle-empty {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  padding: 60px 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hairstyle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hairstyle-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
