:root {
  --ink: #081527;
  --ink-2: #102746;
  --blue: #1769ff;
  --cyan: #17c9e8;
  --mint: #36e1bd;
  --paper: #f5f8fc;
  --line: #dce6f1;
  --muted: #5e7188;
  --white: #fff;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(6, 27, 55, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 108px 0; }
.section--soft { background: var(--paper); }
.section--dark { color: var(--white); background: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--cyan); }
.section-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.22;
  letter-spacing: -.04em;
}
.section-lead { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.section--dark .section-lead { color: #aabbd0; }
.pill {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(23, 105, 255, .2);
  border-radius: 999px;
  color: var(--blue);
  background: #eef5ff;
  font-size: .76rem;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 21, 39, .94);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 132px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { color: #bdc9d8; font-size: .82rem; font-weight: 650; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); }
.header-cta { padding: 10px 17px; border-radius: 9px; color: var(--white) !important; background: var(--blue); }
.menu-toggle { display: none; margin-left: auto; padding: 7px; color: var(--white); border: 0; background: transparent; font-size: 1.5rem; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 25%, rgba(23, 105, 255, .24), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(23, 201, 232, .12), transparent 28%),
    var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid { position: relative; z-index: 1; min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; padding: 74px 0 82px; }
.hero-copy { padding-top: 12px; }
.hero-kicker { color: var(--cyan); font-size: .8rem; font-weight: 800; letter-spacing: .09em; }
.hero h1 { margin: 20px 0 26px; font-size: clamp(2.55rem, 5.7vw, 5rem); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span { color: var(--cyan); }
.hero-lead { max-width: 650px; margin: 0; color: #c5d0df; font-size: clamp(1rem, 1.55vw, 1.18rem); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 800;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 30px rgba(23, 105, 255, .3); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.27); background: rgba(255,255,255,.04); }
.btn--light { color: var(--ink); background: var(--white); }
.hero-note { margin: 20px 0 0; color: #8ea0b6; font-size: .8rem; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -6%; border-radius: 50%; background: rgba(23,105,255,.22); filter: blur(55px); }
.hero-visual img { position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; box-shadow: 0 35px 100px rgba(0,0,0,.42); }
.hero-proof { position: absolute; right: -12px; bottom: 24px; display: grid; gap: 3px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(8,21,39,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-proof strong { color: var(--cyan); font-size: 1.18rem; }
.hero-proof span { color: #aabbd0; font-size: .72rem; }

.quick-value { position: relative; z-index: 2; margin-top: -38px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.quick-item { padding: 30px 32px; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item b { display: block; margin-bottom: 7px; font-size: 1rem; }
.quick-item p { margin: 0; color: var(--muted); font-size: .87rem; }
.quick-no { display: inline-block; margin-bottom: 10px; color: var(--blue); font-size: .75rem; font-weight: 900; }

.era-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.era-card { position: relative; min-height: 310px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.era-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -27px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-weight: 900; }
.era-year { color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.era-card h3 { margin: 48px 0 12px; font-size: 1.35rem; line-height: 1.4; }
.era-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.era-card--future { color: var(--white); border-color: transparent; background: linear-gradient(145deg, #12376d, #0a1c35); box-shadow: 0 22px 55px rgba(8, 36, 78, .24); }
.era-card--future .era-year { color: var(--cyan); }
.era-card--future p { color: #b9c8da; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 50px; }
.flow-step { min-height: 175px; padding: 24px 21px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: rgba(255,255,255,.035); }
.flow-step:nth-child(n+5) { border-color: rgba(23,201,232,.23); background: rgba(23,201,232,.05); }
.flow-step span { color: var(--cyan); font-size: .72rem; font-weight: 850; }
.flow-step h3 { margin: 24px 0 8px; font-size: 1.02rem; }
.flow-step p { margin: 0; color: #9fb0c4; font-size: .82rem; }
.flow-caption { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--cyan); color: #c2cfdd; background: rgba(255,255,255,.04); }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.tech-card { padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.tech-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 38px; color: var(--white); border-radius: 13px; background: var(--ink); font-size: .78rem; font-weight: 900; }
.tech-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.tech-card p { margin: 0; color: var(--muted); font-size: .87rem; }

.network-wrap { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; margin-top: 48px; }
.network-diagram { position: relative; min-height: 500px; display: grid; place-items: center; }
.network-ring { position: absolute; border: 1px solid rgba(23,201,232,.28); border-radius: 50%; }
.network-ring--1 { width: 450px; height: 450px; }
.network-ring--2 { width: 330px; height: 330px; }
.network-core { position: relative; z-index: 2; display: grid; place-items: center; width: 175px; height: 175px; padding: 24px; border-radius: 50%; text-align: center; background: linear-gradient(145deg, var(--blue), #0d3e91); box-shadow: 0 0 70px rgba(23,105,255,.4); }
.network-core strong { font-size: 1.2rem; line-height: 1.3; }
.node { position: absolute; z-index: 3; width: 132px; padding: 13px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #d7e1ed; background: #102746; text-align: center; font-size: .78rem; font-weight: 700; }
.node--a { top: 8px; }.node--b { right: 5px; top: 120px; }.node--c { right: 38px; bottom: 44px; }.node--d { left: 34px; bottom: 40px; }.node--e { left: 0; top: 125px; }
.network-copy h3 { margin: 0 0 18px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.35; }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: #bbcadb; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 900; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.benefit { padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.benefit b { display: block; margin-bottom: 13px; color: var(--blue); font-size: .76rem; }
.benefit h3 { margin: 0 0 10px; font-size: 1.05rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .86rem; }
.compound { margin-top: 22px; padding: 25px 30px; color: var(--white); border-radius: 18px; background: linear-gradient(120deg, var(--blue), #1245a0); }
.compound strong { color: #fff; }

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.status-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); }
.status-card--now { background: var(--white); box-shadow: var(--shadow); }
.status-card--future { background: #eef3f8; border-style: dashed; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.status-head h3 { margin: 0; font-size: 1.35rem; }
.status-card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.status-card li { position: relative; padding-left: 25px; color: var(--muted); font-size: .91rem; }
.status-card li::before { content: "●"; position: absolute; left: 0; color: var(--blue); font-size: .55rem; top: .55em; }
.status-note { margin-top: 19px; color: var(--muted); font-size: .78rem; }

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.link-card { min-height: 210px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: .2s ease; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9cff6; }
.link-card small { color: var(--blue); font-weight: 800; }
.link-card h3 { margin: 30px 0 8px; font-size: 1.08rem; }
.link-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.link-card span { margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 800; }

.cta-panel { overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; border-radius: 28px; color: var(--white); background: linear-gradient(135deg, #0b1c34 10%, #164ba7 100%); box-shadow: var(--shadow); }
.cta-copy { padding: 62px; }
.cta-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.25; }
.cta-copy p { margin: 18px 0 0; color: #c4d1e0; }
.cta-side { display: grid; align-content: center; padding: 48px; border-left: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.cta-side b { color: var(--cyan); }
.cta-side p { margin: 8px 0 0; color: #c3cfdd; font-size: .9rem; }

.site-footer { padding: 68px 0 32px; color: #9fb0c4; background: #06101e; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 70px; }
.footer-brand img { width: 138px; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; margin: 0; font-size: .84rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h4 { margin: 0 0 13px; color: var(--white); font-size: .82rem; }
.footer-links a { display: block; margin: 8px 0; font-size: .8rem; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .73rem; }

.page-hero { padding: 105px 0 85px; color: var(--white); background: radial-gradient(circle at 75% 25%, rgba(23,105,255,.3), transparent 32%), var(--ink); }
.page-hero h1 { max-width: 900px; margin: 14px 0 22px; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.12; letter-spacing: -.05em; }
.page-hero p { max-width: 760px; margin: 0; color: #b6c4d5; font-size: 1.06rem; }
.page-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.page-intro h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.3; letter-spacing: -.035em; }
.page-intro-copy p { margin: 0 0 20px; color: var(--muted); }

@media (min-width: 1021px) {
  .dtf-page .page-hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    white-space: nowrap;
  }

  .dtf-page .page-intro {
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
  }

  .dtf-page .page-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    white-space: nowrap;
  }

  .pegsdl-page .page-hero h1,
  .cases-page .page-hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    white-space: nowrap;
  }

  .pegsdl-page .page-intro,
  .agentic-page .page-intro {
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
  }

  .pegsdl-page .page-intro h2,
  .agentic-page .page-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    white-space: nowrap;
  }

  .agentic-page .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .agentic-page .tech-card {
    padding: 26px 22px;
  }
}
.roadmap-title { max-width: none; font-size: clamp(2rem, 3.6vw, 3.2rem); }
@media (min-width: 761px) { .roadmap-title { white-space: nowrap; } }

@media (min-width: 761px) and (max-width: 1020px) {
  .agentic-page .page-intro {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .agentic-page .page-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    white-space: nowrap;
  }
}

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.detail-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.detail-card h3 { margin: 0 0 12px; }
.detail-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.visual-panel { overflow: hidden; margin-top: 52px; border: 1px solid var(--line); border-radius: 24px; background: var(--ink); box-shadow: var(--shadow); }
.visual-panel img { width: 100%; }
.callout { margin-top: 44px; padding: 30px 34px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: #eef5ff; }
.callout p { margin: 0; color: #36506e; }
.metric-empty { padding: 30px; border: 1px dashed #b8c8da; border-radius: 16px; color: var(--muted); background: #fafcff; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; z-index: 99; inset: 72px 0 auto; display: none; padding: 22px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 28px 50px rgba(0,0,0,.28); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 12px 2px; color: #d2dce7; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 92px; }
  .hero-visual { max-width: 720px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .network-wrap { grid-template-columns: 1fr; }
  .network-copy { order: -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 76px 0; }
  .hero-grid { gap: 38px; padding: 70px 0 76px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .hero-proof { right: 10px; bottom: 12px; }
  .quick-value { margin-top: 0; padding-top: 18px; background: var(--paper); }
  .quick-grid, .era-grid, .flow, .benefit-grid, .status-grid, .link-cards, .footer-grid, .page-intro, .detail-grid { grid-template-columns: 1fr; }
  .quick-item + .quick-item { border-left: 0; border-top: 1px solid var(--line); }
  .era-card:not(:last-child)::after { top: auto; right: 50%; bottom: -28px; transform: translateX(50%) rotate(90deg); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .network-diagram { min-height: 410px; transform: scale(.82); margin: -42px -30px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-copy, .cta-side { padding: 38px 27px; }
  .cta-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 450px) {
  .flow { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .status-card, .benefit, .tech-card { padding: 26px; }
  .footer-links { grid-template-columns: 1fr; }
}
