/* ============================================================
   アンドパブリック 採用LP — style.css  v3 (example準拠)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --teal:        #2C2C2A;
  --teal-dark:   #1A1A18;
  --teal-deep:   #0D0D0C;
  --teal-light:  #EFEFED;
  --teal-mid:    #D5D5D2;

  --bg:          #FAFAF8;
  --white:       #FFFFFF;
  --text:        #1F2A2A;
  --text-light:  #3D4E4E;
  --sub:         #5F6B6B;
  --border:      #E2EDED;

  --shadow-xs:   0 1px 4px rgba(0,140,140,0.05);
  --shadow:      0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.09);

  --radius:      14px;
  --radius-sm:   10px;

  --font-ja:     "Yu Gothic", "YuGothic", "游ゴシック体",
                 "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                 "Noto Sans JP", sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}
h3 { font-size: 1rem; font-weight: 700; line-height: 1.55; color: var(--text); }
h4 { font-size: 0.92rem; font-weight: 700; color: var(--text); }
p  { color: var(--sub); font-size: 0.9rem; line-height: 1.95; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section   { padding: 96px 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title  { margin-bottom: 12px; }
.section-lead   { max-width: 660px; margin-bottom: 52px; font-size: 0.9rem; }

/* ── Scroll animation ───────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 0.88rem; font-weight: 700;
  font-family: var(--font-ja);
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--teal); color: white; border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark); border-color: var(--teal-dark);
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,111,112,.28);
}
.btn-outline {
  background: rgba(255,255,255,.12); color: white;
  border-color: rgba(255,255,255,.72); backdrop-filter: blur(4px);
}
.btn-outline:hover { background: white; color: var(--teal); transform: translateY(-2px); }
.btn-outline-dark {
  background: white; color: var(--teal); border-color: var(--teal);
}
.btn-outline-dark:hover { background: var(--teal); color: white; }
.btn-large { padding: 14px 36px; font-size: 0.94rem; }


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: 0 36px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border), 0 2px 16px rgba(0,0,0,.06);
}
.site-header.scrolled .nav-link { color: var(--text-light); }
.site-header.scrolled .header-logo-white { display: none; }
.site-header.scrolled .header-logo-color  { display: block; }
.site-header.scrolled .hamburger span     { background: var(--text); }

.header-logo { display: flex; align-items: center; height: 36px; }
.header-logo-white { display: block; }
.header-logo-color  { display: none; }

.header-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: rgba(255,255,255,.92);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: .02em; transition: opacity .2s; white-space: nowrap;
}
.nav-link:hover { opacity: .65; }
.site-header.scrolled .nav-link:hover { color: var(--teal); opacity: 1; }

.btn-header {
  background: var(--teal); color: white !important;
  padding: 8px 20px; border-radius: 22px;
  font-size: 0.82rem; font-weight: 700; transition: background .2s;
}
.btn-header:hover { background: var(--teal-dark); opacity: 1 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px; transition: all .3s;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px 32px 88px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,60,90,0.22) 0%,
      rgba(10,60,90,0.12) 50%,
      rgba(10,60,90,0.20) 100%),
    url('assets/hero-bg.jpeg?v=2') center 40% / cover no-repeat;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-tagline {
  font-family: 'Segoe Script', 'Segoe UI', Caveat, cursive;
  font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  color: white; line-height: 1.05;
  white-space: nowrap;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.hero-sub {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: white; font-weight: 700; margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,.2); letter-spacing: .02em;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   SECTION 2: 募集背景
   ============================================================ */
.recruitment-bg { background: var(--white); }
.recruitment-bg .inner {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 64px; align-items: start;
}
.recruitment-bg .text-col p { margin-bottom: 16px; }

.blockquote-card {
  padding: 4px 0; margin: 22px 0;
}
.blockquote-card p {
  font-size: .9rem; font-weight: 600;
  color: var(--teal-dark); line-height: 2; margin: 0;
}

