/* ===== CMC Tokens — LIGHT navy/purple B2B ===== */
:root {
  --brand-purple: #7E1085;
  --brand-navy: #373A9E;
  --brand-teal: #54ABAA;
  --brand-teal-deep: #108583;
  --brand-violet: #4A1D96;
  --brand-cyan: #108583;
  --brand-aqua: #108583;
  --brand-lavender: #7E1085;

  /* Surfaces (light) */
  --bg-deep: #FFFFFF;       /* hero, footer (was near-black) */
  --bg-soft: #F4F2FA;       /* history/pillars sections */
  --bg-card: #FFFFFF;       /* elevated card */
  --bg-card-hi: #F7F5FA;    /* hover */
  --surface-white: #FFFFFF;
  --surface-paper: #F7F5FA;

  /* Text (was 'on dark', now reused for dark surfaces that remain) */
  --text-hi: #03030b;
  --text-md: #0B0A1E;
  --text-lo: #3A3866;
  --text-muted: #3A3866;

  /* Text on light */
  --ink: #03030b;
  --ink-2: #0B0A1E;
  --ink-3: #3A3866;
  --ink-4: #3A3866;

  /* Lines — reused dark-named vars now carry light-mode line colors */
  --line-dark: rgba(11,10,30,0.08);
  --line-dark-hi: rgba(11,10,30,0.14);
  --line-light: #E8E6F2;

  /* Gradients */
  --grad-primary: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-navy) 52%, var(--brand-teal) 100%);
  --grad-cta: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-navy) 100%);
  --grad-accent: linear-gradient(135deg, var(--brand-lavender) 0%, var(--brand-cyan) 100%);
  --grad-text: linear-gradient(90deg, #7E1085 0%, #373A9E 55%, #108583 100%);
  --grad-card-ai: linear-gradient(135deg, #2A1B5C 0%, #1B1140 60%, #1F2B5C 100%);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1216px;
  --pad-x: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-dark: 0 20px 40px -20px rgba(30,20,80,0.18), 0 4px 10px -4px rgba(30,20,80,0.08);
  --shadow-lift: 0 30px 60px -30px rgba(30,20,80,0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* 親テーマ(mdtemplate-base)の a が color を上書きしてくるため、同じ詳細度で打ち消す。
   a:hover 側は「継承」だと文脈次第で意図しない色になる場合がある
   （例: ダーク背景上の白背景ボタンが白文字を継承して見えなくなる）ため、
   ここでは汎用リセットせず、影響を受けるボタン系クラス側を
   :not(:root) で詳細度を上げて個別に対処している
   （.btn-primary / .btn-contact / .btn-on-dark--solid / .btn-on-dark--outline）。 */
a { color: inherit; }

body {
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* Eyebrow pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,16,133,0.12), rgba(84,171,170,0.12));
  border: 1px solid rgba(168,139,255,0.25);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-lavender);
  width: fit-content;
}
.eyebrow-pill--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--brand-cyan);
}
.eyebrow-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  box-shadow: 0 0 10px var(--brand-teal-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  color: var(--ink);
}
.section-title--dark { color: var(--text-hi); }
.section-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-4);
  text-wrap: pretty;
  max-width: 720px;
}
.section-subtitle--dark { color: var(--text-md); }

/* ===== WebP 配信のための <picture> ラッパー ===== */
/* cmc_picture() が <img> を <picture> で包むため、包み要素をボックスツリーから
   外して <img> を元どおり親の直接の子として扱わせる。これが無いと
   .page-hero-media img { height:100% } のような指定の基準が
   inline な <picture> になり、高さが潰れる。 */
picture {
  display: contents;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: background 240ms ease, border-color 240ms ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-md);
  transition: color 160ms ease;
  position: relative;
}
.nav a:hover { color: var(--text-hi); }
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-accent);
  transition: width 220ms ease, left 220ms ease;
  border-radius: 2px;
}
.nav a:hover::after { width: 18px; left: calc(50% - 9px); }
.header-right { display: flex; align-items: center; gap: 24px; }
.btn-contact:not(:root) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(11,10,30,0.3);
}
.btn-contact svg { width: 11px; height: 11px; }

/* ===== Logo image (new) ===== */
.logo-img {
  display: block;
  height: 40px;
  width: auto;
}

/* ===== Mega menu navigation ===== */
.nav--mega { gap: 4px; }
.nav--mega .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 0;
  font: 500 14px/1 var(--font-body);
  color: var(--text-md);
  letter-spacing: 0.1px;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}
.nav--mega .nav-link:hover,
.nav--mega .nav-link:focus-visible {
  color: var(--text-hi);
  background: rgba(15,17,30,0.05);
  outline: none;
}
.nav--mega .nav-link::after { content: none; }
.nav-chevron {
  transition: transform 220ms ease;
  color: currentColor;
}
.nav-item {
  position: relative;
}
.nav-item--mega:hover > .nav-link .nav-chevron,
.nav-item--mega[data-open] > .nav-link .nav-chevron {
  transform: rotate(180deg);
}
.nav-item--mega:hover > .nav-link,
.nav-item--mega[data-open] > .nav-link {
  color: var(--text-hi);
  background: rgba(15,17,30,0.05);
}

/* Panel */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  box-shadow: 0 24px 56px -20px rgba(15,17,30,0.22), 0 4px 14px -4px rgba(15,17,30,0.08);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 100;
}
/* Invisible bridge so the hover doesn't drop when crossing the gap */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  height: 14px;
}
.nav-item--mega:hover > .mega-menu,
.nav-item--mega:focus-within > .mega-menu,
.nav-item--mega[data-open] > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-inner {
  display: grid;
  gap: 4px;
}
.mega-menu--cols-2 .mega-menu-inner {
  grid-template-columns: 1fr 1fr;
  width: 560px;
}
.mega-menu:not(.mega-menu--cols-2) .mega-menu-inner {
  width: 320px;
}

/* Item card */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 180ms ease;
}
.mega-item:hover {
  background: var(--bg-soft);
}
.mega-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mega-item-body strong {
  font: 600 14px/1.3 var(--font-body);
  color: var(--ink);
  letter-spacing: -0.2px;
}
.mega-item-body p {
  margin: 0;
  font: 400 12.5px/1.5 var(--font-body);
  color: var(--text-md);
}

/* Mobile — collapse mega menu to stacked list */
@media (max-width: 920px) {
  .nav--mega {
    display: none;
  }
}

/* ===== Mobile hamburger nav ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line-dark-hi);
  border-radius: 12px;
  background: var(--surface-white);
  box-shadow: 0 2px 10px -2px rgba(11, 10, 30, 0.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 240ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer { position: fixed; inset: 0; z-index: 60; }
.mobile-drawer[hidden] { display: none; }
.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 30, 0.42);
  opacity: 0;
  transition: opacity 260ms ease;
}
.mobile-drawer.is-open .mobile-drawer-overlay { opacity: 1; }
.mobile-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 80px 24px 32px;
  background: var(--surface-white);
  box-shadow: -16px 0 48px -12px rgba(11, 10, 30, 0.18);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-md);
  cursor: pointer;
}
.mobile-drawer-close:hover { color: var(--text-hi); }
.mobile-nav-group {
  padding: 16px 8px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.mobile-nav-link {
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-hi);
  transition: background 160ms ease;
}
.mobile-nav-link:hover { background: var(--bg-soft); }
.mobile-nav-link--sub {
  padding-left: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-md);
}
.mobile-nav-link[aria-current="page"] {
  background: var(--bg-soft);
  font-weight: 700;
}
.mobile-nav-cta {
  margin-top: 16px;
  padding: 14px 24px;
  border-radius: 9999px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: transform 200ms ease;
}
.mobile-nav-cta:hover { transform: translateY(-1px); }
body.no-scroll { overflow: hidden; }

/* Responsive: show hamburger + float the Contact button (must come AFTER the
   base .nav-toggle rule so it wins at <=920px) */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }
  /* Contact becomes a floating button, bottom-right; header keeps only the hamburger */
  .btn-contact {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 55;
    padding: 13px 22px;
    box-shadow: 0 12px 32px -8px rgba(11, 10, 30, 0.45);
    transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  }
  /* Hide the floating button while the drawer is open */
  body.no-scroll .btn-contact {
    opacity: 0;
    pointer-events: none;
  }
  /* Complianz の「Manage consent」タブ（右下・高さ 50px）が表示されている間は、
     フローティングの Contact ボタンをタブの上に持ち上げて重ならないようにする。
     タブが隠れている間（読み込み直後の .cmplz-hidden、バナー表示中の .cmplz-dismissed）は元の位置に戻る。 */
  body:has(#cmplz-manage-consent .cmplz-manage-consent:not(.cmplz-hidden):not(.cmplz-dismissed)) .btn-contact {
    bottom: calc(var(--cmplz-manage-consent-height, 50px) + 16px);
  }
  /* タブの右端を Contact ボタン（right: 16px）にそろえる。Complianz の既定は right: 40px。
     Complianz のCSSより詳細度を上げるため body を付けている。 */
  body #cmplz-manage-consent .cmplz-manage-consent {
    right: 16px;
  }
}

