/* =========================================================
   ROOTIVE - style.css
   レイアウト / コンポーネント / アニメーション
   ========================================================= */

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 1.4rem; color: var(--paper); }
.loader__logo { width: clamp(140px, 30vw, 200px); opacity: 0; transform: translateY(10px); animation: loaderLogo .9s var(--ease-out) .15s forwards; }
.loader__logo img { width: 100%; }
.loader__roots { width: clamp(120px, 26vw, 170px); color: var(--ember); }
.root-line {
  stroke-dasharray: 620; stroke-dashoffset: 620;
  animation: rootDraw 1.8s var(--ease-out) .3s forwards;
}
.loader__count {
  font-family: var(--f-en); font-size: .8rem; letter-spacing: .3em;
  color: var(--muted-d);
}
.loader__count::after { content: "%"; }
@keyframes loaderLogo { to { opacity: 1; transform: translateY(0); } }
@keyframes rootDraw { to { stroke-dashoffset: 0; } }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(.8rem, 2vw, 1.4rem) var(--pad-x);
  transition: background .4s var(--ease), backdrop-filter .4s, padding .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(11,11,12,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-d);
  padding-top: clamp(.6rem, 1.4vw, .9rem);
  padding-bottom: clamp(.6rem, 1.4vw, .9rem);
}
.header__logo { width: clamp(50px, 5.5vw, 60px); }
.header__logo img { width: 100%; }
.header__right { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.1rem); }

