/* ============================================
   Elsant Recruit Wireframe — Pattern B
   Design tone: 公式コーポレートサイト(elsant.co.jp)の配色に準拠
   ============================================ */

:root {
  --navy: #23496a;
  --navy-deep: #16324a;
  --accent: #7994af;
  --charcoal: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --wire-bg: #fafafa;
  --wire-dash: #c7c7c7;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 115px; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--white);
  letter-spacing: 0.02em;
  overflow-x: clip;
  min-width: 320px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Wireframe共通パーツ ---------- */
.wire-note {
  background: #fff9e6;
  border-left: 4px solid #d4a017;
  padding: 10px 14px;
  font-size: 12px;
  color: #7a5a00;
  margin: 12px 0;
}
.wire-placeholder {
  background: var(--wire-bg);
  border: 2px dashed var(--wire-dash);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  min-height: 120px;
  padding: 16px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  width: 100%;
}

/* ---------- Incentive Bar ---------- */
.incentive-bar {
  background: linear-gradient(90deg, #b8893a 0%, #d4a047 50%, #b8893a 100%);
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 101;
}
.incentive-bar strong {
  font-size: 15px;
  font-weight: 700;
  margin: 0 4px;
  letter-spacing: 0.08em;
}
.incentive-bar .incentive-amount {
  display: inline-block;
  background: rgba(0,0,0,0.22);
  padding: 2px 10px;
  margin: 0 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Incentive Section（本文用） ---------- */
.incentive-section {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.incentive-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,71,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,71,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.incentive-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.incentive-badge {
  background: linear-gradient(135deg, #d4a047 0%, #b8893a 100%);
  color: #fff;
  padding: 20px 28px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  min-width: 160px;
}
.incentive-badge-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 4px;
  opacity: 0.9;
}
.incentive-badge-amount {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.incentive-badge-amount small { font-size: 14px; font-weight: 500; letter-spacing: 0.05em; }
.incentive-body h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.incentive-body h3 .hl { color: #e6ba6a; }
.incentive-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.incentive-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: all 0.2s;
}
.incentive-cta:hover { background: #e6ba6a; color: #fff; }
.incentive-cta-group { display: flex; flex-direction: column; gap: 12px; }
.incentive-cta-ghost {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
}
.incentive-cta-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 46.75px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.logo-img { height: 46px; width: 173px; max-width: 173px; overflow: hidden; object-fit: contain; }
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.2em;
  text-align: right;
}
.nav { display: flex; gap: 18px; align-items: center; font-size: 13px; white-space: nowrap; }

/* ■Mobile menu button */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--navy);
  transition: 0.2s;
}



.nav a { color: var(--charcoal); position: relative; padding-bottom: 4px; }
.nav a:hover { color: var(--accent); }
.nav a:not(.btn-entry):not(.nav-highlight)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav a:not(.btn-entry):not(.nav-highlight):hover::after { transform: scaleX(1); }
.nav-divider { display: inline-block; width: 1px; height: 18px; background: var(--navy); }
.nav a.btn-entry {
  background: transparent;
  color: var(--navy);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--navy);
  transition: all 0.2s;
}
.nav a.btn-entry:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.nav .nav-highlight {
  background: #faf1e0;
  color: #a5730f;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 20px;
}
.nav .nav-highlight:hover { background: #f5e6c8; color: #a5730f; }
.nav a.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  border: 1px solid var(--navy);
  transition: all 0.2s;
}
.nav a.btn-secondary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: clamp(72px, 12vw, 120px) 0 clamp(64px, 10vw, 100px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cpath d='M45 5L52 35L82 28L58 45L82 62L52 55L45 85L38 55L8 62L32 45L8 28L38 35Z' fill='none' stroke='%23a8bfd4' stroke-width='1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.hero .hero-inner { position: relative; z-index: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero p.hero-label {
  font-size: 50px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero h1 .accent { color: #a8bfd4; }
.hero p {
  font-size: clamp(14px, 1.3vw, 17px);
  max-width: 680px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 48px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero p.hero-note {
  margin-top: 24px;
  font-size: 13px;
  color: #d4a047;
}
.hero-note strong { color: #d4a047; font-weight: 700; }
.hero-note a { color: #d4a047; text-decoration: underline; margin-left: 4px; }
.btn-primary, .btn-ghost {
  display: inline-block;
  padding: 16px 32px;
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: var(--accent); color: var(--white); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- Section共通 ---------- */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: var(--navy-deep);
  color: var(--white);
}
.section-gray { background: var(--gray-50); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-label { color: #a8bfd4; }
.section-lead {
  font-size: 16px;
  color: var(--gray-700);
  max-width: 720px;
  margin-bottom: 56px;
}
.section-dark .section-lead { color: rgba(255,255,255,0.8); }

/* ■ Why Elsant（業界課題） */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.stat-card {
  border-top: 2px solid var(--accent);
  padding-top: 24px;
  padding-bottom: 32px;
  transition: background 0.2s ease;
}



.stat-num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--gray-500); margin-bottom: 12px; letter-spacing: 0.05em; }
.stat-desc { font-size: 14px; color: var(--gray-700); }

/* ---------- Member Interview Page ---------- */
.member-detail {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
}
.member-detail-sticky { position: sticky; top: 100px; }
.member-photo-large {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 0;
  margin: 0 0 24px;
  font-size: 13px;
}
.member-detail-header { text-align: center; margin-bottom: 56px; }
.member-detail-role { font-size: 13px; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.member-detail-name { font-size: 24px; font-weight: 700; color: var(--navy); }
.qa-block { margin-bottom: 44px; }
.qa-question {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.qa-question .qa-mark { font-family: "Noto Serif JP", serif; color: var(--accent); font-size: 24px; line-height: 1; flex-shrink: 0; }
.qa-answer { font-size: 15px; color: var(--gray-700); line-height: 1.9; padding-left: 36px; }

.member-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.member-index-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.member-index-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.member-index-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 0;
  margin: 0;
  font-size: 13px;
}
.member-index-body { padding: 24px 28px; }
.member-index-role { font-size: 12px; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.member-index-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.member-index-teaser { font-size: 13px; color: var(--gray-700); line-height: 1.7; }

/* ---------- People subsections (Leadership / Interview) ---------- */
.subsection-block { margin-top: 96px; }
.subsection-block:first-of-type { margin-top: 64px; }
.subsection-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.subsection-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 32px;
  color: var(--navy);
  display: inline-block;
  margin-bottom: 24px;
}

/* ---------- Mission ---------- */
.mission-block {
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border: 1px solid var(--border);
}
.mission-quote {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.mission-en {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gray-500);
  margin-top: 20px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.value-card {
  background: var(--white);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.value-num {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.value-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}

/* ■ Service */

.service-main-title {
  margin-bottom: 0;
}

.service-strength-title {
  margin-top: 40px;
  margin-bottom: 24px;
}

.service-strength-title + .strength-list {
  margin-top: 0;
}


.service-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: transparent;
  border: 1px solid var(--border);
  padding: 40px 32px;
}
.service-card {
  position: relative;
}

.service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -28px;
  width: 1px;
  height: calc(100% - 40px);
  background: var(--border);
}


.service-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 18px;
  font-family: "Noto Serif JP", serif;
}
.service-num::after {
  display: none;
}
.service-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.service-desc { font-size: 14px; color: var(--gray-700); }

.strength-list { margin-top: 64px; display: grid; gap: 24px; }
.strength-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 0; }
.strength-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.strength-item:last-child { border-bottom: 1px solid var(--border); }
.strength-list.cols-2 .strength-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
.strength-num {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  font-family: "Noto Serif JP", serif;
  line-height: 1;
}
.strength-title {
 font-size: 26px;
 font-weight: 700;
 color: var(--navy);
 margin-bottom:
 8px; line-height: 1;
}

.strength-desc {
 font-size: 14px; color: var(--gray-700);
}

.service-strength-title {
  margin-top: 48px;
  margin-bottom: 30px;
}

.service-strength-title + .strength-list {
  margin-top: 0;
}




/* ■ Leaders */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.leadership-title {
  margin-bottom: 38px;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
}
.leader-photo {
  width: 160px;
  height: 160px;
  min-height: 160px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  font-size: 12px;
}
.leader-body { min-width: 0; }
.leader-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 4px;
}
.leader-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.leader-bio { font-size: 13px; color: var(--gray-700); line-height: 1.8; }

/* ■ Interview */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.interview-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 20px 20px 32px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  transition: transform 0.2s, border-color 0.2s;
}
.interview-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--gray-100);
}
.interview-photo {
  width: 160px;
  height: 160px;
  min-height: 160px;
  aspect-ratio: 1/1;
  border-radius: 0;
  overflow: hidden;
  font-size: 12px;
}
.interview-body { padding: 0; min-width: 0; }
.interview-role { font-size: 11px; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 4px; }
.interview-title { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 12px; }
.interview-name { font-size: 13px; color: var(--gray-700); }

/* ■ Culture */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.culture-item {
  position: relative;
  padding: 40px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.culture-item:hover {
  background: var(--gray-100);
}
.culture-item:active {
}
.culture-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: var(--gray-300);
  letter-spacing: 0.1em;
}
.culture-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.18);
}
.culture-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.culture-desc { font-size: 14px; color: var(--gray-700); }

