.product-gallery-page{--pg-ink:#102f49;--pg-blue:#075dad;--pg-yellow:#f8bb19;--pg-coral:#ff725f;color:var(--pg-ink);overflow:hidden}
.corporate-product-gallery-view .site-header,.corporate-product-gallery-view .site-header.is-scrolled{color:#111;background:rgba(255,255,255,.97);box-shadow:0 1px 0 #102f4918}
.pg-hero{min-height:72vh;padding:calc(var(--header-h) + 9vw) max(7vw,24px) 8vw;background:#f3f5f6;display:flex;flex-direction:column;justify-content:flex-end}
.pg-hero>p:first-child,.pg-corporate-intro>p:first-child,.pg-corporate-gallery>header>p{margin:0 0 22px;font:700 13px/1.4 Rajdhani,"Noto Sans JP",sans-serif;letter-spacing:.18em;color:#577386}
.pg-hero h1{margin:0;font-size:clamp(52px,8.3vw,132px);font-weight:900;line-height:.98;letter-spacing:-.055em}
.pg-hero>p:last-child{max-width:650px;margin:45px 0 0;font-size:clamp(15px,1.25vw,19px);font-weight:600;line-height:2}
.pg-corporate-intro,.pg-corporate-gallery{width:min(86vw,1400px);margin-inline:auto}
.pg-corporate-intro{display:grid;grid-template-columns:220px minmax(0,1fr) minmax(280px,.65fr);gap:4vw;padding:120px 0}
.pg-corporate-intro h2{margin:0;font-size:clamp(30px,3.5vw,54px);line-height:1.55;letter-spacing:.02em}
.pg-corporate-intro>p:last-child{margin:0;font-size:15px;line-height:2.2}
.pg-corporate-gallery{padding:0 0 130px;scroll-margin-top:120px}
.pg-corporate-gallery>header{display:flex;justify-content:space-between;align-items:end;padding:0 0 45px;border-bottom:1px solid #bdc8cf}
.pg-corporate-gallery>header h2{margin:0;font-size:clamp(28px,3.2vw,47px);line-height:1.55}
.product-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.product-gallery-item{position:relative;display:block;width:100%;aspect-ratio:1;min-width:0;padding:0;border:0;overflow:hidden;background:#09141d;cursor:zoom-in;appearance:none}
.product-gallery-item img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .55s cubic-bezier(.2,.75,.2,1),filter .4s;filter:saturate(.82)}
.product-gallery-item span{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;background:#123952d9;font-size:22px;line-height:1;transition:transform .3s,background .3s}
.product-gallery-item:hover img{transform:scale(1.035);filter:saturate(1)}
.product-gallery-item:hover span{transform:rotate(90deg);background:var(--pg-blue)}
.product-gallery-item:focus-visible{outline:4px solid var(--pg-yellow);outline-offset:4px}
.product-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:clamp(25px,5vw,70px);border:0;color:#fff;background:#061827e8;overflow:hidden;cursor:zoom-out}
.product-lightbox::backdrop{background:#061827cc;backdrop-filter:blur(8px)}
.product-lightbox[open]{display:grid;place-items:center;animation:pg-fade .25s ease-out both}
.product-lightbox img{display:block;max-width:min(88vw,1500px);max-height:82dvh;width:auto;height:auto;object-fit:contain;cursor:zoom-out;animation:pg-zoom .38s cubic-bezier(.2,.8,.2,1) both;box-shadow:0 28px 80px #0008}
.product-lightbox p{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);margin:0;font-size:11px;letter-spacing:.12em;white-space:nowrap;opacity:.8}
.product-lightbox-close{position:absolute;z-index:2;top:22px;right:25px;width:52px;height:52px;border:1px solid #ffffff80;border-radius:50%;color:#fff;background:#09283eaa;font-size:32px;line-height:1;cursor:pointer}
@keyframes pg-fade{from{opacity:0}to{opacity:1}}@keyframes pg-zoom{from{opacity:0;transform:scale(.91) translateY(18px)}to{opacity:1;transform:none}}

.recruit-work-page{padding-top:var(--header-h);background:#fff8e7}
.recruit-work-hero{min-height:76vh;padding:clamp(90px,10vw,160px) max(6vw,24px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 80% 22%,#83dfd9 0 9%,transparent 9.3%),radial-gradient(circle at 88% 34%,#f8bb19 0 4%,transparent 4.3%),#0b6ead;color:#fff;border-radius:0 0 70px 70px}
.recruit-work-hero>p:first-child{margin:0 0 28px;color:var(--pg-yellow);font:700 16px/1 Rajdhani,sans-serif;letter-spacing:.18em}
.recruit-work-hero h1{max-width:1050px;margin:0;font-size:clamp(42px,6.5vw,94px);font-weight:900;line-height:1.25;letter-spacing:.02em}
.recruit-work-hero>p:last-child{max-width:780px;margin:42px 0 0;font-size:clamp(15px,1.4vw,20px);font-weight:600;line-height:2}
.recruit-work-index{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;width:min(88vw,1300px);margin:70px auto 30px;padding:2px;border:3px solid var(--pg-ink);border-radius:28px;overflow:hidden;background:var(--pg-ink)}
.recruit-work-index a{display:flex;align-items:center;gap:15px;padding:24px 20px;color:var(--pg-ink);text-decoration:none;font-weight:900}
.recruit-work-index a{background:#fff}
.recruit-work-index span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--pg-yellow);font:800 13px/1 Rajdhani,sans-serif}
.recruit-department{width:min(88vw,1300px);margin:0 auto;padding:110px 0;scroll-margin-top:100px}
.recruit-department+.recruit-department{border-top:3px solid var(--pg-ink)}
.recruit-department-heading{display:grid;grid-template-columns:170px minmax(250px,.72fr) minmax(280px,1fr);gap:4vw;align-items:start;margin-bottom:52px}
.recruit-department-heading>p:first-child{margin:6px 0 0;font:700 13px/1.4 Rajdhani,sans-serif;letter-spacing:.16em}.recruit-department-heading>p:first-child b{display:block;margin-top:12px;color:var(--pg-blue);font-size:42px}
.recruit-department-heading h2{margin:0;font-size:clamp(35px,4.3vw,64px);font-weight:900;line-height:1.3}
.recruit-department-heading>p:last-child{margin:0;font-size:16px;font-weight:600;line-height:2}
.recruit-gallery-kicker{margin:0 0 14px;color:#5a7180;font:700 12px/1 Rajdhani,sans-serif;letter-spacing:.16em}
.recruit-department-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:0}
.work-scene-gallery .product-gallery-item{aspect-ratio:4/3;background:#dfe8eb}
.work-scene-gallery .product-gallery-item img{object-fit:cover}
.recruit-department--design-mold{--dept:#48bfb4}.recruit-department--press{--dept:#ff725f}.recruit-department--quality{--dept:#7f77cc}.recruit-department--admin{--dept:#f3a728}.recruit-department--warehouse{--dept:#2f91c7}
.recruit-department .product-gallery-item span{background:var(--dept)}
.recruit-product-examples{width:min(88vw,1300px);margin:0 auto;padding:110px 0 130px;border-top:3px solid var(--pg-ink);scroll-margin-top:100px}
.recruit-product-examples>header{display:grid;grid-template-columns:170px minmax(250px,.72fr) minmax(280px,1fr);gap:4vw;align-items:start;margin-bottom:52px}
.recruit-product-examples>header>p:first-child{margin:6px 0 0;font:700 13px/1.4 Rajdhani,sans-serif;letter-spacing:.16em}.recruit-product-examples>header>p:first-child b{display:block;margin-top:12px;color:var(--pg-blue);font-size:42px}
.recruit-product-examples h2{margin:0;font-size:clamp(35px,4.3vw,64px);font-weight:900;line-height:1.3}.recruit-product-examples>header>p:last-child{margin:0;font-size:16px;font-weight:600;line-height:2}
.recruit-product-examples-gallery{gap:14px;margin-top:0}
.recruit-work-cta{padding:110px 6vw 130px;text-align:center;background:#0b6ead;color:#fff;border-radius:70px 70px 0 0}
.recruit-work-cta>p{color:var(--pg-yellow);font:700 14px/1 Rajdhani,sans-serif;letter-spacing:.18em}.recruit-work-cta h2{margin:25px 0 40px;font-size:clamp(34px,4.7vw,68px);line-height:1.4}.recruit-work-cta .press-button{margin-inline:auto}

@media(max-width:760px){
  .pg-hero{min-height:60vh;padding:130px 6vw 70px}.pg-hero h1{font-size:clamp(45px,14vw,68px)}.pg-hero>p:last-child{margin-top:32px}
  .pg-corporate-intro,.pg-corporate-gallery{width:88vw}.pg-corporate-intro{display:block;padding:75px 0}.pg-corporate-intro h2{margin:18px 0 28px;font-size:30px}.pg-corporate-gallery{padding-bottom:90px}.pg-corporate-gallery>header{display:block}.pg-corporate-gallery>header h2{font-size:29px}
  .product-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-gallery-item span{right:7px;bottom:7px;width:29px;height:29px;font-size:17px}
  .product-lightbox{padding:18px}.product-lightbox img{max-width:94vw;max-height:76dvh}.product-lightbox-close{top:14px;right:14px;width:46px;height:46px}
  .recruit-work-page{padding-top:72px}.recruit-work-hero{min-height:68vh;padding:85px 6vw;border-radius:0 0 38px 38px}.recruit-work-hero h1{font-size:clamp(38px,11vw,56px)}.recruit-work-hero>p:last-child br{display:none}
  .recruit-work-index{grid-template-columns:1fr 1fr;margin:42px auto 0;border-radius:20px}.recruit-work-index a{padding:17px 12px;font-size:13px}.recruit-work-index span{width:28px;height:28px}
  .recruit-department{padding:75px 0}.recruit-department-heading{display:block;margin-bottom:35px}.recruit-department-heading>p:first-child{margin-bottom:18px}.recruit-department-heading>p:first-child b{display:inline;margin:0 0 0 8px;font-size:28px}.recruit-department-heading h2{margin-bottom:24px;font-size:36px}.recruit-department-heading>p:last-child{font-size:14px}
  .recruit-gallery-kicker{margin-bottom:12px}.recruit-department-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .recruit-product-examples{padding:75px 0 90px}.recruit-product-examples>header{display:block;margin-bottom:35px}.recruit-product-examples>header>p:first-child{margin-bottom:18px}.recruit-product-examples>header>p:first-child b{display:inline;margin:0 0 0 8px;font-size:28px}.recruit-product-examples h2{margin-bottom:24px;font-size:36px}.recruit-product-examples>header>p:last-child{font-size:14px}.recruit-product-examples>header>p:last-child br{display:none}
  .recruit-work-cta{padding:75px 6vw 90px;border-radius:38px 38px 0 0}
}
@media(prefers-reduced-motion:reduce){.product-gallery-item img,.product-gallery-item span{transition:none}.product-lightbox[open],.product-lightbox img{animation:none}}

/* Keep the full gallery title together, including its final long vowel mark. */
.corporate-product-gallery .pg-hero h1{white-space:nowrap;word-break:normal;line-height:1.2;font-size:min(clamp(3.25rem,8.3vw,8.25rem),12vw)}
@media(max-width:760px){.corporate-product-gallery .pg-hero h1{font-size:min(clamp(2.8125rem,14vw,4.25rem),12vw)}}