.btn-entry {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; padding: .6rem 1.35rem; border-radius: 100px;
  background: var(--paper); color: var(--ink);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn-entry__label { font-family: var(--f-en); font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
.btn-entry__sub { font-size: .58rem; letter-spacing: .1em; margin-top: .18rem; opacity: .7; }
.btn-entry:hover { transform: translateY(-2px); background: var(--ember); color: var(--ink); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--paper);
}
.nav-toggle__bars { display: grid; gap: 4px; width: 26px; }
.nav-toggle__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle__text { font-family: var(--f-en); font-size: .74rem; letter-spacing: .18em; font-weight: 500; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* =========================================================
   NAV OVERLAY
   ========================================================= */
.nav-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  pointer-events: none;
  display: flex; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-overlay.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.nav-overlay__grid {
  /* margin:auto で中央寄せ。項目が画面より高い時は上下マージンが潰れ、
     overflow-y:auto によりスクロールで全項目に到達できる */
  width: 100%; max-width: var(--maxw); margin: auto;
  padding: clamp(5rem, 11vh, 7rem) var(--pad-x) clamp(2rem, 5vh, 3rem);
  display: grid; gap: clamp(1.2rem, 3.5vh, 2.6rem);
}
.nav-overlay__list { display: grid; gap: clamp(.1rem, 1.2vh, .4rem); }
.nav-overlay__list a {
  display: flex; align-items: baseline; gap: clamp(.8rem, 2vw, 1.6rem);
  padding: clamp(.35rem, 1vh, .7rem) 0;
  border-bottom: 1px solid var(--line-d);
  opacity: 0; transform: translateY(14px);
}
.nav-overlay.is-open .nav-overlay__list a { animation: navIn .6s var(--ease-out) forwards; }
.nav-overlay__list li:nth-child(1) a { animation-delay: .12s; }
.nav-overlay__list li:nth-child(2) a { animation-delay: .17s; }
.nav-overlay__list li:nth-child(3) a { animation-delay: .22s; }
.nav-overlay__list li:nth-child(4) a { animation-delay: .27s; }
.nav-overlay__list li:nth-child(5) a { animation-delay: .32s; }
.nav-overlay__list li:nth-child(6) a { animation-delay: .37s; }
.nav-overlay__list li:nth-child(7) a { animation-delay: .42s; }
.nav-overlay__list li:nth-child(8) a { animation-delay: .47s; }
.nav-overlay__list li:nth-child(9) a { animation-delay: .52s; }
.nav-overlay__list li:nth-child(10) a { animation-delay: .57s; }
@keyframes navIn { to { opacity: 1; transform: translateY(0); } }
.nav-num { font-family: var(--f-en); font-size: .78rem; color: var(--ember); letter-spacing: .1em; }
.nav-en {
  font-family: var(--f-en); font-weight: 700; letter-spacing: .04em;
  font-size: clamp(1.4rem, 4.4vw, 2.6rem); color: var(--paper);
  transition: transform .4s var(--ease), color .3s; flex: 1;
}
.nav-ja { font-size: .8rem; color: var(--muted-d); }
.nav-overlay__list a:hover .nav-en { transform: translateX(12px); color: var(--ember); }

.nav-overlay__foot { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.nav-overlay__logo { width: 128px; }
.nav-overlay__contact { display: grid; gap: .3rem; text-align: right; }
.nav-contact-line { color: var(--paper); font-weight: 700; }
.nav-contact-line:hover { color: var(--ember); }
.nav-contact-mail { font-family: var(--f-en); font-size: .85rem; color: var(--muted-d); }

/* =========================================================
   Shared section scaffolding
   ========================================================= */
.section { padding: var(--sec-y) var(--pad-x); position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark + .section--dark { border-top: 1px solid var(--line-d); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--accent { background: var(--coal); color: var(--paper); }

.section__head { max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.section__head--split {
  display: grid; gap: 1.5rem; align-items: end;
}
@media (min-width: 860px) {
  .section__head--split { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
}
.section__title { font-size: var(--fs-h2); }
.section__title--dark { color: var(--ink); }
.section__desc { margin-top: 1.4rem; max-width: 46ch; color: var(--muted-d); font-size: var(--fs-lead); line-height: 1.9; }
.section__desc--dark { color: var(--muted-l); }
.section__head--split .section__desc { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--f-en); font-weight: 500; font-size: var(--fs-en-lbl);
  letter-spacing: .28em; color: var(--paper);
  margin-bottom: 1.4rem;
}
.eyebrow--dark { color: var(--ink); }
.eyebrow__mark { width: 30px; height: 1px; background: var(--ember); display: inline-block; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.3;
  padding: .95rem 2rem; border-radius: 100px;
  font-weight: 700; letter-spacing: .04em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--primary { background: var(--paper); color: var(--ink); }
.btn--primary:hover { background: var(--ember); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-d); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn--line { border: 1px solid currentColor; }
.btn--line:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 1.15rem 2.6rem; min-width: min(320px, 90vw); }
.btn__main { font-size: 1.02rem; }
.btn__sub { font-size: .7rem; font-weight: 500; opacity: .7; margin-top: .28rem; letter-spacing: .06em; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad-x) 6rem;
  overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; top: -14%; bottom: -14%; left: 0; right: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 55%; transform: scale(1.08); animation: heroZoom 9s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.2) 100%),
    linear-gradient(0deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.1) 45%);
}
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__eyebrow {
  font-family: var(--f-en); letter-spacing: .3em; font-size: var(--fs-en-lbl);
  color: var(--paper); margin-bottom: 1.6rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) .5s forwards;
}
.hero__eyebrow span { color: var(--ember); font-weight: 700; }
.hero__title {
  font-size: var(--fs-hero); line-height: 1.02; letter-spacing: .02em;
  text-shadow: 0 6px 40px rgba(0,0,0,.4);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line span, .hero__title .line { }
.hero__title .line { opacity: 0; transform: translateY(100%); animation: heroLine .9s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .6s; }
.hero__title .line:nth-child(2) { animation-delay: .74s; }
@keyframes heroLine { to { opacity: 1; transform: translateY(0); } }
.hero__lead {
  margin-top: 1.8rem; font-size: var(--fs-lead); line-height: 1.9; color: var(--paper);
  max-width: 40ch; opacity: 0; animation: fadeUp .8s var(--ease-out) 1s forwards;
}
.hero__cta {
  margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .9rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1.15s forwards;
}
.hero__cta .btn { flex-direction: row; }
.hero__scroll {
  position: absolute; right: var(--pad-x); bottom: 2.2rem; z-index: 2;
  display: grid; justify-items: center; gap: .7rem;
  font-family: var(--f-en); font-size: .66rem; letter-spacing: .25em; color: var(--muted-d);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--ember), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--paper); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__marquee {
  position: absolute; bottom: 0; left: 0; z-index: 1; width: 100%;
  overflow: hidden;
  padding: .7rem 0; border-top: 1px solid var(--line-d);
  background: rgba(11,11,12,.35);
}
.hero__marquee-track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--f-en); font-size: .8rem; letter-spacing: .1em; color: var(--muted-d);
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.hero__marquee-track li { display: flex; align-items: center; }
/* 区切り記号を各項目に内包し左右均等マージン。gapを使わないため
   全項目が同一幅ユニットになり、-50%移動で複製が完全一致する */
