/* ============================================================
   HeartCore Financial — ONE AI パートナーページ（4ページ共通）
   one-ai.html / one-ai-technology.html / one-ai-demos.html /
   one-ai-solutions.html 専用。assets/css/style.css の後に読み込む。
   サイト共通の配色（白・グレー・黒のモノトーン）、Arial + Noto Sans JP、
   角丸カード、中央揃えの見出しに合わせている。
   部品はすべて main.hf-oneai 内の .oa-* として定義し、他ページに影響しない。
   ============================================================ */

.hf-oneai {
  --ink: #111827;
  --ink-70: #374151;
  --ink-55: #4b5563;
  --ink-40: #9ca3af;
  --white: #ffffff;
  --paper: #f9fafb;
  --paper-2: #f3f4f6;
  --rule: #e5e7eb;
  --rule-soft: #e5e7eb;
  /* アクセント色。サイトがモノトーンのため濃いグレーを使う */
  --orange: #1f2937;
  --orange-deep: #000000;
  --orange-lit: #d1d5db;
  --orange-dim: #f3f4f6;
  --orange-hair: #d1d5db;
  --grad-accent: #ffffff;
  --r-card: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sans: Arial, "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", sans-serif;
  --hdr: 107px;
  overflow-x: clip;
  color: var(--ink-70);
}
/* 濃色セクションではアクセントを白系に切り替える */
.hf-oneai .oa-dark {
  --orange: #ffffff;
  --orange-deep: #e5e7eb;
  --orange-lit: #d1d5db;
}
.hf-oneai p {
  margin: 0;
}
.hf-oneai ul,
.hf-oneai ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hf-oneai a {
  text-decoration: none;
  color: inherit;
}
.hf-oneai img {
  max-width: 100%;
}
.hf-oneai .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.hf-oneai .eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b7280;
}
.hf-oneai .h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
}
.hf-oneai .lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-55);
}
/* サイトの見出しに合わせ、単独の見出しは中央揃え */
.hf-oneai .oa-sec > .wrap > .oa-head {
  margin-inline: auto;
  text-align: center;
}

/* ---------------- Hero（ページヘッダー） ---------------- */
.oa-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px);
}
.oa-hero-media {
  position: absolute;
  inset: 0;
}
.oa-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.78) 0%, rgba(17, 24, 39, 0.66) 50%, rgba(17, 24, 39, 0.84) 100%);
}
.oa-hero-media .oa-bgvideo,
.oa-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: 50% 50%;
  filter: grayscale(0.35);
}
.oa-hero .wrap {
  position: relative;
}
.oa-hero-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d1d5db;
}
.oa-hero .page-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
}
.oa-hero .page-subtitle {
  margin-top: 16px !important;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: #e5e7eb;
}
.oa-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.oa-hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  font-size: 13px;
  color: #ffffff;
}
.oa-hero-partner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  background: #ffffff;
  border-radius: var(--r-sm);
  padding: 8px 22px;
}
.oa-hero-partner img {
  height: 44px;
  width: auto;
}
.oa-hero-partner img + span + img {
  height: 26px;
}
.oa-hero-partner span {
  color: var(--ink-40);
  font-size: 18px;
}