.point-cards { display: flex; flex-direction: column; gap: 16px; }
.point-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 22px;
  transition: box-shadow .2s, transform .2s;
}
.point-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.point-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--teal-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.point-card-icon svg {
  width: 20px; height: 20px; stroke: var(--teal);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.point-card-body h4 { margin-bottom: 3px; }
.point-card-body p  { font-size: .82rem; margin: 0; }


/* ============================================================
   SECTION 3: 仕事内容
   ============================================================ */
.job-content { background: var(--bg); }
.job-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 48px;
}
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column; gap: 10px;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.job-card-num {
  font-size: .68rem; font-weight: 700;
  color: var(--teal); letter-spacing: .12em;
}
.job-card-icon {
  width: 40px; height: 40px;
  background: var(--teal-light); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.job-card-icon svg {
  width: 20px; height: 20px; stroke: var(--teal);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.job-card h3 { font-size: .93rem; }
.job-card p  { font-size: .82rem; line-height: 1.72; }


/* ============================================================
   SECTION 4: CHROメッセージ（全幅写真＋オーバーレイ）
   ============================================================ */
.chro-msg {
  position: relative; overflow: hidden; min-height: 560px;
  display: flex; align-items: center;
}
.chro-msg-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(10,35,24,.88) 0%,
      rgba(10,35,24,.82) 42%,
      rgba(10,35,24,.22) 56%,
      rgba(10,35,24,.00) 100%),
    url('assets/nagatomo.jpeg') 68% center / cover no-repeat;
  z-index: 0;
}
.chro-msg .container {
  position: relative; z-index: 1; padding: 88px 32px;
}
.chro-msg-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

/* 右：人物エリア（名前・肩書きを下端に） */
.chro-profile {
  display: flex; flex-direction: column;
  justify-content: flex-end; align-self: stretch;
  padding-bottom: 8px; min-height: 300px;
}
.chro-photo-wrap { display: none; } /* BGで代用 */
.chro-nameplate { }
.chro-role {
  font-size: .74rem; color: rgba(255,255,255,.65);
  font-weight: 700; letter-spacing: .08em; margin-bottom: 6px;
}
.chro-signature {
  font-family: 'Klee One', 'Hiragino Mincho ProN', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  text-align: right;
  color: rgba(255,255,255,.92) !important;
  margin-top: 28px !important;
  margin-bottom: 0 !important;
  letter-spacing: .06em;
  line-height: 1.2;
}
.chro-name {
  font-size: 1.3rem; font-weight: 700;
  color: white; letter-spacing: .06em;
}

/* 右：テキスト */
.chro-text .section-eyebrow { color: rgba(255,255,255,.65); }
.chro-text .section-eyebrow::before { background: rgba(255,255,255,.65); }
.chro-text h2 {
  color: white;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 22px; line-height: 1.45;
}
.chro-text p {
  color: rgba(255,255,255,.82);
  margin-bottom: 14px; font-size: .9rem; line-height: 1.95;
}

.testimony-block {
  margin: 18px 0; border-left: none;
  padding-left: 0; display: flex; flex-direction: column; gap: 0;
}
.testimony-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 7px 0;
}
.testimony-item-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.55); flex-shrink: 0; margin-top: 8px;
}
.testimony-item p {
  color: white; font-size: .88rem;
  font-weight: 600; line-height: 1.65; margin: 0;
}


/* ============================================================
   SECTION 5: 3つの価値観
   ============================================================ */
