/* ============================================================
   町野電設 - Stylesheet
   ============================================================ */

/* === Variables === */
:root {
  --navy:       #0c1f4a;
  --navy-mid:   #1a3a6b;
  --blue:       #1d4ed8;
  --blue-light: #3b82f6;
  --orange:     #f97316;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --text:       #1f2937;
  --text-light: #6b7280;
  --radius:     4px;
  --shadow:     0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.15);
  --tr:         0.25s ease;
  --max-w:      1100px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--tr); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* === Layout === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* === Type === */
.sec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.sec-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}
.sec-title-center { text-align: center; }
.sec-title-center::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 14px auto 0;
}
.sec-desc { color: var(--text-light); font-size: 15px; line-height: 1.9; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--tr);
  border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #ea6c0a; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 20px; font-weight: 900; color: var(--navy); letter-spacing: 0.04em; }
.logo-sub { font-size: 10px; color: var(--text-light); letter-spacing: 0.04em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: all var(--tr);
}
.nav a:hover { color: var(--blue); background: var(--gray-100); }
.nav a.active { color: var(--blue); }
.nav .nav-recruit {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  margin-left: 4px;
}
.nav .nav-recruit:hover { background: #ea6c0a; }
.nav .nav-contact {
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 700;
  margin-left: 4px;
}
.nav .nav-contact:hover { background: var(--navy-mid); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  z-index: 199;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: var(--gray-50); color: var(--blue); }

/* === Hero (Homepage) === */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(12,31,74,0.92) 0%, rgba(12,31,74,0.70) 50%, rgba(12,31,74,0.10) 100%),
              url('../images/hero2.png') center / cover no-repeat;
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cdefs%3E%3Cpattern id='g' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M20 0L0 0 0 20' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23g)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 680px;
  margin-left: 0;
  padding-left: max(20px, calc((100vw - var(--max-w)) / 2 + 20px));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.9;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-panel {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}
.hero-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-panel svg { width: 80px; height: 80px; stroke: rgba(255,255,255,0.25); fill: none; }

