@charset "utf-8";
/* =========================================================================
   MIRAI FOOD WORKS — recruit site
   デザイン設定はこのファイル冒頭の変数に集約しています。
   ここを変更するとサイト全体のトーンがまとめて変わります。
   ========================================================================= */

:root {
  /* color */
  --ink: #0f1418;
  --ink-2: #38424d;
  --sub: #6b7684;
  --line: #e5e7eb;
  --paper: #ffffff;
  --paper-2: #f6f4f1;
  --deep: #10161c;
  --deep-2: #171f27;
  --accent: #ff5a1f;
  --accent-d: #e04407;
  --gold: #f2b705;
  --teal: #1f5f6b;

  /* type */
  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-en: "Outfit", "Zen Kaku Gothic New", sans-serif;

  /* layout */
  --wrap: 1180px;
  --pad: 24px;
  --header-h: 76px;
  --r: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
img, svg { 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, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- layout */
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.wrap-n { width: min(100% - var(--pad) * 2, 880px); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 130px) 0; }
.sec-dark { background: var(--deep); color: #fff; }
.sec-paper { background: var(--paper-2); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------- typography */
.en { font-family: var(--f-en); font-weight: 700; letter-spacing: 0.14em; }
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en); font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase;
}
.sec-label::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.sec-dark .sec-label { color: var(--gold); }
.sec-dark .sec-label::before { background: var(--gold); }

.sec-title {
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 900; line-height: 1.45; letter-spacing: 0.01em;
  margin-top: 18px;
}
.sec-lead { margin-top: 22px; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); }
.sec-dark .sec-lead { color: #c3ccd6; }
.mark { background: linear-gradient(transparent 62%, rgba(255, 90, 31, 0.28) 0); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
  will-change: transform;
}
.btn svg { flex: none; }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(255, 90, 31, 0.8); }
.btn-main:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(255, 90, 31, 0.85); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); }
.sec:not(.sec-dark) .btn-ghost:hover { background: rgba(15, 20, 24, 0.05); }
.btn-w { background: #fff; color: var(--ink); }
.btn-w:hover { transform: translateY(-2px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.txt-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
  transition: gap 0.25s var(--ease);
}
.txt-link:hover { gap: 16px; }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.35s, box-shadow 0.35s, height 0.35s;
}
.header.is-solid {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 64px;
}
.header-in { width: min(100% - 32px, 1440px); margin-inline: auto; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 11px; color: #fff; transition: color 0.3s; }
.header.is-solid .logo, .header.is-light .logo { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-family: var(--f-en); font-size: 16px; letter-spacing: 0.13em; font-weight: 800; }
.logo-txt small { font-size: 10px; letter-spacing: 0.16em; opacity: 0.72; }

.gnav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.gnav a {
  position: relative; font-size: 14px; font-weight: 700; color: #fff;
  opacity: 0.92; transition: color 0.3s, opacity 0.2s;
}
.header.is-solid .gnav a, .header.is-light .gnav a { color: var(--ink); }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav .btn { padding: 12px 24px; font-size: 14px; color: #fff; }
.gnav .btn::after { display: none; }

.burger {
  display: none; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); position: relative; cursor: pointer;
}
.header.is-solid .burger, .header.is-light .burger { background: rgba(15, 20, 24, 0.07); }
.burger span {
  position: absolute; left: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.header.is-solid .burger span, .header.is-light .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
body.nav-open .burger span { background: var(--ink); }
body.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(38deg); }
body.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-38deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  transform: translateY(-100%); transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
body.nav-open .drawer { transform: translateY(0); }
.drawer a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }
.drawer a .en { display: block; font-size: 11px; color: var(--accent); letter-spacing: 0.18em; }
.drawer .btn { width: 100%; margin-top: 26px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 40px; overflow: hidden;
  background: var(--deep); color: #fff;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(0, 0, 0, 0) 40%, rgba(8, 11, 14, 0.85) 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; animation: float 18s var(--ease) infinite alternate; }
.blob-1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw; background: #ff5a1f; }
.blob-2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw; background: #f2b705; animation-delay: -6s; }
.blob-3 { width: 38vw; height: 38vw; left: 32vw; bottom: -14vw; background: #1f5f6b; opacity: 0.7; animation-delay: -11s; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -3vw, 0) scale(1.14); }
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}
.hero-in { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
}
.hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.8); } }