/* ---------------- Sub navigation ---------------- */
.oa-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: var(--hdr);
  z-index: 40;
}
.oa-subnav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.oa-subnav li a {
  display: block;
  padding: 16px 20px 13px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-70);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.oa-subnav li a small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 2px;
  font-family: "Inter", var(--sans);
}
.oa-subnav li a:hover {
  color: var(--orange);
}
.oa-subnav li.active a {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

/* ---------------- Sections ---------------- */
.oa-sec {
  scroll-margin-top: 140px;
}
.oa-sec.oa-white {
  background: var(--white);
}
.oa-sec.oa-paper {
  background: var(--paper);
}
.oa-sec.oa-dark {
  background: var(--ink);
  color: rgba(241, 245, 249, 0.8);
}
.oa-sec.oa-dark .h2,
.oa-sec.oa-dark h3,
.oa-sec.oa-dark h4,
.oa-sec.oa-dark h5,
.oa-sec.oa-dark b {
  color: #fff;
}
.oa-sec.oa-dark .lead {
  color: rgba(241, 245, 249, 0.72);
}
.oa-sec.oa-dark .eyebrow {
  color: rgba(241, 245, 249, 0.5);
}
.hf-section.oa-sec {
  padding-block: clamp(72px, 8vw, 128px);
}
.hf-section.oa-sec.oa-paper + .hf-section.oa-sec.oa-paper {
  padding-top: 0;
}
.oa-head {
  margin-bottom: clamp(36px, 4.4vw, 64px);
  max-width: 880px;
}
.oa-head.center {
  margin-inline: auto;
  text-align: center;
}
.oa-head.center .eyebrow {
  justify-content: center;
}
.oa-head .h2 {
  margin-top: 20px;
}
.oa-head .lead {
  margin-top: 18px;
}
.oa-h2x strong {
  color: var(--orange);
}
.hf-oneai .oa-sec p,
.hf-oneai .oa-sec li {
  line-height: 1.95;
}
.oa-note {
  margin-top: 16px !important;
  font-size: 12.5px;
  color: var(--ink-40);
}

/* ---------------- Partnership ---------------- */
.oa-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.oa-split.wide-media {
  grid-template-columns: 1fr 1.15fr;
}
.oa-intro-split {
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
}
.oa-intro > p {
  margin-top: 16px !important;
  font-size: 15.5px;
  color: var(--ink-70);
}
.oa-intro .oa-head {
  margin-bottom: 8px;
}
.oa-partners-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}
.oa-partners-logos img {
  height: 44px;
  width: auto;
}
.oa-partners-logos .x {
  font-size: 26px;
  font-weight: 300;
  color: var(--ink-40);
}
.oa-facts {
  border-top: 1px solid var(--rule);
}
.oa-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.oa-facts b {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.oa-facts span {
  text-align: right;
  color: var(--ink-70);
}
.oa-focus {
  margin-top: clamp(40px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.oa-focus > div {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.2vw, 30px);
  border-top: 3px solid var(--orange);
}
.oa-focus h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.oa-focus p {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--ink-55);
}

/* ---------------- About ---------------- */
.oa-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.oa-about-grid p {
  margin-top: 16px !important;
  font-size: 15.5px;
}
.oa-about-grid .oa-head {
  margin-bottom: 10px;
}
.oa-about-grid img.chip {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}
.oa-quote {
  margin-top: 28px !important;
  border-left: 2px solid var(--orange);
  padding: 4px 0 4px 20px;
  font-size: 1.2rem !important;
  font-weight: 700;
  color: #fff;
  line-height: 1.7 !important;
}

/* ---------------- Pillars ---------------- */
.oa-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.oa-pillar {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--rule-soft);
}
.oa-pillar-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink);
}
.oa-pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.oa-pillar:hover .oa-pillar-img img {
  transform: scale(1.05);
}
.oa-pillar-body {
  padding: clamp(20px, 2vw, 28px);
}
.oa-pillar .n {
  font-family: "Inter", var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.oa-pillar h3 {
  font-family: "Inter", var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}
.oa-pillar p {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--ink-55);
}

/* ---------------- Barriers ---------------- */
.oa-barriers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.oa-barrier {
  background: var(--white);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.oa-barrier .top {
  padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2vw, 26px) 18px;
  border-bottom: 1px dashed var(--rule);
}
.oa-barrier .tag {
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.oa-barrier h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}
.oa-barrier .top p {
  margin-top: 6px !important;
  font-size: 13px;
  color: var(--ink-55);
}
.oa-barrier .bottom {
  padding: 20px clamp(20px, 2vw, 26px) 28px;
}
.oa-barrier .num {
  font-family: "Inter", var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.3rem, 3.2vw, 2.9rem);
  background: linear-gradient(
    96deg,
    #111 0%,
    var(--orange-deep) 60%,
    var(--orange) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.oa-barrier .num small {
  font-size: 0.34em;
  letter-spacing: 0;
  margin-left: 4px;
  font-family: var(--jp);
}
.oa-barrier h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
}
.oa-barrier .bottom p {
  margin-top: 6px !important;
  font-size: 13px;
  color: var(--ink-55);
}

/* ---------------- Next cards ---------------- */
.oa-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.oa-next a {
  display: block;
  background: var(--white);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--rule-soft);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.oa-next a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}
