@charset "UTF-8";
/* ============================================================
   AiRaise v2 Design System
   Design language: oversized typography, pill glass nav,
   super-rounded sections, scroll-driven motion, logo marquee.
   Brand: teal #2C9E8E / gold #D4A373 / warm neutrals
   ============================================================ */

:root {
  /* Colors */
  --teal: #2C9E8E;
  --teal-deep: #1A6B60;
  --teal-ink: #0E2B27;
  --teal-pale: #E4F0ED;
  --teal-mist: #EEF4F2;
  --gold: #D4A373;
  --gold-soft: #F0E2D0;
  --ink: #15211F;
  --ink-soft: #3D4A47;
  --gray: #7C8A86;
  --line: #DCE5E2;
  --bg: #F2F5F4;
  --surface: #FFFFFF;
  --footer-bg: #161F1D;

  /* Typography */
  --font-en: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* Radius */
  --r-card: 24px;
  --r-lg: 40px;
  --r-section: 56px;
  --r-pill: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: clip;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--teal); color: #fff; }

/* ---------- Utilities ---------- */
.en { font-family: var(--font-en); letter-spacing: 0.01em; }
/* 見出しの中途半端な改行を防ぐ（1〜2文字だけ次行に落ちるのを回避） */
h1, h2, h3 { text-wrap: balance; }
@supports (word-break: auto-phrase) {
  h1, h2, h3 { word-break: auto-phrase; } /* 日本語の文節単位で折り返す（対応ブラウザのみ） */
}
/* 段落の最終行が「す。」のように極端に短くなるのを防ぐ（対応ブラウザのみ） */
p { text-wrap: pretty; }
.container { width: min(100% - 48px, 1224px); margin-inline: auto; }
.container-wide { width: min(100% - 32px, 1400px); margin-inline: auto; }

/* ============================================================
   Header / Pill Nav
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110; /* above .mobile-menu so the toggle stays clickable when the menu is open */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  pointer-events: none;
  transition: transform 0.5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header > * { pointer-events: auto; }

