/* =========================================================
   HRネクサス株式会社 コーポレートサイト
   配色: ブルー（水色寄り）× ホワイト
   ========================================================= */

:root {
  --blue-900: #06324f;
  --blue-800: #0b4a73;
  --blue-700: #0a6fb0;
  --blue-600: #0a8fd6;   /* メインブルー */
  --blue-500: #2eaeec;
  --blue-400: #56c2f2;   /* 水色アクセント */
  --blue-200: #bfe6fa;
  --blue-100: #e3f3fd;
  --blue-050: #f2f9fe;
  --ink: #0d2b45;        /* 基本テキスト */
  --ink-sub: #4a6b85;    /* サブテキスト */
  --blue-300: #8fd0f5;
  --line: #dbe9f3;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #0a8fd6 0%, #2eaeec 55%, #56c2f2 100%);
  --grad-deep: linear-gradient(125deg, #06324f 0%, #0a6fb0 60%, #0a8fd6 100%);
  --shadow-sm: 0 4px 14px rgba(10, 111, 176, .08);
  --shadow-md: 0 14px 40px rgba(10, 111, 176, .14);
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); scrollbar-gutter: stable; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===================== レイアウト共通 ===================== */
.container { width: 90%; max-width: var(--maxw); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 132px) 0; }
.section--tint { background: var(--blue-050); }
.section--deep { background: var(--grad-deep); color: #fff; }

.section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.section--deep .section-head .eyebrow { color: var(--blue-200); }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
}
.section-head .lead {
  margin-top: 18px;
  color: var(--ink-sub);
  font-size: clamp(14px, 1.6vw, 16px);
}
.section--deep .section-head .lead { color: rgba(255,255,255,.85); }

/* アイコン（インラインSVG） */
.ic svg { width: 26px; height: 26px; display: block; }
.float-card .ic svg, .contact-aside .info-row .ic svg { width: 23px; height: 23px; }

.eyebrow-bar { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-bar::before { content: ""; width: 30px; height: 2px; background: var(--blue-400); }

/* ===================== ボタン ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  cursor: pointer;
  border: none;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(10,143,214,.34); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(10,143,214,.42); }
.btn--ghost { background: #fff; color: var(--blue-700); border: 1.5px solid var(--blue-200); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.16); }

/* ===================== ヘッダー ===================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header__inner { width: 90%; max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--white { display: none; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header__cta { margin-left: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__item { position: relative; }
.nav__link { font-size: 15px; font-weight: 600; padding: 8px 2px; display: inline-flex; align-items: center; gap: 6px; }
.nav__link .caret { font-size: 9px; opacity: .6; transition: transform .3s; }
.nav__item:hover .caret { transform: rotate(180deg); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue-500); transition: width .3s var(--ease);
}
.nav__link:hover::after { width: 100%; }

/* ドロップダウン */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 10px; min-width: 230px; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  border: 1px solid var(--line);
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; flex-direction: column; padding: 11px 16px; border-radius: 9px; transition: background .2s; }
.dropdown a:hover { background: var(--blue-050); }
.dropdown a strong { font-size: 14px; font-weight: 700; }
.dropdown a span { font-size: 11px; color: var(--ink-sub); }

