/* 新卒用インタビューページ専用CSS */

/* PCタイトルサイズの強制修正 */
.interview-page .pc-unified-content h1 {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
}

/* インタビューページ専用スタイル */
.interview-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 吹き出しスタイル */
.speech-bubble {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 2px solid #0ea5e9;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
  padding: 2rem;
  margin-bottom: 3rem;
  margin-left: 100px;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 30px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-left: 2px solid #0ea5e9;
  border-bottom: 2px solid #0ea5e9;
  transform: rotate(45deg);
}

.speech-bubble-icon {
  position: absolute;
  left: -120px;
  top: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: #fff;
}

.speech-bubble-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* モバイル用吹き出しスタイル（元のページと同じ） */
@media (max-width: 767px) {
  .speech-bubble {
    margin-left: 0;
    margin-top: 80px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 18px;
  }

  .speech-bubble::before {
    left: 30px;
    top: -15px;
    transform: rotate(45deg);
    width: 25px;
    height: 25px;
    border-left: 2px solid #0ea5e9;
    border-top: 2px solid #0ea5e9;
    border-bottom: none;
  }

  .speech-bubble-icon {
    left: 50%;
    top: -80px;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border: 3px solid #fff;
    margin-top: 20px;
  }

  /* 2番目以降の吹き出しではアイコンを非表示 */
  .speech-bubble:nth-child(n+2) .speech-bubble-icon {
    display: none;
  }

  .speech-bubble:nth-child(n+2) {
    margin-top: 1rem;
  }
}

/* 質問ボックススタイル */
.question-box {
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* タイムラインスタイル */
.timeline {
  padding: 2rem;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: -2rem;
  width: 2px;
  background: #3b82f6;
}

.time {
  flex-shrink: 0;
  width: 80px;
  height: 40px;
  background: #3b82f6;
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  margin-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.content {
  flex: 1;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid #3b82f6;
}

/* モバイル用タイムライン調整 */
@media (max-width: 767px) {
  .timeline {
    padding: 1rem 0.5rem;
  }

  .timeline-item {
    margin-bottom: 1.5rem;
  }

  .time {
    width: 70px;
    height: 35px;
    font-size: 0.8rem;
    margin-right: 1rem;
  }

  .content {
    padding: 0.75rem;
    background: transparent;
    border-left: none;
    border-radius: 0;
  }

  /* 一日の流れの外枠を削除（モバイルのみ） */
  .bg-white.rounded-lg.shadow-lg.overflow-hidden {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
}

/* スクロールヘッダーの表示/非表示制御 */
#pc-header.show,
#mobile-header.show {
  transform: translateY(0);
}

/* 新卒用インタビューページ専用ボタンスタイル */
.new-interview-button {
  position: relative;
  overflow: hidden;
}

.new-interview-button:hover {
  transform: translateY(-2px);
}

.new-interview-button img {
  transition: transform 0.3s ease;
}

.new-interview-button:hover img {
  transform: scale(1.05);
}

/* モバイルメニューの表示/非表示制御 */
.new-mobile-menu.active {
  transform: translateY(0);
}

/* インタビューボタンのスタイル */
.interview-button {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #1f2937;
  font-weight: 500;
}

.interview-button:hover {
  background: rgba(255, 255, 255, 1);
  color: #3b82f6;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(7px, -6px);
}