.hero h1 {
  margin-top: 26px; font-size: clamp(38px, 8.6vw, 104px); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.01em;
}
.hero h1 .l { display: block; overflow: hidden; }
.hero h1 .l > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .l:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead {
  margin-top: 26px; max-width: 34em; color: #d5dce4; font-size: clamp(14px, 1.7vw, 17px);
  opacity: 0; animation: fade 0.9s 0.5s var(--ease) forwards;
}
@keyframes fade { to { opacity: 1; } }
.hero .btns { margin-top: 38px; opacity: 0; animation: fade 0.9s 0.7s var(--ease) forwards; }

.hero-foot {
  margin-top: clamp(40px, 7vw, 78px); display: flex; align-items: flex-end; gap: 30px;
  flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 22px;
  opacity: 0; animation: fade 0.9s 0.9s var(--ease) forwards;
}
.hero-types { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-types div b { display: block; font-family: var(--f-en); font-size: 13px; letter-spacing: 0.2em; color: var(--gold); }
.hero-types div span { font-size: 13px; color: #cfd7df; }
.hero-scroll { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; color: #aeb8c2; }
.hero-scroll i { display: block; width: 1px; height: 40px; background: linear-gradient(#fff, transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (下層) */
.phero {
  position: relative; background: var(--deep); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 62px) 0 62px;
}
.phero .hero-bg { opacity: 0.85; }
.phero-in { position: relative; z-index: 2; }
.phero h1 { font-size: clamp(28px, 5.2vw, 54px); font-weight: 900; line-height: 1.3; margin-top: 14px; }
.phero p { margin-top: 18px; color: #c9d2dc; max-width: 46em; }
.crumbs { position: relative; z-index: 2; font-size: 12px; color: #93a0ad; padding: 14px 0 0; }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; background: var(--accent); color: #fff; padding: 13px 0; }
.marquee-in { display: flex; gap: 40px; width: max-content; animation: slide 26s linear infinite; }
.marquee span { font-family: var(--f-en); font-size: 14px; letter-spacing: 0.24em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- numbers */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); overflow: hidden; }
.num { background: var(--deep); padding: 30px 24px; }
.num b { font-family: var(--f-en); font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1; color: #fff; }
.num b i { font-style: normal; font-size: 0.42em; margin-left: 4px; color: var(--gold); }
.num p { margin-top: 10px; font-size: 14px; font-weight: 700; }
.num small { display: block; font-size: 12px; color: #97a3af; line-height: 1.6; }

/* ----------------------------------------------------------------- cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(15, 20, 24, 0.45); }
.value::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.value:hover::before { transform: scaleX(1); }
.value .no { font-family: var(--f-en); font-size: 13px; color: var(--accent); letter-spacing: 0.2em; }
.value h3 { margin-top: 12px; font-size: 20px; font-weight: 900; line-height: 1.55; }
.value p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- brands */
.brand { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.brand + .brand { margin-top: clamp(48px, 7vw, 96px); }
.brand:nth-child(even) .brand-visual { order: 2; }
.brand-visual { position: relative; border-radius: var(--r); overflow: hidden; }
.brand-visual img { width: 100%; transition: transform 0.7s var(--ease); }
.brand:hover .brand-visual img { transform: scale(1.045); }
.brand-type {
  position: absolute; left: 18px; top: 18px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
}
.brand-en { font-family: var(--f-en); font-size: 12px; letter-spacing: 0.22em; color: var(--accent); }
.brand h3 { margin-top: 10px; font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.4; }
.brand .catch { margin-top: 16px; font-size: clamp(16px, 2vw, 20px); font-weight: 700; color: var(--ink); }
.brand p.desc { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.brand-stats { display: flex; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.brand-stats div { border-left: 2px solid var(--accent); padding-left: 12px; }
.brand-stats b { display: block; font-family: var(--f-en); font-size: 20px; }
.brand-stats span { font-size: 12px; color: var(--sub); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 12px; padding: 6px 13px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.sec-dark .tags li { background: rgba(255, 255, 255, 0.1); color: #d8dfe6; }

/* -------------------------------------------------------------- timeline */
.road { position: relative; display: grid; gap: 0; }
.road::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: rgba(255, 255, 255, 0.18); }
.road-item { position: relative; padding: 0 0 40px 46px; }
.road-item:last-child { padding-bottom: 0; }
.road-item::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--deep); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.road-item.is-now::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.22); }
.road-year { font-family: var(--f-en); font-size: 26px; font-weight: 800; letter-spacing: 0.06em; }
.road-badge { display: inline-block; margin-left: 12px; font-size: 11px; padding: 4px 11px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: 0.08em; vertical-align: 3px; }
.road-label { margin-top: 4px; font-size: 19px; font-weight: 900; color: var(--gold); }
.road-item p { margin-top: 8px; color: #c2cbd5; font-size: 14.5px; max-width: 46em; }

/* ------------------------------------------------------------- interview */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { display: block; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(15, 20, 24, 0.5); }
.person-img { position: relative; overflow: hidden; }
.person-img img { width: 100%; transition: transform 0.7s var(--ease); }
.person:hover .person-img img { transform: scale(1.05); }
.person-body { padding: 24px 24px 28px; }
.person-catch { font-size: 18px; font-weight: 900; line-height: 1.6; }
.person-meta { margin-top: 14px; font-size: 13px; color: var(--sub); }
.person-meta b { display: block; font-size: 15px; color: var(--ink); }

.iv { border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px); }
.iv + .iv { margin-top: clamp(46px, 6vw, 76px); }
.iv-head { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.iv-head img { border-radius: var(--r); }
.iv-catch { font-size: clamp(21px, 3vw, 30px); font-weight: 900; line-height: 1.6; }
.iv-name { margin-top: 18px; font-size: 15px; color: var(--sub); }
.iv-name b { font-size: 19px; color: var(--ink); margin-right: 10px; }
.iv-text { margin-top: 18px; color: var(--ink-2); }
.qa { margin-top: 26px; display: grid; gap: 16px; }
.qa div { background: var(--paper-2); border-radius: 14px; padding: 20px 22px; }
.qa dt { font-weight: 800; font-size: 15px; }
.qa dt::before { content: "Q. "; color: var(--accent); font-family: var(--f-en); }
.qa dd { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- career */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 132px 190px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px;
  position: relative; transition: border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover { border-color: var(--accent); transform: translateX(6px); }
.step-no { font-family: var(--f-en); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); }
.step-no b { display: block; font-size: 22px; color: var(--ink); letter-spacing: 0; margin-top: 2px; }
.step-period { font-size: 13px; color: var(--sub); border-left: 2px solid var(--line); padding-left: 18px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

.benefit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.benefit:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -30px rgba(15, 20, 24, 0.5); }
.benefit .ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--gold)); display: grid; place-items: center; }
.benefit h3 { margin-top: 16px; font-size: 17px; font-weight: 900; line-height: 1.5; }
.benefit p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* ----------------------------------------------------------------- jobs */
.job { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.job + .job { margin-top: 18px; }
.job-head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; background: var(--paper-2); flex-wrap: wrap; }
.job-tag { font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; }
.job-tag.part { background: var(--teal); }
.job-head h3 { font-size: 19px; font-weight: 900; }
.job-body { padding: 8px 26px 26px; }
.job-body dl { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--line); }
.job-body dt, .job-body dd { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.job-body dt { font-weight: 800; color: var(--sub); font-size: 13.5px; }
.job-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.job-points li { font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(255, 90, 31, 0.09); padding: 8px 15px; border-radius: 10px; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; position: relative; }
.flow-item .no { font-family: var(--f-en); font-size: 12px; color: var(--accent); letter-spacing: 0.18em; }
.flow-item h3 { margin-top: 8px; font-size: 16px; font-weight: 900; }
.flow-item p { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }

/* ------------------------------------------------------------------- faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; font-weight: 800; font-size: 16px;
}
.faq-q::before { content: "Q"; font-family: var(--f-en); color: var(--accent); flex: none; }
.faq-q .mk { margin-left: auto; flex: none; width: 20px; height: 20px; position: relative; }
.faq-q .mk::before, .faq-q .mk::after { content: ""; position: absolute; inset: 9px 0 auto; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.faq-q .mk::after { transform: rotate(90deg); }
.faq-item.open .mk::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 24px 30px; color: var(--ink-2); font-size: 14.5px; }

/* ------------------------------------------------------------------ form */
.form { display: grid; gap: 22px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 9px; }
.req { font-size: 11px; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.opt { font-size: 11px; color: var(--sub); background: var(--paper-2); padding: 3px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.14);
}
.field.err input, .field.err select, .field.err textarea { border-color: #d92d20; }
.err-msg { display: none; color: #d92d20; font-size: 13px; margin-top: 7px; font-weight: 700; }
.field.err .err-msg { display: block; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label {
  margin: 0; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 14px; transition: all 0.2s;
}
.radios input { position: absolute; opacity: 0; }
.radios label:has(input:checked) { border-color: var(--accent); background: rgba(255, 90, 31, 0.08); color: var(--accent-d); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--sub); }
.form-msg { display: none; padding: 18px 20px; border-radius: 12px; font-weight: 700; }
.form-msg.ok { display: block; background: #e7f6ec; color: #14603a; }
.form-msg.ng { display: block; background: #fdecea; color: #a4231c; }

/* ------------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: clamp(60px, 8vw, 110px) 0; }
.cta .hero-bg { opacity: 0.9; }
.cta-in { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-size: clamp(26px, 4.6vw, 46px); font-weight: 900; line-height: 1.4; }
.cta p { margin-top: 18px; color: #c8d1da; }
.cta .btns { justify-content: center; margin-top: 34px; }

/* ---------------------------------------------------------------- footer */
.footer { background: #0a0e12; color: #9aa5b1; padding: 60px 0 130px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer-addr { margin-top: 18px; line-height: 1.9; font-size: 13.5px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.footer-nav a { transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

.sticky-cta { display: none; }

/* ------------------------------------------------------------- utilities */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; } .reveal.d3 { transition-delay: 0.3s; }

.notice {
  background: #fffaf0; border: 1px solid #f4d799; border-radius: 14px; padding: 18px 22px;
  font-size: 13.5px; color: #7a5a12; line-height: 1.85;
}
.notice b { color: #6a4c07; }

.rich h2 { font-size: 22px; font-weight: 900; margin-top: 40px; }
.rich h2:first-child { margin-top: 0; }
.rich p { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.rich ul { margin-top: 14px; display: grid; gap: 8px; }
.rich li { padding-left: 18px; position: relative; color: var(--ink-2); font-size: 15px; }
.rich li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 17px 8px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.table th { width: 190px; font-weight: 800; color: var(--sub); font-size: 14px; }

/* ---------------------------------------------------------- breakpoints */
@media (max-width: 1024px) {
  .grid-3, .people { grid-template-columns: repeat(2, 1fr); }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 110px 1fr; }
  .step p { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .gnav { display: none; }
  .burger { display: block; }
  .brand, .iv-head, .footer-top { grid-template-columns: 1fr; }
  .brand:nth-child(even) .brand-visual { order: 0; }
  .iv-head img { max-width: 260px; }
}
@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 15px; line-height: 1.85; }
  .grid-3, .grid-2, .people, .nums, .flow { grid-template-columns: 1fr; }
  .nums { border-radius: 14px; }
  .hero { min-height: 92svh; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 54px); }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .step-period { border-left: 0; padding-left: 0; }
  .job-body dl { grid-template-columns: 1fr; }
  .job-body dt { padding-bottom: 0; border-bottom: 0; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-bottom: 110px; }
  .btn { width: 100%; }
  .btns { flex-direction: column; }
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line);
  }
  .sticky-cta .btn { flex: 1; padding: 14px 10px; font-size: 14px; }
  .table th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; }
  .table td { display: block; padding-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .l > span { transform: none; }
}
