.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--color-base); pointer-events: none; animation: loader-out 500ms ease-out 3.6s both; }
.loader.is-open { animation: loader-out 500ms ease-out both; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.loader__in { display: grid; justify-items: center; gap: var(--sp-g); }
.loader__logo { width: min(36vw, 150px); height: auto; }
.loader__walk { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: var(--sp-p); height: min(22vw, 92px); }
.loader__walker { position: relative; height: 100%; aspect-ratio: 90 / 160; }
.loader__pose { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__pose--a { animation: pose-a 560ms step-end var(--ph, 0s) infinite; }
.loader__pose--b { opacity: 0; animation: pose-b 560ms step-end var(--ph, 0s) infinite; }
@keyframes pose-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pose-b { 0% { opacity: 0; } 50% { opacity: 1; } }
.loader__ground { position: absolute; left: -20%; right: -20%; bottom: 0; z-index: -1; height: 2px; background: repeating-linear-gradient(90deg, var(--color-line) 0 14px, transparent 14px 40px); animation: loader-ground 1s linear infinite; }
@keyframes loader-ground { to { background-position: -40px 0; } }
.loader__bar { position: relative; width: min(40vw, 160px); height: 3px; overflow: hidden; border-radius: var(--radius-pill); background: var(--color-line); }
.loader__bar::after { content: ""; position: absolute; inset: 0; background: var(--color-main); transform-origin: 0 50%; animation: loader-bar 2100ms var(--ease-out) both; }
@keyframes loader-bar { from { scale: 0 1; } to { scale: 1 1; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }

.site-header .logo { width: 56px; }   
.txt { display: flex; flex-direction: column; gap: var(--sp-1); }   

.dots, .cards::before { background: radial-gradient(circle, var(--color-on-dark) 0 1.3px, transparent 1.7px) 0 0 / 9px 9px, var(--color-yellow); }
.blob { position: absolute; aspect-ratio: 1; border-radius: 50%; }

.cloud { position: absolute; aspect-ratio: 5 / 2; border-radius: var(--radius-pill); background: var(--color-cloud); }
.cloud::before, .cloud::after { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; background: inherit; }
.cloud::before { left: 16%; bottom: 30%; width: 40%; }
.cloud::after { left: 48%; bottom: 18%; width: 30%; }

.tc-main { color: var(--color-main); }
.tc-navy { color: var(--color-navy); }
.tc-accent { color: var(--color-accent); }
.tc-yellow { color: var(--color-yellow); -webkit-text-stroke: 1px var(--color-ink); paint-order: stroke fill; }

.fv__ttl { font-size: min(2em, 7.2vw, 4.3dvh); letter-spacing: 0.16em; }   

.kv { position: relative; flex-shrink: 0; margin-inline: calc(var(--gutter) * -1 + var(--sp-1)); height: 35dvh; }      
@media (max-height: 600px) { .kv { height: 31dvh; } }   

.fv__box { position: relative; isolation: isolate; }
.fv__marquee { position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 50%; translate: 0 -50%; z-index: -1; display: block; font-family: var(--font-en); font-weight: 600; letter-spacing: 0.04em; --pf-size: 4.6em; --pf-color: var(--color-main); --pf-opacity: 0.1; --pf-speed: 36s; }

.kv__blob--l { left: 6%; top: -7%; width: 38%; }
.kv__blob--r { right: 4%; bottom: -5%; width: 44%; }

.fv__sky { position: absolute; left: 0; right: 0; z-index: 0; }
.fv__sky--top { top: var(--header-h); height: 20%; }
.fv__sky--bottom { bottom: 0; height: 30%; }
.kv__isle { position: absolute; inset: 0; margin: auto; height: 100%; max-width: 100%; aspect-ratio: 1200 / 819; }
.kv__island { display: block; width: 100%; height: 100%; object-fit: contain; }

.kv__walk { position: absolute; inset: 0; width: 100%; height: 100%; }
.kv__drop { position: absolute; z-index: 1; aspect-ratio: 1; border-radius: 50%; background: var(--color-main); }
.kv__drop--l { top: 2%; right: 24%; width: 4.4%; }
.kv__drop--s { top: 12%; right: 19%; width: 2.6%; }

.swipe-ring { position: absolute; left: 2%; bottom: 2%; z-index: 2; width: 64px; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--color-base) 88%, transparent); color: var(--color-ink); }
.swipe-ring__txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: swipe-spin 18s linear infinite; }   
.swipe-ring__c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
.swipe-ring__ar { width: 12px; height: 12px; animation: swipe-bob 1.4s ease-in-out infinite; }
.swipe-ring__w { width: 34px; height: auto; }   
.swipe-ring__dot { position: absolute; width: 4px; aspect-ratio: 1; border-radius: 50%; }
.swipe-ring__dot--1 { right: 2%; top: 26%; background: var(--color-accent); }
.swipe-ring__dot--2 { right: -4%; top: 36%; background: var(--color-main); }
.swipe-ring__dot--3 { right: -2%; top: 47%; background: var(--color-navy); }
@keyframes swipe-spin { to { rotate: 360deg; } }
@keyframes swipe-bob { 50% { translate: 0 -2px; } }
@media (prefers-reduced-motion: reduce) { .swipe-ring__txt, .swipe-ring__ar { animation: none; } }

