/* 採用ページ専用スタイル */

/* 採用プロセス用の矢印スタイル */
.process-flow {
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0056b3 0%, #0056b3 50%, transparent 50%, transparent 100%);
  background-size: 20px 2px;
  background-repeat: repeat-x;
  transform: translateY(-50%);
  z-index: 1;
}

.process-flow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-left: 8px solid #0056b3;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateY(-50%);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.process-step-number {
  position: relative;
  z-index: 15;
}

/* モバイル用の縦矢印 */
@media (max-width: 1023px) {
  .process-flow {
    position: relative;
  }
  
  .process-flow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, #0056b3 0%, #0056b3 50%, transparent 50%, transparent 100%);
    background-size: 2px 20px;
    background-repeat: repeat-y;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .process-flow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid #0056b3;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .process-step-container:not(:last-child) {
    margin-bottom: 3rem;
  }
}

/* デスクトップ用の横矢印 */
@media (min-width: 1024px) {
  .process-step-container {
    position: relative;
  }
  
  .process-step-container:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, #0056b3 0%, #0056b3 50%, transparent 50%, transparent 100%);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    transform: translateY(-50%);
    z-index: 5;
  }
  
  .process-step-container:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.5rem;
    width: 0;
    height: 0;
    border-left: 6px solid #0056b3;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translateY(-50%);
    z-index: 5;
  }
}

/* 一時的に非表示にする職種用のスタイル */
.hidden-position {
  display: none !important;
}

/* インタビュー写真コンテナ */
.interview-photo-container {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.interview-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.interview-photo-container:hover .interview-photo {
  transform: scale(1.2);
}

/* インタビューカード全体のホバー効果 */
.interview-card {
  transition: all 0.3s ease;
}

.interview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* カスタムラジオボタン */
.custom-radio {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 50%;
}

.custom-radio:hover input ~ .radio-mark {
  border-color: #0056b3;
}

.custom-radio input:checked ~ .radio-mark {
  border-color: #0056b3;
}

.radio-mark:after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0056b3;
  transform: translate(-50%, -50%);
}

.custom-radio input:checked ~ .radio-mark:after {
  display: block;
}
