/* ===============================================
   Recruit Page CSS - 採用ページ専用スタイル
   =============================================== */


/* ===============================================
   応募要項セクション
   =============================================== */
.section--requirements {
  padding: var(--spacing-xl) 0;
}

.requirements-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.requirement-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.requirement-item:last-child {
  border-bottom: none;
}

.requirement-item__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.requirement-item__content {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  color: var(--color-text);
}

.requirement-item__content small {
  display: block;
  margin-top: var(--spacing-xs);
  color: var(--color-text-light);
}

.requirement-item__content ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin: 0;
}

.requirement-item__content li {
  position: relative;
  padding-left: var(--spacing-md);
}

.requirement-item__content li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

/* ===============================================
   選考フローセクション
   =============================================== */
.section--flow {
  padding: var(--spacing-3xl) 0;
}

.section--flow .flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  margin: 0 auto;
}

.section--flow .flow-step {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.section--flow .flow-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section--flow .flow-step::before {
  display: none;
}

.section--flow .flow-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.section--flow .flow-step__content {
  flex: 1;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.section--flow .flow-step__content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.section--flow .flow-step__content p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  color: var(--color-text-light);
}

/* ===============================================
   メッセージセクション
   =============================================== */
.section--message {
  padding: var(--spacing-3xl) 0;
}

.message-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl);
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.message-content__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
}

.message-content__text {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  color: var(--color-text);
}

/* ===============================================
   応募セクション
   =============================================== */
.section--apply {
  padding: var(--spacing-3xl) 0 var(--spacing-4xl);
}

.apply-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.apply-content__text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

.apply-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.apply-method {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
}

.apply-method__icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.apply-method__icon i {
  font-size: var(--font-size-2xl);
}

.apply-method h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.apply-method p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.apply-method__tel {
  display: inline-block;
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  text-decoration: none;
}

.apply-method__tel:hover {
  opacity: 0.8;
}

.apply-method__hours {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-loose);
}

.apply-method__hours small {
  display: block;
  margin-top: var(--spacing-xs);
}

.apply-note {
  background-color: #FFF9F0;
  border: 1px solid #FFE0B2;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
}

.apply-note p {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.apply-note i {
  color: #FF9800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===============================================
採用ページナビゲーション
=============================================== */
.recruit-nav {
  margin-top: 100px; /* ヘッダーの高さ */
  z-index: 100;
  margin-bottom: var(--spacing-2xl);
  padding: 0;
}

.recruit-nav__inner {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.recruit-nav__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.recruit-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.recruit-nav__item {
  margin: 0;
}

.recruit-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  min-height: 80px;
  text-align: center;
  position: relative;
}

.recruit-nav__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-ss);
  font-weight: 700;
}

.recruit-nav__link i {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.recruit-nav__text {
  display: block;
  line-height: 1.4;
  font-weight: 500;
  font-size: var(--font-size-sm);
}

/* ===============================================
   レスポンシブ対応
   =============================================== */
@media (min-width: 768px) {
  .requirement-item {
    grid-template-columns: 150px 1fr;
  }
  
  .apply-methods {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===============================================
   ボタンスタイル（採用ページ用）
   =============================================== */
.page-recruit .button {
  min-width: 200px;
}

/* ===============================================
   アニメーション
   =============================================== */
.position-item,
.about-item,
.flow-step {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.position-item:nth-child(1) { animation-delay: 0.1s; }
.position-item:nth-child(2) { animation-delay: 0.2s; }

.about-item:nth-child(1) { animation-delay: 0.1s; }
.about-item:nth-child(2) { animation-delay: 0.2s; }
.about-item:nth-child(3) { animation-delay: 0.3s; }

.flow-step:nth-child(1) { animation-delay: 0.1s; }
.flow-step:nth-child(2) { animation-delay: 0.2s; }
.flow-step:nth-child(3) { animation-delay: 0.3s; }
.flow-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