/* === Features === */
.features { background: var(--white); padding: 64px 0; }
.features-head { text-align: center; margin-bottom: 48px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--tr), transform var(--tr);
}
.feat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feat-icon {
  width: 72px; height: 72px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.feat-icon svg { width: 34px; height: 34px; stroke: var(--blue); fill: none; }
.feat-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-desc { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* === Services overview === */
.services-ov { background: var(--gray-50); }
.services-ov-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.services-ov-text { padding-top: 8px; }
.services-ov-text .btn { margin-top: 28px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.svc-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-img.s1 { background: linear-gradient(135deg, #1a3a6b, #2563eb); }
.svc-img.s2 { background: linear-gradient(135deg, #1e3a5f, #1a5f8a); }
.svc-img.s3 { background: linear-gradient(135deg, #14345a, #1a6b4a); }
.svc-img.s4 { background: linear-gradient(135deg, #2a1a5e, #4a2a8e); }
.svc-img svg { width: 48px; height: 48px; stroke: rgba(255,255,255,0.7); fill: none; }
.svc-info { padding: 14px 16px; }
.svc-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.svc-sub { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* === Works preview === */
.works-ov { background: var(--white); }
.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.more-link:hover { text-decoration: underline; }
.more-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.work-card { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform var(--tr); }
.work-card:hover { transform: translateY(-4px); }
.work-img {
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
}
.work-img.w1 { background: linear-gradient(160deg, #1a3a6b 30%, #2563eb 100%); }
.work-img.w2 { background: linear-gradient(160deg, #1a4a3b 30%, #1a8a5a 100%); }
.work-img.w3 { background: linear-gradient(160deg, #3b1a5a 30%, #7c3aed 100%); }
.work-img.w4 { background: linear-gradient(160deg, #5a3a1a 30%, #d97706 100%); }
.work-img.w5 { background: linear-gradient(160deg, #1a3a5a 30%, #0891b2 100%); }
.work-img.w6 { background: linear-gradient(160deg, #1a5a1a 30%, #16a34a 100%); }
.work-img.w7 { background: linear-gradient(160deg, #5a1a1a 30%, #dc2626 100%); }
.work-img.w8 { background: linear-gradient(160deg, #1a1a5a 30%, #4f46e5 100%); }
.work-tag {
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.work-body { padding: 14px 16px; background: var(--white); }
.work-loc { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.work-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.work-detail { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* === Flow === */
.flow { background: var(--gray-50); }
.flow-head { text-align: center; margin-bottom: 56px; }
.flow-wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.flow-wrap::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: var(--gray-200);
}
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 4px; }
.flow-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(13,31,76,0.3);
}
.flow-num em { font-size: 10px; opacity: 0.7; font-style: normal; }
.flow-num strong { font-size: 22px; font-weight: 900; line-height: 1; }
.flow-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.flow-desc { font-size: 11px; color: var(--text-light); line-height: 1.7; }

/* === Recruit CTA === */
.recruit-cta-sec {
  background: linear-gradient(135deg, #c2410c, var(--orange));
  padding: 64px 0;
  text-align: center;
}
.recruit-cta-sec h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}
.recruit-cta-sec p { font-size: 16px; color: rgba(255,255,255,0.9); margin-bottom: 32px; }
.recruit-cta-sec .btn-white { color: var(--orange) !important; }

/* === Contact CTA === */
.cta-sec {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}
.cta-sec h2 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-sec p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
.footer { background: #070f24; color: rgba(255,255,255,0.65); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo .logo-main { color: var(--white); font-size: 22px; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.45); font-size: 11px; display: block; margin-top: 4px; }
.footer-about { font-size: 13px; line-height: 1.9; margin-top: 16px; max-width: 300px; }
.footer-nav-wrap { display: flex; gap: 48px; }
.footer-nav-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-nav-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.footer-policy-link { color: rgba(255,255,255,0.5); }
.footer-policy-link:hover { color: var(--white); }

/* === Page Hero (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.page-hero-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; opacity: 0.6; text-transform: uppercase; display: block; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(24px, 4vw, 42px); font-weight: 900; }
.page-hero p { font-size: 15px; opacity: 0.75; margin-top: 12px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* === Breadcrumb === */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-light); border-bottom: 1px solid var(--gray-200); }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { padding: 0 6px; color: var(--gray-400); }

/* ============================================================
   Services Page
   ============================================================ */
.svc-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 72px;
  margin-bottom: 72px;
  border-bottom: 1px solid var(--gray-200);
}
.svc-detail-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.svc-detail-block.flip { direction: rtl; }
.svc-detail-block.flip > * { direction: ltr; }
.svc-detail-img {
  aspect-ratio: 4/3;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 14px;
}
.svc-detail-img.bg1 { background: linear-gradient(135deg, #0c1f4a, #1d4ed8); }
.svc-detail-img.bg2 { background: linear-gradient(135deg, #0c2a3a, #0891b2); }
.svc-detail-img.bg3 { background: linear-gradient(135deg, #0c2a1a, #16a34a); }
.svc-detail-img.bg4 { background: linear-gradient(135deg, #1a0c3a, #7c3aed); }
.svc-detail-img svg { width: 64px; height: 64px; stroke: rgba(255,255,255,0.5); fill: none; }
.svc-detail-text {}
.svc-detail-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); margin-bottom: 8px; text-transform: uppercase; }
.svc-detail-title { font-size: clamp(20px, 3vw, 28px); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.svc-detail-desc { color: var(--text-light); font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-800);
}
.svc-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='4 10 8 14 16 6'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ============================================================
   Works Page
   ============================================================ */
.works-full { background: var(--white); }
.works-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--tr);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--blue); color: var(--blue); background: #eff6ff; }
.works-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card-full .work-img { height: 200px; }
.work-card-full .work-body { padding: 20px; }
.work-card-full .work-title { font-size: 16px; }
.work-card-full .work-detail { font-size: 13px; margin-top: 8px; }

/* ============================================================
   Recruit Page
   ============================================================ */
.recruit-hero-sec {
  background: linear-gradient(135deg, #9a3412, #c2410c, var(--orange));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.recruit-hero-sec::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}
.recruit-hero-inner { position: relative; z-index: 2; }
.recruit-hero-sec .hero-badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.recruit-hero-sec h1 { font-size: clamp(28px, 5vw, 54px); font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.recruit-hero-sec p { font-size: 17px; opacity: 0.92; max-width: 540px; margin: 0 auto 36px; line-height: 1.85; }

/* Reasons */
.reasons-sec { background: var(--gray-50); }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.reason-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.reason-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.reason-big-num {
  font-size: 60px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -8px;
}
.reason-icon {
  width: 64px; height: 64px;
  background: #fff7ed;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.reason-icon svg { width: 30px; height: 30px; stroke: var(--orange); fill: none; }
.reason-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.reason-desc { font-size: 14px; color: var(--text-light); line-height: 1.85; }

/* Job info table */
.job-sec { background: var(--white); }
.job-table { width: 100%; border-collapse: collapse; margin-top: 36px; }
.job-table tr { border-bottom: 1px solid var(--gray-200); }
.job-table th {
  width: 180px;
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-50);
  vertical-align: top;
}
.job-table td { padding: 20px 24px; font-size: 14px; color: var(--text-light); line-height: 1.85; }
.job-highlight { color: var(--orange); font-weight: 700; }

/* Recruit flow */
.recruit-flow-sec { background: var(--gray-50); }
.recruit-steps { display: flex; margin-top: 48px; position: relative; }
.recruit-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 8px; }
.recruit-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -8px;
  top: 22px;
  font-size: 28px;
  color: var(--gray-400);
  line-height: 1;
}
.recruit-step-num {
  width: 64px; height: 64px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}
.recruit-step-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.recruit-step-desc { font-size: 12px; color: var(--text-light); line-height: 1.7; }

/* Recruit apply CTA */
.recruit-apply-cta {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.recruit-apply-cta h2 { font-size: clamp(20px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.recruit-apply-cta p { font-size: 15px; opacity: 0.75; margin-bottom: 32px; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-sec { background: var(--gray-50); }
.contact-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: 700; color: var(--gray-700); margin-bottom: 7px; }
.required-tag {
  display: inline-block;
  font-size: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}
.optional-tag {
  display: inline-block;
  font-size: 10px;
  background: var(--gray-200);
  color: var(--gray-600);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--tr);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.form-textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 5px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-light); }
.form-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--blue); }
.form-check a { color: var(--blue); text-decoration: underline; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  transition: background var(--tr);
  margin-top: 12px;
}
.form-submit:hover { background: var(--navy-mid); }
.form-success {
  display: none;
  background: #d1fae5;
  border: 2px solid #10b981;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  color: #065f46;
  font-weight: 700;
  margin-top: 24px;
}
.form-success.visible { display: block; }
.form-success p { font-size: 16px; margin-bottom: 6px; }
.form-success small { font-size: 13px; font-weight: 400; opacity: 0.8; }

/* Contact info card */
.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); margin-bottom: 20px; }
.info-item { display: flex; gap: 12px; margin-bottom: 18px; }
.info-item svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; flex-shrink: 0; margin-top: 2px; }
.info-item-label { font-size: 11px; color: var(--text-light); margin-bottom: 2px; }
.info-item-value { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.6; }
.contact-map-placeholder {
  margin-top: 20px;
  background: var(--gray-100);
  border-radius: 8px;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  border: 1px solid var(--gray-200);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-wrap { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow-wrap::before { display: none; }
  .svc-detail-block { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail-block.flip { direction: ltr; }
  .works-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-ov-inner { grid-template-columns: 1fr; }
  .works-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .recruit-steps { flex-wrap: wrap; gap: 24px; }
  .recruit-step { flex: 0 0 calc(50% - 12px); }
  .recruit-step:not(:last-child)::after { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav-wrap { flex-wrap: wrap; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .job-table th { width: 120px; padding: 14px 16px; }
  .job-table td { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .works-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .works-grid-3 { grid-template-columns: 1fr; }
  .flow-wrap { grid-template-columns: 1fr 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .job-table { font-size: 13px; }
}