.hero__marquee-track li::after { content: "/"; color: var(--ember); margin: 0 1.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   WORRIES
   ========================================================= */
.worries__list {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.worries__item {
  position: relative; padding: 2rem 1.6rem;
  border: 1px solid var(--line-d); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.worries__item:hover { border-color: var(--ember); transform: translateY(-4px); }
.worries__q { font-family: var(--f-en); font-size: 1.4rem; font-weight: 700; color: var(--ember); }
.worries__text { margin-top: .8rem; font-weight: 500; font-size: 1.05rem; line-height: 1.7; }
.worries__bridge {
  max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 4rem) auto 0; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 2.2rem);
}
.worries__bridge b { color: var(--ember); font-weight: 900; }

/* =========================================================
   SERVICE
   ========================================================= */
.service__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1px; background: var(--line-l);
  border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service__card {
  background: var(--paper); padding: clamp(1.8rem, 3vw, 2.8rem);
  display: grid; align-content: start; gap: .8rem; min-height: 240px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.service__card:hover { background: var(--ink); color: var(--paper); }
.service__no { font-family: var(--f-en); font-size: .85rem; color: var(--ember); letter-spacing: .1em; }
.service__name { font-size: var(--fs-h3); }
.service__lead { color: var(--muted-l); line-height: 1.85; font-size: .95rem; }
.service__card:hover .service__lead { color: var(--muted-d); }

/* =========================================================
   STRENGTH
   ========================================================= */
.strength__list { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 0; }
.strength__row {
  display: grid; gap: 1.2rem 2.5rem; padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line-d);
}
.strength__row:last-child { border-bottom: 1px solid var(--line-d); }
@media (min-width: 820px) { .strength__row { grid-template-columns: 200px 1fr; align-items: start; } }
.strength__index { display: flex; align-items: baseline; gap: .6rem; }
.strength__index span {
  font-family: var(--f-en); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--muted-d);
}
.strength__name { font-size: clamp(1.3rem, 2.8vw, 1.9rem); }
.strength__name em { color: var(--ember); }
.strength__text { margin-top: 1rem; color: var(--muted-d); line-height: 1.95; max-width: 60ch; }
.strength__tags { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.strength__tags li {
  font-size: .78rem; padding: .4rem .9rem; border-radius: 100px;
  border: 1px solid var(--line-d); color: var(--paper); letter-spacing: .02em;
}

.strength__benefits {
  max-width: var(--maxw); margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius);
  background: var(--graphite); border: 1px solid var(--line-d);
}
.strength__benefits-title { font-size: var(--fs-h3); margin-bottom: 1.5rem; }
.strength__benefits-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.strength__benefits-list li { display: grid; gap: .35rem; padding-left: 1rem; border-left: 2px solid var(--ember); }
.bnf-label { font-weight: 700; font-size: .95rem; }
.bnf-value { color: var(--muted-d); font-size: .9rem; line-height: 1.75; }

/* =========================================================
   WANTED (accent section)
   ========================================================= */