/* ヘッダー：トップ最上部（ヒーロー上）では明色、スクロール後は白背景 */
.header--transparent { background: transparent; }
.header--transparent .nav__link { color: #fff; }
.header--transparent .nav__link::after { background: #fff; }
.header--transparent .brand__logo--color { display: none; }
.header--transparent .brand__logo--white { display: block; }
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(6,50,79,.07); }
.header.scrolled .nav__link { color: var(--ink); }
.header.scrolled .nav__link::after { background: var(--blue-500); }

.header__cta { display: inline-flex; }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.header--transparent .nav-toggle span { background: #fff; }
.header.scrolled .nav-toggle span { background: var(--ink); }

/* ===================== オープニングローダー（シネマティック） ===================== */
.loader { display: none; }
html.intro body { overflow: hidden; }
html.intro .loader {
  display: block; position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  background: transparent; will-change: transform;
}
/* 上下に開く幕パネル */
.loader__panel { position: absolute; left: 0; width: 100%; height: 50.4%;
  background: var(--grad-deep); z-index: 1; will-change: transform; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
/* 斜めに走る光のスイープ */
.loader__sweep { position: absolute; top: 0; left: -60%; width: 55%; height: 100%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.13), transparent);
  transform: skewX(-12deg); animation: loaderSweep 2s ease-in-out .35s; }
@keyframes loaderSweep { from { left: -60%; } to { left: 130%; } }
/* 中央コンテンツ */
.loader__inner { position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; text-align: center; color: #fff; }
.loader__logo { display: inline-flex; align-items: center; justify-content: center; }
.loader__logo-img {
  width: min(170px, 42vw); height: auto; display: block;
  opacity: 0; transform: translateY(24px) scale(.96);
  animation: loaderLogo 1.1s cubic-bezier(.2,.7,.2,1) .3s forwards;
}
@keyframes loaderLogo { to { opacity: 1; transform: none; } }

/* 退場：中央が消え、上下の幕が開いてトップが現れる */
.loader.done .loader__inner { opacity: 0; transform: scale(.97); transition: opacity .45s ease, transform .45s ease; }
.loader.done .loader__sweep { opacity: 0; }
.loader.done .loader__panel--top { transform: translateY(-101%); transition: transform .95s cubic-bezier(.76,0,.24,1) .28s; }
.loader.done .loader__panel--bottom { transform: translateY(101%); transition: transform .95s cubic-bezier(.76,0,.24,1) .28s; }

/* ヒーローのコピー立ち上がり（オープニング後） */
html.intro .hero__inner > * { opacity: 0; transform: translateY(36px); }
body.entered .hero__inner > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
body.entered .hero .badge { transition-delay: .15s; }
body.entered .hero h1 { transition-delay: .3s; }
body.entered .hero__sub { transition-delay: .5s; }
body.entered .hero__actions { transition-delay: .65s; }
body.entered .hero__stats { transition-delay: .8s; }

@media (prefers-reduced-motion: reduce) {
  .loader__logo-img, .loader__sweep { animation: none; opacity: 1; clip-path: none; transform: none; }
  .scroll-cue__dot { animation: none; top: 0; opacity: 1; }
}

/* ===================== ヒーロー ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(6,50,79,.92) 0%, rgba(10,111,176,.78) 45%, rgba(10,143,214,.4) 100%); }
.hero__deco { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero__deco--1 { width: 460px; height: 460px; right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(86,194,242,.5), transparent 68%); }
.hero__deco--2 { width: 360px; height: 360px; left: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(86,194,242,.4), transparent 70%); }

.hero__inner { width: 90%; max-width: var(--maxw); margin-inline: auto; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 4px rgba(86,194,242,.35); }
.hero h1 {
  font-size: clamp(34px, 6vw, 72px); font-weight: 900; line-height: 1.28; letter-spacing: .02em;
  text-shadow: 0 4px 30px rgba(6,50,79,.4);
}
.hero h1 .accent { background: linear-gradient(120deg, #bfe6fa, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 26px; font-size: clamp(15px, 2vw, 19px); max-width: 620px; color: rgba(255,255,255,.92); font-weight: 500; text-wrap: pretty; }
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats { margin-top: 64px; display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.hero__stats .stat { }
.hero__stats .num { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1; }
.hero__stats .num span { font-size: .5em; margin-left: 3px; }
.hero__stats .label { font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.8); margin-top: 8px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  font-size: 13px; letter-spacing: .35em; font-weight: 600; color: rgba(255,255,255,.85); text-align: center;
  text-decoration: none; cursor: pointer; transition: color .3s var(--ease); }
.scroll-cue:hover { color: #fff; }
.scroll-cue__label { display: block; }
.scroll-cue__track { position: relative; width: 2px; height: 72px; margin-top: 16px;
  background: rgba(255,255,255,.22); border-radius: 2px; transition: background .3s var(--ease); }
.scroll-cue:hover .scroll-cue__track { background: rgba(255,255,255,.4); }
.scroll-cue__dot { position: absolute; left: 50%; top: 0; width: 10px; height: 10px;
  transform: translate(-50%, -50%); border-radius: 50%; background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.9);
  animation: scrollDot 1.9s var(--ease) infinite; }
@keyframes scrollDot {
  0%   { top: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===================== ページヘッダー（下層） ===================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(6,50,79,.94), rgba(10,111,176,.78)); }
.page-hero--plain { background: var(--grad-deep); }
.page-hero .eyebrow { font-size: 12px; letter-spacing: .24em; font-weight: 700; color: var(--blue-200); }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin-top: 12px; letter-spacing: .03em; }
.page-hero p { margin-top: 16px; color: rgba(255,255,255,.88); max-width: 640px; text-wrap: pretty; }

.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--ink-sub); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--blue-300); }

/* ===================== 規約・ポリシー本文 ===================== */
.legal { max-width: 880px; margin-inline: auto; }
.legal__lead { color: var(--ink-sub); margin-bottom: clamp(36px, 5vw, 56px); }
.legal__block { margin-bottom: clamp(34px, 4vw, 48px); }
.legal__block > h2 {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  color: var(--blue-800);
  padding-left: 16px;
  border-left: 4px solid var(--blue-600);
  line-height: 1.5;
  margin-bottom: 16px;
}
.legal__block p { color: var(--ink); margin-bottom: 12px; }
.legal__block p:last-child { margin-bottom: 0; }
.legal__list { list-style: none; padding: 0; margin: 8px 0 0; }
.legal__list > li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink); }
.legal__list > li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500);
}
.legal__table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal__table th, .legal__table td {
  border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top;
}
.legal__table th { background: var(--blue-050); color: var(--blue-800); font-weight: 700; white-space: nowrap; width: 34%; }
.legal__meta { margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-sub); font-size: 14px; }
.legal a { color: var(--blue-600); text-decoration: underline; }
@media (max-width: 640px) {
  .legal__table th { white-space: normal; width: 38%; }
  .legal__table th, .legal__table td { padding: 10px 12px; font-size: 14px; }
}

