/* ===== CSS Custom Properties ===== */
:root {
  --primary: #1B4F8A;
  --primary-dark: #143d6b;
  --primary-light: #2e6eb5;
  --secondary: #0ba699;
  --secondary-dark: #088a7e;
  --accent: #e67e22;
  --line-green: #06c755;
  --line-green-dark: #05a847;
  --text: #2c3e50;
  --text-muted: #6c757d;
  --bg: #f5f7fa;
  --bg-white: #ffffff;
  --border: #e0e6ef;
  --shadow: 0 2px 12px rgba(27, 79, 138, 0.10);
  --shadow-lg: 0 8px 32px rgba(27, 79, 138, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== Typography ===== */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.3; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.4; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

/* ===== Layout ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--bg { background: var(--bg-white); }
.section--primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; }

/* ===== Section Heading ===== */
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(11, 166, 153, 0.10);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-heading h2 { color: var(--primary); margin-bottom: 12px; }
.section-heading p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section--primary .section-heading h2 { color: white; }
.section--primary .section-heading .label { color: white; background: rgba(255,255,255,0.2); }
.section--primary .section-heading p { color: rgba(255,255,255,0.85); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-secondary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-white:hover { background: #f0f6ff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-line {
  background: var(--line-green);
  color: white;
  border-color: var(--line-green);
  font-size: 1rem;
  padding: 15px 32px;
}
.btn-line:hover { background: var(--line-green-dark); border-color: var(--line-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6,199,85,0.35); }

.btn-line-sm {
  background: var(--line-green);
  color: white;
  border-color: var(--line-green);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.btn-line-sm:hover { background: var(--line-green-dark); transform: translateY(-1px); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-img { height: 48px; width: auto; display: block; }
.logo-text .main { font-size: 1rem; font-weight: 700; color: var(--primary); display: block; }
.logo-text .sub { font-size: 0.65rem; color: var(--text-muted); display: block; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: #f0f6ff; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 9px 18px; font-size: 0.85rem; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a6ea8 50%, var(--secondary) 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: #7ed6f7; }
.hero-lead { font-size: 1.05rem; opacity: 0.9; margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat .num { font-size: 1.8rem; font-weight: 900; display: block; }
.hero-stat .unit { font-size: 0.85rem; font-weight: 700; }
.hero-stat .label { font-size: 0.75rem; opacity: 0.8; display: block; }

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-card h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.1rem; }
.hero-search-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; }
.form-group select, .form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.form-group input { background-image: none; }
.form-group select:focus, .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.12);
}
.hero-card .btn { width: 100%; justify-content: center; }

/* ===== Job Type Cards ===== */
.job-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.job-type-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.job-type-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.job-type-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.job-type-card:nth-child(1) .job-type-icon { background: #e8f0fb; }
.job-type-card:nth-child(2) .job-type-icon { background: #e6f9f7; }
.job-type-card:nth-child(3) .job-type-icon { background: #fef3e7; }
.job-type-card h3 { margin-bottom: 8px; color: var(--primary); }
.job-type-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.job-type-count {
  display: inline-block;
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card {
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.feature-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.feature-card h3 { color: var(--primary); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ===== Flow / Steps ===== */
.flow-steps { display: flex; gap: 0; }
.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 40px;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  z-index: 1;
}
.step-circle {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}
.flow-step h4 { color: white; margin-bottom: 8px; font-size: 1rem; }
.flow-step p { color: rgba(255,255,255,0.8); font-size: 0.82rem; line-height: 1.6; }

/* ===== LINE CTA ===== */
.line-cta-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}
.line-icon-big {
  width: 80px;
  height: 80px;
  background: var(--line-green);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  color: white;
  font-weight: 900;
}
.line-cta-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.4rem; }
.line-cta-card p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.line-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.line-benefit {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.line-benefit::before { content: '✓'; color: var(--line-green); font-weight: 700; }

/* ===== Job Listing Page ===== */
.search-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
  height: fit-content;
}
.search-sidebar h3 { color: var(--primary); margin-bottom: 20px; font-size: 1rem; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.filter-group { margin-bottom: 22px; }
.filter-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.filter-group select, .filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--bg);
  color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition);
}
.filter-group input { background-image: none; }
.filter-group select:focus, .filter-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.filter-actions .btn { width: 100%; justify-content: center; }
.btn-reset { background: none; border: 1.5px solid var(--border); color: var(--text-muted); padding: 9px; border-radius: var(--radius); font-size: 0.85rem; transition: all var(--transition); width: 100%; }
.btn-reset:hover { border-color: var(--primary); color: var(--primary); }

.jobs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.jobs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: gap; gap: 12px; }
.jobs-count { font-size: 0.9rem; color: var(--text-muted); }
.jobs-count strong { color: var(--primary); font-size: 1.1rem; }
.jobs-sort select {
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236c757d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-color: white;
  color: var(--text);
}

.job-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: all var(--transition);
  border: 2px solid transparent;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}
.job-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.job-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.badge-full { background: #e8f0fb; color: var(--primary); }
.badge-part { background: #e6f9f7; color: var(--secondary-dark); }
.badge-spot { background: #fef3e7; color: var(--accent); }
.badge-new { background: #fdeaea; color: #e74c3c; margin-left: 6px; }
.job-card h3 { font-size: 1.05rem; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.job-card h3 a:hover { color: var(--primary); }
.job-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.job-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-muted); }
.job-meta-item .icon { font-size: 0.9rem; }
.job-salary { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag {
  padding: 3px 10px;
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.job-card-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.btn-fav {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-fav:hover, .btn-fav.active { border-color: #e74c3c; color: #e74c3c; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  background: white;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn.active { font-weight: 700; }

/* ===== About Page ===== */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}
.about-hero h1 { color: white; margin-bottom: 16px; }
.about-hero p { opacity: 0.9; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.strength-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.strength-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.strength-body h3 { color: var(--primary); margin-bottom: 8px; }
.strength-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.company-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.company-table th, .company-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.company-table th { background: var(--bg); width: 200px; font-weight: 700; color: var(--primary); }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }

/* ===== Auth Pages ===== */
.auth-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: var(--bg);
}
.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}
.auth-card h2 { color: var(--primary); margin-bottom: 8px; }
.auth-card .subtitle { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 32px; }
.form-group-full { margin-bottom: 20px; }
.form-group-full label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group-full input, .form-group-full select, .form-group-full textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
}
.form-group-full input:focus, .form-group-full select:focus, .form-group-full textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.10);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 8px; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 20px 0; position: relative; }
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span { background: white; padding: 0 14px; position: relative; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--primary); font-weight: 700; }
.auth-switch a:hover { text-decoration: underline; }
.required { color: #e74c3c; margin-left: 3px; }
.terms-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; text-align: center; line-height: 1.6; }
.terms-note a { color: var(--primary); }
.error-msg { color: #e74c3c; font-size: 0.82rem; margin-top: 4px; display: none; }

/* ===== Contact Page ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { color: var(--primary); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.contact-line-box {
  background: linear-gradient(135deg, #06c755, #05a847);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  color: white;
  margin-bottom: 24px;
}
.contact-line-box .line-mark { font-size: 3rem; font-weight: 900; margin-bottom: 8px; }
.contact-line-box h3 { color: white; margin-bottom: 8px; }
.contact-line-box p { opacity: 0.9; font-size: 0.9rem; margin-bottom: 20px; }
.contact-line-box .btn { background: white; color: var(--line-green-dark); border-color: white; font-weight: 700; }
.contact-line-box .btn:hover { background: #f0fff4; }

.contact-alt-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
}
.contact-method-icon { font-size: 1.5rem; }
.contact-method-info .label { font-size: 0.78rem; color: var(--text-muted); }
.contact-method-info .value { font-weight: 700; color: var(--text); }

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--primary); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--primary); margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: #1a2637;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-text .main { color: white; }
.footer-brand .logo-text .sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; margin-top: 14px; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ===== Floating LINE Button ===== */
.float-line {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--line-green);
  color: white;
  border-radius: 50px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(6,199,85,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.float-line:hover { background: var(--line-green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,199,85,0.5); }
.float-line .line-logo { font-size: 1.2rem; font-weight: 900; }

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--primary);
  padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 900; color: white; display: block; }
.stat-item .unit { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 700; }
.stat-item .stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); display: block; margin-top: 4px; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.5; }