.values { background: var(--white); }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 48px;
}
.value-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 22px; text-align: center;
  transition: transform .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius) var(--radius) 0 0;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-en {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 2.4rem; color: var(--teal);
  margin-bottom: 6px; line-height: 1;
}
.value-ja {
  font-size: .84rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.value-desc { font-size: .82rem; color: var(--sub); line-height: 1.85; text-align: left; }


/* ============================================================
   SECTION 6: 成長ステップ
   ============================================================ */
.growth { background: var(--bg); }

/* ── Timeline container ── */
.growth-timeline {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 64px; position: relative;
}
/* gradient connecting line */
.growth-timeline::before {
  content: ''; position: absolute;
  top: 17px; left: calc(16.67% + 36px); right: calc(16.67% + 36px);
  height: 2px;
  background: linear-gradient(to right, var(--teal-mid), var(--teal) 50%, var(--teal-dark));
  z-index: 0;
}

/* ── Each column ── */
.growth-step { position: relative; z-index: 1; text-align: center; padding: 0 20px; }

/* Period badge — pill style, stacked progression */
.growth-step-dot {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 18px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  line-height: 1.3; white-space: nowrap;
  background: var(--white); border: 2px solid var(--teal-mid); color: var(--text);
  box-shadow: var(--shadow-xs);
  margin: 0 auto 20px;
  transition: background .2s;
}
.growth-step:nth-child(2) .growth-step-dot {
  background: var(--teal); border-color: var(--teal); color: white;
}
.growth-step:nth-child(3) .growth-step-dot {
  background: var(--teal-dark); border-color: var(--teal-dark); color: white;
}

/* ── Cards ── */
.growth-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal-mid);
  border-radius: var(--radius-sm);
  padding: 22px 20px 24px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: box-shadow .22s, transform .22s;
}
.growth-step-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.11);
  transform: translateY(-3px);
}
.growth-step-card--1 { border-left-color: #8ab0b0; }
.growth-step-card--2 { border-left-color: var(--teal); }
.growth-step-card--3 { border-left-color: var(--teal-dark); }

.growth-phase-label {
  display: inline-block;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 10px;
  padding: 2px 10px; border-radius: 4px;
  background: rgba(44,44,42,.06);
}
.growth-step-card h3 { font-size: .94rem; margin-bottom: 10px; color: var(--text); }
.growth-step-card p  { font-size: .8rem; line-height: 1.8; color: var(--sub); }


/* ============================================================
   SECTION 7: こんな人と働きたい
   ============================================================ */
.ideal-person { background: var(--white); }
.ideal-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 48px;
}
.ideal-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.ideal-item:hover { border-color: var(--teal-mid); box-shadow: var(--shadow); }
.ideal-item-check {
  width: 24px; height: 24px; background: var(--teal-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.ideal-item-check svg {
  width: 12px; height: 12px; stroke: var(--teal);
  fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.ideal-item p { font-size: .87rem; color: var(--text-light); margin: 0; line-height: 1.6; }


/* ============================================================
   SECTION 8: 募集要項
   ============================================================ */
.job-spec { background: var(--bg); }
.job-spec-inner {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 48px; align-items: start;
}
.job-spec-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.job-spec-table { width: 100%; border-collapse: collapse; }
.job-spec-table tr:not(:last-child) { border-bottom: 1px solid var(--border); }
.job-spec-table tr:nth-child(even) th,
.job-spec-table tr:nth-child(even) td { background: var(--bg); }
.job-spec-table th, .job-spec-table td {
  padding: 16px 20px; font-size: .86rem;
  line-height: 1.8; vertical-align: top; text-align: left;
}
.job-spec-table th {
  width: 110px; font-weight: 700; color: var(--text);
  white-space: nowrap; border-right: 1px solid var(--border);
}
.job-spec-table td { color: var(--sub); }
.job-spec-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); position: sticky; top: 80px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.job-spec-img img {
  width: 100%; height: 440px; object-fit: cover; display: block;
}
.office-caption {
  font-size: .78rem;
  color: var(--sub) !important;
  text-align: center;
  margin-top: 8px !important;
  letter-spacing: .04em;
  width: 100%; display: flex; align-items: center; justify-content: center; min-height: 32px;
}


/* ============================================================
   SECTION 9: 必須要件・歓迎要件
   ============================================================ */
.requirements { background: var(--white); }
.requirements-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 48px;
}
.req-col {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
}
.req-col-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.req-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px; border-radius: 6px;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  background: var(--teal); color: white; flex-shrink: 0;
}
.req-badge--plus { background: var(--teal-light); color: var(--teal-dark); }
.req-col-header h3 {
  font-size: 1rem; color: var(--text); margin: 0;
  border: none; padding: 0;
}
.req-col-header h3::before { display: none; }
.req-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.req-tag {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem; color: var(--text-light);
  line-height: 1.3; transition: border-color .2s;
}
.req-tag:hover { border-color: var(--teal); color: var(--teal-dark); }
.req-tag--plus {
  background: var(--teal-light); border-color: var(--teal-mid);
  color: var(--teal-dark);
}
/* legacy support */
.req-list li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-light); line-height: 1.68;
}
.req-list li:last-child { border-bottom: none; }
.req-list li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--teal);
  flex-shrink: 0; margin-top: 8px;
}


/* ============================================================
   SECTION 10: 選考プロセス
   ============================================================ */
.selection { background: var(--bg); }
.process-flow {
  display: flex; align-items: flex-start;
  margin-top: 56px; position: relative; gap: 0;
}
/* gradient connector line */
.process-flow::before {
  content: ''; position: absolute;
  top: 30px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--teal-mid) 15%, var(--teal-mid) 85%, transparent);
  z-index: 0;
}

/* each step column */
.process-step {
  flex: 1; text-align: center; position: relative; z-index: 1;
  padding: 0 8px;
}

/* number circle */
.process-step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); color: white;
  font-size: .82rem; font-weight: 800; letter-spacing: .08em;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--teal-mid);
  transition: transform .2s;
}
.process-step:hover .process-step-num { transform: scale(1.08); }

.process-step h4 {
  font-size: .84rem; font-weight: 700;
  color: var(--text); line-height: 1.45;
  margin-bottom: 6px;
}
.process-step-desc {
  font-size: .73rem; color: var(--sub);
  line-height: 1.55; margin-top: 4px;
}

/* highlighted step — standout treatment */
.process-step--highlight .process-step-num {
  width: 66px; height: 66px;
  background: var(--teal-deep);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--teal-dark),
              0 4px 20px rgba(0,0,0,.22);
}

.process-step--highlight h4 { font-size: .9rem; color: var(--text); }
.process-step--highlight .process-step-desc {
  font-weight: 700; color: var(--teal-dark);
}