/* ===================== Why / イントロ ===================== */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.intro__copy .eyebrow { font-size: 13px; letter-spacing: .22em; font-weight: 700; color: var(--blue-600); }
.intro__copy h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; line-height: 1.5; margin: 16px 0 22px; }
.intro__copy h2 em { font-style: normal; color: var(--blue-600); }
.intro__copy p { color: var(--ink-sub); margin-bottom: 16px; }
.intro__visual { position: relative; }
.intro__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3.4; object-fit: cover; }
.intro__visual .float-card {
  position: absolute; bottom: -26px; left: -26px; background: #fff; border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.intro__visual .float-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 22px; }
.intro__visual .float-card b { display: block; font-size: 22px; font-weight: 900; }
.intro__visual .float-card span { font-size: 12px; color: var(--ink-sub); }
.intro__visual .blob { position: absolute; inset: auto -30px -30px auto; width: 70%; height: 70%; z-index: -1;
  background: var(--blue-100); border-radius: var(--radius-lg); }

/* ===================== 事業カード ===================== */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.biz-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-10px); border-color: var(--blue-300); box-shadow: 0 26px 52px rgba(10,143,214,.28); }
.biz-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.biz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.biz-card:hover .biz-card__media img { transform: scale(1.06); }
.biz-card__media .tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95);
  color: var(--blue-700); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .05em; }
.biz-card__body { padding: 30px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.biz-card__body h3 { font-size: 22px; font-weight: 800; letter-spacing: .03em; }
.biz-card__body .en { font-size: 11px; letter-spacing: .2em; color: var(--blue-400); font-weight: 700; margin-bottom: 8px; }
.biz-card__body p { color: var(--ink-sub); font-size: 14.5px; margin: 14px 0 20px; }
.biz-card__body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.biz-card__body .tags span { font-size: 12px; background: var(--blue-050); color: var(--blue-700); padding: 6px 12px; border-radius: 8px; font-weight: 600; }
.biz-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 700; font-size: 14px; }
.biz-card__link .arrow { transition: transform .3s var(--ease); }
.biz-card:hover .biz-card__link .arrow { transform: translateX(5px); }
/* 事業カード内の「詳しく見る」はボタン化（青枠 → ホバーで塗り） */
.biz-card .biz-card__link {
  align-self: flex-start; margin-top: auto; padding: 12px 24px; border: 1.5px solid var(--blue-300);
  border-radius: 999px; background: var(--blue-050);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.biz-card .biz-card__link:hover,
.biz-card:hover .biz-card__link {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 12px 24px rgba(10,143,214,.36);
}
.biz-card .biz-card__link:hover { transform: translateY(-2px); }

/* ===================== 特徴 / 強み ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 36px 30px; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .ic { width: 58px; height: 58px; border-radius: 15px; background: var(--blue-050); color: var(--blue-600);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; transition: .4s var(--ease); }
.feature:hover .ic { background: var(--grad); color: #fff; transform: rotate(-6deg); }
.feature .no { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--blue-300); }
.feature h3 { font-size: 19px; font-weight: 800; margin: 6px 0 12px; }
.feature p { color: var(--ink-sub); font-size: 14.5px; }

/* ===================== 数値 ===================== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-band .stat-card { text-align: center; padding: 30px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.stat-band .num { font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1; }
.stat-band .num span { font-size: .5em; margin-left: 4px; }
.stat-band .label { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.82); letter-spacing: .06em; }

/* ===================== ロゴウォール（採用媒体） ===================== */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.logo-chip {
  display: grid; place-items: center; height: 92px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.logo-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--blue-200); }