.whead { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: var(--sp-p); row-gap: var(--sp-1); }
.whead__ttl { display: contents; }
.whead__en { position: relative; z-index: 0; grid-area: 1 / 1; font-family: var(--font-en); font-weight: 400; font-size: min(2.6em, 9.4vw, 5.4dvh); line-height: 1; letter-spacing: 0.04em; color: var(--color-ink); }
.whead__label { grid-area: 1 / 2; font-size: 1em; font-weight: 700; letter-spacing: 0.1em; }
.whead__job { display: flex; align-items: center; gap: var(--sp-p); grid-area: 2 / 1 / 3 / 3; font-size: min(1.6em, 6vw, 3.4dvh); font-weight: 700; line-height: var(--lh-head); letter-spacing: 0.1em; }
.cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-p); margin-inline: calc(var(--gutter) * -1 + var(--sp-1)); }   
.cards::before { content: ""; position: absolute; z-index: 0; inset: 26% calc(var(--gutter) * -1); }
.card {
  position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-1); overflow: hidden;
  padding: var(--box-py) var(--box-px); background: var(--color-on-dark); border-radius: var(--radius-card); border: 2px solid var(--color-main); box-shadow: var(--shadow-soft);
  --pf-ink: var(--color-main); --pf-shadow: 0 0 0;
}
.card img { align-self: center; width: auto; max-width: 80%; height: calc(12dvh - 40px); object-fit: contain; }
.card__t { font-size: var(--fs-min); font-weight: 700; line-height: var(--lh-head); letter-spacing: 0.04em; color: var(--color-main-ink); text-align: center; }   
.card__l { display: block; }   
.work__post { text-align: center; }   

.whead__en::before { content: ""; position: absolute; z-index: -1; left: -0.2em; top: 0.3em; width: 1.9em; height: 0.75em; border-radius: 50% 40% 45% 55%; rotate: -4deg; background: var(--color-cloud); }
.whead__job::before { content: ""; flex: 0 0 auto; width: 0.32em; height: 0.95em; background: var(--color-yellow); skew: -18deg 0; }
.card::after { content: ""; position: absolute; z-index: -1; right: -18%; bottom: -30%; width: 70%; aspect-ratio: 2; border-radius: 50%; background: var(--color-pale-main); }
.card > * { position: relative; }
.cards__town { position: absolute; z-index: 0; right: calc(var(--gutter) * -1); top: -20%; width: 44%; height: auto; }   
.cards__bld { fill: var(--color-cloud); }
.cards__win { fill: var(--color-on-dark); }
.cards__wave { fill: var(--color-pale-main); }
.work__wave { position: absolute; bottom: 0; z-index: 0; width: 55%; height: 9dvh; fill: var(--color-cloud); }
.work__wave--l { left: 0; }
.work__wave--r { right: 0; }

.arc { --arc-r: min(36vw, 16.5dvh, 160px); position: relative; flex-shrink: 0; width: 100%; height: calc(var(--arc-r) * 1.14 + 1.7em); display: grid; place-items: end center; }
.arc__txt { position: absolute; z-index: 2; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 0; bottom: 0; font-family: var(--font-en); font-weight: 600; font-size: 1.6em; line-height: 1; color: var(--color-ink); }
.arc__ch { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--rot)); }
.arc__head { position: relative; z-index: 1; padding: var(--sp-p) var(--sp-1); }
.arc__head::before { content: ""; position: absolute; z-index: -1; inset: -14% 4%; border-radius: 48% 52% 44% 46% / 56% 54% 46% 44%; background: var(--color-cloud); opacity: 0.7; }   
.air__ttl { max-inline-size: 8.4em; font-size: min(1.6em, 6vw, 3.4dvh); letter-spacing: 0.08em; }
.air__pq { letter-spacing: -0.45em; }   
.air__em, .hl { color: var(--color-main-ink); font-weight: 700; }   
.air__big, .hl--big { font-size: 1.3em; }   

