@charset "UTF-8";
/* =========================== */
/* インタビューヘッダー */
/* =========================== */
.interview-header {
  width: 100%;
  margin-top: 120px; /* ヘッダーの高さ分を確保 */
}

.interview-header-img {
  width: 100%;
  height: auto;
  display: block;
}

.interview-header-sp {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================== */
/* カテゴリナビゲーション - SVGアイコン利用 */
/* =========================== */
.interview-category-nav {
  padding: 30px 0;
}

/* カテゴリボタン共通のコンテナ */
.category-nav-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px; /* XDデザインに合わせて間隔調整 */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* 必要に応じて折り返し可能に */
}

/* カテゴリボタンのスタイル - PC */
.category-btn {
  width: 260px; /* XDの幅に合わせて調整 */
  height: 80px; /* XDの高さに合わせて調整 */
  background: #fff;
  border: 1px solid #000;
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 0 15px;
  /* フレックスボックスを使わず、相対位置で配置 */
  text-align: center;
}

/* ボタンテキスト */
.btn-text {
  font-weight: normal;
  font-size: 16px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; /* 幅を設定して中央揃え */
}

/* PCでは改行を非表示 */
.btn-text br {
  display: none;
}

/* 矢印アイコン - PCでは右隅に配置 */
.arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* SVG用スタイル調整 */
.arrow svg {
  vertical-align: middle;
  display: block;
}

/* ホバー時 */
.category-btn:hover {
  background: #f0f0f0;
}
@media (max-width: 767.98px) {
  .interview-category-nav {
    padding: 20px 0;
  }

  .category-nav-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
  }

  /* カテゴリボタンのスタイル - モバイル */
  .category-btn {
    width: 110px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #000;
    padding: 10px 0 15px 0; /* 下部に矢印用のスペースを確保 */
    background: #fff;
  }
  /* スマホでは改行を適用 */
  .btn-text br {
    display: inline;
  }
  /* ボタンテキスト */
  .btn-text {
    position: static; /* 絶対配置をリセット */
    transform: none;  /* 変形をリセット */
    left: auto;
    top: auto;
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px; /* 矢印との間隔を調整 */
  }

  /* 矢印アイコン位置 */
  .arrow {
    position: absolute;
    bottom: 5px; /* ボタンの下部に固定 */
    left: 50%;   /* 水平方向の中央に配置 */
    transform: translateX(-50%); /* 中央揃え */
    right: auto; /* 右配置をリセット */
    top: auto;   /* 上配置をリセット */
  }

  /* 矢印アイコンのサイズ調整 */
  .arrow svg {
    width: 10px;
    height: 6px;
  }
}


