/* =========================================================
   みちのくファーム 採用LP
   ========================================================= */

:root {
  --green-900: #23402A;
  --green-700: #2F6B3A;
  --green-500: #5E9E3E;
  --lime-400: #8FC24A;
  --lime-200: #D9E9A8;
  --lime-50:  #F2F7E4;
  --cream:    #FBFAF3;
  --wood:     #A97C50;
  --ink:      #2B322A;
  --ink-soft: #5B6657;
  --line:     #E3E8D8;
  --white:    #FFFFFF;
  --shadow:   0 8px 30px rgba(35, 64, 42, .08);
  --shadow-lg:0 18px 50px rgba(35, 64, 42, .12);
  --radius:   24px;
  --radius-sm:16px;
  --header-h: 76px;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--green-700);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.container {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 40px);
}
.container-narrow { max-width: 880px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--green-700), var(--lime-400));
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 58, .22);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(47, 107, 58, .3); }
.btn-ghost {
  background: rgba(255, 255, 255, .7);
  border-color: var(--green-700);
  color: var(--green-700);
}
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--green-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(251, 250, 243, .94);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(35, 64, 42, .06);
}
.header-inner {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--green-900);
}
.brand-sub {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--green-500);
}
.brand-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--green-700);
  border: 1px solid var(--green-500);
  border-radius: 999px;
  padding: 4px 10px 3px;
  line-height: 1;
}
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul { display: flex; align-items: center; gap: 26px; }
.global-nav ul a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
}
.global-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.global-nav ul a:hover::after,
.global-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 11px 24px; font-size: 14px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  z-index: 130;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px; height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
body.nav-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 40, 24, .35);
  backdrop-filter: blur(2px);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #F7FAEE 0%, var(--cream) 55%, #F4F8E9 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(217, 233, 168, .85), rgba(217, 233, 168, 0) 68%);
}
.hero-dots {
  position: absolute;
  left: 4%;
  bottom: 20%;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(var(--lime-400) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: .28;
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 72%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--green-700);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--green-500);
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.16;
  letter-spacing: .02em;
  color: var(--green-900);
}
.hero h1 .h1-line { display: block; }
.hero h1 .h1-sub {
  display: block;
  margin-top: 10px;
  font-size: .56em;
  color: var(--green-500);
  letter-spacing: .04em;
}
.hero-lead {
  margin-top: 26px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
  line-height: 2;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-tags li {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-700);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--lime-200);
  border-radius: 999px;
  padding: 7px 14px;
  line-height: 1.4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  padding: 12px 12px 36px 36px;
}
.hero-photo-main {
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 32px 120px;
  box-shadow: var(--shadow-lg);
  background: var(--lime-200);
}
.hero-photo-main img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}
.hero-photo-sub {
  position: absolute;
  left: -6px;
  bottom: -6px;
  width: 42%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 24px;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
  background: var(--white);
}
.hero-photo-sub img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  top: -14px;
  right: -6px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--green-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 26px rgba(63, 105, 47, .22);
  transform: rotate(6deg);
}
.hero-badge-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.hero-badge-text { font-size: 9.5px; font-weight: 700; line-height: 1.5; margin-top: 4px; }

.hero-locations {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(217, 233, 168, .55);
  border-top: 1px solid rgba(94, 158, 62, .18);
  backdrop-filter: blur(4px);
}
.hero-locations-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 13px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--green-900);
}
.loc { display: inline-flex; align-items: center; gap: 8px; }
.loc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(94, 158, 62, .18);
}
.loc-sep { width: 1px; height: 14px; background: rgba(35, 64, 42, .25); }

.scroll-cue {
  position: absolute;
  right: max(24px, 4vw);
  bottom: 74px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
}
.scroll-line {
  width: 1px; height: 54px;
  background: linear-gradient(var(--green-500), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%; height: 100%;
  background: var(--green-900);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
.scroll-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .28em;
  writing-mode: vertical-rl;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(76px, 10vw, 136px); }
.section-head { margin-bottom: clamp(38px, 5vw, 64px); }
.section-head .section-title { margin-top: 14px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--green-500);
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(27px, 3.7vw, 44px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .03em;
  color: var(--green-900);
}
.section-lead {
  margin-top: 20px;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2;
}
.sp-only { display: none; }

/* ---------- about ---------- */
.section-about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.about-copy p + p { margin-top: 18px; }
.about-copy {
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 2.1;
  color: var(--ink);
}
.about-photo {
  overflow: hidden;
  border-radius: 160px 24px 24px 24px;
  box-shadow: var(--shadow);
}
.about-photo img { aspect-ratio: 1; object-fit: cover; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  right: -18px; top: -18px;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--lime-50);
}
.value-no {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--green-500);
  position: relative;
}
.value-card h3 {
  position: relative;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--green-900);
  letter-spacing: .04em;
}
.value-card p { position: relative; margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- numbers ---------- */
.section-numbers {
  background: var(--green-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-numbers::before {
  content: "";
  position: absolute;
  right: -8%; top: -40%;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 194, 74, .22), transparent 66%);
}
.section-head-light .section-title { color: #fff; }
.section-head-light .section-label { color: var(--lime-200); }
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 28px 20px 24px;
  border-top: 2px solid rgba(217, 233, 168, .3);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--lime-200);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .66);
}
.stats-note {
  margin-top: 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .06em;
}