.wanted { overflow: hidden; }
.wanted__inner { max-width: 940px; margin: 0 auto; text-align: center; position: relative; }
.wanted .eyebrow { color: var(--paper); justify-content: center; }
.wanted__title { font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.3; }
.wanted__title span { position: relative; color: var(--ember); }
.wanted__lead { margin: 1.8rem auto 0; max-width: 54ch; color: var(--muted-d); line-height: 2; }
.wanted__points {
  margin: 2.6rem auto 0; display: grid; gap: .8rem; max-width: 620px; text-align: left;
}
.wanted__points li {
  position: relative; padding: 1rem 1.2rem 1rem 3rem;
  border: 1px solid var(--line-d); border-radius: 100px; font-weight: 500;
  background: rgba(255,255,255,.02);
}
.wanted__points li::before {
  content: ""; position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-right: 2px solid var(--ember); border-bottom: 2px solid var(--ember);
  rotate: -45deg;
}
.wanted__note { margin-top: 1.8rem; font-size: .85rem; color: var(--muted-d); }

/* =========================================================
   SALARY
   ========================================================= */
.salary__figures {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1px; background: var(--line-l);
  border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .salary__figures { grid-template-columns: 1.4fr 1fr 1fr; } }
.salary__fig { background: var(--paper); padding: clamp(1.8rem, 3.4vw, 3rem); display: grid; align-content: center; gap: .6rem; }
.salary__fig--main { background: var(--ink); color: var(--paper); }
.salary__cap { font-size: .82rem; letter-spacing: .04em; color: var(--muted-l); }
.salary__fig--main .salary__cap { color: var(--muted-d); }
.salary__num { font-family: var(--f-en); font-weight: 700; line-height: 1; display: flex; align-items: baseline; gap: .2rem; }
.salary__fig--main .salary__num { font-size: clamp(3.4rem, 9vw, 5.6rem); color: var(--ember); }
.salary__num--sm { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--ink); }
.salary__num--txt {
  font-family: var(--f-display); font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--ink);
  display: block; line-height: 1.5;
}
/* 県名の途中で改行させない */
.salary__num--txt span { white-space: nowrap; }
.salary__num .unit { font-family: var(--f-display); font-size: .42em; font-weight: 700; }
.salary__sub { font-size: .85rem; color: var(--muted-d); }
.salary__sub--dark { color: var(--muted-l); line-height: 1.7; }

.salary__model {
  max-width: var(--maxw); margin: 1.5rem auto 0;
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius);
  background: var(--cloud); border: 1px solid var(--line-l);
}
.salary__model-title { font-size: var(--fs-h3); color: var(--ink); margin-bottom: 1.2rem; }
.salary__model-title span { font-size: .7rem; color: var(--muted-l); font-family: var(--f-body); font-weight: 500; margin-left: .4rem; }
.salary__table th, .salary__table td { padding: .95rem .4rem; border-bottom: 1px solid var(--line-l); text-align: left; }
.salary__table th { font-weight: 500; color: var(--muted-l); width: 45%; }
.salary__table td { font-family: var(--f-en); font-weight: 500; color: var(--ink); }
.salary__table-total th, .salary__table-total td { border-bottom: none; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.salary__table-total td { color: var(--ember); }
.salary__model-note { margin-top: 1rem; font-size: .8rem; color: var(--muted-l); }

/* =========================================================
   MESSAGE
   ========================================================= */
.message__inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .message__inner { grid-template-columns: .85fr 1.15fr; } }
.message__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.message__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; }
.message__badge {
  position: absolute; left: 0; bottom: 1.2rem;
  background: var(--ember); color: var(--ink);
  font-family: var(--f-en); font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  padding: .5rem 1rem;
}
.message__title { font-size: var(--fs-h2); margin: 1.2rem 0 1.8rem; }
.message__text { display: grid; gap: 1.2rem; color: var(--muted-d); line-height: 2.05; }
/* 締めの一文は代表名と同等の大きさ・太さで見せる */
.message__closing {
  margin-top: 2.4rem; font-family: var(--f-display); font-weight: 700;
  font-size: 1.5rem; line-height: 1.6; color: var(--paper);
}
/* 署名は本文と同じ大きさ */
.message__sign { margin-top: 1.2rem; font-size: 1rem; color: var(--muted-d); }