/* ===== Misc ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.alert-info { background: #e8f0fb; color: var(--primary); border-left: 4px solid var(--primary); }
.alert-success { background: #e8f8f0; color: #1a7a45; border-left: 4px solid #27ae60; }

/* ===== Mobile Menu ===== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: white;
  padding: 24px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-links a {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links a:hover { background: var(--bg); color: var(--primary); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mobile-nav-actions .btn { justify-content: center; }

/* ===== Job Detail Page ===== */
.detail-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 40px 0 48px;
  color: white;
}
.detail-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-hero h1 {
  color: white;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.45;
  margin-bottom: 16px;
}
.detail-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; opacity: 0.85; font-size: 0.88rem; }
.detail-hero-meta span { display: flex; align-items: center; gap: 5px; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  padding: 40px 0 80px;
}

/* Main content */
.detail-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.detail-section h3 {
  color: var(--primary);
  font-size: 1rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
}

.detail-catch-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--primary);
}
.detail-job-id { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.detail-catch {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.detail-posted { font-size: 0.78rem; color: var(--text-muted); }

.agent-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #f8f9fb;
  border-radius: var(--radius);
}
.agent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.agent-name { font-size: 0.78rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.agent-text { font-size: 0.88rem; color: var(--text); line-height: 1.85; }

.detail-table { width: 100%; border-collapse: collapse; }
.detail-table tr { border-bottom: 1px solid var(--border); }
.detail-table tr:last-child { border-bottom: none; }
.detail-table th {
  width: 160px;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  vertical-align: top;
  white-space: nowrap;
}
.detail-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text);
  vertical-align: top;
  line-height: 1.7;
}
.detail-table .salary-cell {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.detail-features { display: flex; flex-direction: column; gap: 10px; }
.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.detail-feature-item::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  flex-shrink: 0;
}

