/* 案件の見た目：株式会社オークスホーム
 * 値は DNA.md の実測を tokens.css の変数にしてから使う（色・大きさを直接書かない）
 * 決まり：1つの部品は1か所にだけ書く。末尾に足して上書きしない。!important を使わない
 */

/* ---------- 共通：見出し・ラベル・まとまり ---------- */
.head { display: grid; gap: var(--sp-1); }
.txt { display: grid; gap: var(--sp-p); }
.lbl { font-family: var(--font-en); font-weight: 800; font-size: var(--fs-label); line-height: 1; letter-spacing: -0.01em; color: var(--color-red); }
.hd { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }

/* ---------- R1 世界観：「実力を測る現場」（全ページ共通の地・目盛り・番号の札・帯・箱・主役） ---------- */
/* 地：斜めの細線＋左端のスケールの目盛り（::before）、コンクリートの粒（::after）。面の色ごとに変数で濃さを変える */
.page { --tex-c: var(--tex-on-light); --grain-c: var(--grain-on-light); --tick-c: var(--tick-on-light); --band-bg: var(--color-black); --band-fg: var(--color-on-dark); }
.page:not(.page--hero)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--tick-c) 0 0) 0 0 / 2px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick-c) 0 2px, transparent 2px 48px) 0 0 / 14px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick-c) 0 1px, transparent 1px 8px) 0 0 / 7px 100% no-repeat,
    repeating-linear-gradient(-58deg, var(--tex-c) 0 1px, transparent 1px 22px);
}
.page:not(.page--hero)::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--grain-c);
  -webkit-mask: url("assets/grain.png") 0 0 / 240px 240px repeat;
  mask: url("assets/grain.png") 0 0 / 240px 240px repeat;
}
/* 番号の札：英字ラベルの前に「No.01」（目盛りの札。ページの順に数える） */
.slider { counter-reset: pg -1; }
.slider > .page { counter-increment: pg; }
.lbl { display: flex; align-items: center; gap: 0.35em; }
.lbl::before {
  content: "No." counter(pg, decimal-leading-zero); padding: 0.22em 0.4em 0.18em; font-size: 0.5em; letter-spacing: 0.06em;
  color: var(--color-ink); background: var(--color-yellow);
}
/* 見出しは1行ずつ帯にのせる（文字を面にのせて強弱をはっきり） */
.hd .ln { width: fit-content; padding: var(--band-pad); background: var(--band-bg); color: var(--band-fg); }
.hd .ln + .ln { margin-top: 0.12em; }
/* 本文の箱（人物・写真の上に重なる所。白い面は黒い枠＋ずらした赤の面） */
.plate { position: relative; z-index: 1; padding: var(--plate-pad); background: var(--color-base); color: var(--color-ink); outline: 2px solid var(--color-ink); box-shadow: var(--shift) var(--shift) 0 var(--color-red); }
.page--red .plate { background: var(--color-black); color: var(--color-on-dark); outline: 0; box-shadow: var(--shift) var(--shift) 0 var(--color-yellow); }
.page--black .plate { background: var(--plate-dark); color: var(--color-on-dark); outline: 1px solid var(--color-black-2); box-shadow: var(--shift) var(--shift) 0 var(--color-red); }
/* 主役：作業着の職人の切り抜き（section の直下。中身〔z-index 2〕より手前に出し、顔と上半身に文字・帯・箱をかけない）
   ページごとに位置と大きさを変える（同じ構図を繰り返さない。キット 2.7）。
   --man-h＝画像の高さ／--man-r＝幅÷高さ／--man-b＝下の端（負の値＝画面の下で切って膝上・胸から上を見せる）／--man-w＝画像の幅
   --side-l・--side-r＝職人の立つ側を空ける幅（文字を職人の下に入れない。文字の大きさの違う箱でもそろうよう rem で書く） */