.process-step--final .process-step-num {
  background: var(--teal-dark);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--teal-dark);
}
.worksample-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 40px;
  margin-top: 48px; box-shadow: var(--shadow);
  position: relative;
}
.worksample-box::before {
  content: 'WORK SAMPLE';
  position: absolute; top: -11px; left: 26px;
  background: var(--teal); color: white;
  font-size: .66rem; font-weight: 700; letter-spacing: .18em;
  padding: 3px 12px; border-radius: 16px;
}
.worksample-box h3 { font-size: .95rem; margin-bottom: 10px; }
.worksample-box > p { font-size: .88rem; color: var(--sub); margin-bottom: 16px; }
.worksample-list { margin: 0 0 20px; display: flex; flex-direction: column; gap: 5px; }
.worksample-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .86rem; color: var(--text-light); line-height: 1.6;
}
.worksample-list li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--teal);
  flex-shrink: 0; margin-top: 8px;
}
.worksample-note {
  background: var(--teal-light); border-radius: var(--radius-sm);
  padding: 13px 16px; display: flex; align-items: flex-start; gap: 10px;
}
.worksample-note-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.worksample-note-icon svg {
  width: 16px; height: 16px; stroke: var(--teal-dark);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.worksample-note p {
  font-size: .82rem; color: var(--teal-dark);
  font-weight: 600; line-height: 1.7; margin: 0;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative; text-align: center;
  padding: 0; overflow: hidden;
  background: url('assets/end-bg.png?v=2') center center / cover no-repeat;
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta-btn {
  background: white !important; color: var(--teal) !important;
  font-size: 1.05rem; padding: 18px 56px;
  border-radius: 50px; font-weight: 700;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform .2s, box-shadow .2s;
}
.final-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white); color: var(--sub);
  text-align: center; padding: 28px 24px;
  font-size: .76rem; letter-spacing: .04em;
  border-top: 1px solid var(--border);
}


/* ============================================================
   MOBILE CTA
   ============================================================ */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; padding: 10px 18px 14px;
  box-shadow: 0 -2px 16px rgba(0,0,0,.09);
  z-index: 999; gap: 10px; border-top: 1px solid var(--border);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .recruitment-bg .inner { grid-template-columns: 1fr; gap: 40px; }
  .job-cards { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .requirements-grid { grid-template-columns: 1fr; }
  .job-spec-inner { grid-template-columns: 1fr; }
  .job-spec-img { position: static; }
  .job-spec-img img { height: 280px; }
  .chro-msg-inner { grid-template-columns: 1fr; }
  .chro-profile { display: none; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .site-header { padding: 0 20px; }
  .header-nav { display: none; }
  .header-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: white; padding: 24px 24px 32px;
    gap: 20px; box-shadow: 0 8px 28px rgba(0,0,0,.1); z-index: 999;
  }
  .header-nav.open .nav-link { color: var(--text); font-size: .97rem; }
  .hamburger { display: flex; }
  .hero { min-height: 90vh; padding: 96px 18px 64px; }
  .hero-tagline { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .hero-cta { flex-direction: column; align-items: center; }
  .job-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .ideal-list { grid-template-columns: 1fr; }
  .growth-timeline { grid-template-columns: 1fr; gap: 28px; }
  .growth-timeline::before { display: none; }
  .growth-step { text-align: left; display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; align-items: start; }
  .growth-step-dot { margin: 0; grid-row: 1 / 3; }
  .growth-step-period { grid-column: 2; margin-bottom: 4px; }
  .growth-step-card { grid-column: 2; }
  .process-flow { flex-direction: column; gap: 18px; }
  .process-flow::before { display: none; }
  .process-step { display: flex; align-items: center; gap: 14px; text-align: left; }
  .process-step-num { margin: 0; flex-shrink: 0; box-shadow: none; }
  .worksample-box { padding: 28px 18px; }
  .worksample-box::before { left: 18px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
}

/* ── More Info（関連リンク）セクション ────────────────────── */
.more-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.more-info-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}

.more-info-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.more-info-card-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 10px;
}

.more-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.more-info-card-desc {
  font-size: .86rem;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}

.more-info-card-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 640px) {
  .more-info-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Work Gallery Grid ─────────────────────────────────────── */
.work-gallery { padding-top: 0 !important; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.gallery-slide {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  aspect-ratio: 4 / 3;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.gallery-slide:hover img {
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .hero-bg {
    background:
      linear-gradient(to bottom,
        rgba(10,60,90,0.22) 0%,
        rgba(10,60,90,0.12) 50%,
        rgba(10,60,90,0.20) 100%),
      url('assets/hero-bg_phone.jpeg') center top / cover no-repeat;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

