.hd { font-family: var(--font-head); font-weight: 800; font-size: 1.75em; line-height: var(--lh-head); letter-spacing: 0.04em; color: var(--color-main); }
.kw { font-weight: 700; }

.loader { position: absolute; inset: 0; z-index: 60; display: grid; place-content: center; justify-items: center; gap: var(--sp-g); background: var(--color-base); }
.loader__logo { width: min(46vw, 180px); height: auto; }
.loader__bar { display: block; width: min(46vw, 180px); height: 3px; background: var(--grad-band); transform-origin: 0 50%; animation: loader-bar 0.9s var(--ease-out) both; }
@keyframes loader-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.p1 { background: linear-gradient(180deg, var(--color-base) 0 50%, var(--color-main) 50% 100%); }   
.p1 .page__inner { gap: 0; }
.p1__kv { position: relative; margin-inline: calc(-1 * var(--gutter)); }
.p1__photos { display: grid; grid-template-rows: repeat(4, 1fr); gap: 2px; height: 52dvh; background: var(--color-base); }

.p1__ph { clip-path: inset(0 100% 0 0); }
.p1__row--b .p1__ph { clip-path: inset(0 0 0 100%); }
.p1__ph img { scale: 1.25; }
.p1__photos.is-on .p1__ph { clip-path: inset(0); transition: clip-path 0.5s var(--ease-out) calc(800ms + var(--i) * 50ms); }
.p1__photos.is-on .p1__ph img { scale: 1; transition: scale 1s var(--ease-out) calc(800ms + var(--i) * 50ms); }

.p1__row { display: grid; gap: 2px; min-height: 0; }
.p1__row--a { grid-template-columns: 3fr 2fr; }
.p1__row--b { grid-template-columns: 2fr 3fr; }
.p1__ph { position: relative; overflow: hidden; margin: 0; }
.p1__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p1__ph--face1 img { object-position: 50% 33%; }
.p1__ph--view img { object-position: 30% 55%; }
.p1__ph--food img { object-position: 40% 60%; }
.p1__ph--rig img { object-position: 75% 22%; }
.p1__ph--team img { object-position: 40% 28%; }
.p1__ph--town img { object-position: 60% 50%; }
.p1__ph--face2 img { object-position: 50% 45%; }
.p1__ph--water img { object-position: 45% 22%; }

.p1__after { opacity: 0; animation: p1-swap 9s ease-in-out 2s infinite; }
@keyframes p1-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }

.p1__catch {
  position: absolute; left: 4%; top: 47%; z-index: 3; width: 92%;
  display: grid; justify-items: start; gap: 0.18em;
  font-weight: 900; font-size: min(1.75em, 6.6vw, 3.8dvh); line-height: 1; letter-spacing: 0.04em;
  color: var(--color-on-dark); rotate: -8deg; translate: 0 -50%;
  --pf-dur: 500ms; --pf-dist: 40px;
}
.p1__band {
  display: inline-block; font-style: oblique 12deg;
  padding: 0.32em 1.3em; background: var(--grad-band); text-align: center;
  clip-path: polygon(0.7em 0, 100% 0, calc(100% - 0.7em) 100%, 0 100%);
}
.p1__band--2 { margin-left: 1.3em; }

.tw-c { opacity: 0; }
.is-on .tw-c { opacity: 1; transition: opacity 0s linear calc(var(--tw-start, 250ms) + var(--k) * 60ms); }

.p1__txt {
  position: relative; overflow: hidden;
  z-index: 2; flex-shrink: 0; margin: -14dvh calc(-1 * var(--gutter)) 0; padding: 6dvh var(--gutter) var(--sp-p);
  color: var(--color-on-dark); background: var(--bg-fv-fade); text-align: center;
}
.p1__mq { position: absolute; inset: 0; z-index: 0; display: grid; align-content: end; gap: var(--sp-1); padding-bottom: var(--sp-g); pointer-events: none; }
.p1__mq-row { --pf-size: min(4.4em, 17vw); --pf-color: var(--mq-color); --pf-opacity: 1; --pf-speed: 40s; font-family: var(--font-en); font-weight: 600; }
.p1__body { position: relative; z-index: 1; display: grid; gap: var(--sp-p); }
.p1__body.is-on { transition-delay: 1000ms; }
.p1__body .body { display: grid; justify-items: center; gap: var(--sp-1); }
.p1__q { display: inline-block; color: var(--color-main); background: var(--chip-bg); font-size: 1.3em; line-height: var(--lh-head); }
.p1__q .kw { font-weight: 800; }