/* ===== Shared buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  transition: all 240ms cubic-bezier(0.2,0.7,0.2,1);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary:not(:root) {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 14px 30px -10px rgba(126,16,133,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(126,16,133,0.8), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-ghost:not(:root) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-dark-hi);
}
.btn-ghost:hover {
  background: rgba(11,10,30,0.03);
  border-color: rgba(11,10,30,0.3);
}
.btn .arrow {
  display: inline-grid;
  place-items: center;
  transition: transform 220ms ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===== 1. HERO + STATS ===== */
.hero {
  position: relative;
  padding: 128px var(--pad-x) 64px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.94)),
    url("../img/cityscape.jpg") center 18% / cover no-repeat;
  animation: hero-bg-drift 18s ease-in-out infinite alternate;
}
.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb--a {
  top: -160px; right: -180px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(126,16,133,0.20), transparent 65%);
}
.hero-orb--b {
  top: 300px; left: -240px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(55,58,158,0.16), transparent 65%);
}
/* Floating AI / tech line-icons in the hero */
.hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-icon {
  position: absolute;
  display: block;
  width: 44px;
  height: 44px;
  opacity: 0.5;
  animation: hero-icon-float 7s ease-in-out infinite;
}
.hero-icon svg { width: 100%; height: 100%; display: block; }
/* Clustered tightly beside the CTA buttons + stats, kept ABOVE the products
   card below so they aren't covered: 3 on the left, 3 on the right. */
.hero-icon--1 { top: 44%; left: 7%;   color: var(--brand-purple);     width: 42px; height: 42px; animation-duration: 7.5s; }
.hero-icon--3 { top: 48%; left: 20%;  color: var(--brand-teal-deep);  width: 38px; height: 38px; animation-duration: 8s;   animation-delay: -2.4s; }
.hero-icon--5 { top: 53%; left: 12%;  color: var(--brand-purple);     width: 38px; height: 38px; animation-duration: 8.5s; animation-delay: -3s; }
.hero-icon--2 { top: 44%; right: 7%;  color: var(--brand-teal-deep);  width: 42px; height: 42px; animation-duration: 6.5s; animation-delay: -1.2s; }
.hero-icon--4 { top: 48%; right: 20%; color: var(--brand-purple);     width: 38px; height: 38px; animation-duration: 7s;   animation-delay: -0.6s; }
.hero-icon--6 { top: 53%; right: 12%; color: var(--brand-teal-deep);  width: 38px; height: 38px; animation-duration: 6.8s; animation-delay: -1.8s; }
@keyframes hero-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-icon { animation: none; }
}

@keyframes hero-bg-drift {
  from { background-position: center 18%; }
  to { background-position: center 25%; }
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-teal-deep);
  box-shadow: 0 4px 16px -4px rgba(30,20,80,0.08);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 84px;
  line-height: 1.02;
  letter-spacing: -3.5px;
  color: var(--text-hi);
  margin-top: 28px;
  max-width: 1100px;
  text-wrap: balance;
}
.hero-h1-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -3px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

/* ===== 2. TRUST STRIP ===== */
.trust-strip {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FBFAFE 100%);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-heading p {
  max-width: 560px;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
}
.trust-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.news-strip {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(126,16,133,0.12);
  background:
    radial-gradient(circle at 10% 50%, rgba(126,16,133,0.09), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(84,171,170,0.12), transparent 34%),
    #FFFFFF;
  box-shadow: 0 24px 54px -38px rgba(30,20,80,0.45);
}
.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.news-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11,10,30,0.08);
  background: rgba(255,255,255,0.86);
  color: var(--brand-purple);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px -24px rgba(30,20,80,0.55);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.news-button:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 18px 34px -24px rgba(30,20,80,0.7);
}
.news-button--primary {
  background: var(--grad-cta);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 18px 36px -22px rgba(126,16,133,0.8);
}
.news-button--primary:hover {
  background: var(--grad-cta);
}
.news-actions--regions { gap: 12px; }
.news-button-flag {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
/* ===== 2. TRUST STRIP ===== */
.trust-strip {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #FBFAFE 100%);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-strip {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-heading p {
  max-width: 560px;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
}
.trust-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}
.news-strip {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(126,16,133,0.12);
  background:
    radial-gradient(circle at 10% 50%, rgba(126,16,133,0.09), transparent 34%),
    radial-gradient(circle at 90% 50%, rgba(84,171,170,0.12), transparent 34%),
    #FFFFFF;
  box-shadow: 0 24px 54px -38px rgba(30,20,80,0.45);
}
.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.news-button:not(:root) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(11,10,30,0.08);
  background: rgba(255,255,255,0.86);
  color: var(--brand-purple);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px -24px rgba(30,20,80,0.55);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.news-button:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 18px 34px -24px rgba(30,20,80,0.7);
}
.news-button--primary:not(:root) {
  background: var(--grad-cta);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 18px 36px -22px rgba(126,16,133,0.8);
}
.news-button--primary:hover {
  background: var(--grad-cta);
}
.news-actions--regions { gap: 12px; }
.news-button-flag {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
/* SNSロゴは元画像が正方形ではない（LI-In-Bug 635x540 / InBug-White 840x779）。
   width/height 属性の正方形ボックスは維持したまま、ロゴ自体は歪ませない。 */
.news-button-flag img,
.careers-role-link img {
  object-fit: contain;
}

/* ===== 3. FOUNDATION ===== */
.foundation {
  position: relative;
  background: #FFFFFF;
  padding: 64px 0 96px;
  overflow: hidden;
}
.foundation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126,16,133,0.05), transparent 42%, rgba(84,171,170,0.06)),
    radial-gradient(circle at 74% 16%, rgba(84,171,170,0.18), transparent 34%);
  pointer-events: none;
}
.foundation-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: center;
}
.foundation-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.foundation-diagram {
  min-height: 440px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,245,250,0.96)),
    linear-gradient(135deg, rgba(126,16,133,0.08), rgba(84,171,170,0.08));
  box-shadow: var(--shadow-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.foundation-diagram--image {
  min-height: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: var(--radius-lg);
}
.foundation-diagram--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ===== 4. PROOF ===== */
.history {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
  overflow: hidden;
}
.history::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse, rgba(126,16,133,0.06), transparent 70%);
  pointer-events: none;
}
.history-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.history-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.history-head .section-subtitle { max-width: 680px; margin: 0 auto; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.proof-card {
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 24px -12px rgba(30,20,80,0.12);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126,16,133,0.35);
  box-shadow: 0 20px 40px -20px rgba(126,16,133,0.2);
}
.proof-card--accent {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    var(--grad-primary) border-box;
  border-color: transparent;
}
.proof-card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 16px;
}
.proof-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 16px;
}
.proof-card p {
  font-size: 15px;
  line-height: 26px;
  color: var(--ink-3);
}

