/* ==========================================================
   a.css — A案（雰囲気を寄せる：白基調・写真主体・余白広め）
   ========================================================== */
:root {
  --key: #1E3FA8;
  --light: #3FB6E6;
  --ice: #EAF3FA;
  --tint: #F4F6F9;
  --line: #D9E1EA;
  --text: #111111;
  --muted: #6B7280;
  --group: #F6AE26;
  --navy: #0B1A3F;
  --header-h: 96px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--text);
  background: #fff;
}

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}
/* 狭い幅でだけ効く改行（見出しが単語の途中で折れるのを防ぐ。PC では無効。C/D 案と同じ方式） */
.br-sp {
  display: none;
}
@media (max-width: 720px) {
  .br-sp {
    display: inline;
  }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s ease-out, background 0.5s ease-out;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding-inline: 32px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.site-logo img {
  width: 68px;
  height: auto;
}
.site-logo__text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}
.site-logo__name {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  white-space: nowrap;
}
.site-logo__group {
  font-family: "Alex Brush", cursive;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
}
.g-nav {
  margin-left: auto;
}
.g-nav ul {
  display: flex;
  gap: clamp(1em, 1.45vw, 1.8em);
}
.g-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4em 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.g-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--key);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease-out;
}
.g-nav a:hover::after,
.g-nav a:focus-visible::after {
  transform: scaleX(1);
}
.header-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  margin-left: clamp(1em, 1.8vw, 2.2em);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--key);
}
.header-tel__label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.15em;
}
.menu-trigger {
  display: none;
}
.sp-nav {
  display: none;
}
.data-badge.tmp-data {
  position: static;
  display: inline-block;
  padding: 0.1em 0.64em;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.08em;
  vertical-align: 0.08em;
  white-space: nowrap;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ヒーロー（写真切替 → 霧 → 光粒 → 英字アウトライン → 縦書きキャッチ → 罫線＋サブ） ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  max-height: none;
  overflow: hidden;
  background: var(--ice);
}

.hero__slides,
.hero__slide,
.hero__slide::after,
.hero__img,
.hero__shade,
.hero__mist,
.hero__snow {
  position: absolute;
  inset: 0;
}

.hero__slides {
  z-index: 0;
}