.p2 { background: var(--bg-r2); }
.p2__planes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.p2__plane { fill: var(--color-on-dark); opacity: 0.18; }
.p2__plane--2 { opacity: 0.08; }

.p2__planes { animation: p2-wave 7s ease-in-out infinite alternate; }
@keyframes p2-wave { to { translate: 0 2%; } }
.p2__head { display: grid; justify-items: start; gap: var(--sp-p); }
.p2__ttl { color: var(--color-main); font-size: 2.2em; font-weight: 900; }

.p2__ttl::after { content: ""; display: block; width: 2.2em; height: 0.14em; margin-top: 0.22em; background: var(--color-accent); }
.p2__chips { display: grid; justify-items: start; gap: var(--sp-1); }
.p2__chips .in-chip { color: var(--color-main); background: var(--chip-bg); font-weight: 700; line-height: var(--lh-head); }

.p2__n { font-size: 1.9em; font-weight: 900; line-height: 1; letter-spacing: 0.02em; padding-inline: 0.06em; }
.p2__photos { position: relative; height: 30dvh; margin-inline: calc(-1 * var(--gutter)); }
.p2__ph { position: absolute; margin: 0; overflow: hidden; border: 0.3em solid var(--color-base); filter: drop-shadow(6px 6px 11px var(--color-shadow)); }
.p2__ph img { width: 100%; height: 100%; object-fit: cover; }
.p2__ph--a { right: 0; top: 0; width: 80%; height: 72%; border-radius: 4.5em 0 0 0; }
.p2__ph--a img { object-position: 50% 40%; }
.p2__ph--b { left: 0; bottom: 0; width: 62%; height: 52%; border-radius: 0 0 4.5em 0; z-index: 2; }
.p2__txt { position: relative; display: grid; gap: var(--sp-p); color: var(--color-on-dark); }
.p2__mq { position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: 0; display: grid; align-content: center; gap: var(--sp-1); overflow: hidden; pointer-events: none; }
.p2__txt > :not(.p2__mq) { position: relative; z-index: 1; }
.p2__sara { display: flex; align-items: center; gap: var(--sp-1); font-weight: 700; letter-spacing: 0.2em; }
.p2__sara::before { content: ""; width: 1.6em; height: 2px; background: var(--color-on-dark); }

.p2__list { display: grid; gap: var(--sp-1); }
.p2__list li { position: relative; padding-left: 1.7em; font-weight: 700; font-size: 1.06em; }
.p2__list li::before { content: ""; position: absolute; left: 0; top: calc(0.5lh - 0.6em); width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--color-accent) var(--check-svg) center / 70% no-repeat; }
.p2 .close { display: grid; gap: var(--sp-1); }
.p2__q { font-size: max(var(--fs-min), 0.92em); font-weight: 500; }
.p2__ans { font-size: 1.6em; font-weight: 900; line-height: var(--lh-head); }

