/* =========================================================
   KV〜募集要項のセクション
   POP・ステッカーコラージュ。白／黒／シアンの3色だけで組む
   ========================================================= */

/* ---- 共通 ------------------------------------------------ */
.sx { display: flex; flex-direction: column; padding-top: calc(var(--hd-h) + 18px); }
.bg-white { background: var(--white); }
.bg-mist  { background: var(--mist); }
.bg-cyan  { background: var(--cyan); }
.bg-ink   { background: var(--ink); color: var(--white); }
.bg-white,
.bg-mist { background-image: radial-gradient(rgba(37, 38, 40, .1) 1.2px, transparent 1.3px); background-size: 18px 18px; }

.sx__in {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8dvh, 16px);
  padding: 0 22px 54px;
}

/* 筆記体の英字＋小さな「contech recruit」（参考サイトの見出しの作法） */
.sx__en {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  line-height: 1;
}
.sx__en span {
  font-family: var(--en);
  font-size: 30px;
  transform: rotate(-4deg);
  transform-origin: 0 100%;
}
.sx__en small {
  padding-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
}
.bg-white .sx__en span,
.bg-mist .sx__en span { color: var(--ink); text-shadow: 3px 3px 0 var(--cyan); }
.bg-ink .sx__en span { color: var(--cyan); }

.sx__title {
  font-family: var(--pop);
  font-weight: 400;
  font-size: clamp(21px, 6.2vw, 27px);
  line-height: 1.42;
  letter-spacing: .02em;
}
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease-out); }
.sx.is-in .ln > span { transform: none; }
.sx.is-in .ln:nth-child(1) > span { transition-delay: .15s; }
.sx.is-in .ln:nth-child(2) > span { transition-delay: .27s; }
.sx.is-in .ln:nth-child(3) > span { transition-delay: .39s; }

mark {
  color: inherit;
  background: linear-gradient(transparent 55%, var(--cyan) 55%, var(--cyan) 92%, transparent 92%) no-repeat 0 0 / 0 100%;
  transition: background-size .7s var(--ease-out) 1s;
}
.sx.is-in mark { background-size: 100% 100%; }
.bg-cyan mark { background-image: linear-gradient(transparent 55%, var(--white) 55%, var(--white) 92%, transparent 92%); }

.txt {
  font-size: var(--fs, 14.5px);
  line-height: 1.9;
  letter-spacing: .03em;
}
.txt p + p { margin-top: .75em; }
.txt p { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease-out); }
.sx.is-in .txt p { opacity: 1; transform: none; }
.sx.is-in .txt p:nth-child(1) { transition-delay: .5s; }
.sx.is-in .txt p:nth-child(2) { transition-delay: .62s; }
.sx.is-in .txt p:nth-child(3) { transition-delay: .74s; }

/* 画面の端に流れる縦の英字（参考サイトの意匠） */
.vword {
  position: absolute;
  right: -6px;
  top: calc(var(--hd-h) + 10px);
  z-index: 0;
  writing-mode: vertical-rl;
  font-family: var(--pop);
  font-size: 64px;
  line-height: 1;
  letter-spacing: .02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(37, 38, 40, .2);
  white-space: nowrap;
  pointer-events: none;
}

/* ---- ステッカー（白フチ＋影）と「ペタッ」の動き ------------------- */
.stk {
  position: absolute;
  z-index: 3;
  width: auto;
  filter:
    drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff)
    drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff)
    drop-shadow(0 5px 8px rgba(0, 0, 0, .2));
}
.stk,
.tag,
.pic,
.badge,
.perks li,
.myth__card { opacity: 0; transform: rotate(var(--r, 0deg)) scale(.4); }
.sx.is-in .stk,
.sx.is-in .tag,
.sx.is-in .pic,
.sx.is-in .badge,
.sx.is-in .perks li,
.sx.is-in .myth__card { animation: slap .55s var(--ease-back) var(--d, .4s) forwards; }
@keyframes slap {
  0%   { opacity: 0; transform: rotate(calc(var(--r, 0deg) - 18deg)) scale(1.7); }
  60%  { opacity: 1; transform: rotate(var(--r, 0deg)) scale(.92); }
  100% { opacity: 1; transform: rotate(var(--r, 0deg)) scale(1); }
}

