/* OCS リニューアル静的トップ — 白ベース / IT / アニメーション */
:root {
  --bg-deep: #ffffff;
  --bg-panel: #f4f6fb;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-glow: rgba(37, 99, 235, 0.28);
  --border: rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), opacity 0.25s;
}

a:hover {
  color: #1d4ed8;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ----- 背景オーブ ----- */
.orb-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: orb-float 18s ease-in-out infinite;
}

.orb--1 {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.orb--2 {
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
  animation-delay: -6s;
}

.orb--3 {
  width: min(35vw, 280px);
  height: min(35vw, 280px);
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  top: 45%;
  left: 40%;
  opacity: 0.14;
  animation-delay: -12s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(3%, 4%) scale(1.05);
  }
  66% {
    transform: translate(-4%, 2%) scale(0.95);
  }
}

/* ----- グリッドオーバーレイ ----- */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
  animation: grid-pulse 12s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ----- ヘッダー ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.65rem 1rem;
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
  padding-right: clamp(0.75rem, 3vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  /* transform は .is-hidden のときだけ付与。常時 translateY(0) だと子の position:fixed の基準がずれる。
     さらに backdrop-filter も fixed 子の包含ブロックになるため、ハンバーガー幅では @media 内でオフにする。 */
  transition: transform 0.4s var(--ease-out), background 0.3s;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  position: relative;
  z-index: 102;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

@media (max-width: 1100px) {
  .brand__text {
    display: none;
  }
}

.nav-toggle {
  position: relative;
  z-index: 102;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(15, 23, 42, 0.1);
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}

.site-header.nav-open .nav-toggle__icon {
  height: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.nav-open .nav-toggle__icon::before,
.site-header.nav-open .nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.15rem;
  height: 2px;
  margin-left: -0.575rem;
  margin-top: -1px;
  background: currentColor;
  border-radius: 1px;
}

.site-header.nav-open .nav-toggle__icon::before {
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle__icon::after {
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links > li > a:not(.nav-cta) {
  padding: 0.2rem 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0;
  border: none;
  margin: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.nav-dropdown__btn:hover,
.nav-dropdown__btn[aria-expanded="true"] {
  color: var(--text);
}

.nav-dropdown__btn::after {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
}

.nav-dropdown__btn[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.nav-dropdown__panel {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  /* ボタン〜パネル間の隙間を透明な当たり判定で橋渡しし、
     カーソル移動中に :hover が途切れてパネルが閉じるのを防ぐ */
  .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.35rem;
  }

  .nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 11.5rem;
    padding: 0.4rem 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s var(--ease-out),
      visibility 0.2s,
      transform 0.2s var(--ease-out);
  }

  .nav-dropdown:focus-within .nav-dropdown__panel,
  .nav-dropdown:hover .nav-dropdown__panel,
  .nav-dropdown__btn[aria-expanded="true"] + .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown__panel a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
  }

  .nav-dropdown__panel a:hover {
    background: rgba(37, 99, 235, 0.06);
  }
}

.nav-cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  font-weight: 600;
  font-size: 0.8125rem;
  box-shadow: 0 0 24px var(--accent-glow);
  animation: cta-pulse 3s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 28px rgba(124, 58, 237, 0.25);
  }
}

@media (max-width: 768px) {
  /* 親ヘッダーの backdrop-filter があると .site-nav の position:fixed がビューポートではなく
     ヘッダー行に張り付き、オーバーレイが1行分の高さにしかならない（Chrome / Safari 等）。 */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.94);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 101;
    flex: none;
    align-items: flex-start;
    justify-content: stretch;
    padding: 4.5rem 1.25rem 2rem;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s var(--ease-out),
      visibility 0.25s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links > li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links > li > a:not(.nav-cta) {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.9375rem;
  }

  .nav-dropdown__btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-size: 0.9375rem;
  }

  .nav-dropdown__panel {
    padding: 0 0 0.65rem 0.75rem;
  }

  .nav-dropdown__panel a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    display: block;
  }

  .nav-dropdown:not(.is-open) .nav-dropdown__panel {
    display: none;
  }

  .nav-links .nav-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* ----- メインラッパ ----- */