.p3, .p4 { --txt-ring: 0.03em 0 0 #fff, -0.03em 0 0 #fff, 0 0.03em 0 #fff, 0 -0.03em 0 #fff, 0.022em 0.022em 0 #fff, -0.022em 0.022em 0 #fff, 0.022em -0.022em 0 #fff, -0.022em -0.022em 0 #fff, 0.07em 0.07em 0 var(--color-accent); }
.p3 { background: var(--bg-pale-page); }
.p3__deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.p3__stripe { position: absolute; left: -20%; top: 34%; width: 140%; height: 3.2em; background: var(--color-accent); opacity: 0.85; rotate: -12deg; }
.p3__stripe--2 { top: 44%; height: 0.8em; background: var(--color-main); opacity: 0.9; }
.p3__dots { position: absolute; right: 4%; top: 8%; width: 30%; aspect-ratio: 1; background: radial-gradient(circle, var(--color-accent) 0 2px, transparent 2.5px) 0 0 / 14px 14px; opacity: 0.7; }
.p3__dots--2 { right: 3%; top: auto; left: auto; bottom: 1%; width: 18%; background-image: radial-gradient(circle, var(--color-main) 0 2px, transparent 2.5px); }
.p3 .page__inner > * { position: relative; z-index: 1; }
.p3 .page__inner { gap: var(--sp-h); }
.p3__kvw { display: flex; justify-content: center; margin-inline: calc(-1 * var(--gutter)); }
.p3__kvw { position: relative; z-index: 2; }
.p3__kv { position: relative; container-type: inline-size; isolation: isolate; width: min(calc(100% - 2 * var(--gutter)), calc(52dvh * 390 / 360)); aspect-ratio: 390 / 360; overflow: hidden; border: 0.35em solid var(--color-base); box-shadow: 0.7em 0.7em 0 var(--color-accent); }
.p3__bg, .p3__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.p3__fg { z-index: 4; pointer-events: none; transform: translateZ(0); }
.p3__bg { z-index: 1; }
.p3__kv.rv { transform: none; }
.p3__kv.is-on .p3__bg { animation: p3-zoom 1.2s var(--ease-out) 1s both; }
@keyframes p3-zoom { from { scale: 1.08; } }
.p3__big { position: absolute; left: 4cqi; top: 2cqi; z-index: 5; margin: 0; display: grid; justify-items: start; line-height: 1; font-weight: 900; font-style: oblique 8deg; color: var(--color-main); text-shadow: var(--txt-ring); }
.p3__l1 { margin-left: 36cqi; font-size: 13cqi; letter-spacing: 0.04em; white-space: nowrap; }
.p3__l2 { margin-top: 10cqi; margin-left: 15cqi; font-size: 30cqi; letter-spacing: -0.05em; }
.p3__unit { font-size: 0.42em; margin-left: 0.04em; }

.p3__big .tw-c { display: inline-block; }
.is-on .p3__big .tw-c { animation: tw-pop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; animation-delay: calc(var(--tw-start, 100ms) + var(--k) * 70ms); }
@keyframes tw-pop { from { opacity: 0; transform: scale(1.9) translateY(-12%); } to { opacity: 1; transform: none; } }
.p3__txt { display: grid; gap: var(--sp-p); }
.p3__txt .body { display: grid; justify-items: start; gap: var(--sp-1); }
.p3__chip { color: var(--color-on-dark); background: var(--color-main); font-weight: 800; font-size: 1.1em; }
.p3__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-1); }
.p3__tiles li { display: grid; justify-items: center; align-content: center; gap: 0.25em; min-height: 5.4em; padding: var(--box-py) var(--sp-1); text-align: center; line-height: var(--lh-head); font-weight: 800; color: var(--color-on-dark); background: var(--color-main); border-bottom: 0.3em solid var(--color-accent); }

.p3__ico { width: 2.8em; height: 2.8em; fill: none; stroke: var(--color-on-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.p3__ico circle { fill: var(--color-accent); stroke: none; }
.p3__tiles li:nth-child(2) .p3__ico circle { fill: none; stroke: var(--color-accent); stroke-width: 3; }
.p3__ico path:first-child { stroke: var(--color-on-dark); }
.is-on .p3__ico { animation: p3-ico 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) both; animation-delay: calc(1300ms + var(--c, 0) * 100ms); }
@keyframes p3-ico { from { opacity: 0; transform: translateY(0.4em) scale(0.6); } }
.p3__tiles li:nth-child(2) { --c: 1; } .p3__tiles li:nth-child(3) { --c: 2; }
.p3__close { color: var(--color-main); font-size: 1.2em; font-weight: 900; }
.p3__close .ln { display: inline; background: linear-gradient(transparent 78%, color-mix(in srgb, var(--color-accent) 30%, transparent) 78%); }

.p4 { background: var(--bg-deep); color: var(--color-on-dark); }
.p4 .page__inner { gap: var(--sp-p); }
.p4__ttl { color: var(--color-on-dark); font-size: 2.2em; font-weight: 900; }
.p4__ttl::after { content: ""; display: block; width: 2.2em; height: 0.12em; margin-top: 0.22em; background: var(--color-accent); }
.p4__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-1); }
.p4__kvw { grid-column: 1 / -1; display: flex; justify-content: center; margin-inline: calc(-1 * var(--gutter)); }
.p4__kv { position: relative; container-type: inline-size; isolation: isolate; width: min(calc(100% - 2 * var(--gutter)), calc(38dvh * 390 / 270)); aspect-ratio: 390 / 270; overflow: hidden; border: 0.35em solid var(--color-base); box-shadow: 0.7em 0.7em 0 var(--color-accent); }
.p4__kv.rv { transform: none; }
.p4__bg, .p4__fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   
.p4__fg { z-index: 4; pointer-events: none; transform: translateZ(0); }
.p4__bg { z-index: 1; }
.p4__kv.is-on .p4__bg { animation: p3-zoom 1.2s var(--ease-out) 1s both; }
.p4__big { position: absolute; right: 3cqi; top: 3cqi; z-index: 5; margin: 0; display: grid; justify-items: end; line-height: 1; font-weight: 900; font-style: oblique 8deg; color: var(--color-main); text-shadow: var(--txt-ring); }
.p4__s { font-size: 10cqi; margin-right: 30cqi; }
.p4__n { font-size: 35cqi; letter-spacing: -0.04em; margin-top: -3cqi; }
.p4__row { display: flex; align-items: baseline; }
.p4__u { font-size: 14cqi; margin-left: 0.5cqi; }
.p4__s2 { font-size: 7.4cqi; margin-top: -0.5cqi; white-space: nowrap; }
.p4__kv.is-on .p4__n { animation: p4-pop 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) 0.3s both; }
@keyframes p4-pop { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }
.p4__card { display: grid; justify-items: center; text-align: center; gap: 0.1em; color: var(--color-main); background: var(--chip-bg); font-weight: 800; border-left: 0.35em solid var(--color-accent); line-height: var(--lh-head); }
.p4__cn { font-size: 1.1em; font-weight: 900; }
.p4__m { font-size: 2.2em; line-height: 1; padding-right: 0.06em; }
.p4__txt { position: relative; display: grid; gap: var(--sp-p); }
.p4__mq { position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: 0; display: grid; align-content: center; overflow: hidden; pointer-events: none; }
.p4__txt > :not(.p4__mq) { position: relative; z-index: 1; }
.p4__body { display: grid; gap: var(--sp-1); font-weight: 700; }
.p4__close { display: flex; justify-content: center; }
.p4__band { display: inline-block; padding: 0.42em 1.4em; font-size: 1.25em; font-weight: 900; font-style: oblique 10deg; color: var(--color-main); background: var(--color-base); clip-path: polygon(0.7em 0, 100% 0, calc(100% - 0.7em) 100%, 0 100%); rotate: -4deg; }