.air__cloud { top: 2%; width: 20%; z-index: 0; }
.air__cloud--l { left: -4%; }
.air__cloud--r { right: -4%; }
.air__scene { position: relative; flex-shrink: 0; margin-inline: calc(var(--gutter) * -1); height: 12dvh; container-type: inline-size; isolation: isolate; }
.air__hill { position: absolute; left: 0; top: 0; width: 100%; height: auto; }   
.air__scene::after { content: ""; position: absolute; left: 0; right: 0; top: calc(26.4cqi - 1px); height: 100dvh; z-index: -1; background: var(--color-hill); }   
.air__ppl { position: absolute; left: 50%; bottom: calc(100% - 6.2cqi); translate: -50% 0; display: flex; justify-content: center; align-items: flex-end; gap: var(--sp-p); height: min(5.2dvh, 36px); }   
.air__ppl img { width: auto; height: 100%; transform-origin: 50% 100%; }
.air__ppl img:nth-child(2) { height: 108%; }

.scard { --pf-shadow: 0 0 0; height: 26dvh; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40%; align-items: end; column-gap: var(--sp-p); padding: var(--box-py-l) var(--box-px-l); border-radius: var(--radius-card); color: var(--color-on-dark); text-align: left; }
.str--1 .scard { background: var(--color-accent); }
.str--2 .scard { background: var(--color-main); }
.str--3 .scard { background: var(--color-yellow); color: var(--color-ink); }
.scard__txt { display: flex; flex-direction: column; gap: var(--sp-p); }
.scard__en { font-family: var(--font-en); font-weight: 400; font-size: min(1.9em, 7vw, 4dvh); line-height: 1; letter-spacing: 0.06em; }
.scard__ttl { font-size: min(1.3em, 5vw, 2.9dvh); font-weight: 700; line-height: var(--lh-head); letter-spacing: 0.08em; }
.scard__no { font-size: max(var(--fs-min), 0.72em); letter-spacing: 0.14em; }
.scard__img { width: 100%; height: auto; max-height: 19dvh; object-fit: contain; align-self: center; }

.str .txt { min-height: var(--str-body-h, auto); justify-content: center; }
.str__marquee { position: absolute; left: 0; right: 0; bottom: 1%; z-index: 0; font-family: var(--font-en); font-weight: 600; letter-spacing: 0.04em; --pf-size: 4.6em; --pf-color: var(--color-main); --pf-opacity: 0.1; --pf-speed: 36s; }   
.str__blob { left: -12%; top: 6%; width: 36%; }   
.str--3 .str__blob { background: radial-gradient(circle, var(--color-on-dark) 0 1.3px, transparent 1.7px) 0 0 / 9px 9px, var(--color-main); }      
.str__cloud { right: -3%; top: 46%; width: 24%; }

.ion { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.ion--a { right: -2%; top: -7%; width: 7%; background: var(--color-main); }
.ion--b { left: -2.5%; bottom: 18%; width: 4.5%; background: var(--color-main); }
.ion--c { right: 16%; bottom: -5%; width: 5%; background: var(--color-yellow); }
.chips { display: grid; justify-content: center; gap: var(--sp-1); }

.chips .li { position: relative; display: block; padding: var(--box-py) var(--box-px) var(--box-py) calc(var(--box-px) + 1em); border-radius: var(--radius-pill); background: var(--color-pale-main); color: var(--color-main-ink); font-weight: 700; line-height: var(--lh-head); text-align: left; }   
.chips .li::before { content: "・"; position: absolute; left: var(--box-px); }

.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--sp-1); }   
.tag { display: grid; place-items: center; text-align: center; padding: var(--box-py) var(--box-px); border-radius: var(--radius-card); border: 2px solid var(--color-main); background: var(--color-on-dark); color: var(--color-main-ink); font-weight: 700; line-height: var(--lh-head); }

.pay { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); padding: var(--box-py-l) var(--box-px-l); border-radius: var(--radius-card); background: var(--color-pale-main); }   
.pay__row { display: block; font-weight: 700; }
.pay__n { font-size: 1.9em; color: var(--color-accent-2); }

.day__ttl { font-size: min(1.7em, 6.4vw, 3.8dvh); letter-spacing: 0.1em; }
.clock { position: relative; align-self: center; width: min(86vw, 54dvh, 400px);   
  aspect-ratio: 1; container-type: inline-size; }
