
/* ── system font stack (CSP: no external fonts) ─────── */
:root {
  --dd-font-jp: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/* ── base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--dd-font-jp);
  color: #161c2b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
.dd-jp {
  font-family: var(--dd-font-jp);
}
.dd-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.dd-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ── nav ────────────────────────────────────────────── */
.dd-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  border-bottom: 1px solid rgba(22, 28, 43, 0.08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 20;
  transition: box-shadow 0.25s ease;
}
.dd-nav.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 33, 61, 0.1);
}
.dd-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dd-nav__logo {
  height: 34px;
  width: auto;
}
.dd-nav__tag {
  font-weight: 500;
  font-size: 12.5px;
  color: #5b6478;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  border-left: 1px solid #d8dbe4;
  padding-left: 12px;
}
.dd-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.dd-navlink {
  color: #4a526a;
  transition: color 0.2s;
}
.dd-navlink:hover {
  color: #16213d;
}
.dd-btn {
  display: inline-block;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s,
    background 0.2s;
}
.dd-btn--nav {
  padding: 12px 26px;
  background: #16213d;
  color: #fff;
}
.dd-btn--nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 33, 61, 0.28);
}

/* ── hero ───────────────────────────────────────────── */
.dd-hero {
  padding: 110px 64px 0;
  background: linear-gradient(180deg, #f5f6fa 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.dd-hero__blob {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(22, 33, 61, 0.07),
    rgba(22, 33, 61, 0) 70%
  );
  pointer-events: none;
  animation: ddBlob 10s ease-in-out infinite;
}
.dd-hero__inner {
  max-width: 1220px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-bottom: 100px;
  position: relative;
}
.dd-hero__copy {
  flex: 2 1 420px;
  max-width: 580px;
  min-width: 300px;
}
.dd-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #8892a6;
  font-weight: 700;
  margin-bottom: 22px;
  animation: ddFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.dd-h1 {
  font-weight: 900;
  font-size: 52px;
  line-height: 1.5;
  color: #16213d;
  letter-spacing: 0.01em;
  margin: 0;
  animation: ddFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s both;
}
.dd-lead {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.9;
  color: #4a526a;
  max-width: 520px;
  animation: ddFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.16s both;
}
.dd-cta-row {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  animation: ddFadeUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.24s both;
}
.dd-btn--primary {
  padding: 18px 36px;
  background: #16213d;
  color: #fff;
  font-size: 15px;
}
.dd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 33, 61, 0.3);
}
.dd-btn--ghost {
  padding: 18px 36px;
  border: 1px solid #c9cedb;
  color: #16213d;
  font-size: 15px;
}
.dd-btn--ghost:hover {
  border-color: #16213d;
  transform: translateY(-2px);
}
.dd-hero__media {
  flex: 1 1 340px;
  max-width: 440px;
  min-width: 260px;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  animation: ddFadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s both;
}
.dd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── process strip ──────────────────────────────────── */
.dd-process {
  padding: 52px 64px 60px;
  background: #fff;
  border-bottom: 1px solid #ececf1;
}
.dd-process__label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #8892a6;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  margin-bottom: 40px;
}
.dd-process__scroll {
  max-width: 1160px;
  width: 100%;
  overflow-x: auto;
}
.dd-process__row {
  display: flex;
  align-items: flex-start;
  min-width: 640px;
}
.dd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: none;
  width: 104px;
}
.dd-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #16213d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s, background 0.25s;
}
.dd-step:hover .dd-step__num {
  transform: scale(1.12);
  background: #25366b;
}
.dd-step__label {
  font-size: 13px;
  font-weight: 700;
  color: #16213d;
  text-align: center;
}
.dd-line {
  flex: 1;
  height: 2px;
  background: #d8dbe4;
  margin-top: 26px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}
.is-visible .dd-line {
  transform: scaleX(1);
}

/* ── generic section ────────────────────────────────── */
.dd-section {
  padding: 110px 64px;
}
.dd-section--gray {
  background: #f5f6fa;
}
.dd-inner {
  max-width: 1160px;
  width: 100%;
}
.dd-inner--narrow {
  max-width: 1040px;
}
.dd-h2 {
  font-family: var(--dd-font-jp);
  font-size: 32px;
  font-weight: 700;
  color: #16213d;
  text-align: center;
  margin: 0 0 16px;
}
.dd-h2--onDark {
  color: #fff;
}
.dd-sub {
  text-align: center;
  font-size: 15px;
  color: #5b6478;
  margin: 0 0 52px;
}

/* reveal */
.dd-reveal {
  transform: translateY(26px);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.dd-reveal.is-visible {
  transform: translateY(0);
}

/* ── comparison ─────────────────────────────────────── */
.dd-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e3e6ee;
  border-radius: 8px;
  overflow: hidden;
}
.dd-compare__col {
  padding: 40px;
}
.dd-compare__col--us {
  background: #f5f6fa;
  border-left: 1px solid #e3e6ee;
}
.dd-compare__head {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 24px;
}
.dd-compare__head--other {
  color: #8892a6;
}
.dd-compare__head--us {
  color: #16213d;
}
.dd-compare__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 14.5px;
  line-height: 1.7;
}
.dd-compare__list--other {
  color: #5b6478;
}
.dd-compare__list--us {
  color: #16213d;
  font-weight: 500;
}