.p5 { background: var(--bg-pale-page); }
.p5__ttl { font-size: 2.2em; font-weight: 900; }
.p5__strata { position: absolute; left: 0; bottom: 0; width: 100%; height: 22%; z-index: 1; fill: none; stroke: var(--color-main); stroke-width: 2; opacity: 0.16; pointer-events: none; }
.p5__water { stroke: var(--color-accent); stroke-width: 4; opacity: 1; }
.p5__txt { display: grid; gap: var(--sp-p); }

.p5__list { position: relative; display: grid; padding-left: 1.9em; }
.p5__list::before { content: ""; position: absolute; left: 0.55em; top: 0.2em; bottom: 0.2em; width: 0.3em; background: linear-gradient(180deg, var(--color-main), var(--color-accent)); }
.p5__list li { position: relative; padding-block: 0.32em; font-size: 1.08em; font-weight: 800; color: var(--color-main); line-height: var(--lh-head); border-bottom: 1px dashed var(--color-line); }
.p5__list li::before { content: ""; position: absolute; left: -1.62em; top: calc(50% - 0.45em); width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--color-base); border: 0.22em solid var(--color-main); box-sizing: border-box; }
.p5__list li:last-child::before { border-color: var(--color-accent); background: var(--color-accent); }
.p5__reel { margin-inline: calc(-1 * var(--gutter)); overflow: hidden; }
.p5__track { display: flex; gap: var(--sp-p); width: max-content; animation: p5-reel 40s linear infinite; }
.p5__track figure { flex: 0 0 auto; margin: 0; width: calc(21dvh * 4 / 3); height: 21dvh; overflow: hidden; border: 0.25em solid var(--color-base); box-shadow: 4px 4px 10px var(--color-shadow); }
.p5__track figure:nth-child(odd) { border-radius: 2.5em 0 0 0; }
.p5__track figure:nth-child(even) { border-radius: 0 0 2.5em 0; }
.p5__track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes p5-reel { to { transform: translateX(-50%); } }
.p5__close { color: var(--color-ink); }

.p6 { background: linear-gradient(180deg, var(--color-base) 0 40%, var(--color-main) 40% 100%); }
.p6 .page__inner { gap: 0; }
.p6__ph { flex-shrink: 0; margin: 0 calc(-1 * var(--gutter)); height: 40dvh; overflow: hidden; }
.p6__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.p6__txt { position: relative; z-index: 2; flex-shrink: 0; overflow: hidden; margin: -10dvh calc(-1 * var(--gutter)) 0; padding: 6dvh var(--gutter) var(--sp-p); color: var(--color-on-dark); background: var(--bg-fv-fade); text-align: center; }
.p6__mq { position: absolute; inset: 0; z-index: 0; display: grid; align-content: end; gap: var(--sp-1); padding-bottom: var(--sp-g); pointer-events: none; }
.p6__body { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--sp-p); }
.p6__body .body { display: grid; justify-items: center; gap: var(--sp-1); }
.p6__ttl { color: var(--color-on-dark); font-size: 2.2em; font-weight: 900; }
.p6__ttl::after { content: ""; display: block; width: 2.2em; height: 0.12em; margin: 0.22em auto 0; background: var(--color-accent); }
.p6__chip { color: var(--color-main); background: var(--chip-bg); font-weight: 800; font-size: 1.08em; }
.p6__close { display: grid; justify-items: center; gap: var(--sp-1); }
.p6__q { font-size: 1.4em; font-weight: 900; line-height: var(--lh-head); }
.p6__ans { font-size: 1.12em; font-weight: 800; }