/* =========================================================
   VOICE
   ========================================================= */
.voice__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
/* 6件を3列×2段で均等に見せる */
@media (min-width: 1040px) { .voice__grid { grid-template-columns: repeat(3, 1fr); } }
.voice__card {
  background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius);
  padding: 1.8rem; display: grid; gap: 1.1rem; align-content: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.voice__card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px -30px rgba(11,11,12,.4); }
.voice__photo {
  width: 60px; height: 60px; border-radius: 50%;
  /* TODO: 実際の社員写真に差し替え。現状はロゴ由来のプレースホルダ */
  background:
    radial-gradient(circle at 50% 38%, var(--cloud) 0 42%, transparent 42%),
    linear-gradient(135deg, var(--ink), #444);
  position: relative;
}
.voice__photo::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 34px; height: 20px; border-radius: 20px 20px 0 0; background: var(--cloud);
}
.voice__quote { font-weight: 500; line-height: 1.9; color: var(--ink); font-size: 1rem; }
.voice__quote::before { content: "“"; font-family: var(--f-en); color: var(--ember); font-size: 1.6rem; margin-right: .1rem; }
.voice__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.voice__role { font-weight: 700; font-size: .88rem; color: var(--ink); }
.voice__career { font-family: var(--f-en); font-size: .78rem; color: var(--muted-l); }
.voice__caption { max-width: var(--maxw); margin: 1.6rem auto 0; font-size: .8rem; color: var(--muted-l); }

/* =========================================================
   RECRUIT
   ========================================================= */
.recruit__grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 940px) { .recruit__grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.recruit__item { display: grid; gap: .5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-d); }
@media (min-width: 560px) { .recruit__item { grid-template-columns: 130px 1fr; gap: 1.5rem; align-items: baseline; } }
.recruit__item dt { font-family: var(--f-en); font-size: .82rem; letter-spacing: .06em; color: var(--ember); font-weight: 500; }
.recruit__item dd { color: var(--paper); line-height: 1.8; }