/* ラベルステッカー */
.tag {
  position: absolute;
  z-index: 4;
  display: inline-block;
  padding: 6px 12px 7px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--pop);
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
}
.tag--ink { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--cyan); }
.tag--cyan { background: var(--cyan); }
.tag--white { background: var(--white); }
.tag--round {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
}

/* 写真ステッカー（白フチ） */
.pic {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--ink), 0 6px 14px rgba(0, 0, 0, .18);
}
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* 名札 */
.badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}
.badge__clip {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 34px;
  height: 8px;
  margin-left: -17px;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--mist);
}
.badge__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.badge__name { margin-top: 2px; font-family: var(--pop); font-size: 30px; line-height: 1.2; white-space: nowrap; }
.badge--cyan { background: var(--cyan); }

/* 手描きのきらきら */
.spark-doodle { position: absolute; width: 38px; height: 38px; }
.spark-doodle path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

/* ---- KV ------------------------------------------------- */
.sx--kv .sx__in { gap: 6px; }
.kv__h1 { font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.kv__en {
  font-family: var(--en);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--cyan);
  transform: rotate(-5deg);
  transform-origin: 0 100%;
  margin-top: 6px;
}
.kv__copy {
  font-family: var(--pop);
  font-size: clamp(38px, 11.4vw, 50px);
  line-height: 1.22;
  letter-spacing: .01em;
}
.kv__copy mark { transition-delay: .9s; }
.kv__stage { position: relative; flex: 1; min-height: 240px; }
.kv__jump { left: -8px; top: 2%; height: 52%; }
.kv__point { right: 6px; bottom: 0; height: 74%; }
.kv__badge { position: absolute; left: 4%; bottom: 10%; z-index: 2; width: 62%; }
.kv__t1 { left: -14px; top: -16px; }
.kv__t2 { right: -18px; top: 6px; }
.kv__t3 { left: 6px; bottom: -22px; }
.kv__t4 { right: -12px; bottom: -14px; }
.kv__stage .spark-doodle { right: 30%; top: 8%; }

/* ---- 1P 心の声 ------------------------------------------- */
.voices { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; min-height: 0; justify-content: space-around; }
.voices li { position: relative; display: flex; align-items: center; gap: 4px; }
.voices__r { justify-content: flex-end; }
.voices .stk { position: relative; flex-shrink: 0; height: min(15dvh, 118px); }
.voices p {
  padding: .65em 1em;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  font-weight: 900;
  font-size: calc(var(--fs, 14.5px) * .98);
  line-height: 1.5;
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  transform: scale(.8);
  transform-origin: 0 50%;
  transition: opacity .3s, transform .45s var(--ease-back);
}
.voices__r p { transform-origin: 100% 50%; }
.sx.is-in .voices li:nth-child(1) p { opacity: 1; transform: none; transition-delay: .5s; }
.sx.is-in .voices li:nth-child(2) p { opacity: 1; transform: none; transition-delay: .9s; }
.sx.is-in .voices li:nth-child(3) p { opacity: 1; transform: none; transition-delay: 1.3s; }
.voice__title { font-size: clamp(26px, 7.6vw, 32px); }

