/* =============================================
   インプラス 求人ページ個別スタイル  css/recruit.css
   依存: css/base.css, css/common.css, css/header.css
   ============================================= */

/* ── HERO（求人ページ固有） ── */
.recruit-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #1a5fcc 100%);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  height: 400px;
  box-sizing: border-box;
}

.recruit-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.recruit-hero .hero-badge {
  margin-bottom: 8px;
}

.recruit-hero h1 {
  margin-bottom: 8px;
}

.recruit-hero .hero-sub {
  margin-bottom: 8px;
}

/* ── ヒーロー タグ群 ── */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
}
.hero-tag.highlight {
  background: rgba(0,180,255,0.2);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 500;
}

/* ── ページコンテンツ幅（求人は広め） ── */
.page-content {
  max-width: 900px;
}

/* ── アピールカード ── */
.appeal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}
.appeal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.appeal-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(0,180,255,0.05);
}
.appeal-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.appeal-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.appeal-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.appeal-card.green  { border-top-color: var(--green); }
.appeal-card.orange { border-top-color: var(--orange); }
.appeal-card.green::after  { background: rgba(0,184,148,0.05); }
.appeal-card.orange::after { background: rgba(255,112,67,0.05); }

/* ── セクションタイトル ── */
.section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .icon { font-size: 20px; }

/* ── 求人カード ── */
.job-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.job-card .job-label {
  display: inline-block;
  background: var(--light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
}
.job-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}
.job-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lang-tag {
  background: var(--gray);
  color: var(--text);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.step-up {
  margin-top: 12px;
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 働き方ブロック ── */
.workstyle-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 48px;
  border: 1px solid var(--border);
}
.workstyle-intro {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.8;
}
.workstyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.workstyle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray);
  border-radius: 8px;
}
.workstyle-item .wi-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.workstyle-item .wi-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.workstyle-item .wi-text span {
  font-size: 12px;
  color: var(--muted);
}

/* ── 募集要項テーブル ── */
.conditions-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 48px;
  border: 1px solid var(--border);
}
.cond-table { width: 100%; border-collapse: collapse; }
.cond-table tr { border-bottom: 1px solid var(--border); }
.cond-table tr:last-child { border-bottom: none; }
.cond-table th {
  width: 130px;
  text-align: left;
  padding: 14px 12px 14px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  vertical-align: top;
  white-space: nowrap;
}
.cond-table td {
  padding: 14px 0 14px 16px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}
.highlight-cell {
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,184,148,0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: 8px;
}

/* ── 障がい者インクルージョン ── */
.inclusion-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.inclusion-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.inclusion-icon {
  font-size: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}
.inclusion-block strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.inclusion-block p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CTA ── */
.cta-block {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-block h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.cta-block p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 32px;
  position: relative;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,180,255,0.4);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,180,255,0.5);
}
.cta-sub {
  margin-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  position: relative;
}
.cta-sub a { color: rgba(255,255,255,0.7); }

/* ── レスポンシブ ── */
@media (max-width: 640px) {
  .recruit-hero { padding: 48px 20px 56px; }
  .job-cards { grid-template-columns: 1fr; }
  .workstyle-block, .conditions-block, .cta-block { padding: 24px 20px; }
  .cond-table th { width: 100px; font-size: 11px; }
}
