/* business：あおば労務パートナーズ「紺×若草」王道のコーポレート型 */
:root {
  --c-main: #1e3a5f;
  --c-sub: #3e6a93;
  --c-pale: #f3f6f9;
  --c-accent: #5e8c4a;
  --c-cta: #c2572f;
  --c-text: #1f2d3a;
  --c-muted: #56636f;
  --c-line: #d8dfe6;
  --f-head: "Noto Serif JP", serif;
  --radius: 2px;
  --radius-img: 2px;
}

/* ヒーロー：写真を右に大きく敷き、左から紺の面を重ねる */
.sr-hero { background: var(--c-main); color: #fff; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; }
.sr-hero__photo { position: absolute; inset: 0 0 0 38%; }
.sr-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.sr-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-main) 0%, rgba(30,58,95,.82) 22%, rgba(30,58,95,.15) 55%, rgba(30,58,95,0) 75%); }
.sr-hero .sr-inner { position: relative; padding-block: 88px; }
.sr-hero__body { max-width: 560px; }
.sr-hero__label { color: #cfe0c4; padding-left: 44px; position: relative; margin-bottom: 26px; }
.sr-hero__label::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: currentColor; }
.sr-hero__title { color: #fff; }
.sr-hero__lead { color: rgba(255,255,255,.88); }
.sr-hero__keys li { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.sr-hero__scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: rgba(255,255,255,.3); overflow: hidden; }
.sr-hero__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: sr-scroll 2.2s ease-in-out infinite; }
@keyframes sr-scroll { to { top: 100%; } }

/* 読み込み時の順番表示 */
.js .sr-hero__body > * { opacity: 0; transform: translateY(14px); animation: sr-up .9s ease forwards; }
.js .sr-hero__body > *:nth-child(2) { animation-delay: .12s; }
.js .sr-hero__body > *:nth-child(3) { animation-delay: .24s; }
.js .sr-hero__body > *:nth-child(4) { animation-delay: .36s; }
.js .sr-hero__body > *:nth-child(5) { animation-delay: .48s; }
@keyframes sr-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .sr-hero__body > * { opacity: 1; transform: none; animation: none; } }

@media (max-width: 860px) {
  .sr-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .sr-hero__photo { position: relative; inset: auto; height: 62vw; max-height: 440px; }
  .sr-hero__photo::after { background: linear-gradient(0deg, var(--c-main) 0%, rgba(30,58,95,0) 45%); }
  .sr-hero .sr-inner { padding-block: 8px 56px; margin-top: -40px; }
  .sr-hero__scroll { display: none; }
}
