/* ==========================================================================
   Page Recruit - 採用情報ページ
   ========================================================================== */

/* Upper Section: 2-column layout */
.page-recruit__upper {
  display: flex;
  gap: 60px;
  padding: 80px 120px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Sidebar */
.page-recruit__sidebar {
  width: 400px;
  min-width: 400px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.page-recruit__sidebar-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #313131;
  margin: 0 0 11px 0;
  line-height: 1.2;
}

.page-recruit__sidebar-title {
  font-family: 'Inter', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #313131;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.page-recruit__sidebar-type {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #313131;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

/* Entry button - Figma: border 1px #CCC, space-between, padding 16px 16px 16px 24px, radius 4px */
.page-recruit__sidebar-entry-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 16px 16px 16px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.page-recruit__sidebar-entry-btn:hover {
  opacity: 0.7;
}

.page-recruit__sidebar-entry-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main content area */
.page-recruit__main {
  flex: 1;
  max-width: 793px;
}

/* Overview (the_content()) */
.page-recruit__overview {
  margin-bottom: 40px;
}

.page-recruit__overview h2,
.page-recruit__overview h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #313131;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.page-recruit__overview p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #313131;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.page-recruit__overview p:last-child {
  margin-bottom: 0;
}

/* Requirements Table */
.page-recruit__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #E3E3E3;
  margin-bottom: 32px;
  font-family: 'Noto Sans JP', sans-serif;
}

.page-recruit__table th,
.page-recruit__table td {
  padding: 24px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #313131;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #E3E3E3;
}

.page-recruit__table th {
  width: 180px;
  font-weight: 700;
  font-size: 16px;
  background: #F8F8F8;
  line-height: 1.5;
}

.page-recruit__table td {
  font-weight: 400;
}

.page-recruit__table td p {
  margin: 0 0 8px 0;
}

.page-recruit__table td p:last-child {
  margin-bottom: 0;
}

.page-recruit__table td ul,
.page-recruit__table td ol {
  margin: 0;
  padding-left: 20px;
}

/* Entry link (red) */
/* Entry button (main content) - same style as sidebar entry btn */
.page-recruit__entry-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 16px 16px 16px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  margin-top: 16px;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.page-recruit__entry-btn:hover {
  opacity: 0.7;
}

.page-recruit__entry-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tertiary: カジュアル面談テキストリンク（エントリーボタン下） */
.page-recruit__casual-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #313131;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.page-recruit__casual-link:hover {
  opacity: 0.6;
}

/* Secondary: STEPカード内カジュアル面談ボタン */
.page-recruit__step-casual-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #CCC;
  border-radius: 4px;
  padding: 16px 16px 16px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.page-recruit__step-casual-btn:hover {
  opacity: 0.7;
}

.page-recruit__step-casual-btn-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lower Section: 選考プロセス - Figma: 2カラム（左タイトル383px + 右ステップ793px） */
.page-recruit__process {
  background: #F8F8F8;
  padding: 80px 120px;
}

.page-recruit__process-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.page-recruit__process-heading {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: normal;
  width: 383px;
  flex-shrink: 0;
  letter-spacing: -0.1px;
}

/* Steps column */
.page-recruit__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Step card - Figma: white bg, padding 24px, gap 32px between number and content */
.page-recruit__step {
  background: #FFFFFF;
  padding: 24px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

/* Down arrow between steps */
.page-recruit__step-arrow {
  display: flex;
  justify-content: center;
}

.page-recruit__step-number {
  font-family: 'Barlow', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #E51F1F;
  line-height: normal;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-recruit__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-recruit__step-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: normal;
  letter-spacing: -0.1px;
}

.page-recruit__step-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .page-recruit__upper {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
  }

  .page-recruit__sidebar {
    width: 100%;
    min-width: auto;
    position: static;
  }

  .page-recruit__main {
    max-width: 100%;
  }

  .page-recruit__process {
    padding: 60px 40px;
  }

  .page-recruit__process-inner {
    flex-direction: column;
  }

  .page-recruit__process-heading {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-recruit__upper {
    padding: 40px 20px;
  }

  .page-recruit__sidebar-title {
    font-size: 28px;
  }

  .page-recruit__heading {
    font-size: 22px;
  }

  .page-recruit__table th {
    width: 120px;
  }

  .page-recruit__process {
    padding: 40px 20px;
  }

  .page-recruit__step {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .page-recruit__process-heading {
    font-size: 24px;
  }

  /* テーブルのテキストを小さく */
  .page-recruit__table th {
    font-size: 13px;
    padding: 16px 12px;
  }

  .page-recruit__table th,
  .page-recruit__table td {
    font-size: 12px;
    padding: 16px 12px;
  }

  /* 選考プロセスのSTEP番号を小さく */
  .page-recruit__step-number {
    font-size: 16px;
  }
}