.brand-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-pill);
  padding: 10px 22px 10px 14px;
  box-shadow: 0 8px 32px rgba(21, 33, 31, 0.08);
}
.brand-pill img { height: 34px; width: auto; }
.brand-pill .brand-tag {
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(21, 33, 31, 0.08);
}
.nav-pill a {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
  white-space: nowrap;
}
.nav-pill a:hover { background: var(--teal-pale); color: var(--teal-deep); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 24px rgba(44, 158, 142, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
  white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(44, 158, 142, 0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-cta svg { width: 18px; height: 18px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px rgba(21,33,31,0.1);
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.35s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 23px; }
.nav-toggle span:nth-child(2) { top: 31px; }
.nav-toggle.is-open span:nth-child(1) { top: 27px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 27px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(242, 245, 244, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  place-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu a {
  font-size: 22px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--r-pill);
  transition: background 0.25s, color 0.25s;
}
.mobile-menu a:hover { background: var(--teal-pale); color: var(--teal-deep); }
.mobile-menu .menu-en {
  display: block;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.mobile-menu .btn-cta { margin-top: 24px; justify-content: center; }

/* ============================================================
   Hero — full-bleed pinned visual; content scrolls over it.
   Scroll: bg whitens & zooms, copy lifts away (driven by JS).
   ============================================================ */
.hero {
  position: sticky;
  top: 0;
  height: 100svh;
  z-index: 0;
  overflow: clip;
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.08) translateX(-1.5%); }
}
.hero-veil { /* whitens the scene as you scroll (JS sets opacity) */
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}
.hero-shade { /* keeps the copy legible over the art */
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,43,39,0.18) 0%, transparent 30%),
    linear-gradient(8deg, rgba(14,43,39,0.52) 0%, rgba(14,43,39,0.18) 38%, transparent 62%);
  pointer-events: none;
}
.hero-float { position: absolute; inset: 0; pointer-events: none; overflow: clip; }
.hero-float i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.9), rgba(44,158,142,0.45));
  filter: blur(1px);
  animation: floatDot 9s ease-in-out infinite;
}
.hero-float i:nth-child(1) { width: 14px; height: 14px; left: 12%; top: 28%; animation-delay: 0s; }
.hero-float i:nth-child(2) { width: 8px; height: 8px; left: 68%; top: 18%; animation-delay: -3s; }
.hero-float i:nth-child(3) { width: 18px; height: 18px; left: 84%; top: 56%; animation-delay: -5s; }
.hero-float i:nth-child(4) { width: 10px; height: 10px; left: 38%; top: 12%; animation-delay: -7s; }
@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-26px); opacity: 1; }
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 4.5vw, 80px);
  right: clamp(20px, 4.5vw, 80px);
  bottom: clamp(56px, 11vh, 130px);
  color: #fff;
  will-change: transform, opacity;
}
.hero-en-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: clamp(14px, 2vh, 26px);
}
.hero-en-label::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, var(--gold));
}
.hero-catch {
  /* 最長行「「できる」に変わる。」(約10.5字)が390px幅でも1行に収まるサイズ */
  font-size: clamp(28px, 8.2vw, 116px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.015em;
  text-shadow: 0 4px 50px rgba(14, 43, 39, 0.35);
}
.hero-catch .line { display: block; overflow: hidden; }
.hero-catch .line > span {
  display: inline-block;
  transform: translateY(112%);
  animation: heroLineUp 1.15s var(--ease-out) forwards;
}
.hero-catch .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero-catch .line:nth-child(3) > span { animation-delay: 0.28s; }
@keyframes heroLineUp { to { transform: translateY(0); } }
.hero-catch em { font-style: normal; color: #FFE9CF; }
.nowrap { white-space: nowrap; }
.hero-sub {
  margin-top: clamp(16px, 2.4vh, 28px);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: heroFade 1s var(--ease-out) 0.55s forwards;
}
.hero-badges { display: flex; gap: 10px; margin-top: clamp(16px, 2.4vh, 26px); flex-wrap: wrap; opacity: 0; animation: heroFade 1s var(--ease-out) 0.75s forwards; }
.hero-badges span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-deep);
  background: rgba(255,255,255,0.92);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(14,43,39,0.18);
}
@keyframes heroFade { to { opacity: 1; } }

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 4.5vw, 80px);
  bottom: clamp(28px, 5vh, 56px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.9);
  transform-origin: left;
  animation: cueLine 2s var(--ease-out) infinite;
}
@keyframes cueLine {
  0% { transform: scaleX(0); }
  50% { transform: scaleX(1); }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* Content that slides over the pinned hero */
.page-body {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: var(--r-section) var(--r-section) 0 0;
  box-shadow: 0 -24px 64px rgba(14, 43, 39, 0.12);
  margin-top: -2px;
}
.page-body > .section:first-child { padding-top: clamp(96px, 14vw, 180px); }

/* Big statement (first section after hero) */
.statement h2 {
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.statement h2 .accent { color: var(--teal-deep); }

/* ============================================================
   Sections
   ============================================================ */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }

.section-rounded {
  background: var(--surface);
  border-radius: var(--r-section);
  margin-inline: clamp(8px, 1.5vw, 24px);
}
.section-tint {
  background: var(--teal-mist);
  border-radius: var(--r-section);
  margin-inline: clamp(8px, 1.5vw, 24px);
}

/* Section heading with giant EN watermark */
.sec-head { position: relative; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .watermark {
  position: absolute;
  top: -0.72em;
  left: -0.04em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 160px);
  line-height: 1;
  color: var(--teal);
  opacity: 0.07;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.sec-head .sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.sec-head .sec-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}
.sec-head h2 {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.03em;
}
.sec-head .sec-sub { margin-top: 18px; color: var(--ink-soft); font-size: 15px; max-width: 640px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 16px 12px 16px 28px;
  transition: box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), border-color 0.3s;
}
.btn-more .arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  transition: transform 0.3s var(--ease-soft);
}
.btn-more .arrow svg { width: 16px; height: 16px; }
.btn-more:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 33, 31, 0.12); border-color: var(--teal-pale); }
.btn-more:hover .arrow { transform: translateX(4px); }
.btn-more.center { margin-inline: auto; display: flex; width: fit-content; }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-pill);
  padding: 16px 12px 16px 28px;
  transition: background 0.3s, transform 0.3s var(--ease-soft);
}
.btn-ghost-light .arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-deep);
  transition: transform 0.3s var(--ease-soft);
}
.btn-ghost-light .arrow svg { width: 16px; height: 16px; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.btn-ghost-light:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Cards
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}
.service-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px 18px 32px;
  box-shadow: 0 4px 24px rgba(21, 33, 31, 0.06);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(21, 33, 31, 0.12); }