.oa-next small {
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}
.oa-next h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}
.oa-next p {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--ink-55);
}
.oa-next .go {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* ---------------- Platform split ---------------- */
.oa-split > div > p {
  margin-top: 16px !important;
  font-size: 15.5px;
}
.oa-split > div > .oa-head {
  margin-bottom: 8px;
}
.oa-checks {
  margin-top: 22px !important;
}
.oa-checks li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14px;
}
.oa-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.oa-figure {
  margin: 0;
}
.oa-figure img,
.oa-figure video {
  width: 100%;
  border-radius: var(--r-card);
  display: block;
}
.oa-chip-fig img {
  max-width: 460px;
  margin-inline: auto;
}

/* ---------------- Architecture ---------------- */
.oa-arch {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: clamp(42px, 4vw, 56px) clamp(16px, 2.4vw, 34px)
    clamp(18px, 2.4vw, 30px);
}
.oa-arch-label {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: #fff;
  font-family: "Inter", var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 7px 26px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.oa-arch-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
}
.oa-arch-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-card);
  padding: clamp(18px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.03);
}
.oa-arch-box h4 {
  font-family: "Inter", var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
}
.oa-arch-box .sub {
  color: var(--orange-lit);
  font-size: 13px;
  margin: 4px 0 18px;
}
.oa-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.oa-module {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 16px 16px 14px;
  color: var(--ink-70);
}
.oa-module em {
  font-style: normal;
  display: block;
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.oa-sec.oa-dark .oa-module b {
  display: block;
  font-family: "Inter", var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 4px 0 6px;
}
.oa-module span {
  display: block;
  font-size: 12.5px;
  line-height: 1.8;
}
.oa-core-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-bottom: 18px !important;
}
.oa-core-list li {
  font-size: 13.5px;
  color: rgba(241, 245, 249, 0.88);
  padding-left: 14px;
  position: relative;
}
.oa-core-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.oa-core-notes li {
  font-size: 12.5px;
  color: rgba(241, 245, 249, 0.6);
  padding-left: 16px;
  position: relative;
}
.oa-core-notes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(241, 245, 249, 0.35);
}
.oa-bus {
  margin-top: 20px;
  border-radius: var(--r-pill);
  text-align: center;
  padding: 9px 12px;
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.15),
    rgba(249, 115, 22, 0.6),
    rgba(249, 115, 22, 0.15)
  );
  color: #fff;
  font-family: "Inter", var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.oa-engines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.oa-engine {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
  padding: 16px;
}
.oa-engine .pill {
  background: var(--orange);
  color: #fff;
  font-family: "Inter", var(--sans);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.oa-engine b {
  display: block;
  font-size: 14px;
}
.oa-engine span {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(241, 245, 249, 0.62);
}

/* ---------------- Components ---------------- */
.oa-comp-group {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.oa-comp-group:last-child {
  margin-bottom: 0;
}
.oa-comp-group > h3 {
  font-family: "Inter", var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.oa-comp-group > h3 span {
  font-family: var(--jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--orange-deep);
}
.oa-comps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 20px);
}
.oa-comp {
  background: var(--white);
  border-radius: var(--r-card);
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--rule-soft);
}
.oa-comp .k {
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.oa-comp h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}
.oa-comp p {
  margin-top: 8px !important;
  font-size: 13.5px;
  color: var(--ink-55);
}

/* ---------------- Pipeline ---------------- */
.oa-pipe {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.oa-pipe > div {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 20px 18px;
  border-top: 2px solid var(--orange);
}
.oa-pipe > div::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-weight: 700;
}
.oa-pipe > div:last-child::after {
  display: none;
}
.oa-pipe b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
}
.oa-pipe span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-55);
}

/* ---------------- Flow (learning loop) ---------------- */
.oa-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.oa-flow > div {
  padding: 28px 24px 8px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}
.oa-flow > div:first-child {
  padding-left: 0;
}
.oa-flow > div:last-child {
  border-right: 0;
}
.oa-flow .s {
  font-family: "Inter", var(--sans);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.oa-flow h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 12px;
}
.oa-flow p {
  margin-top: 8px !important;
  font-size: 13.5px;
  color: rgba(241, 245, 249, 0.65);
}