/* ===== 3. PILLARS ===== */
.pillars {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.pillars-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.pillars-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.pillars-head .section-title { max-width: 820px; text-wrap: balance; }
.pillars-head .section-subtitle { margin: 0 auto; }

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 20px 40px -24px rgba(30,20,80,0.12);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(126,16,133,0.35);
}
.pillar--develop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.pillar--develop .pillar-left { order: 2; }
.pillar--develop .pillar-right { order: 1; }

.pillar-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar-num {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -2px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.pillar-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-top: 4px;
  text-wrap: balance;
}
.pillar-body {
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-3);
  max-width: 520px;
  margin-top: 4px;
}
.pillar-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.pillar-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink-2);
}
.pillar-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168,139,255,0.18), rgba(0,204,200,0.2));
  color: var(--brand-purple);
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.pillar-check svg { width: 12px; height: 12px; }

.pillar-right {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
  background: #F4F2FA;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-dark);
}

/* Image-based pillar panel (図版を画像に差し替えたパターン) */
.pillar-right--image {
  padding: 0;
  background: none;
  display: block;
}
.pillar-right--image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
/* ===== 4. TESTIMONIAL ===== */
.testimonial {
  position: relative;
  padding: 140px var(--pad-x);
  background: #FFFFFF;
  overflow: hidden;
}
.testimonial-orb {
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,16,133,0.08), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.testimonial-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.testimonial-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
  max-width: 520px;
}
.testimonial-quote {
  position: relative;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink);
  font-style: normal;
  font-weight: 400;
  padding-left: 20px;
  border-left: 3px solid var(--brand-purple);
  max-width: 620px;
  text-wrap: balance;
}
.testimonial-attrib {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
}
.attrib-avatar {
  width: 52px; height: 52px;
  flex-shrink: 0; /* keep the circular avatar from squishing into an oval when the role text wraps on mobile */
  border-radius: 50%;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #FFFFFF;
}
.attrib-initials { font-size: 16px; }
.attrib-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}
.attrib-role {
  font-size: 13px;
  color: var(--ink-4);
  margin-top: 3px;
}

/* ===== Person figure (Goodpatch-inspired) ===== */
.testimonial-figure {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
}
.person-figure {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
}
/* ===== 5. PRODUCTS (image-left / desc-right rows) ===== */
.products {
  position: relative;
  padding: 96px var(--pad-x) 64px;
  background: var(--bg-soft);
}
.products-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.products-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
}
.products-head .section-title { color: var(--ink); }
.products-head .section-subtitle { color: var(--ink-3); margin: 0 auto; }

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}
.product-row + .product-row {
  border-top: 1px solid var(--line-light);
  margin-top: 32px;
  padding-top: 80px;
}
.product-row-image {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11,10,30,0.08);
  background: var(--bg-card);
  box-shadow: 0 30px 60px -30px rgba(30,20,80,0.35), 0 4px 12px -4px rgba(30,20,80,0.08);
}
/* Image-based product panel (図版を画像に差し替えたパターン) */
.product-row-image--photo {
  padding: 0;
  display: block;
}
.product-row-image--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-row-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-row-ribbon {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.ribbon-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #FFFFFF;
  font-size: 10px;
}
.ribbon-badge--teal { background: linear-gradient(135deg, var(--brand-cyan), var(--brand-aqua)); }
.product-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--ink);
  text-wrap: balance;
}
.product-row-desc {
  font-size: 16px;
  line-height: 28px;
  color: var(--ink-3);
  max-width: 520px;
  text-wrap: pretty;
}
.product-row-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.product-row-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-2);
}
.product-row-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--brand-teal-deep);
  border-radius: 1px;
}
.product-row-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--brand-purple);
  padding: 8px 0;
  transition: gap 220ms ease, color 220ms ease;
  width: fit-content;
  margin-top: 4px;
}
.product-row-link:hover {
  gap: 16px;
  color: var(--ink);
}

/* ===== 6. CAREERS ===== */
.careers {
  position: relative;
  padding: 64px var(--pad-x) 96px;
  background: var(--bg-soft);
  overflow: hidden;
}
.careers-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.careers-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(126,16,133,0.08), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.careers-card {
  position: relative;
  border-radius: 28px;
  padding: 80px;
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  box-shadow: 0 40px 80px -40px rgba(30,20,80,0.2), 0 2px 8px -2px rgba(30,20,80,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

/* Rich variant: side-by-side media + copy */
.careers-card--rich {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: stretch;
  padding: 56px;
}
.careers-card--rich::before { display: none; }

.careers-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 16px;
  z-index: 2;
}
.careers-media-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #1B6F7A;
  box-shadow: 0 24px 48px -24px rgba(30,20,80,0.3);
}
.careers-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.careers-card--rich:hover .careers-media-main img { transform: scale(1.03); }
.careers-media-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11,10,30,0.72);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.careers-media-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #45D3BE;
  box-shadow: 0 0 8px #45D3BE;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.careers-media-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-height: 0;
}
.careers-media-quote {
  position: relative;
  border-radius: 16px;
  padding: 24px 24px 16px;
  background: linear-gradient(135deg, #F4F2FA 0%, #FFFFFF 100%);
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.careers-media-quote-mark {
  position: absolute;
  top: -8px; left: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 1;
  color: var(--brand-purple);
  opacity: 0.3;
  pointer-events: none;
}
.careers-media-quote p {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 28px;
  text-wrap: pretty;
}
.careers-media-quote-attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}
.careers-media-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.careers-media-quote-attrib > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.careers-media-quote-attrib strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.careers-media-quote-attrib span {
  font-size: 11px;
  color: var(--ink-4);
  margin-top: 2px;
}

/* Copy column */
.careers-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.careers-copy .careers-title {
  font-size: 48px;
  text-align: left;
  max-width: none;
  letter-spacing: -1.6px;
}
.careers-copy .careers-desc {
  text-align: left;
  max-width: 520px;
}

.careers-roles {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  margin-top: 8px;
}
.careers-roles li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 16px;
  transition: background 180ms ease;
  cursor: pointer;
}
.careers-roles li + li { border-top: 1px solid var(--line-light); }
.careers-roles li:hover { background: #F7F5FA; }
.careers-role-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.careers-role-meta strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.1px;
}
.careers-role-meta span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-4);
}

.careers-card--rich .careers-actions {
  margin-top: 8px;
  flex-wrap: wrap;
}
.careers-card--rich .careers-locs {
  width: 100%;
  margin-top: 4px;
  padding-top: 24px;
}
.careers-card::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(126,16,133,0.08), transparent 60%);
  pointer-events: none;
}
.careers-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  text-wrap: balance;
  max-width: 760px;
}
.careers-desc {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-3);
  max-width: 580px;
  text-wrap: pretty;
}
.careers-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.careers-locs {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: #0B0A1E;
  border-top: 1px solid transparent;
  padding: 72px 0 40px;
  color: #CBCBE3;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 360px repeat(3, 1fr);
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  /* JPG has white background — wrap it in a small white pill so the brand mark
     reads cleanly on the dark footer */
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
  box-sizing: content-box;
}
.footer-tag {
  font-size: 14px;
  line-height: 22px;
  color: #8989A8;
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CBCBE3;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  font-size: 14px;
  line-height: 20px;
  color: #8989A8;
  transition: color 160ms ease;
}
.footer-col li a:hover { color: #FFFFFF; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5F5F82;
}
.footer-locs {
  display: flex;
  gap: 8px;
  color: #8989A8;
}

