/* ============================================
   MARUSEI TECH RECRUIT — Editorial Theme
   monotone base · photo-driven · whitespace
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Oswald:wght@300;400;500;600;700&family=Caveat:wght@700&display=swap");

:root {
  --ink: #16181d;
  --ink-soft: #3a3d44;
  --paper: #ffffff;
  --mist: #f4f3f0;
  --mist-2: #ebe9e4;
  --line: #e2dfd9;
  --muted: #8c8a83;
  --accent: #ffd836;
  --accent-d: #e9be10;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Oswald", sans-serif;
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 80px);
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ============== EN display helpers ============== */
.en {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* section eyebrow: 01 / LABEL */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 14px;
  color: var(--ink);
  text-transform: uppercase;
}
.eyebrow .num {
  color: var(--accent-d);
  font-weight: 700;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 90px;
}

.sec-title {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.02em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.sec-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-soft);
  line-height: 2.05;
  max-width: 640px;
  margin-top: 26px;
  text-wrap: pretty;
}

/* big ghost EN word behind sections */
.ghost {
  font-family: var(--font-en);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mist-2);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

/* link arrow button */
.view {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 14px;
  text-transform: uppercase;
  padding-bottom: 6px;
  position: relative;
}
.view::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(.6,0,.2,1);
}
.view .arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.view:hover::before { transform: scaleX(0); transform-origin: left; }
.view:hover .arrow { background: var(--accent); border-color: var(--accent); transform: translateX(4px); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0);
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  height: 68px;
}
.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand-logo {
  width: auto;
  height: 48px;
  border-radius: 9px;
  flex-shrink: 0;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
}
.logo-company {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.lc-top { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.lc-bot { font-size: 16px; font-weight: 900; letter-spacing: 0.02em; color: var(--ink); }
.lc-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
}
/* header over hero (not scrolled): light text */
.site-header:not(.scrolled) .lc-top,
.site-header:not(.scrolled) .lc-bot { color: #fff; }
.site-header:not(.scrolled) .lc-en { color: rgba(255,255,255,0.7); }

.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.global-nav a {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  color: var(--ink);
  transition: color 0.3s;
}
.global-nav a .jp {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.global-nav a:hover::after { width: 100%; }
.site-header:not(.scrolled) .global-nav a { color: #fff; }
.site-header:not(.scrolled) .global-nav a .jp { color: rgba(255,255,255,0.72); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.entry-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 999px;
  transition: background 0.3s, transform 0.3s;
}
.entry-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.entry-pill:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.entry-pill:hover .dot { background: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}
.hamburger span {
  width: 28px; height: 2px; background: var(--ink);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }
body.nav-open .hamburger span { background: var(--ink); }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 24s infinite;
  transform: scale(1.06);
}
.hero-photo:nth-child(1) { animation-delay: 0s; }
.hero-photo:nth-child(2) { animation-delay: 6s; }
.hero-photo:nth-child(3) { animation-delay: 12s; }
.hero-photo:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.1); }
  6%   { opacity: 1; }
  25%  { opacity: 1; transform: scale(1.02); }
  31%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,14,18,0.45) 0%, rgba(12,14,18,0.18) 35%, rgba(12,14,18,0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px) clamp(60px, 9vh, 120px);
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: clamp(11px, 1.3vw, 14px);
  text-transform: uppercase;
  margin-bottom: 26px;
  opacity: 0.92;
}
.hero h1 {
  font-size: clamp(46px, 11vw, 138px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.hero h1 .l2 { color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 2.6vw, 30px);
  font-weight: 700;
  margin-top: 26px;
  letter-spacing: 0.04em;
}
.hero-tag {
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: 0.24em;
  font-size: clamp(12px, 1.4vw, 16px);
  text-transform: uppercase;
  margin-top: 18px;
  opacity: 0.85;
}
.hero-scroll {
  position: absolute;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(60px, 9vh, 120px);
  z-index: 2;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 70px;
  background: linear-gradient(#fff, rgba(255,255,255,0.1));
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0%,100%{opacity:.3;transform:scaleY(.6);} 50%{opacity:1;transform:scaleY(1);} }

/* ============================================
   SECTION SHELL
   ============================================ */
.section { padding: clamp(72px, 12vh, 150px) 0; position: relative; }
.section.mist { background: var(--mist); }
.section.ink { background: var(--ink); color: #fff; }

/* ============== MESSAGE ============== */
.message { position: relative; overflow: hidden; }
.message .ghost {
  position: absolute;
  top: clamp(40px, 7vw, 90px);
  right: calc(-1 * var(--gut));
  font-size: clamp(90px, 20vw, 300px);
}
.message-inner { position: relative; z-index: 1; max-width: 940px; }
.message-lead {
  font-size: clamp(26px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 30px 0 40px;
  text-wrap: balance;
}
.message-lead .mk {
  background: linear-gradient(transparent 62%, var(--accent) 62% 94%, transparent 94%);
}
.message-body { columns: 1; }
.message-body p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2.2;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 760px;
  text-wrap: pretty;
}
.message-sign {
  margin-top: 30px;
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============== SPLIT (about / works) ============== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split.rev .split-media { order: 2; }
.split-media {
  position: relative;
}
.split-media .ph-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.split-media .ph-sub {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  border: 6px solid var(--paper);
  bottom: -34px;
  right: -22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.section.mist .split-media .ph-sub { border-color: var(--mist); }
.split-media .tagstamp {
  position: absolute;
  top: -22px; left: -18px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 13px;
  padding: 10px 18px;
  text-transform: uppercase;
}
.split-body .view { margin-top: 38px; }

/* store cards */
.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}
.store-card { position: relative; overflow: hidden; border-radius: 4px; }
.store-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.7s; }
.store-card:hover img { transform: scale(1.05); }
.store-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.store-cap b { font-size: 19px; font-weight: 700; }
.store-cap .go { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; }

/* ============== WORK STEPS ============== */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--paper);
  padding: 30px 22px 28px;
}
.section.mist .step { background: var(--mist); }
.step .step-n {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 30px;
  color: var(--accent-d);
  line-height: 1;
}
.step h4 { font-size: 16px; font-weight: 700; margin: 14px 0 8px; }
.step p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* ============== WHY / MERIT list ============== */
.why-list { margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.16); }
.why-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.why-n {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  color: var(--accent);
  line-height: 0.9;
}
.why-c h4 { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.02em; }
.why-c p { font-size: 14.5px; line-height: 1.95; color: rgba(255,255,255,0.7); max-width: 720px; }

