/* 求人詳細ページ専用スタイル（充実版 + 職種別カラーリング対応） */

/* ヒーローセクション - ベーススタイル */
.job-hero-detailed {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.job-hero-detailed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(74, 163, 223, 0.3) 0%, transparent 50%);
}

/* ==========================================================================
   職種別配色設定（新規追加）
   ========================================================================== */

/* 営業職（ブルー系・既存維持） */
.job-hero-detailed[data-job-category="営業職"],
.job-hero-detailed.sales-job {
  background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%);
  color: white;
}

/* 職人・技術職（明るめレッド系） */
.job-hero-detailed[data-job-category="職人・技術職"],
.job-hero-detailed.craftsman-job {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  color: white;
}

.job-hero-detailed[data-job-category="職人・技術職"]::before,
.job-hero-detailed.craftsman-job::before {
  background: radial-gradient(circle at 80% 20%, rgba(244, 67, 54, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 193, 7, 0.2) 0%, transparent 40%);
}

/* 事務職（#fce4ec ベースのピンク系） */
.job-hero-detailed[data-job-category="事務職"],
.job-hero-detailed.office-job {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
  color: #880e4f;
  position: relative;
}

.job-hero-detailed[data-job-category="事務職"]::before,
.job-hero-detailed.office-job::before {
  background: radial-gradient(circle at 80% 20%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(255, 182, 193, 0.15) 0%, transparent 45%);
}

.job-hero-detailed[data-job-category="事務職"]::after,
.job-hero-detailed.office-job::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(255, 182, 193, 0.08) 25%, 
    transparent 50%, 
    rgba(221, 160, 221, 0.08) 75%, 
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* 事務職専用：テキストカラー調整 */
.job-hero-detailed[data-job-category="事務職"] .job-hero__title,
.job-hero-detailed.office-job .job-hero__title {
  color: #880e4f;
  text-shadow: none;
}

.job-hero-detailed[data-job-category="事務職"] .job-hero__subtitle,
.job-hero-detailed.office-job .job-hero__subtitle {
  color: #ad1457;
  opacity: 0.9;
}

.job-hero-detailed[data-job-category="事務職"] .job-hero__description,
.job-hero-detailed.office-job .job-hero__description {
  color: #6a1b42;
}

/* ==========================================================================
   職種別ボタン・ステータスバッジ調整（修正版）
   ========================================================================== */

/* 営業職のボタン */
.job-hero-detailed[data-job-category="営業職"] .btn--primary,
.job-hero-detailed.sales-job .btn--primary {
  background: #171c61;
  border-color: #171c61;
  color: white;
}

.job-hero-detailed[data-job-category="営業職"] .btn--primary:hover,
.job-hero-detailed.sales-job .btn--primary:hover {
  background: #2e86c1;
  border-color: #2e86c1;
}

.job-hero-detailed[data-job-category="営業職"] .btn--accent,
.job-hero-detailed.sales-job .btn--accent {
  background: #eff705;
  border-color: #eff705;
  color: #171c61;
}

.job-hero-detailed[data-job-category="営業職"] .status-badge.active,
.job-hero-detailed.sales-job .status-badge.active {
  background: #171c61;
  color: white;
}

/* 職人・技術職のボタン（視認性向上版） */
.job-hero-detailed[data-job-category="職人・技術職"] .btn--primary,
.job-hero-detailed.craftsman-job .btn--primary,
.craftsman-layout .btn--primary,
.craftsman-actions .btn--primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #c62828;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.job-hero-detailed[data-job-category="職人・技術職"] .btn--primary:hover,
.job-hero-detailed.craftsman-job .btn--primary:hover,
.craftsman-layout .btn--primary:hover,
.craftsman-actions .btn--primary:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #8e0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.job-hero-detailed[data-job-category="職人・技術職"] .btn--accent,
.job-hero-detailed.craftsman-job .btn--accent,
.craftsman-layout .btn--accent,
.craftsman-actions .btn--accent {
  background: #eff705;
  border-color: #eff705;
  color: #1b1b1b;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(239, 247, 5, 0.4);
}

.job-hero-detailed[data-job-category="職人・技術職"] .btn--accent:hover,
.job-hero-detailed.craftsman-job .btn--accent:hover,
.craftsman-layout .btn--accent:hover,
.craftsman-actions .btn--accent:hover {
  background: #e6eb00;
  border-color: #e6eb00;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 247, 5, 0.5);
}

.job-hero-detailed[data-job-category="職人・技術職"] .status-badge.active,
.job-hero-detailed.craftsman-job .status-badge.active,
.craftsman-layout .status-badge.active {
  background: #ffffff;
  color: #c62828;
  font-weight: 700;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* 事務職のボタン */
.job-hero-detailed[data-job-category="事務職"] .btn--primary,
.job-hero-detailed.office-job .btn--primary {
  background: #ad1457;
  border-color: #ad1457;
  color: white;
}

.job-hero-detailed[data-job-category="事務職"] .btn--primary:hover,
.job-hero-detailed.office-job .btn--primary:hover {
  background: #880e4f;
  border-color: #880e4f;
}

.job-hero-detailed[data-job-category="事務職"] .btn--accent,
.job-hero-detailed.office-job .btn--accent {
  background: #e91e63;
  border-color: #e91e63;
  color: white;
}

.job-hero-detailed[data-job-category="事務職"] .status-badge.active,
.job-hero-detailed.office-job .status-badge.active {
  background: #ad1457;
  color: white;
}

/* ==========================================================================
   職種別出し分けレイアウト用スタイル（新規追加）
   ========================================================================== */

/* 特徴リスト（職種別出し分けで使用） */
.sales-features,
.craftsman-features,
.office-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 1rem 1rem 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  position: relative;
}

