/* ==========================================================================
   Recruit Career Page — キャリア採用リデザイン
   ========================================================================== */

.recruit-career-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

/* -------------------------------------------------------------------
   メッセージ
   ------------------------------------------------------------------- */
.rc-message {
  text-align: center;
  padding: 60px 0 80px;
  border-bottom: 1px solid #e9ecef;
}

.rc-message-lead {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a2333;
  line-height: 1.8;
  margin: 0 0 20px;
}

.rc-message-desc {
  font-size: 1rem;
  line-height: 2;
  color: #6c757d;
  max-width: 720px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------
   セクション共通
   ------------------------------------------------------------------- */
.rc-section {
  padding: 80px 0;
  border-bottom: 1px solid #e9ecef;
}

.rc-section:last-of-type {
  border-bottom: none;
}

.rc-section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rc-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a2333;
  margin: 0 0 16px;
  line-height: 1.4;
}

.rc-section-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: #6c757d;
  margin: 0 0 40px;
  max-width: 700px;
}

/* -------------------------------------------------------------------
   数字で見る環境
   ------------------------------------------------------------------- */
.rc-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rc-data-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-data-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.rc-data-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1a2333;
  line-height: 1;
  margin-bottom: 8px;
}

.rc-data-value small {
  font-size: 1.2rem;
  font-weight: 600;
}

.rc-data-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
}

.rc-data-sub {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 4px;
}

/* -------------------------------------------------------------------
   採用フロー（横ステップ）
   ------------------------------------------------------------------- */
.rc-flow {
  display: flex;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
}

.rc-flow-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.rc-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
}

.rc-flow-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #1a2333 0%, #3a5070 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.rc-flow-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 8px;
}

.rc-flow-step p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
}

/* -------------------------------------------------------------------
   募集要項テーブル
   ------------------------------------------------------------------- */
.rc-requirements {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.rc-req-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.rc-req-row:last-child {
  border-bottom: none;
}

.rc-req-label {
  flex-shrink: 0;
  width: 200px;
  padding: 20px 28px;
  background: #f8f9fb;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2333;
  display: flex;
  align-items: center;
}

.rc-req-value {
  flex: 1;
  padding: 20px 28px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #4a5568;
}

/* -------------------------------------------------------------------
   福利厚生グリッド
   ------------------------------------------------------------------- */
.rc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rc-benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.rc-benefit-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.rc-benefit-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 6px;
  line-height: 1.4;
}

.rc-benefit-card p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
}

/* 休日休暇はタグ形式 */
.rc-holiday-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.rc-holiday-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e9ecef;
}

.rc-holiday-tag-icon {
  font-size: 1rem;
}

/* -------------------------------------------------------------------
   求める人物像
   ------------------------------------------------------------------- */
.rc-persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rc-persona-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1a2333, #3a5070);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.rc-persona-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.rc-persona-card:hover::before {
  transform: scaleX(1);
}

.rc-persona-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(26, 35, 51, 0.06);
  line-height: 1;
  margin-bottom: 12px;
}

.rc-persona-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2333;
  margin: 0 0 12px;
}

.rc-persona-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #6c757d;
  margin: 0;
}

/* -------------------------------------------------------------------
   CTA
   ------------------------------------------------------------------- */
.rc-cta {
  margin-top: 80px;
  background: linear-gradient(135deg, #1a2333 0%, #2d3a4f 100%);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  color: #fff;
}

.rc-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.rc-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 32px;
  line-height: 1.8;
}

.rc-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #fff;
  color: #1a2333;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rc-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .recruit-career-page {
    padding: 0 20px 60px;
  }

  .rc-message {
    padding: 40px 0 50px;
  }

  .rc-message-lead {
    font-size: 1.2rem;
  }

  .rc-section {
    padding: 50px 0;
  }

  .rc-section-title {
    font-size: 1.5rem;
  }

  .rc-data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rc-data-value {
    font-size: 2.2rem;
  }

  .rc-flow {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .rc-flow-step {
    max-width: 100%;
    display: flex;
    gap: 16px;
    text-align: left;
    padding: 0;
  }

  .rc-flow-step:not(:last-child)::after {
    display: none;
  }

  .rc-flow-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    font-size: 0.75rem;
  }

  .rc-req-row {
    flex-direction: column;
  }

  .rc-req-label {
    width: 100%;
    padding: 14px 20px;
  }

  .rc-req-value {
    padding: 14px 20px;
  }

  .rc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rc-benefit-card {
    padding: 20px 16px;
  }

  .rc-persona-grid {
    grid-template-columns: 1fr;
  }

  .rc-cta {
    padding: 40px 24px;
  }

  .rc-cta h3 {
    font-size: 1.2rem;
  }

  .rc-position-detail-row {
    flex-direction: column;
    gap: 4px;
  }

  .rc-position-detail-label {
    min-width: 0 !important;
  }
}

/* -------------------------------------------------------------------
   募集中の職種（アコーディオン）
   ------------------------------------------------------------------- */
.rc-positions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rc-position-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.rc-position-item:hover {
  border-color: #ced4da;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.rc-position-item.-open {
  border-color: #1a2333;
  box-shadow: 0 8px 32px rgba(26, 35, 51, 0.08);
}

.rc-position-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
}

.rc-position-dept {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #1a2333;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.rc-position-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a2333;
  margin: 0;
}

.rc-position-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #1a2333;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}

.rc-position-toggle:hover {
  background: #1a2333;
}

.rc-position-toggle:hover .rc-position-toggle-icon {
  color: #fff;
}

.rc-position-toggle-icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: #1a2333;
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}

.rc-position-item.-open .rc-position-toggle {
  background: #1a2333;
  transform: rotate(45deg);
}

.rc-position-item.-open .rc-position-toggle-icon {
  color: #fff;
}

.rc-position-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
}

.rc-position-item.-open .rc-position-body {
  max-height: 2000px;
  padding: 0 28px 28px;
}

.rc-position-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f0f1f3;
}

.rc-position-detail-row {
  display: flex;
  gap: 16px;
}

.rc-position-detail-label {
  min-width: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a2333;
  flex-shrink: 0;
}

.rc-position-detail-value {
  font-size: 0.85rem;
  color: #495057;
  line-height: 1.7;
}

.rc-position-apply {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  background: #1a2333;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.rc-position-apply:hover {
  background: #2c3e57;
  transform: translateY(-2px);
}