.service-card .card-visual {
  border-radius: calc(var(--r-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--teal-mist);
}
.service-card .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.service-card:hover .card-visual img { transform: scale(1.05); }
.service-card .card-num {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
  background: rgba(255,255,255,0.9);
  padding: 4px 14px;
  border-radius: var(--r-pill);
}
.service-card h3 { font-size: 21px; font-weight: 900; margin: 24px 12px 0; line-height: 1.5; }
.service-card h3 .en-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.service-card p { font-size: 14px; color: var(--ink-soft); margin: 12px 12px 0; flex: 1; }
.service-card .card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 12px 0; }
.service-card .card-tags span {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-pale);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.service-card .card-link {
  margin: 22px 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
}
.service-card .card-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-soft); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(21,33,31,0.05);
}
.stat-card .stat-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.stat-card .stat-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}
.stat-card .stat-unit { font-size: 15px; font-weight: 900; color: var(--ink); margin-left: 2px; }

/* Testimonial (quote-led, small avatar — 顔写真は控えめに) */
.case-card.testimonial { padding: clamp(28px, 3.5vw, 44px); position: relative; }
.case-card.testimonial::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 26px;
  font-family: var(--font-en);
  font-size: 110px;
  line-height: 1;
  color: var(--teal-pale);
  pointer-events: none;
}
.case-person { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.case-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: none;
  border: 3px solid var(--teal-pale);
  box-shadow: 0 6px 16px rgba(21,33,31,0.12);
}
.case-person .cp-name { font-size: 14px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.case-person .cp-name small { display: block; font-size: 11.5px; color: var(--gray); font-weight: 700; margin-top: 2px; }

/* Case study cards */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.case-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(21,33,31,0.06);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(21,33,31,0.12); }
.case-card .case-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-mist); }
.case-card .case-photo .ph-blur { /* 同じ写真をぼかして背景に敷き、本体はcontainで全身表示＝顔が小さく見える */
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center 25%;
  filter: blur(26px) saturate(1.05) brightness(1.04);
  transform: scale(1.12);
}
.case-card .case-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-soft); }
.case-card:hover .case-photo img { transform: scale(1.04); }
.case-card .case-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.case-card .case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case-card .case-meta span {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.case-card h3 { font-size: 19px; font-weight: 900; line-height: 1.6; }
.case-card .case-quote { font-size: 14px; color: var(--ink-soft); margin-top: 12px; flex: 1; }
.case-card .case-company { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--gray); }

/* ============================================================
   Marquee (partners / badges)
   ============================================================ */
.marquee {
  overflow: clip;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  animation: marqueeMove 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

.logo-chip {
  display: grid;
  place-items: center;
  width: clamp(180px, 18vw, 240px);
  height: clamp(110px, 12vw, 150px);
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: 0 6px 24px rgba(21,33,31,0.07);
  padding: 24px;
}
.logo-chip img { max-height: 56px; width: auto; object-fit: contain; }
.logo-chip .chip-text {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}
.logo-chip .chip-text small { display: block; font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 0.08em; }

/* ============================================================
   Stage & Media cards（登壇・メディア実績）＋ マーキー手動操作
   ============================================================ */
.stage-card { width: clamp(260px, 30vw, 360px); background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 6px 24px rgba(21,33,31,0.07); flex: none; }
.stage-photo { aspect-ratio: 3 / 2; background: var(--teal-mist); }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; }
.stage-marquee .marquee-track { align-items: flex-start; }
.stage-body { padding: 18px 22px 22px; }
.stage-body h3 { font-size: 14.5px; font-weight: 900; line-height: 1.7; }
.stage-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stage-meta span { font-size: 11px; font-weight: 700; color: var(--teal-deep); background: var(--teal-pale); padding: 3px 10px; border-radius: var(--r-pill); }
/* 自動＋手動（JS制御）。ドラッグ可・ボタン操作可 */
.stage-marquee { cursor: grab; }
.stage-marquee.grabbing { cursor: grabbing; }
.stage-marquee.grabbing a { pointer-events: none; }
.marq-ctrl { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.marq-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--teal-deep); font-size: 24px; line-height: 1; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(21,33,31,0.07); transition: transform 0.2s, background 0.2s, color 0.2s; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.marq-btn:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.marq-btn:active { transform: translateY(0); }