/* ---- 2P チェックリスト ------------------------------------- */
.check { position: relative; flex: 1 1 auto; min-height: 150px; max-height: 30dvh; }
.check__list {
  list-style: none;
  position: relative;
  z-index: 2;
  width: 64%;
  padding: 14px 14px 12px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  font-size: 14px;
}
.check__list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.check__list li + li { border-top: 1.5px dashed rgba(37, 38, 40, .3); }
.check__list i { position: relative; flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 5px; }
.check__list .is-x i::before,
.check__list .is-x i::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 2.5px;
  background: #999;
  transform: rotate(45deg) scaleX(0);
  transition: transform .3s;
}
.check__list .is-x i::after { transform: rotate(-45deg) scaleX(0); }
.check__list .is-x { color: #8a8a8a; }
.check__list .is-o i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 3.5px solid var(--cyan-deep);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .45s var(--ease-back);
}
.sx.is-in .check__list .is-x:nth-child(1) i::before { transform: rotate(45deg) scaleX(1); transition-delay: .7s; }
.sx.is-in .check__list .is-x:nth-child(1) i::after { transform: rotate(-45deg) scaleX(1); transition-delay: .8s; }
.sx.is-in .check__list .is-x:nth-child(2) i::before { transform: rotate(45deg) scaleX(1); transition-delay: 1s; }
.sx.is-in .check__list .is-x:nth-child(2) i::after { transform: rotate(-45deg) scaleX(1); transition-delay: 1.1s; }
.sx.is-in .check__list .is-o i::after { transform: scale(1); transition-delay: 1.4s; }
.check__stk { right: 0; bottom: 0; height: 100%; }
.check__tag { left: 46%; bottom: -6px; }

/* ---- 3P 寄り道マップ（黒背景） ------------------------------- */
.detour { position: relative; flex: 1 1 auto; min-height: 140px; max-height: 28dvh; }
.detour__map { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 72%; overflow: visible; }
.detour__map path { fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s ease-out .5s; }
.detour__main { stroke: var(--white); stroke-width: 4; }
.detour__loop { stroke: var(--cyan); stroke-width: 3; stroke-dasharray: 600; }
.detour__loop--2 { transition-delay: .9s; }
.sx.is-in .detour__map path { stroke-dashoffset: 0; }
.detour__start { left: 0; bottom: 0; }
.detour__p1 { left: 22%; top: 6%; }
.detour__p2 { left: 54%; top: 14%; }
.detour__stk { right: -6px; bottom: 0; height: 100%; }
.bg-ink .txt { color: #e3e5e7; }

/* ---- 4P 写真ステッカーのボード ------------------------------- */
.board { position: relative; flex: 1 1 auto; min-height: 170px; max-height: 32dvh; }
.board__p1 { left: 0; top: 4%; width: 46%; height: 52%; }
.board__p2 { right: 18%; top: 0; width: 44%; height: 50%; }
.board__p3 { left: 18%; bottom: 0; width: 46%; height: 48%; }
.board__t1 { left: 4%; top: 46%; }
.board__t2 { right: 20%; top: 40%; }
.board__t3 { left: 20%; bottom: -8px; }
.board__stk { right: -4px; bottom: 0; height: 92%; }

/* ---- 5P 仕事内容 ------------------------------------------ */
.work { position: relative; flex: 1 1 auto; min-height: 150px; max-height: 30dvh; }
.work__pic { left: 0; top: 0; width: 72%; height: 100%; }
.work__net { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; }
.work__net::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  bottom: 22%;
  border-left: 3px dashed var(--ink);
}
.work__n1 { right: 0; top: 4%; }
.work__me { right: 10%; top: 42%; font-size: 15px; }
.work__n2 { right: 0; bottom: 4%; }

/* ---- 6P キャリア ------------------------------------------ */
.career { position: relative; flex: 1 1 auto; min-height: 140px; max-height: 26dvh; display: flex; align-items: center; }
.career__start { position: relative; flex-shrink: 0; font-size: 15px; }
.career__arrows { flex-shrink: 0; width: 22%; height: 100%; overflow: visible; }
.career__arrows path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset .8s ease-out .7s; }
.sx.is-in .career__arrows path { stroke-dashoffset: 0; }
.career__goals { list-style: none; flex: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 6px; }
.career__goals li {
  padding: 8px 10px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  background: var(--cyan);
  font-weight: 900;
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .4s var(--d), transform .5s var(--ease-back) var(--d);
}
.sx.is-in .career__goals li { opacity: 1; transform: none; }