.page { --man-r: 0.34; --man-h: 60dvh; --man-b: 0px; --man-w: calc(var(--man-h) * var(--man-r)); --man-x: -0.5rem; }
.man { position: absolute; z-index: 3; bottom: var(--man-b); right: var(--man-x); height: var(--man-h); width: auto; max-width: none; user-select: none; }
.man--left { right: auto; left: var(--man-x); }
.plate--side { margin-left: var(--side-l, 0px); margin-right: var(--side-r, 0px); }
.man--flip { scale: -1 1; }
/* p1 FV：右に全身を大きく（キャッチの3段目の下から画面の下まで）。本文の箱は左に狭く */
.page:has(> .man--p1) {
  --man-r: 0.617; --man-x: calc(var(--man-w) * -0.3);   /* イラスト（メジャーを横に伸ばす）：幅が広いので右の約3割を画面の外へ（2026-11-16 実写→イラスト） */
  --man-h: min(calc(100dvh - var(--header-h) - var(--pad-y) - var(--cu) * 17.5), 120vw, 580px);   /* キャッチの3段（3.6＋8＋5.4）の下から。幅は列の約41%まで（箱の幅を残す） */
  --side-r: calc(var(--man-h) * 0.341 - 0.5rem - var(--gutter));   /* 本文の箱の幅は実写のときと同じ。メジャーの左手は箱の後ろに隠す */
}
.page:has(> .man--p1) .plate--side { position: relative; z-index: 4; }
/* p2・p6：職人は一番下の流れる英字の中に小さく立ち、英字と重なる（主役は見出しと本文の箱。寺嶋さん FB 2026-11-04）。英字の帯の上の辺で頭が止まる（本文の箱にかけない） */
.fill.fill--foot { overflow: visible; justify-content: flex-end; }
.fill--foot > .man { --mh: max(calc(100% + var(--foot-cut)), 15em); bottom: calc(100% - var(--mh)); height: var(--mh); }   /* 低い画面で英字の帯が低いときも小さくなりすぎないよう、上半身を見せる */
.man--p2 { --foot-cut: 22%; right: calc(var(--gutter) * 0.3); }
.man--p7 { --foot-cut: 30%; right: auto; left: calc(var(--gutter) * 0.3); }
/* p3：右下から胸より上を大きく覗かせる（幅の約1/2）。WE ARE A TEAM. は左に */
.page:has(> .man--p3) { --man-r: 0.626; --man-h: min(92dvh, 157vw, 725px); --man-b: calc(var(--man-h) * -0.74); --man-x: calc(var(--man-w) * -0.22); --side-r: calc(var(--man-w) + var(--man-x) - var(--gutter) + 0.3rem); }
#p7 { --sp-g: 0.8em; }
@media (min-height: 800px) { .page:has(> .man--p3) { --man-b: calc(var(--man-h) * -0.58); } }   /* 縦に長い画面：本文の箱にかからないので職人を大きく見せ、下の空きを埋める */
@media (min-height: 900px) { .page:has(> .man--p3) { --man-b: calc(var(--man-h) * -0.46); } }
#p7 .hd { font-size: min(var(--fs-head), 8.4vw); }   /* 9文字の行（ちゃんと報われる。）を 360 幅でも1行に */
/* p10：左に膝上（見出しの下から） */
@media (max-height: 760px) { .man--p11 { display: none; } #p11 { --side-l: 0px; } }   /* 低い画面：ver2 で本文が長くなり、職人の横の狭い箱では1画面に入らないので職人を出さない */
.page:has(> .man--p11) { --man-r: 0.532; --man-x: calc(var(--man-w) * -0.3); --man-h: min(64dvh, 80vw, 540px); --man-b: calc(var(--man-h) * -0.17); --side-l: calc(var(--man-h) * 0.33 - var(--gutter)); }
.page:has(> .man--p11) .plate--side { position: relative; z-index: 4; }   /* 水平器の先は本文の箱の後ろに隠す（箱の幅は実写のときと同じ） */
.page:has(> .man--p11) :is(.close-copy, .final) { margin-left: min(calc(var(--man-h) * 0.47 - var(--gutter)), 30vw); }   /* 締めの2行は箱が無いので、イラストの横まで寄せる */
#p11 .final { font-size: min(1.65em, 6.4vw); }
.page:has(> .man--p11) .close-copy { position: relative; z-index: 4; }
@media (max-height: 760px) { .page:has(> .man--p11) :is(.close-copy, .final) { margin-left: 0; } #p11 .final { font-size: 1.8em; } }   /* 職人を出さない低い画面では v6 のとおり左から */
/* p7：段の図の横に、腕を組んだ膝上（箱の上の辺に立つ）／p9：見出しの横に、腰に手を当てた膝上 */
#p8, #p10 { --sp-g: 0.7em; }
#p8 .card--career, #p10 .plate { font-size: max(var(--fs-min), 0.9em); }   /* ver2 で文が長くなったので本文を小さく（1画面に収める） */
#p8 .head { position: relative; z-index: 4; }   /* 職人を見出しの横まで伸ばしたので、見出しを職人の手前に */
#p8 .body--red { font-size: max(var(--fs-min), 0.95em); line-height: 1.5; }
#p11 { --sp-g: 0.7em; }
#p9 .hd, #entry .hd { font-size: min(var(--fs-head), 8.4vw); }   /* 「ありがとう」を、／次の未来を を1行に（職人にかけない） */
@media (max-height: 760px) { #p8 { --sp-g: 0.5em; } #p8 .card--career { gap: var(--sp-1); padding-block: 0.6em; } #p8 .step { gap: 0.15em; } #p8 .card--career .body { line-height: 1.45; } #p8 .stairs__step { padding-block: 0.2em; } #p8 .body--red { font-size: max(var(--fs-min), 0.9em); } }
@media (max-height: 700px) { #p8 .raise__num { font-size: min(2.2em, 9.5vw); } #p8 .raise__card:last-child .raise__num { font-size: min(2.6em, 11vw); } #p8 .raise__when { font-size: var(--fs-min); line-height: 1.25; } }
@media (max-height: 560px) { #p8 .head .lbl { display: none; } }   /* いちばん低い画面：飾りの英字ラベルを外して1画面に収める（文字は 13px のまま） */
@media (min-height: 800px) { #p8 .p8__mid { --p8-h: min(30dvh, 330px); } }   /* 縦に長い画面：職人は見出しの横まで伸ばし、本文は見出しのすぐ下に（段に高さを持たせると本文が下に押され、見出しがヘッダーに隠れた。寺嶋さん FB 2026-11-12） */
@media (max-height: 600px) { #p8 .hd, #p10 .hd { font-size: calc(var(--fs-head) * 0.74); } #p8 .head { gap: 0.2em; } #p8 { --sp-g: 0.4em; } #p8 .raise__num { font-size: min(1.9em, 8.5vw); } #p8 .raise__card:last-child .raise__num { font-size: min(2.2em, 9.5vw); } #p8 .body--red, #p8 .card--career .body { line-height: 1.35; } #p8 .card--career { padding-block: 0.45em; } #p8 .stairs__step { line-height: 1.3; } #p10 .slogan { font-size: 1.05em; } #p10 .voices { gap: 0.3em; } #p10 .txt { gap: 0.4em; } }
.p8__mid { position: relative; display: grid; gap: var(--sp-g); padding-right: calc(var(--p8-h) * 0.378 - var(--gutter) + 0.2em); --p8-h: min(29dvh, 300px); }
@media (max-height: 760px) { .man--p8 { display: none; } .p8__mid { padding-right: 0; } #p8 .raise__num { font-size: min(2.5em, 10.5vw); } #p8 .raise__card:last-child .raise__num { font-size: min(3em, 12.5vw); } #p8 .raise__card { padding-block: 0.4em 0.45em; gap: 0.05em; } }   /* 低い画面：昇給の数字のカードを入れるため、段の図の横の職人は出さない（寺嶋さん FB 2026-11-04） */
.man--p8 { --man-x: calc(var(--gutter) * -1); bottom: calc(var(--sp-g) * -1); height: var(--p8-h); }
.head:has(> .man--p10) { position: relative; padding-right: 42%; }
.head:has(> .man--p10) .lbl { white-space: nowrap; }   /* 右を空けても英字のラベルは1行に */   /* 肩を組む2人のイラストは横に広いので、見出しの右を広く空ける */
.man--p10 { --man-x: calc(var(--gutter) * -1); bottom: calc(var(--sp-g) * -1); width: 48%; height: auto; max-height: calc(100% + var(--sp-g) + 0.4em); object-fit: contain; object-position: right bottom; }   /* 2人のイラストは幅で決める（高さで決めると見出しにかかる） */
/* エントリー：見出しの横に立ち、足はフォームの上の辺で止まる */
.entry__head { position: relative; display: grid; gap: var(--sp-1); margin-bottom: calc(var(--sp-g) * -1); padding-bottom: var(--sp-g); overflow: hidden; }   /* 見出しの高さで決め、職人は上半身だけを見せる（寺嶋さん FB 2026-11-04） */
.man--entry { bottom: -85%; right: calc(var(--gutter) * -0.2); height: 175%; translate: 38% 0; }   /* イラストは右の外へはみ出させ、ENTRY の文字にかけない（寺嶋さん FB 2026-11-16 で 250%→175%・11-17 で右へ 14%→38%） */
#entry .hd { position: relative; z-index: 4; }
/* 明るい箱（赤・淡い面の上の表とフォーム）：白地＋黒い枠＋ずらした黒の面 */
.plate.plate--light { background: var(--color-base); color: var(--color-ink); outline: 2px solid var(--color-ink); box-shadow: var(--shift) var(--shift) 0 var(--color-ink); }

/* ---------- 赤の面（参考の赤） ---------- */
.page--red { background: var(--color-red); color: var(--color-on-dark); --tex-c: var(--tex-on-red); --grain-c: var(--grain-on-red); --tick-c: var(--tick-on-red); }
.page--black, .page--photo { --tex-c: var(--tex-on-dark); --grain-c: var(--grain-on-dark); --tick-c: var(--tick-on-dark); --band-bg: var(--color-red); }

/* ---------- p1 FV：極太の特大キャッチ（小・特大・大の3段。大小比 約2.2:1）・右端に縦の特大文字 ---------- */
.fv__bleed {
  position: absolute; z-index: 1; top: calc(50% + var(--header-h) / 2); right: -0.42em; translate: 0 -50%;
  writing-mode: vertical-rl; font-family: var(--font-head); font-weight: var(--fw-head); font-size: min(38dvh, 300px); line-height: 1;
  color: var(--color-on-dark); opacity: 0.12; pointer-events: none; user-select: none;
}
.fv__catch {
  display: grid; justify-items: start;
  font-family: var(--font-head); font-weight: var(--fw-head); line-height: 1;
  --pf-rot: -20deg; --pf-dist: 1.1em; --pf-step: 60ms;
}
.fv__s { font-size: calc(var(--cu) * 3.6); letter-spacing: 0.04em; }
.fv__l { font-size: calc(var(--cu) * 8); letter-spacing: -0.03em; color: var(--color-yellow); }   /* 仲間と を最大・黄に（ver2 のコンセプト「仲間」） */
.fv__m { font-size: calc(var(--cu) * 5.4); letter-spacing: -0.03em; }
.fv__dot { font-size: 0.5em; letter-spacing: 0; }   /* 句点は小さく（寺嶋さん FB 2026-11-04） */
.fv__sub { margin-top: 0.75em; line-height: 1.5; }   /* 見出しとの間を空ける（寺嶋さん FB 2026-11-04） */
.fv__band {
  padding: 0.12em 0.4em 0.16em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.22em; letter-spacing: 0.02em;
  color: var(--color-on-dark); background: var(--color-black);   /* 白文字に（寺嶋さん FB 2026-11-12） */
}
#p1 { --sp-g: 0.55em; }
@media (max-height: 650px) { #p1 .fv__sub { margin-top: 0.55em; } }
@media (max-height: 600px) { #p1 { --sp-g: 0.45em; } #p7 { --sp-g: 0.5em; } #p7 .pay__num { font-size: 3.8em; } }
#p1 .card { margin-top: auto; padding: 0.7em 0.8em 0.75em; gap: var(--sp-1); }   /* 本文の箱は下へ寄せ、職人の左に狭く（職人に箱をかけない） */
#p2 .plate, #p3 .plate, #p4 .plate, #p5 .plate, #p11 .plate, #p7 .plate { font-size: max(var(--fs-min), 0.9em); }   /* 本文の多いページ（ver2 で文が長くなった p3〜p5 も） */
#p1 .card .body { font-size: max(var(--fs-min), 0.86em); line-height: 1.5; }
#p1 .cta { min-height: 2.8em; padding-inline: 0.75em 0.6em; gap: 0.4em; font-size: 1.05em; white-space: nowrap; }
@media (min-height: 800px) {   /* 縦に長い画面：キャッチを列の幅いっぱいまで・帯と本文も大きくして、帯と本文の箱の間の空きを埋める（制作者 2026-11-04） */
  #p1 { --cu: min(calc((min(100vw, var(--col)) - var(--gutter) * 2) / 25), 1.9dvh, 19px); }
  #p1 .fv__band { font-size: 1.5em; }
  #p1 .card .body { font-size: 1em; }
  #p1 .cta { font-size: 1.15em; }
}
.card { display: grid; gap: var(--sp-g); padding: 1.05em 1.1em 1.1em; background: var(--color-black); color: var(--color-on-dark); }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 3.2em; padding: 0 1em 0 1.1em;
  font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.15em; letter-spacing: 0.04em;
  color: var(--color-ink); background: var(--color-yellow);
  transition: background var(--dur-hover) ease-in;
}
.cta__ar { flex: 0 0 auto; width: 1.25em; height: 1.25em; transition: translate var(--dur-hover) var(--ease-out); }
@media (hover: hover) {
  .cta:hover .cta__ar { translate: 0.15em -0.15em; }
}

/* ---------- p2 黒の面の問いかけ：流れる大きな英字（参考 R2 の流れる文字） ---------- */
.flow {
  --pf-size: clamp(3em, 26cqh, 5.4em); --pf-color: var(--color-black-2); --pf-opacity: 1;
  font-family: var(--font-en); font-weight: 800; letter-spacing: -0.02em;
}
.flow--red { --pf-color: var(--color-red); }
.flow--line { --pf-color: transparent; -webkit-text-stroke: 1.5px var(--color-red); }   /* p6：輪郭の英字（全体で1か所。参考の輪郭の英字） */
.issues { display: grid; gap: 0.45em; font-weight: 700; }
.issues li { position: relative; padding-left: 1.5em; }
.issues li::before {
  content: ""; position: absolute; left: 0.1em; top: 0.42em; width: 0.95em; height: 0.95em; background: var(--color-red);
  clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%);
}
.q-em { color: var(--color-yellow); }
/* p2：×の3つを白い吹き出しに・左右交互（寺嶋さん FB 2026-11-12。しっぽの作りは p10 の .voice と同じ） */
.issues--bub { gap: 0.75em; margin-bottom: 0.45em; }
.issues--bub .bub { justify-self: start; max-width: 92%; padding: 0.5em 0.85em 0.55em 2.1em; line-height: 1.5; color: var(--color-ink); background: var(--color-base); border-radius: 0.6em; }
.issues--bub .bub::before { left: 0.75em; top: 0.78em; }
.issues--bub .bub::after { content: ""; position: absolute; bottom: -0.34em; left: 1.3em; width: 0.7em; height: 0.7em; rotate: 45deg; background: inherit; }
.issues--bub .bub--r { justify-self: end; --pf-delay: 150ms; }
.issues--bub .bub--r::after { left: auto; right: 1.3em; }
.issues--bub .bub:nth-child(3) { --pf-delay: 300ms; }
@media (max-height: 700px) { #p2 .fill--foot { display: none; } .issues--bub { gap: 0.5em; margin-bottom: 0.2em; } .issues--bub .bub { padding-block: 0.32em 0.38em; line-height: 1.4; } .issues--bub .bub::before { top: 0.6em; } }   /* 低い画面：吹き出しの分だけ背が伸びたので、間と内側を詰めて1画面に収める。下の英字の帯は入る高さが無く空の帯だけが残るので出さない */

/* ---------- 端の縦の特大英字（参考：画面からはみ出す特大の文字。上から下まで） ---------- */
.edge-v {
  position: absolute; z-index: 1; top: calc(var(--header-h) + 1.5%); bottom: 1.5%; right: -0.22em; overflow: hidden;
  writing-mode: vertical-rl; white-space: nowrap; font-family: var(--font-en); font-weight: 800; font-size: min(13dvh, 120px); line-height: 1; letter-spacing: -0.02em;
  color: var(--edge-c, var(--color-pale-2)); pointer-events: none; user-select: none;
}
.page--red .edge-v { --edge-c: var(--color-veil); }
.page--black .edge-v { --edge-c: var(--color-black-2); }
.edge-v--line { color: transparent; -webkit-text-stroke: 1.5px var(--color-red); opacity: 0.35; }

/* ---------- 残りの高さを埋める要素（意図しない余白をなくす。狭い画面では縮み、低すぎると中身を出さない） ---------- */
.fill { position: relative; flex: 1 1 0; min-height: 0; margin-inline: calc(var(--gutter) * -1); overflow: hidden; container-type: size; }
.fill.plate--side { margin-left: var(--side-l, calc(var(--gutter) * -1)); margin-right: var(--side-r, calc(var(--gutter) * -1)); }   /* 職人の立つ側では、職人の手前で止める（英字を職人の下に入れない） */
.fill--tight { margin-top: calc(var(--sp-g) * -1); padding-top: var(--sp-g); }   /* 高さが取れないときは前との間ごと消える */
.fill--type { display: flex; flex-direction: column; justify-content: center; gap: 0.1em; }
/* 人物が立つ所（空いた高さ）：寸法線と大きな英字（飾り）。人物は section の直下に置き、ここから上半身が見える */
.fill--stage { overflow: visible; }
.fill--stage::before {
  content: ""; position: absolute; left: var(--gutter); right: 44%; top: 50%; height: 12px; translate: 0 -50%;
  background:
    linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 0 / 2px 100% no-repeat,
    linear-gradient(currentColor 0 0) 100% 0 / 2px 100% no-repeat;
  opacity: 0.5;
}
.stage__word {
  position: absolute; left: var(--gutter); bottom: 0.1em; white-space: nowrap;
  font-family: var(--font-en); font-weight: 800; font-size: clamp(1.6em, min(30cqh, 13cqw), 3.4em); line-height: 0.88; letter-spacing: -0.03em;
  color: var(--color-red); opacity: 0.9;
}
.stage__word--y { color: var(--color-yellow); }
/* p3：空いた高さは特大の WE ARE A TEAM. が埋める（飾り・aria-hidden）。文字は職人の後ろへ回ってよい（顔には掛けない） */
.stage__word--big { top: 0.15em; bottom: auto; opacity: 1; font-size: 1em; line-height: 0.92; }   /* 本文の箱のすぐ下に（寺嶋さん FB 2026-11-04「もう少し上へ」） */
.sw__no { display: block; font-size: min(62cqh, 56cqw); color: var(--color-red); }
.sw__sen { display: block; width: max-content; padding-bottom: 0.06em; font-size: max(13px, min(26cqh, 16.5cqw)); color: var(--color-ink); }
.fill--stage:has(.stage__word--big)::before { top: 6%; }
.fill--stage:has(.sw__no)::before { content: none; }   /* p3：寸法線は外す（WE の文字で埋める。制作者 2026-11-04） */
/* p11：WITH YOU. も p3 と同じく特大で空いた高さを埋める（飾り・aria-hidden） */
.stage__word--turn span { display: block; width: max-content; font-size: min(40cqh, 22cqw); }
.fill__ph { width: 100%; height: 100%; object-fit: cover; }
.fill__ph--site { object-position: 50% 12%; }   /* 会社概要：水平器の人の顔と上半身が入る位置（2026-11-17 イラストの再差し替え） */
.fill__ph--left { object-position: 20% 45%; }   /* p10：事務所の絵の左側（図面を指す2人） */
.fill--red-ph { background: var(--color-red); }   /* p4：白黒の写真に赤を重ねる */
.fill--red-ph .fill__ph { object-position: 40% 15%; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.flow--on-ph { position: absolute; left: 0; right: 0; bottom: 0.1em; --pf-color: var(--color-on-dark); }
@container (max-height: 46px) { .fill > * { display: none; } }

/* ---------- 面の色（白・淡い灰・写真） ---------- */
.page--white { background: var(--color-base); color: var(--color-ink); }
.page--pale { background: var(--color-pale); color: var(--color-ink); }
.page--photo { background: var(--color-black); color: var(--color-on-dark); }
.page--red .lbl { color: var(--color-ink); }
.page--black .lbl, .page--photo .lbl { color: var(--color-yellow); }
.kw { font-weight: var(--fw-head); color: var(--color-main); }
.page--black .kw, .card .kw, .page--red .plate .kw { color: var(--color-yellow); }
.line-em { font-weight: var(--fw-head); }
.head__jp { font-weight: 700; font-size: var(--fs-ui); letter-spacing: 0.1em; }

/* ---------- p3 白い家の形の面が覆う（earsrise-cover）・チームの一言（quotes） ---------- */
.cover-house { --pf-fill: var(--color-pale); --pf-scene: var(--color-black); --pf-dur: 1.1s; visibility: visible; }   /* 入ってくる間から黒の場面を出しておく（中身が見える→幕で隠れる→出直す のちらつきを無くす。寺嶋さん FB 2026-11-04） */
.hd--answer { --pf-delay: 900ms; }
.quotes { width: fit-content; margin-block: 0.15em; font-family: var(--font-head); font-weight: var(--fw-head); font-size: min(1.4em, 5.4vw); white-space: nowrap; line-height: 1.35; color: var(--color-ink); background: linear-gradient(transparent 60%, var(--color-yellow) 0); }   /* 黒の文字に黄のマーカー（赤の文字は 18px で色の差が足りない） */

/* ---------- p4 お客様から現場までまっすぐの図・黒の面の本文 ---------- */
.direct { display: grid; gap: var(--sp-p); font-size: 1.1em; }
@media (max-height: 700px) { #p4 .fill--photo, #p4 .direct__chain { display: none; } }   /* 低い画面：写真が細い帯になり赤い空きだけが残るので出さない（中身は上下の真ん中に寄る。レビュー #5） */
.direct__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.4em; }
.direct__box { padding: 0.6em 0.8em; font-weight: var(--fw-head); line-height: 1.2; color: var(--color-on-dark); background: var(--color-black); }
.direct__box--us { color: var(--color-ink); background: var(--color-yellow); }
.direct__arrow {
  position: relative; height: 0.5em;
  border-bottom: 3px solid var(--color-black);
}
.direct__arrow::after { content: ""; position: absolute; right: -2px; bottom: -8px; border: 6.5px solid transparent; border-left: 10px solid var(--color-black); }
.direct__chain { display: flex; align-items: center; gap: 0.3em; font-weight: 700; font-size: max(var(--fs-min), 0.9em); }
.direct__chain span { position: relative; flex: 1; padding: 0.45em 0; text-align: center; color: var(--color-on-dark); background: var(--color-accent-2); }
.direct__chain span + span::before { content: ""; position: absolute; left: -0.3em; top: 50%; translate: -50% -50%; border: 0.32em solid transparent; border-left: 0.42em solid var(--color-black); margin-left: 0.2em; }   /* 直接商談 → 自社施工 → 現場 の向き */
.direct__x {
  flex: 0 0 auto; display: inline-block; padding: 0.25em 0.6em;
  font-size: 1.1em; letter-spacing: 0.04em; color: var(--color-yellow); background: var(--color-black); rotate: -6deg; --pf-delay: 1500ms;
}

/* ---------- p5 チームワーク：本文の箱の下に仲間の写真（端まで）・現場作業員と施工管理の札 ---------- */
.fill--team .fill__ph { object-position: 50% 30%; }
.team__en { position: absolute; left: var(--gutter); bottom: 0.15em; font-family: var(--font-en); font-weight: 800; font-size: min(18cqh, 3.4em); line-height: 0.9; letter-spacing: -0.03em; color: var(--color-base); text-shadow: 0 0 0.4em var(--color-veil-dk); pointer-events: none; }
.team__pair { margin-block: 0.3em; font-weight: var(--fw-head); }
.team__tag { display: inline-block; margin-inline: 0.15em 0.25em; padding: 0.1em 0.5em; font-size: 1.08em; line-height: 1.35; color: var(--color-on-dark); background: var(--color-black); }
.team__tag:first-child { margin-left: 0; }
.team__tag--b { color: var(--color-ink); background: var(--color-yellow); }

/* ---------- p6 職種：写真＋黒の箱（参考 R4） ---------- */
.jobs { flex: 1 1 auto; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sp-1); }
.job { position: relative; display: grid; grid-template-rows: minmax(2.6em, 1fr) auto; min-height: 0; }   /* 写真（上）＋箱（下）。箱を写真の顔にのせない */
.job__ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.job--over { grid-template-rows: 1fr; align-content: end; }   /* 現場作業員：手元の写真（顔なし）を後ろ全体に敷き、箱を下にのせる */
.job--over .job__ph { position: absolute; inset: 0; }
.job--over .job__txt { align-self: end; margin-top: clamp(1em, calc(7dvh - 1.6em), 2.6em); }
.job__ph--work { object-position: 90% 62%; }   /* p6：事務所の絵の右側（図面に向かう2人） */
.job__ph--career { object-position: 50% 30%; }   /* p6：図面を掲げる人の顔と図面が箱の上に入る位置 */
@media (max-height: 760px) {   /* 低い画面：2枚目の写真は細い帯に縮んで何か分からないので出さず、1枚目（手元）を大きく（レビュー #6） */
  .jobs { grid-template-rows: minmax(0, 1fr) auto auto; }
  .job__ph--career { display: none; }
  .job:has(> .job__ph--career) { grid-template-rows: auto; }
}
.job__txt { position: relative; z-index: 1; margin: -0.5em 0 0 1.6em; padding: 0.5em 0.7em 0.6em; display: grid; justify-items: start; gap: 0.25em; background: var(--color-veil-dk); }
.job__name { padding: 0.15em 0.5em; font-weight: var(--fw-head); font-size: 1.05em; line-height: 1.3; letter-spacing: 0.06em; color: var(--color-ink); background: var(--color-yellow); }
.job__body { font-weight: 700; font-size: max(var(--fs-min), 0.9em); line-height: 1.5; letter-spacing: 0; }
.job__em { color: var(--color-yellow); }
.job__step { justify-self: center; padding: 0 0.6em; line-height: 1; font-family: var(--font-en); font-weight: 800; font-size: var(--fs-ui); letter-spacing: 0.2em; color: var(--color-yellow); }
.job__step::before { content: "▼ "; }

/* ---------- p7 給与：特大の数字 ---------- */
.big-yen { position: absolute; z-index: 1; right: -0.12em; bottom: -0.22em; font-family: var(--font-en); font-weight: 800; font-size: 62dvh; line-height: 1; color: var(--color-pale); pointer-events: none; }
/* 給与・昇給の数字は横並びのカードで大きく（p7・p8 共通。寺嶋さん FB 2026-11-04） */
.pay, .raise { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.pay__card { --card-sh: var(--color-red); --card-ol: 2px solid var(--color-ink); }
.pay__card, .raise__card { display: grid; align-content: center; justify-items: center; gap: 0.2em; padding: 0.7em 0.4em 0.75em; text-align: center; font-weight: var(--fw-head); color: var(--color-ink); background: var(--color-base); outline: var(--card-ol); box-shadow: var(--shift) var(--shift) 0 var(--card-sh); }
.pay__who, .raise__when { font-size: max(var(--fs-min), 0.86em); line-height: 1.35; }
.pay__amt, .raise__amt { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; column-gap: 0.1em; }
.pay__num, .raise__num { font-family: var(--font-en); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; color: var(--color-red); font-variant-numeric: tabular-nums; }
.pay__num { font-size: min(4.6em, 19vw); }
.pay__unit { font-size: 1.05em; }
.page--white .line-em { color: var(--color-main); }

/* ---------- p8 キャリア：STEP 01・02 の段（stagger）・黒の箱 ---------- */
.body--red { font-size: 1.08em; line-height: 1.6; }
.body--red .ln { width: fit-content; padding: 0.1em 0.35em; background: var(--color-black); }   /* 赤の面の上の本文は黒の帯にのせる（読みやすさ 4.5:1） */
.step { display: grid; gap: 0.3em; }
.step + .step { margin-left: 6%; }   /* 段：STEP 02 を一段右へ */
.stairs__step { display: grid; grid-template-columns: auto 1fr; align-items: baseline; padding: 0.3em 0.7em; font-weight: 700; line-height: 1.45; color: var(--color-ink); background: var(--color-base); }
.stairs__no { margin-right: 0.6em; white-space: nowrap; font-family: var(--font-en); font-weight: 800; font-size: var(--fs-min); letter-spacing: 0.1em; color: var(--color-main); }
.card--career { gap: var(--sp-p); padding-block: 0.8em; }
.raise__card { --card-sh: var(--color-yellow); --card-ol: 0; }
.raise__num { font-size: min(3.3em, 13.5vw); white-space: nowrap; }
.raise__card:last-child .raise__num { font-size: min(4.2em, 17vw); }
.raise__unit { font-size: max(var(--fs-min), 0.95em); line-height: 1.35; }
@media (max-height: 700px) { .card--career { padding-block: 0.6em; gap: var(--sp-1); } .raise__card { padding-block: 0.5em 0.55em; gap: 0.1em; } .raise__num { font-size: min(2.9em, 12vw); } .raise__card:last-child .raise__num { font-size: min(3.6em, 15vw); } }   /* 低い画面：1画面に収める */
.card--career .body { font-size: max(var(--fs-min), 0.95em); line-height: 1.65; }
.note { font-size: var(--fs-min); font-weight: 500; }

/* ---------- p9 やりがい：写真（上）＋黒の面の本文 ---------- */
.p9__fig { position: relative; flex: 1 1 34dvh; min-height: 7em; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.p9__ph { width: 100%; height: 100%; object-fit: cover; object-position: 55% 18%; }
.p9__v { position: absolute; top: 0; right: 0; padding: 0.35em 0.12em; writing-mode: vertical-rl; font-family: var(--font-en); font-weight: 800; font-size: 2.2em; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; color: var(--color-yellow); background: var(--color-veil-dk); pointer-events: none; }   /* 明るい写真の上でも読めるよう、黒の帯にのせる（レビュー #16） */
@media (max-height: 760px) { .p9__v { writing-mode: horizontal-tb; padding: 0.15em 0.4em; font-size: 1.4em; } }   /* 低い画面：写真の帯が低く縦に入りきらないので横に（切らない） */
.p9__head { margin-top: calc(var(--sp-g) * -1 - 2.2em); position: relative; justify-self: start; align-self: flex-start; padding: 0.6em 0.8em 0.7em 0; background: var(--color-black); }
.p9__txt .body { font-size: max(var(--fs-min), 0.97em); }
.hang { margin-left: -0.5em; }   /* 行頭の「をぶら下げ、文字の見た目の左端を他の行と揃える（帯の左端はそのまま。寺嶋さん FB 2026-11-12） */
.thanks { color: var(--color-yellow); }
.page--photo .line-em { color: var(--color-yellow); }

/* ---------- p10 働き方：吹き出し（slide-left／right）・縦の特大英字 ---------- */
.voices { display: grid; gap: 0.5em; font-weight: 700; }
.voice { position: relative; justify-self: start; padding: 0.38em 0.9em; line-height: 1.4; border: 2px solid var(--color-black); border-radius: 0.5em; }
.voice::after {   /* しっぽ：本体と同じ地・同じ枠線の正方形を45度に回し、下の辺に半分重ねる（枠線がしっぽまで1本につながる。寺嶋さん FB 2026-11-04） */
  content: ""; position: absolute; bottom: calc(-0.36em - 1px); width: 0.7em; height: 0.7em; rotate: 45deg;
  background: inherit; border-right: 2px solid var(--color-black); border-bottom: 2px solid var(--color-black);
}
.voice--l { color: var(--color-on-dark); background: var(--color-black); }
.voice--l::after { left: 1.2em; }
.voice--r { justify-self: end; margin-right: 1.4em; color: var(--color-ink); background: var(--color-base); --pf-delay: 150ms; }
.voice--r::after { right: 1.2em; }
.voices__after { margin-top: 0.25em; }
.slogan { font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.15em; line-height: 1.4; }
.slogan__mk { color: var(--color-on-dark); background: var(--color-black); padding: 0 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- p11 メッセージ：巨大な英字の敷き詰め・斜めの帯・FV のキャッチで締める ---------- */
.tiles { position: absolute; z-index: 1; inset: var(--header-h) 0 0; display: grid; align-content: center; font-family: var(--font-en); font-weight: 800; line-height: 0.82; letter-spacing: -0.04em; color: var(--color-black-2); opacity: 0.6; pointer-events: none; overflow: hidden; }
.tiles span { font-size: 25dvh; white-space: nowrap; }
.tiles span:nth-child(2n) { padding-left: 0.4em; }
.hd--close { font-size: calc(var(--fs-head) * 1.08); }
.close-copy { position: relative; z-index: 1; font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.05em; line-height: 1.45; color: var(--color-on-dark); }
.final { position: relative; z-index: 1; width: fit-content; padding: var(--band-pad); font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.8em; line-height: 1.2; color: var(--color-yellow); background: var(--color-black); }
.ribbon {
  margin: 0.9em calc(var(--gutter) * -1.6);   /* 端から端まで流し、職人は手前に立たせる（制作者 2026-11-04） */
  padding: 0.25em 0; rotate: -3deg;
  --pf-size: 1.6em; --pf-color: var(--color-red); --pf-opacity: 1; background: var(--color-base);
  font-family: var(--font-en); font-weight: 800;
}
@media (max-height: 760px) { .ribbon { display: none; } }   /* 低い画面：斜めの帯（飾り）は本文の箱の下に潜って切れるので出さない（レビュー #2） */

/* ---------- 会社概要・募集要項 ---------- */
.req--company dd { font-weight: 700; line-height: 1.6; }
.req--company .req__row { padding-block: 0.36em; }
.biz li { position: relative; padding-left: 0.9em; line-height: 1.45; }   /* 事業内容を箇条書きに（寺嶋さん FB 2026-11-12） */
.biz li::before { content: ""; position: absolute; left: 0.1em; top: 0.68em; width: 0.32em; height: 0.32em; border-radius: 50%; background: currentColor; }
#company .fill--photo { min-height: 13dvh; }   /* 写真の帯を高くし、人物の顔が上下で切れないように（見比べ #9） */
@media (max-height: 760px) { #company .fill--photo { display: none; } }   /* 低い画面：絵の帯が細くなり上下が見切れるので出さない（寺嶋さん FB 2026-11-17「小さめの携帯では画像は非表示でいい」） */
.paren { font-size: max(var(--fs-min), 0.85em); }
.req__tags { display: flex; flex-wrap: wrap; gap: 0.3em; }
.req__tag { padding: 0.08em 0.5em; line-height: 1.5; background: var(--color-pale); }
#requirements .req__row { grid-template-columns: 6.5em minmax(0, 1fr); }   /* iPhone の Safari で福利厚生の札の並びが右の列を広げ、表が箱の右へはみ出した（寺嶋さん FB 2026-11-16） */
#requirements .req dd { min-width: 0; }

/* ---------- エントリー ---------- */
.entry__big { position: relative; z-index: 1; font-family: var(--font-en); font-weight: 800; font-size: 5.4em; line-height: 0.95; letter-spacing: -0.04em; color: var(--color-on-dark); }
.entry__form-ttl { position: relative; z-index: 1; justify-self: start; padding: 0.1em 0.6em; font-weight: var(--fw-head); color: var(--color-yellow); background: var(--color-black); }
.field__opt { padding: 0.1em 0.5em; font-size: var(--fs-min); line-height: 1.4; color: var(--color-ink); background: var(--color-line); }

/* ---------- PC：左右の帯（赤の極太の英字が縦に流れる） ---------- */
@media (min-width: 960px) {
  .rail { overflow: hidden; isolation: isolate; }
  .rail::before {
    position: absolute; top: 0; writing-mode: vertical-rl; white-space: nowrap;
    font-family: var(--font-en); font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -0.02em; color: var(--color-red);
    animation: rail-flow 40s linear infinite;
  }
  .rail--left::before { content: "TEAMWORK TEAMWORK TEAMWORK TEAMWORK TEAMWORK TEAMWORK "; left: 0; }
  .rail--right::before { content: "WITH YOU WITH YOU WITH YOU WITH YOU WITH YOU WITH YOU "; right: 0; animation-direction: reverse; }
  /* 上：写真の窓（ずらした赤・黄の面を後ろに）／下：斜めに渡る工事のテープ（文字が流れる） */
  .rail-ph { position: absolute; top: 7dvh; left: 128px; width: min(300px, calc(100% - 170px)); height: 24dvh; margin: 0; }
  .rail-ph::before { content: ""; position: absolute; inset: 0; translate: 14px 14px; background: var(--color-red); }
  .rail-ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
  .rail-ph--r { left: auto; right: 128px; }
  .rail-ph--r::before { translate: -14px 14px; background: var(--color-yellow); }
  .rail-tape {
    position: absolute; left: -4%; right: -4%; bottom: 9dvh; rotate: -7deg; overflow: hidden; padding-block: 10px;
    background:
      repeating-linear-gradient(-45deg, var(--color-black) 0 9px, var(--color-yellow) 9px 18px) top / 100% 7px no-repeat,
      repeating-linear-gradient(-45deg, var(--color-black) 0 9px, var(--color-yellow) 9px 18px) bottom / 100% 7px no-repeat,
      var(--color-yellow);
  }
  .rail-tape--r { rotate: 7deg; }
  .rail-tape::before {
    content: "OAKS HOME \2003/\2003 SKILL × TEAMWORK \2003/\2003 OAKS HOME \2003/\2003 SKILL × TEAMWORK \2003/\2003 OAKS HOME \2003/\2003 SKILL × TEAMWORK \2003/\2003 OAKS HOME \2003/\2003 SKILL × TEAMWORK \2003/\2003 ";
    display: block; width: max-content; font-family: var(--font-en); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: 0.04em; color: var(--color-ink); white-space: nowrap;
    animation: rail-tape 24s linear infinite;
  }
  /* 空いた所：間取り図の線画を帯の全体に散らす（うっすら） */
  .rail::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.08; background: var(--color-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='900' viewBox='0 0 760 900' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cg transform='translate%2840 30%29 rotate%28-6%29 scale%28.8%29'%3E%3Crect x='20' y='20' width='380' height='380'/%3E%3Cpath d='M20 170h150v-150M170 170h90M300 170h100M230 170v230M230 290h170M110 170v60M20 300h120M60 300v100'/%3E%3Cpath d='M170 120a50 50 0 0 1 50 50M230 240a50 50 0 0 0 50-50' stroke-width='1.2'/%3E%3Cpath d='M20 4h380M20 0v8M400 0v8M4 20v380M0 20h8M0 400h8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%28430 120%29 rotate%289%29'%3E%3Crect x='0' y='0' width='300' height='200'/%3E%3Cpath d='M120 0v200M120 110h180M210 110v90M0 140h70'/%3E%3Cpath d='M120 60a40 40 0 0 1 40 40M70 140a40 40 0 0 1-40 40' stroke-width='1.2'/%3E%3Cpath d='M0 -14h300M0 -18v8M300 -18v8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%28470 470%29 rotate%28-4%29'%3E%3Crect x='0' y='0' width='220' height='280'/%3E%3Cpath d='M0 120h220M110 120v160M0 200h60M160 0v60h60'/%3E%3Cpath d='M60 120a40 40 0 0 1 40-40' stroke-width='1.2'/%3E%3Cpath d='M-14 0v280M-18 0h8M-18 280h8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%2860 520%29 rotate%285%29 scale%28.95%29'%3E%3Crect x='0' y='0' width='300' height='200'/%3E%3Cpath d='M120 0v200M120 110h180M210 110v90M0 140h70'/%3E%3Cpath d='M120 60a40 40 0 0 1 40 40M70 140a40 40 0 0 1-40 40' stroke-width='1.2'/%3E%3Cpath d='M0 -14h300M0 -18v8M300 -18v8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 380px auto repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='900' viewBox='0 0 760 900' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cg transform='translate%2840 30%29 rotate%28-6%29 scale%28.8%29'%3E%3Crect x='20' y='20' width='380' height='380'/%3E%3Cpath d='M20 170h150v-150M170 170h90M300 170h100M230 170v230M230 290h170M110 170v60M20 300h120M60 300v100'/%3E%3Cpath d='M170 120a50 50 0 0 1 50 50M230 240a50 50 0 0 0 50-50' stroke-width='1.2'/%3E%3Cpath d='M20 4h380M20 0v8M400 0v8M4 20v380M0 20h8M0 400h8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%28430 120%29 rotate%289%29'%3E%3Crect x='0' y='0' width='300' height='200'/%3E%3Cpath d='M120 0v200M120 110h180M210 110v90M0 140h70'/%3E%3Cpath d='M120 60a40 40 0 0 1 40 40M70 140a40 40 0 0 1-40 40' stroke-width='1.2'/%3E%3Cpath d='M0 -14h300M0 -18v8M300 -18v8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%28470 470%29 rotate%28-4%29'%3E%3Crect x='0' y='0' width='220' height='280'/%3E%3Cpath d='M0 120h220M110 120v160M0 200h60M160 0v60h60'/%3E%3Cpath d='M60 120a40 40 0 0 1 40-40' stroke-width='1.2'/%3E%3Cpath d='M-14 0v280M-18 0h8M-18 280h8' stroke-width='1.2'/%3E%3C/g%3E%3Cg transform='translate%2860 520%29 rotate%285%29 scale%28.95%29'%3E%3Crect x='0' y='0' width='300' height='200'/%3E%3Cpath d='M120 0v200M120 110h180M210 110v90M0 140h70'/%3E%3Cpath d='M120 60a40 40 0 0 1 40 40M70 140a40 40 0 0 1-40 40' stroke-width='1.2'/%3E%3Cpath d='M0 -14h300M0 -18v8M300 -18v8' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 380px auto repeat;
  }
  .rail--right::after { -webkit-mask-position: 190px 220px; mask-position: 190px 220px; }
  .rail-side__now::before { content: "No."; margin-right: 0.08em; font-size: 0.45em; letter-spacing: 0.06em; }   /* ページの札（No.03 ANSWER）と同じ書き方に（レビュー #19） */
  .rail-tape--r::before {
    content: "ONE TEAM \2003/\2003 WITH YOU. \2003/\2003 ONE TEAM \2003/\2003 WITH YOU. \2003/\2003 ONE TEAM \2003/\2003 WITH YOU. \2003/\2003 ONE TEAM \2003/\2003 WITH YOU. \2003/\2003 ";
    animation-direction: reverse;
  }
}
@keyframes rail-flow { to { translate: 0 -50%; } }
@keyframes rail-tape { to { translate: -50% 0; } }
