@charset "UTF-8";
/* ==========================================================================
   トップページ（index.html）専用。旧ページは css/rest.css と css/style.css のまま。
   色は :root の変数だけで持つ。部品の中で色を直書きしない。
   2026-10-26 の定例で色は案 A（会社案内のまま。マゼンタ主、ティール副、ネイビーの暗い面）に決定。
   B・C・light・pastel の案と右下の切り替えは消した（履歴は a9446c9 以前）。
   ========================================================================== */

/* --- 色 ------------------------------------------------------------------ */
:root {
  --mag: #C8227E;          /* 会社案内の主色 */
  --mag-deep: #A01E78;
  --teal: #00A896;         /* 会社案内の副色（白地の文字には使わない。2.98:1） */
  --teal-ink: #007A6A;     /* 白地とグレー地で文字に使うティール（4.9:1） */
  --navy: #1A1F36;         /* 会社案内の見出し色と暗いパネル */
  --navy-2: #252B4A;
  --text: #1A1F36;
  --muted: #5A6478;        /* 会社案内の本文色（#F7F7FB 上で 5.57:1） */
  --line: #E2E5EE;

  --panel: #F7F7FB;        /* 白い大きなパネルの地 */
  --card: #FFFFFF;
  --deep: #1A1F36;         /* 暗い面 */
  --deep-text: #FFFFFF;
  --deep-muted: #C8CCDE;   /* 暗い面の補足（10.2:1） */

  --primary: var(--mag);
  --primary-ink: var(--mag);     /* 明るい地の上の文字 */
  --on-primary: #FFFFFF;
  --secondary: var(--teal);
  --secondary-ink: var(--teal-ink);
  --primary-on-dark: #FF8DC4;    /* 暗い面の上の差し色（7.6:1） */
  --secondary-on-dark: #5EE0C8;

  --stage:
    radial-gradient(60% 50% at 85% 12%, rgba(200, 34, 126, .85), transparent 70%),
    radial-gradient(55% 45% at 5% 55%, rgba(0, 168, 150, .55), transparent 70%),
    radial-gradient(50% 40% at 70% 85%, rgba(160, 30, 120, .45), transparent 70%),
    linear-gradient(160deg, #1A1F36 0%, #22203F 55%, #1A1F36 100%);
  --shape-a: rgba(255, 255, 255, .06);
  --shape-b: rgba(255, 255, 255, .05);
  --shape-line: rgba(255, 255, 255, .18);
  --grad-text: linear-gradient(90deg, #1A1F36 0%, #A01E78 35%, #C8227E 60%, #008F7D 100%);
  --grad-strong: linear-gradient(135deg, #C8227E 0%, #A01E78 50%, #1A1F36 100%);
  --stat-bg: #FFFFFF;
  --stat-accent: var(--mag);
  --ax: var(--mag);
  --pr: var(--teal-ink);
  --strengths-bg: transparent;
}

/* --- 土台 --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: #fff; color: var(--navy); border-radius: 8px;
}
.skip:focus { top: 16px; }

.en, .eyebrow, .kv__title, .section-title, .core__title, .stat__num, .marquee,
.axis__icon, .step__dot, .strength__no, .work__no, .etym__words, .core-map {
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  color: var(--primary-ink);
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow--dark { color: var(--primary-on-dark); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-title {
  margin-top: 8px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.3; font-weight: 800; color: var(--text);
  letter-spacing: 0;
}
.section-lead { margin-top: 16px; color: var(--muted); }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 22px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--navy); }

/* --- ヘッダー ----------------------------------------------------------- */
/* JS が無いときは背景つきで出す。JS があるときだけ、ページ最上部で透明にする。 */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--text);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(26, 31, 54, .08);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.header.is-top { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1440px; margin-inline: auto;
  height: 68px; padding-inline: 16px;
}
@media (min-width: 768px) { .header__inner { padding-inline: 32px; } }
.header__logo { display: flex; align-items: center; min-height: 44px; }
.header__logo .logo { width: 132px; height: auto; }

.logo .logo-ink { fill: currentColor; }
.logo .logo-cut { fill: var(--logo-cut, #fff); }
.header .logo { --logo-cut: #fff; }
.header.is-top .logo, .footer .logo { --logo-cut: var(--deep); }
.header.is-top.is-open .logo { --logo-cut: #fff; }

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 24px; }
.gnav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none;
}
.gnav__list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header__cta { padding-inline: 20px; }
.header.is-top .header__cta { background: #fff; color: var(--navy); }

.header__menu {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  position: relative;
}
.header__menu-bar, .header__menu-bar::before, .header__menu-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .25s ease;
}
.header__menu-bar { top: 21px; }
.header__menu-bar::before, .header__menu-bar::after { content: ""; left: 0; }
.header__menu-bar::before { top: -7px; }
.header__menu-bar::after { top: 7px; }
.header.is-open .header__menu-bar { background: transparent; }
.header.is-open .header__menu-bar::before { transform: translateY(7px) rotate(45deg); background: currentColor; }
.header.is-open .header__menu-bar::after { transform: translateY(-7px) rotate(-45deg); background: currentColor; }

@media (max-width: 1023px) {
  /* JS が無いときはナビを折り返して見せておく */
  .header__inner { flex-wrap: wrap; height: auto; min-height: 68px; }
  .gnav { width: 100%; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 8px; }
  .gnav__list { flex-wrap: wrap; gap: 0 16px; }

  .js .header__inner { flex-wrap: nowrap; height: 68px; }
  .js .header__menu { display: block; }
  .js .gnav {
    position: fixed; inset: 68px 0 auto 0;
    display: none; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px 16px 32px;
    background: var(--deep); color: #fff;
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .js .header.is-open { background: var(--deep); color: #fff; }
  .js .header.is-open .logo { --logo-cut: var(--deep); }
  .js .header.is-open .gnav { display: flex; }
  .js .gnav__list { flex-direction: column; gap: 0; }
  .js .gnav__list a { font-size: 22px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 56px; }
  .js .header__cta { background: #fff; color: var(--navy); min-height: 52px; }
}

/* --- stage（KV、About、マーキーの共通背景） ------------------------------- */
.stage {
  position: relative;
  background: var(--stage);
  color: #fff;
  overflow: hidden;
  padding-bottom: 120px; /* 白いパネルが重なる分 */
}
.stage__shapes {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.shape { fill: var(--shape-a); }
.shape--b { fill: var(--shape-b); }
.shape-line { fill: none; stroke: var(--shape-line); stroke-width: 1.5; }
.shape-line--dash { stroke-dasharray: 4 10; }

/* KV */
.kv {
  position: relative;
  min-height: clamp(560px, 100vh, 960px); min-height: clamp(560px, 100svh, 960px);
  display: flex; align-items: flex-end;
  padding: 120px 0 120px;
}
.kv__inner { position: relative; }
.kv__title {
  font-size: clamp(48px, 11vw, 150px);
  line-height: 1.0; font-weight: 800; letter-spacing: -.02em;
}
.kv__title span, .nowrap { display: inline-block; }
.kv__sub {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  font-size: clamp(17px, 2.2vw, 24px); font-weight: 700; letter-spacing: .08em;
}
.kv__wave {
  flex: none; width: 36px; height: 14px;
  background:
    linear-gradient(90deg, var(--primary-on-dark), var(--secondary-on-dark));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 14'%3E%3Cpath d='M1 4c4-4 7 4 11 0s7 4 11 0 7 4 11 0M1 11c4-4 7 4 11 0s7 4 11 0 7 4 11 0' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 14'%3E%3Cpath d='M1 4c4-4 7 4 11 0s7 4 11 0 7 4 11 0M1 11c4-4 7 4 11 0s7 4 11 0 7 4 11 0' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kv__scroll {
  position: absolute; right: 24px; bottom: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 120px;
  writing-mode: vertical-rl;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-decoration: none; color: #fff;
}
@media (max-width: 767px) { .kv__scroll { display: none; } }
.kv__scroll::after {
  content: ""; display: block; width: 1px; height: 56px; margin-top: 10px;
  background: linear-gradient(#fff, transparent);
}

/* About */
.about { position: relative; padding: 40px 0 96px; }
.about__inner {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .about__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 64px; }
}
.about__title {
  margin-top: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.1; font-weight: 800;
}
.about .eyebrow { color: #fff; }
.about__lead {
  margin-top: 28px; max-width: 30em;
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.6;
}
.about__body p:not(.eyebrow):not(.about__lead) { margin-top: 16px; color: rgba(255, 255, 255, .9); font-weight: 500; }
.about__body .btn { margin-top: 32px; }

/* 数字のカード（irep の傾いた写真の帯の位置） */
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.stat {
  background: var(--stat-bg); color: var(--text);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(10, 12, 30, .28);
  min-width: 0;
}
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.stat__num {
  margin-top: 4px;
  font-size: clamp(30px, 8vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em;
  color: var(--text);
  white-space: nowrap;
}
.stat__num small { font-size: .42em; font-weight: 700; margin-inline: .1em; font-family: "Noto Sans JP", sans-serif; }
.stat__to { font-size: .5em; margin-inline: .2em; color: var(--stat-accent); vertical-align: middle; }
.stat__note {
  margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--stat-accent);
  font-size: 12px; line-height: 1.5; color: var(--muted);
}
@media (min-width: 1024px) {
  .stats { margin-right: 0; }
  .stat__num { font-size: 42px; }
}
@media (max-width: 400px) {
  .stat { padding: 14px 12px; }
  .stat__num { font-size: 28px; }
}

/* --- マーキー ----------------------------------------------------------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track {
  display: inline-flex; align-items: center; gap: 40px;
  padding-right: 40px;
  animation: marquee 40s linear infinite;
}
.marquee__track > span { flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee--stage { position: relative; padding: 12px 0; }
.marquee--stage .marquee__track {
  font-size: clamp(36px, 6vw, 76px); font-weight: 800; letter-spacing: -.01em; color: #fff;
}
.marquee__ja { font-family: "Noto Sans JP", sans-serif; font-size: .7em; font-weight: 700; letter-spacing: .04em; }
.marquee__dot {
  width: .5em; height: .5em; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-on-dark), var(--secondary-on-dark));
}

/* --- 白い大きなパネル ---------------------------------------------------- */
.panel {
  position: relative; z-index: 1;
  margin-top: -64px;
  background: var(--panel);
  border-radius: 32px 32px 0 0;
  padding-top: 112px;
}
@media (min-width: 1024px) { .panel { border-radius: 48px 48px 0 0; } }

/* CORE */
.core { padding-bottom: 120px; }
.core__head { text-align: center; }
.core__title {
  font-size: clamp(64px, 14vw, 160px); line-height: 1; font-weight: 800; letter-spacing: -.03em;
}
.core__en {
  margin-top: 12px;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  font-size: clamp(14px, 1.8vw, 18px); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.core__ja { margin-top: 8px; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--text); }

.core__body {
  margin-top: 64px;
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .core__body { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; } }

.core-map {
  position: relative;
  width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto;
  container-type: inline-size;
}
.core-map__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.core-map__ring circle { fill: none; stroke: var(--muted); stroke-width: .5; stroke-dasharray: 2 2.2; opacity: .7; }
.core-map__center {
  position: absolute; left: 32%; top: 32%; width: 36%; height: 36%;
  display: grid; place-items: center; text-align: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif; font-weight: 700;
  font-size: 6cqi; line-height: 1.4;
}
.core-map__node {
  position: absolute; width: 23%; height: 23%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-strong);
  color: #fff; font-weight: 800; font-size: 11cqi;
  box-shadow: 0 10px 24px rgba(26, 31, 54, .2);
}
.core-map__node--c { left: 38.5%; top: 4.5%; }
.core-map__node--o { left: 72.5%; top: 38.5%; }
.core-map__node--r { left: 38.5%; top: 72.5%; }
.core-map__node--e { left: 4.5%;  top: 38.5%; }

.core-list { display: grid; gap: 16px; }
.core-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.core-item__mark {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-strong); color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 22px;
}
.core-item__name {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; font-weight: 800; line-height: 1.3;
}
.core-item__name span { font-family: "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 700; color: var(--primary-ink); }
.core-item p { margin-top: 8px; color: var(--muted); font-weight: 500; }

/* Business（irep の OUR SERVICE の作り） */
.business { position: relative; padding: 40px 0 72px; overflow: hidden; }
.business > .container { position: relative; }
.business__bgword {
  position: absolute; left: 50%; top: 300px; transform: translateX(-50%);
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800;
  font-size: clamp(120px, 22vw, 340px); line-height: 1; letter-spacing: -.02em;
  color: color-mix(in srgb, var(--secondary) 4%, transparent);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.business__disc {
  position: absolute; left: -22vw; top: 220px;
  width: 44vw; height: 44vw; max-width: 640px; max-height: 640px; min-width: 320px; min-height: 320px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--secondary) 6%, transparent);
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--secondary) 3%, transparent);
  pointer-events: none;
}
.axes { display: grid; gap: 64px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .axes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.axis__head { display: flex; align-items: center; gap: 20px; }
.axis__icon {
  flex: none; display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  font-size: 44px; font-weight: 800; color: #fff;
}
.axis--ax .axis__icon { background: var(--ax); }
.axis--pr .axis__icon { background: var(--pr); }
.axis__tag { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.axis--ax .axis__tag { color: var(--ax); }
.axis--pr .axis__tag { color: var(--pr); }
.axis__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.4; }

.steps { position: relative; margin-top: 28px; margin-left: 47px; padding-left: 0; }
.steps::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 28px;
  width: 2px; border-radius: 2px;
  background: color-mix(in srgb, var(--text) 14%, transparent);
}
.step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 0 0 24px 0; }
.step__dot {
  position: relative; flex: none; margin-left: -23px;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); border: 2px solid currentColor;
  font-size: 13px; font-weight: 800;
}
.axis--ax .step__dot { color: var(--ax); }
.axis--pr .step__dot { color: var(--pr); }
.step__name { font-size: 18px; font-weight: 700; line-height: 1.5; padding-top: 8px; color: var(--text); }
.step p { color: var(--muted); font-size: 15px; font-weight: 500; }
.business__note {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 20px 24px; border-radius: 20px;
  background: var(--card); border: 1px dashed color-mix(in srgb, var(--primary) 40%, transparent);
  font-size: 18px; font-weight: 700;
}
.business__note-tag { font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; color: var(--primary-ink); letter-spacing: .06em; }

/* Strengths */
.strengths { padding: 96px 0 96px; background: var(--strengths-bg); }
.strength-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .strength-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.strength {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.strength::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--grad-strong); opacity: .1;
}
.strength__no { font-size: 15px; font-weight: 800; color: var(--primary-ink); letter-spacing: .06em; }
.strength__title { margin-top: 8px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.45; }
.strength p { margin-top: 12px; color: var(--muted); font-weight: 500; }

/* Works（横スクロールのカード列） */
.works { padding: 72px 0 140px; }
.works__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.works__hint { font-size: 14px; font-weight: 700; color: var(--primary-ink); }
.works__scroller {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(16px, calc((100% - 1160px) / 2 + 32px));
  padding-bottom: 8px;
  scrollbar-width: none;
}
.works__scroller::-webkit-scrollbar { display: none; }
.works__scroller:focus-visible { outline-offset: -3px; }
.works__list {
  display: flex; gap: 16px; width: max-content;
  padding-inline: max(16px, calc((100vw - 1160px) / 2 + 32px));
}
@media (max-width: 767px) { .works__list { padding-inline: 16px; } .works__scroller { scroll-padding-inline: 16px; } }
.work {
  scroll-snap-align: start;
  flex: none; width: min(78vw, 300px); min-height: 300px;
  display: flex; flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}
.work:nth-child(5n+1) { background: var(--grad-strong); color: #fff; border: 0; }
.work:nth-child(5n+1) .work__role, .work:nth-child(5n+1) .work__text { color: rgba(255,255,255,.92); }
.work:nth-child(5n+1) .work__tag { background: rgba(255,255,255,.18); color: #fff; }
.work:nth-child(5n+1) .work__no { color: #fff; }
.work__meta { display: flex; align-items: center; gap: 10px; }
.work__no { font-weight: 800; font-size: 15px; color: var(--primary-ink); }
.work__tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: color-mix(in srgb, var(--secondary) 12%, #fff); color: var(--secondary-ink);
}
.work__theme { margin-top: 40px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.work__role { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--primary-ink); }
.work__text { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 500; }
.works__bar { margin-top: 24px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.works__bar-fill {
  display: block; height: 100%; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform-origin: left; transform: scaleX(var(--progress, .3));
}

/* --- 会社概要（暗い面） --------------------------------------------------- */
.company {
  position: relative;
  padding: 120px 0 168px;
  background: var(--stage);
  color: var(--deep-text);
  overflow: hidden;
}
.company__shapes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.company__inner { position: relative; display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .company__inner { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; } }
.company__title { margin-top: 8px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.etym { margin-top: 40px; }
.etym__label { font-size: 14px; font-weight: 700; color: var(--deep-muted); }
.etym__words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 4px; font-size: clamp(36px, 4.2vw, 52px); font-weight: 800; line-height: 1.1; }
.etym__dig { color: var(--primary-on-dark); }
.etym__uni { color: var(--secondary-on-dark); }
.etym__x { font-size: .5em; color: var(--deep-muted); }
.etym__ja { margin-top: 12px; color: var(--deep-muted); font-weight: 500; }

.company__table {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  padding: 8px 28px;
}
.company__row {
  display: grid; gap: 4px 24px; grid-template-columns: 1fr;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.company__row:last-child { border-bottom: 0; }
@media (min-width: 640px) { .company__row { grid-template-columns: 120px minmax(0, 1fr); } }
.company__row dt { font-size: 14px; font-weight: 700; color: var(--deep-muted); padding-top: 2px; }
.company__row dd { font-weight: 500; }
.company__row dd p + p { margin-top: 10px; }
.company__row a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; font-family: "Plus Jakarta Sans", sans-serif; font-size: 22px; font-weight: 700; color: var(--primary-on-dark); }
.pill {
  display: inline-block; margin-right: 10px; padding: 0 12px; border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif; font-size: 13px; font-weight: 800; line-height: 24px;
  color: var(--navy);
}
.pill--ax { background: #FF8DC4; }
.pill--pr { background: #5EE0C8; }

/* --- お問い合わせ --------------------------------------------------------- */
.panel--last { margin-top: -48px; padding: 96px 0 120px; }
.marquee--contact .marquee__track {
  gap: 64px; padding-right: 64px;
  font-size: clamp(64px, 12vw, 160px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  animation-duration: 30s;
}
.marquee--contact .grad-text { padding-bottom: .08em; }
.contact__inner { margin-top: 48px; text-align: center; }
.contact__text { color: var(--muted); font-weight: 500; }
.contact__buttons {
  margin: 32px auto 0; max-width: 820px;
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .contact__buttons { grid-template-columns: 1fr 1fr; } }
.contact-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 120px; padding: 24px 64px 24px 28px;
  border-radius: 24px; text-decoration: none; text-align: left;
  transition: transform .2s ease;
}
.contact-card:hover { transform: translateY(-2px); }
.contact-card--corp { background: var(--primary); color: var(--on-primary); }
.contact-card--free { background: var(--deep); color: #fff; }
.contact-card__en { font-family: "Plus Jakarta Sans", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.contact-card__ja { font-size: 20px; font-weight: 700; }
.contact-card__arrow {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); font-weight: 700;
}
.contact__recruit { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; }
.contact__recruit-label { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--secondary-ink); }
.contact__recruit-ja { margin-left: 8px; font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.contact__recruit a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--text); text-underline-offset: 5px; }

/* --- フッター ------------------------------------------------------------ */
.footer { background: var(--deep); color: #fff; padding: 72px 0 32px; }
.footer__inner { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer__logo { display: inline-flex; min-height: 44px; align-items: center; }
.footer__logo .logo { width: 180px; height: auto; color: #fff; }
.footer__catch { margin-top: 12px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--deep-muted); }
.footer__nav { display: grid; gap: 24px 40px; grid-template-columns: max-content max-content; }
@media (min-width: 900px) { .footer__nav { gap: 24px 64px; } }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__copy {
  max-width: 1160px; margin: 48px auto 0; padding: 24px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px; color: var(--deep-muted);
}
@media (min-width: 768px) { .footer__copy { padding-inline: 32px; } }

/* --- 演出（画面の外から入ってきた要素だけ、ふわっと出す） ----------------------- */
/* 初期状態では隠さない。site.js が「画面の外にあった要素」にだけ .is-in を付けて
   アニメーションを一度流す。JS が落ちても全部見えたまま。 */
.reveal.is-in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal.is-in { animation: none; }
  .btn, .btn__arrow, .contact-card, .header { transition: none; }
}