/* ---- 7P 社風（黒背景） ------------------------------------- */
.myth { position: relative; flex: 1 1 auto; min-height: 170px; max-height: 32dvh; }
.myth__cards { position: absolute; left: 0; top: 0; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.myth__card {
  position: relative;
  padding: 8px 14px;
  border: 2.5px solid var(--white);
  border-radius: 10px;
  background: var(--ink);
  font-family: var(--pop);
  font-size: 15px;
  color: #bfc2c6;
}
.myth__card i {
  position: absolute;
  inset: -6px -10px;
  pointer-events: none;
}
.myth__card i::before,
.myth__card i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 6px;
  margin: -3px 0 0 -30px;
  border-radius: 3px;
  background: var(--cyan);
  transform: rotate(45deg) scaleX(0);
  transition: transform .3s var(--ease-back);
}
.myth__card i::after { transform: rotate(-45deg) scaleX(0); }
.sx.is-in .myth__card:nth-child(1) i::before { transform: rotate(45deg) scaleX(1); transition-delay: 1s; }
.sx.is-in .myth__card:nth-child(1) i::after { transform: rotate(-45deg) scaleX(1); transition-delay: 1.1s; }
.sx.is-in .myth__card:nth-child(2) i::before { transform: rotate(45deg) scaleX(1); transition-delay: 1.25s; }
.sx.is-in .myth__card:nth-child(2) i::after { transform: rotate(-45deg) scaleX(1); transition-delay: 1.35s; }
.myth__pic { right: 0; bottom: 0; width: 64%; height: 78%; }
.myth__tag { right: 8px; top: 2%; }

/* ---- 8P 福利厚生のステッカー -------------------------------- */
.perks {
  list-style: none;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
}
.perks li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 8px 6px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
}
.perks li b { font-family: var(--pop); font-weight: 400; font-size: 12.5px; }
.perks .perks__big {
  grid-row: span 2;
  background: var(--ink);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--white);
}
.perks__big b { font-size: 46px !important; line-height: 1; color: var(--cyan); }
.perks__big small { font-size: 12px; }

/* ---- 9P 10年後の名札 --------------------------------------- */
.future { flex: 0 0 auto; display: flex; justify-content: space-between; gap: 6px; padding-top: 4px; }
.badge--s { flex: 1; padding: 22px 6px 10px; box-shadow: 3px 3px 0 var(--ink); }
.badge--s .badge__name { font-size: 18px; }
.badge--s .badge__clip { top: 7px; width: 26px; margin-left: -13px; }
.cta {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 2.5px solid var(--ink);
  border-radius: 99px;
  background: var(--cyan);
  font-family: var(--pop);
  font-size: 16px;
  letter-spacing: .08em;
  box-shadow: 0 5px 0 var(--ink);
}
.cta i {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--ink);
}
.cta i::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}