.logo-chip .wordmark { font-weight: 800; font-size: 17px; letter-spacing: .02em; color: var(--blue-800); text-align: center; }
.logo-chip .wordmark span { color: var(--blue-500); }
.logo-chip img { max-width: 76%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.logo-note { text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--ink-sub); }

/* 採用媒体ロゴ：左へ自動で流れるマーキー */
.logo-marquee { overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; width: max-content; align-items: center;
  animation: logoMarquee 32s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__img { height: 46px; width: auto; display: block; object-fit: contain;
  background: #fff; border-radius: 14px; padding: 18px 28px; margin-right: 26px;
  box-shadow: 0 8px 22px rgba(6,50,79,.07); box-sizing: content-box; }
@keyframes logoMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; } }

/* ===================== プロセス ===================== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.flow .step .no { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.flow .step h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.flow .step p { font-size: 13.5px; color: var(--ink-sub); }
.flow .step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--blue-300); font-size: 20px; z-index: 2; }

/* ===================== 詳細リスト（事業ページ） ===================== */
.detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.detail-block.reverse .detail-block__media { order: 2; }
.detail-block__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.detail-block__copy .num { font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--blue-400); }
.detail-block__copy h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 10px 0 18px; line-height: 1.45; }
.detail-block__copy p { color: var(--ink-sub); margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-050); color: var(--blue-600); font-size: 12px; font-weight: 900; display: grid; place-items: center; }

/* ===================== 代表メッセージ ===================== */
.founder { display: grid; grid-template-columns: 1fr 1.22fr; gap: clamp(30px, 4vw, 56px); align-items: stretch; }
.founder__card { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(34px, 4vw, 48px);
  display: flex; flex-direction: column; }
.founder__card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.founder__mark { width: 78px; height: auto; display: block; margin-bottom: 22px; opacity: .96; }
.founder__role { font-size: 12.5px; font-weight: 700; letter-spacing: .22em; color: var(--blue-200); }
.founder__name { font-size: clamp(25px, 3.6vw, 32px); font-weight: 800; margin: 8px 0 4px; letter-spacing: .04em; }
.founder__name span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .16em; color: rgba(255,255,255,.6); margin-top: 6px; }
.founder__career { margin-top: clamp(24px, 3vw, 30px); padding-top: clamp(22px, 3vw, 28px); border-top: 1px solid rgba(255,255,255,.18); }
.founder__career h4 { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--blue-200); margin-bottom: 16px; }
.founder__career li { position: relative; padding-left: 26px; margin-bottom: 14px; color: rgba(255,255,255,.9); font-size: 14.5px; line-height: 1.85;
  word-break: auto-phrase; line-break: strict; }
.founder__career li:last-child { margin-bottom: 0; }
.founder__career li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 0 4px rgba(86,194,242,.2); }
.founder__body { display: flex; flex-direction: column; justify-content: center; }
.founder__body h3 { font-size: clamp(20px, 2.8vw, 27px); font-weight: 800; line-height: 1.5; margin-bottom: 22px; color: var(--ink); }
.founder__body h3 em { font-style: normal; color: var(--blue-600); }
.founder__body p { color: var(--ink-sub); margin-bottom: 18px; line-height: 2; font-size: 15px;
  word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
.founder__sign { margin-top: auto; padding-top: 22px; text-align: right; font-size: 13.5px; color: var(--ink-sub); font-weight: 600; letter-spacing: .04em; display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; }
.founder__sign strong { font-family: "Yuji Mai", serif; font-size: clamp(30px, 3.6vw, 40px); color: var(--ink); font-weight: 400; letter-spacing: .16em;
  -webkit-text-stroke: .4px var(--ink); text-stroke: .4px var(--ink); }
@media (max-width: 820px) {
  .founder { grid-template-columns: 1fr; }
}

/* ===================== 会社概要テーブル ===================== */
.profile-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.profile-table th, .profile-table td { text-align: left; padding: 22px 28px; border-bottom: 1px solid var(--line); vertical-align: top; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: none; }
.profile-table th { width: 220px; background: var(--blue-050); color: var(--blue-800); font-weight: 700; font-size: 14.5px; letter-spacing: .04em; }
.profile-table td { color: var(--ink); font-size: 15px; }

.map-frame { margin-top: 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ===================== ミッション / バリュー ===================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; }
.value-card .en { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--blue-300); }
.value-card h3 { font-size: 20px; font-weight: 800; margin: 8px 0 14px; }
.value-card p { color: var(--ink-sub); font-size: 14.5px; }