/* ============== PEOPLE / atmosphere ============== */
.people-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.staff-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.staff-fig {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.staff-fig img {
  height: 98%;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 8px 12px rgba(20,24,30,0.18));
}
.staff-tag {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* marquee gallery */
.marquee { margin-top: 64px; overflow: hidden; position: relative; --gap: 14px; }
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: scrollX 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: clamp(180px, 26vw, 300px);
  width: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1);
  transition: filter 0.5s;
}
.marquee-track img:hover { filter: grayscale(0); }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap)/2)); } }

/* ============== SNS ============== */
.sns-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 46px;
}
.sns-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.sns-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); border-color: transparent; }
.sns-card .ic { width: 56px; height: 56px; flex-shrink: 0; }
.sns-card .tx { display: flex; flex-direction: column; gap: 3px; }
.sns-card .nm { font-weight: 700; font-size: 17px; }
.sns-card .hd { font-size: 13px; color: var(--muted); }
.sns-card .mt { font-size: 12px; color: var(--muted); }
.sns-card .go { margin-left: auto; font-family: var(--font-en); font-size: 20px; color: var(--ink); }
.behold-wrap { margin-top: 36px; }

/* ============== RECRUIT / ENTRY ============== */
.recruit { background: var(--ink); color: #fff; }
.recruit .eyebrow { color: #fff; }
.recruit .eyebrow::after { background: rgba(255,255,255,0.2); }
.recruit .sec-title { color: #fff; }

.role-primary {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1f2228;
}
.role-primary .rp-media { position: relative; min-height: 320px; }
.role-primary .rp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.role-primary .rp-body { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.rp-badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 12px;
  padding: 7px 15px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.rp-body h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.35; }
.rp-body p { color: rgba(255,255,255,0.72); font-size: 15px; line-height: 2; margin: 18px 0 30px; max-width: 460px; }
.btn-solid {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform 0.3s, filter 0.3s;
}
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.05); }

.roles-sub {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.role-card:hover { background: #22262d; transform: translateY(-3px); }
.role-card .rc-en { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase; }
.role-card h4 { font-size: 20px; font-weight: 700; }
.role-card p { font-size: 13.5px; color: rgba(255,255,255,0.66); line-height: 1.85; }
.role-card .rc-go { margin-top: auto; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; color: #fff; display: inline-flex; gap: 8px; }

.recruit-info-row {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 26px 30px;
}
.recruit-info-row .ri-t { font-size: 18px; font-weight: 700; }
.recruit-info-row .ri-t span { color: var(--muted); font-size: 13px; font-weight: 400; display: block; font-family: var(--font-en); letter-spacing: 0.16em; text-transform: uppercase; }

/* ============== FOOTER ============== */
.foot-cta {
  background: var(--accent);
  text-align: center;
  padding: clamp(60px, 9vw, 110px) var(--gut);
}
.foot-cta .fc-en { font-family: var(--font-en); font-weight: 700; letter-spacing: 0.2em; font-size: 14px; text-transform: uppercase; }
.foot-cta h2 { font-size: clamp(30px, 5.5vw, 64px); font-weight: 900; line-height: 1.2; margin: 14px 0 32px; letter-spacing: 0.02em; }
.foot-cta .btn-solid { background: var(--ink); color: #fff; }
.foot-cta .btn-solid:hover { filter: brightness(1.15); }

.site-footer { background: var(--ink); color: #fff; padding: clamp(50px, 7vw, 80px) 0 36px; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .brand-logo { height: 52px; }
.footer-logo .lc-top, .footer-logo .lc-bot { color: #fff; }
.footer-logo .lc-en { color: rgba(255,255,255,0.6); }
.footer-nav { display: flex; gap: clamp(28px, 5vw, 70px); flex-wrap: wrap; }
.footer-nav h5 { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }
.footer-nav a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.78); padding: 5px 0; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 50px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.footer-address { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 14px; line-height: 1.8; }

/* ============== REVEAL ============== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .global-nav, .header-cta .entry-pill { display: none; }
  .hamburger { display: flex; }

  .global-nav {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.6,0,.2,1);
    z-index: 110;
  }
  body.nav-open .global-nav { transform: none; }
  .global-nav ul { flex-direction: column; gap: 30px; text-align: center; }
  .global-nav a { color: var(--ink) !important; font-size: 18px; align-items: center; }
  .global-nav a .jp { color: var(--muted) !important; }
}

@media (max-width: 880px) {
  .split, .split.rev { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .split-media .ph-sub { width: 40%; bottom: -20px; right: -8px; }
  .stores { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .staff-stage { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sns-cards { grid-template-columns: 1fr; }
  .role-primary { grid-template-columns: 1fr; }
  .role-primary .rp-media { min-height: 220px; }
  .roles-sub { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 30px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 40px; }
  .lc-bot { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .why-item { grid-template-columns: 64px 1fr; gap: 16px; }
  .hero h1 { font-size: clamp(40px, 16vw, 72px); }
  .hero-scroll { display: none; }
}

/* honeypot (form on entry page reuse) */
.ef-honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ============================================
   SUBPAGES (entry / about / info / jobs)
   ============================================ */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 clamp(46px, 7vh, 80px);
  overflow: hidden;
}
.page-hero .ghost {
  position: absolute;
  right: calc(-1 * var(--gut) / 2);
  bottom: -0.08em;
  font-size: clamp(80px, 16vw, 230px);
  color: rgba(255,255,255,0.05);
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::after { background: rgba(255,255,255,0.2); }
.page-hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.page-hero .ph-lead {
  margin-top: 18px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,0.72);
  line-height: 2;
  max-width: 640px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 30px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }

/* ---- spec table (募集要項・会社概要) ---- */
.spec-table { margin-top: 46px; border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}
.spec-row dt {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.spec-row dt::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(-1px);
}
.spec-row dd {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
}
.spec-row dd small { color: var(--muted); font-size: 12.5px; }
.section.ink .spec-table { border-color: rgba(255,255,255,0.14); }
.section.ink .spec-row { border-color: rgba(255,255,255,0.14); }
.section.ink .spec-row dt { color: #fff; }
.section.ink .spec-row dd { color: rgba(255,255,255,0.72); }

/* ---- point cards ---- */
.point-cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.point-cards.cols4 { grid-template-columns: repeat(4, 1fr); }
.point-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px;
}
.section.mist .point-card { border-color: transparent; }
.point-card .pc-n {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--accent-d);
}
.point-card .pc-big {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.35;
  margin-top: 10px;
}
.point-card .pc-big span { font-size: 0.6em; font-weight: 700; }
.point-card h4 { font-size: 17px; font-weight: 700; margin-top: 10px; }
.point-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; margin-top: 10px; }

/* ---- FAQ ---- */
.faq-list { margin-top: 46px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 4px;
  font-weight: 700;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent-d);
  font-size: 20px;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a {
  display: flex;
  gap: 16px;
  padding: 0 4px 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
}
.faq-a::before {
  content: "A";
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--muted);
  font-size: 20px;
  flex-shrink: 0;
}

/* ---- back link row ---- */
.back-row { margin-top: 60px; display: flex; justify-content: center; }

/* ============== ENTRY FORM ============== */
.entry-form { margin-top: 50px; }
.ef-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 26px 24px;
}
.ef-col-full { grid-column: span 6; }
.ef-col-half { grid-column: span 3; }
.ef-col-third { grid-column: span 2; }
.ef-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.ef-req, .ef-opt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 3px;
}
.ef-req { background: var(--ink); color: var(--accent); }
.ef-opt { background: var(--mist-2); color: var(--muted); }
.ef-row input:not([type="checkbox"]),
.ef-row select,
.ef-row textarea {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.ef-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2316181d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.ef-row input:focus, .ef-row select:focus, .ef-row textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255,216,54,0.35);
}
.ef-row input.is-invalid, .ef-row select.is-invalid, .ef-row textarea.is-invalid {
  border-color: #d0342c;
  box-shadow: 0 0 0 3px rgba(208,52,44,0.12);
}
.ef-row textarea { resize: vertical; min-height: 110px; }
.ef-row input::placeholder, .ef-row textarea::placeholder { color: #b9b6ae; }

.ef-agree { text-align: center; margin-top: 6px; }
.ef-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
}
.ef-check input { width: 20px; height: 20px; accent-color: var(--accent-d); }
.ef-check a { text-decoration: underline; text-underline-offset: 3px; }