/* ---- 会社概要・募集要項 ------------------------------------- */
.info__pic { position: relative; flex: 1 1 auto; min-height: 90px; max-height: 26dvh; }
.tbl { font-size: var(--fs, 14px); line-height: 1.6; }
.tbl__row {
  display: grid;
  grid-template-columns: 5.4em 1fr;
  align-items: center;
  gap: 10px;
  padding: .6em 0;
  border-bottom: 2px solid var(--ink);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.tbl__row:first-child { border-top: 2px solid var(--ink); }
.sx.is-in .tbl__row { opacity: 1; transform: none; }
.sx.is-in .tbl__row:nth-child(1) { transition-delay: .35s; }
.sx.is-in .tbl__row:nth-child(2) { transition-delay: .42s; }
.sx.is-in .tbl__row:nth-child(3) { transition-delay: .49s; }
.sx.is-in .tbl__row:nth-child(4) { transition-delay: .56s; }
.sx.is-in .tbl__row:nth-child(5) { transition-delay: .63s; }
.sx.is-in .tbl__row:nth-child(6) { transition-delay: .7s; }
.sx.is-in .tbl__row:nth-child(7) { transition-delay: .77s; }
.tbl dt { font-family: var(--pop); font-weight: 400; font-size: .84em; }
.tbl a { text-decoration: underline; text-underline-offset: 3px; }
.amt { display: block; font-weight: 900; }
.amt small { font-size: .78em; font-weight: 700; }
.amt b { font-family: var(--pop); font-weight: 400; font-size: 1.35em; margin: 0 .1em; }
.note { display: block; margin-top: .2em; font-size: .8em; color: #666; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin-top: .35em; }
.chips li {
  padding: .4em .75em;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: var(--white);
  font-size: .82em;
  font-weight: 700;
  line-height: 1.3;
}
.welfare { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs, 14px); }
.welfare__h { font-family: var(--pop); font-size: 1em; margin-top: 4px; }
.welfare .chips li { background: var(--cyan); }
.welfare .chips + .welfare__h + .chips li { background: var(--white); }
.welfare .chips li {
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .4s var(--ease-back);
}
.sx.is-in .welfare .chips li { opacity: 1; transform: none; transition-delay: .5s; }

/* ---- 背の低い画面 ------------------------------------------ */
@media (max-height: 700px) {
  .sx { padding-top: calc(var(--hd-h) + 12px); }
  .sx__en span { font-size: 26px; }
  .sx__title { font-size: clamp(19px, 5.8vw, 24px); }
  .kv__copy { font-size: clamp(32px, 10vw, 42px); }
  .badge__name { font-size: 24px; }
  .perks li { min-height: 54px; }
  .perks__big b { font-size: 38px !important; }
  .vword { font-size: 52px; }
}

/* ---- 調整 ---- */
.check__list .is-o {
  background: linear-gradient(transparent 58%, var(--cyan) 58%, var(--cyan) 90%, transparent 90%) no-repeat 32px 0 / 0 100%;
  transition: background-size .6s var(--ease-out) 1.6s;
}
.sx.is-in .check__list .is-o { background-size: calc(100% - 32px) 100%; }
.check__list .is-o i::after { inset: -11px; border-width: 4px; }
.amt { white-space: nowrap; }
.amt b { font-size: 1.15em; }

/* ---- 背の低い画面：図版を小さくして本文を読める大きさに ---- */
@media (max-height: 700px) {
  .sx__in { gap: 8px; }
  .voices .stk { height: 11dvh; }
  .voices p { font-size: 11.5px; padding: .5em .8em; }
  .check, .detour, .board, .work, .myth { min-height: 110px; max-height: 22dvh; }
  .career { min-height: 110px; max-height: 20dvh; }
  .career__goals li { font-size: 11px; padding: 5px 8px; }
  .tag { font-size: 12px; padding: 4px 9px 5px; }
  .tag--round { width: 66px; height: 66px; font-size: 11px; }
  .check__list { font-size: 12px; padding: 8px 12px; }
  .check__list li { padding: 3px 0; }
  .perks { gap: 7px 6px; }
  .perks li { min-height: 46px; padding: 5px 4px; font-size: 10px; }
  .perks li b { font-size: 11px; }
  .perks__big b { font-size: 32px !important; }
  .future .badge--s { padding: 18px 4px 8px; }
  .badge--s .badge__name { font-size: 15px; }
  .cta { height: 44px; font-size: 14px; }
  .kv__stage { min-height: 200px; }
}
/* 7P：×は文字が読める太さに */
.myth__card i::before, .myth__card i::after { height: 4px; opacity: .85; }

/* 6P：スタート地点は支給写真＋「施工管理」 */
.career__start { position: relative; flex-shrink: 0; width: 34%; height: 78%; font-size: inherit; }
.career__pic { left: 0; top: 0; width: 100%; height: 100%; }
.career__tag { left: 50%; bottom: -12px; transform-origin: 50% 50%; margin-left: -46px; font-size: 13px; }
.career__arrows { width: 14%; }

/* ---- iPhone SE など、とても背の低い画面 ---- */
@media (max-height: 620px) {
  .sx { padding-top: calc(var(--hd-h) + 8px); }
  .sx__in { gap: 6px; padding-bottom: 46px; }
  .sx__en span { font-size: 22px; }
  .sx__en small { display: none; }
  .sx__title { font-size: clamp(17px, 5.2vw, 21px); line-height: 1.36; }
  .check, .detour, .board, .work, .myth { min-height: 92px; max-height: 19dvh; }
  .career { min-height: 92px; max-height: 18dvh; }
  .voices .stk { height: 9.5dvh; }
  .voices { gap: 2px; }
  .voice__title { font-size: 22px; }
  .perks li { min-height: 40px; }
  .perks__big b { font-size: 28px !important; }
  .future .badge--s { padding: 15px 4px 6px; }
  .badge--s .badge__name { font-size: 14px; }
  .cta { height: 40px; }
  .txt { line-height: 1.8; }
  .txt p + p { margin-top: .55em; }
  .vword { display: none; }
}

/* 狭い画面：原稿の改行を外して自然に折り返す */
.txt.is-flow br { display: none; }
.txt.is-flow p { text-wrap: pretty; line-break: strict; }
@media (max-height: 620px), (max-width: 380px) {
  .voices p { white-space: nowrap; font-size: min(11.5px, 3vw); }
  .career__goals li { font-size: 10.5px; white-space: nowrap; padding: 5px 7px; }
}

/* KV：ジャンプする人に添える集中線（3本） */
.kv__stage .spark-doodle {
  left: 30%;
  right: auto;
  top: 0;
  z-index: 4;
  width: 46px;
  height: 46px;
  transform: scaleX(-1);
}
.kv__stage .spark-doodle path {
  stroke: var(--ink);
  stroke-width: 4;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
}
.sx.is-in .kv__stage .spark-doodle path { animation: spark-draw .35s ease-out forwards; }
.sx.is-in .kv__stage .spark-doodle path:nth-child(1) { animation-delay: 1.3s; }
.sx.is-in .kv__stage .spark-doodle path:nth-child(2) { animation-delay: 1.4s; }
.sx.is-in .kv__stage .spark-doodle path:nth-child(3) { animation-delay: 1.5s; }
@keyframes spark-draw { to { stroke-dashoffset: 0; } }
.kv__stage .spark-doodle { left: 25%; top: 5%; }

/* ---- KV：位置を人物基準に固定し、広い画面でも崩れないようにする ---- */
.kv__jumpwrap {
  position: absolute;
  left: 8px;
  top: 2%;
  height: min(74%, 400px);
  aspect-ratio: 362 / 581;
  z-index: 3;
}
.kv__jumpwrap .kv__jump { position: absolute; left: 0; top: 0; height: 100%; }
.kv__jumpwrap .spark-doodle {
  left: 66%;
  top: 6%;
  width: 34%;
  height: auto;
  aspect-ratio: 1;
  transform: scaleX(-1);
}
.kv__point { height: min(74%, 430px); }
.kv__badge { z-index: 5; width: min(62%, 270px); }

/* 白フチと影は画像に焼き込み済み（CSSの drop-shadow は輪郭がぼやけるので使わない） */
.stk { filter: none; }
.kv__jumpwrap { aspect-ratio: 665 / 1040; }

/* 貼り終わったステッカー：アニメーションを外し、傾きだけを残す（文字をくっきり描かせる） */
.sx.is-in .is-landed {
  animation: none;
  opacity: 1;
  transform: rotate(var(--r, 0deg));
  will-change: auto;
}

/* 貼り終わったステッカーの切り替えは、個別の指定より必ず優先させる */
.sx.is-in .is-landed {
  animation: none !important;
  opacity: 1 !important;
  transform: rotate(var(--r, 0deg)) !important;
}

/* =========================================================
   和文の太字は Zen Kaku Gothic New 900 に統一
   Dela Gothic One は字の背が低く、小さいと画数の多い字がつぶれるため、
   大きく見せる場所（KVコピー・名札・数字）だけに使う
   ========================================================= */
.sx__title,
.tag,
.tbl dt,
.perks li b,
.myth__card,
.welfare__h,
.cta,
.career__goals li,
.check__list,
.voices p,
.badge--s .badge__name {
  font-family: var(--ja);
  font-weight: 900;
}
.sx__title { letter-spacing: .03em; line-height: 1.45; }
.tag { letter-spacing: .04em; }
.tbl dt { font-size: .88em; }
.perks li b { font-size: 13px; }
.badge--s .badge__name { font-size: 19px; }

/* =========================================================
   初稿への修正（2026-10-02）
   ========================================================= */

/* ⑥-1 画面の高さが変わっても、中身は上下中央に */
.sx__in { justify-content: center; }

/* ① KV：右上の空白に、指の先の吹き出しと手描きの「？」 */
.kv__point { top: 6%; bottom: auto; height: min(80%, 470px); }
.kv__say {
  position: absolute;
  right: 4%;
  top: -4%;
  z-index: 4;
  padding: 10px 14px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--cyan);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  transform: rotate(var(--r)) scale(.4);
}
.kv__say::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -12px;
  width: 16px;
  height: 14px;
  background: var(--cyan);
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: skewY(-35deg);
}
.sx.is-in .kv__say { animation: slap .55s var(--ease-back) var(--d) forwards; }
.kv__q {
  position: absolute;
  left: 52%;
  top: 4%;
  width: 34px;
  height: 46px;
  transform: rotate(14deg);
  overflow: visible;
}
.kv__q path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; }
.kv__q circle { fill: var(--ink); opacity: 0; }
.sx.is-in .kv__q path { transition: stroke-dashoffset .6s ease-out 2s; stroke-dashoffset: 0; }
.sx.is-in .kv__q circle { transition: opacity .2s 2.5s; opacity: 1; }