.info { background: var(--bg-pale-page); }
.info__ttl { font-size: 1.9em; font-weight: 900; color: var(--color-main); }
.info__ttl::after { content: ""; display: block; width: 2.2em; height: 0.12em; margin-top: 0.22em; background: var(--color-accent); }
.info__card { padding: var(--box-py-l) var(--box-px-l); background: var(--color-base); border-top: 0.3em solid var(--color-main); }
.info__card .req dd { min-width: 0; }

.info__card .req__row { grid-template-columns: 5em 1fr; }
#company .info__card .req__row { grid-template-columns: 6em 1fr; }
@media (max-width: 400px) { .info__card { padding-inline: var(--box-px); } }
.info__ph { margin: 0; height: 22dvh; overflow: hidden; border: 0.3em solid var(--color-base); border-radius: 0 0 4em 0; filter: drop-shadow(6px 6px 11px var(--color-shadow)); }
.info__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.req__sub { margin-top: var(--sp-1); }

.info--fit .page__inner { justify-content: center; }
@media (max-height: 640px) { .info--fit .info__ph { display: none; } }

@media (max-height: 600px) {
  .p3__dots--2 { display: none; }
  .p1__photos { height: 44dvh; }
  .p5__track figure { width: calc(17dvh * 4 / 3); height: 17dvh; }
  .p6__ph { height: 30dvh; }
}
@media (min-height: 760px) {
  .p6__ph { height: 46dvh; }
  .p2__photos { height: 24dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .p1__after, .p2__planes, .p5__track { animation: none; }
  .p1__ph, .p1__row--b .p1__ph { clip-path: none; }
  .p1__ph img { scale: 1; }
  .tw-c { opacity: 1; }
  .loader__bar { animation: none; }
}

.kv-veil { position: absolute; inset: 0; z-index: 2; background: var(--color-base); pointer-events: none; opacity: 0; }
.p3__kv.is-on .kv-veil, .p4__kv.is-on .kv-veil { animation: kv-veil 1.4s linear both; }
@keyframes kv-veil { 0%, 71% { opacity: 1; } 100% { opacity: 0; } }
.p3__kv.is-on .p3__fg, .p4__kv.is-on .p4__fg { animation: kv-fg 1.4s linear both, p3-zoom 1.2s var(--ease-out) 1s both; }
@keyframes kv-fg { 0%, 71% { opacity: 0; } 100% { opacity: 1; } }
.p3__kv.is-on .p3__big, .p4__kv.is-on .p4__big { animation: kv-center 1.3s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes kv-center { 0%, 63% { translate: var(--cx, 0) var(--cy, 0); scale: 1.08; } 100% { translate: 0 0; scale: 1; } }
.p3__kv, .p4__kv { transition: box-shadow 0.5s ease; }
.p3__txt.is-on, .p4__card.is-on, .p4__txt.is-on { transition-delay: 900ms; }
@media (prefers-reduced-motion: reduce) {
  .kv-veil { display: none; }
  .p3__kv.is-on .p3__fg, .p4__kv.is-on .p4__fg { animation: none; }
  .p3__kv.is-on .p3__big, .p4__kv.is-on .p4__big { animation: none; }
}

@media (max-aspect-ratio: 1 / 2) {
  .p1__photos { height: 57dvh; }
}

@media (max-aspect-ratio: 1 / 2) and (min-height: 800px) {
  .p3__kv { aspect-ratio: 390 / 450; width: min(calc(100% - 2 * var(--gutter)), calc(60dvh * 390 / 450)); }
  .p4__kv { aspect-ratio: 390 / 330; width: min(calc(100% - 2 * var(--gutter)), calc(46dvh * 390 / 330)); }
  .p3__tiles li { min-height: 6.2em; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .p3__kv { width: min(calc(100% - 2 * var(--gutter)), calc(56dvh * 390 / 360)); }
  .p4__kv { width: min(calc(100% - 2 * var(--gutter)), calc(44dvh * 390 / 270)); }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .p1__photos { height: 50dvh; }
  .p2__photos { height: 32dvh; }
  .p5__track figure { width: calc(24dvh * 4 / 3); height: 24dvh; }
  .p6__ph { height: 44dvh; }
  .info__ph { height: 26dvh; }
}