/* Dot pulse */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* ===== Responsive polish from PDF feedback ===== */
@media (max-width: 1024px) {
  :root {
    --pad-x: 24px;
  }

  .header {
    height: 64px;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-h1 {
    font-size: 68px;
  }

  .foundation-inner,
  .testimonial-grid,
  .careers-card--rich {
    grid-template-columns: 1fr;
  }

  .foundation-copy,
  .careers-copy {
    align-items: center;
    text-align: center;
  }

  .careers-copy .careers-title,
  .careers-copy .careers-desc {
    text-align: center;
  }

  .pillar,
  .pillar--develop {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillar--develop .pillar-left,
  .pillar--develop .pillar-right {
    order: initial;
  }

  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row--reverse .product-row-image {
    order: initial;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .btn-contact {
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero {
    padding: 104px 20px 64px;
    min-height: auto;
  }

  /* Mobile: keep only the 4 corner icons (hide the mid-side ones so they
     don't sit behind the centered hero text); smaller and more subtle. */
  .hero-icon { opacity: 0.4; width: 32px; height: 32px; }
  .hero-icon--1, .hero-icon--2,
  .hero-icon--5, .hero-icon--6 { width: 32px; height: 32px; }
  .hero-icon--3, .hero-icon--4 { display: none; }
  .hero-icon--1 { top: 13%; left: 5%; }
  .hero-icon--2 { top: 13%; right: 5%; }
  .hero-icon--5 { bottom: 10%; left: 7%; }
  .hero-icon--6 { bottom: 10%; right: 7%; }

  .hero-eyebrow {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: 0.11em;
    text-align: left;
  }

  .hero-h1 {
    font-size: 42px;
    line-height: 1.04;
    letter-spacing: -1.8px;
    margin-top: 24px;
  }

  .hero-h1-accent {
    letter-spacing: -1.5px;
  }

  .hero-actions,
  .careers-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding: 16px 16px;
  }

  .trust-inner {
    gap: 16px;
    padding: 24px 16px;
  }

  .trust-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .trust-heading p {
    text-align: left;
  }

  .news-strip {
    padding: 20px;
  }

  .news-actions {
    flex-direction: column;
  }

  .news-button {
    width: 100%;
  }

  .foundation,
  .history,
  .pillars,
  .products,
  .careers {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Section padding rhythm (mobile): same-bg=80 / break-bg=56 */
  .foundation { padding-top: 80px; padding-bottom: 56px; }
  .history    { padding-top: 56px; padding-bottom: 56px; }
  .pillars    { padding-top: 56px; padding-bottom: 56px; }
  .products   { padding-top: 56px; padding-bottom: 80px; }
  .careers    { padding-top: 80px; padding-bottom: 56px; }

  .foundation-inner,
  .history-inner,
  .pillars-inner,
  .products-inner,
  .careers-inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Footer keeps side padding on mobile so its content doesn't touch the
     screen edges (unlike the sections above, the footer has no other
     horizontal padding source). */
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title,
  .careers-title,
  .careers-copy .careers-title {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.8px;
  }

  .section-subtitle,
  .careers-desc {
    font-size: 15px;
    line-height: 24px;
  }

  .foundation-diagram {
    min-height: 0;
    padding: 24px;
  }

  .foundation-diagram--image {
    padding: 0;
  }

  .proof-card p,
  .pillar-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    padding: 24px;
  }

  .proof-card h3 {
    font-size: 22px;
  }

  .proof-card p {
    -webkit-line-clamp: 4;
  }

  .pillar {
    padding: 28px 24px;
    min-height: 0;
  }

  .pillar-num {
    font-size: 48px;
  }

  .pillar-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .pillar-body {
    font-size: 15px;
    line-height: 24px;
    -webkit-line-clamp: 4;
  }

  .pillar-points {
    gap: 12px;
  }

  .pillar-points li {
    font-size: 14px;
    line-height: 20px;
  }

  .pillar-right {
    min-height: 300px;
    padding: 24px;
  }

  .pillar-right--image {
    padding: 0;
  }
  .pillar-right--image img {
    min-height: 300px;
  }

  .careers-card--rich {
    padding: 24px;
  }

  .careers-media-stack {
    grid-template-columns: 1fr;
  }

  .careers-media-main {
    min-height: 280px;
  }

  .careers-roles li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .careers-locs,
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =====================================================================
   SUB-PAGE FOUNDATION — cmc-current-package and other lower pages
   ===================================================================== */

/* Active nav state */
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after {
  width: 18px;
  left: calc(50% - 9px);
}

/* Subpage body: header is fixed, push content below */
body.page-subpage {
  padding-top: 72px;
}

/* ===== PAGE TITLE STRIP ===== */
.page-title {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-light);
}
.page-title-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.page-title-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -2.2px;
  color: var(--ink);
  margin: 0;
}
.page-title-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-md);
  max-width: 680px;
  margin: 0;
}

@media (max-width: 720px) {
  .page-title { padding: 64px var(--pad-x); }
  .page-title-h1 { font-size: 44px; letter-spacing: -1.4px; }
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.page-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}
.page-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 760px;
}
.page-hero-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin: 0;
}
.page-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-md);
  max-width: 640px;
  margin: 0;
}
.page-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-hero-media {
  position: relative;
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 2;
  box-shadow: var(--shadow-dark);
  background: var(--bg-card-hi);
}
.page-hero-media img,
.page-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-media-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(126,16,133,0.16), rgba(55,58,158,0.10) 50%, transparent 80%),
    radial-gradient(circle at 80% 20%, rgba(84,171,170,0.16), transparent 50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* AIページのヒーローは 5/2 の枠に収まらない比率のフロー図（1830x1015）を使う。
   図は端まで見えて意味を持つので、枠を画像の実比率に追従させて全体を表示する。
   cover による上下トリミングを避けるのが目的。 */
.page-hero-media--flow {
  aspect-ratio: auto;
  background: none;
  box-shadow: none;
}
.page-hero-media--flow img {
  height: auto;
  object-fit: contain;
}
.page-hero-media--flow .page-hero-media-glow {
  display: none;
}

/* ===== SIX SERVICES ===== */
.services-page {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.services-page-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.services-page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.services-page-head .section-title {
  margin: 0;
}
.services-page-head .section-subtitle {
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.service-row--image-right .service-media { order: 2; }
.service-row--image-right .service-copy  { order: 1; }
.service-row--image-left .service-media  { order: 1; }
.service-row--image-left .service-copy   { order: 2; }

.service-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-dark);
  background: var(--bg-card-hi);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* サムネイルクリックでも Read more と同じモーダルを開く（new-product-ai）。
   キーボード操作は Read more ボタンが担うため、ここは tabindex を付けず
   マウス向けの補助導線に留める（同じ操作でタブストップを二重にしない）。 */
.service-media--clickable {
  cursor: pointer;
}
.service-media--clickable img {
  transition: transform 320ms cubic-bezier(0.2,0.7,0.2,1);
}
.service-media--clickable:hover img {
  transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
  .service-media--clickable img,
  .service-media--clickable:hover img {
    transition: none;
    transform: none;
  }
}

.service-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 480px;
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.16;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0;
}
.service-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-md);
  margin: 0;
}
.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M4 8.5L7 11.5L12 5.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.service-readmore {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  font: 600 14px/1 var(--font-body);
  color: var(--brand-purple);
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.2,0.7,0.2,1);
}
.service-readmore:hover {
  border-color: var(--brand-purple);
  transform: translateY(-1px);
  box-shadow: var(--shadow-dark);
}
.service-readmore svg {
  transition: transform 220ms ease;
}
.service-readmore[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ===== WHY THIS ECOSYSTEM WORKS ===== */
.why-ecosystem {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.why-ecosystem-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.why-ecosystem-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.why-ecosystem-h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -1.2px;
}
.why-ecosystem-copy .section-subtitle {
  margin: 0;
}
.why-ecosystem-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-dark);
}
.why-card-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -1px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-card strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-md);
}

