/* DFML recruit site - pattern 1 taste (sky gradients, photos that open like windows) with bigger type and many real staff photos.
   Loaded after style.css (the corporate pattern 1 styles). */
.rs { --fs-body: 17px; --fs-lead: clamp(18px, 1.45vw, 21px); --fs-h2: clamp(30px, 4vw, 58px); --fs-h3: clamp(24px, 2.8vw, 40px); --fs-h4: clamp(20px, 1.8vw, 26px); font-size: 17px; }
.rs .sh__label { font-size: 16px; }
.rs .sh__en { font-size: clamp(56px, 10vw, 168px); line-height: .98; }
.rs .sh__lead { font-size: var(--fs-lead); }
.rs .prose { font-size: var(--fs-lead); }
.hl { font-weight: 900; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* header: the site name next to the logo, the entry button */
.rs .hd__logo { display: flex; align-items: center; gap: 14px; }
.hd__tag { flex: none; padding: 3px 10px; border-radius: 4px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; white-space: nowrap; }
.rs .gn ul { gap: clamp(14px, 1.6vw, 28px); }
.rs .hd__entry .en { font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--cta); }
.drawer__btns { display: grid; gap: 12px; margin-top: 36px; }
.drawer .drawer__btns .btn { margin-top: 0; }
@media (max-width: 1240px) { .rs .hd__cta { margin-left: auto; } }
@media (max-width: 640px) {
  .rs .hd__logo { gap: 8px; }
  .rs .hd__logo img { width: min(200px, 100%); }
  .hd__tag { font-size: 11px; padding: 2px 6px; }
}
@media (max-width: 520px) { .hd__tag { display: none; } }