/* ---------------- Tables ---------------- */
.oa-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--rule-soft);
  background: var(--white);
}
.oa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.oa-table th,
.oa-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  vertical-align: top;
}
.oa-table tr:last-child th,
.oa-table tr:last-child td {
  border-bottom: 0;
}
.oa-table thead th {
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.oa-table tbody th {
  width: 24%;
  color: var(--ink);
  font-weight: 700;
  background: var(--paper-2);
}
.oa-table td {
  color: var(--ink-70);
}
.oa-table td.y {
  color: var(--orange-deep);
  font-weight: 700;
}
.oa-table td.n {
  color: var(--ink-40);
  font-weight: 700;
}
.oa-compare td.hi {
  background: var(--orange-dim);
}

/* ---------------- Demos ---------------- */
.oa-video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #000;
}
.oa-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.oa-demo {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-block: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.oa-demo:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.oa-demo.rev {
  grid-template-columns: 1fr 1.35fr;
}
.oa-demo.rev .oa-demo-media {
  order: 2;
}
.oa-demo .tag {
  font-family: "Inter", var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}
.oa-demo h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 10px;
}
.oa-demo h3 + p,
.oa-demo .oa-tagline + p {
  margin-top: 12px !important;
  font-size: 14.5px;
  color: var(--ink-70);
}
.oa-tagline {
  margin-top: 8px !important;
  color: var(--orange-deep);
  font-weight: 700;
}
.oa-film video {
  max-height: 660px;
  object-fit: cover;
  background: #000;
}
.oa-clip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.oa-clip {
  margin: 0;
}
.oa-clip video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: #000;
  display: block;
}
.oa-clip:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.oa-clip:first-child video {
  aspect-ratio: auto;
  height: calc(100% - 78px);
}
.oa-clip h5 {
  font-size: 14.5px;
  font-weight: 700;
  margin-top: 12px;
}
.oa-clip p {
  margin-top: 2px !important;
  font-size: 12.5px;
  color: rgba(241, 245, 249, 0.6);
}
.oa-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.oa-result {
  background: var(--white);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--rule-soft);
}
.oa-result .v {
  font-family: "Inter", var(--sans);
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(
    96deg,
    #111 0%,
    var(--orange-deep) 70%,
    var(--orange) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.oa-result .u {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  margin: 8px 0 10px;
}
.oa-result p {
  font-size: 13px;
  color: var(--ink-55);
}

/* ---------------- Values / sectors / flywheel ---------------- */
.oa-values .oa-value {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 28px;
  padding-block: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.oa-values .oa-value:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.oa-value .number {
  font-family: "Inter", var(--sans);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.oa-value h4 {
  font-size: 1.2rem;
  font-weight: 700;
}
.oa-value blockquote {
  margin-top: 8px;
  color: var(--orange-lit);
  font-size: 14px;
  line-height: 1.8;
}
.oa-value p {
  font-size: 14px;
  color: rgba(241, 245, 249, 0.7);
}
.oa-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.oa-sectors span {
  border: 1px solid var(--orange-hair);
  background: var(--orange-dim);
  color: var(--orange-deep);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
}
.oa-fly li {
  counter-increment: f;
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.oa-fly {
  counter-reset: f;
}
.oa-fly li::before {
  content: counter(f);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: "Inter", var(--sans);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.oa-fly b {
  display: block;
  font-size: 15px;
}
.oa-fly span {
  font-size: 13px;
  color: rgba(241, 245, 249, 0.62);
}

/* ---------------- Leaders / timeline / partners ---------------- */
.oa-leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.6vw, 24px);
}
.oa-leader {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.6vw, 36px);
}
.oa-leader .k {
  font-family: "Inter", var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}
.oa-leader h3 {
  font-family: "Inter", var(--sans);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}
.oa-leader .r {
  font-size: 14px;
  color: var(--ink-55);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-top: 4px !important;
}
.oa-leader ul {
  margin-top: 14px !important;
}
.oa-leader li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 13.5px;
  color: var(--ink-70);
}
.oa-leader li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 1px;
  background: var(--orange);
}
.oa-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 28px);
}
.oa-ms {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  position: relative;
}
.oa-ms::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.oa-ms .d {
  font-family: "Inter", var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
}
.oa-ms h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.6;
}
.oa-ms p {
  margin-top: 6px !important;
  font-size: 13px;
  color: var(--ink-55);
}
.oa-eco {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.oa-eco > div {
  background: var(--paper);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.2vw, 30px);
}
.oa-plogo {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.oa-plogo img {
  max-height: 38px;
  max-width: 150px;
  width: auto;
}
.oa-eco h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.oa-eco p {
  margin-top: 8px !important;
  font-size: 13.5px;
  color: var(--ink-55);
}


/* ---------------- HeartCore Financial のカード様式 ---------------- */
.hf-oneai .oa-pillar,
.hf-oneai .oa-next a,
.hf-oneai .oa-comp,
.hf-oneai .oa-result,
.hf-oneai .oa-table-wrap {
  border: 1.5px solid var(--ink);
}
.hf-oneai .oa-focus > div {
  border-top: 0;
  border-left: 5px solid #1f2937;
  border-radius: var(--r-sm);
}
.hf-oneai .oa-leader,
.hf-oneai .oa-eco > div {
  border: 1px solid var(--rule);
}
.hf-oneai .oa-partners-logos img.hc {
  height: 64px;
}
.hf-oneai .oa-subnav ul {
  justify-content: center;
}
.hf-oneai .oa-subnav {
  z-index: 1000;
}
/* 濃色セクション内の白い部品は文字を濃色に戻す */
.hf-oneai .oa-dark .oa-module em {
  color: #4b5563;
}
.hf-oneai .oa-dark .oa-engine .pill,
.hf-oneai .oa-dark .oa-arch-label {
  color: var(--ink);
}
.hf-oneai .oa-dark .oa-bus {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06));
}
.hf-oneai .oa-table td.y {
  color: #111827;
}
.hf-oneai .oa-compare td.hi {
  background: #f3f4f6;
}
.hf-oneai .oa-sectors span {
  background: #ffffff;
  border-color: var(--ink);
  color: var(--ink);
}