/* ===================== CTA ===================== */
.cta { position: relative; overflow: hidden; }
.cta__inner { background: var(--grad-deep); border-radius: clamp(20px, 3vw, 34px); padding: clamp(48px, 7vw, 88px) clamp(28px, 6vw, 80px);
  color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,194,242,.5), transparent 65%); top: -160px; right: -120px; }
.cta__inner::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,194,242,.35), transparent 68%); bottom: -160px; left: -100px; }
.cta__inner h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 900; position: relative; letter-spacing: .03em; }
.cta__inner p { margin-top: 18px; color: rgba(255,255,255,.88); position: relative; }
.cta__inner .actions { margin-top: 36px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ===================== お問い合わせフォーム ===================== */
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 64px); align-items: start; }
.contact-aside h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.contact-aside p { color: var(--ink-sub); margin-bottom: 28px; font-size: 14.5px; }
.contact-aside .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-aside .info-row:last-child { border-bottom: 1px solid var(--line); }
.contact-aside .info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600);
  display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-aside .info-row b { font-size: 14px; }
.contact-aside .info-row span { display: block; font-size: 13.5px; color: var(--ink-sub); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form .field { margin-bottom: 22px; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 9px; }
.form label .req { color: #e0556b; font-size: 11px; margin-left: 8px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px;
  font-family: inherit; color: var(--ink); background: var(--blue-050); transition: border-color .3s, background .3s, box-shadow .3s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(86,194,242,.18); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-sub); }
.form .check input { width: auto; margin-top: 5px; }
.form .check a { color: var(--blue-600); text-decoration: underline; }
.form .submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { text-align: center; font-size: 13px; color: var(--ink-sub); margin-top: 16px; }

/* ===================== フッター ===================== */
.footer { background: var(--blue-900); color: rgba(255,255,255,.78); padding: 70px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand__logo { height: 42px; }
.footer .brand__logo--color { display: none; }
.footer .brand__logo--white { display: block; }
.footer__about p { margin-top: 20px; font-size: 13.5px; line-height: 1.9; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 13.5px; padding: 6px 0; transition: color .2s, padding .2s; }
.footer__col a:hover { color: var(--blue-400); padding-left: 5px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }
.footer__bottom .links { display: flex; gap: 20px; }
.footer__bottom a:hover { color: #fff; }

/* ===================== スクロール演出 ===================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ===================== レスポンシブ ===================== */
@media (max-width: 980px) {
  .intro__grid, .detail-block, .form-wrap { grid-template-columns: 1fr; }
  .detail-block.reverse .detail-block__media { order: 0; }
  .biz-grid, .feature-grid, .values, .flow { grid-template-columns: 1fr 1fr; }
  .flow .step:not(:last-child)::after { display: none; }
  .stat-band, .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .br-pc { display: none; }
  .logo-marquee__track { animation-duration: 16s; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 18px 6%; gap: 0; box-shadow: 0 20px 40px rgba(6,50,79,.12);
    transform: translateY(-130%); transition: transform .4s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 16px 4px; color: var(--ink) !important; justify-content: space-between; }
  .nav__link::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 10px 14px; min-width: auto; }
  .header__cta .btn { display: none; }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile .btn { margin-top: 16px; justify-content: center; display: flex; }
  .nav-toggle { display: flex; }
  .header.scrolled .nav-toggle span,
  .header--transparent .nav-toggle span { background: var(--ink); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .biz-grid, .feature-grid, .values, .flow, .stat-band { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .intro__visual .float-card { left: 0; }
  .hero__stats { gap: 28px 36px; }
  /* モバイル：中央寄せのまま、下部にSCROLL分だけ余白を確保して文字との重なりを防止 */
  .hero { align-items: center; padding-top: var(--header-h); padding-bottom: 88px; }
  .scroll-cue { bottom: 20px; }
  .scroll-cue__track { height: 46px; margin-top: 12px; }

  /* スクロール時のガクつき防止：モバイルでは GPU 負荷の高い backdrop-filter / blur を無効化 */
  .header.scrolled {
    background: rgba(255,255,255,.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero .badge {
    background: rgba(255,255,255,.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero__deco { filter: none; }
}