/* buttons */
.btn--white { background: #fff; color: var(--cta); }
.btn--white:hover { background: #EAF8FF; }
.btn--white .arw { background: var(--g-btn); color: #fff; }

/* ---------- MV: the catch large on the sky, a wall of real working photos on the right (windows that light up) ---------- */
.rmv { position: relative; height: 100svh; min-height: 680px; overflow: hidden; color: #fff; background: var(--g-deep); }
.rmv::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 62%); }
.rmv__wall { position: absolute; top: 0; bottom: 0; right: 0; width: 47%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-right: 14px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.rmv__col { display: flex; flex-direction: column; }
.rmv__col li { position: relative; flex: none; margin-bottom: 14px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.rmv__col img { width: 100%; height: 100%; object-fit: cover; }
.rmv__col li::after { content: ""; position: absolute; inset: 0; background: var(--g-brand); opacity: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); pointer-events: none; }
.rmv__col li.is-lit::after { animation: lit 1.8s var(--ease); }
@keyframes lit { 0% { opacity: 0; } 28% { opacity: .78; } 100% { opacity: 0; } }
.rmv__col:nth-child(2) { margin-top: -38%; }
.rmv__col:nth-child(3) { margin-top: -12%; }
.anim .rmv__col { animation: wallUp 70s linear infinite; }
.anim .rmv__col:nth-child(2) { animation-name: wallDown; animation-duration: 80s; }
.anim .rmv__col:nth-child(3) { animation-duration: 64s; }
@keyframes wallUp { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -33.3333%, 0); } }
@keyframes wallDown { from { transform: translate3d(0, -33.3333%, 0); } to { transform: translate3d(0, 0, 0); } }
.rmv__body { position: absolute; z-index: 2; left: max(var(--gut), (100% - var(--wrap)) / 2); bottom: clamp(56px, 11vh, 132px); width: calc(53% - max(var(--gut), (100% - var(--wrap)) / 2) - 24px); }
.rmv__tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-weight: 700; font-size: 15px; letter-spacing: .08em; line-height: 1.6; }
.rmv__tag .en { font-weight: 600; font-size: 22px; letter-spacing: .06em; color: var(--brand-hi); }
.rmv__catch { margin-top: 18px; font-size: clamp(40px, 5.5vw, 96px); font-weight: 900; line-height: 1.32; letter-spacing: .02em; font-feature-settings: "palt"; text-shadow: 0 2px 24px rgba(0, 40, 90, .35); }
.rmv__catch .ln:first-child { margin-left: -.5em; }
.rmv__catch .ln:nth-child(2) { margin-left: -.5em; }
.anim .rmv__catch .ln { opacity: 0; transform: translateY(28px); animation: rise 1.1s var(--ease) forwards; }
.anim .rmv__catch .ln:nth-child(2) { animation-delay: .18s; }
.rmv__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: clamp(28px, 4vh, 44px); }
.rmv__facts li { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 4px; padding: 0 clamp(18px, 2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .4); }
.rmv__facts li:first-child { padding-left: 0; border-left: 0; }
.rmv__facts b { font-weight: 600; font-size: clamp(40px, 3.6vw, 60px); line-height: 1; }
.rmv__facts small { font-size: 16px; font-weight: 700; }
.rmv__facts span { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .9); line-height: 1.5; }
.anim .rmv__facts { opacity: 0; animation: rise 1s var(--ease) .55s forwards; transform: translateY(20px); }
.rmv__scroll { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.rmv__scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(180deg, #fff 50%, rgba(255, 255, 255, .25) 50%); background-size: 1px 200%; }
.anim .rmv__scroll::after { animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (max-width: 1080px) {
  .rmv__wall { width: 44%; }
  .rmv__body { width: calc(56% - var(--gut) - 16px); }
}
@media (max-width: 760px) {
  .rmv { height: auto; min-height: calc(var(--vh, 1svh) * 100 - var(--spbar)); display: flex; flex-direction: column; justify-content: center; padding: 96px 0 36px; }
  .rmv::before { -webkit-mask-image: none; mask-image: none; opacity: .6; }
  .rmv__body { display: contents; }
  .rmv__tag { order: 0; margin: 0 var(--gut); }
  .rmv__tag .en { font-size: 18px; }
  .rmv__catch { order: 1; margin: 12px var(--gut) 0; font-size: clamp(28px, 9.2vw, 46px); }
  .rmv__catch .ln:first-child, .rmv__catch .ln:nth-child(2) { margin-left: -.1em; }
  .rmv__wall { order: 2; position: relative; inset: auto; width: auto; margin-top: 28px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; -webkit-mask-image: none; mask-image: none; }
  .rmv__col { flex-direction: row; width: max-content; margin: 0 !important; }
  .rmv__col:nth-child(3) { display: none; }
  .rmv__col li { width: 180px; margin: 0 10px 0 0; border-radius: 10px; }
  .rmv__col:nth-child(2) { margin-left: -60px !important; }
  .anim .rmv__col { animation-name: wallLeft; animation-duration: 46s; }
  .anim .rmv__col:nth-child(2) { animation-name: wallRight; animation-duration: 52s; }
  .rmv__facts { order: 3; margin: 28px var(--gut) 0; flex-wrap: nowrap; }
  .rmv__facts li { padding: 0 12px; }
  .rmv__facts b { font-size: clamp(30px, 8.6vw, 40px); }
  .rmv__facts small { font-size: 13px; }
  .rmv__facts span { font-size: 11px; letter-spacing: .02em; }
  .rmv__scroll { display: none; }
}
@keyframes wallLeft { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-33.3333%, 0, 0); } }
@keyframes wallRight { from { transform: translate3d(-33.3333%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
html:not(.anim) .rmv__col li.is-clone { display: none; }

/* ---------- about: the company's own words, large ---------- */
.rin { background: linear-gradient(180deg, #FFFFFF 0%, #F1FAFF 100%); }
.rin__big { font-size: clamp(21px, 2.3vw, 34px); font-weight: 700; color: var(--ink); line-height: 1.95; letter-spacing: .04em; }
.rin__sub { margin-top: clamp(28px, 3vw, 40px); font-size: var(--fs-lead); font-weight: 700; color: var(--ink-2); }

/* section heading in Japanese under the big English word */
.rwork__ttl { margin-top: 18px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.55; letter-spacing: .04em; }

/* ---------- work: big photo rows that touch the edge of the screen ---------- */
.rwork { padding-bottom: clamp(88px, 10vw, 140px); }
.rwork .sh { margin-bottom: 0; }
.rrow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 120px); padding-right: max(var(--gut), (100% - var(--wrap)) / 2); }
.rrow--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding-right: 0; padding-left: max(var(--gut), (100% - var(--wrap)) / 2); }
.rrow--rev .rrow__photo { order: 2; border-radius: 40px 0 0 40px; }
.rrow__photo { aspect-ratio: 16 / 10; border-radius: 0 40px 40px 0; overflow: hidden; }
.rrow__no { font-weight: 600; font-size: clamp(80px, 8.4vw, 136px); line-height: .9; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.rrow__en { margin-top: 14px; font-weight: 600; font-size: 18px; letter-spacing: .08em; color: var(--brand); }
.rrow__ttl { margin-top: 6px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; }
.rrow__txt { margin-top: 20px; font-size: var(--fs-lead); line-height: 2; }
.rrow__dept { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.rrow__dept li { padding: 4px 12px; border-radius: 4px; background: var(--g-card); box-shadow: inset 0 0 0 1px rgba(0, 160, 233, .35); font-size: 14px; font-weight: 700; color: var(--cta); line-height: 1.7; }
@media (max-width: 860px) {
  .rrow, .rrow--rev { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0; }
  .rrow__photo { margin-right: var(--gut); }
  .rrow--rev .rrow__photo { order: 0; margin: 0 0 0 var(--gut); }
  .rrow__body { padding: 0 var(--gut); }
  .rrow__no { font-size: 72px; }
}

/* ---------- career steps ---------- */
.rstep { background: var(--g-soft); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { position: relative; padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 36px); border-radius: 30px; background: #fff; box-shadow: var(--sh-card); }
.steps li + li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 14px; height: 14px; border-top: 3px solid var(--brand); border-right: 3px solid var(--brand); transform: translate(-3px, -50%) rotate(45deg); }
.steps__no { display: inline-block; padding: 2px 12px; border-radius: 4px; background: var(--g-btn); color: #fff; font-weight: 600; font-size: 18px; letter-spacing: .08em; line-height: 1.5; }
.steps__ttl { margin-top: 18px; font-size: clamp(22px, 2vw, 30px); font-weight: 900; color: var(--ink); line-height: 1.5; }
.steps li > p:last-child { margin-top: 16px; font-size: 16px; line-height: 1.95; }
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 620px; margin: 0 auto; }
  .steps li + li::before { left: 50%; top: -26px; transform: translate(-50%, 0) rotate(135deg); }
  .steps li { text-align: center; }
  .steps li > p:last-child { text-align: justify; text-align-last: center; }
}

/* ---------- people: big cards that slide sideways ---------- */
.rpeople { overflow: hidden; }
.rpeople__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.rpeople__head .sh { margin-bottom: 0; }
.pslide__nav { display: flex; gap: 12px; flex: none; }
.pslide__btn { display: grid; place-content: center; width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--g-btn); cursor: pointer; transition: background .25s; }
.pslide__btn:hover { background: var(--g-btn-hover); }
.pslide__btn .arw { width: 32px; height: 32px; }
.pslide__btn--prev .arw { transform: rotate(180deg); }
.pslide { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gut), (100% - var(--wrap)) / 2) 24px; scroll-padding-inline: max(var(--gut), (100% - var(--wrap)) / 2); scrollbar-width: none; }
.pslide::-webkit-scrollbar { display: none; }
.pcard { flex: none; width: clamp(280px, 29vw, 420px); scroll-snap-align: start; }
.pcard a { display: block; }
.pcard__photo { aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--g-card); }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .8s var(--ease); }
.pcard a:hover .pcard__photo img { transform: scale(1.05); }
.pcard__catch { margin-top: 22px; min-height: 3.2em; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; color: var(--ink); line-height: 1.6; }
.pcard__meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.pcard__name { flex: none; white-space: nowrap; font-weight: 600; font-size: 38px; line-height: 1; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.pcard__dept { font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; color: var(--ink-2); }
.pcard__meta .arw { margin-left: auto; background: var(--g-btn); color: #fff; width: 36px; height: 36px; }
.pcard__meta .arw::before { left: 11px; top: 17px; }
.pcard__meta .arw::after { left: 15px; top: 14px; }
@media (max-width: 760px) {
  .rpeople__head { display: block; }
  .pslide__nav { display: none; }
  .pcard { width: 78vw; }
}

/* ---------- photos of the daily work (two belts) ---------- */
.rdays { padding: clamp(88px, 11vw, 160px) 0; overflow: hidden; background: linear-gradient(180deg, #F1FAFF 0%, #FFFFFF 100%); }
.belt2 { display: grid; gap: 16px; }
.belt2__row { display: flex; width: max-content; }
.belt2__row li { flex: none; width: clamp(240px, 25vw, 400px); margin-right: 16px; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.belt2__row img { width: 100%; height: 100%; object-fit: cover; }
.anim .belt2__row { animation: beltL 90s linear infinite; }
.anim .belt2__row--rev { animation-name: beltR; animation-duration: 100s; }
@keyframes beltL { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes beltR { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
html:not(.anim) .belt2 { overflow-x: auto; }
@media (max-width: 560px) { .belt2__row li { width: 210px; margin-right: 10px; border-radius: 14px; } .belt2 { gap: 10px; } }

/* ---------- numbers on the deep sky band ---------- */
.rnum { position: relative; overflow: hidden; color: #fff; background: var(--g-deep); }
.rnum .sh__label { color: #fff; }
.rnum .sh__en, .rhead--deep .sh__en { background: linear-gradient(100deg, #FFFFFF 0%, #DDF6FF 60%, #A6E8FF 100%); -webkit-background-clip: text; background-clip: text; }
.bign { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bign li { display: grid; align-content: start; justify-items: center; padding: 36px 14px 30px; border-radius: 28px; background: var(--g-card); color: var(--ink); text-align: center; box-shadow: 0 24px 40px -30px rgba(0, 30, 70, .55); }
.bign__k { font-size: 17px; font-weight: 700; line-height: 1.5; }
.bign__v { margin-top: 6px; line-height: 1.05; white-space: nowrap; color: var(--cta); }
.bign__v b { font-weight: 700; font-size: clamp(60px, 6vw, 100px); background: linear-gradient(100deg, #005EA6 0%, #0089D6 55%, #12AEEE 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bign__v b.jp { font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: clamp(44px, 4.4vw, 72px); }
.bign__v small { margin-left: 4px; font-size: 20px; font-weight: 700; }
.bign__note { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.rnum .more .btn { min-width: min(340px, 100%); }
@media (max-width: 960px) { .bign { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bign { gap: 12px; } .bign li { padding: 26px 8px 22px; } .bign__k { font-size: 15px; } .bign__v b { font-size: 52px; } .bign__v b.jp { font-size: 40px; } .bign__v small { font-size: 16px; } }
@media (max-width: 380px) { .bign__v b { font-size: 44px; } .bign__k { font-size: 14px; } }

/* ---------- support ---------- */
.sup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.sup__photo { aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; }
.sup__body { padding: 26px 4px 0; }
.sup__ttl { font-size: var(--fs-h4); font-weight: 900; color: var(--ink); line-height: 1.5; }
.sup__body p { margin-top: 12px; font-size: var(--fs-lead); line-height: 1.95; }
.sup2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.sup2 li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; padding: 28px; border-radius: 26px; background: var(--g-card); box-shadow: var(--sh-card); }
.sup2 h3 { font-size: 20px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.sup2 p { margin-top: 6px; font-size: 15px; line-height: 1.85; }
@media (max-width: 860px) { .sup, .sup2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sup2 li { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 24px 20px; } }

/* ---------- entry band (partials/cta.html) ---------- */
.ent { position: relative; display: flex; align-items: center; min-height: clamp(580px, 60vw, 860px); overflow: hidden; color: #fff; background: var(--g-deep); }
.ent__photo { position: absolute; inset: 0; }
.ent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.ent::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 52, 104, .7) 0%, rgba(8, 82, 150, .4) 34%, rgba(10, 110, 180, 0) 56%); }
.ent__body { position: relative; z-index: 2; width: min(var(--wrap), 100% - var(--gut) * 2); margin: 0 auto; padding: clamp(80px, 9vw, 130px) 0; }
.ent__en { font-weight: 600; font-size: clamp(96px, 15vw, 240px); line-height: .9; letter-spacing: .01em; background: linear-gradient(100deg, #FFFFFF 0%, #DDF6FF 60%, #A6E8FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.ent__txt { margin-top: 26px; font-size: clamp(22px, 2.6vw, 40px); font-weight: 900; line-height: 1.6; letter-spacing: .04em; text-shadow: 0 2px 18px rgba(0, 30, 70, .45); }
.ent__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.ent__btns .btn { min-width: 300px; }
@media (max-width: 760px) {
  .ent { display: block; min-height: 0; }
  .ent::after { display: none; }
  .ent__photo { position: relative; aspect-ratio: 4 / 3; }
  .ent__photo img { object-position: 76% 40%; }
  .ent__body { padding: 0 0 64px; text-align: center; }
  .ent__en { margin-top: -.5em; font-size: clamp(88px, 28vw, 140px); }
  .ent__txt { font-size: clamp(20px, 6vw, 26px); }
  .ent__btns { flex-direction: column; }
  .ent__btns .btn { min-width: 0; width: 100%; }
}

/* ---------- big moving words above the footer ---------- */
.ticker { overflow: hidden; padding: clamp(28px, 4vw, 48px) 0; background: #fff; }
.ticker__track { display: flex; width: max-content; }
.ticker p { display: flex; align-items: center; flex: none; padding-right: .4em; font-family: "Barlow", sans-serif; font-weight: 600; font-size: clamp(56px, 8.4vw, 136px); line-height: 1.1; white-space: nowrap; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ticker i { display: inline-block; flex: none; width: .3em; height: .3em; margin: 0 .4em; border-radius: 3px; background: var(--g-brand); }
.anim .ticker__track { animation: beltL 46s linear infinite; }

/* footer */
.ft__site { display: inline-block; margin-top: 14px; padding: 2px 12px; border-radius: 4px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }
.rs .ft__group .btn { min-width: 250px; }
@media (max-width: 960px) { .rs .ft__group .btn { width: min(320px, 100%); } }

/* =====================================================================
   Lower pages
   ===================================================================== */
.rlead { max-width: 900px; margin-inline: auto; text-align: center; }
.rlead__ttl { font-size: var(--fs-h2); font-weight: 900; color: var(--ink); line-height: 1.5; letter-spacing: .04em; }
.rlead__txt { margin-top: 28px; font-size: var(--fs-lead); line-height: 2; text-align: justify; text-align-last: center; }
.rs .flow h3 { font-size: 19px; }
.rs .flow p { font-size: 15px; }
.bg-soft { background: var(--g-soft); }

/* four jobs and their hours */
.jobs4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jobs4 li { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: #fff; box-shadow: var(--sh-card); }
.jobs4__en { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .08em; color: var(--brand); }
.jobs4__ttl { margin-top: 4px; font-size: var(--fs-h4); font-weight: 900; color: var(--ink); line-height: 1.5; }
.jobs4__time { margin-top: 14px; font-family: "Barlow", sans-serif; font-weight: 600; font-size: clamp(36px, 3.4vw, 50px); line-height: 1.1; color: var(--cta); white-space: nowrap; }
.jobs4__time small { margin-left: 10px; font-family: "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.jobs4 p:last-child { margin-top: 14px; font-size: 16px; line-height: 1.9; }
@media (max-width: 860px) { .jobs4 { grid-template-columns: minmax(0, 1fr); } }

/* the 24-hour duty: one bar for the day */
.dbar { margin-top: clamp(28px, 3vw, 40px); }
.dbar__bar { display: grid; grid-template-columns: 14fr 10fr; height: 64px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.dbar__bar span { display: grid; place-content: center; font-weight: 900; font-size: 17px; line-height: 1.3; text-align: center; }
.dbar__work { background: linear-gradient(95deg, #FFFFFF 0%, #DDF6FF 100%); color: var(--cta); }
.dbar__rest { background: rgba(255, 255, 255, .16); color: #fff; }
.dbar__ends { display: flex; justify-content: space-between; margin-top: 10px; font-family: "Barlow", sans-serif; font-weight: 600; font-size: 22px; }
.dbar__ends small { font-family: "Noto Sans JP", sans-serif; font-size: 13px; font-weight: 700; margin-right: 4px; }
.duty .duty__bg img { opacity: .38; }
@media (max-width: 560px) { .dbar__bar { height: 56px; } .dbar__bar span { font-size: 14px; } }

/* people page: one large row per person */
.prow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.prow + .prow { margin-top: clamp(88px, 11vw, 160px); }
.prow--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.prow--rev .prow__fig { order: 2; }
.prow__fig { position: relative; }
.prow__main { position: relative; isolation: isolate; }
.prow__main::before { content: ""; position: absolute; z-index: -1; inset: 26px -26px -26px 26px; border-radius: 36px; background: var(--g-frame); }
.prow--rev .prow__main::before { inset: 26px 26px -26px -26px; }
.prow__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; border-radius: 32px; }
.prow__subs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 44px; }
.prow__subs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.prow__name { font-family: "Barlow", sans-serif; font-weight: 600; font-size: clamp(72px, 8vw, 128px); line-height: .95; background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.prow__dept { margin-top: 12px; font-weight: 700; color: var(--cta); letter-spacing: .06em; }
.prow__catch { margin-top: 20px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.55; }
.prow__prof { margin-top: 22px; font-size: var(--fs-lead); line-height: 2; }
.prow .btn { margin-top: 32px; }
@media (max-width: 860px) {
  .prow { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .prow--rev .prow__fig { order: 0; }
  .prow__main { width: min(440px, 88%); margin: 0 auto; }
  .prow__subs { margin-top: 40px; }
  .prow__body { text-align: center; }
  .prow__prof { text-align: justify; }
  .prow .btn { width: min(340px, 100%); }
}

/* photo wall of every daily-work photo */
.gal { columns: 4 240px; column-gap: 14px; }
.gal li { break-inside: avoid; margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
.gal img { width: 100%; }

/* numbers page */
.bign--page li { background: var(--g-card); box-shadow: var(--sh-card); }
.bign--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .bign--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* allowances: square tiles */
.allow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.allow li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 6px; background: var(--g-card); box-shadow: inset 0 0 0 1px rgba(0, 160, 233, .22); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.allow li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--g-brand); }
.allow small { font-size: 13px; color: var(--ink-3); margin-left: 4px; }
@media (max-width: 860px) { .allow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .allow { grid-template-columns: minmax(0, 1fr); } }

/* requirements table */
.reqt { border-top: 1px solid var(--line-strong); }
.reqt > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.reqt dt { font-weight: 900; color: var(--ink); font-size: 18px; line-height: 1.8; }
.reqt dd { font-size: 17px; line-height: 1.95; }
.reqt dd ul { display: grid; gap: 4px; }
.reqt dd li { position: relative; padding-left: 1.1em; }
.reqt dd li::before { content: ""; position: absolute; left: 0; top: .82em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.reqt__note { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.reqt__note a { color: var(--cta); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .reqt > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; } }

/* how to apply */
.apply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.apply li { display: grid; align-content: start; justify-items: start; padding: clamp(32px, 4vw, 52px); border-radius: 32px; background: var(--g-deep); color: #fff; }
.apply li:nth-child(2) { background: var(--g-card); color: var(--ink-2); box-shadow: var(--sh-card); }
.apply__en { font-family: "Barlow", sans-serif; font-weight: 600; font-size: clamp(44px, 4.6vw, 72px); line-height: 1; }
.apply li:nth-child(1) .apply__en { background: linear-gradient(100deg, #FFFFFF 0%, #DDF6FF 60%, #A6E8FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.apply li:nth-child(2) .apply__en { background: var(--g-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.apply__ttl { margin-top: 14px; font-size: var(--fs-h4); font-weight: 900; line-height: 1.5; }
.apply li:nth-child(2) .apply__ttl { color: var(--ink); }
.apply p { margin-top: 12px; font-size: 16px; line-height: 1.9; }
.apply .btn { margin-top: 28px; min-width: min(320px, 100%); }
@media (max-width: 860px) { .apply { grid-template-columns: minmax(0, 1fr); } .apply li { justify-items: stretch; text-align: center; } .apply p { text-align: justify; text-align-last: center; } }

/* interviews: larger words */
.rs .ivh__catch { font-size: clamp(28px, 3.4vw, 52px); }
.rs .qa__q { font-size: clamp(21px, 1.9vw, 27px); }
.rs .sched p { font-size: 17px; }
.rs .ivnav__name { font-size: 26px; }
.rs .ivnav__dept { font-size: 13px; letter-spacing: .02em; }
.qa__no { margin-bottom: 10px; font-weight: 600; font-size: 18px; letter-spacing: .1em; color: var(--brand); line-height: 1.4; }

/* giant English words that sit in a narrower box */
.rs .duty .sh__en { font-size: clamp(56px, 6.4vw, 104px); }
.rs .wrap--narrow .sh__en { font-size: clamp(52px, 7.4vw, 112px); }
/* long catches wrap by phrase instead of running out of the box */
.ln--wrap { white-space: normal; }