/* ---------- strength ---------- */
.section-strength { background: var(--lime-50); }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.flow-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  box-shadow: var(--shadow);
}
.flow-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--lime-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.flow-icon svg { width: 30px; height: 30px; }
.flow-no {
  position: absolute;
  top: 30px; right: 28px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green-500);
}
.flow-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--green-900);
  letter-spacing: .06em;
}
.flow-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- factory ---------- */
.section-factory { background: var(--cream); }
.factory-top {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.factory-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.factory-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.factory-copy .section-title { margin-top: 14px; margin-bottom: 20px; }
.factory-copy p { color: var(--ink-soft); font-size: 15.5px; }
.factory-copy p + p { margin-top: 14px; }
.factory-note {
  margin-top: 22px !important;
  padding: 14px 18px;
  background: var(--lime-50);
  border-left: 4px solid var(--lime-400);
  border-radius: 0 12px 12px 0;
  font-size: 13.5px !important;
  color: var(--green-700) !important;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 20px;
}
.process figure { background: var(--lime-50); }
.process img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.process-no {
  display: inline-block;
  margin: 16px 20px 0;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green-500);
}
.process h3 {
  margin: 2px 20px 0;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--green-900);
  letter-spacing: .04em;
}
.process p { margin: 4px 20px 0; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(34px, 5vw, 56px);
}
.product-strip figure {
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.product-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.product-strip figure:hover img { transform: scale(1.05); }

/* ---------- work ---------- */
.section-work { background: var(--white); }
.timeline { max-width: 900px; }
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding-bottom: 30px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 109px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl-item::after {
  content: "";
  position: absolute;
  left: 103px;
  top: 10px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime-400);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--lime-200);
}
.tl-item:last-of-type { padding-bottom: 0; }
.tl-item:last-of-type::before { display: none; }
.tl-time {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.tl-body {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px 22px;
}
.tl-body h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--green-900);
}
.tl-body p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- message ---------- */
.section-message { background: var(--cream); }
.message-card {
  position: relative;
  background: linear-gradient(140deg, var(--lime-50), #FBF8EA);
  border: 1px solid var(--lime-200);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
}
.message-card::before {
  content: "“";
  position: absolute;
  top: -34px; right: 24px;
  font-family: Georgia, serif;
  font-size: 240px;
  line-height: 1;
  color: rgba(94, 158, 62, .12);
}
.message-quote { margin-top: 18px; }
.message-big {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--green-900);
}
.message-body {
  margin-top: 26px;
  max-width: 700px;
  color: var(--ink);
  font-size: 15.5px;
}
.message-body p + p { margin-top: 12px; }
.message-sign {
  margin-top: 30px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.7;
}
.message-sign span { font-weight: 500; font-size: 13px; color: var(--ink-soft); }

/* ---------- careers ---------- */
.section-careers { background: var(--white); }
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.job-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--lime-200); }
.job-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--green-700);
  border-radius: 999px;
  padding: 5px 14px;
  line-height: 1.5;
}
.job-badge-part { background: var(--wood); }
.job-title {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(21px, 2.2vw, 26px);
  color: var(--green-900);
  letter-spacing: .03em;
  line-height: 1.45;
}
.job-sub { margin-top: 2px; font-size: 13.5px; color: var(--green-500); font-weight: 500; }
.job-meta {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.job-meta div { display: flex; gap: 12px; font-size: 14px; }
.job-meta dt {
  flex: 0 0 62px;
  color: var(--ink-soft);
  font-size: 12.5px;
  padding-top: 2px;
}
.job-meta dd { font-weight: 700; color: var(--green-900); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.job-tags li {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-700);
  background: var(--lime-50);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.6;
}
.job-toggle {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 16px 2px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-700);
  cursor: pointer;
}
.job-toggle-icon {
  position: relative;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime-50);
}
.job-toggle-icon::before,
.job-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.6px;
  background: var(--green-700);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.job-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.job-toggle[aria-expanded="true"] .job-toggle-icon::after { transform: translate(-50%, -50%) rotate(0); }