.recruit__flow { background: var(--graphite); border: 1px solid var(--line-d); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); }
.recruit__flow-title { font-size: var(--fs-h3); margin-bottom: 1.6rem; }
.flow { display: grid; gap: 0; }
.flow__step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.1rem;
  padding: 0 0 1.6rem 0; padding-left: 2.6rem;
}
.flow__step::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: -6px; width: 1px; background: var(--line-d);
}
.flow__step:last-child { padding-bottom: 0; }
.flow__step:last-child::before { display: none; }
.flow__no {
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ember); color: var(--ink);
  font-family: var(--f-en); font-size: .62rem; font-weight: 700;
  display: grid; place-items: center; grid-row: 1;
}
.flow__name { grid-column: 1 / -1; font-weight: 700; font-size: 1.02rem; }
.flow__desc { grid-column: 1 / -1; color: var(--muted-d); font-size: .86rem; line-height: 1.7; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { max-width: 900px; margin: 0 auto; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; text-align: left; }
.faq__mark { font-family: var(--f-en); font-weight: 700; color: var(--ember); font-size: 1.1rem; }
.faq__qtext { flex: 1; font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .35s var(--ease); }
.faq__icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 1.5rem 1.4rem 3.4rem; color: var(--muted-l); line-height: 1.9; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; padding: clamp(4.5rem, 10vw, 8rem) var(--pad-x);
  background: var(--ink); color: var(--paper); text-align: center; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(60% 90% at 50% 120%, var(--ember-soft), transparent 70%);
}
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta__eyebrow { font-family: var(--f-en); letter-spacing: .3em; font-size: var(--fs-en-lbl); color: var(--ember); margin-bottom: 1.2rem; }
.cta__title { font-size: var(--fs-h2); }
.cta__lead { margin: 1.4rem auto 2.6rem; color: var(--muted-d); line-height: 1.9; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--coal); color: var(--paper); padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x) 2.5rem; border-top: 1px solid var(--line-d); }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-d);
}
@media (min-width: 820px) { .footer__top { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.footer__logo { display: block; width: 90px; margin-bottom: 1.2rem; }
.footer__tagline { font-family: var(--f-display); font-weight: 700; color: var(--paper); font-size: 1.05rem; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; }
@media (min-width: 560px) { .footer__nav { grid-template-columns: repeat(4, 1fr); } }
.footer__nav a { color: var(--muted-d); font-size: .9rem; transition: color .3s; }
.footer__nav a:hover { color: var(--ember); }

.footer__company { max-width: var(--maxw); margin: 3rem auto 0; }
.footer__company-title { font-family: var(--f-en); font-size: .8rem; letter-spacing: .28em; color: var(--muted-d); margin-bottom: 1.5rem; }
.footer__company-list { display: grid; gap: 0; }
.footer__company-list > div { display: grid; gap: .4rem; padding: 1rem 0; border-bottom: 1px solid var(--line-d); }
@media (min-width: 560px) { .footer__company-list > div { grid-template-columns: 140px 1fr; gap: 1.5rem; } }
.footer__company-list dt { color: var(--muted-d); font-size: .85rem; }
.footer__company-list dd { color: var(--paper); font-size: .92rem; line-height: 1.7; }
.footer__company-list a:hover { color: var(--ember); }

.footer__bottom {
  max-width: var(--maxw); margin: 2.5rem auto 0;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer__contact-line {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem; border-radius: 100px; border: 1px solid var(--line-d);
  font-weight: 700; font-size: .9rem; transition: background .3s, color .3s, border-color .3s;
}
.footer__contact-line:hover { background: var(--paper); color: var(--ink); }
.footer__copy { font-family: var(--f-en); font-size: .74rem; color: var(--muted-d); letter-spacing: .05em; }

/* =========================================================
   FAB (floating LINE button)
   ========================================================= */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 70;
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--ember); color: var(--ink);
  font-weight: 700; font-size: .68rem; line-height: 1.3;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab:hover { transform: translateY(-4px) scale(1.04); }

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* stagger: 同時に入るグリッド子要素を順番に立ち上げる */
[data-stagger] > [data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }
[data-stagger] > *:nth-child(1) { --i: 0; }
[data-stagger] > *:nth-child(2) { --i: 1; }
[data-stagger] > *:nth-child(3) { --i: 2; }
[data-stagger] > *:nth-child(4) { --i: 3; }
[data-stagger] > *:nth-child(5) { --i: 4; }
[data-stagger] > *:nth-child(6) { --i: 5; }

/* =========================================================
   POLISH LAYER (v2) - 磨き上げ / 動き / アクセシビリティ
   ========================================================= */

/* --- Skip link --- */
.skip-link {
  position: fixed; top: -80px; left: 1rem; z-index: 1100;
  background: var(--paper); color: var(--ink);
  padding: .7rem 1.2rem; border-radius: 8px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--ember), #e7c07f);
  box-shadow: 0 0 12px rgba(200,147,63,.5);
  will-change: width;
}

/* --- Hero: film grain texture --- */
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .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.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* --- Hero: trust chips --- */
.hero__chips {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1.3s forwards;
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .02em; font-weight: 500;
  padding: .5rem 1rem .5rem .85rem; border-radius: 100px;
  border: 1px solid var(--line-d); background: rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
}
.hero__chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

/* --- Button: sheen + arrow feel --- */
.btn { position: relative; overflow: hidden; }
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; }
.btn--primary > span::after,
.btn--ghost > span::after {
  content: ""; width: 0; height: 6px; border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor; rotate: 45deg;
  opacity: 0; margin-left: -.5rem; transition: opacity .3s var(--ease), width .3s var(--ease), margin .3s var(--ease);
}
.btn--primary:hover > span::after,
.btn--ghost:hover > span::after { width: 6px; opacity: 1; margin-left: 0; }