.hero__slide {
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide::after {
  content: "";
  background: linear-gradient(180deg, rgba(3, 12, 28, 0) 0%, rgba(3, 12, 28, 0) 88%, rgba(3, 12, 28, 0.16) 100%);
  pointer-events: none;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}

.hero__slide:nth-child(1) .hero__img {
  object-position: 50% center;
}

.hero__slide:nth-child(2) .hero__img {
  object-position: 50% center;
}

.hero__slide:nth-child(3) .hero__img {
  object-position: 50% center;
}

.hero__slide:nth-child(4) .hero__img {
  object-position: 50% center;
}

html.js .hero__slide.is-initial .hero__img {
  transform: scale(1.12);
}

html.js .hero.is-ready .hero__slide.is-initial .hero__img {
  animation: hero-zoom-out 2s var(--ease-out) forwards;
}

.hero__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 12, 28, 0) 0%, rgba(3, 12, 28, 0) 88%, rgba(3, 12, 28, 0.2) 100%);
  pointer-events: none;
}
.hero .tmp-tag {
  top: calc(var(--header-h) + 16px);
  left: 32px;
}
/* 霧：淡いグレー白の層が右から静かに流れて定着する（1回きり） */
.hero__mist {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 40%, rgba(246, 248, 251, 0.34) 0%, rgba(246, 248, 251, 0) 70%),
    radial-gradient(50% 60% at 85% 90%, rgba(226, 231, 237, 0.26) 0%, rgba(226, 231, 237, 0) 70%),
    linear-gradient(180deg, rgba(246, 248, 251, 0.1) 0%, rgba(246, 248, 251, 0) 35%, rgba(11, 26, 63, 0.18) 100%);
}
.hero:has(.hero__captions) .hero__mist {
  display: none;
}
.js .hero__mist {
  opacity: 0;
  transform: translateX(6%);
}
.hero.is-ready .hero__mist {
  animation: mist-drift 9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.hero.is-static .hero__mist {
  opacity: 1;
  transform: none;
}
@keyframes mist-drift {
  0% { opacity: 0; transform: translateX(6%); }
  35% { opacity: 1; transform: translateX(-1.5%); }
  100% { opacity: 1; transform: translateX(0); }
}
/* 光粒（Canvas、motion.js が描画） */
.hero__snow {
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* 背後の大きなアウトライン英字 */
.hero__ghost {
  position: absolute;
  left: 24px;
  bottom: 120px;
  z-index: 4;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
  user-select: none;
}
.js .hero__ghost {
  opacity: 0;
  transform: translateX(-24px);
}
.hero.is-ready .hero__ghost {
  animation: ghost-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards;
}
.hero.is-static .hero__ghost {
  opacity: 1;
  transform: none;
}
@keyframes ghost-in {
  to { opacity: 1; transform: translateX(0); }
}

.hero__catch {
  position: absolute;
  top: calc(50% + var(--header-h) / 2);
  right: clamp(32px, 9vw, 140px);
  z-index: 4;
  transform: translateY(-50%);
  max-height: calc(100% - var(--header-h) - 48px);
  padding: 0.4em 0.22em;
  background: linear-gradient(180deg, rgba(10, 30, 80, 0) 0%, rgba(10, 30, 80, 0.28) 20%, rgba(10, 30, 80, 0.28) 80%, rgba(10, 30, 80, 0) 100%);
}
.hero__vert {
  writing-mode: vertical-rl;
  /* 縦書きは丈が高さに依存するため、横幅基準(vw)と高さ基準(vh)の小さい方を採る。
     10文字＋字間0.22em×10＝約12.2em に上下パディングを足して、ヘッダー下の残り高さに収まる係数(4.8vh) */
  font-size: min(3.8vw, 4.8vh, 54px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.22em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(10, 30, 80, 0.55), 0 0 2px rgba(10, 30, 80, 0.4);
}
.hero__catch-break {
  display: none;
}
.js .hero__vert {
  opacity: 0;
  transform: translateY(24px);
}
.hero.is-ready .hero__vert {
  animation: catch-rise 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s forwards;
}
.hero.is-static .hero__vert {
  opacity: 1;
  transform: none;
}
@keyframes catch-rise {
  to { opacity: 1; transform: translateY(0); }
}
/* 罫線＋サブコピー＋英字小見出し */
.hero__sub {
  position: absolute;
  left: 32px;
  bottom: 40px;
  z-index: 4;
  padding-left: 1.4em;
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-shadow: 0 1px 14px rgba(10, 30, 80, 0.5);
}
.hero__en {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.28em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5em;
}
.hero__subtxt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.7;
}
.hero__brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;
  line-height: 1.6;
}
.hero__brand-sub {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.1em;
}

.hero__progress {
  position: absolute;
  right: max(32px, calc((100% - 1200px) / 2));
  bottom: 58px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(32px, 82px));
  gap: 10px;
  width: min(542px, calc(100% - 64px));
}

.hero__progress-bar {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
}