/* 左側に装飾的な縦線を追加 */
.feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: currentColor;
  border-radius: 0 2px 2px 0;
  opacity: 0.6;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.feature-item:hover::before {
  opacity: 1;
  width: 6px;
}

/* 事務職の特徴リスト（ピンクベース調整） */
.office-layout .feature-item {
  background: rgba(255, 255, 255, 0.8);
  color: #6a1b42;
}

.office-layout .feature-item:hover {
  background: rgba(255, 255, 255, 0.9);
}

.office-layout .feature-item::before {
  background: #ad1457;
}

/* ヒーローハイライトテキスト */
.hero-highlight {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-highlight strong {
  font-weight: 700;
  font-size: 1.05em;
}

/* デフォルト画像エリア（職種別） */
.default-hero-image {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  color: white;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.default-hero-image:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.15);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
}

.hero-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
  color: inherit;
}

.job-category-label {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  color: inherit;
  margin-top: 0.5rem;
}

/* 事務職のデフォルト画像（濃いピンク文字） */
.job-hero-detailed[data-job-category="事務職"] .default-hero-image,
.job-hero-detailed.office-job .default-hero-image {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(173, 20, 87, 0.3);
  color: #880e4f;
}

.job-hero-detailed[data-job-category="事務職"] .job-category-label,
.job-hero-detailed.office-job .job-category-label {
  background: rgba(173, 20, 87, 0.2);
  color: #880e4f;
  border: 1px solid rgba(173, 20, 87, 0.3);
}

/* ==========================================================================
   既存スタイル（修正なし）
   ========================================================================== */

.job-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.job-hero__text {
  max-width: 600px;
}

