:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #333840;
  --muted: #5f6670;
  --surface: #f7f8fa;
  --line: #e3e6ea;
  --line-strong: #d3d7dd;
  --red: #6d3bef;
  --red-deep: #5a2fd6;
  --red-dark: #4730b5;
  --red-tint: #efeafd;
  --accent-blue: #3b5bdb;
  --or-red: #e60012;
  --or-red-tint: #fdeaec;
  --white: #ffffff;
  --container: 1140px;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 17px; }
body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link { position: absolute; top: -48px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--red); color: #fff; }
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 116px 0; }
.compact-section { padding-top: 80px; padding-bottom: 80px; }
.surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line-strong); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 4px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 1rem; letter-spacing: 0;
}
.brand-logo { height: 30px; width: auto; display: block; }
.brand-copy { display: grid; gap: 1px; line-height: 1.3; }
.brand-copy strong { color: var(--ink); font-size: 0.98rem; font-weight: 700; }
.brand-copy small { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.1em; }
.site-nav { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }
.site-nav a { position: relative; padding: 4px 0; transition: color 160ms ease; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: #e71423; transform: scaleX(0); transform-origin: left; transition: transform 160ms ease;
}
.site-nav a:hover, .site-nav a.active { color: #e71423; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 18px; 
  border-radius: 3px; font-weight: 700;
}
.nav-cta::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background: var(--or-red); color: #fff !important; }
}
.nav-cta:active { background: var(--or-red); color: #fff !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; padding: 10px; }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 6px 0; background: var(--ink); transition: transform 160ms ease, opacity 160ms ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Typography ---------- */
.eyebrow {
  margin: 0 0 16px; color: #e71423;
  font-size: 1.74rem; font-weight: 700; letter-spacing: 0.14em;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  margin-bottom: 24px; color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700;
  line-height: 1.55; letter-spacing: 0.01em;
}
h2 {
  margin-bottom: 18px; color: var(--ink);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700;
  line-height: 1.6; letter-spacing: 0.01em;
}
h3 { margin-bottom: 12px; color: var(--ink); font-size: 1.4rem; font-weight: 700; line-height: 1.65; }
h4 { margin-bottom: 8px; color: var(--ink); font-size: 1.02rem; font-weight: 700; }
.lead { max-width: 640px; margin-bottom: 32px; color: var(--muted); font-size: 1rem; line-height: 2; }
p { color: var(--muted); }

/* ---------- Hero (red, centered) ---------- */
.hero {
  position: relative;
  padding: 56px 0 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfc 0%, #fff 100%);
}
.hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-inner .cost-card, .hero-inner .cost-explain { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-headline {
  margin: 0 auto 32px; color: var(--ink); font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.6; letter-spacing: 0.02em;
  width: max-content; max-width: 100%;
}
.hl-ai {
  color: #e60012;
  -webkit-text-fill-color: #e60012;
  background: none;
}

/* comparison table */
.cost-card { position: relative; margin: 0 auto; }
.ai-cost-table {
  width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.05rem;
  border: 1px solid #eee; border-radius: 6px; overflow: hidden;
}
.ai-cost-table th, .ai-cost-table td {
  padding: 13px 10px; text-align: center; border-bottom: 1px solid #f0f0f0;
}
.ai-cost-table thead th {
  background: #e60012; color: #fff; font-weight: 700; font-size: 0.98rem; border-bottom: 0;
}
.ai-cost-table tbody td { color: var(--ink-soft); }
.ai-cost-table tbody td:nth-child(2) { color: var(--ink); font-weight: 500; }
.ai-cost-table .big { font-size: 1.4rem; font-weight: 900; color: var(--ink); }
.ai-cost-table .zero { color: #e60012; font-size: 1.4rem; font-weight: 900; }
.ai-cost-table tbody tr:last-child td { border-bottom: 0; }
.ai-cost-table .total td { background: #fdeaec; font-weight: 900; font-size: 1.5rem; color: var(--ink); border-top: 1px solid #f6c9ce; }
.ai-cost-table .total td:nth-child(1), .ai-cost-table .total td:nth-child(3) { color: #e60012; }
.ai-cost-table .total td:nth-child(2) { font-size: 1.05rem; color: #e60012; }

.cost-bracket { height: 34px; margin-top: -1px; }
.cost-bracket svg { width: 100%; height: 100%; display: block; }

/* explain row with badge */
.cost-explain {
  display: flex; align-items: center; gap: 22px; margin-top: 8px;
  padding: 26px 30px; border: 1px solid #f6d0d4; border-radius: 14px; background: #fdf4f5;
  text-align: left;
}
.cost-badge {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: linear-gradient(150deg, #ff5a6a 0%, #e60012 60%, #c20010 100%);
  color: #fff; text-align: center; line-height: 1.25;
  box-shadow: 0 12px 26px rgba(200,16,40,0.32);
}
.badge-top { font-size: 0.66rem; font-weight: 700; }
.badge-pct { font-size: 2.3rem; font-weight: 900; line-height: 1; }
.badge-pct small { font-size: 0.95rem; font-weight: 700; }
.badge-bottom { font-size: 0.8rem; font-weight: 700; }
.cost-explain-text { margin: 0; color: var(--ink-soft); font-size: 1.02rem; font-weight: 600; line-height: 1.85; }
.cost-explain-text .hi { color: #e60012; font-weight: 900; }

/* CTA: team AI logo */
.hero-cta {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  margin-top: 48px; flex-wrap: wrap;
}
.teamai-logo {
  width: clamp(220px, 32vw, 320px); height: auto; display: block;
  border: 2px solid #1a1a1a; border-radius: 6px; padding: 14px 18px; background: #fff;
}
.hero-cta-text { margin: 0; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.6; text-align: left; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Statement ---------- */
.statement-section { padding: 100px 0; background: #fff; }
.statement-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.statement-inner h2 { margin-bottom: 36px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.7; }
.statement-inner h2::after { content: ""; display: block; width: 48px; height: 2px; margin: 24px auto 0; background: var(--red); }
.statement-body { max-width: 720px; margin: 0 auto; }
.statement-body p { margin: 0 0 18px; color: var(--muted); font-size: 0.98rem; line-height: 2.1; }
.statement-body p:last-child { margin-bottom: 0; }

/* ---------- Nav tiles ---------- */
.tiles-section { padding: 0 0 100px; background: #fff; }
.tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nav-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 150px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
  transition: border-color 180ms ease, background 180ms ease;
}
.nav-tile .tile-jp { color: var(--ink); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em; }
.nav-tile .tile-en { color: var(--red); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; }
.nav-tile:hover { border-color: var(--red); background: #fff; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--ink); }
.stat-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.stat-band-grid div { padding: 36px 28px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-band-grid div:last-child { border-right: 0; }
.stat-band-grid dt { color: rgba(255,255,255,0.6); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 10px; }
.stat-band-grid dd { margin: 0; color: #fff; font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-band-grid dd span { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-left: 4px; }

/* ---------- Section head (numbered chapters) ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.section-head-label { display: flex; align-items: baseline; gap: 18px; }
.section-no { color: var(--red); font-size: 0.92rem; font-weight: 700; letter-spacing: 0.14em; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head-link { color: var(--ink-soft); font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.section-head-link::after { content: " →"; color: var(--red); }
.section-head-link:hover { color: var(--red); }
.section-lead { max-width: 760px; margin-bottom: 34px; }
.section-lead p { font-size: 1rem; line-height: 2.05; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 13px 30px; border-radius: 3px;
  font-weight: 700; font-size: 0.95rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button.primary { border: 1px solid #ffffff; background: #e71423; color: #fff; }
.button.primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.button.secondary { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: var(--red); color: var(--red); }

/* ---------- News ---------- */
.news-section { background: #e9eff78a; padding-top: 64px; padding-bottom: 64px; }
.news-heading { text-align: center; margin-bottom: 26px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: 0.08em; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: flex; align-items: center; gap: 24px; padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  max-height: 160px; opacity: 1; overflow: hidden;
  transition: max-height 420ms ease, opacity 320ms ease 60ms, padding 420ms ease, border-color 420ms ease;
}
.news-list li.news-hidden {
  max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0;
  border-bottom-color: transparent; pointer-events: none;
}
.news-list time { color: var(--ink-soft); font-size: 0.88rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 108px; }
.news-cat { padding: 4px 12px; border: 1px solid currentColor; border-radius: 4px; background: #fff; font-size: 0.72rem; font-weight: 700; white-space: nowrap; min-width: 96px; text-align: center; }
.news-cat.cat-info { color: #e8833a; }
.news-cat.cat-media { color: #6d3bef; }
.news-cat.cat-press { color: #3b5bdb; }
.news-list a { color: var(--ink); font-size: 0.94rem; font-weight: 500; transition: color 160ms ease; }
.news-list a.news-featured { color: #3b5bdb; font-weight: 700; }
.news-list a:hover { color: var(--red); }
.news-more { display: flex; justify-content: center; margin-top: 26px; transition: margin 300ms ease; }
.news-more.is-done { margin-top: 0; height: 0; overflow: hidden; opacity: 0; }
.news-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; min-height: 44px; padding: 10px 30px;
  border: 0; border-radius: 999px; background: var(--or-red); color: #fff;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em;
  cursor: pointer; transition: background 160ms ease, transform 160ms ease;
}
.news-button:hover { background: var(--red-dark); }
.news-button:active { transform: scale(0.97); }

/* section lead title + product extras */
.lead-title { text-align: center; margin-bottom: 14px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; color: var(--or-red); }
.section-lead:has(.lead-title) { max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; }
.lp-url { margin: 10px 0 6px; color: var(--muted); font-size: 0.92rem; word-break: break-all; }
.seller { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.96rem; font-weight: 500; }

/* ---------- Section Headings ---------- */
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading.centered { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading p:not(.eyebrow) { font-size: 0.98rem; line-height: 1.95; }

/* ---------- Development Model ---------- */
.approach-section { background: #fff; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.model-card { padding: 34px 30px; background: #fff; border-right: 1px solid var(--line); }
.model-card:last-child { border-right: 0; }
.model-card.featured { background: var(--surface); }
.model-number { display: block; margin-bottom: 16px; color: var(--red); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; }
.model-card h3 { font-size: 1.1rem; }
.model-card p { font-size: 0.92rem; }


/* ---------- Intro Feature ---------- */
.intro-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.intro-feature h2 { max-width: 560px; }
.intro-feature p:not(.eyebrow) { max-width: 620px; font-size: 0.98rem; line-height: 1.95; }
.feature-image-card { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.feature-image-card img { width: 100%; }

/* ---------- Cards Grids ---------- */
.three-cards, .product-grid, .business-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.card, .product-card, .pricing-card, .company-card, .executive-card, .contact-form {
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
.card, .product-card, .pricing-card, .executive-card { padding: 30px; }
.card, .product-card, .pricing-card, .executive-card { padding-bottom: 5px; }

.card.flat { background: var(--surface); }
.service-card { position: relative; border-top: 3px solid #e71423; }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 4px; background: var(--red-tint); color: var(--red);
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: #e71423; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card p { font-size: 1rem; line-height: 1.85; }
.service-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.service-head .service-icon { margin-bottom: 0; flex-shrink: 0; }
.service-head h3 { margin: 0; }

/* ---------- Domain Panel ---------- */
.domain-panel { margin-top: 32px; padding: 40px 44px; border: 0; border-radius: 6px; background: #e9eff7; }
.process-panel { margin-top: 28px; }
.domain-label { margin-bottom: 24px; font-size: 1.15rem; letter-spacing: 0.06em; }
.domain-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.domain-list article { padding: 28px 26px; border: 1px solid #dfe6f0; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(74,48,150,0.05); }
.domain-list span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 26px; margin-bottom: 14px; padding: 0 10px;
  background: linear-gradient(100deg, #6d3bef, #4361ee); color: #fff;
  border-radius: 999px; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em;
}
.domain-list h4 { margin-bottom: 10px; font-size: 1.1rem; line-height: 1.6; }
.domain-list p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.85; }

/* ---------- Process Timeline ---------- */
.process-section { margin-top: 64px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 38px; padding: 0; margin: 0; list-style: none; }
.timeline li { position: relative; padding: 28px 18px; background: #fff; border: 1px solid #dfe6f0; border-radius: 10px; text-align: center; box-shadow: 0 6px 18px rgba(74,48,150,0.05); }
.visual-timeline li img { width: 68px; height: 68px; object-fit: contain; margin: 0 auto 14px; }
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 142px;
  left: calc(100% + 6px);
  width: 26px;
  height: 16px;
  background-color: var(--or-red);
  clip-path: polygon(0% 30%, 55% 30%, 55% 5%, 100% 50%, 55% 95%, 55% 70%, 0% 70%);
  z-index: 2;
}
.timeline span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 26px; margin-bottom: 12px; padding: 0 10px;
  background: linear-gradient(100deg, #e71423, #e71423); color: #fff;
  border-radius: 999px; font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em;
}
.timeline strong { display: block; margin-bottom: 10px; color: var(--ink); font-weight: 700; font-size: 1.05rem; line-height: 1.6; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.8; }

/* ---------- SaaS Product List (new design) ---------- */
.saas-product-list { display: flex; flex-direction: column; gap: 22px; }
.saas-product-card {
  display: flex; align-items: stretch; gap: 30px;
  padding: 26px 34px; border: 2.5px solid var(--or-red); border-radius: 14px; background: #fff;
}
.saas-product-logo {
  flex: 0 0 34%; display: flex; align-items: center; justify-content: center;
  padding-right: 30px; border-right: 1.5px solid var(--line);
}
.saas-product-logo img { width: 100%; max-width: 320px; max-height: 130px; object-fit: contain; }
.saas-product-body { flex: 1; display: flex; flex-direction: column; min-width: 0; justify-content: center; }
.saas-product-body h3 { margin: 0 0 10px; color: var(--or-red); font-size: 1.7rem; font-weight: 800; }
.saas-product-body p { margin: 0; color: var(--ink-soft); font-size: 1.25rem; line-height: 1.75; }
.saas-product-footer { margin-top: 14px; display: flex; justify-content: flex-end; }
.saas-product-footer a { color: var(--or-red); font-weight: 700; font-size: 1.05rem; }
.saas-product-footer a::after { content: " →"; }
.saas-product-footer a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .saas-product-card { flex-direction: column; padding: 22px 22px; gap: 16px; }
  .saas-product-logo { flex-basis: auto; padding-right: 0; padding-bottom: 16px; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .saas-product-body h3 { font-size: 1.4rem; }
  .saas-product-body p { font-size: 1rem; }
}

/* ---------- Product / Pricing ---------- */
.product-card, .pricing-card { display: flex; flex-direction: column; }
.product-logo {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 132px;
  padding: 16px 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.product-logo img { width: 100%; max-width: 280px; max-height: 100px; object-fit: contain; }
.product-tag, .pricing-label {
  display: inline-flex; width: fit-content; padding: 5px 11px; margin: 0 0 14px;
  border: 1px solid var(--line-strong); border-radius: 3px; background: #fff;
  color: var(--muted); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em;
}
.product-card p, .pricing-card p { font-size: 1rem; line-height: 1.85; }
.product-card a, .pricing-card a { margin-top: auto; color: var(--red); font-weight: 700; font-size: 1rem; }
.product-card a::after, .pricing-card a::after { content: " →"; }
.product-card a:hover, .pricing-card a:hover { text-decoration: underline; }
.pricing-card strong { display: block; margin: 12px 0 24px; color: var(--ink); font-size: 1.6rem; font-weight: 700; }
.pricing-card strong span { color: var(--muted); font-size: 0.82rem; font-weight: 500; }

/* ---------- System Sales (full-card image grid) ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 780px; margin: 0 auto; }
.deal-card-link { display: block; border-radius: 26px;  }
.deal-card-img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .deal-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* Redesigned pricing cards */
.pricing-card {
  position: relative; overflow: hidden; padding-top: 34px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 10px 30px rgba(74,48,150,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pricing-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(100deg, #7c4dff, #4361ee);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(74,48,150,0.12); }
.pricing-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pricing-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--red-tint); color: var(--red);
}
.pricing-icon svg { width: 28px; height: 28px; }
.pricing-card .pricing-label {
  margin: 0; padding: 6px 14px; border: 0; border-radius: 999px;
  background: linear-gradient(100deg, #7c4dff, #4361ee); color: #fff;
  font-size: 0.78rem; letter-spacing: 0.1em;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pricing-card > p { font-size: 1rem; line-height: 1.85; }
.pricing-price {
  display: flex; align-items: baseline; gap: 8px; margin: 18px 0 16px;
  padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.price-amount { color: var(--ink); font-size: 2.2rem; font-weight: 900; line-height: 1; }
.price-amount small { font-size: 1.1rem; font-weight: 700; margin-left: 2px; }
.price-tax { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.pricing-card .seller { margin: 0 0 20px; color: var(--ink-soft); font-size: 0.98rem; }
.pricing-cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 24px; border-radius: 8px;
  border: 1.5px solid var(--red); background: #fff; color: var(--red) !important;
  font-weight: 700; font-size: 1rem; transition: background 160ms ease, color 160ms ease;
}
.pricing-cta::after { content: "  →"; }
.pricing-cta:hover { background: var(--red); color: #fff !important; text-decoration: none; }

/* ---------- Notice Block ---------- */
.notice-block { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.notice-block h2, .notice-block p { margin-bottom: 0; }
.notice-block h2 { font-size: 1.5rem; }

/* ---------- Company (PDF design) ---------- */
.company-section { background: #fff; }
.company-hero { display: flex; align-items: center; gap: 36px; margin-bottom: 56px; padding-bottom: 36px; }
.company-logo { width: 168px; height: auto; flex: 0 0 auto; }
.company-hero-copy { border-left: 1px solid var(--line); padding-left: 36px; }
.company-hero-copy h3 { margin-bottom: 12px; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; }
.company-hero-copy p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.9; }

.redtab { display: flex; align-items: center; margin: 0 0 22px; padding-left: 16px; position: relative; color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.redtab::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 1.15em; background: var(--or-red); border-radius: 1px; }

.company-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; margin-bottom: 60px; }
.company-cols > div { display: flex; flex-direction: column; }
.company-cols .company-list, .company-cols .origin-box { flex: 1; }
.company-list { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.company-list div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.company-list div:nth-child(even) { background: var(--surface); }
.company-list div:last-child { border-bottom: 0; }
.company-list dt { color: var(--ink); font-weight: 700; font-size: 0.95rem; }
.company-list dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; }

.origin-box { padding: 28px 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.origin-box p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.9; }
.origin-box p:last-child { margin-bottom: 0; }
.origin-quote { color: var(--or-red) !important; font-weight: 700; font-size: 1.0rem !important; line-height: 1.8 !important; }

.biz-overview { margin-bottom: 8px; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card { padding: 28px 26px; border: 1px solid #f4cfd3; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(160,20,40,0.05); }
.biz-head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; margin-bottom: 18px; }
.biz-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--or-red-tint); color: var(--or-red); }
.biz-icon svg { width: 28px; height: 28px; }
.biz-no { color: var(--or-red); font-size: 1.5rem; font-weight: 900; }
.biz-head h4 { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.45; padding-left: 12px; border-left: 1px solid var(--line); }
.biz-card > p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.9; }
.biz-list { margin: 0; padding: 0; list-style: none; }
.biz-list li { position: relative; padding-left: 20px; margin-bottom: 10px; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.biz-list li:last-child { margin-bottom: 0; }
.biz-list li::before { content: "›"; position: absolute; left: 0; top: 0; color: var(--or-red); font-weight: 900; }

/* executives */
.executive-block { margin-top: 72px; }
.exec-heading { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 44px; position: relative; }
.exec-heading .company-logo.small { width: 96px; position: absolute; left: 0; }
.exec-title { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: 0.08em; }
.exec-title::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; background: var(--or-red); }
.exec-list { display: grid; gap: 28px; }
.exec-card {
  display: flex; align-items: stretch; gap: 40px;
  padding: 36px 42px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.exec-intro {
  flex: 0 0 240px; display: flex; flex-direction: column; justify-content: center;
  padding-right: 38px; border-right: 1px solid var(--line);
}
.exec-role { display: inline-flex; align-items: center; margin: 0 0 12px; padding-left: 14px; position: relative; color: var(--or-red); font-weight: 700; font-size: 0.95rem; }
.exec-role::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 1.1em; background: var(--or-red); }
.exec-name { margin: 0 0 6px; color: var(--ink); font-size: 1.7rem; font-weight: 800; line-height: 1.4; }
.exec-romaji { margin: 0; color: var(--muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; }
.exec-body { flex: 1; display: flex; align-items: center; min-width: 0; }
.exec-bio { margin: 0; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.95; }

/* ---------- Contact ---------- */
.contact-section { background: var(--surface); color: var(--ink); }
.contact-section h2, .contact-section .eyebrow { color: var(--ink); }
.contact-section .eyebrow { color: var(--red); }
.contact-section .section-intro { color: var(--muted); }
.contact-grid { display: block; max-width: 720px; margin: 0 auto; }
.contact-section .section-head { justify-content: center; text-align: center; }
.contact-section .section-head-label { justify-content: center; }
.contact-points { display: grid; gap: 12px; padding: 0; margin: 28px 0 0; list-style: none; }
.contact-points li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 0.95rem; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 8px; height: 8px; background: var(--red); }
.contact-form { padding: 34px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(74,48,150,0.06); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; }
.contact-form span { color: var(--ink); font-weight: 700; font-size: 0.88rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff; color: var(--ink);
  padding: 12px 14px; outline: none; transition: border-color 160ms ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form .button { width: 100%; margin-top: 6px; }
.form-note { margin: 14px 0 0; font-size: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; background: #111418; color: rgba(255,255,255,0.66); border-top: 3px solid #e71423; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.footer-brand .brand-mark { background: var(--red); color: #fff; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-brand .brand-copy small { color: rgba(255,255,255,0.55); }
.site-footer p { margin: 12px 0 0; font-size: 0.88rem; }
.footer-nav { display: flex; gap: 20px; font-size: 0.88rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0 !important; font-size: 0.82rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-nav { gap: 18px; font-size: 0.85rem; }
  .intro-feature, .company-grid, .contact-grid, .cost-block { grid-template-columns: 1fr; gap: 36px; }
  .domain-panel { grid-template-columns: 1fr; gap: 28px; }
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .company-cols { grid-template-columns: 1fr; gap: 36px; }
  .biz-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .section-pad { padding: 76px 0; }
  .compact-section { padding: 60px 0; }
  .statement-section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .cost-explain { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .cost-explain-text { text-align: center; }
  .hero-cta { flex-direction: column; gap: 18px; }
  .hero-cta-text { text-align: center; }
  .tiles-section { padding: 0 0 64px; }
  .tiles-grid { grid-template-columns: 1fr; gap: 14px; }
  .nav-tile { min-height: 96px; }
  .stat-band-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band-grid div:nth-child(2) { border-right: 0; }
  .stat-band-grid div:nth-child(1), .stat-band-grid div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .section-head { flex-direction: row; align-items: center; }
  .news-list li { flex-wrap: wrap; gap: 10px 16px; max-height: 220px; }
  .news-list a { flex-basis: 100%; }
  .nav-toggle { display: block; z-index: 60; }
  .site-nav {
    position: fixed; top: 72px; right: 18px; left: 18px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    border: 1px solid var(--line); border-radius: 6px; background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero { padding: 60px 0; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:nth-child(1), .hero-facts div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .three-cards, .product-grid, .pricing-grid, .business-overview, .domain-list { grid-template-columns: 1fr; }
  .company-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .company-hero-copy { border-left: 0; padding-left: 0; }
  .biz-grid { grid-template-columns: 1fr; }
  .exec-card { flex-direction: column; gap: 22px; padding: 26px; }
  .exec-intro { flex-basis: auto; padding-right: 0; padding-bottom: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .exec-heading { flex-direction: column; gap: 12px; }
  .exec-heading .company-logo.small { position: static; }
  .model-grid { grid-template-columns: 1fr; }
  .model-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .model-card:last-child { border-bottom: 0; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline li:not(:last-child)::after {
    top: auto; left: 50%; bottom: -20px;
    transform: translateX(-50%) rotate(90deg);
    width: 20px; height: 13px;
  }
  .notice-block { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  html { scroll-padding-top: 72px; }
  .stat-band-grid { grid-template-columns: 1fr; }
  .stat-band-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-band-grid div:last-child { border-bottom: 0; }
  .news-cat { min-width: 0; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts div:last-child { border-bottom: 0; }
  .card, .product-card, .pricing-card, .executive-card, .contact-form, .cost-block, .domain-panel, .notice-block { padding: 24px; }
  .company-list div { grid-template-columns: 1fr; gap: 4px; }
  .cost-table { font-size: 0.85rem; }
  .cost-table th, .cost-table td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================
   OR Intro Animation
========================================= */

.or-intro {
    width: 100%;
    height: 70vh;

    background: #000;

    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 40px;
}

/* Subtle vignette */

.or-intro::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(0,0,0,0.12) 70%,
            rgba(0,0,0,0.35) 100%
        );

    pointer-events: none;
}

/* =========================================
   Text
========================================= */

.or-text {

    position: absolute;

    top: 50%;
    left: 50%;

    color: #fff;

    font-size: clamp(34px, 3vw, 58px);
    font-weight: 700;

    letter-spacing: .15em;
    line-height: 1.8;

    text-align: center;
    white-space: pre-line;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.75);

    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Active state */

.or-text.animate {
    animation: orReveal 5.5s cubic-bezier(.22,1,.36,1) forwards;
}

/* =========================================
   Reveal Animation
========================================= */

@keyframes orReveal {

    0% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(.75);
    }

    22% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    82% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    100% {
        opacity: 0;
        transform:
            translate(-50%, -50%)
            scale(1);
    }
}

/* =========================================
   Logo
========================================= */

.or-logo {

    position: absolute;

    top: 50%;
    left: 50%;

    width: min(360px, 32vw);

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(.85);

    transition:
        opacity 2.2s ease,
        transform 2.2s cubic-bezier(.22,1,.36,1);

    will-change: transform, opacity;
    backface-visibility: hidden;
}

.or-logo.show {

    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1);
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .or-intro {
        height: 60vh;
        padding-top: 20px;
    }

    .or-text {

        width: calc(100% - 48px);

        font-size: 28px;

        letter-spacing: .08em;
        line-height: 1.7;
    }

    .or-logo {
        width: 220px;
    }
}

@media (max-width: 480px) {

    .or-text {
        font-size: 24px;
    }

    .or-logo {
        width: 180px;
    }
}


.or-intro {
  width: 100%;
  height: 82vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(230, 0, 18, 0.22), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(109, 59, 239, 0.18), transparent 32%),
    linear-gradient(180deg, #050509 0%, #090914 55%, #000 100%);
}

/* AI grid */
.or-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.45;
  animation: gridMove 18s linear infinite;
}

/* moving glow / tech energy */
.or-intro::after {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,18,0.28), transparent 62%);
  filter: blur(44px);
  animation: glowFloat 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes gridMove {
  from { transform: translateY(0); }
  to { transform: translateY(52px); }
}

@keyframes glowFloat {
  from { transform: translate(-18%, -8%) scale(1); }
  to { transform: translate(16%, 8%) scale(1.15); }
}

.or-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  color: #fff;
  font-size: clamp(34px, 4vw, 72px);
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.65;
  text-align: center;
  white-space: pre-line;

  opacity: 0;
  transform: translate(-50%, -50%) scale(.92);
  filter: blur(14px);
  text-shadow:
    0 0 18px rgba(230,0,18,.38),
    0 0 42px rgba(255,255,255,.12);
}

.or-text.animate {
  animation: orReveal 2.6s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes orReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.9);
    filter: blur(18px);
    letter-spacing: .28em;
  }

  24% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
    letter-spacing: .16em;
  }

  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.06);
    filter: blur(10px);
  }
}

.or-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;

  width: min(360px, 34vw);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.82);
  filter: drop-shadow(0 0 36px rgba(230,0,18,.55));

  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(.22,1,.36,1);
}

.or-logo.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* logo halo */
.or-logo.show::before {
  content: "";
}

@media (max-width: 768px) {
  .or-intro {
    height: 60vh;
  }

  .or-text {
    width: calc(100% - 48px);
    font-size: 28px;
    letter-spacing: .1em;
  }

  .or-logo {
    width: 220px;
  }
}

.or-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(230, 0, 18, .35), transparent 28%),
    radial-gradient(circle at 18% 35%, rgba(30, 80, 255, .28), transparent 32%),
    linear-gradient(120deg, #02030a 0%, #150018 45%, #260006 100%);
  user-select: none;
}

.tech-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.or-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.or-text {
  z-index: 3;
  pointer-events: none;
  cursor: default;
  text-shadow:
    0 0 18px rgba(255,255,255,.25),
    0 0 42px rgba(230,0,18,.45);
}

.or-logo {
  z-index: 3;
  pointer-events: none;
}