/* ===== PAGE CTA BAND ===== */
.page-cta {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--grad-cta);
  overflow: hidden;
}
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.10), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(126,16,133,0.30), transparent 60%);
  pointer-events: none;
}
.page-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.page-cta-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #fff;
}
.page-cta-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}
.page-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* CTA buttons (on dark gradient bg) */
.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  text-decoration: none;
  transition: all 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.btn-on-dark--solid:not(:root) {
  background: var(--surface-white);
  color: var(--brand-purple);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.25);
}
.btn-on-dark--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.35);
}
.btn-on-dark--outline:not(:root) {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-on-dark--outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.85);
}

/* =====================================================================
   SUB-PAGE RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .page-hero-h2 {
    font-size: 44px;
    letter-spacing: -1.4px;
  }
  .page-hero-inner {
    gap: 40px;
  }
  .page-hero-media {
    aspect-ratio: 16 / 7;
  }

  .why-ecosystem-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why-ecosystem-copy {
    position: static;
  }

  .service-row,
  .service-row--image-left,
  .service-row--image-right {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* On mobile every row stacks image-first → description, regardless of the
     desktop image-left/image-right variant or the source order. */
  .service-row .service-copy {
    order: 0;
  }
  .service-row .service-media {
    order: -1;
  }
}

@media (max-width: 720px) {
  body.page-subpage {
    padding-top: 64px;
  }
  .page-title {
    padding: 32px 20px;
  }
  .page-title-h1 {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
  .page-hero,
  .services-page,
  .why-ecosystem,
  .page-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .page-hero-h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .page-hero-actions {
    width: 100%;
  }
  .page-hero-actions .btn {
    flex: 1 1 auto;
    width: auto;
    justify-content: center;
  }
  /* A lone button hugs its text instead of stretching full width */
  .page-hero-actions .btn:only-child {
    flex: 0 1 auto;
  }
  .page-hero-media {
    aspect-ratio: 5 / 2;
  }

  .services-page {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .services-page-inner {
    gap: 48px;
  }
  .service-title {
    font-size: 26px;
  }
  .service-media {
    aspect-ratio: 16 / 9;
  }

  .why-ecosystem {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .why-ecosystem-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-ecosystem-h2 {
    font-size: 28px;
  }
  .why-card {
    padding: 24px;
  }
  .why-card-big {
    font-size: 32px;
  }

  .page-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .page-cta-h2 {
    font-size: 28px;
    letter-spacing: -0.8px;
  }
  .page-cta-actions {
    width: 100%;
  }
  .page-cta-actions .btn-on-dark {
    flex: 1 1 auto;
    width: auto;
  }
  /* A lone button hugs its text instead of stretching full width */
  .page-cta-actions .btn-on-dark:only-child {
    flex: 0 1 auto;
  }
}

/* Legal prose container */
.legal-page {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.legal-page-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-md);
}
.legal-page-inner p {
  margin: 0 0 20px;
}
.legal-page-inner .legal-intro {
  font-size: 16px;
  margin-bottom: 24px;
}
.legal-page-inner h2 {
  margin: 56px 0 16px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--ink);
}
.legal-page-inner h2:first-child {
  margin-top: 0;
}
.legal-page-inner h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.legal-page-inner ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-page-inner ul li {
  position: relative;
  padding-left: 24px;
}
.legal-page-inner ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-purple);
}
.legal-page-inner ul li strong {
  color: var(--ink);
}
.legal-page-inner a {
  color: var(--brand-purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(126,16,133,0.35);
  text-underline-offset: 3px;
}
.legal-page-inner a:hover {
  text-decoration-color: var(--brand-purple);
}
.legal-page-inner strong {
  color: var(--ink);
}

/* Cookies table (Cookie Notice) */
.legal-table-wrap {
  margin: 12px 0 32px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface-white);
}
.legal-table thead th {
  background: var(--bg-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 20px;
  color: var(--text-md);
  border-bottom: 1px solid var(--line-light);
}
.legal-table tbody td {
  padding: 16px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink-2);
}
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}
.legal-table td:first-child {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--brand-purple);
  white-space: nowrap;
}
.legal-table td:last-child {
  white-space: nowrap;
  color: var(--text-md);
}

/* Cookie settings card */
.cookie-settings {
  margin: 24px 0 32px;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.cookie-settings h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.cookie-settings p {
  margin: 0 0 20px;
  color: var(--text-md);
  font-size: 14px;
  line-height: 1.6;
}
.cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--surface-white);
  color: var(--brand-purple);
  border: 1.5px solid var(--brand-purple);
  font: 600 14px/1 var(--font-body);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.cookie-settings-btn:hover {
  background: rgba(126,16,133,0.06);
  transform: translateY(-1px);
}
/* Cookie Notice の Complianz 切り替え欄（[cmplz-manage-consent]）をサイトのカードに合わせる。
   Complianz の文書用CSS（#cmplz-manage-consent-container.cmplz-manage-consent-container …）より
   詳細度を上げるため、.cookie-settings を前に付けている。 */
.cookie-settings #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category {
  background-color: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  overflow: hidden;
}
.cookie-settings #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child) {
  margin-bottom: 8px;
}
.cookie-settings #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
  background-color: transparent;
  padding: 8px 14px;
}
.cookie-settings #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
  color: var(--brand-purple);
  font-weight: 600;
}
.cookie-settings #cmplz-manage-consent-container .cmplz-consent-checkbox {
  accent-color: var(--brand-purple);
}

@media (max-width: 720px) {
  .legal-page {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .legal-page-inner h2 {
    font-size: 26px;
  }
  .legal-page-inner h2:not(:first-child) {
    margin-top: 40px;
  }
}

/* =====================================================================
   THANK YOU / Confirmation page
   ===================================================================== */

.confirmation {
  position: relative;
  min-height: calc(100vh - 72px - 360px); /* viewport minus header and rough footer */
  padding: 96px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-white);
  overflow: hidden;
  isolation: isolate;
}
.confirmation-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.confirmation-orb--a {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(126,16,133,0.20), transparent 70%);
}
.confirmation-orb--b {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -180px;
  background: radial-gradient(circle, rgba(84,171,170,0.18), transparent 70%);
}
.confirmation-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.confirmation-check {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 12px rgba(16, 133, 131, 0.10),
    0 20px 40px -20px rgba(16, 133, 131, 0.55);
  margin-bottom: 12px;
}
.confirmation-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
}
.confirmation-thanks {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-2);
}
.confirmation-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-md);
  max-width: 560px;
}
.confirmation-cta {
  margin-top: 16px;
}
.arrow--left svg {
  margin-right: 0;
}

@media (max-width: 720px) {
  .confirmation {
    padding: 64px 20px;
    min-height: auto;
  }
  .confirmation-h1 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
  .confirmation-thanks {
    font-size: 18px;
  }
  .confirmation-check {
    width: 80px;
    height: 80px;
  }
}

/* =====================================================================
   CONTACT — page-specific components
   ===================================================================== */

/* Contact hero: centered variant of page-title with bigger H1 */
.page-title--contact {
  padding-top: 96px;
  padding-bottom: 96px;
}
.page-title--contact .page-title-inner {
  align-items: center;
  text-align: center;
  max-width: 760px;
  gap: 20px;
}
.page-title--contact .page-title-h1 {
  font-size: 64px;
  letter-spacing: -2.2px;
  line-height: 1.05;
}
.page-title--contact .page-title-sub {
  max-width: 680px;
}

/* Contact form section */
.contact-form-section {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.contact-card {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px;
  background: linear-gradient(180deg, var(--bg-soft), var(--surface-paper));
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}
.contact-form-side,
.contact-location-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-side-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
}