/* ---------------- CTA / disclaimer ---------------- */
.oa-ctax {
  background: var(--ink);
  text-align: center;
  padding: clamp(64px, 8vw, 104px) 0;
}
.hf-oneai .oa-ctax .eyebrow {
  color: #9ca3af;
}
.hf-oneai .oa-ctax .h2 {
  color: #ffffff;
  margin-top: 16px;
}
.hf-oneai .oa-cta-p {
  margin: 18px auto 0 !important;
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 640px;
}
.hf-oneai .oa-cta-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 1.1rem 2.5rem;
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}
.hf-oneai .oa-cta-btn:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}
.oa-disclaimer {
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-40);
  padding-block: 28px 48px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .oa-barriers,
  .oa-results,
  .oa-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .oa-pillars,
  .oa-next,
  .oa-comps,
  .oa-clip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .oa-split,
  .oa-split.wide-media,
  .oa-intro-split,
  .oa-about-grid,
  .oa-arch-grid,
  .oa-demo,
  .oa-demo.rev {
    grid-template-columns: 1fr;
  }
  .oa-demo.rev .oa-demo-media {
    order: 0;
  }
  .oa-pipe {
    grid-template-columns: 1fr 1fr;
  }
  .oa-pipe > div::after {
    display: none;
  }
  .oa-flow {
    grid-template-columns: 1fr 1fr;
  }
  .oa-flow > div {
    padding-left: 0;
    border-right: 0;
  }
  .oa-focus,
  .oa-eco,
  .oa-leaders {
    grid-template-columns: 1fr;
  }
  .oa-values .oa-value {
    grid-template-columns: 64px 1fr;
  }
  .oa-values .oa-value p {
    grid-column: 2;
  }
  .oa-clip:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .oa-clip:first-child video {
    height: auto;
    aspect-ratio: 16/9;
  }
}
@media (max-width: 640px) {
  .oa-barriers,
  .oa-results,
  .oa-timeline,
  .oa-pillars,
  .oa-next,
  .oa-comps,
  .oa-clip-grid,
  .oa-pipe,
  .oa-flow,
  .oa-modules,
  .oa-engines,
  .oa-core-list {
    grid-template-columns: 1fr;
  }
  .oa-clip:first-child {
    grid-column: auto;
  }
  .oa-values .oa-value {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .oa-values .oa-value p {
    grid-column: 1;
  }
  .oa-facts li {
    flex-direction: column;
    gap: 2px;
  }
  .oa-facts span {
    text-align: left;
  }
  .oa-subnav li a {
    padding: 12px 12px 10px;
    font-size: 13px;
  }
  .oa-arch-label {
    font-size: 12px;
    padding: 6px 16px;
  }
}
@media (max-width: 640px) {
  .oa-hero-partner img {
    height: 34px;
  }
  .oa-hero-partner img + span + img {
    height: 20px;
  }
  .hf-oneai .oa-subnav ul {
    justify-content: flex-start;
  }
}
