/* ==========================================================
   「旅」のページ共通（ホーム：森・川・海 ／ 会社概要：山）
   空 → 森 → 川 → 海 → 港町 と、スクロールで下っていく構成。
   背景の光の粒（ホタル・水のきらめき・泡）は home.js が canvas に描きます。
   ========================================================== */

.uv-page {
  --sky: #dff0fb;
  --forest-bg: #173f2d;
  --river-bg: #11566a;
  --sea-bg: #0b2b4e;
  --harbor-bg: #eaf5fc;
  --leaf: #8fd16a;
  --sun: #f6c945;
  --coral: #ff8a73;
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --font-mont: "Montserrat", "Inter", sans-serif;
}

/* 光の粒（全体に固定） */
.uv-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ---------- 右側の目次（いまどこを旅しているか） ---------- */
.uv-index {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90;
  background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 14px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: opacity .5s, transform .5s var(--ease);
}
.uv-index.is-hidden { opacity: 0; transform: translate(20px, -50%); pointer-events: none; }
.uv-index__label { font-family: var(--font-mont); font-size: 10px; font-weight: 800; color: #555; letter-spacing: .05em; }
.uv-index a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; position: relative;
  font-family: var(--font-round); font-weight: 700; font-size: 17px; color: #fff;
  transform: scale(.82); opacity: .55; transition: transform .45s cubic-bezier(.2, 1.6, .4, 1), opacity .3s;
}
.uv-index a.is-active { transform: scale(1.05); opacity: 1; }
.uv-index a::after {
  content: attr(data-label); position: absolute; right: 58px; white-space: nowrap;
  background: #1d1d1f; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 99px;
  opacity: 0; transform: translateX(6px); transition: .3s; pointer-events: none;
}
.uv-index a:hover::after { opacity: 1; transform: none; }
.uv-index a:nth-of-type(1) { background: #3f9b5f; }
.uv-index a:nth-of-type(2) { background: #2a92ad; }
.uv-index a:nth-of-type(3) { background: #1f5f9e; }
.uv-index a:nth-of-type(4) { background: #f2a83b; }
@media (max-width: 900px) { .uv-index { display: none; } }

/* ---------- 共通部品 ---------- */
.uv-zone { position: relative; color: #fff; }
.uv-zone > *:not(.uv-wave):not(.uv-deco) { position: relative; z-index: 2; }
.uv-wave { position: absolute; left: 0; width: 100%; height: 140px; top: -138px; z-index: 2; display: block; pointer-events: none; }
.uv-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }

.uv-eyebrow { font-family: var(--font-mont); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .02em; color: var(--sun); line-height: 1; }
.uv-eyebrow small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.75); margin-top: 8px; }
.uv-title { font-family: var(--font-round); font-weight: 700; font-size: clamp(28px, 3.8vw, 50px); line-height: 1.45; letter-spacing: .04em; margin: 22px 0 26px; }
.uv-text { font-size: clamp(15px, 1.3vw, 17px); line-height: 2.1; color: rgba(255,255,255,.88); }
.uv-pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 14px 18px 14px 30px; border-radius: 999px; background: #fff; color: #1d1d1f;
  font-family: var(--font-round); font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 0 rgba(0,0,0,.18); transition: transform .3s var(--ease), box-shadow .3s;
}
.uv-pill:hover { transform: translateY(3px); box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.uv-pill .ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: #fff; font-size: 14px; transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.uv-pill:hover .ico { transform: translateX(4px) rotate(-20deg); }

/* ふわふわ浮かぶ */
.float { animation: float 6s ease-in-out infinite; }
.float--b { animation-duration: 7.5s; animation-delay: -2s; }
.float--c { animation-duration: 5.2s; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.spin-slow { animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* 出現：弾むように */
.pop { opacity: 0; transform: scale(.4); transition: opacity .6s var(--ease), transform .9s cubic-bezier(.2, 1.5, .35, 1); }
.pop.is-in { opacity: 1; transform: none; }

/* ==========================================================
   空（キービジュアル）
   ========================================================== */
.uv-kv {
  position: relative; height: 230svh; --kv: 0;
  background: linear-gradient(180deg, #bfe0f5 0%, #dcefFa 40%, #eef7fd 100%);
}
/* イラストは画面に留まり、その上を見出しが下から上へ通り過ぎる */
.uv-kv__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.uv-kv__bg { position: absolute; inset: calc(var(--header-h) + 16px) 0 0 0; z-index: 0; }
.uv-kv__bg picture, .uv-kv__bg img { display: block; width: 100%; height: 100%; }
.uv-kv__bg img {
  object-fit: cover; object-position: 50% 0%;
  transform-origin: 50% 40%; transform: scale(calc(1 + var(--kv) * .15));
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.is-loaded .uv-kv__bg img { opacity: 1; }
.uv-kv__inner {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 3;
  display: flex; justify-content: center; padding: 0 var(--gutter);
  /* 下から上がる(〜40%) → 中央で止まる(40〜58%) → 拡大しながら消える(58〜92%) */
  --rise: clamp(0, calc((var(--kv) - .04) / .36), 1);
  --out: clamp(0, calc((var(--kv) - .58) / .34), 1);
  transform: translate3d(0, calc(-50% + (1 - var(--rise)) * 60svh), 0) scale(calc(1 + var(--out) * 1.6));
  /* 拡大し切る前（半分ほどの地点）で完全に消える */
  opacity: clamp(0, min(calc(var(--rise) * 3), calc(1 - var(--out) * 2)), 1);
  will-change: transform, opacity;
}
.uv-kv__scroll {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  opacity: clamp(0, calc(1 - var(--kv) * 8), 1);
}
.uv-kv h1, .uv-kv .uv-kv__h { text-shadow: 0 0 14px rgba(255,255,255,.9); }
.uv-kv__sub, .uv-kv__scroll { text-shadow: 0 0 10px #fff; }
.uv-kv .uv-cloud { z-index: 2; }
.uv-kv .uv-bird { z-index: 2; }
@media (max-width: 640px) { .uv-kv__bg img { object-position: 52% 0%; } }
.uv-kv h1, .uv-kv .uv-kv__h { margin: 0; font-family: var(--font-serif); font-weight: 800; font-size: clamp(30px, 5.4vw, 72px); letter-spacing: .12em; color: #1b4d2e; }
.uv-kv h1 .char, .uv-kv .uv-kv__h .char { opacity: 0; transform: translateY(.5em) rotate(10deg); transition: opacity .8s var(--ease), transform 1s cubic-bezier(.2, 1.5, .35, 1); }
.is-loaded .uv-kv h1 .char, .is-loaded .uv-kv .uv-kv__h .char { opacity: 1; transform: none; }
.uv-kv__sub { font-family: var(--font-mont); font-weight: 600; letter-spacing: .3em; font-size: 12px; color: #5b7d6a; }
.uv-kv__scroll { font-family: var(--font-mont); font-size: 11px; letter-spacing: .3em; color: #5b7d6a; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.uv-kv__scroll span { width: 26px; height: 42px; border: 2px solid #5b7d6a; border-radius: 14px; position: relative; }
.uv-kv__scroll span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #5b7d6a; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.uv-cloud { position: absolute; z-index: 1; width: clamp(110px, 15vw, 240px); }
.uv-cloud svg { width: 100%; height: auto; display: block; animation: drift 10s ease-in-out infinite alternate; }
.uv-bird { position: absolute; z-index: 1; width: 34px; animation: fly 26s linear infinite; }
.uv-bird svg { width: 100%; animation: flap .5s ease-in-out infinite alternate; transform-origin: center; }
@keyframes fly { from { transform: translateX(-10vw); } to { transform: translateX(115vw); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }


/* ==========================================================
   森
   ========================================================== */
.uv-forest { background: var(--forest-bg); padding: 60px 0 0; }
.uv-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(60px, 10vw, 120px) 0; }
.uv-planet { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; }
.uv-planet svg { width: 100%; height: 100%; overflow: visible; }
.uv-planet .sway { transform-box: fill-box; transform-origin: 50% 100%; animation: tree-sway 4s ease-in-out infinite alternate; }
@keyframes tree-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.uv-planet .kv-flag { transform-box: fill-box; transform-origin: left center; animation: flag 1.4s ease-in-out infinite alternate; }
@keyframes flag { from { transform: skewY(-6deg) scaleX(.92); } to { transform: skewY(5deg) scaleX(1); } }
.uv-drone { position: absolute; width: clamp(90px, 10vw, 140px); right: 8%; top: 8%; z-index: 3; }
@media (max-width: 760px) { .uv-story { grid-template-columns: 1fr; } .uv-planet { width: 76vw; } }

/* 事業をめぐる軌道（太陽系のように回る） */
.uv-orbit { height: 400vh; }
.uv-orbit .pin__sticky { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; overflow: visible; }
.orbit { position: relative; width: min(42vw, 72svh, 560px); aspect-ratio: 1; margin-inline: auto; --rot: calc((var(--p) * 4 - .5) * -90deg); }
.orbit__ring { position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .28); }
.orbit__ring--outer { inset: -4%; border: 1px solid rgba(255, 255, 255, .12); transform: rotate(calc(var(--p) * 180deg)); }
.orbit__ring--outer::before { content: ""; position: absolute; top: 12%; left: 12%; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 18px var(--sun); }
.orbit__sun {
  position: absolute; inset: 31%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b8, var(--sun) 45%, #e9a826);
  box-shadow: 0 0 0 14px rgba(246, 201, 69, .15), 0 0 0 30px rgba(246, 201, 69, .07), 0 0 60px rgba(246, 201, 69, .45);
  display: grid; place-content: center; text-align: center; color: #5a3d00;
  font-family: var(--font-round); font-weight: 700; font-size: clamp(14px, 1.5vw, 19px); line-height: 1.4;
}
.orbit__sun small { display: block; font-family: var(--font-mont); font-size: .6em; letter-spacing: .15em; }
.orbit__sys { position: absolute; inset: 9%; transform: rotate(var(--rot)); }
.orbit__planet {
  position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; margin: -13% 0 0 -13%;
  transform: rotate(var(--a)) translateX(calc(min(42vw, 72svh, 560px) * .41)) rotate(calc(var(--a) * -1)) rotate(calc(var(--rot) * -1));
}
.orbit__planet > span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  font-family: var(--font-round); font-weight: 700; color: #fff; font-size: clamp(12px, 1.25vw, 16px); line-height: 1.3;
  background: var(--c); box-shadow: inset -10px -12px 0 rgba(0, 0, 0, .14), inset 8px 8px 0 rgba(255, 255, 255, .18);
  transform: scale(.78); transition: transform .6s cubic-bezier(.2, 1.6, .4, 1), box-shadow .6s;
}
.orbit__planet > span i { font-style: normal; font-size: 1.6em; display: block; }
.uv-orbit[data-stage="0"] .orbit__planet:nth-child(1) > span,
.uv-orbit[data-stage="1"] .orbit__planet:nth-child(2) > span,
.uv-orbit[data-stage="2"] .orbit__planet:nth-child(3) > span,
.uv-orbit[data-stage="3"] .orbit__planet:nth-child(4) > span { transform: scale(1.18); box-shadow: inset -10px -12px 0 rgba(0,0,0,.14), inset 8px 8px 0 rgba(255,255,255,.18), 0 0 0 10px rgba(255,255,255,.14), 0 0 40px var(--c); }
.orbit-texts { position: relative; min-height: 380px; }
.orbit-text { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .8s cubic-bezier(.2, 1.3, .35, 1); pointer-events: none; }
.uv-orbit[data-stage="0"] .orbit-text:nth-child(1), .uv-orbit[data-stage="1"] .orbit-text:nth-child(2),
.uv-orbit[data-stage="2"] .orbit-text:nth-child(3), .uv-orbit[data-stage="3"] .orbit-text:nth-child(4) { opacity: 1; transform: none; pointer-events: auto; }
.orbit-text .num { font-family: var(--font-mont); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--leaf); }
.orbit-text h3 { font-family: var(--font-round); font-size: clamp(26px, 3vw, 40px); margin: 10px 0 18px; }
.orbit-dots { display: flex; gap: 8px; margin-top: 18px; }
.orbit-dots span { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); transition: background .4s, width .4s; }
.uv-orbit[data-stage="0"] .orbit-dots span:nth-child(1), .uv-orbit[data-stage="1"] .orbit-dots span:nth-child(2),
.uv-orbit[data-stage="2"] .orbit-dots span:nth-child(3), .uv-orbit[data-stage="3"] .orbit-dots span:nth-child(4) { background: var(--sun); width: 48px; }
/* 丘の上の作業員（宇宙飛行士の代わり） */
.uv-hill { position: absolute; left: 0; bottom: 0; width: clamp(200px, 22vw, 320px); z-index: 3; pointer-events: none; }
.uv-hill svg { width: 100%; height: auto; display: block; }
.uv-hill .wave-hand { transform-origin: 0 0; animation: wave-hand 1.2s ease-in-out infinite alternate; }
@keyframes wave-hand { from { transform: rotate(-25deg); } to { transform: rotate(20deg); } }
@media (max-width: 760px) {
  .uv-orbit .pin__sticky { grid-template-columns: 1fr; align-content: center; gap: 12px; padding-top: var(--header-h); }
  .orbit { width: min(74vw, 44svh); }
  .orbit__planet { transform: rotate(var(--a)) translateX(calc(min(74vw, 44svh) * .41)) rotate(calc(var(--a) * -1)) rotate(calc(var(--rot) * -1)); }
  .orbit__planet > span { font-size: 11px; }
  .orbit-texts { min-height: 300px; }
  .orbit-text .uv-text { font-size: 14px; line-height: 1.9; }
  .uv-hill { display: none; }
}

/* ==========================================================
   川
   ========================================================== */
.uv-river { background: var(--river-bg); padding: 80px 0 40px; }
.uv-tech { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(40px, 8vw, 100px) 0; }
.blobs { position: relative; aspect-ratio: 1 / .9; }
.blob { position: absolute; overflow: hidden; animation: morph 12s ease-in-out infinite; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.blob--1 { width: 62%; aspect-ratio: 1; left: 0; top: 4%; }
.blob--2 { width: 46%; aspect-ratio: 1; right: 0; top: 0; animation-delay: -4s; }
.blob--3 { width: 50%; aspect-ratio: 1; right: 8%; bottom: 0; animation-delay: -8s; }
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 52% 38% 62% 48%; }
  33% { border-radius: 40% 60% 62% 38% / 40% 58% 42% 60%; }
  66% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
}
@media (max-width: 760px) { .uv-tech { grid-template-columns: 1fr; } }

/* ---------- これからの役割（川のゾーン・技術の下） ---------- */
.uv-future { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(20px, 5vw, 60px) 0 clamp(40px, 8vw, 100px); }
.future-art { margin: 0; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.future-art__svg { display: block; width: 100%; height: auto; }
.future-art__flow { animation: future-flow 1.6s linear infinite; }
@keyframes future-flow { to { stroke-dashoffset: -48; } }
@media (prefers-reduced-motion: reduce) { .future-art__flow { animation: none; } }
.future-roles { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.future-roles li { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.future-roles b { display: block; font-family: var(--font-round); font-size: 16px; color: #ffd166; }
.future-roles span { display: block; font-size: 14px; line-height: 1.8; opacity: .92; }
@media (max-width: 760px) { .uv-future { grid-template-columns: 1fr; } .future-art { order: -1; } }

/* 落ち葉が流れていく */
.leaf { position: absolute; top: -40px; width: 26px; animation: leaf-fall linear infinite; opacity: .9; }
.leaf svg { width: 100%; animation: leaf-sway 3s ease-in-out infinite alternate; }
@keyframes leaf-fall { from { transform: translate(0, -40px) rotate(0); } to { transform: translate(18vw, 110vh) rotate(540deg); } }
@keyframes leaf-sway { from { transform: translateX(-12px) rotate(-20deg); } to { transform: translateX(12px) rotate(20deg); } }

/* 数字のしゃぼん玉（惑星のように浮かぶ） */
.uv-numbers { padding: clamp(60px, 10vw, 120px) 0 clamp(120px, 14vw, 200px); }
.bubbles { position: relative; height: 760px; margin-top: 40px; }
.bubble {
  position: absolute; width: var(--s); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: var(--tc, #fff);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), rgba(255,255,255,0) 32%),
    repeating-linear-gradient(-28deg, rgba(255,255,255,.07) 0 14px, rgba(255,255,255,0) 14px 30px),
    var(--c);
  box-shadow: inset -12px -14px 0 rgba(0,0,0,.12), 0 18px 40px rgba(0,0,0,.18);
}
.bubble .float { display: flex; flex-direction: column; align-items: center; }
.bubble b { display: block; font-family: var(--font-mont); font-weight: 800; font-size: calc(var(--s) * .26); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.bubble b span { font: inherit; }
.bubble b small { font-family: var(--font-round); font-size: .42em; margin-left: .1em; letter-spacing: 0; }
.bubble .float > span { display: block; font-family: var(--font-round); font-weight: 700; font-size: clamp(11px, calc(var(--s) * .075), 15px); margin-top: 8px; line-height: 1.45; padding: 0 10%; }
.bubble.has-ring::after { content: ""; position: absolute; inset: 30% -22%; border: 3px solid rgba(255,255,255,.55); border-radius: 50%; transform: rotate(-18deg); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); }
@media (max-width: 860px) {
  .bubbles { height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .bubble { position: relative; left: auto !important; top: auto !important; --s: min(40vw, 190px) !important; }
  .bubble:nth-child(3n) { --s: min(32vw, 150px) !important; }
}

/* ==========================================================
   海
   ========================================================== */
.uv-sea { background: linear-gradient(180deg, var(--sea-bg) 0%, #08213d 100%); padding: 80px 0 120px; }
.uv-sdgs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(40px, 8vw, 100px) 0; }
.sdg-planet { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.sdg-planet::before { content: ""; position: absolute; inset: -8%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.22); animation: spin 40s linear infinite; }
.sdg-planet::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95) 55%, rgba(255,255,255,.0) 72%); }
/* 地球の点線の輪などが画面の横にはみ出すと、スマホでページ全体が縮んでメニューが画面外に出るため、横だけ切る（clip は sticky を妨げない） */
main.uv { overflow-x: clip; }
.sdg-planet img { position: relative; z-index: 1; width: 78%; transform: rotate(calc(var(--t, 0) * 540deg)); }
.fish { position: absolute; width: var(--w, 70px); z-index: 1; }
.fish svg { width: 100%; height: auto; display: block; }
.fish .tail { transform-origin: 70% 50%; animation: tail .35s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes tail { from { transform: scaleY(1) rotate(-8deg); } to { transform: scaleY(.75) rotate(8deg); } }
.seaweed { position: absolute; bottom: 0; width: 60px; transform-origin: bottom center; animation: sway 4s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.uv-recruit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(60px, 10vw, 120px) 0; }
.portholes { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.porthole { position: absolute; border-radius: 50%; overflow: hidden; border: 8px solid #cfe3f1; box-shadow: 0 0 0 4px #7fa8c6, 0 20px 50px rgba(0,0,0,.35); }
.porthole img { width: 100%; height: 100%; object-fit: cover; }
.porthole--1 { width: 64%; aspect-ratio: 1; left: 0; top: 14%; }
.porthole--2 { width: 40%; aspect-ratio: 1; right: 0; top: 0; }
.porthole--3 { width: 34%; aspect-ratio: 1; right: 8%; bottom: 2%; }
@media (max-width: 760px) { .uv-sdgs, .uv-recruit { grid-template-columns: 1fr; } .uv-recruit .portholes { order: -1; } }

/* ==========================================================
   港町（お問い合わせ）
   ========================================================== */
.uv-harbor { background: linear-gradient(180deg, #cfe8f8 0%, #eaf6fd 60%, #f6fbff 100%); color: var(--ink); padding: 100px 0 0; }
.uv-harbor .uv-eyebrow { color: #f2a83b; }
.uv-harbor .uv-eyebrow small { color: var(--ink-soft); }
.uv-harbor .uv-text { color: var(--ink-soft); }
.uv-contact { text-align: center; padding: clamp(40px, 6vw, 80px) 0 20px; }
.uv-contact .cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 36px auto 0; text-align: left; }
.uv-contact .cards > div { background: #fff; border-radius: 24px; padding: 26px 28px; box-shadow: 0 10px 30px rgba(31, 95, 158, .1); }
.uv-contact .cards h3 { font-size: 13px; color: var(--ink-soft); font-weight: 500; margin-bottom: 6px; }
.uv-contact .cards .big { font-family: var(--font-mont); font-weight: 800; font-size: clamp(26px, 3vw, 34px); color: var(--ink); }
.uv-contact .uv-pill { background: var(--forest); color: #fff; }
.uv-contact .uv-pill .ico { background: #fff; color: var(--forest); }
@media (max-width: 640px) { .uv-contact .cards { grid-template-columns: 1fr; } }
.uv-town { position: relative; margin-top: 40px; }
.uv-town svg { width: 100%; height: auto; display: block; }
.uv-town .boat { animation: bob 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.uv-town .beam { animation: beam 4s linear infinite; transform-box: fill-box; transform-origin: 0% 50%; }
@keyframes beam { 0%, 100% { opacity: .15; } 50% { opacity: .6; } }
.uv-gotop {
  position: absolute; left: clamp(16px, 4vw, 60px); bottom: clamp(16px, 3vw, 40px); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-mont); font-weight: 800; font-size: 11px; letter-spacing: .15em; color: var(--forest);
}
.uv-gotop span { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; box-shadow: 0 8px 0 rgba(0,0,0,.2); transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.uv-gotop:hover span { transform: translateY(-8px); }
.uv-gotop span svg { width: 34px !important; height: 34px !important; display: block; } /* 周りの絵（.uv-town / .cn-shore）のsvg指定に引っ張られないよう固定 */
.uv-gotop.is-flying span { transform: translateY(-120vh); transition: transform 1.2s cubic-bezier(.6, 0, .4, 1); }

/* ホームでは下部の文字帯を海→港の色に合わせる */
.page-home .marquee { background: #f6fbff; }

@media (prefers-reduced-motion: reduce) {
  .float, .spin-slow, .blob, .leaf, .leaf svg, .uv-bird, .uv-cloud svg, .fish .tail, .seaweed, .uv-town .boat, .uv-hill .wave-hand { animation: none !important; }
  .uv-orbit { height: auto; }
  .pop { opacity: 1; transform: none; }
  .uv-kv { height: auto; }
  .uv-kv__inner { transform: translateY(-50%); opacity: 1; }
}

/* キービジュアルの見出し：すりガラスの板で、イラストの上でも読みやすく */
.uv-kv__title {
  padding: clamp(14px, 2vw, 22px) clamp(24px, 4vw, 48px); border-radius: 28px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 30px rgba(30, 70, 50, .12);
}
.uv-kv__title .uv-kv__sub { margin: 8px 0 0; }
/* 枠の中の文字は中央揃い（字間の空きが最後の字の後ろにも付くので、同じ分を左に足して真ん中に見せる） */
.uv-kv__title { text-align: center; }
.uv-kv__title h1, .uv-kv__title .uv-kv__h { padding-left: .12em; }
.uv-kv__title .uv-kv__sub { padding-left: .3em; }
@media (max-width: 480px) {
  .uv-kv__title h1, .uv-kv__title .uv-kv__h { padding-left: .06em; }
  .uv-kv__title .uv-kv__sub { padding-left: .16em; }
}
@media (max-width: 480px) {
  .uv-kv__title { padding: 14px 18px; border-radius: 22px; }
  .uv-kv h1, .uv-kv .uv-kv__h { font-size: 26px; letter-spacing: .06em; }
  .uv-kv__sub { font-size: 10px; letter-spacing: .16em; }
}

/* ==========================================================
   お知らせ（森の最上部）
   ========================================================== */
.uv-news { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 7vw, 90px) 0 clamp(20px, 4vw, 40px); align-items: start; }
.uv-news .uv-title { margin-bottom: 0; }
.news-cards { display: grid; gap: 10px; }
.news-cards li.is-more { display: none; }
.news-cards.is-open li.is-more { display: block; animation: news-in .5s var(--ease) both; }
@keyframes news-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.news-cards details { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; transition: background .3s, border-color .3s; }
.news-cards details:hover, .news-cards details[open] { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .22); }
.news-cards summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 96px auto 1fr 28px; gap: 16px; align-items: center; padding: 18px 22px; }
.news-cards summary::-webkit-details-marker { display: none; }
.news-cards time { font-family: var(--font-mont); font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .7); }
.news-tag { font-family: var(--font-round); font-weight: 700; font-size: 11px; padding: 3px 12px; border-radius: 999px; background: #4fb3d9; color: #fff; white-space: nowrap; }
.news-tag[data-tag="重要"] { background: var(--coral); }
.news-tag[data-tag="受賞"] { background: var(--sun); color: #5a3d00; }
.news-tag[data-tag="認定"] { background: #5fb36f; }
.news-tag[data-tag="協定締結"] { background: #8d7bd8; }
.news-title { font-weight: 500; font-size: 15px; line-height: 1.6; }
.news-new { display: inline-block; font-family: var(--font-mont); font-weight: 800; font-size: 10px; letter-spacing: .1em; color: #173f2d; background: var(--leaf); border-radius: 4px; padding: 1px 6px; margin-right: 8px; vertical-align: 2px; }
.news-plus { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); position: relative; transition: transform .4s cubic-bezier(.2, 1.6, .4, 1), background .3s; }
.news-plus::before, .news-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 1px; }
.news-plus::after { transform: rotate(90deg); }
details[open] .news-plus { transform: rotate(135deg); background: var(--leaf); }
.news-body { padding: 0 22px 20px calc(22px + 96px + 16px); }
.news-body p { margin: 0; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .85); }
.news-body a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.news-more { margin-top: 18px; background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; border-radius: 999px; padding: 10px 26px; font: inherit; font-family: var(--font-round); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .3s; }
.news-more:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 860px) {
  .uv-news { grid-template-columns: 1fr; }
  .news-cards summary { grid-template-columns: auto 1fr 28px; gap: 6px 12px; padding: 16px 18px; }
  .news-cards time { grid-column: 1; }
  .news-tag { grid-column: 2; justify-self: start; }
  .news-plus { grid-column: 3; grid-row: 1 / span 2; }
  .news-title { grid-column: 1 / 3; }
  .news-body { padding: 0 18px 18px; }
}

/* 港：漁船が入港して桟橋に着き、向きを変えて出港していく */
.uv-town .fboat { transform-box: fill-box; transform-origin: 50% 50%; animation: fboat 18s ease-in-out infinite; }
@keyframes fboat {
  0% { transform: translate(560px, 0) scaleX(1); animation-timing-function: cubic-bezier(.15, .6, .35, 1); }
  32% { transform: translate(0, 0) scaleX(1); }
  56% { transform: translate(0, 0) scaleX(1); animation-timing-function: ease-in-out; }
  62% { transform: translate(14px, 0) scaleX(-1); animation-timing-function: cubic-bezier(.55, 0, .85, .4); }
  100% { transform: translate(560px, 0) scaleX(-1); }
}
.uv-town .fboat-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 3.2s ease-in-out infinite; }
.uv-town .fboat-wake { animation: wake 18s linear infinite; }
@keyframes wake { 0%, 26% { opacity: .85; } 32%, 60% { opacity: 0; } 66%, 100% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .uv-town .fboat, .uv-town .fboat-bob, .uv-town .fboat-wake { animation: none; } .uv-town .fboat-wake { opacity: 0; } }

/* ==========================================================
   横に進むタイムライン（.htl）：会社概要の沿革・採用情報の一日で共通
   ========================================================== */
.htl { margin-top: 48px; --h: 0; }
.htl-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.htl-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.htl-jump button { background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; border-radius: 999px; padding: 8px 18px; font: inherit; font-family: var(--font-round); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.htl-jump button:hover { background: rgba(255, 255, 255, .12); }
.htl-jump button.is-active { background: var(--sun); border-color: var(--sun); color: #3d2c00; }
.htl-arrows { display: flex; gap: 10px; }
.htl-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: #1d4630; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), opacity .3s; }
.htl-arrows button:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.htl-arrows button:disabled { opacity: .3; cursor: default; transform: none; }
/* 画面の端まで広げた横スクロール領域 */
.htl-viewport {
  margin-inline: calc(50% - 50vw); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scrollbar-width: none; cursor: grab; outline: none; -webkit-overflow-scrolling: touch;
}
.htl-viewport::-webkit-scrollbar { display: none; }
.htl-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.htl-viewport.is-dragging * { pointer-events: none; }
.htl-track { position: relative; display: flex; gap: 20px; align-items: stretch; width: max-content; margin: 0; padding: 46px 0 14px; list-style: none; }
.htl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 12px, transparent 12px 24px); }
.htl-card { flex: 0 0 290px; position: relative; scroll-snap-align: start; }
.htl-dot { position: absolute; top: -35px; left: 26px; width: 16px; height: 16px; border-radius: 50%; background: #1d4630; border: 3px solid rgba(255, 255, 255, .6); transition: background .4s, border-color .4s, transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.htl-card.is-seen .htl-dot { background: var(--sun); border-color: var(--sun); }
.htl-card__body { height: 100%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; overflow: hidden; transition: transform .4s var(--ease), background .3s; }
.htl-card:hover .htl-card__body { transform: translateY(-6px); background: rgba(255, 255, 255, .12); }
.htl-card:hover .htl-dot { transform: scale(1.4); }
.htl-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; user-select: none; }
.htl-card__media.is-logo img { object-fit: contain; background: #fff; padding: 12px; }
.htl-card__text { padding: 16px 20px 22px; }
.htl-year { font-family: var(--font-mont); font-weight: 800; font-size: 34px; line-height: 1; color: #fff; }
.htl-year small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 6px; letter-spacing: .1em; }
.htl-card h3 { font-size: 15px; line-height: 1.6; margin: 10px 0 6px; color: #fff; }
.htl-card p { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .72); margin: 0; }
/* 時代の切り替わりは木の道標 */
/* 縦書きの札は幅を決めておく（幅が決まっていないと iPhone の Safari が並び全体を広く計算し、最後に空白ができる） */
.htl-era { flex: 0 0 68px; width: 68px; box-sizing: border-box; position: relative; scroll-snap-align: start; padding: 0 6px; }
.htl-era span { display: block; width: 56px; box-sizing: border-box; text-align: center; margin-top: -40px; writing-mode: vertical-rl; letter-spacing: .4em; padding: 16px 12px; background: #a8743f; color: #fff; border-radius: 8px; box-shadow: 0 5px 0 #7a5a3b; font-family: var(--font-round); font-weight: 700; font-size: 18px; position: relative; z-index: 1; }
.htl-era::after { content: ""; position: absolute; left: 50%; top: 60px; bottom: 30px; width: 8px; margin-left: -4px; background: #7a5a3b; border-radius: 4px; }
/* 進み具合：道の上をハイカーが歩く */
.htl-trail { position: relative; height: 64px; margin-top: 18px; }
.htl-trail__line, .htl-trail__fill { position: absolute; left: 0; top: 44px; height: 4px; border-radius: 2px; }
.htl-trail__line { right: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 10px, transparent 10px 20px); }
.htl-trail__fill { width: calc(var(--h) * 100%); background: var(--sun); }
.htl-hiker { position: absolute; top: 0; left: calc(var(--h) * 100%); width: 30px; transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.htl-hiker svg { width: 100%; display: block; animation: hike .9s ease-in-out infinite alternate; }
.htl-hiker .mt-legs rect:first-child { transform-box: fill-box; transform-origin: top; animation: leg .45s ease-in-out infinite alternate; }
.htl-hiker .mt-legs rect:last-child { transform-box: fill-box; transform-origin: top; animation: leg .45s ease-in-out infinite alternate-reverse; }
@keyframes hike { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-3px) rotate(3deg); } }
@keyframes leg { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
.htl-trail__start, .htl-trail__end { position: absolute; top: 54px; font-family: var(--font-mont); font-weight: 800; font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.htl-trail__start { left: 0; } .htl-trail__end { right: 0; }
.htl-hint { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .55); margin: 22px 0 0; }
@media (max-width: 640px) {
  .htl-card { flex-basis: min(78vw, 290px); }
  .htl-arrows button { width: 42px; height: 42px; font-size: 24px; }
}


/* ==========================================================
   最上部を動かさない版（トップページ以外）：.uv-kv--static
   絵と見出しはそのまま表示し、スクロール連動・常時アニメーションを止める
   ========================================================== */
.uv-kv--static { height: 100svh; min-height: 560px; --kv: 0 !important; }
.uv-kv--static .uv-kv__stage { position: relative; }
.uv-kv--static, .uv-kv--static * { animation: none !important; transition: none !important; }
.uv-kv--static .uv-kv__inner { top: 44%; transform: translateY(-50%); opacity: 1; }
.uv-kv--static .uv-bird { display: none; }
.uv-kv--static .uv-kv__scroll span::after { top: 14px; }
/* 船は止めた位置に置く（お問い合わせ） */
.uv-kv--static .cn-boat--a { transform: translate(260px, 700px); }
.uv-kv--static .cn-boat--b { transform: translate(880px, 770px) scaleX(-1); }

/* ==========================================================
   サイト整理（2026-10-27）
   ========================================================== */
/* 静的キービジュアルのパンくず */
.uv-kv__crumbs { position: absolute; top: calc(var(--header-h) + 18px); left: var(--gutter, 24px); right: var(--gutter, 24px); z-index: 3; color: #1b4d2e; }
.uv-kv__crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; font-size: 12px; }
.uv-kv__crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.uv-kv__crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.uv-kv__crumbs li { background: rgba(255, 255, 255, .7); padding: 2px 8px; border-radius: 999px; }
.uv-kv__crumbs li + li { margin-left: 4px; }
.uv-kv__crumbs li + li::before { margin: 0 6px 0 0; }

/* ホーム：導入（h1・1951年・事業の広がり） */
.uv-intro { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 70px); text-align: center; }
.uv-intro__h1 { font-family: var(--font-round); font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.6; letter-spacing: .04em; margin: 22px 0 22px; }
.uv-intro__lead { max-width: 860px; margin-inline: auto; }
.uv-chain { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 1000px; counter-reset: c; }
.uv-chain li { position: relative; }
.uv-chain li + li::before { content: "→"; position: absolute; left: -10px; top: 34px; transform: translateX(-50%); color: rgba(255, 255, 255, .5); font-size: 14px; }
.uv-chain a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 16px; transition: background .3s; }
.uv-chain a:hover { background: rgba(255, 255, 255, .08); }
.uv-chain b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c); font-family: var(--font-round); font-size: 18px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.uv-chain a:hover b { transform: translateY(-4px) scale(1.06); }
.uv-chain span { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.uv-intro__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.uv-pill--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
@media (max-width: 720px) {
  .uv-chain { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .uv-chain li:nth-child(4)::before { display: none; }
}
.uv-news__all { margin: 16px 0 0; text-align: right; }
.uv-news__all a { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

/* ホーム最上部：季節のイラスト。5枚とも素のイラストと同じ枠（2000×1269）に位置を合わせてあるので、置き方は共通。
   絵の上の帯（ヘッダーの下）は、それぞれの絵の空の色にする */
html[data-season="spring"] .uv-kv, html[data-season="summer"] .uv-kv { background: #4fb5f8; }
html[data-season="autumn"] .uv-kv { background: #eb784d; }
html[data-season="winter"] .uv-kv { background: #3199f5; }
.uv-season-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.uv-kv__bg img.is-swapping { opacity: 0 !important; transition-duration: .25s; }
/* イラスト切り替えボタン（素・春・夏・秋・冬）。スクロールすると消える */
.uv-illust-switch {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 4; display: flex; gap: 8px;
  padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  opacity: clamp(0, calc(1 - var(--kv) * 6), 1);
}
.uv-illust-switch button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  font-family: var(--font-round); font-weight: 700; font-size: 16px; color: #33413a; background: transparent;
  transition: background .3s, color .3s, transform .3s cubic-bezier(.2, 1.6, .4, 1);
}
.uv-illust-switch button:hover { transform: translateY(-2px); background: rgba(0, 0, 0, .06); }
.uv-illust-switch button[aria-pressed="true"] { color: #fff; }
.uv-illust-switch [data-illust="plain"][aria-pressed="true"] { background: #6b8f7a; }
.uv-illust-switch [data-illust="spring"][aria-pressed="true"] { background: #e8799a; }
.uv-illust-switch [data-illust="summer"][aria-pressed="true"] { background: #4fa64a; }
.uv-illust-switch [data-illust="autumn"][aria-pressed="true"] { background: #d9622b; }
.uv-illust-switch [data-illust="winter"][aria-pressed="true"] { background: #4a8fd0; }
@media (max-width: 640px) {
  .uv-illust-switch { left: 50%; transform: translateX(-50%); bottom: 118px; gap: 4px; }
  .uv-illust-switch button { width: 36px; height: 36px; font-size: 15px; }
}

/* トップのお知らせ：記事ページへのリンク（microCMS） */
.news-body p + p { margin-top: 10px; }
.news-body .news-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* トップのお知らせ：開いたときの写真（押すと記事ページへ） */
.news-body .nw-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 96px)); gap: 8px; margin: 14px 0 4px; text-decoration: none; }
.news-body .nw-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; transition: transform .3s, opacity .3s; }
.news-body .nw-thumbs:hover img { opacity: .85; }
.news-body .nw-thumbs__more { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 560px) { .news-body .nw-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- トップ以外の最上部：イラストはそのまま、文字は事業内容ページと同じ並び（2026-11-02） ---------- */
.uv-kv--cp { height: min(78svh, 720px); min-height: 520px; }
.uv-kv--cp .uv-kv__stage { height: 100%; }
.uv-kv--cp .uv-kv__stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 30, 20, .05) 0%, rgba(10, 30, 20, .18) 45%, rgba(10, 30, 20, .62) 100%); }
.uv-kv--static.uv-kv--cp .uv-kv__inner { top: auto; bottom: 150px; transform: none; display: block; padding: 0; }
.uv-kv--cp .cp-hero__inner { color: #fff; }
.uv-kv--cp .crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; font-size: 12px; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.uv-kv--cp .crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .7; }
.uv-kv--cp .crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.uv-kv--cp .uv-eyebrow { color: #ffe27a; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.uv-kv--cp .uv-eyebrow small { color: rgba(255, 255, 255, .9); }
.uv-kv--cp h1.cp-title { font-family: var(--font-round); font-weight: 700; font-size: clamp(28px, 4.6vw, 56px); line-height: 1.4; letter-spacing: .04em; margin: 18px 0; color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .35), 0 4px 24px rgba(0, 0, 0, .45); }
.uv-kv--cp .cp-lead { max-width: 760px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2.1; color: #fff; margin: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .4); }
@media (max-width: 600px) {
  .uv-kv--cp { height: auto; min-height: 560px; }
  .uv-kv--static.uv-kv--cp .uv-kv__inner { bottom: 110px; }
}
@media (max-width: 600px) { .uv-kv--cp h1.cp-title { font-size: clamp(22px, 6.4vw, 28px); } }