/* Form fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.1px;
}
/* 必須項目の印（CF7フォーム側のラベル内に <span class="form-required">） */
.form-required {
  margin-left: 2px;
  color: var(--brand-purple);
}
.form-required-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  font: 400 15px/1.5 var(--font-body);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  /* 入力済みの文字（--ink）と見分けがつくよう、--text-muted と同系色の薄いグレーにしている */
  color: #8B89A8;
  opacity: 1; /* Firefox はプレースホルダーに既定で opacity をかけるため、ブラウザ間で色を揃える */
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(126,16,133,0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.form-select-wrap {
  position: relative;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.form-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-md);
  pointer-events: none;
}
.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
}
/* CF7の[submit]は<input>としてレンダリングされ、静的サイトの<button><span class="arrow"><svg>...
   のような子要素を持てないため、矢印アイコンはbackground-imageとして再現している。
   また親テーマの `.wpcf7 input[type=submit]`（詳細度 0,2,1）がこちらの .btn/.btn-primary
   （詳細度 0,2,0）を上書きしてしまうため、.wpcf7 を含めて詳細度を上げて対応している。 */
.wpcf7 .contact-submit:not(:root) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 52px 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  font-family: var(--font-body);
  white-space: nowrap;
  color: white;
  box-shadow: 0 14px 30px -10px rgba(126,16,133,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 240ms cubic-bezier(0.2,0.7,0.2,1);
  background-color: transparent;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8H13M13 8L8 3M13 8L8 13' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    var(--grad-cta);
  background-repeat: no-repeat, no-repeat;
  background-position: right 24px center, left top;
  background-size: 16px 16px, 100% 100%;
}
.wpcf7 .contact-submit:not(:root):hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(126,16,133,0.8), inset 0 1px 0 rgba(255,255,255,0.2);
  background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8H13M13 8L8 3M13 8L8 13' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
  var(--grad-cta);
  background-repeat: no-repeat, no-repeat;
  background-position: right 24px center, left top;
  background-size: 16px 16px, 100% 100%;
}
/* 親テーマで CF7 標準CSS（wpcf7_load_css）を無効化しているため、スクリーンリーダー向けの
   エラー要約がそのまま表示されてしまう。CF7標準と同じく視覚的にだけ隠し、読み上げは残す。 */
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}
.location-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(126,16,133,0.10), rgba(55,58,158,0.10));
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Multi-region location list (new global-LP variant) */
.location-list {
  list-style: none;
  padding: 0 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}
.location-row:last-child {
  border-bottom: none;
}
.location-row .location-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.location-row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.location-row-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.location-row-body span {
  font-size: 13px;
  color: var(--text-md);
}

/* Form 2-col row */
.form-row { display: grid; gap: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr; }
}

/* Promo cards section */
.contact-promo {
  position: relative;
  padding: 64px var(--pad-x);
  background: var(--surface-white);
}
.contact-promo-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.promo-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.promo-card-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card-hi);
  box-shadow: var(--shadow-dark);
}
.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.promo-card-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-md);
}
.promo-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
  border-bottom: none;
  width: fit-content;
  transition: gap 200ms ease;
}
.promo-card-link:hover {
  gap: 12px;
}

@media (max-width: 1024px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }
  .contact-promo-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-title--contact .page-title-h1 {
    font-size: 48px;
  }
}

@media (max-width: 720px) {
  .page-title--contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .page-title--contact .page-title-h1 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
  .contact-form-section,
  .contact-promo {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .contact-card {
    padding: 24px;
  }
}

/* =====================================================================
   CAREERS — page-specific components
   ===================================================================== */

/* Hero bullet list inside .page-hero-copy (left-aligned in centered col) */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  max-width: 560px;
}
.hero-bullets li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-md);
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M4 8.5L7 11.5L12 5.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Culture & Benefits */
.culture {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.culture-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.culture-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.culture-head .section-title { margin: 0; }
.culture-head .section-subtitle { margin: 0; }
.culture-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.culture-card {
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-dark);
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.culture-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.culture-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(126,16,133,0.10), rgba(55,58,158,0.10));
  color: var(--brand-purple);
}
.culture-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--brand-purple);
}
.culture-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-md);
}

/* Current opportunities */
.opportunities {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.opportunities-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.opportunities-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.opportunities-head .section-title { margin: 0; }

/* Region jobs grid (LinkedIn redirect cards) */
.region-jobs-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .region-jobs-grid { grid-template-columns: 1fr; }
}
.region-job-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.region-job-card:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 10px 32px -16px rgba(126,16,133,0.28);
  transform: translateY(-1px);
}
.region-job-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.region-job-body strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.region-job-body span {
  font-size: 13px;
  color: var(--text-md);
}
.region-job-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-purple);
  white-space: nowrap;
}

.role-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-group + .role-group {
  margin-top: 16px;
}
.role-group-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ink-4);
}
.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-card {
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.role-card-btn {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 200ms ease;
}
.role-card-btn:hover {
  background: var(--bg-soft);
}
.role-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.role-card-text strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.role-card-text em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-md);
  letter-spacing: 0.2px;
}
.role-card-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), background 200ms ease;
}
.role-card-btn[aria-expanded="true"] .role-card-chevron {
  transform: rotate(180deg);
}
.role-card-btn:hover .role-card-chevron {
  background: rgba(126,16,133,0.10);
}

/* Expandable body — grid-template-rows 0fr → 1fr trick for smooth animate-to-auto.
   Nested wrapper holds padding/border so the collapsed state has zero visible height. */
.role-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.2,0.7,0.2,1);
}
.role-card-body-inner {
  overflow: hidden;
  min-height: 0;
}
.role-card-btn[aria-expanded="true"] + .role-card-body {
  grid-template-rows: 1fr;
}
.role-card-body-content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line-light);
}
.role-overview {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-md);
}
.role-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.role-cols h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.role-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.role-cols li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.role-cols li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
}
.role-apply {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .role-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* CTA fineprint */
.page-cta-fineprint {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  text-align: center;
}

/* Careers responsive */
@media (max-width: 1024px) {
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .culture,
  .opportunities {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .culture-card {
    padding: 24px;
  }
  .role-card-btn {
    padding: 16px;
  }
  .hero-bullets {
    padding-left: 0;
  }
}

/* =====================================================================
   ABOUT CMC — page-specific components
   ===================================================================== */

/* Mission + Vision two-card row */
.mission-vision {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.mission-vision-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-dark);
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.mv-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(126,16,133,0.10), rgba(55,58,158,0.10));
  color: var(--brand-purple);
}
.mv-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.mv-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-md);
}

/* Core values 5-column grid */
.core-values {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.core-values-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.core-values-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.core-values-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-card-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-purple);
}
.value-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.25;
}
.value-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-md);
}

/* Timeline — Evolution of Intelligence */
.timeline {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.timeline-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.timeline-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand-purple) 10%, var(--brand-teal-deep) 90%, transparent);
  transform: translateX(-50%);
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.timeline-dot {
  grid-column: 2;
  justify-self: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-purple);
  border: 4px solid var(--bg-soft);
  box-shadow: 0 0 0 2px var(--brand-purple), 0 0 16px rgba(126,16,133,0.5);
  position: relative;
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.6px;
  color: var(--brand-purple);
  line-height: 1;
}
.timeline-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.timeline-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-md);
}
.timeline-item--left .timeline-year { grid-column: 1; text-align: right; }
.timeline-item--left .timeline-body { grid-column: 3; text-align: left; }
.timeline-item--right .timeline-year { grid-column: 3; text-align: left; order: 2; }
.timeline-item--right .timeline-body { grid-column: 1; text-align: right; }