/* ── why us (dark) ──────────────────────────────────── */
.dd-why {
  background-color: #16213d;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.07) 1.5px,
    transparent 1.5px
  );
  background-size: 24px 24px;
  color: #fff;
}
.dd-eyebrow--center {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #8fa3d6;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}
.dd-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dd-why__card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.25s, background 0.25s;
}
.dd-why__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
}
.dd-why__num {
  font-family: ui-monospace, monospace;
  color: #8fa3d6;
  font-size: 20px;
  margin-bottom: 18px;
}
.dd-why__title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.dd-why__desc {
  font-size: 13.5px;
  color: #c2c9dc;
  line-height: 1.75;
}

/* ── cases ──────────────────────────────────────────── */
.dd-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dd-case {
  background: #fff;
  border: 1px solid #e3e6ee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.dd-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(22, 33, 61, 0.12);
}
.dd-case__banner {
  width: 100%;
  height: 130px;
  position: relative;
  overflow: hidden;
  background-size: auto, 20px 20px;
}
.dd-case__mark {
  position: absolute;
  right: -6px;
  bottom: -30px;
  font-family: var(--dd-font-jp);
  font-weight: 900;
  font-size: 112px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}
.dd-case__body {
  padding: 26px 32px 32px;
}
.dd-case__title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  color: #16213d;
}
.dd-case__desc {
  font-size: 13.5px;
  color: #5b6478;
  line-height: 1.8;
  margin-bottom: 18px;
}
.dd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dd-tag {
  font-size: 11px;
  padding: 5px 10px;
  background: #f5f6fa;
  border-radius: 20px;
  color: #4a526a;
}

/* ── company facts ──────────────────────────────────── */
.dd-facts {
  padding: 96px 64px;
  background: #fff;
  border-top: 1px solid #e3e6ee;
  border-bottom: 1px solid #e3e6ee;
}
.dd-facts__inner {
  max-width: 1160px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.dd-facts__media {
  flex: 1 1 320px;
  max-width: 420px;
  min-width: 260px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
}
.dd-facts__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dd-facts__grid {
  flex: 2 1 380px;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.dd-fact__num {
  font-family: var(--dd-font-jp);
  font-size: 34px;
  font-weight: 900;
  color: #16213d;
}
.dd-fact__label {
  font-size: 13px;
  color: #5b6478;
  margin-top: 10px;
}

/* ── cta (dark) ─────────────────────────────────────── */
.dd-cta {
  padding: 68px 64px;
  background: #16213d;
  color: #fff;
}
.dd-cta__inner {
  max-width: 1160px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.dd-cta__title {
  font-family: var(--dd-font-jp);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.dd-cta__desc {
  font-size: 14px;
  color: #c2c9dc;
}
.dd-btn--white {
  padding: 18px 36px;
  background: #fff;
  color: #16213d;
  font-size: 15px;
}
.dd-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ── footer ─────────────────────────────────────────── */
.dd-footer {
  padding: 28px 64px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #8892a6;
}
.dd-footer__logo {
  height: 30px;
  width: auto;
}
.dd-footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px; }
.dd-footer__links a { color: #5b6478; transition: color 0.2s; }
.dd-footer__links a:hover { color: #16213d; }

/* ── keyframes ──────────────────────────────────────── */
@keyframes ddFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ddBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-16px, 18px) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .dd-reveal {
    transform: none;
  }
  .dd-line {
    transform: scaleX(1);
  }
}

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .dd-nav,
  .dd-hero,
  .dd-process,
  .dd-section,
  .dd-facts,
  .dd-cta,
  .dd-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .dd-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .dd-hero {
    padding-top: 72px;
  }
  .dd-h1 {
    font-size: 38px;
  }
  .dd-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dd-cases__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .dd-nav__links .dd-navlink {
    display: none;
  }
  .dd-nav__tag {
    display: none;
  }
  .dd-h1 {
    font-size: 30px;
    line-height: 1.45;
  }
  .dd-compare {
    grid-template-columns: 1fr;
  }
  .dd-compare__col--us {
    border-left: none;
    border-top: 1px solid #e3e6ee;
  }
  .dd-why__grid {
    grid-template-columns: 1fr;
  }
  .dd-facts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .dd-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .dd-btn--primary,
  .dd-btn--ghost {
    flex: 1 1 auto;
    text-align: center;
  }
}
    
/* ── extracted inline styles (CSP enforce) ──────────── */
.dd-hero__img {
  object-position: calc(50% - 16.58%) 50%;
}
.dd-facts__img {
  object-position: 50% calc(50% - 34.93%);
}
.dd-h2--mb48 {
  margin-bottom: 48px;
}
.dd-case__banner--s {
  background-image: linear-gradient(135deg, #16213d 0%, #3d5aa8 100%),
    radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
}
.dd-case__banner--d {
  background-image: linear-gradient(120deg, #16213d 0%, #6b7cc4 100%),
    radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
}
.dd-case__banner--k {
  background-image: linear-gradient(150deg, #0d1428 0%, #2f4270 100%),
    radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
}