main {
  position: relative;
  z-index: 1;
}

/* ----- ヒーロー ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.02);
  animation: video-kenburns 24s ease-in-out infinite alternate;
}

@keyframes video-kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.82) 48%, var(--bg-deep) 100%),
    linear-gradient(120deg, rgba(37, 99, 235, 0.09) 0%, transparent 42%, rgba(124, 58, 237, 0.07) 100%);
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(15, 23, 42, 0.025) 2px,
    rgba(15, 23, 42, 0.025) 4px
  );
  pointer-events: none;
  opacity: 0.55;
  animation: scan-drift 8s linear infinite;
}

@keyframes scan-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 64px;
  }
}

.hero__content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero__logo {
  height: clamp(48px, 10vw, 72px);
  width: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(37, 99, 235, 0.18));
  animation: fade-up 0.9s var(--ease-out) 0.15s both, logo-float 6s ease-in-out infinite 1s;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  animation: fade-up 0.9s var(--ease-out) 0.25s both;
}

.hero__title-gradient {
  background: linear-gradient(120deg, #0f172a 0%, var(--accent) 42%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36em;
  margin: 0 auto 2rem;
  animation: fade-up 0.9s var(--ease-out) 0.35s both;
}

/* 2列とも「広い方の本文幅」に揃う（1fr 1fr + コンテナを内容で収める） */
.hero__actions {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  animation: fade-up 0.9s var(--ease-out) 0.45s both;
  vertical-align: top;
}

.hero__actions .btn {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: min(20rem, 100%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn--ghost:hover {
  background: #f8fafc;
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.25);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fade-up 1s var(--ease-out) 0.8s both;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ----- セクション共通 ----- */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}

.section--alt {
  background: var(--bg-panel);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section__eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section__lead {
  color: var(--text-muted);
  max-width: 42em;
  margin: 0 0 2.5rem;
}

/* スクロール表示 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ----- About ----- */
.about__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.stat-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transform: translateY(-4px);
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ----- サービスカード ----- */
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.card__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.06);
  line-height: 1;
  pointer-events: none;
}

.card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #eef2ff, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.card__media img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.08) rotate(-2deg);
}

.card__body {
  padding: 1.5rem;
}

.card__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.card__body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card__link {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__link::after {
  content: "→";
  transition: transform 0.25s var(--ease-out);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* ----- 採用（カード） ----- */
.recruit-card {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-elevated);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 48px -24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.recruit-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 5px 0 0 5px;
}

.recruit-card__content {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.5rem)
    clamp(1.5rem, 4vw, 2.75rem);
  padding-left: calc(5px + clamp(1.25rem, 3vw, 1.85rem));
}

.recruit-card__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.recruit-card__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}