.clock__body { position: absolute; inset: 0; }
.clock__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.clock__track { fill: var(--color-on-dark); stroke: var(--color-line); stroke-width: 1.5; }
.clock__face { fill: var(--color-pale-main); }   
.clock__ticks line { stroke: var(--color-main); stroke-width: 2; stroke-linecap: round; opacity: 0.35; }
.clock__arc { fill: none; stroke: var(--color-main); stroke-width: 6; stroke-linecap: round; }
.clock__man { position: absolute; left: 50%; top: 50%; width: auto; height: 38%; max-width: 56%; object-fit: contain; translate: -50% -50%; opacity: 0; scale: 0.9; transition: opacity var(--dur-hover) var(--ease-out), scale var(--dur-hover) var(--ease-out); }
.clock__man.is-on { opacity: 1; scale: 1; }
.clock__pt {
  position: absolute; left: 50%; top: 50%; width: 3.8em; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;   
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-42cqi) rotate(calc(var(--a) * -1));
  font-family: var(--font-en); font-weight: 600; font-size: max(var(--fs-min), 0.85em); line-height: 1; letter-spacing: 0;
  background: var(--color-on-dark); color: var(--color-main-ink); border: 2px solid var(--color-main); cursor: pointer;
}
.clock__pt.is-on { background: var(--color-main); color: var(--color-on-dark); }
.clock__pt:not(.is-on) { animation: clock-pulse 2.4s ease-in-out infinite; }
@keyframes clock-pulse { 50% { scale: 1.08; } }
.steps { display: grid; }
.step { grid-area: 1 / 1; display: flex; flex-direction: column; gap: var(--sp-1); visibility: hidden; opacity: 0; transition: opacity var(--dur-hover) var(--ease-out); }
.step.is-on { visibility: visible; opacity: 1; }
.step__t { align-self: center; padding: var(--box-py) var(--box-px); border-radius: var(--radius-pill); background: var(--color-main-ink); color: var(--color-on-dark); font-weight: 700; letter-spacing: 0.08em; }   
.steps { padding: var(--box-py-l) var(--box-px); border-radius: var(--radius-card); background: var(--color-on-dark); box-shadow: var(--shadow-soft); }   
.day__blob { right: -14%; top: 26%; width: 28%; }
.day__cloud { left: -8%; top: 20%; width: 24%; }

.join__pic { position: relative; overflow: hidden; height: 24dvh; margin-inline: calc(var(--gutter) * -1); margin-bottom: -5dvh; }
.join__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.join__box { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--sp-h); padding: var(--box-py-l) var(--box-px-l); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-on-dark) 88%, transparent); }
.join__word { font-family: var(--font-en); font-weight: 600; font-size: 1.5em; line-height: 1; letter-spacing: 0.14em; color: var(--color-ink); }
.join__ttl { font-size: min(1.7em, 6.4vw, 3.8dvh); letter-spacing: 0.1em; }
.join__btn { display: block; padding: var(--box-py-l) var(--box-px-l); border-radius: var(--radius-pill); background: var(--bg-accent); color: var(--color-on-dark); font-weight: 700; line-height: 1; letter-spacing: 0.1em; text-align: center; }

.req { --color-main: var(--color-main-ink); }
#entry .field__label, #entry .field__req { color: var(--color-main-ink); }
#entry .field__opt { color: var(--color-ink); }      

#company .page__inner { justify-content: space-between; }
#company .req-card { flex: 1 1 auto; display: flex; flex-direction: column; max-height: 40em; }
#company .req { flex: 1 1 auto; display: flex; flex-direction: column; }
#company .req__row { flex: 1 1 auto; align-items: center; }   

.req-card { padding: var(--box-py-l) var(--box-px-l); border-radius: var(--radius-card); background: var(--color-on-dark); box-shadow: var(--shadow-soft); }

.rail-illu { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; }
.rail-blob, .rail-cloud { left: var(--x); top: var(--y); width: var(--w); }
.rail-word { position: absolute; left: 0; right: 0; top: var(--y); text-align: center; font-family: var(--font-en); font-weight: 600; font-size: clamp(28px, 2.9vw, 46px); line-height: 1; letter-spacing: 0.14em; color: var(--color-ink); }

@media (max-width: 370px) {
  .cards { gap: var(--sp-1); margin-inline: calc(var(--gutter) * -1 + var(--sp-1)); }   
  .card { padding-inline: var(--sp-1); }
  .card__t { letter-spacing: 0; }
  .work__wave { height: 6dvh; }   
  .scard__en { font-size: min(1.6em, 6vw, 3.4dvh); }   
  #requirements .req__row { grid-template-columns: 1fr; gap: 0.3em; }   
}
@media (max-width: 370px) and (max-height: 600px) {   
  #p3 { --lh-body: 1.5; }
  #p3 .arc { --arc-r: min(30vw, 11dvh, 160px); }
  #p3 .arc__head { font-size: 0.74em; }
  #p3 .arc__txt { font-size: 1.35em; }
}
@media (min-width: 371px) and (max-height: 600px) {   
  #p3 { --lh-body: 1.7; }
}
