/* ===================================================================
   recruit-detail.css - Recruit Detail Page Specific Styles
   株式会社シグナス 採用詳細ページ専用スタイルシート
   
   Note: 共通スタイルはcommon-theme.cssで定義されています
   このファイルには採用詳細ページ固有のスタイルのみ記載
   =================================================================== */

/* ===================================================================
   Job Sections (Recruit Detail Specific)
   =================================================================== */
.job-section {
  width: min(1100px, 90%);
  margin: 60px auto;
  padding: 40px 0;
  scroll-margin-top: 100px;
}

.job-section:not(:last-child) {
  border-bottom: 2px solid var(--color-frame);
}

.job-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--color-heading);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--color-brand);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.job-description {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 32px;
}

/* ===================================================================
   Job Detail Table (Extends content-table from common-theme.css)
   =================================================================== */
.job-detail-table {
  /* Inherits from .content-table in common-theme.css */
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--color-white);
  border: 1px solid var(--color-frame);
}

.job-detail-table th {
  width: 200px;
  background: var(--color-table-header-bg);
  color: var(--color-heading);
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 16px);
  letter-spacing: 0.1em;
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-frame);
}

.job-detail-table td {
  padding: 20px 24px;
  vertical-align: top;
  color: var(--color-text);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.9;
  border-bottom: 1px solid var(--color-frame);
}

.job-detail-table tr:last-child th,
.job-detail-table tr:last-child td {
  border-bottom: none;
}

.job-detail-table ul {
  margin: 0;
  padding-left: 1.2em;
  list-style-type: disc;
}

.job-detail-table li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.job-detail-table li:last-child {
  margin-bottom: 0;
}

/* ===================================================================
   Quick Navigation (Recruit Detail Specific)
   =================================================================== */
.quick-nav {
  width: min(1100px, 90%);
  margin: 40px auto;
  padding: 24px;
  background: #f7f9ff;
  border-radius: var(--radius-lg);
}

.quick-nav h3 {
  font-size: 18px;
  color: var(--color-heading);
  margin-bottom: 16px;
  text-align: center;
}

.quick-nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-nav-list li a {
  display: block;
  padding: 12px 16px;
  background: var(--color-white);
  border: 2px solid var(--color-brand);
  border-radius: 8px;
  color: var(--color-brand);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
}

@media (hover: hover) {
  .quick-nav-list li a:hover {
    background: var(--color-brand);
    color: var(--color-white);
  }
}

/* ===================================================================
   Responsive Adjustments
   =================================================================== */

/* Mobile (〜767px) */
@media (max-width: 767.98px) {
  .job-section {
    margin: 40px auto;
    padding: 32px 0;
  }
  
  .quick-nav-list {
    grid-template-columns: 1fr;
  }
  
  /* Responsive table for mobile */
  .job-detail-table {
    border: none;
  }
  
  .job-detail-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--color-frame);
    border-radius: 8px;
    overflow: hidden;
  }
  
  .job-detail-table th,
  .job-detail-table td {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--color-frame);
    padding: 12px 16px;
  }
  
  .job-detail-table th {
    font-weight: 600;
    text-align: left;
  }
  
  .job-detail-table tr:last-child th,
  .job-detail-table tr:last-child td {
    border-bottom: 1px solid var(--color-frame);
  }
  
  .job-detail-table td:last-child {
    border-bottom: none;
  }
}