/* ② Me too?：吹き出しを詰め、白フレームを高く */
.voices { flex: 0 0 auto; justify-content: center; gap: 10px; }
.voices p { padding: 1em 1.15em; line-height: 1.55; }

/* ③ Career：3項目を詰めて中央に */
.career__goals { justify-content: center; gap: 10px; height: auto; }

/* ④ Benefits：賞与（縦長）＋小カード6枚（2列×3段） */
.perks { grid-template-columns: 1.05fr 1fr 1fr; }
.perks .perks__big { grid-row: span 3; }

/* ⑤ 表：行の上下に余裕を持たせる */
.tbl__row { padding: 1.05em 0; }
.tbl dd .chips { margin-top: .5em; }

/* ⑤ 長いセクション（会社概要・募集要項）：画面より長い分は中でスクロールする */
.sx--long { height: auto; min-height: 100dvh; }
.sx--long .sx__in { justify-content: flex-start; padding-bottom: 72px; }
.sx--long .info__pic { flex: 0 0 auto; height: min(30dvh, 260px); max-height: none; }
.sx--long .vword { position: absolute; }

@media (max-height: 700px) {
  .kv__say { font-size: 12px; padding: 7px 10px; }
  .voices { gap: 6px; }
  .voices p { padding: .8em 1em; }
}

/* 情報を省略しない会社概要・募集要項も親の通常スクロールに統一。 */
.sx--long { height: auto; min-height: 100dvh; max-height: none; overflow: visible; scroll-snap-stop: normal; }
.sx--long .sx__in { overflow: visible; flex: 0 0 auto; }
/* 続きがあることを示す、下端の薄いフェード */
.sx--long::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(to top, var(--sx-bg, #fff), transparent);
}
.bg-mist.sx--long { --sx-bg: var(--mist); }
.sx--long .sx__in { padding-top: 14px; }
.sx--long { padding-top: var(--hd-h); }
.sx--long { scroll-snap-align: none; }

/* 冒頭の3つの声：人物と吹き出しの大きさを保ち、行間だけを詰める。 */
#p1 .voices { gap: 0; }
#p1 .voices li + li { margin-top: -12px; }

/* 会社概要は常に1画面。末尾の余白で長文セクションにしない。 */
#company {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