.job-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.job-hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.job-hero__status {
  margin-bottom: 2rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-badge.active {
  background: #4caf50;
  color: white;
}

.status-badge.closed {
  background: #f44336;
  color: white;
}

.job-hero__description {
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.job-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-hero__image {
  text-align: center;
}

.hero-image {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* おすすめポイントセクション（新デザイン） */
.job-highlights {
  background: white;
  padding: 80px 0;
}

.highlights-main-image {
  text-align: center;
  margin-bottom: 3rem;
}

.highlights-image {
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.placeholder-image {
  background: #e3f2fd;
  color: #1976d2;
  padding: 8rem 2rem;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid #bbdefb;
}

.highlights-content {
  max-width: 900px;
  margin: 0 auto;
}

.highlight-section {
  margin-bottom: 3rem;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  border-left: 5px solid #4aa3df;
}

.highlight-title {
  color: #2c5aa0;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #444;
}

.highlight-list li:before {
  content: '•';
  color: #4aa3df;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.highlight-list li:last-child {
  margin-bottom: 0;
}

/* 勤務条件・職場環境セクション */
.work-conditions-environment {
  background: #f8f9fa;
  padding: 80px 0;
}

.work-section {
  margin-bottom: 4rem;
}

.work-section__title {
  background: #e9ecef;
  text-align: center;
  padding: 1rem;
  margin-bottom: 3rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #495057;
  border: 2px solid #dee2e6;
}

.work-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-feature-card {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.work-feature-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.work-feature__header {
  background: #e9ecef;
  padding: 1rem;
  border-bottom: 2px solid #dee2e6;
}

.work-feature__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.work-feature__image {
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.placeholder-work-image {
  background: #e3f2fd;
  color: #1976d2;
  padding: 3rem 1rem;
  border: 2px dashed #bbdefb;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
}

.work-feature__content {
  padding: 1.5rem;
}

.work-feature__content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #495057;
  margin: 0;
}

.job-details-section {
  padding: 100px 0;
  background: #fff;
}

.job-details-table {
  max-width: 1000px;
  margin: 0 auto;
}

.job-conditions-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.job-conditions-table th {
  background: #e0e0e0;
  color: #333;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  text-align: left;
  width: 200px;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
}

.job-conditions-table td {
  padding: 1.2rem 1.5rem;
  line-height: 1.8;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
  font-size: 1rem;
}

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

.job-conditions-table tr:nth-child(even) {
  background: #fafafa;
}

/* 補足コンテンツ */
.job-content-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.job-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* 応募セクション */
.job-application-section {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6920a 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.application-cta__title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.application-cta__text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.application-cta__actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.application-cta__actions .btn {
  min-width: 280px;
}

/* 関連求人 */
.related-jobs {
  padding: 80px 0;
  background: #f8f9fa;
}

.no-related-jobs {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 3rem 0;
}

.related-jobs__cta {
  text-align: center;
  margin-top: 3rem;
}

/* スムーススクロール */
.scroll-link {
  scroll-behavior: smooth;
}

/* Job Details Visual セクション */
.job-details-visual {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.job-details-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(74, 163, 223, 0.2) 0%, transparent 50%);
}

.job-details-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.job-details-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: white;
}

.job-details-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

.job-details-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.job-detail-section {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

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

.job-detail-section-header {
  margin-bottom: 2rem;
}

.job-detail-section-title {
  background: rgba(74, 163, 223, 0.9);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
  margin: 0 auto 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 25px;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.job-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.job-detail-text {
  line-height: 1.8;
}

.job-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent-yellow);
}

.job-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-detail-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1rem 1rem 2.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent-yellow);
  transition: all 0.3s ease;
}

.job-detail-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.job-detail-list li:before {
  content: '✓';
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: 1.2rem;
}

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

.job-detail-image {
  text-align: center;
}

.placeholder-job-image {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 4rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.placeholder-job-image:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */

@media (max-width: 1024px) {
  .work-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .job-detail-content {
    gap: 2rem;
    padding: 2rem;
  }

  .job-details-title {
    font-size: 2.4rem;
  }

  .job-detail-section-title {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .job-hero-detailed {
    padding: 100px 0 80px;
  }

  .job-hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .job-hero__title {
    font-size: 2.2rem;
  }

  .job-hero__actions {
    justify-content: center;
  }

  .highlights-main-image {
    margin-bottom: 2rem;
  }

  .highlights-image,
  .placeholder-image {
    max-width: 100%;
  }

  .placeholder-image {
    padding: 4rem 1rem;
    font-size: 1.2rem;
  }

  .highlight-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .highlight-title {
    font-size: 1.1rem;
  }

  .work-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-section__title {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .work-feature__title {
    font-size: 0.9rem;
  }

  .work-feature__image {
    padding: 1.5rem;
  }

  .placeholder-work-image {
    padding: 2rem 1rem;
    font-size: 1rem;
  }

  .work-feature__content {
    padding: 1rem;
  }

  .job-details-visual {
    padding: 80px 0;
  }

  .job-details-title {
    font-size: 2.2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .job-details-subtitle {
    font-size: 1rem;
  }

  .job-details-icon {
    font-size: 2rem;
  }

  .job-detail-section-title {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    max-width: 300px;
  }

  .job-detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .job-intro {
    font-size: 1rem;
    padding: 1rem;
  }

  .job-detail-list li {
    font-size: 0.95rem;
    padding: 0.8rem 0.8rem 0.8rem 2rem;
  }

  .job-detail-list li:before {
    left: 0.6rem;
    font-size: 1rem;
  }

  .placeholder-job-image {
    padding: 2rem 1rem;
    min-height: 150px;
    font-size: 0.9rem;
  }

  .application-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .application-cta__actions .btn {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }

  /* 職種別出し分けレイアウト用レスポンシブ */
  .sales-features,
  .craftsman-features,
  .office-features {
    gap: 0.75rem;
  }

  .feature-item {
    padding: 0.75rem 0.75rem 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .default-hero-image {
    padding: 2rem 1.5rem;
    min-height: 160px;
  }

  .hero-text h3 {
    font-size: 1.3rem;
  }

  /* モバイルでのピンク背景の調整 */
  .job-hero-detailed[data-job-category="事務職"]::after,
  .job-hero-detailed.office-job::after {
    opacity: 0.5;
  }

  .job-hero-detailed[data-job-category="事務職"] .job-hero__title,
  .job-hero-detailed.office-job .job-hero__title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .job-hero__title {
    font-size: 1.8rem;
  }

  .job-hero__actions {
    flex-direction: column;
  }

  .job-conditions-table th,
  .job-conditions-table td {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  .job-conditions-table th {
    width: 120px;
  }

  .job-details-visual {
    padding: 60px 0;
  }

  .job-details-header {
    margin-bottom: 3rem;
  }

  .job-details-title {
    font-size: 1.8rem;
  }

  .job-details-icon {
    font-size: 1.5rem;
  }

  .job-detail-section {
    margin-bottom: 3rem;
  }

  .job-detail-section-title {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    max-width: 250px;
  }

  .job-detail-content {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .job-intro {
    font-size: 0.9rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .job-detail-list li {
    font-size: 0.9rem;
    padding: 0.7rem 0.7rem 0.7rem 1.8rem;
    margin-bottom: 0.8rem;
  }

  .job-detail-list li:before {
    left: 0.5rem;
    font-size: 0.9rem;
  }

  .placeholder-job-image {
    padding: 1.5rem 0.8rem;
    min-height: 120px;
    font-size: 0.8rem;
  }

  /* 職種別出し分けレイアウト用小型画面対応 */
  .feature-item {
    padding: 0.6rem 0.6rem 0.6rem 1.2rem;
    text-align: left;
  }

  .default-hero-image {
    padding: 1.5rem 1rem;
    min-height: 140px;
  }

  .hero-text h3 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .btn--large {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .job-category-label {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .job-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .job-hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}