.job-detail {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  animation: detailIn .35s var(--ease);
}
.job-detail[hidden] { display: none; }
.job-detail dl { display: grid; gap: 10px; margin-bottom: 20px; }
.job-detail dl div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 13.5px; }
.job-detail dt { color: var(--ink-soft); font-size: 12.5px; }
.job-detail dd { color: var(--ink); }
@keyframes detailIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.careers-cta { margin-top: 34px; text-align: center; }

/* ---------- benefits ---------- */
.section-benefits { background: var(--lime-50); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.benefit {
  background: var(--white);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--lime-50);
  color: var(--green-700);
  margin-bottom: 14px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--green-900);
  letter-spacing: .02em;
  line-height: 1.5;
}
.benefit p { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- selection ---------- */
.section-selection { background: var(--cream); }
.selection-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
}
.step-no {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 0 0 0 6px var(--cream);
}
.step-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green-500);
}
.step h3 {
  margin-top: 2px;
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--green-900);
}
.step p:last-child { margin-top: 4px; font-size: 13px; color: var(--ink-soft); }
.selection-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- faq ---------- */
.section-faq { background: var(--white); }
.faq-list { display: grid; gap: 10px; }
.faq {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  display: inline-block;
  margin-right: 12px;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--green-500);
}
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%; right: 22px;
  width: 12px; height: 12px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p {
  padding: 0 22px 20px 48px;
  font-size: 14px;
  color: var(--ink-soft);
}
.faq[open] summary { background: var(--lime-50); }

/* ---------- company ---------- */
.section-company { background: var(--cream); }
.company-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.company-table > div:last-child { border-bottom: 0; }
.company-table dt { color: var(--ink-soft); font-size: 13px; }
.company-table dd { color: var(--ink); }
.company-table a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final ---------- */
.section-final {
  background: var(--cream);
  padding-bottom: clamp(100px, 12vw, 160px);
}
.final-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 10%, rgba(143, 194, 74, .4), transparent 45%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}
.final-card::before {
  content: "";
  position: absolute;
  left: -60px; bottom: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
}
.final-card .section-label { color: var(--lime-200); }
.final-title {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}
.final-text {
  margin: 22px auto 0;
  max-width: 660px;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .86);
}
.final-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .82);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
}
.footer-addr { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.footer-nav a { border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.footer-nav a:hover { color: var(--lime-200); }
.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}

/* ---------- mobile cta ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 243, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 14px; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1080px) {
  .global-nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 110;
    width: min(86vw, 380px);
    height: 100dvh;
    background: var(--cream);
    padding: 96px 32px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(102%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(35, 64, 42, .18);
    overflow-y: auto;
  }
  body.nav-open .global-nav { transform: none; }
  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .global-nav ul li { border-bottom: 1px solid var(--line); }
  .global-nav ul a { display: block; padding: 16px 4px; font-size: 15px; }
  .global-nav ul a::after { display: none; }
  .nav-cta { margin-top: 26px; }
  .menu-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); padding-bottom: 120px; }
  .scroll-cue { display: none; }

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

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin-inline: auto; width: 100%; }
  .value-grid,
  .flow-grid { grid-template-columns: 1fr; }
  .factory-top { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .selection-steps { grid-template-columns: repeat(2, 1fr); }
  .selection-steps::before { display: none; }
  .step-no { box-shadow: none; }
  .company-table > div { grid-template-columns: 120px 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .brand-logo { height: 38px; }
  .brand-label { display: none; }
  .sp-only { display: block; }

  .hero { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero h1 .h1-sub { font-size: .54em; }
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 8px 8px 28px 20px; }
  .hero-badge { width: 96px; height: 96px; right: -4px; }
  .hero-badge-num { font-size: 32px; }
  .hero-badge-text { font-size: 8px; }
  .hero-locations { display: none; }
  .hero-locations-inner { gap: 10px; font-size: 11px; letter-spacing: .02em; }
  .loc-sep { display: none; }
  .hero-locations-inner { justify-content: space-between; }

  .product-strip { grid-template-columns: repeat(2, 1fr); }
  .process-list { gap: 12px; }
  .tl-item { grid-template-columns: 68px 1fr; gap: 14px; }
  .tl-item::before { left: 77px; }
  .tl-item::after { left: 71px; }
  .tl-time { font-size: 16px; }
  .tl-body { padding: 15px 18px; }

  .message-sign { text-align: left; }
  .job-card { padding: 26px 22px 22px; }
  .job-meta div { font-size: 13px; }
  .job-detail dl div { grid-template-columns: 74px 1fr; }

  .company-table > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; }
  .company-table dd { font-size: 13.5px; }

  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-nav { gap: 18px; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .section-final { padding-bottom: 64px; }
}

@media (max-width: 400px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .hero-tags li { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