/* ============================================================
   Journal / News cards
   ============================================================ */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.journal-card {
  background: var(--surface);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(21,33,31,0.05);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
  display: flex;
  flex-direction: column;
}
.journal-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(21,33,31,0.11); }
.journal-card .journal-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--teal-pale), var(--gold-soft)); overflow: hidden; }
.journal-card .journal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-soft); }
.journal-card:hover .journal-thumb img { transform: scale(1.05); }
.journal-card .journal-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.journal-card .journal-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.journal-card .journal-meta time { font-family: var(--font-en); font-size: 12px; color: var(--gray); font-weight: 500; }
.journal-card .journal-meta .cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 3px 12px;
  border-radius: var(--r-pill);
}
.journal-card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.7; flex: 1; }

.news-list { display: grid; gap: 2px; border-radius: var(--r-card); overflow: hidden; }
.news-item {
  display: grid;
  grid-template-columns: 110px 120px 1fr 24px;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  padding: 24px 32px;
  transition: background 0.25s;
}
.news-item:hover { background: var(--teal-mist); }
.news-item time { font-family: var(--font-en); font-size: 13px; color: var(--gray); font-weight: 500; }
.news-item .cat {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 4px 0;
  border-radius: var(--r-pill);
}
.news-item p { font-size: 14.5px; font-weight: 700; }
.news-item svg { width: 16px; height: 16px; color: var(--teal); transition: transform 0.3s var(--ease-soft); }
.news-item:hover svg { transform: translateX(4px); }

/* ============================================================
   GrowStep (recruit-like) band
   ============================================================ */
.growstep-band {
  position: relative;
  border-radius: var(--r-section);
  margin-inline: clamp(8px, 1.5vw, 24px);
  overflow: clip;
  background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 70%, #3FB3A2 100%);
  color: #fff;
}
.growstep-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.growstep-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px);
}
.growstep-inner .gs-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  display: block;
}
.growstep-inner h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.6; }
.growstep-inner p { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,0.92); }
.growstep-inner .gs-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(14, 43, 39, 0.35);
  transform: rotate(2deg);
}

/* ============================================================
   Download & Contact dual cards
   ============================================================ */
.cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
}
.cta-single { max-width: 720px; margin-inline: auto; }
.cta-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  overflow: clip;
  box-shadow: 0 4px 24px rgba(21,33,31,0.06);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(21,33,31,0.13); }
.cta-card .cta-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-deep);
}
.cta-card h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.cta-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.cta-card .cta-illust {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: clamp(140px, 16vw, 220px);
  mix-blend-mode: multiply;
  opacity: 0.95;
  transition: transform 0.5s var(--ease-soft);
  pointer-events: none;
}
.cta-card:hover .cta-illust { transform: translateY(-8px) rotate(-3deg); }
.cta-card .btn-more { width: fit-content; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 2; /* must cover the pinned hero, same as .page-body */
  margin-top: 0;
  background: var(--footer-bg);
  color: #E8EEEC;
  border-radius: var(--r-section) var(--r-section) 0 0;
  overflow: clip;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.footer-giant {
  position: relative;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 110px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  padding: clamp(60px, 8vw, 110px) 0 clamp(30px, 4vw, 60px);
  background: linear-gradient(110deg, #fff 30%, var(--teal) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 56px;
}
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { margin-top: 18px; font-size: 13px; color: #9FB0AC; line-height: 1.9; }
.footer-col h4 {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: #C2CFCB; transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0 36px;
  font-size: 12px;
  color: #879894;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a:hover { color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-scale.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}

/* ============================================================
   Page hero (subpages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(50px, 7vw, 90px);
  overflow: clip;
  background:
    radial-gradient(900px 500px at 90% 0%, var(--teal-pale) 0%, transparent 60%),
    var(--bg);
}
.page-hero .ph-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  -webkit-text-stroke: 1px rgba(44, 158, 142, 0.18);
  text-shadow: 0 2px 40px rgba(26, 107, 96, 0.12);
}
.page-hero h1 { margin-top: 18px; font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.6; }
.page-hero .ph-lead { margin-top: 16px; max-width: 660px; color: var(--ink-soft); font-size: 15px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--gray); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav-pill { display: none; }
  .site-header .btn-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-duo { grid-template-columns: 1fr; }
  .growstep-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { right: -25%; width: 90vw; opacity: 0.85; top: 42%; }
  .hero-lead { top: 18vh; max-width: min(86vw, 480px); }
  .news-item { grid-template-columns: 90px 1fr 20px; }
  .news-item .cat { display: none; }
}
@media (max-width: 560px) {
  .journal-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(44px, 14vw, 80px); padding-bottom: 14vh; }
  .section-rounded, .section-tint, .growstep-band { border-radius: 32px; }
  .site-footer { border-radius: 32px 32px 0 0; }
}