.recruit-card__lead {
  margin: 0;
  max-width: 40em;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.recruit-card__actions {
  margin-top: 1.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.recruit-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.recruit-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.recruit-card__cta-icon {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.recruit-card__cta:hover .recruit-card__cta-icon {
  transform: translateX(4px);
}

.recruit-card__portals {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.recruit-card__portals-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.recruit-card__portals-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.recruit-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.5rem 1.15rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition:
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.recruit-portal:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

.recruit-portal img {
  display: block;
  max-height: 36px;
  width: auto;
  max-width: min(132px, 28vw);
  object-fit: contain;
}

@media (max-width: 640px) {
  .recruit-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .recruit-card__cta {
    width: 100%;
    justify-content: center;
  }

  .recruit-card__portals {
    width: 100%;
  }

  .recruit-card__portals-row {
    justify-content: flex-start;
  }

  .recruit-portal {
    flex: 1 1 auto;
    min-width: min(160px, 100%);
  }
}

/* ----- ニュース ----- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.news-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out);
}

@media (min-width: 640px) {
  .news-item {
    grid-template-columns: 120px 100px 1fr;
    align-items: baseline;
  }
}

.news-item:hover {
  transform: translateX(0.5rem);
}

.news-item a {
  color: var(--text);
  font-weight: 500;
}

.news-item a:hover {
  color: var(--accent);
}

.news-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag--recruit {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.tag--news {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

/* ----- CTA ----- */
.cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(15, 23, 42, 0.05);
}

.cta-block p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.cta-block .section__title {
  margin-bottom: 0.5rem;
}

.news-more {
  margin-top: 2rem;
}

/* ----- フッター ----- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 3.25rem) clamp(1rem, 4vw, 1.5rem);
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 720px) {
  .footer__inner {
    grid-template-columns: minmax(11rem, 14rem) 1fr;
    gap: 2rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: minmax(12rem, 15rem) 1fr;
    gap: 2.25rem 3rem;
  }
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer__logo img {
  display: block;
  height: 32px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.footer__logo:hover img {
  opacity: 1;
}

.footer__brand address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.75;
  max-width: 17rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.5rem;
}

@media (min-width: 520px) {
  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

@media (min-width: 900px) {
  .footer__nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
  }
}

.footer__col {
  min-width: 0;
}

.footer__nav h4 {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__subhead {
  margin: 1.1rem 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav li {
  margin-bottom: 0.4rem;
}

.footer__nav li:last-child {
  margin-bottom: 0;
}

.footer__nav a {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-decoration: none;
  max-width: 100%;
}

.footer__nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.footer__lower {
  max-width: 1120px;
  margin: clamp(1.75rem, 4vw, 2.25rem) auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__copy {
  line-height: 1.5;
  flex: 1 1 12rem;
}

.footer__lower img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

/* ----- アクセス（Google マップ埋め込み） ----- */
.access-map-wrap {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.access-map__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.access-map__frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
  aspect-ratio: 16 / 10;
  max-height: min(420px, 70vh);
}

.access-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-map__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.access-map__note a {
  color: var(--accent);
  font-weight: 500;
}

.access-map__note a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ----- お問い合わせフォーム（Microsoft Forms 埋め込み） ----- */
/* TODO: aspect-ratio と max-height は実際の Forms URL 確定後に質問数に合わせて微調整 */
.contact-form__frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
  aspect-ratio: 4 / 5;
  max-height: min(800px, 85vh);
}

.contact-form__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----- サブページ（会社概要など） ----- */
.sub-main {
  position: relative;
  z-index: 1;
  padding: 5.25rem 0 4rem;
}

.sub-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.65rem;
  color: rgba(100, 116, 139, 0.5);
  pointer-events: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.sub-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sub-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.sub-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.sub-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sub-hero__meta time {
  white-space: nowrap;
}

.error-hero {
  max-width: 560px;
  margin: 4rem auto;
  padding: 0 0 2rem;
  text-align: center;
}

.error-hero__code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.error-hero__text {
  margin: 0 0 2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.sub-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .sub-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 2.5rem;
  }
}

.sub-article {
  background: var(--bg-elevated);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sub-article__figure {
  margin: 0 0 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--bg-panel);
}

.sub-article__figure img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.spec-list {
  margin: 0;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 9.5rem) minmax(0, 1fr);
  gap: 0.65rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.spec-row:first-of-type {
  padding-top: 0;
}

.spec-row dt {
  margin: 0;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.spec-row dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
}

.spec-row dd > p {
  margin: 0 0 0.5rem;
}

.spec-row dd > p:last-child {
  margin-bottom: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.spec-table th,
.spec-table td {
  padding: 0.4rem 0.65rem 0.4rem 0;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.spec-table th {
  width: 9.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table a {
  word-break: break-word;
}

.spec-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-links li {
  padding: 0.35rem 0;
}

.spec-links li + li {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.spec-bank-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.spec-bank-row:last-child {
  border-bottom: none;
}

.sub-aside-card {
  position: sticky;
  top: 5.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.06) 0%, #fff 38%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.sub-aside-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.sub-aside-card__media {
  display: block;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.sub-aside-card__media:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.sub-aside-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56px;
  margin: 0 auto;
  object-fit: contain;
}

.sub-aside-card .btn {
  width: 100%;
  justify-content: center;
}

.sub-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .spec-table th {
    width: auto;
    display: block;
    padding-bottom: 0;
    border-bottom: none;
  }

  .spec-table td {
    display: block;
    padding-top: 0.15rem;
    padding-bottom: 0.65rem;
  }

  .spec-bank-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .sub-aside-card {
    position: static;
  }
}

/* ----- 沿革タイムライン ----- */
.history-timeline {
  position: relative;
  margin: 0;
  padding: 0.5rem 0 0.25rem;
  list-style: none;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 1.75rem;
  bottom: 1.75rem;
  width: 3px;
  margin-left: -1px;
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.55) 0%,
    rgba(99, 102, 241, 0.42) 38%,
    rgba(124, 58, 237, 0.45) 72%,
    rgba(124, 58, 237, 0.2) 100%
  );
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.history-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 0.35rem;
  align-items: start;
  margin-bottom: 1.05rem;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-item__node {
  display: block;
  width: 20px;
  height: 20px;
  margin: 1.2rem auto 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #60a5fa 0%, var(--accent) 40%, var(--accent-2) 100%);
  border: 3px solid var(--bg-elevated);
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.14),
    0 3px 10px rgba(37, 99, 235, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.history-item:first-child .history-item__node {
  margin-top: 0.85rem;
}

.history-item__card {
  padding: 1.05rem 1.3rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, #f8fafc 72%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px -12px rgba(15, 23, 42, 0.1);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.history-item__card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow:
    0 4px 20px -6px rgba(37, 99, 235, 0.18),
    0 16px 40px -20px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.history-item__date {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.75rem 0.32rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  background: linear-gradient(115deg, var(--accent) 0%, #4f46e5 55%, var(--accent-2) 100%);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.history-item__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text);
}

.history-item__text + .history-item__text {
  margin-top: 0.4rem;
}

.history-lead {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.history-lead a {
  font-weight: 500;
}

.sub-back--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ----- ページトップ ----- */
.to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb,
  .grid-overlay,
  .hero__video,
  .hero__scanlines,
  .hero__scroll-line,
  .nav-cta,
  .hero__logo {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .stat-card:hover,
  .recruit-portal:hover,
  .recruit-card__cta:hover,
  .history-item__card:hover {
    transform: none;
  }
}

/* ----- 法務・ポリシー本文 ----- */
.content-prose {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--text);
}

.content-prose > *:first-child {
  margin-top: 0;
}

.content-prose p {
  margin: 0 0 1rem;
}

.content-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.content-prose h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.content-prose ul,
.content-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.content-prose li {
  margin-bottom: 0.35rem;
}

.content-prose .lead {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.content-prose .sign-off {
  margin-top: 2rem;
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
}

.data-table th,
.data-table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  width: 12rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.03);
  color: var(--text-muted);
}

.data-table thead th {
  background: rgba(37, 99, 235, 0.06);
  color: var(--text);
}

@media (max-width: 768px) {
  /* thead なし・各行が th(scope=row)+td の「定義リスト」型: スマホでは1行1カードで縦積み */
  .data-table:not(:has(thead)) {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 1.25rem;
  }

  .data-table:not(:has(thead)) tbody {
    display: block;
  }

  .data-table:not(:has(thead)) tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  }

  .data-table:not(:has(thead)) tr:last-child {
    margin-bottom: 0;
  }

  .data-table:not(:has(thead)) th,
  .data-table:not(:has(thead)) td {
    display: block;
    width: 100%;
    border: none;
    text-align: left;
    vertical-align: top;
  }

  .data-table:not(:has(thead)) th {
    padding: 0.55rem 0.85rem 0.35rem;
    background: rgba(15, 23, 42, 0.045);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .data-table:not(:has(thead)) td {
    padding: 0.65rem 0.85rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.75;
  }

  .data-table:not(:has(thead)) td ul,
  .data-table:not(:has(thead)) td ol {
    margin: 0;
    padding-left: 1.2rem;
  }

  .data-table:not(:has(thead)) td li:last-child {
    margin-bottom: 0;
  }

  /* thead 付きの複数列テーブル: table の display は維持し、本文エリアで横スクロール */
  .sub-article .content-prose:has(.data-table:has(thead)) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table:has(thead) {
    width: max-content;
    min-width: 100%;
    max-width: none;
  }

  .data-table:has(thead) th,
  .data-table:has(thead) td {
    min-width: 9rem;
  }

  .data-table:has(thead) thead th {
    white-space: nowrap;
  }
}

.sitemap-sections {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .sitemap-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sitemap-block h2 {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.sitemap-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-block li {
  margin-bottom: 0.45rem;
}

.sitemap-block a {
  color: var(--accent);
  font-size: 0.9375rem;
}

.sitemap-block a:hover {
  text-decoration: underline;
}

/* ----- 製品ページ（画面キャプチャ） ----- */
.product-figures {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
  .product-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-figures figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--bg-panel);
}

.product-figures img {
  display: block;
  width: 100%;
  height: auto;
}

.product-figures figcaption {
  padding: 0.5rem 0.75rem 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ----- トップ：ニュース・採用補助 ----- */
.news-more--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.recruit-card__cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.recruit-card__sub {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.recruit-card__sub:hover {
  color: #1d4ed8;
}

/* ----- アーカイブ一覧・WP取り込み本文 ----- */
.archive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.archive-table th,
.archive-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.archive-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(37, 99, 235, 0.04);
}

.archive-table td:first-child {
  white-space: nowrap;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.archive-table a {
  color: var(--accent);
  font-weight: 500;
}

.archive-table a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .archive-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* お知らせ・プレスリリース一覧（IT風カードボード） */
.archive-list-section {
  position: relative;
  margin-top: 0.25rem;
}

.archive-list-section::before {
  content: "";
  position: absolute;
  inset: -12% -6% auto -6%;
  height: min(320px, 55vw);
  z-index: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(6, 182, 212, 0.09), transparent 62%),
    radial-gradient(ellipse 55% 50% at 85% 20%, rgba(37, 99, 235, 0.06), transparent 55%);
  pointer-events: none;
}

.archive-list-board {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 1px solid rgba(6, 182, 212, 0.22);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(240, 253, 255, 0.55) 38%,
    rgba(248, 250, 252, 0.98) 100%
  );
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 32px 64px -40px rgba(8, 145, 178, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.archive-list-board::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #6366f1);
  opacity: 0.92;
  pointer-events: none;
}

.sub-article.reveal.is-visible .archive-list-board {
  animation: archive-board-pop 0.75s var(--ease-out) both;
}

@keyframes archive-board-pop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.archive-table--premium {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.archive-table--premium thead th {
  padding: 1.05rem 1.35rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.07) 0%, rgba(37, 99, 235, 0.04) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.archive-table--premium thead th:first-child {
  width: 9.5rem;
}

.archive-table--premium tbody td {
  padding: 1.05rem 1.35rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.archive-table--premium tbody tr:last-child td {
  border-bottom: none;
}

.archive-table--premium tbody tr {
  box-shadow: inset 0 0 0 0 #06b6d4;
  transition:
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.archive-table--premium tbody tr:hover {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.08) 0%, rgba(37, 99, 235, 0.04) 45%, transparent 88%);
  box-shadow: inset 3px 0 0 #06b6d4;
}

.archive-table--premium tbody tr:hover td {
  transform: translateX(1px);
}

.archive-table--premium td:first-child time {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #0e7490;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.14), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 1px 3px rgba(6, 182, 212, 0.12);
  white-space: nowrap;
}

.archive-table--premium td:last-child a {
  font-weight: 600;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-table--premium td:last-child a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.archive-table--premium tbody tr:hover td:last-child a {
  color: #0369a1;
}

@media (max-width: 640px) {
  .archive-list-board {
    border-radius: 16px;
  }

  .archive-table--premium thead th:first-child {
    width: auto;
  }

  .archive-table--premium {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .archive-table--premium thead,
  .archive-table--premium tbody,
  .archive-table--premium tr,
  .archive-table--premium th,
  .archive-table--premium td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .archive-table--premium thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .archive-table--premium tbody tr {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .archive-table--premium tbody tr:last-child {
    border-bottom: none;
  }

  .archive-table--premium tbody td {
    padding: 0.35rem 0;
    border: none;
  }

  .archive-table--premium tbody tr:hover td {
    transform: none;
  }

  .archive-table--premium tbody td:first-child {
    margin-bottom: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub-article.reveal.is-visible .archive-list-board {
    animation: none;
  }

  .archive-table--premium tbody td,
  .archive-table--premium tbody tr {
    transition: none;
  }
}

/* 採用LP・採用ニュース一覧（カード風ボード） */
.lp-section--recruit-news {
  position: relative;
  padding-top: clamp(2.75rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 3.5rem);
}

.lp-section--recruit-news::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(99, 102, 241, 0.06), transparent 60%);
  pointer-events: none;
}

.lp-section--recruit-news .lp-section__inner {
  position: relative;
  z-index: 1;
}

.recruit-news-board {
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 255, 0.94) 48%, rgba(250, 251, 255, 0.98) 100%);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 28px 56px -36px rgba(67, 56, 202, 0.22);
  overflow: hidden;
}

.archive-table--recruit {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.archive-table--recruit thead th {
  padding: 1rem 1.35rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  background: radial-gradient(120% 100% at 0% 0%, rgba(37, 99, 235, 0.06) 0%, rgba(99, 102, 241, 0.03) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.archive-table--recruit thead th:first-child {
  width: 9.5rem;
}

.archive-table--recruit tbody td {
  padding: 1.1rem 1.35rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background-color 0.2s ease;
}

.archive-table--recruit tbody tr:last-child td {
  border-bottom: none;
}

.archive-table--recruit tbody tr {
  box-shadow: inset 0 0 0 0 #2563eb;
  transition:
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.archive-table--recruit tbody tr:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.055) 0%, rgba(37, 99, 235, 0.02) 42%, transparent 85%);
  box-shadow: inset 3px 0 0 #2563eb;
}

.archive-table--recruit td:first-child time {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #1d4ed8;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06);
  white-space: nowrap;
}

.archive-table--recruit td:last-child a {
  font-weight: 600;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-table--recruit td:last-child a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.archive-table--recruit tbody tr:hover td:last-child a {
  color: #1d4ed8;
}

@media (max-width: 640px) {
  .archive-table--recruit thead th:first-child {
    width: auto;
  }

  .archive-table--recruit {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .archive-table--recruit thead,
  .archive-table--recruit tbody,
  .archive-table--recruit tr,
  .archive-table--recruit th,
  .archive-table--recruit td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .archive-table--recruit thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .archive-table--recruit tbody tr {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .archive-table--recruit tbody tr:last-child {
    border-bottom: none;
  }

  .archive-table--recruit tbody td {
    padding: 0.35rem 0;
    border: none;
  }

  .archive-table--recruit tbody td:first-child {
    margin-bottom: 0.5rem;
  }
}

.wp-import {
  line-height: 1.75;
}

.wp-import img,
.wp-import video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.wp-import figure {
  margin: 1.25rem 0;
}

.wp-import table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* ----- ランディング（事業・採用・パッケージ） ----- */
.lp-main {
  padding: 5rem 0 4rem;
}

.lp-page--recruit {
  --recruit-ink: #0c1222;
  --recruit-glow: rgba(37, 99, 235, 0.45);
  background-color: #f5f7fc;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(99, 102, 241, 0.11), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(14, 165, 233, 0.07), transparent 45%),
    radial-gradient(ellipse 60% 40% at 0% 60%, rgba(37, 99, 235, 0.06), transparent 40%);
}

/* 採用LP: メイン上余白なしでヒーローを直下に。オーブ等は視線を奪うためオフ */
.lp-page--recruit .lp-main {
  padding-top: 0;
}

.lp-page--recruit .orb-layer,
.lp-page--recruit .grid-overlay {
  display: none;
}

.lp-hero {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 2.5rem;
  text-align: center;
}

.lp-hero--recruit {
  padding-bottom: 0;
}

/* 採用LPヒーロー: トップのメインビジュアル同様、写真全面 + スクリム上にコピー（ファーストビューの主役） */
.lp-page--recruit .lp-hero--impact.lp-hero--bg {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0 clamp(0.65rem, 2vw, 1.15rem);
  min-height: clamp(480px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
  border-radius: 0 0 clamp(18px, 3.5vw, 26px) clamp(18px, 3.5vw, 26px);
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 36px 72px -48px rgba(15, 23, 42, 0.55);
}

.lp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.06);
}

@media (prefers-reduced-motion: no-preference) {
  .lp-hero__bg-img {
    animation: recruit-hero-ken 26s ease-in-out infinite alternate;
  }
}

/* 狭い画面では高解像ソース負荷を抑え、Ken Burns もオフ */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .lp-hero__bg-img {
    animation: none;
    transform: scale(1.08);
  }
}

@keyframes recruit-hero-ken {
  from {
    transform: scale(1.06) translate(0, 0);
  }

  to {
    transform: scale(1.12) translate(-1.2%, -0.8%);
  }
}

.lp-hero__bg-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.52) 0%, rgba(15, 23, 42, 0.15) 42%, rgba(2, 6, 23, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, transparent 45%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

.lp-hero--bg .lp-hero__shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(4.25rem, 11vh, 6rem) 1.25rem clamp(2rem, 4.5vw, 3.25rem);
}

.lp-hero--bg .lp-hero__copy {
  text-align: center;
  position: relative;
  z-index: 2;
}

.lp-hero--bg .lp-hero__headline {
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 6px 32px rgba(0, 0, 0, 0.45);
}

.lp-hero--bg .lp-hero__headline-line {
  display: block;
}

.lp-hero--bg .lp-hero__headline-line:first-of-type {
  font-weight: 600;
  font-size: 0.9em;
  letter-spacing: 0.03em;
  color: rgba(226, 232, 240, 0.95);
}

.lp-hero--bg .lp-hero__headline-line:last-of-type {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0.02em;
}

.lp-hero--bg .lp-hero__copy .lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.95rem;
  margin: 0 auto 1.05rem;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.96);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-hero--bg .lp-hero__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.75;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.lp-hero--bg .lp-hero__actions {
  justify-content: center;
}

.lp-hero--bg .btn--ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.lp-hero--bg .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__bg-img {
    animation: none !important;
    transform: none !important;
  }
}

.lp-hero--impact:not(.lp-hero--bg) {
  max-width: min(1180px, 100%);
  margin: 0 auto 0.35rem;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.lp-quick-nav {
  padding: 0 1.25rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.lp-quick-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
  .lp-quick-nav__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-quick-nav__card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  min-height: 5.5rem;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--bg-panel);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s var(--ease-out, ease),
    border-color 0.2s,
    box-shadow 0.2s;
}

.lp-quick-nav__card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 14px 28px -18px rgba(37, 99, 235, 0.35);
}

.lp-page--recruit .lp-quick-nav__card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(99, 102, 241, 0.14);
}

.lp-page--recruit .lp-quick-nav__card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow:
    0 18px 36px -22px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.lp-quick-nav__label-en {
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-quick-nav__label-ja {
  font-size: 0.95rem;
  font-weight: 700;
}

.lp-message {
  margin: 0.5rem 0 0;
  padding: clamp(2.75rem, 6vw, 4rem) 1.5rem;
  background: linear-gradient(155deg, #0b1220 0%, #1e293b 42%, #0f172a 100%);
  color: rgba(248, 250, 252, 0.92);
  position: relative;
  overflow: hidden;
}

.lp-message::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -30%;
  height: 70%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), transparent 68%);
  pointer-events: none;
  animation: recruit-message-glow 12s ease-in-out infinite alternate;
}

@keyframes recruit-message-glow {
  0% {
    opacity: 0.85;
    transform: translate(0, 0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(6%, -4%) scale(1.08);
  }
}

.lp-page--recruit .lp-message::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .lp-message::before {
    animation: none;
  }
}

.lp-message__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.lp-message__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.lp-page--recruit .lp-message__title {
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  background: linear-gradient(120deg, #f8fafc 0%, #e2e8f0 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 20px rgba(15, 23, 42, 0.35));
}

.lp-message__text {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(226, 232, 240, 0.88);
}

.lp-message__text:last-of-type {
  margin-bottom: 1.5rem;
}

.lp-message__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #93c5fd;
  text-decoration: none;
}

.lp-message__more:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lp-section__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-stat-band {
  padding: 2rem 1.5rem;
  margin: 0;
  background: linear-gradient(100deg, rgba(37, 99, 235, 0.09), rgba(129, 140, 248, 0.07), rgba(14, 165, 233, 0.06));
  border-block: 1px solid rgba(99, 102, 241, 0.14);
  box-shadow: 0 24px 48px -40px rgba(67, 56, 202, 0.25);
}

.lp-page--recruit .lp-stat-band__value {
  background: linear-gradient(115deg, #1e293b 0%, #334155 35%, #4f46e5 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(99, 102, 241, 0.2));
}

.lp-stat-band__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 680px) {
  .lp-stat-band__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-stat-band__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lp-stat-band__value {
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.lp-stat-band__unit {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-stat-band__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lp-page--recruit #why-ocs,
.lp-page--recruit #portals,
.lp-page--recruit #recruit-news {
  scroll-margin-top: 5.5rem;
}

.lp-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.lp-cta-band__eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 採用LP最終CTA: .lp-cta-band 既定（後段）の薄背景で上書きされないよう詳細度を上げる */
.lp-cta-band.lp-cta-band--recruit-final {
  margin-top: 2.5rem;
  padding: clamp(2.5rem, 5vw, 3.25rem) 1.5rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 52%, #0f172a 100%);
  border: 1px solid rgba(100, 116, 139, 0.45);
  box-shadow:
    0 28px 60px -36px rgba(15, 23, 42, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lp-cta-band.lp-cta-band--recruit-final .lp-cta-band__inner {
  max-width: 540px;
}

.lp-cta-band.lp-cta-band--recruit-final .lp-cta-band__inner h2,
.lp-cta-band.lp-cta-band--recruit-final h2 {
  color: #f1f5f9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.lp-cta-band.lp-cta-band--recruit-final .lp-cta-band__inner p,
.lp-cta-band.lp-cta-band--recruit-final p {
  color: #cbd5e1;
}

.lp-cta-band.lp-cta-band--recruit-final .lp-cta-band__eyebrow {
  color: #93c5fd;
}

.lp-cta-band.lp-cta-band--recruit-final .btn--primary {
  background: linear-gradient(120deg, #2563eb, #4f46e5);
  border: none;
  box-shadow: 0 10px 28px -12px rgba(37, 99, 235, 0.65);
}

.lp-cta-band.lp-cta-band--recruit-final .btn--ghost {
  border-color: rgba(248, 250, 252, 0.35);
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.2);
}

.lp-cta-band.lp-cta-band--recruit-final .btn--ghost:hover {
  background: rgba(248, 250, 252, 0.12);
  border-color: rgba(248, 250, 252, 0.5);
}

.lp-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lp-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lp-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.lp-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.lp-section {
  padding: 2.5rem 1.5rem;
}

.lp-section--alt {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent);
}

.lp-section__inner {
  max-width: 960px;
  margin: 0 auto;
}

.lp-section__title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.lp-section__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.lp-pill-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .lp-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-pill {
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--bg-panel);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.lp-pill__num {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.lp-pill p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.lp-card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .lp-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-card {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.lp-card__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.lp-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-card__text {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.lp-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.lp-card__link:hover {
  text-decoration: underline;
}

.lp-portal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.lp-cta-band {
  margin: 2rem 1.5rem 0;
  padding: 2.25rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.lp-cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lp-cta-band__inner h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.lp-cta-band__inner p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sub-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.sub-hero--lp-package .sub-hero__eyebrow {
  color: var(--accent);
}