.ef-submit-wrap { text-align: center; margin-top: 40px; }
.ef-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 20px 52px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.ef-submit:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.ef-submit:disabled { opacity: 0.55; cursor: wait; transform: none; }
.ef-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.ef-result {
  display: none;
  margin-top: 30px;
  padding: 18px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.9;
}
.ef-result.show { display: block; }
.ef-result.success { background: #eef7ee; color: #1e6b2e; border: 1px solid #bfe0c2; }
.ef-result.error { background: #fdefee; color: #a12620; border: 1px solid #f0c4c0; }

/* ---- tel card (subpage CTA) ---- */
.tel-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  flex-wrap: wrap;
}
.tel-row .tel-num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0.04em;
}
.tel-row .tel-cap { font-size: 12.5px; color: var(--ink-soft); }

/* ---- responsive (subpages) ---- */
@media (max-width: 880px) {
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 2px; }
  .point-cards, .point-cards.cols4 { grid-template-columns: 1fr; }
  .ef-col-half, .ef-col-third { grid-column: span 6; }
}

/* ===== COLUMN ===== */
.column-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.column-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: var(--paper); padding: 28px 26px; transition: border-color 0.2s, transform 0.2s; }
.column-card:hover { border-color: var(--accent-d); transform: translateY(-3px); }
.column-card .cc-tag { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-d); font-weight: 700; }
.column-card h3 { font-size: 17px; font-weight: 700; line-height: 1.6; }
.column-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }
.column-card .cc-more { margin-top: auto; font-family: var(--font-en); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.article-body { max-width: 800px; margin: 0 auto; }
.article-date { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.article-body h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; line-height: 1.5; margin: 54px 0 20px; padding-left: 16px; border-left: 4px solid var(--accent); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 34px 0 12px; }
.article-body p { font-size: 15px; line-height: 2.1; color: var(--ink-soft); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 1.5em; }
.article-body li { font-size: 15px; line-height: 2; color: var(--ink-soft); margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-d); text-underline-offset: 3px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; line-height: 1.7; }
.article-body th { background: var(--mist); font-weight: 700; white-space: nowrap; }
.article-cta { margin-top: 48px; background: var(--mist); border-left: 4px solid var(--accent); padding: 28px 30px; }
.article-cta p { margin-bottom: 0; }
.article-nav { max-width: 800px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 900px) { .column-list { grid-template-columns: 1fr; } }

/* ===== COLUMN CROSS LINKS ===== */
.related-articles { margin-top: 48px; border: 1px solid var(--line); padding: 4px 30px 22px; }
.related-articles h2 { font-size: 18px; margin: 24px 0 14px; }
.related-articles li { margin-bottom: 10px; }
.column-list.two { grid-template-columns: repeat(2, 1fr); }
.col-more { margin-top: 30px; font-size: 14px; font-weight: 700; }
.col-more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-d); text-underline-offset: 3px; }
.column-hub-note { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 2.2; color: var(--ink-soft); }
.column-hub-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-d); text-underline-offset: 3px; }
@media (max-width: 900px) { .column-list.two { grid-template-columns: 1fr; } }