/* ■ Jobs */
.job-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.job-row {
  display: grid;
  grid-template-columns: 1fr 200px 160px 120px;
  gap: 24px;
  padding: 28px 32px;
  background: var(--white);
  align-items: center;
  transition: background 0.15s;
}
.job-row:hover { background: var(--gray-50); }
.job-category { font-size: 11px; color: var(--accent); letter-spacing: 0.15em; margin-bottom: 6px; }
.job-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.job-meta { font-size: 13px; color: var(--gray-700); }
.job-arrow { text-align: right; font-size: 20px; color: var(--navy); transition: transform 0.2s ease; }
.job-row:hover .job-arrow { transform: translateX(4px); }

/* ■■ Jobs受付停止中で付けただけなので、開始したらここは削除する */
.job-row-disabled {
  cursor: default;
}
.job-row-disabled:hover {
  background: var(--white);
}
.job-row-disabled .job-title,
.job-row-disabled .job-meta,
.job-row-disabled .job-category {
  opacity: 0.65;
}


/* ■ Flow */
.flow-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  transition: background 0.2s ease;
}

.flow-step:hover {
  background: var(--gray-100);
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 16px;
  z-index: 1;
}
.flow-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.flow-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; }

/* ---------- Company ---------- */
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th, .company-table td {
  padding: 20px 16px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}