.hero__progress-bar span {
  position: absolute;
  inset: 0;
  background: var(--key);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__progress-bar.is-active span {
  animation: hero-progress 6s linear forwards;
}

@keyframes hero-zoom-out {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
/* ---------- 共通見出し・ボタン ---------- */
.section-heading {
  position: relative;
  margin-bottom: 1.6em;
}
.section-heading__en {
  position: absolute;
  left: -0.04em;
  top: -0.42em;
  z-index: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(16, 48, 192, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.section-heading__jp {
  position: relative;
  z-index: 1;
  padding-top: 0.55em;
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.section-heading__jp::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 0.5em;
  background: var(--key);
}
.section-head {
  max-width: 820px;
}
.section-sub {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 1em;
}
.section-lead {
  max-width: 40em;
  color: var(--muted);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 2em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.85em 2.2em;
  border: 1px solid var(--text);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  transition: background 0.5s ease-out, color 0.5s ease-out, border-color 0.5s ease-out;
}
.btn:hover,
.btn:focus-visible {
  color: #fff;
  background: var(--key);
  border-color: var(--key);
}
.btn--fill {
  color: #fff;
  background: var(--key);
  border-color: var(--key);
}
.btn--fill:hover,
.btn--fill:focus-visible {
  background: var(--text);
  border-color: var(--text);
}
.text-link {
  border-bottom: 1px solid currentColor;
  transition: color 0.5s ease-out;
}
.text-link:hover {
  color: var(--key);
}

/* ---------- メッセージ ---------- */
.message {
  padding: 140px 0 120px;
}
.message__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 64px;
  align-items: start;
}
.message__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.message__lead {
  margin-top: 1.4em;
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--key);
}
.message__body {
  padding-top: 0.6em;
  max-width: 40em;
}

/* ---------- 事業内容 ---------- */
.service {
  position: relative;
  padding: 120px 0 0;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--tint) 0%, #fff 30%);
}
.service > .container,
.service__cards {
  position: relative;
  z-index: 1;
}
.service__bands {
  position: absolute;
  top: 190px;
  right: 0;
  left: 0;
  z-index: 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
  pointer-events: none;
}
.service__bands .loop--reverse {
  transform: translateY(-20%);
}
.service .section-head {
  margin-bottom: 96px;
}
.service__cards {
  overflow-x: clip;
}
.feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  margin-bottom: 120px;
}
.feature--reverse {
  grid-template-columns: 5fr 7fr;
}
.feature--reverse .feature__media {
  order: 2;
}
.feature__media {
  position: relative;
  overflow: hidden;
  background: var(--ice);
  aspect-ratio: 3 / 2;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature__text {
  padding: 0 clamp(32px, 7vw, 110px);
}
.feature__label {
  margin-bottom: 0.8em;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--group);
}
.feature__text h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 1.2em;
}
.fleet,
.recruit__facts {
  margin-top: 1.8em;
  border-top: 1px solid var(--line);
}
.fleet > div,
.recruit__facts > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 1em;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.fleet dt,
.recruit__facts dt {
  color: var(--muted);
}
.rule-list {
  margin-top: 1.4em;
}
.rule-list li {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.rule-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light);
}

