/* 株式会社TL コーポレートサイト 新デザイン */
:root {
  --bg: #0b0d14;
  --surface: #141826;
  --surface-2: #1b2033;
  --navy: #26335e;
  --accent: #e8d3a0;
  --accent-ink: #1a1508;
  --text: #edeef2;
  --sub: #a9afbf;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --radius: 18px;
  --ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Montserrat", var(--ja);
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.tight { padding-top: 0; }

/* ---------- 見出しの型：小さな英語ラベル＋大きな日本語 ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h-xl, .h-lg, .h-md {
  font-weight: 700; letter-spacing: 0.01em; line-height: 1.35; font-feature-settings: "palt";
}
.h-xl { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.25; }
.h-lg { font-size: clamp(28px, 3.8vw, 44px); margin-top: 14px; }
.h-md { font-size: clamp(20px, 2.2vw, 26px); }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--sub); max-width: 46em; margin-top: 20px; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.prose p + p { margin-top: 1.2em; }
.muted { color: var(--sub); }

/* ---------- ボタンは2種類だけ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .ar { transition: transform .2s ease; }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(232, 211, 160, .18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(232, 211, 160, .28); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.text-link:hover .ar { transform: translateX(4px); }
.text-link .ar { transition: transform .2s; }

/* ---------- 背景：ノイズ入りの多色グラデーションを、ゆっくり動かす ---------- */
.cosmos { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.cosmos .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.cosmos .b1 { width: 55vw; height: 55vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #3b2d7a 0%, transparent 65%); }
.cosmos .b2 { width: 50vw; height: 50vw; right: -14vw; top: 4vw; background: radial-gradient(circle, #26335e 0%, transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.cosmos .b3 { width: 42vw; height: 42vw; left: 30vw; bottom: -22vw; background: radial-gradient(circle, #6a2a55 0%, transparent 62%); opacity: .4; animation-duration: 38s; animation-delay: -14s; }
.cosmos .b4 { width: 26vw; height: 26vw; right: 18vw; bottom: 6vw; background: radial-gradient(circle, rgba(232,211,160,.35) 0%, transparent 60%); opacity: .35; animation-duration: 30s; animation-delay: -4s; }
.cosmos::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .11; mix-blend-mode: overlay;
}
.cosmos .stars { position: absolute; inset: 0; background-image:
  radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 68% 14%, rgba(255,255,255,.5), transparent),
  radial-gradient(1.4px 1.4px at 84% 62%, rgba(255,255,255,.6), transparent),
  radial-gradient(1px 1px at 36% 78%, rgba(255,255,255,.45), transparent),
  radial-gradient(1px 1px at 52% 40%, rgba(255,255,255,.35), transparent),
  radial-gradient(1.2px 1.2px at 22% 60%, rgba(255,255,255,.4), transparent),
  radial-gradient(1px 1px at 92% 30%, rgba(255,255,255,.5), transparent);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 4vw, 0) scale(1.12); }
  100% { transform: translate3d(-4vw, 7vw, 0) scale(.94); }
}
@keyframes twinkle { from { opacity: .5; } to { opacity: 1; } }
.cosmos.soft .blob { opacity: .32; }
.on-cosmos { position: relative; z-index: 1; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 13, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1360px; }
.brand img { width: 84px; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav > li { position: relative; }
.gnav > li > a, .gnav > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background .2s;
}
.gnav > li > a:hover, .gnav > li > button:hover, .gnav > li > a[aria-current="page"] { background: rgba(255,255,255,.07); }
.gnav .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.gnav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; padding: 8px;
  background: rgba(20, 24, 38, .96); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 14px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .2s;
}
.gnav li:hover .sub, .gnav li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.gnav .sub a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.gnav .sub a:hover { background: rgba(255,255,255,.06); }
.head-cta { display: flex; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: .25s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 45; padding: 110px var(--gutter) 40px; overflow-y: auto;
  background: rgba(11, 13, 20, .97); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: .25s;
}
.menu-open { overflow: hidden; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer ul { display: grid; gap: 4px; }
.drawer a.d1 { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.drawer a.d2 { display: block; padding: 10px 0 10px 16px; color: var(--sub); font-size: 15px; }
.drawer .btns { margin-top: 32px; flex-direction: column; }
.drawer .btn { width: 100%; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
.hero .label { margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 6.6vw, 84px); font-weight: 900; line-height: 1.18; letter-spacing: -0.01em; font-feature-settings: "palt"; }
.hero h1 .grad { background: linear-gradient(100deg, #fff 10%, var(--accent) 60%, #b9c6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #c9cddb; margin-top: 28px; font-size: clamp(16px, 1.6vw, 19px); }
.hero .btns { margin-top: 40px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--sub); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--sub), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- コーポレート型ファーストビュー ---------- */
.hero-corp { align-items: flex-end; padding-bottom: clamp(110px, 14vh, 160px); }
.hero-corp h1 { font-weight: 400; }
.hero-corp .en-display { display: block; font-family: var(--en); font-weight: 500; font-size: clamp(56px, 11.5vw, 168px); line-height: .98; letter-spacing: -0.03em; }
.hero-corp .ja-sub { display: block; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: .14em; margin-top: 28px; color: var(--accent); }
.hero-corp .lead { margin-top: 22px; max-width: 34em; }

/* ---------- 関わりの流れ（採用→営業→経営） ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey li { display: flex; flex-direction: column; position: relative; }
.journey li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: translateY(-50%) rotate(45deg); z-index: 2; }
.journey .no { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.journey h3 { font-size: 22px; margin: 12px 0 10px; }
.journey p { font-size: 15px; color: var(--sub); }
.journey .tag { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--text); font-weight: 700; }
.journey li:nth-child(4) { background: linear-gradient(160deg, rgba(232,211,160,.12), rgba(255,255,255,.02)); border-color: rgba(232,211,160,.3); }

/* ---------- 数字の帯 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--en); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.1; color: var(--accent); }
.stat .num small { font-size: .42em; margin-left: 4px; font-family: var(--ja); font-weight: 700; color: var(--text); }
.stat .cap { font-size: 14px; color: var(--sub); margin-top: 10px; line-height: 1.6; }

/* ---------- 取引先ロゴのマーキー ---------- */
.marquee { overflow: hidden; padding: 30px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 38px; width: auto; max-width: 160px; object-fit: contain; opacity: .72; transition: opacity .2s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- カード（半透明） ---------- */
.card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
a.card:hover, .card.hover:hover { transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); }

/* ---------- 事業：Bentoグリッド ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento .b-main { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.bento .b-side { grid-column: span 2; display: flex; flex-direction: column; }
.bento .b-wide { grid-column: span 3; display: flex; flex-direction: column; }
.bento .b-full { grid-column: span 6; display: flex; flex-direction: column; }
.svc-tag { font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 600; }
.svc-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.35; margin-top: 8px; }
.b-side .svc-title, .b-wide .svc-title { font-size: 22px; }
.svc-desc { color: var(--sub); font-size: 15px; margin-top: 12px; }
.svc-meta { margin-top: auto; padding-top: 22px; display: grid; gap: 6px; font-size: 14px; }
.svc-meta dt { color: var(--sub); font-size: 12px; letter-spacing: .08em; }
.svc-meta dd { margin-bottom: 8px; }
.svc-img { margin: 22px 0 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16/8; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.9); transition: transform .6s ease, filter .3s; }
a.card:hover .svc-img img { transform: scale(1.04); filter: none; }
.go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .25s; }
a.card:hover .go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }

/* ---------- 選ばれる理由 ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reasons.two { grid-template-columns: repeat(2, 1fr); }
.reasons .no { font-family: var(--en); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.reasons h3 { font-size: 21px; line-height: 1.5; margin: 14px 0 12px; }
.reasons p { font-size: 15px; color: var(--sub); }

/* ---------- 事例 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case .co { display: flex; align-items: center; gap: 14px; }
.case .co img { height: 34px; width: auto; max-width: 140px; }
.case .ind { font-size: 12px; color: var(--sub); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 12px; }
.case h3 { font-size: 19px; line-height: 1.55; margin: 20px 0 14px; }
.case dl { display: grid; gap: 10px; font-size: 14px; }
.case dt { font-size: 12px; color: var(--accent); letter-spacing: .1em; font-family: var(--en); font-weight: 600; }
.case dd { color: var(--sub); }
.todo { color: #f0c36b; font-weight: 700; }
.draft-note { border: 1px dashed rgba(240, 195, 107, .6); color: #f0d79a; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 28px; }

/* ---------- 事例・メンバーの横並び行 ---------- */
.case-row { display: grid; grid-template-columns: 260px 1fr; gap: 36px; }
.member-row { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }

/* ---------- メンバー ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .6s ease, filter .4s; }
.member .info { position: absolute; inset: auto 0 0 0; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(11,13,20,.92) 55%); }
.member .role { font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.member .name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.member .hover-say { font-size: 13px; color: #d6d9e4; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s; }
.member:hover img, .member:focus-within img { transform: scale(1.04); filter: grayscale(.2); }
.member:hover .hover-say, .member:focus-within .hover-say { max-height: 120px; opacity: 1; margin-top: 8px; }

/* ---------- News ---------- */
.news-list li a { display: grid; grid-template-columns: 120px 120px 1fr 24px; gap: 20px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.news-list li:first-child a { border-top: 1px solid var(--line); }
.news-list li a:hover { background: rgba(255,255,255,.03); padding-left: 12px; }
.news-list time { font-family: var(--en); font-size: 14px; color: var(--sub); }
.news-list .cat { font-size: 12px; text-align: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; }
.news-list .t { font-weight: 500; }
.news-list .ar { color: var(--sub); }

/* ---------- CTA帯 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px); text-align: center; background: var(--surface); }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; line-height: 1.4; position: relative; }
.cta-band p { color: #c9cddb; margin-top: 16px; position: relative; }
.cta-band .btns { justify-content: center; margin-top: 34px; position: relative; }

/* ---------- 下層ページ ---------- */
.page-hero { position: relative; padding: 180px 0 80px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.3; margin-top: 16px; font-feature-settings: "palt"; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--sub); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.two-col { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col .sticky { position: sticky; top: 110px; }
.def { width: 100%; border-collapse: collapse; }
.def th, .def td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.def tr:first-child th, .def tr:first-child td { border-top: 1px solid var(--line); }
.def th { width: 180px; color: var(--sub); font-size: 15px; padding-right: 24px; }
.values { display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 80px 240px 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line); }
.values li:first-child { border-top: 1px solid var(--line); }
.values .no { font-family: var(--en); color: var(--accent); font-weight: 600; }
.values .en { font-family: var(--en); font-size: 12px; color: var(--sub); letter-spacing: .1em; display: block; }
.values h3 { font-size: 28px; }
.list-check li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.list-check li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.map { margin-top: 28px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--en); color: var(--accent); margin-right: 14px; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px 30px; color: var(--sub); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: "STEP " counter(s); display: block; font-family: var(--en); font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.steps h3 { font-size: 17px; line-height: 1.5; }
.steps p { font-size: 14px; color: var(--sub); margin-top: 8px; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 22px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 700; }
.field .req { display: inline-block; margin-left: 8px; font-size: 11px; padding: 0 8px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); vertical-align: 1px; }
.field .opt { display: inline-block; margin-left: 8px; font-size: 11px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--sub); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 16px; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a90a2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.06); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #111; }
.field textarea { min-height: 160px; resize: vertical; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.agree a { text-decoration: underline; }
.form .btn { width: 100%; max-width: 360px; justify-self: center; }
.form-note { font-size: 13px; color: var(--sub); }
.contact-side .card + .card { margin-top: 16px; }

/* ---------- 記事 ---------- */
.article { max-width: 780px; }
.article .meta { display: flex; gap: 14px; align-items: center; color: var(--sub); font-family: var(--en); font-size: 14px; }
.article .body { margin-top: 40px; }
.article .body h2 { font-size: 24px; margin: 48px 0 16px; }
.article .body p + p { margin-top: 1.4em; }
.article figure { margin: 40px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager a { color: var(--sub); } .pager a:hover { color: var(--text); }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 80px 0 28px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid .brand img { width: 110px; }
.foot-grid .about { color: var(--sub); font-size: 14px; margin-top: 20px; line-height: 1.8; }
.foot-grid h4 { font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.foot-grid li a { display: inline-block; padding: 5px 0; font-size: 14px; color: #cfd2dc; }
.foot-grid li a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.foot-bottom a:hover { color: var(--text); }
.foot-big { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 8.6vw, 124px); line-height: 1; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin-top: 60px; white-space: nowrap; user-select: none; }

/* ---------- スクロール表示（控えめ・最初の画面は即表示） ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.instant { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cosmos .blob, .cosmos .stars, .marquee-track, .scroll-cue::after { animation: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .gnav, .head-cta { display: none; }
  .burger { display: block; }
  .bento .b-main { grid-column: span 6; grid-row: auto; }
  .bento .b-side, .bento .b-wide { grid-column: span 3; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 26px 18px; }
  .bento { display: flex; flex-direction: column; }
  .reasons, .reasons.two, .cases { grid-template-columns: 1fr; }
  .case-row, .member-row { grid-template-columns: 1fr; gap: 20px; }
  .member-row img { max-width: 220px; }
  .team { grid-template-columns: 1fr 1fr; }
  .member .hover-say { display: none; }
  .news-list li a { grid-template-columns: auto 1fr; gap: 8px 14px; }
  .news-list .t { grid-column: 1 / -1; }
  .news-list .ar { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .two-col .sticky { position: static; }
  .def th { width: 100px; font-size: 14px; }
  .values li { grid-template-columns: 48px 1fr; }
  .values li p { grid-column: 2; }
  .values h3 { font-size: 22px; }
  .form .row2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey li::after { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .btns .btn { width: 100%; }
  .page-hero { padding: 130px 0 56px; }
}

/* ---------- 採用・営業・経営支援ページ ---------- */
.biz-toc { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 40px; }
.biz-toc a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 700; transition: .2s; }
.biz-toc a span { font-family: var(--en); color: var(--accent); font-size: 12px; }
.biz-toc a:hover { background: rgba(255,255,255,.06); }
.biz-head { max-width: 46em; margin-bottom: 40px; scroll-margin-top: 100px; }
section[id] { scroll-margin-top: 80px; }
.phase { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line-strong); margin-bottom: 18px; }
.phase-no { font-family: var(--en); font-weight: 600; letter-spacing: .14em; color: var(--accent); font-size: 14px; }
.phase h3 { font-size: 22px; }
.phase p { font-size: 15px; margin-top: 4px; }
.menu-grid { display: grid; gap: 14px; }
.menu-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.menu-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.menu-grid > li { padding: 24px 26px; }
.menu-grid h4 { font-size: 18px; line-height: 1.5; }
.menu-grid p { font-size: 15px; color: var(--sub); margin-top: 8px; }
.menu-grid p:empty { display: none; }
.mini { margin-top: 12px; display: grid; gap: 4px; }
.mini li { font-size: 14px; color: #cfd2dc; padding-left: 16px; position: relative; line-height: 1.7; }
.mini li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 6px; height: 1px; background: var(--accent); }
.sub-h { margin: 56px 0 18px; }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.pains > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pains dt { font-weight: 700; position: relative; padding-left: 18px; }
.pains dt::before { content: "!"; position: absolute; left: 0; color: var(--accent); font-family: var(--en); }
.pains dd { color: var(--sub); font-size: 15px; }
.note-row { margin-top: 36px; display: grid; gap: 10px; padding: 22px 26px; border-left: 2px solid var(--accent); background: rgba(232,211,160,.05); border-radius: 0 12px 12px 0; }
.note-row p { font-size: 15px; color: #d6d9e4; }
@media (max-width: 1080px) { .menu-grid.c3 { grid-template-columns: repeat(2, 1fr); } .pains { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .menu-grid.c2, .menu-grid.c3 { grid-template-columns: 1fr; } .phase { grid-template-columns: 1fr; gap: 4px; } .pains > div { grid-template-columns: 1fr; gap: 4px; } }

/* スマホのファーストビュー：下寄せだと上半分が空くので中央寄せにし、背景のにじみを大きくして見せる */
@media (max-width: 760px) {
  .hero-corp { align-items: center; min-height: 88svh; padding: 120px 0 96px; }
  .hero-corp .cosmos .b1 { width: 130vw; height: 130vw; left: -40vw; top: -10vw; opacity: .75; }
  .hero-corp .cosmos .b2 { width: 120vw; height: 120vw; right: -50vw; top: 30vh; opacity: .7; }
  .hero-corp .cosmos .b3 { width: 110vw; height: 110vw; left: -10vw; bottom: -40vw; opacity: .55; }
  .hero-corp .cosmos .b4 { width: 70vw; height: 70vw; right: -10vw; bottom: 10vh; opacity: .45; }
  .scroll-cue { bottom: 20px; }
}

/* トップの ABOUT：ラベルを上に1行、その下で見出しと本文の頭をそろえる */
.about-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 18px; }
.about-row .h-lg { margin-top: 0; white-space: nowrap; }
.about-row .prose > p:first-child { margin-top: .35em; }
@media (max-width: 900px) {
  .about-row { grid-template-columns: 1fr; gap: 20px; }
  .about-row .h-lg { white-space: normal; }
}

/* フォームの送信結果・迷惑投稿対策 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--accent); font-weight: 700; }
.form-status.ng { color: #ff9a8a; font-weight: 700; }
.form.sending .btn { opacity: .6; pointer-events: none; }
.form.done { opacity: .5; pointer-events: none; }