/* Global presence — dark section with map */
.global-presence {
  position: relative;
  padding: 96px var(--pad-x);
  background:
    radial-gradient(circle at 80% 20%, rgba(126,16,133,0.30), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(55,58,158,0.30), transparent 55%),
    linear-gradient(180deg, #0F0826 0%, #1B1140 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.global-presence-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  grid-template-areas:
    "copy map"
    "list map";
  column-gap: 48px;
  row-gap: 24px;
  align-items: center;
}
.global-presence-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.global-presence-map { grid-area: map; }
.global-presence-list { grid-area: list; }
.global-presence-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #fff;
}
.global-presence-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.global-presence-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.global-presence-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
}
.global-presence-list strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex: 1;
}
.global-presence-list em {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.loc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.loc-dot--purple {
  background: var(--brand-purple);
  box-shadow: 0 0 10px rgba(126,16,133,0.8);
}
.loc-dot--teal {
  background: var(--brand-teal);
  box-shadow: 0 0 10px rgba(84,171,170,0.8);
}
.global-presence-map {
  margin: 0;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 0;
}
.global-presence-map svg,
.global-presence-map picture,
.global-presence-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Leadership grid */
.leadership {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.leadership-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.leadership-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.leadership-head .section-title { margin: 0; }
.leadership-head .section-subtitle { margin: 0; }
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-dark);
}
.leader-portrait {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 30%, rgba(126,16,133,0.30), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(84,171,170,0.30), transparent 60%),
    var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.leader-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,10,30,0.04));
  pointer-events: none;
}
.leader-portrait span {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.leader-card strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 4px;
}
.leader-card em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-md);
}

/* About page responsive */
@media (max-width: 1024px) {
  .mission-vision-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .core-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .global-presence-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "map"
      "list";
    gap: 28px;
  }
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-list::before {
    /* align the line to the dot's center: the dot sits in the 24px first
       column with justify-self:center, so its center is at 12px */
    left: 12px;
  }
  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    grid-template-columns: 24px 80px 1fr;
    gap: 16px;
    align-items: flex-start;
  }
  .timeline-item .timeline-dot {
    grid-column: 1;
    margin-top: 8px;
  }
  .timeline-item--left .timeline-year,
  .timeline-item--right .timeline-year {
    grid-column: 2;
    text-align: left;
    order: 0;
  }
  .timeline-item--left .timeline-body,
  .timeline-item--right .timeline-body {
    grid-column: 3;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .mission-vision,
  .core-values,
  .timeline,
  .global-presence,
  .leadership {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .core-values-grid {
    grid-template-columns: 1fr;
  }
  .mv-card {
    padding: 32px 24px;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .timeline-year {
    font-size: 24px;
  }
  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    grid-template-columns: 24px 64px 1fr;
  }
  .global-presence-h2 {
    font-size: 28px;
  }
  /* Full-bleed the map edge-to-edge so the world graphic and its
     "Where we operate" label stay as large and legible as possible. */
  .global-presence-map {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

/* Hero footnote (small note under CTAs) */
.page-hero-footnote {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.2px;
}

/* ===== PROBLEM 2-CARD ===== */
.problem {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.problem-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.problem-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
}
.problem-head .section-title { margin: 0; }
.problem-head .section-subtitle { margin: 0; }
.problem-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}
.problem-card {
  background: var(--surface-white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-dark);
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.problem-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(126,16,133,0.10), rgba(55,58,158,0.10));
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.problem-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-md);
}

/* ===== OUR AI APPROACH 4-STEP ===== */
.ai-approach {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--surface-white);
}
.ai-approach-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.ai-approach-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.ai-approach-head .section-title { margin: 0; }
.ai-approach-head .section-subtitle { margin: 0; }
.ai-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ai-step {
  position: relative;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1), box-shadow 240ms;
}
.ai-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}
.ai-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--brand-purple);
  border-right: 1.5px solid var(--brand-purple);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.5;
}
.ai-step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-purple);
}
.ai-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.4px;
}
.ai-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-md);
}

/* Service tag (above service-title) */
.service-tag {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-purple);
}
.service-copy .service-tag + .service-title {
  margin-top: 4px;
}

/* ===== CLOSED LOOP — hexagon diagram ===== */
.closed-loop {
  position: relative;
  padding: 96px var(--pad-x);
  background:
    radial-gradient(circle at 30% 20%, rgba(126,16,133,0.35), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(55,58,158,0.30), transparent 55%),
    linear-gradient(180deg, #0F0826 0%, #1B1140 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.closed-loop-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.closed-loop-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
}
.closed-loop-h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}
.closed-loop-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.closed-loop-figure {
  margin: 0;
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
}
.closed-loop-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  position: relative;
  padding: 96px var(--pad-x);
  background: var(--bg-soft);
}
.pull-quote-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.pull-quote-mark {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--brand-purple);
  opacity: 0.3;
  font-weight: 700;
}
.pull-quote-text {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.6px;
  color: var(--ink);
}
.pull-quote-text .text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* =====================================================================
   AI Suite responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .ai-steps {
    grid-template-columns: 1fr 1fr;
  }
  .ai-step:not(:last-child)::after {
    display: none;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .pull-quote-text {
    font-size: 26px;
  }
}

@media (max-width: 720px) {
  .problem,
  .ai-approach,
  .pull-quote,
  .closed-loop {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .ai-steps {
    grid-template-columns: 1fr;
  }
  /* Let the ecosystem diagram render larger on mobile by reaching close to
     the screen edges (cancel most of the section's side padding). */
  .closed-loop-figure {
    width: calc(100% + 32px);
    max-width: none;
    margin-left: -16px;
    margin-right: -16px;
  }
  .pull-quote-text {
    font-size: 22px;
  }
  .pull-quote-mark {
    font-size: 60px;
  }
}

/* ============================================================
   2026-06-05 修正対応
   1) FV: 商品群ショーケース（旧 hero-stats 差し替え）
   2) ケーススタディ縮小（コメント縮小・フィギュア3サイズダウン）
   3) 採用: 外部媒体（LinkedIn）リンク行
   ============================================================ */

/* --- 1) FV 商品群ショーケース --- */
/* --- 2026-06-08 FV実績スタッツ（コンパクト横一列, 商品カードと併存） --- */
.hero-metrics {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: baseline;
}
.hero-metric-num span {
  font-size: 18px;
  margin-left: 2px;
}
.hero-metric-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-md);
  font-weight: 500;
}
.hero-metric-label mark {
  background: linear-gradient(transparent 58%, rgba(28, 186, 183, 0.32) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: inherit;
  font-weight: 800;
  padding: 0 1px;
}
.hero-metric-sep {
  width: 1px;
  align-self: stretch;
  margin: 2px 0;
  background: linear-gradient(180deg, transparent, var(--line-dark-hi), transparent);
}
@media (max-width: 720px) {
  .hero-metrics { gap: 16px; }
  .hero-metric-num { font-size: 24px; }
  .hero-metric-label { font-size: 11px; }
  .hero-metric-sep { display: none; }
}

.hero-products {
  margin-top: 28px;
  width: 100%;
  max-width: 1060px;
  padding: 28px 32px 32px;
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(126,16,133,0.14);
  box-shadow: 0 34px 70px -34px rgba(30,20,80,0.26), 0 2px 8px -2px rgba(30,20,80,0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.hero-products-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.hero-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hero-product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  box-shadow: 0 16px 30px -26px rgba(30,20,80,0.5);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.hero-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px -26px rgba(30,20,80,0.65);
}
.hero-product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.hero-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 0;
}
.hero-product-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.hero-product-meta .ribbon-badge {
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.hero-product-arrow {
  margin-left: auto;
  color: var(--brand-purple);
  transition: transform 220ms ease;
}
.hero-product-card:hover .hero-product-arrow { transform: translateX(4px); }

/* --- 2) ケーススタディ縮小 --- */
.testimonial-quote {
  font-size: 26px;
  padding-left: 40px;
  max-width: 520px;
}
.testimonial-kicker { font-size: 28px; }
.testimonial-figure {
  max-width: 460px;
  margin: 0 auto;
}

/* --- 3) 採用 LinkedIn リンク行 --- */
.careers-roles li.careers-role-region {
  padding: 0;
  cursor: auto;
}
.careers-role-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 720px) {
  .hero-products { padding: 20px 20px 24px; }
  .hero-products-grid { grid-template-columns: 1fr; }
  .testimonial-figure { max-width: 100%; }
}

/* --- 2026-06-08 ケーススタディ: SVGシルエット→実写真 --- */
.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
  box-shadow: 0 30px 60px -30px rgba(30,20,80,0.45);
}