/* ---------- 拠点ネットワーク ---------- */
.network {
  position: relative;
  padding: 120px 0;
  overflow-x: clip;
  background: #fff;
}
.network__head {
  margin-bottom: 48px;
}
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
  gap: 80px;
  align-items: center;
}
.network__map,
.route-map {
  min-width: 0;
}
.route-map {
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, var(--ice) 0%, rgba(255, 255, 255, 0.72) 100%);
  border: 1px solid var(--line);
}
.route-map:has(.route-map__img) {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(8, 31, 66, 0.18);
}
.route-map__img {
  display: block;
  width: 100%;
  height: auto;
}
.network-copy {
  min-width: 0;
}
.eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: var(--key);
}
.network-copy__lead {
  margin-top: 18px;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.network-links {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--text);
}
.network-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.network-links span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
.network-links small {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.network-links em {
  flex: 0 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  color: var(--group);
  transition: color 0.5s ease-out;
}
.network-links a:hover em {
  color: var(--key);
}
.jpmap {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
  margin-inline: auto;
  overflow: visible;
}
.jpmap__land {
  fill: var(--ice);
  stroke: #b6c6da;
  stroke-width: 1.1;
}
.jpmap__route {
  fill: none;
  stroke: var(--group);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jpmap__region {
  fill: var(--muted);
  font-size: 15px;
  letter-spacing: 0.14em;
}
.jpmap__dot {
  fill: var(--key);
  stroke: #fff;
  stroke-width: 2.4;
}
.jpmap__halo {
  fill: none;
  stroke: rgba(30, 63, 168, 0.22);
  stroke-width: 9;
}
.jpmap__dot--hq {
  fill: var(--group);
}
.jpmap__halo--hq {
  stroke: var(--group);
  stroke-opacity: 0.46;
  stroke-width: 10;
}
.jpmap__name {
  fill: var(--text);
  /* 6拠点になりラベルが密集するため 26px から縮小。
     SP（要素幅327px / viewBox幅503.6）での実効サイズは 21 × 0.65 ≒ 13.7px で 12px 要件を満たす */
  font-size: 21px;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5px;
  stroke-linejoin: round;
}
html.js .network__map .jpmap__land {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
html.js .network__map.is-in .jpmap__land {
  opacity: 1;
}
html.js .network__map .jpmap__route {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
html.js .network__map.is-in .jpmap__route {
  stroke-dashoffset: 0;
}
html.js .network__map .jpmap__halo,
html.js .network__map .jpmap__dot,
html.js .network__map .jpmap__name {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.6);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
html.js .network__map.is-in .jpmap__halo,
html.js .network__map.is-in .jpmap__dot,
html.js .network__map.is-in .jpmap__name {
  opacity: 1;
  transform: scale(1);
}
.jpmap__halo--numazu,
.jpmap__dot--numazu,
.jpmap__name--numazu {
  transition-delay: 0.2s;
}
.jpmap__halo--kawaguchi,
.jpmap__dot--kawaguchi,
.jpmap__name--kawaguchi {
  transition-delay: 0.4s;
}
.jpmap__halo--matsubushi,
.jpmap__dot--matsubushi,
.jpmap__name--matsubushi {
  transition-delay: 0.6s;
}
.jpmap__halo--shizuoka,
.jpmap__dot--shizuoka,
.jpmap__name--shizuoka {
  transition-delay: 0.8s;
}
.jpmap__halo--sagami,
.jpmap__dot--sagami,
.jpmap__name--sagami {
  transition-delay: 1s;
}
.jpmap__halo--hq,
.jpmap__dot--hq,
.jpmap__name--hq {
  transition-delay: 1.2s;
}

/* ---------- 安全への取り組み ---------- */
.safety {
  padding: 120px 0;
  background: var(--ice);
}
.safety__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.safety__media {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}
.safety__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.safety__catch {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  /* 「FOR FAMILY　ご家族の皆様へ」が折り返すときは全角スペースの位置で折り、末尾「へ」だけが落ちないようにする */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.safety__note {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 1.4em;
}
.safety__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 2em;
}
.safety__list li {
  padding: 0.7em 0;
  border-bottom: 1px solid rgba(16, 48, 192, 0.2);
  font-size: 17px;
  font-weight: 500;
}
.safety__list span {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.safety__list strong {
  display: block;
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- 求人情報 ---------- */
.recruit {
  position: relative;
  padding: 120px 0;
  overflow-x: clip;
  background: var(--tint);
}
.recruit__grid,
.recruit__loop {
  position: relative;
  z-index: 1;
}
.recruit__bands {
  position: absolute;
  top: 104px;
  right: 0;
  left: 0;
  z-index: 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
  pointer-events: none;
}
.recruit__bands .loop--reverse {
  transform: translateY(-20%);
}
.recruit__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
/* 実写554pxのため表示幅は600pxまで。白縁を隠すためわずかに拡大して切り抜く */
.recruit__photo {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 554 / 400;
  overflow: hidden;
  background: var(--ice);
}
.recruit__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.recruit__catch {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 1.2em;
}
.recruit__facts {
  margin-bottom: 2em;
}
.recruit__loop {
  margin-top: 80px;
}

/* ---------- お知らせ（WordPress化後に投稿。3件は仮データ） ---------- */
.news {
  position: relative;
  padding: 120px 0;
  background: var(--tint);
  border-top: 1px solid var(--line);
}
.news__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: start;
}
.news__head .section-heading {
  margin-bottom: 1.2em;
}
.news-list {
  border-top: 1px solid var(--line);
}
.news-item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 0.6em 1.4em;
  align-items: center;
  padding: 1.1em 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.news-item__date {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.news-item__cat {
  display: inline-block;
  min-width: 6em;
  padding: 0.1em 0.9em;
  border: 1px solid var(--key);
  border-radius: 100px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--key);
  background: #fff;
}
.news-item__title {
  line-height: 1.7;
}
@media (max-width: 900px) {
  .news__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .news-item {
    grid-template-columns: auto auto;
    gap: 0.4em 1em;
  }
  .news-item__title {
    grid-column: 1 / -1;
  }
}

/* ---------- 会社概要 ---------- */
.company {
  padding: 120px 0;
}
.company__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
}
.company__concept {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
}
.company__table {
  border-top: 1px solid var(--line);
}
.company__table > div {
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 1.5em;
  padding: 1em 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.company__table dt {
  color: var(--muted);
}

/* ---------- お問い合わせ ---------- */
.contact {
  padding: 100px 0;
  background: var(--tint);
  border-top: 1px solid var(--line);
}
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.contact__tel {
  display: inline-block;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--key);
}
.contact__meta {
  margin: 0.6em 0 1.6em;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(160px, 0.8fr) minmax(180px, 0.8fr) minmax(150px, 0.55fr);
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 48px;
}
.site-logo--footer {
  margin-bottom: 1.4em;
}
.site-footer__brand address {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}
.footer-title {
  margin-bottom: 1em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--text);
}
.site-footer__nav ul,
.site-footer__group ul {
  display: grid;
  gap: 0.55em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer__nav a,
.site-footer__group a {
  transition: color 0.5s ease-out;
}
.site-footer__nav a:hover,
.site-footer__group a:hover {
  color: var(--key);
}
.cert-placeholder {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.cert-logo {
  width: min(120px, 100%);
  height: auto;
}
.cert-caption {
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
}
.site-footer__copy {
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
/* ヘッダーナビ: 1131〜1300px は項目内で折り返さず1行に収める（2026-09-18） */
@media (min-width: 1131px) and (max-width: 1300px) {
  .site-header__inner {
    padding-inline: 24px;
  }
  .g-nav ul {
    gap: clamp(0.7em, 0.9vw, 1em);
  }
  .g-nav a {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .header-tel {
    margin-left: 1em;
    font-size: 18px;
  }
  .header-tel__label {
    font-size: 13px;
  }
}

@media (max-width: 1130px) {
  :root {
    --header-h: 64px;
  }
  .site-header__inner {
    padding-inline: 20px;
  }
  .site-logo img {
    width: 58px;
  }
  .g-nav,
  .header-tel {
    display: none;
  }
  .menu-trigger {
    position: relative;
    display: block;
    width: 24px;
    height: 20px;
    margin-left: auto;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, top 0.4s ease-out;
  }
  .menu-trigger span:nth-child(1) { top: 2px; }
  .menu-trigger span:nth-child(2) { top: 10px; }
  .menu-trigger span:nth-child(3) { top: 18px; }
  .menu-trigger[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); }
  .menu-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-trigger[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
  .sp-nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 999;
    padding: 40px 28px;
    background: #fff;
    overflow-y: auto;
  }
  .sp-nav[hidden] {
    display: none;
  }
  .sp-nav li a {
    display: block;
    padding: 0.9em 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 500;
  }
  .sp-nav__tel {
    margin-top: 2em;
    font-size: 18px;
    font-weight: 700;
    color: var(--key);
    line-height: 1.6;
  }
  .sp-nav__tel small {
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
  }
  body.nav-open {
    overflow: hidden;
  }
  .hero .tmp-tag {
    left: 20px;
  }
  .hero__sub,
  .hero__ghost {
    left: 20px;
  }
}

@media (max-width: 900px) {
  .message__grid,
  .network__grid,
  .safety__grid,
  .recruit__grid,
  .company__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    margin-bottom: 72px;
  }
  .feature--reverse .feature__media {
    order: 0;
  }
  .feature__text {
    padding: 32px 24px 0;
  }
  .network__grid {
    gap: 40px;
  }
  .route-map {
    padding: 18px;
  }
  .safety__media {
    aspect-ratio: 3 / 2;
  }
  .safety__media,
  .recruit__photo {
    margin-inline: auto;
  }
}

@media (max-width: 765px) {
  body {
    font-size: 17px;
    line-height: 1.85;
  }
  .container {
    width: min(100% - 40px, 1200px);
  }
  .hero {
    min-height: 100svh;
    max-height: none;
    height: 100svh;
  }
  .hero__slide .hero__img {
    object-position: 50% center;
  }
  .hero__ghost {
    bottom: auto;
    top: calc(var(--header-h) + 36px);
    /* ブランド名が画面幅（左右24px の余白込み）に収まる大きさ。15vw だと右端が切れる */
    font-size: 11vw;
  }
  .hero__catch {
    top: auto;
    right: auto;
    left: 20px;
    bottom: 200px;
    transform: none;
    max-height: none;
    padding: 0.3em 0.5em 0.3em 0;
    background: linear-gradient(90deg, rgba(10, 30, 80, 0.3) 0%, rgba(10, 30, 80, 0) 100%);
  }
  .hero__vert {
    writing-mode: horizontal-tb;
    font-size: clamp(27px, 7.6vw, 34px);
    letter-spacing: 0.12em;
    line-height: 1.5;
  }
  .hero__catch-break {
    display: block;
  }
  .hero__sub {
    bottom: 32px;
  }
  .hero__progress {
    left: 20px;
    right: 20px;
    bottom: 168px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: auto;
  }
  .hero__en {
    font-size: 15px;
    letter-spacing: 0.2em;
  }
  .hero__subtxt {
    font-size: 16px;
  }
  .hero__brand {
    font-size: 15px;
  }
  .section-heading__en {
    font-size: 52px;
  }
  .message {
    padding: 80px 0 72px;
  }
  .service,
  .network,
  .safety,
  .recruit,
  .company {
    padding-top: 80px;
  }
  .safety,
  .company {
    padding-bottom: 80px;
  }
  .service .section-head {
    margin-bottom: 56px;
  }
  .service__bands {
    top: 66px;
  }
  .recruit__bands {
    top: 40px;
  }
  .network {
    padding-bottom: 80px;
  }
  .network__head {
    margin-bottom: 28px;
  }
  .network-copy__lead {
    font-size: 24px;
  }
  .network-links a {
    align-items: flex-start;
    min-height: 78px;
    padding: 0.8em 0;
  }
  .network-links span {
    display: grid;
    gap: 0.15em;
  }
  .network-links em {
    padding-top: 0.28em;
    font-size: 15px;
  }
  .recruit {
    padding: 72px 0;
  }
  .recruit__loop {
    margin-top: 48px;
  }
  .safety__list {
    grid-template-columns: 1fr;
  }
  .company__table > div {
    grid-template-columns: 1fr;
    gap: 0.2em;
  }
  .company__table dt {
    font-size: 15px;
  }
  .contact {
    padding: 72px 0;
  }
  .btn {
    min-width: 0;
    width: 100%;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__img,
  .hero__mist,
  .hero__progress-bar span {
    animation: none;
    transition: none;
  }

  html.js .hero__slide.is-initial .hero__img {
    transform: scale(1);
  }

  .hero__progress-bar.is-active span {
    transform: scaleX(1);
  }
  html.js .network__map .jpmap__land,
  html.js .network__map .jpmap__route,
  html.js .network__map .jpmap__halo,
  html.js .network__map .jpmap__dot,
  html.js .network__map .jpmap__name {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }
  html.js .network__map .jpmap__route {
    stroke-dashoffset: 0;
  }
}

/* ヒーロー画像（v6, 2026-09-18確定）: 文字・ロゴを合成済みの完成バナー画像をそのまま表示するため、
   キャプションのオーバーレイ位置調整は不要。画像はヘッダー下から開始する。 */
.hero .hero__slides {
  top: var(--header-h);
}
.hero .hero__slide .hero__img,
.hero .hero__slide:nth-child(n) .hero__img {
  object-position: center;
}

/* ヒーロー（PC・横向き画面, 2026-09-24）: 表示枠を画面高さ(100svh)に固定すると、横長画面では
   枠が画像(1672×941)より横長になり、cover で画像の上下（合成済みのロゴ・文字・トラック）が切れる。
   枠の高さを画像の縦横比に合わせて全体を表示する（1画面に収まらない場合は下にはみ出してよい方針）。
   padding の % は幅基準なので、スクロールバー幅を除いた実際の横幅に対して正確な比率になる。 */
@media (min-width: 766px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 0;
    padding-top: calc(var(--header-h) + 941 / 1672 * 100%);
  }
}

/* 採用写真（2026-09-24）: クライアント支給のロゴ・キャッチ入り画像(1112×890 = 5:4)用の枠。
   他の写真は 3:2（TOP は 554:400）だが、この画像は 3:2 に切るとロゴ／キャッチ／顔のどれかが欠けるため、
   5:4 で全体をほぼ見せる。旧写真は白縁を隠すため scale(1.04) で拡大していたが、この画像は
   上端のロゴに余白が少ないので拡大しない。 */
.recruit__photo--tall {
  aspect-ratio: 5 / 4;
}
.recruit__photo--tall img {
  transform: none;
}
.feature__media--tall {
  aspect-ratio: 5 / 4;
}