/* タブレットサイズの対応 */
@media (min-width: 768px) and (max-width: 991.98px) {
 .interview-category-nav {
    padding: 20px 0;
  }

  .category-nav-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
  }

  /* カテゴリボタンのスタイル - モバイル */
  .category-btn {
    width: 110px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #000;
    padding: 10px 0 15px 0; /* 下部に矢印用のスペースを確保 */
    background: #fff;
  }
  /* スマホでは改行を適用 */
  .btn-text br {
    display: inline;
  }
  /* ボタンテキスト */
  .btn-text {
    position: static; /* 絶対配置をリセット */
    transform: none;  /* 変形をリセット */
    left: auto;
    top: auto;
    width: 100%;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px; /* 矢印との間隔を調整 */
  }

  /* 矢印アイコン位置 */
  .arrow {
    position: absolute;
    bottom: 5px; /* ボタンの下部に固定 */
    left: 50%;   /* 水平方向の中央に配置 */
    transform: translateX(-50%); /* 中央揃え */
    right: auto; /* 右配置をリセット */
    top: auto;   /* 上配置をリセット */
  }

  /* 矢印アイコンのサイズ調整 */
  .arrow svg {
    width: 10px;
    height: 6px;
  }
}
/* =========================== */
/* 各カテゴリのタイトルデザイン */
/* =========================== */
.section-title {
  width: 600px;
  max-width: 100%;
  font-size: 32px;
  font-weight: bold;
  color: #000000;
  padding: 15px 20px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.interview-list-category {
  text-align: center;
  padding: 50px 0;
}

/* 各カテゴリごとの背景色 */
.new-employees .section-title {
  background: #d4edd5; /* 薄い緑 */
}

.block-span {
  display: block;
  font-size: 22px;
  font-weight: normal;
  margin-top: 5px;
}

.senior-employees .section-title {
  background: #d9e1f2; /* 薄い青 */
}

.talentbook .section-title {
  background: #f7f4c7; /* 薄い黄色 */
}

/* =========================== */
/* インタビュー一覧スタイル */
/* =========================== */
.interview-item {
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  width: 360px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* 画像コンテナ */
.interview-item-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 500;
}

/* 両方の画像に共通のスタイル */
.interview-item-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 通常の画像 */
.normal-img {
  opacity: 1;
  transition: opacity 0.7s ease;
}

/* ホバー用の画像 (最初は透明) */
.hover-img {
  opacity: 0;
  transition: opacity 0.7s ease;
}

/* ホバー時の状態 */
.interview-item:hover .normal-img {
  opacity: 0;
}

.interview-item:hover .hover-img {
  opacity: 1;
}

/* 一覧ページでのグリッドレイアウト用 */
.new-employees-grid,
.senior-employees-grid,
.related-interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* インタビューアイテムのラッパー */
.interview-item-wrapper {
  display: flex;
  justify-content: center;
}

/* スマホサイズでの調整 */
@media (max-width: 767.98px) {
  .interview-item {
    width: 300px; /* スマホでは300pxに縮小 */
  }
  
  .interview-item-img-container {
    aspect-ratio: 300 / 396; /* アスペクト比を維持 */
  }
  
  /* スマホではより小さなグリッドセル */
  .new-employees-grid,
  .senior-employees-grid,
  .related-interviews-grid {
    grid-template-columns: 1fr; /* 縦に1列 */
    gap: 20px;
  }
}

/* タブレットでの調整 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .interview-item {
    width: 340px; /* タブレットでは少し小さく */
  }
  
  /* タブレットでは2列 */
  .new-employees-grid,
  .senior-employees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-interviews-grid {
    grid-template-columns: repeat(2, 1fr); /* 関連インタビューも2列 */
  }
}

/* 大画面デスクトップでの調整 */
@media (min-width: 1200px) {
  .new-employees-grid,
  .senior-employees-grid {
    grid-template-columns: repeat(3, 1fr); /* 大画面では3列固定 */
  }
  
  .related-interviews-grid {
    grid-template-columns: repeat(4, 1fr); /* 関連インタビューは4列 */
  }
}

/* 関連インタビューセクション */
.interview-section {
  background-color: #f9f9f9;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.interview-section h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: bold;
}