/* --- 2026-06-08 About: Mission/Vision visual + leadership photos --- */
.leader-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%; /* 顔位置基準で正方形クロップ */
  display: block;
}

/* --- 2026-06-08 比率調整: TOP Careers帯を画像比率に合わせる --- */
/* 左右カラムを上揃え・同じ高さに:
   メイン画像が残り高さを埋めて伸縮し、サムネ(3:4)が下段の高さを決める */
.careers-card--rich { align-items: stretch; }
.careers-media {
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
}
.careers-media-main {
  aspect-ratio: auto;
  min-height: 220px;
}

/* --- 2026-06-08 Careersリージョンカード: オフィス写真付き --- */
.region-job-card--photo {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.region-job-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.region-job-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

/* --- 2026-06-08 クライアントロゴ: マーキー化（アメチケLP方式） --- */
@keyframes client-marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.client-marquee {
  overflow: hidden;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-light);
}
.client-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding: 28px 16px;
  animation: client-marquee 24s linear infinite;
  will-change: transform;
}
.client-marquee__track img {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.8;
  filter: grayscale(0.2);
  transition: opacity 200ms ease;
}
.client-marquee__track img:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .client-marquee__track { animation: none; }
}
@media (max-width: 720px) {
  .client-marquee__track { gap: 44px; padding: 20px 16px; }
  .client-marquee__track img { height: 40px; }
}

/* --- 2026-06-09 trust-strip: PR文言削除に伴いSNSブロックの上下余白を再調整(space.7/space.10) --- */
.trust-inner--news { padding-top: 28px; padding-bottom: 40px; }

/* --- 2026-06-08 メガメニュー: アイコン→プロダクト画像サムネ --- */
.mega-item-thumb {
  flex-shrink: 0;
  width: 88px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.mega-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.mega-item:hover .mega-item-thumb img { transform: scale(1.05); }

/* --- 2026-06-08 メガメニュー拡大: ヘッダー幅いっぱい＋画像主役 --- */
.mega-menu--cols-2 {
  position: fixed;
  top: 73px; /* ヘッダー(72px+ボーダー1px)に密着 */
  clip-path: inset(0 -80px -120px -80px); /* 上方向の影だけカット */
  left: 50%;
  width: min(calc(var(--maxw) - 2 * var(--pad-x)), calc(100vw - 32px));
  padding: 16px;
  border-radius: 0 0 20px 20px;
  border-top: none;
  margin-top: 0;
}
/* ナビボタン→パネル間のホバー維持: ボタン直下〜ヘッダー下端だけをカバー */
.nav-item--mega::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 34px;
  pointer-events: none;
}
.nav-item--mega:hover::after,
.nav-item--mega:focus-within::after {
  pointer-events: auto;
}
.mega-menu--cols-2 .mega-menu-inner {
  grid-template-columns: 1fr 1fr;
  width: auto;
  gap: 16px;
}
.mega-menu--cols-2 .mega-item {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
}
.mega-menu--cols-2 .mega-item-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 14px;
}
.mega-menu--cols-2 .mega-item-body strong {
  font-size: 18px;
}
.mega-menu--cols-2 .mega-item-body p {
  font-size: 13px;
}

/* --- 2026-06-08 タイムライン: 中央線・左右交互、ドットを年号と縦中央で揃える
   ドット(col2)がソース先頭のため自動配置で別行に落ちる→全子要素をrow1に固定 --- */
@media (min-width: 1025px) {
  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
  }
  .timeline-item > * { grid-row: 1; }
}
@media (max-width: 1024px) {
  .timeline-item .timeline-dot { margin-top: 3px; }
}

/* --- 2026-06-08 パンくずリスト（トップ以外の全ページ） --- */
.breadcrumb {
  border-top: 1px solid var(--line-light);
  background: #FFFFFF;
}
.breadcrumb-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px var(--pad-x);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-4);
}
.breadcrumb li:not(:first-child)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-4);
  border-right: 1.5px solid var(--ink-4);
  transform: rotate(45deg);
  opacity: 0.5;
}
.breadcrumb a {
  color: var(--ink-4);
  text-decoration: none;
  transition: color 160ms ease;
}
.breadcrumb a:hover { color: var(--brand-purple); }
.breadcrumb li[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 720px) {
  .breadcrumb-inner { padding: 8px 20px; }
  .breadcrumb ol { font-size: 11px; gap: 6px; }
}

/* ===================== Service detail modal (Read more) ===================== */
.svc-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;transition:opacity .25s ease;}
.svc-modal[hidden]{display:none;}
.svc-modal.is-open{opacity:1;}
.svc-modal__overlay{position:absolute;inset:0;background:rgba(11,10,30,0.55);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);}
.svc-modal__dialog{position:relative;background:var(--bg-card,#fff);color:var(--ink,#0B0A1E);max-width:1200px;width:100%;max-height:85vh;overflow:auto;border-radius:var(--radius-lg,24px);box-shadow:var(--shadow-lift,0 30px 60px -30px rgba(30,20,80,0.4));padding:40px;transform:translateY(12px) scale(.985);transition:transform .25s ease;}
.svc-modal.is-open .svc-modal__dialog{transform:translateY(0) scale(1);}
.svc-modal__close{position:absolute;top:16px;right:16px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:var(--bg-soft,#F4F2FA);color:var(--ink-3,#3A3866);font-size:22px;line-height:1;cursor:pointer;transition:background .2s,color .2s;}
.svc-modal__close:hover{background:var(--brand-purple,#7E1085);color:#fff;}
.svc-modal__title{font-family:var(--font-display,'Inter',sans-serif);font-size:24px;font-weight:700;margin:0 0 16px;padding-right:44px;color:var(--ink,#0B0A1E);}
.svc-modal__body{font-size:15px;line-height:1.7;color:var(--ink-3,#3A3866);}
/* モーダル冒頭に載せるサービス図版。カードのサムネイルと同じ画像を、
   横幅いっぱい・トリミングなしで大きく見せる。 */
.svc-modal__figure{display:block;width:100%;height:auto;margin:0 0 28px;border-radius:var(--radius-md,16px);background:var(--bg-card-hi,#F4F2FA);}
.svc-modal__body > :first-child{margin-top:0;}
.svc-modal__body > :last-child{margin-bottom:0;}
.svc-modal__body p{margin:0 0 14px;}
.svc-modal__body h4{font-size:16px;font-weight:600;color:var(--ink,#0B0A1E);margin:20px 0 8px;}
.svc-modal__body ul{margin:0 0 14px;padding-left:20px;}
.svc-modal__body li{margin:0 0 6px;}
@media (max-width:640px){.svc-modal{padding:16px;}.svc-modal__dialog{padding:28px 20px;}.svc-modal__title{font-size:20px;}.svc-modal__figure{margin-bottom:20px;}}

/* Follow CMC: content-width SNS buttons, centered, with generous gaps (relative) */
.news-actions--regions{
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}
.news-actions--regions .news-button{
  flex: 0 0 auto;
  gap: clamp(8px, 0.9vw, 14px);
  padding: clamp(12px, 1.1vw, 16px) clamp(20px, 2.2vw, 32px);
}
@media (max-width:720px){
  .news-actions--regions{ flex-wrap: wrap; gap: 12px; }
  .news-actions--regions .news-button{ width: 100%; }
}

/* Follow CMC: hug the strip to its content (buttons), centered. Narrowest sane cap = ~7 grid cols */
.trust-inner--news .news-strip{
  width: fit-content;
  max-width: min(100%, 880px);
  margin-inline: auto;
}
@media (max-width:720px){
  .trust-inner--news .news-strip{ width: auto; max-width: 100%; }
}