.company-table td { color: var(--charcoal); }




/* ---------- Interview Hero Note ---------- */
.form-hero-note {
  margin-top: 28px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
}

.form-hero-note strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  margin-bottom: 4px;
}

.form-hero-note a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}


/* ---------- Application Form ---------- */
.apply-form {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 64px;
}
.form-resume-note {
  background: var(--gray-50);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 40px;
  border-radius: 0 4px 4px 0;
}
.form-resume-note strong { color: var(--navy); }
.form-resume-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group label .required {
  color: #b3261e;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}
.form-group label .optional {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 400;
  margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
  margin: 40px 0;
  line-height: 1.7;
}
.form-check input { margin-top: 4px; }
.form-check a { color: var(--accent); text-decoration: underline; }
.form-submit { text-align: center; }
.form-submit .btn-primary { padding: 16px 56px; font-size: 15px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.cta-block {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(60px, 10vw, 100px) 0;
  text-align: center;
}
.cta-block h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: clamp(24px, 3.8vw, 40px);
  margin-bottom: 24px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.cta-block p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 48px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 40px;
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 12px; letter-spacing: 0.1em; }
.footer-logo-img { height: 30px; width: 113px; max-width: 113px; overflow: hidden; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav a { color: rgba(255,255,255,0.7); line-height: 2.2; }
.footer-copy { padding-top: 24px; font-size: 11px; color: rgba(255,255,255,0.4); }

/* ---------- Job Detail Page ---------- */
.breadcrumb {
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--accent); }

.job-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 28px 0 clamp(56px, 8vw, 80px);
}
.job-hero .job-category { color: #a8bfd4; font-size: 12px; margin-bottom: 16px; }
.job-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.job-hero-meta { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.job-hero-meta-item { font-size: 13px; }
.job-hero-meta-item span { display: block; color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.15em; margin-bottom: 6px; }

.job-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}
.job-hero + .section { padding-top: 0; }
.job-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  margin-top: 56px;
}
.job-content h2:first-child { margin-top: 0; }
.job-content p { font-size: 14px; color: var(--gray-700); margin-bottom: 16px; margin-top: 28px; }
.job-content h2 + p { margin-top: 0; }
.job-content ul { list-style: none; padding: 0; }
.job-content ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--border);
}
.job-content ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-sidebar {
  position: sticky;
  top: 90px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 32px;
}
.job-sidebar h3 {
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.job-sidebar dl { font-size: 13px; }
.job-sidebar dt { color: rgba(255,255,255,0.5); font-size: 11px; letter-spacing: 0.15em; margin-top: 16px; }
.job-sidebar dt:first-child { margin-top: 0; }
.job-sidebar dd { margin-bottom: 4px; }
.job-sidebar .btn-primary {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  background: var(--white);
  color: var(--navy);
}
.job-sidebar .btn-ghost {
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

/* ============================================
   Responsive Breakpoints
   XL: 1200+   /   L: 1024-1199   /   M: 768-1023
   S:  480-767 /   XS: -479
============================================ */

/* --- L (tablet横 / 小型デスクトップ) --- */
@media (max-width: 1199px) {
  .nav { gap: 20px; font-size: 13px; }
  .job-row { grid-template-columns: 1fr 160px 140px 60px; gap: 16px; padding: 24px; }
  .job-body { grid-template-columns: 1fr 280px; gap: 40px; }
  .flow-list { grid-template-columns: repeat(6, 1fr); gap: 12px; }
}



/* ■ ヘッダーだけ1200pxで切り替え */
@media (max-width: 1200px) {

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 12px 0;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    background: var(--border);
  }

  .nav .btn-secondary,
  .nav .btn-entry {
    text-align: center;
    margin-top: 8px;
    padding: 11px 16px;
  }
}


/* --- M（タブレット） --- */
@media (max-width: 1023px) {

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid .service-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .interview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-grid {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-step::after {
    display: none;
  }

  .value-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .value-card {
    padding: 24px 12px;
  }

  .job-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .job-sidebar {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- インセンティブセクション（タブレット以下） --- */
@media (max-width: 1023px) {
  .incentive-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .incentive-badge { min-width: 200px; }
  .incentive-cta { width: 100%; max-width: 280px; }
  .incentive-cta-group { width: 100%; max-width: 280px; }
}

/* --- S (モバイル横〜小タブレット) --- */
@media (max-width: 767px) {
  .site-header { top: 37.6px; }
  .site-header .header-inner { height: 60px; }
  .logo { font-size: 18px; }
  .logo-img { height: 30px; width: 113px; max-width: 113px; }
  .logo small { font-size: 9px; }
  .btn-entry { padding: 8px 14px; font-size: 12px; }

  .hero p.hero-label { font-size: 30px; letter-spacing: 0.05em; }
  .hero p { max-width: 100%; }
  .btn-primary, .btn-ghost { padding: 14px 24px; font-size: 13px; }

  .stat-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid .service-card:nth-child(3) { grid-column: auto; }
/* モバイルではサービス間の縦線を非表示 */
.service-card::after {
  display: none;
}
  .interview-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .member-index-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .value-card { padding: 24px 16px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flow-step::after { display: none; }

  .leader-card { padding: 20px; grid-template-columns: 72px 1fr; gap: 16px; }
  .leader-photo { width: 72px; height: 72px; min-height: 72px; }
  .member-detail { grid-template-columns: 1fr; gap: 32px; }
  .member-detail-sticky { position: static; }
  .member-photo-large { max-width: 280px; margin-left: auto; margin-right: auto; }
  .leader-name { font-size: 17px; }
  .section-lead { font-size: 14px; }
  .mission-block { padding: 4px 20px 4px 20px; max-width: 100%; }

  /* Jobs: カード型に変更 */
  .job-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title arrow"
      "meta1 meta1"
      "meta2 meta2";
    gap: 8px;
    padding: 20px;
  }
  .job-row > div:nth-child(1) { grid-area: title; }
  .job-row > div:nth-child(2) { grid-area: meta1; font-size: 12px; color: var(--accent); font-weight: 500; }
  .job-row > div:nth-child(3) { grid-area: meta2; font-size: 12px; }
  .job-row .job-arrow { grid-area: arrow; align-self: start; }

  /* Company table */
  .company-table th, .company-table td { display: block; width: 100%; padding: 12px 0; }
  .company-table th { padding-top: 20px; border-bottom: none; }
  .company-table td { padding-top: 0; }
  .company-table tr { padding: 8px 0; }

  /* Job detail page */
  .job-hero-meta { gap: 20px; }
  .job-hero-meta-item { min-width: calc(50% - 10px); }
  .job-content h2 { font-size: 20px; margin-top: 40px; }
  .job-sidebar { padding: 24px; }

  /* CTA buttons stack */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons a { width: 100%; max-width: 320px; }

  /* Incentive */
  .incentive-bar { font-size: 11px; padding: 8px 14px; line-height: 1.6; }
  .incentive-bar strong { font-size: 13px; }
  .incentive-bar .incentive-amount { padding: 2px 8px; }
  .incentive-section { padding: 48px 0; }
  .incentive-body h3 { font-size: 18px; line-height: 1.5; }
  .incentive-badge-amount { font-size: 28px; }

  /* Footer */
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* --- XS (スマホ縦) --- */
@media (max-width: 479px) {
  .logo-img { height: 26px; width: 98px; max-width: 98px; }
  .hero h1 { font-size: clamp(26px, 8vw, 32px); }
  .mission-quote { font-size: clamp(20px, 6vw, 26px); }
  .cta-block h2 { font-size: clamp(22px, 7vw, 28px); }

  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta a { width: 100%; }

  .value-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }

  .leader-name { font-size: 18px; }
  .service-num { font-size: 36px; }
  .strength-item { grid-template-columns: 1fr; gap: 12px; }
  .strength-list.cols-2 { grid-template-columns: 1fr; }
  .strength-num { font-size: 28px; }

  .section-label { font-size: 30px; letter-spacing: 0.05em; }
  .btn-entry { padding: 6px 10px; font-size: 11px; letter-spacing: 0.05em; }
  .logo small { display: none; }

  .job-hero-meta-item { min-width: 100%; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ============================================
   Pattern E overrides — Editorial
   セリフ体見出し・余白・細い罫線で雑誌的なトーンに
   ============================================ */
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.section-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.mission-quote {
  font-family: "Noto Serif JP", serif;
}
.leader-name, .interview-title, .member-detail-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

.section { padding: clamp(80px, 12vw, 160px) 0; }
#mission { padding: 48px 0; }
#why, #stance, #service, #people, #culture, #jobs, #flow, #company { padding: 48px 0; }
.section-lead { max-width: 640px; line-height: 2; }

.section-label {
  font-size: 50px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0;
  margin-bottom: 48px;
}

.mission-block {
  text-align: left;
  background: none;
  border: none;
  border-left: 3px solid var(--accent);
  padding: 8px 40px 8px 32px;
  max-width: 800px;
  position: relative;
}

.stat-card, .service-card,
.value-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--border);
  padding-left: 0;
  padding-right: 0;
}

.service-card {
  border-bottom: none;
}


.leader-card { border: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.interview-card { border: none; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.member-index-card { border: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.stat-grid, .service-grid { gap: 56px; }
.leader-grid, .interview-grid, .member-index-grid { gap: 48px; }

.culture-icon {
  background: transparent;
  border: 1px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
  color: var(--navy);
}
.culture-icon svg circle, .culture-icon svg rect, .culture-icon svg path, .culture-icon svg line {
  stroke: var(--navy) !important;
}
.culture-num { color: var(--accent); font-size: 15px; }

.job-row { border-radius: 0; }
.incentive-badge { border-radius: 0; }

/* ■ Why Elsant hover */




/* --- Sub-pages: job detail / apply / interview / members --- */
.job-hero { background: var(--navy); }
.job-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.job-hero .job-category { letter-spacing: 0.3em; }

.job-content h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.qa-question {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

.member-detail-header { text-align: left; margin-bottom: 0; }

.form-resume-note { border-radius: 0; border-left-width: 1px; background: transparent; border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.apply-form .btn-primary, .form-submit .btn-primary { border-radius: 0; }
.form-group input, .form-group select, .form-group textarea { border-radius: 0; }

.member-index-photo { border-radius: 0; }

.incentive-cta .arrow, .incentive-cta-ghost .arrow, .btn-primary .arrow, .btn-ghost .arrow, .link-arrow .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.incentive-cta:hover .arrow, .incentive-cta-ghost:hover .arrow, .btn-primary:hover .arrow, .btn-ghost:hover .arrow, .link-arrow:hover .arrow {
  transform: translateX(4px);
}

.leader-photo, .interview-photo, .member-photo-large, .member-index-photo {
  position: relative;
  overflow: hidden;
}
.leader-photo img, .interview-photo img, .member-photo-large img, .member-index-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