/* YouTube動画バッジ */
.youtube-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 50px;
  height: 35px;
  background-image: url('/rcs-newgrad/assets/images/badge_youtube.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}
/* YouTube動画バッジ */
.col .youtube-badge {
  position: absolute;
  top: 30px!important;
  right: 10px;
  width: 50px;
  height: 35px;
  background-image: url('/rcs-newgrad/assets/images/badge_youtube.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

/* スマホサイズでの追加調整 */
@media (max-width: 767.98px) {
  .interview-section {
    padding: 30px 0;
  }
  
  .interview-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .youtube-badge {
    width: 40px;
    height: 30px;
  }
}
/*--活躍している先輩社員（タレントブック）--*/
/* タレントブック横スクロール用スタイル */
.talentbook-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  /* スクロール開始位置を調整 */
  scrollbar-width: none; /* Firefoxのスクロールバーを非表示 */
}

/* Chrome, Safari, Edge用のスクロールバー非表示 */
.talentbook-container::-webkit-scrollbar {
  display: none;
}

/* 初期スクロール位置を設定するスクリプト用 */
.talentbook-container.scrolled {
  /* スクロール済みを示すクラス */
}

/* スマホ対応 - 縦スクロールに変更 */
@media (max-width: 767.98px) {
  .talentbook-container {
    overflow-x: visible; /* 横スクロールを無効化 */
    white-space: normal; /* 改行を許可 */
    overflow-y: auto; /* 縦スクロールを有効化 */
  }
  
  .talentbook-container iframe {
    width: 100% !important; /* 幅を100%に */
    max-width: 480px !important; /* 最大幅を設定 */
    height: auto !important; /* 高さを自動調整 */
    min-height: 800px !important; /* 十分な高さを確保 */
    margin-left: 0 !important; /* 左マージンをリセット */
  }
}

/* =========================== */
/* インタビューメインビジュアル（PC用、最大1920px） */
/* =========================== */
.interview-main-visual {
  width: 100%;
  max-width: 1920px;
  height: 1060px;
  margin: 80px auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.interview-main {
  width: 1560px;
  height: 1060px;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.interview-main-image {
  width: 1560px;
  height: 870px;
  position: absolute;
  right: 0;
  top: 0;
}

.interview-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* オーバーレイの配置 */
.interview-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 名前の配置（右寄せ） */
.interview-main-name {
  font-size: 100px;
  font-weight: bold;
  color: white;
  text-align: right;
  white-space: nowrap;
  align-self: flex-end;
  margin-right: 0px;
  margin-bottom: 0px;
}

/* テキストブロック（PC用） */
.interview-main-text {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  width: 1200px;
  height: 243px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
}

.interview-main-text h3 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
}

.interview-profile {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-top: 10px;
}

/* =========================== */
/* 1440px対応（PC縮小版） */
/* =========================== */
@media (max-width: 1440px) {
	.interview-main-visual {
	  width: 100%;
	  max-width: 1280px;
	  height: 900px;
	}
  .interview-main {
    width: 1280px;
    height: 900px;
  }
  .interview-main-image {
    width: 1280px;
    height: 720px;
  }
  .interview-main-name {
    font-size: 80px;
    margin-right: 60px;
  }
  .interview-main-text {
    width: 1000px;
    height: 220px;
  }
  .interview-main-text h3 {
    font-size: 28px;
  }
  .interview-profile {
    font-size: 18px;
  }
}

/* =========================== */
/* 1280px対応（PC縮小版、調整強化） */
/* =========================== */
@media (max-width: 1280px) {
	.interview-main-visual {
	  width: 100%;
	  max-width: 1100px;
	  height: 820px;
	}
  .interview-main {
    width: 1100px;
    height: 820px;
  }
  .interview-main-image {
    width: 1100px;
    height: 650px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .interview-main-name {
    font-size: 72px;
    margin-right: 0px;
    margin-bottom: 0px;
  }
  .interview-main-text {
    width: 880px;
    height: 210px;
    margin-left: 0px;
  }
  .interview-main-text h3 {
    font-size: 26px;
  }
  .interview-profile {
    font-size: 16px;
  }
}

/* =========================== */
/* 1024px対応（タブレット） */
/* =========================== */
@media (max-width: 1024px) {
 	.interview-main-visual {
	  width: 100%;
	  max-width: 900px;
	  height: 700px;
	}
 .interview-main {
    width: 900px;
    height: 700px;
  }
  .interview-main-image {
    width: 900px;
    height: 506px;
  }
  .interview-main-name {
    font-size: 60px;
    margin-right: 40px;
  }
  .interview-main-text {
    width: 750px;
    height: 180px;
  }
  .interview-main-text h3 {
    font-size: 24px;
  }
  .interview-profile {
    font-size: 14px;
  }
}

/* =========================== */
/* 768px以下（スマホ版） */
/* =========================== */
@media (max-width: 768px) {
  .interview-main-visual {
    max-width: 390px;
    height: 370px; /* 高さを固定 */
    margin: 20px auto;
    position: relative;
  }

  .interview-main {
    width: 350px;
    height: 195px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .interview-main-image {
    width: 350px;
    height: 195px;
    position: relative;
  }

  .interview-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 名前の配置（右寄せに修正） */
  .interview-main-name {
    font-size: 30px;
    font-weight: bold;
    color: white;
    position: absolute;
    bottom: 10px;
    right: 10px; /* 右端に寄せる */
    left: auto; /* 左の位置指定をリセット */
    margin: 0; /* マージンをリセット */
    text-align: right;
    width: auto; /* 必要な分だけの幅 */
    white-space: nowrap; /* 改行を防ぐ */
    z-index: 2;
    transform: none; /* transform をリセット */
    align-self: auto; /* align-self をリセット */
  }

  /* テキストブロック（画像の下部に少し重ねる） */
  .interview-main-text {
    width: 330px;
    height: auto; /* 高さを自動調整に変更 */
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    position: absolute;
    top: -20px; /* 画像の直下に配置 */
    left: 0;
    z-index: 3;
  }

  .interview-main-text h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
  }

  .interview-profile {
    font-size: 12px;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
    word-wrap: break-word;
  }
}


/* =========================== */
/* 動画エリア */
/* =========================== */

.interview-video {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 50px;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* スマホ表示用：350px以下にならないよう調整 */
@media (max-width: 767.98px) {
  .interview-video {
    padding: 0 16px;
  }
}


/* =========================== */
/* インタビューコンテンツ */
/* =========================== */
.interview-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 30px;
}

/* =========================== */
/* インタビューブロック（PC用） */
/* =========================== */
.interview-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 70px;
}

.interview-block img {
  width: 40%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
}

.interview-block .text {
  width: 55%;
}

.interview-block h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

.interview-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}

/* 画像を右に配置する場合 */
.interview-block.reverse {
  flex-direction: row-reverse;
}

/* 中央配置の大きな画像 */
.interview-block.center {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.interview-block.center img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* =========================== */
/* 768px以下（スマホ） */
/* =========================== */
@media (max-width: 768px) {
  .interview-content {
    max-width: 390px;
    margin: 0 auto;
    padding: 20px;
  }

  .interview-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 50px;
  }

  .interview-block img {
    width: 350px;
    height: auto;
    object-fit: cover;
  }

  .interview-block .text {
    width: 350px;
    text-align: left;
  }

  .interview-block h4 {
    font-size: 16px;
    text-align: left;
  }

  .interview-block p {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }

  /* 画像を右に配置するブロックも全て縦並び */
  .interview-block.reverse {
    flex-direction: column;
  }

  .interview-block.center {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================== */
/* フッター共通背景 */
/* =========================== */
.footer-section_interview {
  background-image: url('/rcs-newgrad/assets/images/interview_footer_bg.png');
  background-size: cover;
  background-position: center;
  padding: 50px 0;
  margin-top: 50px;
  width: 100%;
  min-height: 200px;
}

/* =========================== */
/* インタビュー詳細セクション - 新人向け */
/* =========================== */

/* インタビューセクションのスコープに限定 */
.interview-section {
  padding: 60px 0;
}

/* インタビュー専用クラス */
.interview-section .section-title h3 {
  font-size: 24px;
  color: #000;
  position: relative;
}

/* リストラッパー */
.interview-section .interview-list-wrapper {
  position: relative;
  overflow: hidden;
}

/* Swiperスライダー設定 */
.interview-section .swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* インタビューリスト */
.interview-section .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  transition-timing-function: ease-out;
}

/* インタビューアイテム */
.interview-section .interview-item,
.interview-section .swiper-slide {
  width: 360px;
  flex: 0 0 360px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  margin: 0 8px;
}

.interview-section .interview-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: opacity 0.7s ease; /* フェード効果 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* YouTubeバッジ */
.interview-section .youtube-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-image: url('/rcs-newgrad/assets/images/youtube_badge.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

/* ホバーエフェクト - フェード設定 */
.interview-section .interview-item a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 1;
}

/* 各インタビュー項目のホバー画像を設定 */
.interview-section .interview-item a[href="/rcs-newgrad/interview/new01/"]::before {
  background-image: url('/rcs-newgrad/interview/new01/images/new01_link_ov.png');
}

.interview-section .interview-item a[href="/rcs-newgrad/interview/new02/"]::before {
  background-image: url('/rcs-newgrad/interview/new02/images/new02_link_ov.png');
}

.interview-section .interview-item a[href="/rcs-newgrad/interview/new03/"]::before {
  background-image: url('/rcs-newgrad/interview/new03/images/new03_link_ov.png');
}

.interview-section .interview-item a[href="/rcs-newgrad/interview/new04/"]::before {
  background-image: url('/rcs-newgrad/interview/new04/images/new04_link_ov.png');
}

.interview-section .interview-item a[href="/rcs-newgrad/interview/new05/"]::before {
  background-image: url('/rcs-newgrad/interview/new05/images/new05_link_ov.png');
}

.interview-section .interview-item a[href="/rcs-newgrad/interview/new06/"]::before {
  background-image: url('/rcs-newgrad/interview/new06/images/new06_link_ov.png');
}

/* ホバー時：フェード効果 */
.interview-section .interview-item a:hover .interview-img {
  opacity: 0;
  transform: none; /* スケールは無効化 */
}

.interview-section .interview-item a:hover::before {
  opacity: 1;
}

/* スクロール矢印ナビゲーション */
.interview-section .scroll-arrow-navigation {
  position: relative;
  height: 30px;
  width: 100%;
}

.interview-section .scroll-arrow-left,
.interview-section .scroll-arrow-right {
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
}

.interview-section .scroll-arrow-left {
  left: 0;
}

.interview-section .scroll-arrow-right {
  right: 15px;
}

.interview-section button.arrow-left,
.interview-section button.arrow-right {
  width: 100%;
  height: 100%;
  background: none;
  border: none !important;
  font-size: 24px !important;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #000 !important;
}

.interview-section .arrow-left.disabled,
.interview-section .arrow-right.disabled {
  opacity: 0.5;
  cursor: default;
}

/* インタビュータイトル画像 */
.interview-section .interview-title-img {
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* インタビュー一覧を見るボタン */
.interview-section .btn-image {
  display: inline-block;
  transition: transform 0.3s ease;
}

.interview-section .btn-image:hover {
  transform: scale(1.05);
}

.interview-section .interview-button {
  width: 380px;
  height: 80px;
  object-fit: contain;
}

/* ホバー効果の基本設定 */
.interview-section .interview-item a {
  display: block;
  position: relative;
  overflow: hidden;
}

/* YouTubeバッジの位置調整 */
.interview-section .youtube-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 50px;
  height: 50px;
   background-image: url('/rcs-newgrad/assets/images/badge_youtube.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

/* レスポンシブ対応 */
@media (max-width: 1400px) {
  .interview-section .interview-item,
  .interview-section .swiper-slide {
    flex: 0 0 330px;
    width: 330px;
  }
  
  .interview-section .interview-img {
    height: 440px;
  }
}

@media (max-width: 991px) {
  .interview-section .interview-item,
  .interview-section .swiper-slide {
    flex: 0 0 300px;
    width: 300px;
  }
  
  .interview-section .interview-img {
    height: 400px;
  }
}

@media (max-width: 767.98px) {
  .interview-section .interview-item,
  .interview-section .swiper-slide {
    flex: 0 0 280px;
    width: 280px;
  }
  
  .interview-section .interview-img {
    height: 380px;
  }
  
  .interview-section .section-title h2 {
    font-size: 16px;
  }
  .interview-section .section-title h3 {
    font-size: 16px;
  }
	.talentbook .section-title,
	.senior-employees .section-title,
	.new-employees .section-title {
		width: 350px!important; /* スマホ用に指定 */
		font-size: 18px;
		font-weight: normal;
		padding: 10px 15px;
	}
   .new-employees .section-title h2 {
    font-size: 16px;
  }
 .block-span {
    font-size: 16px; /* サブテキストも少し小さく */
  }

}

@media (max-width: 575.98px) {
  .interview-section {
    padding: 20px 0;
  }
  
  .interview-section .interview-item,
  .interview-section .swiper-slide {
    flex: 0 0 268px;
    width: 268px;
  }
  
  .interview-section .interview-img {
    height: 374px;
  }
  
  .interview-section .section-title h2 {
    font-size: 16px;
  }
  .interview-section .section-title h3 {
    font-size: 16px;
  }
  
  .interview-section .interview-button {
    width: 320px;
    height: 65px;
  }
}

/* PCビューでのSwiper設定 */
@media (min-width: 768px) {
  .interview-section .swiper-wrapper {
    transition-timing-function: ease-out;
  }
  
  .interview-section .swiper-slide {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  /* スワイパーループ時の余分なマージンを調整 */
  .interview-section .swiper-slide-duplicate {
    visibility: visible !important;
  }
}

/* スマホサイズでYouTubeバッジを小さくする */
@media (max-width: 576px) {
  .interview-section .badge-youtube .youtube-badge {
    width: 40px;
    height: 40px;
  }
}