/* --- Stats band --- */
.stats {
  background: var(--paper); color: var(--ink);
  padding: clamp(2.4rem, 5vw, 3.4rem) var(--pad-x);
  border-bottom: 1px solid var(--line-l);
}
.stats__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 2rem 1rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.stats__item {
  display: grid; gap: .5rem; justify-items: center; text-align: center;
  padding: .4rem clamp(.5rem, 2vw, 1.5rem); position: relative;
}
@media (min-width: 760px) {
  .stats__item + .stats__item::before {
    content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line-l);
  }
}
.stats__num {
  font-family: var(--f-en); font-weight: 700; line-height: 1; color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 3rem); display: inline-flex; align-items: baseline; gap: .05em;
}
.stats__unit { font-family: var(--f-display); font-size: .4em; font-weight: 700; color: var(--ember); }
/* 数字ではなくコピーを見せる場合（例: 高単価・高還元） */
.stats__num--txt {
  font-family: var(--f-display); font-weight: 900; line-height: 1.25;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem); letter-spacing: .01em; color: var(--ember);
  display: block;
}
.stats__label { font-size: .8rem; color: var(--muted-l); line-height: 1.5; }

/* --- Active nav highlight (scroll-spy) --- */
.nav-overlay__list a.is-active .nav-num { color: var(--paper); }
.nav-overlay__list a.is-active .nav-en { color: var(--ember); }
.nav-overlay__list a.is-active { border-color: rgba(200,147,63,.4); }

/* --- Parallax base --- */
[data-parallax] { will-change: transform; }

/* --- Card hover lift refinement --- */
.service__card, .worries__item, .voice__card { will-change: transform; }

/* --- Section subtle top accent for dark sections --- */
.section--dark .section__title { position: relative; }

/* --- Dark section depth: faint radial glow --- */
.section--dark, .section--accent, .cta {
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(200,147,63,.06), transparent 60%);
  background-repeat: no-repeat;
}

/* --- Eyebrow mark grows when revealed --- */
.eyebrow__mark { transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease-out) .1s; }
[data-reveal].is-in .eyebrow__mark,
.is-in .eyebrow__mark { transform: scaleX(1); }
.section__head.is-in .eyebrow__mark { transform: scaleX(1); }

/* --- Strength row hover --- */
.strength__row { transition: background .4s var(--ease); border-radius: 10px; }
.strength__row:hover { background: linear-gradient(90deg, rgba(255,255,255,.03), transparent 70%); }
.strength__index span { transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease); }
.strength__row:hover .strength__index span { color: var(--ember); -webkit-text-stroke-color: var(--ember); }

/* --- WANTED root signature --- */
.wanted { position: relative; }
/* 汎用リビールのopacity/transformを打ち消し、透過度と中央寄せを維持 */
.wanted__roots,
.wanted__roots.is-in {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: min(560px, 80%); color: var(--ember); opacity: .16; z-index: 0;
}
.wanted__roots .root-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.wanted__roots.is-in .root-line { animation: rootDraw 2.4s var(--ease-out) forwards; }
.wanted__inner { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .hero__img { animation: none; transform: none; }
  .hero__title .line, .hero__eyebrow, .hero__lead, .hero__cta { opacity: 1; animation: none; }
  .hero__marquee-track { animation: none; }
  .hero__chips { opacity: 1; animation: none; }
  .loader__logo, .root-line { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .eyebrow__mark { transform: scaleX(1); }
  [data-parallax] { transform: none !important; }
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
/* 低い画面ではナビ項目を圧縮して全項目を収める */
@media (max-height: 760px) {
  .nav-en { font-size: clamp(1.2rem, 3.4vw, 1.7rem); }
  .nav-overlay__list a { padding: clamp(.2rem, .8vh, .5rem) 0; }
  .nav-overlay__grid { gap: clamp(1rem, 2.5vh, 1.6rem); }
}

@media (max-width: 560px) {
  .btn-entry__sub { display: none; }
  .hero__scroll { display: none; }
  .hero__cta .btn { flex: 1; }
  .nav-toggle__text { display: none; }
}