.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-tag {
  padding: 5px 14px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Sidebar */
.detail-sidebar-sticky { position: sticky; top: 90px; }
.sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.sidebar-salary {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-salary .label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.sidebar-salary .num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
}
.sidebar-actions { display: flex; flex-direction: column; gap: 10px; }
.sidebar-actions .btn { justify-content: center; width: 100%; }

.sidebar-privacy {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: #7a5800;
  line-height: 1.7;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sidebar-privacy .icon { flex-shrink: 0; }

.related-job-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.related-job-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-job-item a { color: var(--text); transition: color var(--transition); }
.related-job-item a:hover { color: var(--primary); }
.related-job-badge { font-size: 0.72rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.related-job-salary { font-size: 0.8rem; color: var(--primary); font-weight: 700; margin-top: 4px; }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar-sticky { position: static; }
  .detail-section { padding: 20px; }
  .detail-catch-card { padding: 20px; }
  .detail-table th { width: 120px; }
}
@media (max-width: 600px) {
  .detail-table { display: block; }
  .detail-table tr { display: block; padding: 12px 0; }
  .detail-table th {
    display: block;
    width: 100%;
    background: none;
    padding: 0 0 4px;
    border-bottom: none;
  }
  .detail-table td { display: block; padding: 0 0 4px; }
}

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.12;
  position: absolute;
  top: 12px;
  left: 18px;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-stars { color: #f39c12; font-size: 0.88rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.88rem; line-height: 1.8; color: var(--text); margin-bottom: 20px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.testimonial-author-info .name { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.testimonial-author-info .detail { font-size: 0.78rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
}
.faq-question:hover { background: var(--bg); }
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-question-text { flex: 1; font-size: 0.95rem; font-weight: 700; color: var(--text); }
.faq-arrow { font-size: 0.7rem; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner {
  padding: 4px 20px 20px 62px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Tab buttons (jobs page) ===== */
.tab-btn {
  padding: 16px 24px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active { border-bottom-color: var(--primary); color: var(--primary); }
.tab-btn:hover:not(.active) { color: var(--text); }

/* ===== Scroll Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 80px; }
  .job-types { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; gap: 16px; }
  .flow-step:not(:last-child)::after { content: '↓'; right: auto; top: auto; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 1.2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .jobs-layout { grid-template-columns: 1fr; }
  .search-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; }
  .header-actions { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-stats { gap: 20px; }
  .job-card { grid-template-columns: 1fr; }
  .job-card-actions { flex-direction: row; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
  .line-cta-card { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-card { padding: 28px 20px; }
  .float-line span.label-text { display: none; }
}
